PowerPC: ifunc improvement for internal calls
[glibc.git] / ChangeLog
blobad0484b45feaffb776de015fb6768f1757676b22
1 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4         [libc_hidden_builtin_def]: Define to empty value.
5         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6         [libc_hidden_builtin_def]: Likewise.
7         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8         [libc_hidden_builtin_def]: Likewise.
9         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10         [libc_hidden_builtin_def]: Likewise.
11         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12         __redirect_memcpy and define ifunc as default hidden symbol.
13         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18         * locale/iso-4217.def: Reintroduce XDR currency.
20 2014-05-04  Allan McRae  <allan@archlinux.org>
22         * po/eo.po: Update Esperanto translation from translation project.
24 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
26         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27         and FEATURE_INDEX_MAX to 1.
28         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
30 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34         * iconvdata/big5.c (ONE_DIRECTION): Define.
35         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
38         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
40         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
43         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
44         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
47         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
48         * iconvdata/gbk.c (ONE_DIRECTION): Define.
49         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
50         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
51         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
54         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
55         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
56         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
57         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
58         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
59         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
60         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
61         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
62         * iconvdata/iso646.c (ONE_DIRECTION): Define.
63         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
64         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
65         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
66         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
67         * iconvdata/johab.c (ONE_DIRECTION): Define.
68         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
69         * iconvdata/sjis.c (ONE_DIRECTION): Define.
70         * iconvdata/t.61.c (ONE_DIRECTION): Define.
71         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
72         * iconvdata/tscii.c (ONE_DIRECTION): Define.
73         * iconvdata/uhc.c (ONE_DIRECTION): Define.
74         * iconvdata/unicode.c (ONE_DIRECTION): Define.
75         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
76         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
77         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
79 2014-05-01  Roland McGrath  <roland@hack.frob.com>
81         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
82         (_IO_JUMPS_OFFSET): Define to 0.
84         * nptl/sysdeps/pthread/bits/libc-lock.h
85         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
86         (__libc_lock_define_initialized_recursive): Always define using
87         initializer.  Modern compilers treat uninitialized (implicit zero) and
88         explicit zero initializers the same (i.e. put the datum in bss).
90 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
92         * nscd/nscd-client.h: Include <string.h>.
94 2014-05-01  David S. Miller  <davem@davemloft.net>
96         [BZ #16885]
97         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
98         multiple zero bytes exist at the end of a string.
99         Reported by Aurelien Jarno <aurelien@aurel32.net>
101         * string/test-strcmp.c (check): Add explicit test for situations where
102         there are multiple zero bytes after the first.
104 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
106         [BZ #16890]
107         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
108         when compiling wprintf.
109         * stdio-common/tstdiomisc.c (t3): New function.
110         (main): Call it.
112 2014-05-01  Steve Ellcey  <sellcey@mips.com>
114         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
115         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
116         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
117         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
119 2014-05-01  Steve Ellcey  <sellcey@mips.com>
121         * stdlib/longlong.h: Updated from GCC.
123 2014-05-01  Will Newton  <will.newton@linaro.org>
124             Bernard Ogden  <bernie.ogden@linaro.org>
126         * NEWS: Update fixed bug list.
128         [BZ #15119]
129         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
131 2014-04-30  David S. Miller  <davem@davemloft.net>
133         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
134         (libc_feholdexcept_setround_sparc_ctx): New function.
135         (libc_fesetenv_sparc_ctx): Likewise.
136         (libc_feupdateenv_sparc_ctx): Likewise.
137         (libc_feholdsetround_sparc_ctx): Likewise.
138         (libc_feholdexcept_setround_ctx): Define.
139         (libc_feholdexcept_setroundf_ctx): Likewise.
140         (libc_feholdexcept_setroundl_ctx): Likewise.
141         (libc_fesetenv_ctx): Likewise.
142         (libc_fesetenvf_ctx): Likewise.
143         (libc_fesetenvl_ctx): Likewise.
144         (libc_feupdateenv_ctx): Likewise.
145         (libc_feupdateenvf_ctx): Likewise.
146         (libc_feupdateenvl_ctx): Likewise.
147         (libc_feresetround_ctx): Likewise.
148         (libc_feresetroundf_ctx): Likewise.
149         (libc_feresetroundl_ctx): Likewise.
150         (libc_feholdsetround_ctx): Likewise.
151         (libc_feholdsetroundf_ctx): Likewise.
152         (libc_feholdsetroundl_ctx): Likewise.
154         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
155         with __USE_GNU instead of XOPEN cpp guards.
157         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
158         0.
160         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
161         with XOPEN cpp guards.
163 2014-04-30  Julian Brown  <julian@codesourcery.com>
165         [BZ #16888]
166         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
167         handling.
169 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
171         [BZ #9894]
172         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
173         Change to 2.6.32.
174         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
175         * sysdeps/unix/sysv/linux/configure: Regenerated.
176         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
177         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
178         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
179         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
180         * README: Update reference to required Linux kernel version.
181         * manual/install.texi (Linux): Update reference to required Linux
182         kernel headers version.
183         * INSTALL: Regenerated.
185         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
186         header inclusion.
187         [POSIX] (limits.h): Likewise.
188         [POSIX] (math.h): Likewise.
189         [POSIX] (sys/wait.h): Likewise.
190         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
191         function.
192         [POSIX] (stddef.h): Do not allow header inclusion.
194 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
196         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
198 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
200         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
201         Return immediately after lll_futex_wake.
203 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
205         [BZ #16791]
206         * nscd/nscd-client.h (datahead_init_common): Initialize entire
207         structure.
208         (datahead_init_pos): Call datahead_init_common early.
209         (datahead_init_neg): Likewise.
211         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
212         datahead_init_neg): New functions.
213         * nscd/aicache.c (addhstaiX): Use them.
214         * nscd/grpcache.c (cache_addgr): Likewise.
215         * nscd/hstcache.c (cache_addhst): Likewise.
216         * nscd/initgrcache.c (addinitgroupsX): Likewise.
217         * nscd/netgroupcache.c (do_notfound): Likewise.
218         (addgetnetgrentX): Likewise.
219         (addinnetgrX): Likewise.
220         * nscd/pwdcache.c (cache_addpw): Likewise.
221         * nscd/servicescache.c (cache_addserv): Likewise.
223 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
224             Atsushi Onoe  <atsushi@onoe.org>
226         [BZ #14308]
227         [BZ #12994]
228         [BZ #13651]
229         * resolv/res_query.c (__libc_res_nsearch): Return if at least
230         one response is valid.
231         * resolv/res_send.c (send_dg): Check for validity of other
232         response if the current response is a referral.
234 2014-04-29  Steve Ellcey  <sellcey@mips.com>
236         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
238 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
240         [BZ #16823]
241         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
242         Always divide by positive zero when computing -Inf result.
243         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
244         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
246 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
248         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
249         FPSCR if value do not change.
250         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
251         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
252         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
253         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
254         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
255         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
256         function.
258 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
260         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
261         * sysdeps/unix/sysv/linux/hppa: Move directory from
262         ports/systeps/unix/sysv/linux/hppa.
263         * README: Update listing for hppa-*-linux-gnu.
265 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
267         [BZ #16754]
268         * manual/stdio.texi (Hook functions): Fix types of stream hook
269         functions.
270         [BZ #16854]
271         * socket/sys/socket.h: Fix typo in comment.
273 2014-04-28  Wilco  <wdijkstr@arm.com>
275         * sysdeps/arm/fenv_private.h: New file.
276         * sysdeps/arm/math_private.h: New file.
277         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
279 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
281         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
282         with __int128_t.
283         (La_x86_64_retval): Likewise.
285 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
287         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
288         fpsr if value didn't change.
289         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
290         to fpcr if value didn't change.
291         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
292         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
293         fpsr or fpcr if value didn't change.
294         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
295         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
296         fpcr if value didn't change.
297         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
298         to fpsr if value didn't change.
300 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
302         * nptl/tst-sem3.c: Use test-skeleton.c
303         (main): Rename to do_test.  Use return instead of
304         exit.
305         * nptl/tst-sem4.c: Use test-skeleton.c
306         (main): Rename to do_test.
308 2014-04-22  David S. Miller  <davem@davemloft.net>
310         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
311         (struct sigaction): New struct member __glibc_reserved0, change
312         type of sa_flags to int.
314 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
316         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
317         (COUNT_LEADING_ZEROS_0): Define for AArch64.
319 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
321         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
322         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
324 2014-04-22  Will Newton  <will.newton@linaro.org>
325             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
327         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
328         (__longjmp): Add longjmp and longjmp_target SystemTap
329         probes.
330         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
331         (__sigsetjmp): Add setjmp SystemTap probe.
333 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
335         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
336         match manual order.
338 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
340         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
342         * sysdeps/powerpc/fpu/fenv_private.h
343         (libc_feholdexcept_setroundl_ctx): Define to
344         libc_feholdexcept_setround_ppc_ctx.
345         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
346         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
347         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
348         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
350 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
352         * sysdeps/aarch64/math-tests.h: New file.
354 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
356         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
357         New.
358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
359         Check and set bit_AVX2_Usable.
360         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
361         macro.
362         (bit_AVX2): Likewise.
363         (index_AVX2_Usable): Likewise.
364         (CPUID_AVX2): Likewise.
365         (HAS_AVX2): Likewise.
367 2014-04-17  Will Newton  <will.newton@linaro.org>
369         * manual/setjmp.texi (System V contexts): Add note that
370         calling setcontext on a context created by a call to a
371         signal handler is undefined.  Update text to note that
372         setcontext from a signal handler is possible but not
373         recommended.
375         [BZ #16629]
376         * stdlib/tst-setcontext.c: Include signal.h.
377         (main): Check that the signal stack before and
378         after swapcontext is the same.
380         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
381         Re-implement to restore registers in user code and avoid
382         rt_sigreturn system call.
384 2014-04-17  Wilco  <wdijkstr@arm.com>
386         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
387         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
388         * math/test-fenv.c: Skip exception trap tests on targets which only
389         support non-stop mode.
391 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
392             Wilco Dijkstra  <wilco.dijkstra@arm.com>
394         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
395         (libc_feholdsetround_aarch64_ctx)
396         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
397         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
398         (libc_feresetround_ctx, libc_feresetroundf_ctx)
399         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
400         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
401         (libc_feresetround_noexl_ctx): Define.
403 2014-04-16  Richard Henderson  <rth@redhat.com>
405         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
407         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
408         unwind tables.
410         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
411         const from the non-libc, non-ldso copy.
413         * sysdeps/alpha/libm-test-ulps: Regenerate.
415 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
416             Wilco Dijkstra  <wilco.dijkstra@arm.com>
418         * sysdeps/aarch64/fpu/math_private.h: New file.
420 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
422         * sysdeps/aarch64/libm-test-ulps: Regenerate.
424 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
426         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
427         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
428         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
429         Intel MPX bound registers before _dl_profile_fixup.
430         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
431         registers after _dl_profile_fixup.  Save and restore bound
432         registers bnd0/bnd1 when calling _dl_call_pltexit.
433         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
434         (LR_BND_OFFSET): Likewise.
435         (LRV_BND0_OFFSET): Likewise.
436         (LRV_BND1_OFFSET): Likewise.
438 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
440         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
441         to...
442         * sysdeps/mach/hurd/i386/tls.h: ... here.
443         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
444         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
445         fields.
447 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
449         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
451 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
453         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
455 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
457         [BZ #14770]
458         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
459         * sysdeps/s390/configure: Regenerate.
461         [BZ #16824]
462         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
463         Set round-to-nearest internally to reduce error accumulation.
465 2014-04-16  Alan Modra  <amodra@gmail.com>
467         [BZ #16740]
468         [BZ #16619]
469         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
470         * math/libm-test.inc (frexp_test_data): Add tests.
471         * NEWS: Update fixed bug list.
473 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
475         * benchtests/Makefile: Depend on libraries in build directory.
476         (bench-math): Separate out math tests.
477         (bench-pthread): Separate out pthread tests.
478         (bench): Include math and pthread tests.
480 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
482         [BZ #16831]
483         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
484         _dl_debug_initialize.
486         * configure.ac: Remove SELinux header check.
487         * configure: Regenerate.
488         * nscd/selinux.c (perms): Array of const char* to permission names.
489         (nscd_request_avc_has_perm): Call security_deny_unknown to find
490         default policy. Call string_to_security_class and string_to_av_perm to
491         translate strings. Enforce default policy and call avs_has_perm with
492         results of translated strings.
494 2014-04-13  David S. Miller  <davem@davemloft.net>
496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
498 2014-04-12  Allan McRae  <allan@archlinux.org>
500         [BZ #16838]
501         * manual/string.texi (Collation Functions): Fix qsort argument
502         order in example.
503         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
505 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
507         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
508         Make the test a no-op if there are no exceptions defined.
510 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
512         * elf/Makefile (tests): make tst-dlopen-aout conditional on
513         enable-hardcoded-path-in-tests
515 2014-04-11  Will Newton  <will.newton@linaro.org>
517         * benchtests/Makefile (extra-objs): Add json-lib.o.
518         (bench-func): Tidy up JSON output.
519         * benchtests/bench-skeleton.c: Include json-lib.h.
520         (main): Use JSON library functions to do output of
521         benchmark results.
522         * benchtests/bench-timing-type.c (main): Output the
523         timing type simply, leaving formatting to the user.
524         * benchtests/json-lib.c: New file.
525         * benchtests/json-lib.h: Likewise.
527 2014-04-11  Torvald Riegel  <triegel@redhat.com>
529         [BZ #15215]
530         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
531         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
532         memory barriers.  Add comments.
533         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
534         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
535         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
536         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
537         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
538         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
540 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
542         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
543         * sysdeps/s390/s390-64/configure.ac: ... this ...
544         * sysdeps/s390/configure.ac: ... to here.
545         * sysdeps/s390/s390-32/configure: Delete file.
546         * sysdeps/s390/s390-64/configure: Delete file.
547         * sysdeps/s390/configure: Regenerate.
549 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
551         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
553 2014-04-11  Will Newton  <will.newton@linaro.org>
555         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
556         to zero if it is not defined elsewhere.  (mtrim): Test
557         the value of MALLOC_DEBUG with #if rather than #ifdef.
559 2014-04-10 Torvald Riegel  <triegel@redhat.com>
561         * benchtests/pthread_once-inputs: New file.
562         * benchtests/pthread_once-source.c: New file.
563         * benchtests/README: Update documentation.
565 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
566             H.J. Lu  <hongjiu.lu@intel.com>
568         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
569         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
570         * sysdeps/x86_64/configure: Regenerated.
571         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
572         macro.
573         (REGISTER_SAVE_RAX): Likewise.
574         (REGISTER_SAVE_RCX): Likewise.
575         (REGISTER_SAVE_RDX): Likewise.
576         (REGISTER_SAVE_RSI): Likewise.
577         (REGISTER_SAVE_RDI): Likewise.
578         (REGISTER_SAVE_R8): Likewise.
579         (REGISTER_SAVE_R9): Likewise.
580         (REGISTER_SAVE_BND0): Likewise.
581         (REGISTER_SAVE_BND1): Likewise.
582         (REGISTER_SAVE_BND2): Likewise.
583         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
584         bound registers when calling _dl_fixup.
586 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
588         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
589         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
590         of its definition.
591         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
592         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
593         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
594         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
595         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
596         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
597         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
599 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
601         [BZ #15514]
602         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
603         pathconf(_PC_NAME_MAX).
605 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
607         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
608         Remove macro usage.
609         (__PTHREAD_SPINS): Move definition to ...
610         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
611         (__PTHREAD_SPINS): ... here.
612         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
613         (__PTHREAD_SPIN): Likewise.
614         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
615         (__PTHREAD_SPIN): Likewise.
616         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
617         (__PTHREAD_SPIN): Likewise.
618         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
619         (__PTHREAD_SPIN): Likewise.
620         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
621         (__PTHREAD_SPIN): Likewise.
622         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
623         (__PTHREAD_SPIN): Likewise.
624         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
625         (__PTHREAD_SPIN): Likewise.
626         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
627         (__PTHREAD_SPIN): Likewise.
628         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
629         (__PTHREAD_SPIN): Likewise.
630         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
631         (__PTHREAD_SPIN): Likewise.
632         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
633         (__PTHREAD_SPIN): Likewise.
634         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
635         (__PTHREAD_SPIN): Likewise.
637         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
638         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
639         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
640         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
641         imply folder.
642         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
643         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
644         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
645         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
646         correct imply path.
647         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
648         strlen symbol for non multi-arch builds.
649         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
650         missing hidden_def and weak_alias.
652 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
654         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
656 2014-04-07  Will Newton  <will.newton@linaro.org>
658         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
659         and contents.  [!_LIBC] Remove #ifndef and contents.
660         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
661         * string/memccpy.c (__memccpy): Use ANSI prototype.
662         * string/memfrob.c (memfrob): Likewise.
663         * string/strcoll.c (STRCOLL): Likewise.
664         * string/strlen.c (strlen): Likewise.
665         * string/strtok.c (STRTOK): Likewise.
666         * string/strcat.c: Remove unused #include of memcopy.h.
667         (strcat): Use ANSI prototype.
668         * string/strchr.c: Remove unused #include of memcopy.h.
669         (strchr): Use ANSI prototype.
670         * string/strcmp.c: Remove unused #include of memcopy.h.
671         (strcmp): Use ANSI prototype.
672         * string/strcpy.c: Remove unused #include of memcopy.h.
673         (strcpy): Use ANSI prototype.
675 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
677         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
678         * config.make.in (config-extra-cppflags): Set it from
679         libc_extra_cppflags.
680         * configure.ac (libc_extra_cflags): Make it accumulate over
681         configure fragments.
682         (libc_extra_cppflags): New flag.
683         * configure. Regenerate.
684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
685         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
686         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
689         [BZ #16815]
690         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
691         result for FE_DOWNWARD rounding mode.
692         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
693         Likewise.
694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
696 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
698         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
699         in function argument name.
701 2014-04-03  David Svoboda  <svoboda@cert.org>
703         [BZ #5666]
704         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
705         explicitly.
707 2014-04-03  Roland McGrath  <roland@hack.frob.com>
709         * elf/dl-unmap-segments.h: New file.
710         * sysdeps/generic/ldsodefs.h
711         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
712         * elf/dl-close.c: Include <dl-unmap-segments.h>.
713         * elf/dl-fptr.c: Likewise.
714         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
715         * sysdeps/aarch64/tlsdesc.c: Likewise.
716         * sysdeps/arm/tlsdesc.c: Likewise.
717         * sysdeps/i386/tlsdesc.c: Likewise.
718         * sysdeps/tile/dl-runtime.c: Likewise.
719         * sysdeps/x86_64/tlsdesc.c: Likewise.
720         * elf/dl-load.h: New file.
721         * elf/dl-load.c: Include it.
722         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
723         Macros moved to dl-load.h.
724         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
725         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
726         Use _dl_unmap_segments in place of __munmap.
727         Break out segment-mapping loop into ...
728         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
730 2014-04-03  Will Newton  <will.newton@linaro.org>
732         * elf/dl-lookup.c (do_lookup_x): Remove comment
733         referring to nested function and move variable
734         declarations down to before first use.
736 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
738         [BZ #16799]
739         [BZ #16800]
740         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
741         with 0 numerator.
742         * math/s_catanf.c (__catanf): Likewise.
743         * math/s_catanh.c (__catanh): Likewise.
744         * math/s_catanhf.c (__catanhf): Likewise.
745         * math/s_catanhl.c (__catanhl): Likewise.
746         * math/s_catanl.c (__catanl): Likewise.
747         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
748         by positive zero when computing -Inf result.
749         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
750         (catanh_test): Likewise.
751         * sysdeps/i386/fpu/libm-test-ulps: Update.
752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
754         [BZ #16789]
755         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
756         instead of using underflowing value in computing result.
757         * math/s_clog10.c (__clog10): Likewise.
758         * math/s_clog10f.c (__clog10f): Likewise.
759         * math/s_clog10l.c (__clog10l): Likewise.
760         * math/s_clogf.c (__clogf): Likewise.
761         * math/s_clogl.c (__clogl): Likewise.
762         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
763         (clog10_test): Likewise.
764         * sysdeps/i386/fpu/libm-test-ulps: Update.
765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
767 2014-04-02  Alan Modra  <amodra@gmail.com>
769         [BZ #16739]
770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
771         output when value is near a power of two.  Use int64_t for lx and
772         remove casts.  Use decimal rather than hex exponent constants.
773         Don't use long double multiplication when double will suffice.
774         * math/libm-test.inc (nextafter_test_data): Add tests.
775         * NEWS: Add 16739 and 16786 to bug list.
777         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
779         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
781 2014-04-01  Will Newton  <will.newton@linaro.org>
783         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
784         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
786 2014-04-01  Florian Weimer  <fweimer@redhat.com>
788         [BZ #13347]
789         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
790         * nptl/tst-setuid2.c: New file.
791         * nptl/Makefile (xtests): Add tst-setuid2.
793 2014-04-01  Alan Modra  <amodra@gmail.com>
795         [BZ #16786]
796         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
798 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
800         [BZ #6803]
801         [BZ #6804]
802         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
803         set errno as appropriate.
804         * math/w_scalbf.c (__scalbf): Likewise.
805         * math/w_scalbl.c (__scalbl): Likewise.
806         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
807         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
808         * math/libm-test.inc (scalb_test_data): Add errno expectations.
809         Add more NaN tests.
811         [BZ #16349]
812         * math/w_atan2.c: Include <errno.h>.
813         (__atan2): Set errno for result underflowing to zero.
814         * math/w_atan2f.c: Include <errno.h>.
815         (__atan2f): Set errno for result underflowing to zero.
816         * math/w_atan2l.c: Include <errno.h>.
817         (__atan2l): Set errno for result underflowing to zero.
818         * math/auto-libm-test-in: Don't allow missing errno for some atan2
819         tests.
820         * math/auto-libm-test-out: Regenerated.
822 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
824         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
825         Encode instruction correctly in little endian.
826         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
827         Likewise.
828         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
829         Likewise.
830         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
831         Likewise.
832         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
833         Likewise.
835 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
837         [BZ #9894]
838         * sysdeps/unix/sysv/linux/kernel-features.h
839         [__sparc__ && !__arch64__ && !__sparc_v9__]
840         (__ASSUME_SET_ROBUST_LIST): Do not define.
841         [__sparc__ && !__arch64__ && !__sparc_v9__]
842         (__ASSUME_FUTEX_LOCK_PI): Likewise.
843         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
844         Likewise.
845         * sysdeps/unix/sysv/linux/arm/kernel-features.h
846         (__ASSUME_FUTEX_LOCK_PI): Undefine.
847         (__ASSUME_REQUEUE_PI): Likewise.
848         (__ASSUME_SET_ROBUST_LIST): Likewise.
849         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
850         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
851         Undefine.
852         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
853         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
854         Likewise.
855         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
856         Likewise.
857         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
858         Likewise.
859         * sysdeps/unix/sysv/linux/mips/kernel-features.h
860         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
861         Undefine.
862         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
863         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
864         Likewise.
866         [BZ #16648]
867         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
868         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
869         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
871 2014-03-31  Will Newton  <will.newton@linaro.org>
873         * benchtests/Makefile (bench): Add ffs and ffsll to list
874         of tests.
875         * benchtests/ffs-inputs: New file.
876         * benchtests/ffsll-inputs: Likewise.
878 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
880         [BZ #16770]
881         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
882         too large before casting to int.
883         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
884         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
885         * math/libm-test.inc (scalb_test_data): Add more tests.
887 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
889         * benchtests/Makefile (DETAILED_OPT): New make option.
890         (bench-func): Run benchmark program with -d if DETAILED_OPT is
891         set.
892         * benchtests/bench-skeleton.c: Include stdbool.h.
893         (main): Store and print timings per input.
894         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
895         member to each argument value.
896         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
897         (_print_arg_data): Initialize per-input timing to 0.
899         * benchtests/Makefile (timing-type): New binary.
900         (bench-clean): Also remove bench-timing-type.
901         (bench): New target for timing-type.
902         (bench-func): Print output in JSON format.
903         * benchtests/bench-skeleton.c (main): Print output in JSON
904         format.
905         * benchtests/bench-timing-type.c: New file.
906         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
907         (TIMING_PRINT_STATS): Remove.
908         * benchtests/scripts/bench.py (_print_arg_data): Store variant
909         name separately.
911         * benchtests/bench-modf.c: Remove.
912         * benchtests/modf-inputs: New inputs file.
914 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
916         [BZ #16362]
917         * math/s_clog10.c (M_PI_LOG10E): New macro.
918         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
919         imaginary parts are 0.
920         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
921         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
922         imaginary parts are 0.
923         * math/s_clog10l.c (M_PI_LOG10El): New macro.
924         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
925         imaginary parts are 0.
926         * math/libm-test.inc (clog10_test_data): Update expected results
927         for when real and imaginary parts are 0.
929 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
931         * elf/dl-load.c: Finish conversion of __builtin_expect into
932         __glibc_{un}likely.
934 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
936         [BZ #16348]
937         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
938         1+x for argument with exponent below -67.
939         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
940         Likewise.
941         * math/auto-libm-test-in: Add more tests of exp.
942         * math/auto-libm-test-out: Regenerated.
944 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
946         [BZ #16759]
947         * inet/getnetgrent_r.c (get_nonempty_val): New function.
948         (nscd_getnetgrent): Use it.
950         [BZ #16760]
951         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
952         of stpcpy.
954 2014-03-27  Andi Kleen  <ak@linux.intel.com>
956         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
957         (lll_robust_lock, lll_cond_lock, lll_timedlock)
958         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
959         (lll_robust_unlock): Remove out of line section. Use cfi
960         intrinsics.
961         (LLL_STUB_UNWIND_INFO*): Remove.
962         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
963         (lll_robust_lock, lll_cond_lock, lll_timedlock)
964         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
965         (lll_robust_unlock): Remove out of line section. Use cfi
966         intrinsics.
967         (LLL_STUB_UNWIND_INFO*): Remove.
969 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
971         [BZ #16758]
972         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
973         blank values.
975 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
977         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
979 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
981         [BZ #16198]
982         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
983         fnstenv.
984         * math/test-fenv-preserve.c: New file.
985         * math/Makefile (tests): Add test-fenv-preserve.
987 2014-03-26  Will Newton <will.newton@linaro.org>
989         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
991 2014-03-25  Roland McGrath  <roland@hack.frob.com>
993         * scripts/versionlist.awk: Partition the version sets and emit all
994         GLIBC_* (sorted) before all others (sorted).
996 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
998         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
999         GLIBC_2.2.5 version.
1001 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1003         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1004         calls.
1006         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1007         previous change.
1009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1011 2014-03-25  Andreas Schwab  <schwab@suse.de>
1013         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1014         label to be used after in6ailist is initialized.
1016 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1018         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1019         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1021 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
1023         [BZ #16357]
1024         [BZ #16599]
1025         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1026         min_plus_half.
1027         (fp_formats): Update initializers.
1028         (init_fp_formats): Initialize new field.
1029         (output_for_one_input_case): Allow underflow for results up to
1030         min_plus_half.
1031         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1032         * math/auto-libm-test-in: Don't mark some underflows from asin and
1033         atanh as spurious.
1034         * math/auto-libm-test-out: Regenerated.
1035         * sysdeps/i386/fpu/libm-test-ulps: Update.
1036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1038 2014-03-25  Andreas Schwab  <schwab@suse.de>
1040         * libio/Makefile (tst-ftell-partial-wide-ENV)
1041         (tst-ftell-active-handler-ENV): Define.
1043 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
1045         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1047 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1049         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1051 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
1053         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1054         * sysdeps/x86_64/fpu/multiarch/e_exp.c
1055         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1057 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1059         [BZ #16634]
1060         * elf/dl-load.c (open_verify): Add mode parameter.
1061         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1062         (open_path): Change from boolean 'secure' to complete flag 'mode'
1063         (_dl_map_object): Adjust.
1064         * elf/Makefile (tests): Add tst-dlopen-aout.
1065         * elf/tst-dlopen-aout.c: New test.
1067 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
1069         [BZ #16714]
1070         * sysdeps/unix/sysv/linux/s390/bits/stat.h
1071         (struct stat): Rename member pad0 to __glibc_reserved0.
1073         [BZ #16712]
1074         * sysdeps/s390/s390-32/bits/wordsize.h
1075         (__WORDSIZE32_SIZE_ULONG): New define.
1076         * sysdeps/s390/s390-64/bits/wordsize.h
1077         (__WORDSIZE32_SIZE_ULONG): Likewise.
1078         * sysdeps/generic/stdint.h (SIZE_MAX):
1079         Define as UL if __WORDSIZE32_SIZE_ULONG.
1081         [BZ #16713]
1082         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1083         (__glibc_reserved0): New variable.
1084         (sa_flags): Change type to int.
1086         * posix/Makefile (before-compile): Use += before-compile instead
1087         of a :=.
1089         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1090         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1092 2014-03-20  Andreas Schwab  <schwab@suse.de>
1094         [BZ #16743]
1095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1096         non-matching result from nscd.
1098 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1100         * scripts/bench.py: Moved to ...
1101         * benchtests/scripts/bench.py: ... here.
1102         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1104 2014-03-24  Andreas Schwab  <schwab@suse.de>
1106         [BZ #16002]
1107         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1108         alloca_account and account alloca use for struct in6ailist.
1110 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
1112         [BZ #16284]
1113         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1114         rounding mode to recompute results that overflow to infinity or
1115         underflow to zero.
1116         * math/auto-libm-test-in: Don't mark tests as expected to fail for
1117         bug 16284.
1118         * math/auto-libm-test-out: Regenerated.
1119         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1120         (ccosh_test): Likewise.
1121         (csin_test_data): Use plus_oflow.
1122         (csin_test): Use ALL_RM_TEST.
1123         (csinh_test_data): Use plus_oflow.
1124         (csinh_test): Use ALL_RM_TEST.
1125         * sysdeps/i386/fpu/libm-test-ulps: Update.
1126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1128 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
1130         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1131         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1132         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1134         [BZ #16731]
1135         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1136         when x - 1 is zero.
1137         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1138         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1139         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1140         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1141         argument is 1.
1142         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1143         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1144         zero.
1145         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1146         * sysdeps/i386/fpu/libm-test-ulps: Update.
1147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1149 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1151         * scripts/bench.pl: Remove file.
1152         * scripts/bench.py: New benchmark script.
1153         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1154         * benchtests/README: Mention python dependency.
1155         * scripts/pylintrc: New file.
1156         * scripts/pylint: New file.
1158         * bits/mathdef.h: Use #ifdef instead of #if.
1159         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1160         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1161         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1162         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1163         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1164         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1166 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1167             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1169         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1171         and strpbrk-ppc64 objects.
1172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1173         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1174         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1175         multiarch strpbrk for POWER7.
1176         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1177         multiarch strpbrk for PPC64.
1178         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1179         ifunc selector.
1180         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1181         strpbrk for POWER7.
1183 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1185         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1186         (atan_test): Likewise.
1187         (atanh_test_data): Use NO_TEST_INLINE for two tests.
1188         (atanh_test): Use ALL_RM_TEST.
1189         (atan2_test_data): Likewise.
1190         (cabs_test): Likewise.
1191         (cacosh_test): Likewise.
1192         (carg_test): Likewise.
1193         (casin_test): Likewise.
1194         (casinh_test): Likewise.
1195         (cbrt_test): Likewise.
1196         (csqrt_test): Likewise.
1197         (erf_test): Likewise.
1198         (erfc_test): Likewise.
1199         (pow10_test): Likewise.
1200         (exp2_test): Likewise.
1201         (hypot_test): Likewise.
1202         (j0_test): Likewise.
1203         (j1_test): Likewise.
1204         (lgamma_test): Likewise.
1205         (gamma_test): Likewise.
1206         (sincos_test): Likewise.
1207         (tanh_test): Likewise.
1208         (y0_test): Likewise.
1209         (y1_test): Likewise.
1210         * sysdeps/i386/fpu/libm-test-ulps: Update.
1211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1213 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1215         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1217         and strcspn-ppc64 objects.
1218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1219         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1220         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1221         multiarch strcspn for POWER7.
1222         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1223         multiarch strcspn for PPC64.
1224         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1225         ifunc selector.
1226         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1227         strcspn for POWER7.
1229 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1231         * math/gen-libm-test.pl (generate_testfile): Expect only function
1232         name as argument to AUTO_TESTS_* and pass results for all rounding
1233         modes to parse_args.
1234         (parse_auto_input): Separate inputs of automatic tests from
1235         outputs before storing in %auto_tests.
1236         * math/libm-test.inc (acos_test_data): Update call to
1237         AUTO_TESTS_f_f.
1238         (acos_test): Use ALL_RM_TEST.
1239         (acos_tonearest_test_data): Remove.
1240         (acos_test_tonearest): Likewise.
1241         (acos_towardzero_test_data): Likewise.
1242         (acos_test_towardzero): Likewise.
1243         (acos_downward_test_data): Likewise.
1244         (acos_test_downward): Likewise.
1245         (acos_upward_test_data): Likewise.
1246         (acos_test_upward): Likewise.
1247         (acosh_test_data): Update call to AUTO_TESTS_f_f.
1248         (asin_test_data): Likewise.
1249         (asin_test): Use ALL_RM_TEST.
1250         (asin_tonearest_test_data): Remove.
1251         (asin_test_tonearest): Likewise.
1252         (asin_towardzero_test_data): Likewise.
1253         (asin_test_towardzero): Likewise.
1254         (asin_downward_test_data): Likewise.
1255         (asin_test_downward): Likewise.
1256         (asin_upward_test_data): Likewise.
1257         (asin_test_upward): Likewise.
1258         (asinh_test_data): Update call to AUTO_TESTS_f_f.
1259         (atan_test_data): Likewise.
1260         (atanh_test_data): Likewise.
1261         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1262         (cabs_test_data): Update call to AUTO_TESTS_c_f.
1263         (carg_test_data): Likewise.
1264         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1265         (ccos_test_data): Update call to AUTO_TESTS_c_c.
1266         (ccosh_test_data): Likewise.
1267         (cexp_test_data): Likewise.
1268         (clog_test_data): Likewise.
1269         (clog10_test_data): Likewise.
1270         (cos_test_data): Update call to AUTO_TESTS_f_f.
1271         (cos_test): Use ALL_RM_TEST.
1272         (cos_tonearest_test_data): Remove.
1273         (cos_test_tonearest): Likewise.
1274         (cos_towardzero_test_data): Likewise.
1275         (cos_test_towardzero): Likewise.
1276         (cos_downward_test_data): Likewise.
1277         (cos_test_downward): Likewise.
1278         (cos_upward_test_data): Likewise.
1279         (cos_test_upward): Likewise.
1280         (cosh_test_data): Update call to AUTO_TESTS_f_f.
1281         (cosh_test): Use ALL_RM_TEST.
1282         (cosh_tonearest_test_data): Remove.
1283         (cosh_test_tonearest): Likewise.
1284         (cosh_towardzero_test_data): Likewise.
1285         (cosh_test_towardzero): Likewise.
1286         (cosh_downward_test_data): Likewise.
1287         (cosh_test_downward): Likewise.
1288         (cosh_upward_test_data): Likewise.
1289         (cosh_test_upward): Likewise.
1290         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1291         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1292         (ctan_test_data): Likewise.
1293         (ctan_test): Use ALL_RM_TEST.
1294         (ctan_tonearest_test_data): Remove.
1295         (ctan_test_tonearest): Likewise.
1296         (ctan_towardzero_test_data): Likewise.
1297         (ctan_test_towardzero): Likewise.
1298         (ctan_downward_test_data): Likewise.
1299         (ctan_test_downward): Likewise.
1300         (ctan_upward_test_data): Likewise.
1301         (ctan_test_upward): Likewise.
1302         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1303         (ctanh_test): Use ALL_RM_TEST.
1304         (ctanh_tonearest_test_data): Remove.
1305         (ctanh_test_tonearest): Likewise.
1306         (ctanh_towardzero_test_data): Likewise.
1307         (ctanh_test_towardzero): Likewise.
1308         (ctanh_downward_test_data): Likewise.
1309         (ctanh_test_downward): Likewise.
1310         (ctanh_upward_test_data): Likewise.
1311         (ctanh_test_upward): Likewise.
1312         (erf_test_data): Update call to AUTO_TESTS_f_f.
1313         (erfc_test_data): Likewise.
1314         (exp_test_data): Likewise.
1315         (exp_test): Use ALL_RM_TEST.
1316         (exp_tonearest_test_data): Remove.
1317         (exp_test_tonearest): Likewise.
1318         (exp_towardzero_test_data): Likewise.
1319         (exp_test_towardzero): Likewise.
1320         (exp_downward_test_data): Likewise.
1321         (exp_test_downward): Likewise.
1322         (exp_upward_test_data): Likewise.
1323         (exp_test_upward): Likewise.
1324         (exp10_test_data): Update call to AUTO_TESTS_f_f.
1325         (exp10_test): Use ALL_RM_TEST.
1326         (exp10_tonearest_test_data): Remove.
1327         (exp10_test_tonearest): Likewise.
1328         (exp10_towardzero_test_data): Likewise.
1329         (exp10_test_towardzero): Likewise.
1330         (exp10_downward_test_data): Likewise.
1331         (exp10_test_downward): Likewise.
1332         (exp10_upward_test_data): Likewise.
1333         (exp10_test_upward): Likewise.
1334         (exp2_test_data): Update call to AUTO_TESTS_f_f.
1335         (expm1_test_data): Likewise.
1336         (expm1_test): Use ALL_RM_TEST.
1337         (expm1_tonearest_test_data): Remove.
1338         (expm1_test_tonearest): Likewise.
1339         (expm1_towardzero_test_data): Likewise.
1340         (expm1_test_towardzero): Likewise.
1341         (expm1_downward_test_data): Likewise.
1342         (expm1_test_downward): Likewise.
1343         (expm1_upward_test_data): Likewise.
1344         (expm1_test_upward): Likewise.
1345         (fma_test_data): Update call to AUTO_TESTS_fff_f.
1346         (fma_test): Use ALL_RM_TEST.
1347         (fma_towardzero_test_data): Remove.
1348         (fma_test_towardzero): Likewise.
1349         (fma_downward_test_data): Likewise.
1350         (fma_test_downward): Likewise.
1351         (fma_upward_test_data): Likewise.
1352         (fma_test_upward): Likewise.
1353         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1354         (j0_test_data): Update call to AUTO_TESTS_f_f.
1355         (j1_test_data): Likewise.
1356         (jn_test_data): Update call to AUTO_TESTS_if_f.
1357         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1358         (log_test_data): Update call to AUTO_TESTS_f_f.
1359         (log10_test_data): Likewise.
1360         (log1p_test_data): Likewise.
1361         (log2_test_data): Likewise.
1362         (pow_test_data): Update call to AUTO_TESTS_ff_f.
1363         (pow_tonearest_test_data): Likewise.
1364         (sin_test_data): Update call to AUTO_TESTS_f_f.
1365         (sin_test): Use ALL_RM_TEST.
1366         (sin_tonearest_test_data): Remove.
1367         (sin_test_tonearest): Likewise.
1368         (sin_towardzero_test_data): Likewise.
1369         (sin_test_towardzero): Likewise.
1370         (sin_downward_test_data): Likewise.
1371         (sin_test_downward): Likewise.
1372         (sin_upward_test_data): Likewise.
1373         (sin_test_upward): Likewise.
1374         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1375         (sinh_test_data): Update call to AUTO_TESTS_f_f.
1376         (sinh_test): Use ALL_RM_TEST.
1377         (sinh_tonearest_test_data): Remove.
1378         (sinh_test_tonearest): Likewise.
1379         (sinh_towardzero_test_data): Likewise.
1380         (sinh_test_towardzero): Likewise.
1381         (sinh_downward_test_data): Likewise.
1382         (sinh_test_downward): Likewise.
1383         (sinh_upward_test_data): Likewise.
1384         (sinh_test_upward): Likewise.
1385         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1386         (sqrt_test): Use ALL_RM_TEST.
1387         (sqrt_tonearest_test_data): Remove.
1388         (sqrt_test_tonearest): Likewise.
1389         (sqrt_towardzero_test_data): Likewise.
1390         (sqrt_test_towardzero): Likewise.
1391         (sqrt_downward_test_data): Likewise.
1392         (sqrt_test_downward): Likewise.
1393         (sqrt_upward_test_data): Likewise.
1394         (sqrt_test_upward): Likewise.
1395         (tan_test_data): Update call to AUTO_TESTS_f_f.
1396         (tan_test): Use ALL_RM_TEST.
1397         (tan_tonearest_test_data): Remove.
1398         (tan_test_tonearest): Likewise.
1399         (tan_towardzero_test_data): Likewise.
1400         (tan_test_towardzero): Likewise.
1401         (tan_downward_test_data): Likewise.
1402         (tan_test_downward): Likewise.
1403         (tan_upward_test_data): Likewise.
1404         (tan_test_upward): Likewise.
1405         (tanh_test_data): Update call to AUTO_TESTS_f_f.
1406         (tgamma_test_data): Likewise.
1407         (y0_test_data): Likewise.
1408         (y1_test_data): Likewise.
1409         (yn_test_data): Update call to AUTO_TESTS_if_f.
1410         (main): Do not call removed functions.
1412 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
1414         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1415         (ldexp_test_data): Remove.
1416         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
1417         scalbn_test_data.
1418         (scalb_test): Use ALL_RM_TEST.
1420 2014-03-19  Andreas Schwab  <schwab@suse.de>
1422         * nscd/nscd.service: Also invalidate netgroup cache on reload.
1424 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
1426         [BZ #16649]
1427         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1428         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1429         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1430         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1431         (__ASSUME_PREADV): Undefine.
1432         (__ASSUME_PWRITEV): Likewise.
1434 2014-03-18  Roland McGrath  <roland@hack.frob.com>
1436         * bits/mman-linux.h: Add comment about non-Linux use.
1437         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1438         bits/mman-linux.h resting place.
1440         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1441         * bits/mman-linux.h: ... here.
1443 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1445         * conform/conformtest.pl: Add standard definition when calling C
1446         preprocessor on data files.
1447         (checknamespace): Remove unused variable.
1449 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
1451         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1452         minus_oflow, plus_uflow and minus_uflow in expected results.
1453         * math/libm-test.inc (scalbn_test_data): Add more tests of
1454         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
1455         minus_uflow.
1456         (scalbn_test): Use ALL_RM_TEST.
1457         (scalbln_test_data): Add more tests of negative arguments.  Use
1458         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1459         (scalbln_test): Use ALL_RM_TEST.
1461 2014-03-18  Roland McGrath  <roland@hack.frob.com>
1463         * scripts/abilist.awk: Ignore symbols marked with .hidden.
1465 2014-03-18  Will Newton  <will.newton@linaro.org>
1467         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1468         inaccurate comment.
1470 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
1472         * Makerules [!subdir] (check-abi): Exit with error status if a
1473         test failed.
1475 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1477         * math/libm-test.inc (nearbyint_test_data): Include all tests used
1478         for rint.  Include results for all rounding modes.
1479         (nearbyint_test): Use ALL_RM_TEST.
1480         (rint_test_data): Include all tests used for nearbyint.
1482 2014-03-17  Will Newton  <will.newton@linaro.org>
1484         * nptl/sysdeps/pthread/pthread.h: Revert previous
1485         change.
1487         * sysdeps/generic/ldsodefs.h: Revert previous
1488         change.
1490         * libio/genops.c: Revert previous change.
1491         * libio/libioP.h: Likewise.
1492         * stdio-common/vfprintf.c: Likewise.
1494         * sysdeps/generic/math_private.h: Revert previous
1495         change.
1497         * sysdeps/generic/math_private.h: Check whether
1498         HAVE_RM_CTX is defined with #ifdef rather
1499         than #if.
1501         * argp/argp-fmtstream.h: Check whether
1502         __STRICT_ANSI__ is defined with #ifdef rather
1503         than #if.
1504         * argp/argp.h: Likewise.
1506         * libio/genops.c: Check whether
1507         _IO_JUMPS_OFFSET is defined with #ifdef rather
1508         than #if.
1509         * libio/libioP.h: Likewise.
1510         * stdio-common/vfprintf.c: Likewise.
1512         * sysdeps/generic/ldsodefs.h: Check whether
1513         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1514         than #if.
1516         * nptl/sysdeps/pthread/pthread.h: Check
1517         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1518         its value.
1520 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1522         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1523         setting O_APPEND.
1524         * libio/tst-ftell-active-handler.c (do_append_test): Add a
1525         test case.
1527         [BZ #16680]
1528         * libio/fileops.c (_IO_file_open): Seek to end of file but
1529         don't cache the offset.
1530         (get_file_offset): Remove function.
1531         (do_ftell): Use cached offset when available.
1532         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1533         don't cache the offset.
1534         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1535         case.
1536         (do_one_test): Call it.
1537         (do_ftell_test): Fix up expected old offset for a+ mode.
1538         * libio/wfileops.c (do_ftell_wide): Used cached offset when
1539         available.
1541         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1542         up test status with function return status.
1543         (do_write_test): Likewise.
1544         (do_append_test): Likewise.
1546         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1547         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1548         Remove.
1550 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1552         * math/gen-libm-test.pl (parse_args): Handle results specified for
1553         each rounding mode separately.
1554         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1555         tests and results from lrint_tonearest_test_data,
1556         lrint_towardzero_test_data, lrint_downward_test_data and
1557         lrint_upward_test_data.
1558         (lrint_test): Use ALL_RM_TEST.
1559         (lrint_tonearest_test_data): Remove.
1560         (lrint_test_tonearest): Likewise.
1561         (lrint_towardzero_test_data): Likewise.
1562         (lrint_test_towardzero): Likewise.
1563         (lrint_downward_test_data): Likewise.
1564         (lrint_test_downward): Likewise.
1565         (lrint_upward_test_data): Likewise.
1566         (lrint_test_upward): Likewise.
1567         (llrint_test_data): Merge in per-rounding-mode tests and results
1568         from llrint_tonearest_test_data, llrint_towardzero_test_data,
1569         llrint_downward_test_data and llrint_upward_test_data.
1570         (llrint_test): Use ALL_RM_TEST.
1571         (llrint_tonearest_test_data): Remove.
1572         (llrint_test_tonearest): Likewise.
1573         (llrint_towardzero_test_data): Likewise.
1574         (llrint_test_towardzero): Likewise.
1575         (llrint_downward_test_data): Likewise.
1576         (llrint_test_downward): Likewise.
1577         (llrint_upward_test_data): Likewise.
1578         (llrint_test_upward): Likewise.
1579         (rint_test_data): Merge in per-rounding-mode tests and results
1580         from rint_tonearest_test_data, rint_towardzero_test_data,
1581         rint_downward_test_data and rint_upward_test_data.  Add
1582         per-rounding-mode results for tests not in those arrays.
1583         (rint_test): Use ALL_RM_TEST.
1584         (rint_tonearest_test_data): Remove.
1585         (rint_test_tonearest): Likewise.
1586         (rint_towardzero_test_data): Likewise.
1587         (rint_test_towardzero): Likewise.
1588         (rint_downward_test_data): Likewise.
1589         (rint_test_downward): Likewise.
1590         (rint_upward_test_data): Likewise.
1591         (rint_test_upward): Likewise.
1592         (main): Don't call removed functions.
1594 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1596         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1597         "Compiled on ..." crapola.  It is anti-useful.
1599 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
1601         * scripts/evaluate-test.sh: Handle fourth argument to determine
1602         whether test run should stop on failure.
1603         * Makeconfig (stop-on-test-failure): New variable.
1604         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1605         $(stop-on-test-failure).
1606         * Makefile (tests): Give a summary of results from testing and
1607         exit with failure status if they include an ERROR or FAIL.
1608         (xtests): Likewise.
1609         * manual/install.texi (Configuring and compiling): Mention
1610         stop-on-test-failure=y.
1611         * INSTALL: Regenerated.
1613 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1615         * scripts/versionlist.awk: New file.
1616         * Makerules [$(build-shared) = yes]
1617         (postclean-generated): Add Versions.def, not Versions.def.v and
1618         Versions.def.v.i.
1619         ($(common-objpfx)Versions.def.v.i): Target removed.
1620         ($(common-objpfx)Versions.def): New target.
1621         ($(common-objpfx)Versions.all): Depend on that rather that
1622         $(common-objpfx)Versions.def.v.
1623         * Versions.def: File removed.
1625         * Makeconfig (+gccwarn): Add -Wundef.
1626         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1627         a dl-sysdep.h breaking its contract.
1628         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1629         * include/stackinfo.h: New file.
1630         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1631         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1632         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1633         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1634         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1635         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1636         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1637         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1638         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1639         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1640         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1641         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1642         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1643         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1644         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1646 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1648         [BZ #16707]
1649         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1650         implementation.
1651         * math/libm-test.inc (round_test_data): Add more tests.
1653         [BZ #16706]
1654         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1655         implementation.
1656         * math/libm-test.inc (nearbyint_test_data): Add more tests.
1658         [BZ #16701]
1659         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1660         implementation.
1661         * math/libm-test.inc (ceil_test_data): Add more tests.
1663         * math/libm-test.inc (trunc_test_data): Add more tests related to
1664         BZ#16414.
1666 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1668         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1669         with #if rather than #ifdef.
1670         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1672 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
1674         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1675         first.  Disable AVX-512 GCC support if assembler doesn't support
1676         it.
1677         * sysdeps/x86_64/configure: Regenerated.
1679 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
1681         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1682         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1683         (__old_pthread_attr_setstack): Likewise.
1684         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1685         [!_STACK_GROWS_DOWN]: Likewise.
1687 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1689         * config.make.in (have-bash2): Delete.
1690         * configure.ac (libc_cv_have_bash2): Delete.
1691         * configure: Regenerate.
1692         * elf/Makefile (common-ldd-rewrite): Rename to ...
1693         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
1694         (sh-ldd-rewrite): Delete.
1695         (bash-ldd-rewrite): Delete.
1696         (have-bash2): Delete checks.
1697         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1698         ldd-rewrite.
1700         * config.make.in (have-ksh): Delete.
1701         (KSH): Delete.
1702         * configure.ac (libc_cv_have_ksh): Delete.
1703         * configure: Regenerate.
1705         * elf/Makefile: Delete $(have-ksh) check.
1706         ($(objpfx)sotruss): Change KSH to BASH.
1707         * elf/sotruss.ksh: Rename to ...
1708         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
1709         function style to match POSIX.  Drop ksh vim mode setting.
1711         * manual/time.texi (Specifying the Time Zone with TZ): Change
1712         Tuesday to Thursday.
1714         * debug/tst-longjmp_chk2.c: Update header comment.
1715         (stackoverflow_handler): Add comment.  Call assert on pass value.
1717 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
1719         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1720         (HAVE_AVX512_ASM_SUPPORT): Likewise.
1721         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1722         (La_x86_64_vector): Add zmm.
1723         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1724         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1725         ($(objpfx)tst-audit10): New target.
1726         ($(objpfx)tst-audit10.out): Likewise.
1727         (tst-audit10-ENV): New.
1728         (AVX512-CFLAGS): Likewise.
1729         (CFLAGS-tst-audit10.c): Likewise.
1730         (CFLAGS-tst-auditmod10a.c): Likewise.
1731         (CFLAGS-tst-auditmod10b.c): Likewise.
1732         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1733         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1734         * sysdeps/x86_64/configure: Regenerated.
1735         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1736         AVX-512 zmm register support.
1737         (_dl_x86_64_save_sse): Likewise.
1738         (_dl_x86_64_restore_sse): Likewise.
1739         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1740         size vector registers.
1741         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1742         (ZMM_SIZE): Likewise.
1743         * sysdeps/x86_64/tst-audit10.c: New file.
1744         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1745         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1747 2014-03-13  Roland McGrath  <roland@hack.frob.com>
1749         * configure.ac (HAVE_EHDR_START): New check.
1750         * configure: Regenerated.
1751         * config.h.in (HAVE_EHDR_START): New #undef.
1752         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1753         assuming the lowest-addressed segment maps the start of the file.
1755 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
1757         * INSTALL: Regenerated.
1759 2014-03-13  Will Newton  <will.newton@linaro.org>
1761         * manual/setjmp.texi (System V contexts): Improve
1762         clarity and grammar of documentation.
1764 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1766         [BZ #16381]
1767         * elf/Makefile (tests): Add tst-pie2.
1768         (tests-pie): Add tst-pie2.
1769         * elf/tst-pie2.c: New file.
1770         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1771         for ET_EXEC.
1772         * elf/rtld.c (map_doit): Load executable as lt_executable.
1773         (dl_main): Likewise.
1775 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
1777         [BZ #16642]
1778         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1779         (__ASSUME_PSELECT): Undefine.
1781 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1783         [BZ #16689]
1784         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1785         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1786         static build.
1787         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1788         selector for static builds.
1790 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1792         [BZ #16695]
1793         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1794         key in the buffer.
1796 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1798         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1799         IFUNC selector for static builds.
1801 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
1803         * sysdeps/mips/math_private.h [__mips_hard_float]
1804         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1805         libc_feresetround_mips_ctx.
1806         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1807         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1808         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1810         [BZ #16677]
1811         * math/s_nextafter.c (__nextafter): Do not return value from
1812         overflowing computation.
1813         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1814         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1815         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1816         Likewise.
1817         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1818         Likewise.
1819         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1820         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1822 2014-03-11  Roland McGrath  <roland@hack.frob.com>
1824         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1825         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1826         Move sfi_sp use from the load-multiple (that no longer sets sp) to
1827         the new mov targetting sp.
1829 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1831         [BZ #16683]
1832         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1833         Define it for static builds as well.
1834         (NO_BZERO_IMPL): Likewise.
1836 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1838         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1839         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1840         multiarch strspn for PPC64.
1841         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1842         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1844         (__libc_ifunc_impl_list): Likewise.
1845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1846         multiarch optimizations
1847         * string/strspn.c (strspn): Using macro to redefine symbol name.
1849 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1850             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1852         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1853         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1854         multiarch strncat for PPC64.
1855         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1856         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1858         (__libc_ifunc_impl_list): Likewise.
1859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1860         multiarch optimizations
1862 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1864         [BZ #16639]
1865         * nscd/nscd.service: Make service type forking.
1867 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1869         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1870         sign in non default rounding modes.
1871         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1873 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
1875         * math/libm-test.inc (ALL_RM_TEST): New macro.
1876         (ceil_test): Use ALL_RM_TEST.
1877         (cimag_test): Likewise.
1878         (conj_test): Likewise.
1879         (copysign_test): Likewise.
1880         (cproj_test): Likewise.
1881         (creal_test): Likewise.
1882         (fabs_test): Likewise.
1883         (floor_test): Likewise.
1884         (fmax_test): Likewise.
1885         (fmin_test): Likewise.
1886         (fmod_test): Likewise.
1887         (fpclassify_test): Likewise.
1888         (frexp_test): Likewise.
1889         (ilogb_test): Likewise.
1890         (isfinite_test): Likewise.
1891         (finite_test): Likewise.
1892         (isgreater_test): Likewise.
1893         (isgreaterequal_test): Likewise.
1894         (isinf_test): Likewise.
1895         (isless_test): Likewise.
1896         (islessequal_test): Likewise.
1897         (islessgreater_test): Likewise.
1898         (isnan_test): Likewise.
1899         (isnormal_test): Likewise.
1900         (issignaling_test): Likewise.
1901         (isunordered_test): Likewise.
1902         (logb_test): Likewise.
1903         (logb_downward_test_data): Remove.
1904         (logb_test_downward): Likewise.
1905         (lround_test): Use ALL_RM_TEST.
1906         (llround_test): Likewise.
1907         (modf_test): Likewise.
1908         (nexttoward_test): Likewise.
1909         (remainder_test): Likewise.
1910         (drem_test): Likewise.
1911         (remainder_tonearest_test_data): Likewise.
1912         (remainder_test_tonearest): Likewise.
1913         (drem_test_tonearest): Likewise.
1914         (remainder_towardzero_test_data): Likewise.
1915         (remainder_test_towardzero): Likewise.
1916         (drem_test_towardzero): Likewise.
1917         (remainder_downward_test_data): Likewise.
1918         (remainder_test_downward): Likewise.
1919         (drem_test_downward): Likewise.
1920         (remainder_upward_test_data): Likewise.
1921         (remainder_test_upward): Likewise.
1922         (drem_test_upward): Likewise.
1923         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
1924         (round_test): Use ALL_RM_TEST.
1925         (signbit_test): Likewise.
1926         (trunc_test): Likewise.
1927         (significand_test): Likewise.
1928         (main): Don't call removed functions.
1930 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1932         [BZ #16674]
1933         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1934         || __USE_XOPEN2K8].
1935         (ILL_ILLOPN): Likewise.
1936         (ILL_ILLADR): Likewise.
1937         (ILL_ILLTRP): Likewise.
1938         (ILL_PRVOPC): Likewise.
1939         (ILL_PRVREG): Likewise.
1940         (ILL_COPROC): Likewise.
1941         (ILL_BADSTK): Likewise.
1942         (FPE_INTDIV): Likewise.
1943         (FPE_INTOVF): Likewise.
1944         (FPE_FLTDIV): Likewise.
1945         (FPE_FLTOVF): Likewise.
1946         (FPE_FLTUND): Likewise.
1947         (FPE_FLTRES): Likewise.
1948         (FPE_FLTINV): Likewise.
1949         (FPE_FLTSUB): Likewise.
1950         (SEGV_MAPERR): Likewise.
1951         (SEGV_ACCERR): Likewise.
1952         (BUS_ADRALN): Likewise.
1953         (BUS_ADRERR): Likewise.
1954         (BUS_OBJERR): Likewise.
1955         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1956         (TRAP_TRACE): Likewise.
1957         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1958         __USE_XOPEN2K8].
1959         (CLD_KILLED): Likewise.
1960         (CLD_DUMPED): Likewise.
1961         (CLD_TRAPPED): Likewise.
1962         (CLD_STOPPED): Likewise.
1963         (CLD_CONTINUED): Likewise.
1964         (POLL_IN): Likewise.
1965         (POLL_OUT): Likewise.
1966         (POLL_MSG): Likewise.
1967         (POLL_ERR): Likewise.
1968         (POLL_PRI): Likewise.
1969         (POLL_HUP): Likewise.
1970         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1971         Likewise.
1972         (ILL_ILLOPN): Likewise.
1973         (ILL_ILLADR): Likewise.
1974         (ILL_ILLTRP): Likewise.
1975         (ILL_PRVOPC): Likewise.
1976         (ILL_PRVREG): Likewise.
1977         (ILL_COPROC): Likewise.
1978         (ILL_BADSTK): Likewise.
1979         (FPE_INTDIV): Likewise.
1980         (FPE_INTOVF): Likewise.
1981         (FPE_FLTDIV): Likewise.
1982         (FPE_FLTOVF): Likewise.
1983         (FPE_FLTUND): Likewise.
1984         (FPE_FLTRES): Likewise.
1985         (FPE_FLTINV): Likewise.
1986         (FPE_FLTSUB): Likewise.
1987         (SEGV_MAPERR): Likewise.
1988         (SEGV_ACCERR): Likewise.
1989         (BUS_ADRALN): Likewise.
1990         (BUS_ADRERR): Likewise.
1991         (BUS_OBJERR): Likewise.
1992         (BUS_MCEERR_AR): Likewise.
1993         (BUS_MCEERR_AO): Likewise.
1994         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1995         (TRAP_TRACE): Likewise.
1996         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1997         __USE_XOPEN2K8].
1998         (CLD_KILLED): Likewise.
1999         (CLD_DUMPED): Likewise.
2000         (CLD_TRAPPED): Likewise.
2001         (CLD_STOPPED): Likewise.
2002         (CLD_CONTINUED): Likewise.
2003         (POLL_IN): Likewise.
2004         (POLL_OUT): Likewise.
2005         (POLL_MSG): Likewise.
2006         (POLL_ERR): Likewise.
2007         (POLL_PRI): Likewise.
2008         (POLL_HUP): Likewise.
2009         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2010         (ILL_ILLOPN): Likewise.
2011         (ILL_ILLADR): Likewise.
2012         (ILL_ILLTRP): Likewise.
2013         (ILL_PRVOPC): Likewise.
2014         (ILL_PRVREG): Likewise.
2015         (ILL_COPROC): Likewise.
2016         (ILL_BADSTK): Likewise.
2017         (FPE_INTDIV): Likewise.
2018         (FPE_INTOVF): Likewise.
2019         (FPE_FLTDIV): Likewise.
2020         (FPE_FLTOVF): Likewise.
2021         (FPE_FLTUND): Likewise.
2022         (FPE_FLTRES): Likewise.
2023         (FPE_FLTINV): Likewise.
2024         (FPE_FLTSUB): Likewise.
2025         (SEGV_MAPERR): Likewise.
2026         (SEGV_ACCERR): Likewise.
2027         (BUS_ADRALN): Likewise.
2028         (BUS_ADRERR): Likewise.
2029         (BUS_OBJERR): Likewise.
2030         (BUS_MCEERR_AR): Likewise.
2031         (BUS_MCEERR_AO): Likewise.
2032         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2033         (TRAP_TRACE): Likewise.
2034         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2035         __USE_XOPEN2K8].
2036         (CLD_KILLED): Likewise.
2037         (CLD_DUMPED): Likewise.
2038         (CLD_TRAPPED): Likewise.
2039         (CLD_STOPPED): Likewise.
2040         (CLD_CONTINUED): Likewise.
2041         (POLL_IN): Likewise.
2042         (POLL_OUT): Likewise.
2043         (POLL_MSG): Likewise.
2044         (POLL_ERR): Likewise.
2045         (POLL_PRI): Likewise.
2046         (POLL_HUP): Likewise.
2047         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2048         Likewise.
2049         (ILL_ILLOPN): Likewise.
2050         (ILL_ILLADR): Likewise.
2051         (ILL_ILLTRP): Likewise.
2052         (ILL_PRVOPC): Likewise.
2053         (ILL_PRVREG): Likewise.
2054         (ILL_COPROC): Likewise.
2055         (ILL_BADSTK): Likewise.
2056         (ILL_BADIADDR): Likewise.
2057         (ILL_BREAK): Likewise.
2058         (FPE_INTDIV): Likewise.
2059         (FPE_INTOVF): Likewise.
2060         (FPE_FLTDIV): Likewise.
2061         (FPE_FLTOVF): Likewise.
2062         (FPE_FLTUND): Likewise.
2063         (FPE_FLTRES): Likewise.
2064         (FPE_FLTINV): Likewise.
2065         (FPE_FLTSUB): Likewise.
2066         (FPE_DECOVF): Likewise.
2067         (FPE_DECDIV): Likewise.
2068         (FPE_DECERR): Likewise.
2069         (FPE_INVASC): Likewise.
2070         (FPE_INVDEC): Likewise.
2071         (SEGV_MAPERR): Likewise.
2072         (SEGV_ACCERR): Likewise.
2073         (SEGV_PSTKOVF): Likewise.
2074         (BUS_ADRALN): Likewise.
2075         (BUS_ADRERR): Likewise.
2076         (BUS_OBJERR): Likewise.
2077         (BUS_MCEERR_AR): Likewise.
2078         (BUS_MCEERR_AO): Likewise.
2079         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2080         (TRAP_TRACE): Likewise.
2081         (TRAP_BRANCH): Likewise.
2082         (TRAP_HWBKPT): Likewise.
2083         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2084         __USE_XOPEN2K8].
2085         (CLD_KILLED): Likewise.
2086         (CLD_DUMPED): Likewise.
2087         (CLD_TRAPPED): Likewise.
2088         (CLD_STOPPED): Likewise.
2089         (CLD_CONTINUED): Likewise.
2090         (POLL_IN): Likewise.
2091         (POLL_OUT): Likewise.
2092         (POLL_MSG): Likewise.
2093         (POLL_ERR): Likewise.
2094         (POLL_PRI): Likewise.
2095         (POLL_HUP): Likewise.
2096         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2097         (ILL_ILLOPN): Likewise.
2098         (ILL_ILLADR): Likewise.
2099         (ILL_ILLTRP): Likewise.
2100         (ILL_PRVOPC): Likewise.
2101         (ILL_PRVREG): Likewise.
2102         (ILL_COPROC): Likewise.
2103         (ILL_BADSTK): Likewise.
2104         (FPE_INTDIV): Likewise.
2105         (FPE_INTOVF): Likewise.
2106         (FPE_FLTDIV): Likewise.
2107         (FPE_FLTOVF): Likewise.
2108         (FPE_FLTUND): Likewise.
2109         (FPE_FLTRES): Likewise.
2110         (FPE_FLTINV): Likewise.
2111         (FPE_FLTSUB): Likewise.
2112         (SEGV_MAPERR): Likewise.
2113         (SEGV_ACCERR): Likewise.
2114         (BUS_ADRALN): Likewise.
2115         (BUS_ADRERR): Likewise.
2116         (BUS_OBJERR): Likewise.
2117         (BUS_MCEERR_AR): Likewise.
2118         (BUS_MCEERR_AO): Likewise.
2119         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2120         (TRAP_TRACE): Likewise.
2121         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2122         __USE_XOPEN2K8].
2123         (CLD_KILLED): Likewise.
2124         (CLD_DUMPED): Likewise.
2125         (CLD_TRAPPED): Likewise.
2126         (CLD_STOPPED): Likewise.
2127         (CLD_CONTINUED): Likewise.
2128         (POLL_IN): Likewise.
2129         (POLL_OUT): Likewise.
2130         (POLL_MSG): Likewise.
2131         (POLL_ERR): Likewise.
2132         (POLL_PRI): Likewise.
2133         (POLL_HUP): Likewise.
2134         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2135         (ILL_ILLOPN): Likewise.
2136         (ILL_ILLADR): Likewise.
2137         (ILL_ILLTRP): Likewise.
2138         (ILL_PRVOPC): Likewise.
2139         (ILL_PRVREG): Likewise.
2140         (ILL_COPROC): Likewise.
2141         (ILL_BADSTK): Likewise.
2142         (FPE_INTDIV): Likewise.
2143         (FPE_INTOVF): Likewise.
2144         (FPE_FLTDIV): Likewise.
2145         (FPE_FLTOVF): Likewise.
2146         (FPE_FLTUND): Likewise.
2147         (FPE_FLTRES): Likewise.
2148         (FPE_FLTINV): Likewise.
2149         (FPE_FLTSUB): Likewise.
2150         (SEGV_MAPERR): Likewise.
2151         (SEGV_ACCERR): Likewise.
2152         (BUS_ADRALN): Likewise.
2153         (BUS_ADRERR): Likewise.
2154         (BUS_OBJERR): Likewise.
2155         (BUS_MCEERR_AR): Likewise.
2156         (BUS_MCEERR_AO): Likewise.
2157         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2158         (TRAP_TRACE): Likewise.
2159         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2160         __USE_XOPEN2K8].
2161         (CLD_KILLED): Likewise.
2162         (CLD_DUMPED): Likewise.
2163         (CLD_TRAPPED): Likewise.
2164         (CLD_STOPPED): Likewise.
2165         (CLD_CONTINUED): Likewise.
2166         (POLL_IN): Likewise.
2167         (POLL_OUT): Likewise.
2168         (POLL_MSG): Likewise.
2169         (POLL_ERR): Likewise.
2170         (POLL_PRI): Likewise.
2171         (POLL_HUP): Likewise.
2172         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2173         (ILL_ILLOPN): Likewise.
2174         (ILL_ILLADR): Likewise.
2175         (ILL_ILLTRP): Likewise.
2176         (ILL_PRVOPC): Likewise.
2177         (ILL_PRVREG): Likewise.
2178         (ILL_COPROC): Likewise.
2179         (ILL_BADSTK): Likewise.
2180         (FPE_INTDIV): Likewise.
2181         (FPE_INTOVF): Likewise.
2182         (FPE_FLTDIV): Likewise.
2183         (FPE_FLTOVF): Likewise.
2184         (FPE_FLTUND): Likewise.
2185         (FPE_FLTRES): Likewise.
2186         (FPE_FLTINV): Likewise.
2187         (FPE_FLTSUB): Likewise.
2188         (SEGV_MAPERR): Likewise.
2189         (SEGV_ACCERR): Likewise.
2190         (BUS_ADRALN): Likewise.
2191         (BUS_ADRERR): Likewise.
2192         (BUS_OBJERR): Likewise.
2193         (BUS_MCEERR_AR): Likewise.
2194         (BUS_MCEERR_AO): Likewise.
2195         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2196         (TRAP_TRACE): Likewise.
2197         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2198         __USE_XOPEN2K8].
2199         (CLD_KILLED): Likewise.
2200         (CLD_DUMPED): Likewise.
2201         (CLD_TRAPPED): Likewise.
2202         (CLD_STOPPED): Likewise.
2203         (CLD_CONTINUED): Likewise.
2204         (POLL_IN): Likewise.
2205         (POLL_OUT): Likewise.
2206         (POLL_MSG): Likewise.
2207         (POLL_ERR): Likewise.
2208         (POLL_PRI): Likewise.
2209         (POLL_HUP): Likewise.
2210         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2211         (ILL_ILLOPN): Likewise.
2212         (ILL_ILLADR): Likewise.
2213         (ILL_ILLTRP): Likewise.
2214         (ILL_PRVOPC): Likewise.
2215         (ILL_PRVREG): Likewise.
2216         (ILL_COPROC): Likewise.
2217         (ILL_BADSTK): Likewise.
2218         (ILL_DBLFLT): Likewise.
2219         (ILL_HARDWALL): Likewise.
2220         (FPE_INTDIV): Likewise.
2221         (FPE_INTOVF): Likewise.
2222         (FPE_FLTDIV): Likewise.
2223         (FPE_FLTOVF): Likewise.
2224         (FPE_FLTUND): Likewise.
2225         (FPE_FLTRES): Likewise.
2226         (FPE_FLTINV): Likewise.
2227         (FPE_FLTSUB): Likewise.
2228         (SEGV_MAPERR): Likewise.
2229         (SEGV_ACCERR): Likewise.
2230         (BUS_ADRALN): Likewise.
2231         (BUS_ADRERR): Likewise.
2232         (BUS_OBJERR): Likewise.
2233         (BUS_MCEERR_AR): Likewise.
2234         (BUS_MCEERR_AO): Likewise.
2235         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2236         (TRAP_TRACE): Likewise.
2237         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2238         __USE_XOPEN2K8].
2239         (CLD_KILLED): Likewise.
2240         (CLD_DUMPED): Likewise.
2241         (CLD_TRAPPED): Likewise.
2242         (CLD_STOPPED): Likewise.
2243         (CLD_CONTINUED): Likewise.
2244         (POLL_IN): Likewise.
2245         (POLL_OUT): Likewise.
2246         (POLL_MSG): Likewise.
2247         (POLL_ERR): Likewise.
2248         (POLL_PRI): Likewise.
2249         (POLL_HUP): Likewise.
2250         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2251         (ILL_ILLOPN): Likewise.
2252         (ILL_ILLADR): Likewise.
2253         (ILL_ILLTRP): Likewise.
2254         (ILL_PRVOPC): Likewise.
2255         (ILL_PRVREG): Likewise.
2256         (ILL_COPROC): Likewise.
2257         (ILL_BADSTK): Likewise.
2258         (FPE_INTDIV): Likewise.
2259         (FPE_INTOVF): Likewise.
2260         (FPE_FLTDIV): Likewise.
2261         (FPE_FLTOVF): Likewise.
2262         (FPE_FLTUND): Likewise.
2263         (FPE_FLTRES): Likewise.
2264         (FPE_FLTINV): Likewise.
2265         (FPE_FLTSUB): Likewise.
2266         (SEGV_MAPERR): Likewise.
2267         (SEGV_ACCERR): Likewise.
2268         (BUS_ADRALN): Likewise.
2269         (BUS_ADRERR): Likewise.
2270         (BUS_OBJERR): Likewise.
2271         (BUS_MCEERR_AR): Likewise.
2272         (BUS_MCEERR_AO): Likewise.
2273         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2274         (TRAP_TRACE): Likewise.
2275         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2276         __USE_XOPEN2K8].
2277         (CLD_KILLED): Likewise.
2278         (CLD_DUMPED): Likewise.
2279         (CLD_TRAPPED): Likewise.
2280         (CLD_STOPPED): Likewise.
2281         (CLD_CONTINUED): Likewise.
2282         (POLL_IN): Likewise.
2283         (POLL_OUT): Likewise.
2284         (POLL_MSG): Likewise.
2285         (POLL_ERR): Likewise.
2286         (POLL_PRI): Likewise.
2287         (POLL_HUP): Likewise.
2288         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2289         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2291         [BZ #16670]
2292         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2293         before #include of <time.h>.
2294         [!__USE_XOPEN2K] (__need_timespec): Likewise.
2295         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2296         (test-xfail-UNIX98/sched.h/conform): Likewise.
2298 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2300         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2301         error absence of trapping exception support.
2302         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2304 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2306         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2307         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2308         * timezone/Makefile (testdata): Move definition above include of
2309         Rules.
2310         (test-zones): New variable.
2311         (tests-special): Add zone files.
2312         (build-testdata): Use $(evaluate-test).
2314         * elf/Makefile (tests-special): Rename tests to end with .out.
2315         ($(objpfx)noload-mem): Likewise.
2316         ($(objpfx)tst-leaks1-mem): Likewise.
2317         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2318         * iconv/Makefile (xtests-special): Change test-iconvconfig to
2319         $(objpfx)test-iconvconfig.out.
2320         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
2321         set -e inside subshell and redirect output to file.
2322         * iconvdata/Makefile (generated): Rename tests to end with .out.
2323         Correct type.
2324         (tests-special): Rename tests to end with .out.
2325         ($(objpfx)mtrace-tst-loading): Likewise.
2326         * intl/Makefile (generated): Likewise.
2327         (tests-special): Likewise.
2328         ($(objpfx)mtrace-tst-gettext): Likewise.
2329         * misc/Makefile (generated): Likewise.
2330         (tests-special): Likewise.
2331         ($(objpfx)tst-error1-mem): Likewise.
2332         * nptl/Makefile (tests-special): Likewise.
2333         ($(objpfx)tst-stack3-mem): Likewise.
2334         (generated): Likewise.
2335         * posix/Makefile (generated): Likewise.
2336         (tests-special): Likewise.
2337         (xtests-special): Likewise.
2338         ($(objpfx)tst-fnmatch-mem): Likewise.
2339         ($(objpfx)bug-regex2-mem): Likewise.
2340         ($(objpfx)bug-regex14-mem): Likewise.
2341         ($(objpfx)bug-regex21-mem): Likewise.
2342         ($(objpfx)bug-regex31-mem): Likewise.
2343         ($(objpfx)tst-vfork3-mem): Likewise.
2344         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2345         ($(objpfx)tst-pcre-mem): Likewise.
2346         ($(objpfx)tst-boost-mem): Likewise.
2347         ($(objpfx)bug-ga2-mem): Likewise.
2348         ($(objpfx)bug-glob2-mem): Likewise.
2349         * resolv/Makefile (generate): Likewise.
2350         (tests-special): Likewise.
2351         (xtests-special): Likewise.
2352         (generated): Likewise.
2353         ($(objpfx)mtrace-tst-leaks): Likewise.
2354         ($(objpfx)mtrace-tst-leaks2): Likewise.
2356         * scripts/merge-test-results.sh: New file.
2357         * Makefile (tests-special-notdir): New variable.
2358         (tests): Run merge-test-results.sh.
2359         (xtests): Likewise.
2360         * Rules (tests-special-notdir): New variable.
2361         (xtests-special-notdir): Likewise.
2362         (tests): Run merge-test-results.sh
2363         (xtests): Likewise.
2365         * Makeconfig (test-xfail-name): New variable.
2366         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2367         compute variable name for expected failures.
2368         * conform/Makefile (conformtest-headers-data): New variable.
2369         (conformtest-standards): Likewise.
2370         (conformtest-headers-ISO): Likewise.
2371         (conformtest-headers-ISO99): Likewise.
2372         (conformtest-headers-ISO11): Likewise.
2373         (conformtest-headers-POSIX): Likewise.
2374         (conformtest-headers-XPG3): Likewise.
2375         (conformtest-headers-XPG4): Likewise.
2376         (conformtest-headers-UNIX98): Likewise.
2377         (conformtest-headers-XOPEN2K): Likewise.
2378         (conformtest-headers-POSIX2008): Likewise.
2379         (conformtest-headers-XOPEN2K8): Likewise.
2380         (conformtest-header-list-base): Likewise.
2381         (conformtest-header-list-tests): Likewise.
2382         (conformtest-header-base): Likewise.
2383         (conformtest-header-tests): Likewise.
2384         (tests-special): Add $(conformtest-header-list-tests).  If
2385         [$(fast-check) && !$(cross-compiling)], add
2386         $(conformtest-header-tests) instead of
2387         $(objpfx)run-conformtest.out.
2388         (generated): Add $(conformtest-header-list-base).  If
2389         [$(fast-check) && !$(cross-compiling)], add
2390         $(conformtest-header-base).  Remove previous setting.
2391         ($(conformtest-header-list-tests)): New target.
2392         (test-xfail-run-conformtest): Remove variable.
2393         ($(objpfx)run-conformtest.out): Remove target.
2394         (test-xfail-ISO11/complex.h/conform): New variable.
2395         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2396         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2397         (test-xfail-XPG3/varargs.h/conform): Likewise.
2398         (test-xfail-XPG4/varargs.h/conform): Likewise.
2399         (test-xfail-UNIX98/varargs.h/conform): Likewise.
2400         (test-xfail-XPG4/ndbm.h/conform): Likewise.
2401         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2402         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2403         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2404         (test-xfail-XPG3/fcntl.h/conform): Likewise.
2405         (test-xfail-XPG3/ftw.h/conform): Likewise.
2406         (test-xfail-XPG3/grp.h/conform): Likewise.
2407         (test-xfail-XPG3/langinfo.h/conform): Likewise.
2408         (test-xfail-XPG3/limits.h/conform): Likewise.
2409         (test-xfail-XPG3/pwd.h/conform): Likewise.
2410         (test-xfail-XPG3/search.h/conform): Likewise.
2411         (test-xfail-XPG3/signal.h/conform): Likewise.
2412         (test-xfail-XPG3/stdio.h/conform): Likewise.
2413         (test-xfail-XPG3/stdlib.h/conform): Likewise.
2414         (test-xfail-XPG3/string.h/conform): Likewise.
2415         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2416         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2417         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2418         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2419         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2420         (test-xfail-XPG3/sys/types.h/conform): Likewise.
2421         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2422         (test-xfail-XPG3/termios.h/conform): Likewise.
2423         (test-xfail-XPG3/time.h/conform): Likewise.
2424         (test-xfail-XPG3/unistd.h/conform): Likewise.
2425         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2426         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2427         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2428         (test-xfail-XPG4/netdb.h/conform): Likewise.
2429         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2430         (test-xfail-XPG4/signal.h/conform): Likewise.
2431         (test-xfail-XPG4/stdio.h/conform): Likewise.
2432         (test-xfail-XPG4/stdlib.h/conform): Likewise.
2433         (test-xfail-XPG4/stropts.h/conform): Likewise.
2434         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2435         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2436         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2437         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2438         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2439         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2440         (test-xfail-XPG4/sys/time.h/conform): Likewise.
2441         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2442         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2443         (test-xfail-XPG4/termios.h/conform): Likewise.
2444         (test-xfail-XPG4/ucontext.h/conform): Likewise.
2445         (test-xfail-XPG4/unistd.h/conform): Likewise.
2446         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2447         (test-xfail-POSIX/sched.h/conform): Likewise.
2448         (test-xfail-POSIX/signal.h/conform): Likewise.
2449         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2450         (test-xfail-POSIX/tar.h/conform): Likewise.
2451         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2452         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2453         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2454         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2455         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2456         (test-xfail-UNIX98/sched.h/conform): Likewise.
2457         (test-xfail-UNIX98/signal.h/conform): Likewise.
2458         (test-xfail-UNIX98/stdio.h/conform): Likewise.
2459         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2460         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2461         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2462         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2463         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2464         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2465         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2466         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2467         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2468         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2469         (test-xfail-UNIX98/unistd.h/conform): Likewise.
2470         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2471         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2472         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2473         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2474         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2475         (test-xfail-XOPEN2K/math.h/conform): Likewise.
2476         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2477         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2478         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2479         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2480         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2481         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2482         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2483         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2484         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2485         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2486         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2487         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2488         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2489         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2490         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2491         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2492         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2493         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2494         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2495         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2496         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2497         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2498         (test-xfail-POSIX2008/signal.h/conform): Likewise.
2499         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2500         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2501         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2502         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2503         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2504         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2505         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2506         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2507         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2508         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2509         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2510         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2511         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2512         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2513         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2514         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2515         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2516         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2517         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2518         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2519         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2520         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2521         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2522         (conformtest-cc-flags): Likewise.
2523         ($(conformtest-header-tests): New target.
2524         * conform/check-header-lists.sh: New file.
2525         * conform/run-conformtest.sh: Remove.
2527         * conform/conformtest.pl: Allow ' and \ in values given for
2528         constants.
2529         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2530         inclusion.
2531         [POSIX] (sys/types.h): Likewise.
2532         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2533         inclusion.
2534         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2535         inclusion.
2536         * conform/data/signal.h-data (SIGIO): Remove expectation.
2537         [XPG3] (SIGBUS): Do not expect.
2538         [POSIX || XPG3] (SIGPOLL): Likewise.
2539         [POSIX || XPG3] (SIGPROF): Likewise.
2540         [POSIX || XPG3] (SIGSYS): Likewise.
2541         [XPG3] (SIGTRAP): Likewise.
2542         [POSIX || XPG3] (SIGURG): Likewise.
2543         [POSIX || XPG3] (SIGVTALRM): Likewise.
2544         [POSIX || XPG3] (SIGXCPU): Likewise.
2545         [POSIX || XPG3] (SIGXFSZ): Likewise.
2546         [POSIX] (SA_SIGINFO): Expect.
2547         [XPG3] (siginfo_t): Do not expect type or contents.
2548         [POSIX] (si_pid): Do not expect element.
2549         [POSIX] (si_uid): Likewise.
2550         [POSIX] (si_addr): Likewise.
2551         [POSIX] (si_status): Likewise.
2552         [POSIX] (si_band): Likewise.
2553         [XPG4] (si_value): Likewise.
2554         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2555         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2556         [POSIX || XPG3] (ILL_ILLADR): Likewise.
2557         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2558         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2559         [POSIX || XPG3] (ILL_PRVREG): Likewise.
2560         [POSIX || XPG3] (ILL_COPROC): Likewise.
2561         [POSIX || XPG3] (ILL_BADSTK): Likewise.
2562         [POSIX || XPG3] (FPE_INTDIV): Likewise.
2563         [POSIX || XPG3] (FPE_INTOVF): Likewise.
2564         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2565         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2566         [POSIX || XPG3] (FPE_FLTUND): Likewise.
2567         [POSIX || XPG3] (FPE_FLTRES): Likewise.
2568         [POSIX || XPG3] (FPE_FLTINV): Likewise.
2569         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2570         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2571         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2572         [POSIX || XPG3] (BUS_ADRALN): Likewise.
2573         [POSIX || XPG3] (BUS_ADRERR): Likewise.
2574         [POSIX || XPG3] (BUS_OBJERR): Likewise.
2575         [POSIX || XPG3] (CLD_EXITED): Likewise.
2576         [POSIX || XPG3] (CLD_KILLED): Likewise.
2577         [POSIX || XPG3] (CLD_DUMPED): Likewise.
2578         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2579         [POSIX || XPG3] (CLD_STOPPED): Likewise.
2580         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2581         [POSIX || XPG3] (POLL_IN): Likewise.
2582         [POSIX || XPG3] (POLL_OUT): Likewise.
2583         [POSIX || XPG3] (POLL_MSG): Likewise.
2584         [POSIX || XPG3] (POLL_ERR): Likewise.
2585         [POSIX || XPG3] (POLL_PRI): Likewise.
2586         [POSIX || XPG3] (POLL_HUP): Likewise.
2587         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2588         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2589         (SIG*): Do not allow.
2590         [XPG3] (si_*): Likewise.
2591         [XPG3] (SI_*): Likewise.
2592         [XPG3 || XPG4] (sigev_*): Likewise.
2593         [XPG3 || XPG4] (SIGEV_*): Likewise.
2594         [XPG3 || XPG4] (sival_*): Likewise.
2595         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2596         [POSIX || XPG3] (BUS_*): Likewise.
2597         [POSIX || XPG3] (CLD_*): Likewise.
2598         [POSIX || XPG3] (FPE_*): Likewise.
2599         [POSIX || XPG3] (ILL_*): Likewise.
2600         [POSIX || XPG3] (POLL_*): Likewise.
2601         [POSIX || XPG3] (SEGV_*): Likewise.
2602         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2603         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2604         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2605         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2606         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2607         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2608         Specify type and value.
2609         (TVERSLEN): Likewise.
2610         (REGTYPE): Likewise.
2611         (AREGTYPE): Likewise.
2612         (LNKTYPE): Likewise.
2613         (SYMTYPE): Likewise.
2614         (CHRTYPE): Likewise.
2615         (BLKTYPE): Likewise.
2616         (DIRTYPE): Likewise.
2617         (FIFOTYPE): Likewise.
2618         (CONTTYPE): Likewise.
2619         (TSUID): Likewise.
2620         (TSGID): Likewise.
2621         (TSVTX): Likewise.
2622         (TUREAD): Likewise.
2623         (TUWRITE): Likewise.
2624         (TUEXEC): Likewise.
2625         (TGREAD): Likewise.
2626         (TGWRITE): Likewise.
2627         (TGEXEC): Likewise.
2628         (TOREAD): Likewise.
2629         (TOWRITE): Likewise.
2630         (TOEXEC): Likewise.
2631         [POSIX] (TSVTX): Expect constant.
2633 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
2635         * Makefile (tests): Change dependencies to ....
2636         (tests-special): ... additions to this variable.
2637         (tests): Depend on $(tests-special).
2638         * Makerules (check-abi-list): New variable.
2639         (check-abi): Depend on $(check-abi-list).
2640         [$(subdir) = elf] (tests-special): Add
2641         $(objpfx)check-abi-libc.out.
2642         [$(build-shared) = yes && subdir] (tests-special): Add
2643         $(check-abi-list).
2644         [$(build-shared) = yes && subdir] (tests): Do not depend on
2645         check-abi.
2646         * Rules (tests): Depend on $(tests-special).
2647         (xtests): Depend on $(xtests-special).
2648         * catgets/Makefile (tests): Change dependencies to ....
2649         (tests-special): ... additions to this variable.
2650         * conform/Makefile (tests): Change dependencies to ....
2651         (tests-special): ... additions to this variable.
2652         * elf/Makefile (tests): Change dependencies to ....
2653         (tests-special): ... additions to this variable.
2654         * grp/Makefile (tests): Change dependencies to ....
2655         (tests-special): ... additions to this variable.
2656         * iconv/Makefile (xtests): Change dependencies to ....
2657         (xtests-special): ... additions to this variable.
2658         * iconvdata/Makefile (tests): Change dependencies to ....
2659         (tests-special): ... additions to this variable.
2660         * intl/Makefile (tests): Change dependencies to ....
2661         (tests-special): ... additions to this variable.  Also add
2662         $(objpfx)tst-gettext.out.
2663         * io/Makefile (tests): Change dependencies to ....
2664         (tests-special): ... additions to this variable.
2665         * libio/Makefile (tests): Change dependencies to ....
2666         (tests-special): ... additions to this variable.
2667         * malloc/Makefile (tests): Change dependencies to ....
2668         (tests-special): ... additions to this variable.
2669         * misc/Makefile (tests): Change dependencies to ....
2670         (tests-special): ... additions to this variable.
2671         * nptl/Makefile (tests): Change dependencies to ....
2672         (tests-special): ... additions to this variable.
2673         * nptl_db/Makefile (tests): Change dependencies to ....
2674         (tests-special): ... additions to this variable.
2675         * posix/Makefile (tests): Change dependencies to ....
2676         (tests-special): ... additions to this variable.
2677         (xtests): Change dependencies to ....
2678         (xtests-special): ... additions to this variable.
2679         * resolv/Makefile (tests): Change dependencies to ....
2680         (tests-special): ... additions to this variable.
2681         (xtests): Change dependencies to ....
2682         (xtests-special): ... additions to this variable.
2683         * stdio-common/Makefile (tests): Change dependencies to ....
2684         (tests-special): ... additions to this variable.
2685         (do-tst-unbputc): Remove target.
2686         (do-tst-printf): Likewise.
2687         * stdlib/Makefile (tests): Change dependencies to ....
2688         (tests-special): ... additions to this variable.
2689         * string/Makefile (tests): Change dependencies to ....
2690         (tests-special): ... additions to this variable.
2691         * sysdeps/x86/Makefile (tests): Change dependencies to ....
2692         (tests-special): ... additions to this variable.
2694         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2695         whole file.
2696         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2697         whole file.
2698         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2699         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2701         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2702         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2703         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2704         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2705         * conform/data/libgen.h-data [XPG3]: Likewise.
2706         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2707         * conform/data/ndbm.h-data [XPG3]: Likewise.
2708         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2709         * conform/data/netdb.h-data [XPG3]: Likewise.
2710         * conform/data/netinet/in.h-data [XPG3]: Likewise.
2711         * conform/data/poll.h-data [XPG3]: Likewise.
2712         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2713         * conform/data/strings.h-data [XPG3]: Likewise.
2714         * conform/data/stropts.h-data [XPG3]: Likewise.
2715         * conform/data/sys/mman.h-data [XPG3]: Likewise.
2716         * conform/data/sys/resource.h-data [XPG3]: Likewise.
2717         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2718         Likewise.
2719         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2720         * conform/data/sys/time.h-data [XPG3]: Likewise.
2721         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2722         * conform/data/sys/uio.h-data [XPG3]: Likewise.
2723         * conform/data/sys/un.h-data [XPG3]: Likewise.
2724         * conform/data/syslog.h-data [XPG3]: Likewise.
2725         * conform/data/ucontext.h-data [XPG3]: Likewise.
2726         * conform/data/utmpx.h-data [XPG3]: Likewise.
2727         * conform/data/varargs.h-data [UNIX98]: Enable file.
2729         * manual/Makefile (INSTALL_INFO): Remove variable setting.
2731         * math/libm-test.inc (struct test_f_f_data): Move expected results
2732         into structure for each rounding mode.
2733         (struct test_ff_f_data): Likewise.
2734         (struct test_ff_f_data_nexttoward): Likewise.
2735         (struct test_fi_f_data): Likewise.
2736         (struct test_fl_f_data): Likewise.
2737         (struct test_if_f_data): Likewise.
2738         (struct test_fff_f_data): Likewise.
2739         (struct test_c_f_data): Likewise.
2740         (struct test_f_f1_data): Likewise.
2741         (struct test_fF_f1_data): Likewise.
2742         (struct test_ffI_f1_data): Likewise.
2743         (struct test_c_c_data): Likewise.
2744         (struct test_cc_c_data): Likewise.
2745         (struct test_f_i_data): Likewise.
2746         (struct test_ff_i_data): Likewise.
2747         (struct test_f_l_data): Likewise.
2748         (struct test_f_L_data): Likewise.
2749         (struct test_fFF_11_data): Likewise.
2750         (RM_): New macro.
2751         (RM_FE_DOWNWARD): Likewise.
2752         (RM_FE_TONEAREST): Likewise.
2753         (RM_FE_TOWARDZERO): Likewise.
2754         (RM_FE_UPWARD): Likewise.
2755         (RUN_TEST_LOOP_f_f): Update references to expected results.
2756         (RUN_TEST_LOOP_2_f): Likewise.
2757         (RUN_TEST_LOOP_fff_f): Likewise.
2758         (RUN_TEST_LOOP_c_f): Likewise.
2759         (RUN_TEST_LOOP_f_f1): Likewise.
2760         (RUN_TEST_LOOP_fF_f1): Likewise.
2761         (RUN_TEST_LOOP_fI_f1): Likewise.
2762         (RUN_TEST_LOOP_ffI_f1): Likewise.
2763         (RUN_TEST_LOOP_c_c): Likewise.
2764         (RUN_TEST_LOOP_cc_c): Likewise.
2765         (RUN_TEST_LOOP_f_i): Likewise.
2766         (RUN_TEST_LOOP_f_i_tg): Likewise.
2767         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2768         (RUN_TEST_LOOP_f_b): Likewise.
2769         (RUN_TEST_LOOP_f_b_tg): Likewise.
2770         (RUN_TEST_LOOP_f_l): Likewise.
2771         (RUN_TEST_LOOP_f_L): Likewise.
2772         (RUN_TEST_LOOP_fFF_11): Likewise.
2773         * math/gen-libm-test.pl (parse_args): Output four copies of
2774         expected results for each test.
2776         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2777         (__ASSUME_UTIMES): Remove.
2778         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2779         (__ASSUME_UTIMES): Likewise.
2781         * math/gen-auto-libm-tests.c: Update comment on output format.
2782         (output_for_one_input_case): Generate before-rounding and
2783         after-rounding information as conditions on output flags not
2784         floating-point format.
2785         * math/auto-libm-test-out: Regenerated.
2786         * math/gen-libm-test.pl (cond_value): New function.
2787         (or_cond_value): Use cond_value.
2788         (generate_testfile): Handle conditional exceptions.
2790 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
2792         * math/libm-test.inc (max_valid_error): New variable.
2793         (init_max_error): Take new argument specifying whether function
2794         results are exactly determined.  Set max_valid_error and bound
2795         other variables for errors based on this argument.
2796         (set_max_error): Do not record results above max_valid_error.
2797         (check_float_internal): Only accept errors of up to 0.5ulps if
2798         also at most max_valid_error.
2799         (START): Take new argument EXACT and pass it to init_max_error.
2800         (acos_test): Update call to START.
2801         (acos_test_tonearest): Likewise.
2802         (acos_test_towardzero): Likewise.
2803         (acos_test_downward): Likewise.
2804         (acos_test_upward): Likewise.
2805         (acosh_test): Likewise.
2806         (asin_test): Likewise.
2807         (asin_test_tonearest): Likewise.
2808         (asin_test_towardzero): Likewise.
2809         (asin_test_downward): Likewise.
2810         (asin_test_upward): Likewise.
2811         (asinh_test): Likewise.
2812         (atan_test): Likewise.
2813         (atanh_test): Likewise.
2814         (atan2_test): Likewise.
2815         (cabs_test): Likewise.
2816         (cacos_test): Likewise.
2817         (cacosh_test): Likewise.
2818         (carg_test): Likewise.
2819         (casin_test): Likewise.
2820         (casinh_test): Likewise.
2821         (catan_test): Likewise.
2822         (catanh_test): Likewise.
2823         (cbrt_test): Likewise.
2824         (ccos_test): Likewise.
2825         (ccosh_test): Likewise.
2826         (ceil_test): Likewise.
2827         (cexp_test): Likewise.
2828         (cimag_test): Likewise.
2829         (clog_test): Likewise.
2830         (clog10_test): Likewise.
2831         (conj_test): Likewise.
2832         (copysign_test): Likewise.
2833         (cos_test): Likewise.
2834         (cos_test_tonearest): Likewise.
2835         (cos_test_towardzero): Likewise.
2836         (cos_test_downward): Likewise.
2837         (cos_test_upward): Likewise.
2838         (cosh_test): Likewise.
2839         (cosh_test_tonearest): Likewise.
2840         (cosh_test_towardzero): Likewise.
2841         (cosh_test_downward): Likewise.
2842         (cosh_test_upward): Likewise.
2843         (cpow_test): Likewise.
2844         (cproj_test): Likewise.
2845         (creal_test): Likewise.
2846         (csin_test): Likewise.
2847         (csinh_test): Likewise.
2848         (csqrt_test): Likewise.
2849         (ctan_test): Likewise.
2850         (ctan_test_tonearest): Likewise.
2851         (ctan_test_towardzero): Likewise.
2852         (ctan_test_downward): Likewise.
2853         (ctan_test_upward): Likewise.
2854         (ctanh_test): Likewise.
2855         (ctanh_test_tonearest): Likewise.
2856         (ctanh_test_towardzero): Likewise.
2857         (ctanh_test_downward): Likewise.
2858         (ctanh_test_upward): Likewise.
2859         (erf_test): Likewise.
2860         (erfc_test): Likewise.
2861         (exp_test): Likewise.
2862         (exp_test_tonearest): Likewise.
2863         (exp_test_towardzero): Likewise.
2864         (exp_test_downward): Likewise.
2865         (exp_test_upward): Likewise.
2866         (exp10_test): Likewise.
2867         (exp10_test_tonearest): Likewise.
2868         (exp10_test_towardzero): Likewise.
2869         (exp10_test_downward): Likewise.
2870         (exp10_test_upward): Likewise.
2871         (pow10_test): Likewise.
2872         (exp2_test): Likewise.
2873         (expm1_test): Likewise.
2874         (expm1_test_tonearest): Likewise.
2875         (expm1_test_towardzero): Likewise.
2876         (expm1_test_downward): Likewise.
2877         (expm1_test_upward): Likewise.
2878         (fabs_test): Likewise.
2879         (fdim_test): Likewise.
2880         (floor_test): Likewise.
2881         (fma_test): Likewise.
2882         (fma_test_towardzero): Likewise.
2883         (fma_test_downward): Likewise.
2884         (fma_test_upward): Likewise.
2885         (fmax_test): Likewise.
2886         (fmin_test): Likewise.
2887         (fmod_test): Likewise.
2888         (fpclassify_test): Likewise.
2889         (frexp_test): Likewise.
2890         (hypot_test): Likewise.
2891         (ilogb_test): Likewise.
2892         (isfinite_test): Likewise.
2893         (finite_test): Likewise.
2894         (isgreater_test): Likewise.
2895         (isgreaterequal_test): Likewise.
2896         (isinf_test): Likewise.
2897         (isless_test): Likewise.
2898         (islessequal_test): Likewise.
2899         (islessgreater_test): Likewise.
2900         (isnan_test): Likewise.
2901         (isnormal_test): Likewise.
2902         (issignaling_test): Likewise.
2903         (isunordered_test): Likewise.
2904         (j0_test): Likewise.
2905         (j1_test): Likewise.
2906         (jn_test): Likewise.
2907         (ldexp_test): Likewise.
2908         (lgamma_test): Likewise.
2909         (gamma_test): Likewise.
2910         (lrint_test): Likewise.
2911         (lrint_test_tonearest): Likewise.
2912         (lrint_test_towardzero): Likewise.
2913         (lrint_test_downward): Likewise.
2914         (lrint_test_upward): Likewise.
2915         (llrint_test): Likewise.
2916         (llrint_test_tonearest): Likewise.
2917         (llrint_test_towardzero): Likewise.
2918         (llrint_test_downward): Likewise.
2919         (llrint_test_upward): Likewise.
2920         (log_test): Likewise.
2921         (log10_test): Likewise.
2922         (log1p_test): Likewise.
2923         (log2_test): Likewise.
2924         (logb_test): Likewise.
2925         (logb_test_downward): Likewise.
2926         (lround_test): Likewise.
2927         (llround_test): Likewise.
2928         (modf_test): Likewise.
2929         (nearbyint_test): Likewise.
2930         (nextafter_test): Likewise.
2931         (nexttoward_test): Likewise.
2932         (pow_test): Likewise.
2933         (pow_test_tonearest): Likewise.
2934         (pow_test_towardzero): Likewise.
2935         (pow_test_downward): Likewise.
2936         (pow_test_upward): Likewise.
2937         (remainder_test): Likewise.
2938         (drem_test): Likewise.
2939         (remainder_test_tonearest): Likewise.
2940         (drem_test_tonearest): Likewise.
2941         (remainder_test_towardzero): Likewise.
2942         (drem_test_towardzero): Likewise.
2943         (remainder_test_downward): Likewise.
2944         (drem_test_downward): Likewise.
2945         (remainder_test_upward): Likewise.
2946         (drem_test_upward): Likewise.
2947         (remquo_test): Likewise.
2948         (rint_test): Likewise.
2949         (rint_test_tonearest): Likewise.
2950         (rint_test_towardzero): Likewise.
2951         (rint_test_downward): Likewise.
2952         (rint_test_upward): Likewise.
2953         (round_test): Likewise.
2954         (scalb_test): Likewise.
2955         (scalbn_test): Likewise.
2956         (scalbln_test): Likewise.
2957         (signbit_test): Likewise.
2958         (sin_test): Likewise.
2959         (sin_test_tonearest): Likewise.
2960         (sin_test_towardzero): Likewise.
2961         (sin_test_downward): Likewise.
2962         (sin_test_upward): Likewise.
2963         (sincos_test): Likewise.
2964         (sinh_test): Likewise.
2965         (sinh_test_tonearest): Likewise.
2966         (sinh_test_towardzero): Likewise.
2967         (sinh_test_downward): Likewise.
2968         (sinh_test_upward): Likewise.
2969         (sqrt_test): Likewise.
2970         (sqrt_test_tonearest): Likewise.
2971         (sqrt_test_towardzero): Likewise.
2972         (sqrt_test_downward): Likewise.
2973         (sqrt_test_upward): Likewise.
2974         (tan_test): Likewise.
2975         (tan_test_tonearest): Likewise.
2976         (tan_test_towardzero): Likewise.
2977         (tan_test_downward): Likewise.
2978         (tan_test_upward): Likewise.
2979         (tanh_test): Likewise.
2980         (tgamma_test): Likewise.
2981         (trunc_test): Likewise.
2982         (y0_test): Likewise.
2983         (y1_test): Likewise.
2984         (yn_test): Likewise.
2985         (significand_test): Likewise.
2987         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2988         individual tests in comment.
2989         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2990         (prev_max_error): New variable.
2991         (prev_real_max_error): Likewise.
2992         (prev_imag_max_error): Likewise.
2993         (compare_ulp_data): Don't refer to test names in comment.
2994         (find_test_ulps): Remove function.
2995         (find_function_ulps): Likewise.
2996         (find_complex_function_ulps): Likewise.
2997         (init_max_error): Take function name as argument.  Look up ulps
2998         for that function.
2999         (print_ulps): Remove function.
3000         (print_max_error): Use prev_max_error instead of calling
3001         find_function_ulps.
3002         (print_complex_max_error): Use prev_real_max_error and
3003         prev_imag_max_error instead of calling find_complex_function_ulps.
3004         (check_float_internal): Take max_ulp parameter instead of calling
3005         find_test_ulps.  Don't call print_ulps.
3006         (check_float): Update call to check_float_internal.
3007         (check_complex): Update calls to check_float_internal.
3008         (START): Pass argument to init_max_error.
3009         * math/gen-libm-test.pl (%results): Don't include "kind"
3010         information.
3011         (parse_ulps): Don't handle ulps of individual tests.
3012         (print_ulps_file): Likewise.
3013         (output_ulps): Likewise.
3014         * math/README.libm-test: Update.
3015         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3016         individual tests.
3017         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3018         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3019         * sysdeps/arm/libm-test-ulps: Likewise.
3020         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3021         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3022         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3023         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3024         * sysdeps/microblaze/libm-test-ulps: Likewise.
3025         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3026         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3027         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3028         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3029         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3030         * sysdeps/sh/libm-test-ulps: Likewise.
3031         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3032         * sysdeps/tile/libm-test-ulps: Likewise.
3033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3035 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
3037         * math/libm-test.inc (print_complex_max_error): Check separately
3038         whether real and imaginary errors are within allowed range and
3039         pass 0 to print_complex_function_ulps instead of value within
3040         allowed range.
3042 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3044         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3045         formatting.
3046         (get_handles_fopen): Likewise.
3047         (do_write_test): Likewise.
3049         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3051         * libio/fileops.c (do_ftell): Use cached offset when
3052         available.
3053         * libio/iofwide.c (do_ftell_wide): Likewise.
3054         * libio/iofdopen.c (_IO_new_fdopen): Don't use
3055         _IO_file_attach.
3056         * libio/wfileops.c (_IO_fwide): Don't cache offset.
3058         [BZ #16532]
3059         * libio/libioP.h (get_file_offset): New function.
3060         * libio/fileops.c (get_file_offset): Likewise.
3061         (do_ftell): Likewise.
3062         (_IO_new_file_seekoff): Split out ftell logic.
3063         * libio/wfileops.c (do_ftell_wide): Likewise.
3064         (_IO_wfile_seekoff): Split out ftell logic.
3065         * libio/tst-ftell-active-handler.c: New test case.
3066         * libio/Makefile (tests): Add it.
3068 2014-03-03  Roland McGrath  <roland@hack.frob.com>
3070         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3071         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3073 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3075         [BZ #16639]
3076         * nscd/connections.c (nscd_init): Call do_exit.
3077         (start_threads): Call do_exit and notify_parent.
3078         (begin_drop_privileges): Call do_exit.
3079         (finish_drop_privileges): Likewise.
3080         * nscd/selinux.c (preserve_capabilities): Likewise.
3081         (install_real_capabilities): Likewise.
3082         (nscd_selinux_enabled): Likewise.
3083         (avc_create_thread): Likewise.
3084         (avc_alloc_lock): Likewise.
3085         (nscd_avc_init): Likewise.
3086         * nscd/nscd.c (parent_fd): New static variable.
3087         (main): Create a pipe between parent and child processes.
3088         Skip closing parent_fd.
3089         (monitor_child): New function.
3090         (do_exit): Likewise.
3091         (notify_parent): Likewise.
3092         * nscd/nscd.h (notify_parent): Likewise.
3093         (do_exit): Likewise.
3095 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
3097         * malloc/malloc.c (__libc_calloc): Revert last change.
3099 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3103 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3105         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3107         implementation.
3108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3109         (__libc_ifunc_impl_list): Likewise.
3110         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3111         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3112         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3113         * string/strrchr.c: Define STRRCHR.
3115 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
3117         * benchtest/bench-strtok.c (simple_strtok): Delete.
3118         (strtok_string): Use as benchmark.
3119         * string/strtok (STRTOK): New macro.
3121 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
3123         * manual/threads.texi: Add header and standard comments to all
3124         functions.
3126         * elf/dl-lookup.c (check_match): New function.
3127         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3128         (do_lookup_x): Remove nested function check_match. Use non-nested
3129         function check_match.
3131 2014-02-28  Roland McGrath  <roland@hack.frob.com>
3133         * csu/Makefile (generated, before-compile): Use += rather than =.
3134         * catgets/Makefile (generated, generated-dirs): Likewise.
3135         * debug/Makefile (generated): Likewise.
3136         * dlfcn/Makefile (generated): Likewise.
3137         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3138         * iconvdata/Makefile (before-compile, generated): Likewise.
3139         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3140         * libio/Makefile (generated): Likewise.
3141         * malloc/Makefile (generated): Likewise.
3142         * manual/Makefile (generated, generated-dirs): Likewise.
3143         * misc/Makefile (generated): Likewise.
3144         * posix/Makefile (generated): Likewise.
3145         * resolv/Makefile (generated): Likewise.
3146         * sunrpc/Makefile (generated, generated-dirs): Likewise.
3147         * timezone/Makefile (generated, generated-dirs): Likewise.
3149         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3151 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3154         power8 implementation.
3155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3156         file: POWER8 llround ifunc implementation.
3157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3158         (__lllround): Add POWER8 implementation.
3159         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3160         POWER8 llround implementation.
3162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3163         power8 implementation.
3164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3165         file: POWER8 llrint ifunc implementation.
3166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3167         Add POWER8 implementation.
3168         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3169         POWER8 llrint implementation.
3171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3172         power8 implementation.
3173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3174         file: POWER8 finite ifunc implementation.
3175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3176         Add POWER8 implementation.
3177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3178         Likewise.
3179         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3180         POWER8 finite implementation.
3181         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3184         power8 implementation.
3185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3186         file: POWER8 isinf ifunc implementation.
3187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3188         POWER8 implementation.
3189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3190         Likewise.
3191         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3192         isinf implementation.
3193         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3195         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3196         (INIT_ARCH): Add hwcap2 initialization.
3197         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3198         power8 implementation.
3199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3200         file: POWER8 isnan ifunc implementation.
3201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3202         POWER8 implementation.
3203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3204         Likewise.
3205         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3206         isnan implementation.
3207         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3209 2014-02-27  Joey Ye  <joey.ye@arm.com>
3211         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3212         (_FP_NANFRAC_Q): Set to zero.
3214 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3216         [BZ #16623]
3217         * math/auto-libm-test-in: New test inputs.
3218         * math/auto-libm-test-out: Regenerate.
3219         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3220         and DA.
3221         (__cos): Likewise.
3222         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3224 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
3226         * scripts/evaluate-test.sh: Take new argument indicating whether
3227         failure is expected.
3228         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3229         indicating whether failure is expected.
3230         * conform/Makefile (test-xfail-run-conformtest): New variable.
3231         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3232         level.
3233         * posix/Makefile (test-xfail-annexc): New variable.
3234         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3236 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
3238         * argp/Makefile: Include Makeconfig immediately after defining
3239         subdir.
3240         * assert/Makefile: Likewise.
3241         * benchtests/Makefile: Likewise.
3242         * catgets/Makefile: Likewise.
3243         * conform/Makefile: Likewise.
3244         * crypt/Makefile: Likewise.
3245         * csu/Makefile: Likewise.
3246         (all): Remove target.
3247         * ctype/Makefile: Include Makeconfig immediately after defining
3248         subdir.
3249         * debug/Makefile: Likewise.
3250         * dirent/Makefile: Likewise.
3251         * dlfcn/Makefile: Likewise.
3252         * gmon/Makefile: Likewise.
3253         * gnulib/Makefile: Likewise.
3254         * grp/Makefile: Likewise.
3255         * gshadow/Makefile: Likewise.
3256         * hesiod/Makefile: Likewise.
3257         * hurd/Makefile: Likewise.
3258         (all): Remove target.
3259         * iconvdata/Makefile: Include Makeconfig immediately after
3260         defining subdir.
3261         * inet/Makefile: Likewise.
3262         * intl/Makefile: Likewise.
3263         * io/Makefile: Likewise.
3264         * libio/Makefile: Likewise.
3265         (all): Remove target.
3266         * locale/Makefile: Include Makeconfig immediately after defining
3267         subdir.
3268         * login/Makefile: Likewise.
3269         * mach/Makefile: Likewise.
3270         (all): Remove target.
3271         * malloc/Makefile: Include Makeconfig immediately after defining
3272         subdir.
3273         (all): Remove target.
3274         * manual/Makefile: Include Makeconfig immediately after defining
3275         subdir.
3276         * math/Makefile: Likewise.
3277         * misc/Makefile: Likewise.
3278         * nis/Makefile: Likewise.
3279         * nss/Makefile: Likewise.
3280         * po/Makefile: Likewise.
3281         (all): Remove target.
3282         * posix/Makefile: Include Makeconfig immediately after defining
3283         subdir.
3284         * pwd/Makefile: Likewise.
3285         * resolv/Makefile: Likewise.
3286         * resource/Makefile: Likewise.
3287         * rt/Makefile: Likewise.
3288         * setjmp/Makefile: Likewise.
3289         * shadow/Makefile: Likewise.
3290         * signal/Makefile: Likewise.
3291         * socket/Makefile: Likewise.
3292         * soft-fp/Makefile: Likewise.
3293         * stdio-common/Makefile: Likewise.
3294         * stdlib/Makefile: Likewise.
3295         * streams/Makefile: Likewise.
3296         * string/Makefile: Likewise.
3297         * sunrpc/Makefile: Likewise.
3298         (all): Remove target.
3299         * sysvipc/Makefile: Include Makeconfig immediately after defining
3300         subdir.
3301         * termios/Makefile: Likewise.
3302         * time/Makefile: Likewise.
3303         * timezone/Makefile: Likewise.
3304         (all): Remove target.
3305         * wcsmbs/Makefile: Include Makeconfig immediately after defining
3306         subdir.
3307         * wctype/Makefile: Likewise.
3309 2014-02-26  Steve Ellcey  <sellcey@mips.com>
3311         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3312         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3313         (libc_feholdexcept_setround_mips): Ditto.
3314         (libc_feholdsetround): New.
3315         (libc_feholdsetroundf): New.
3316         (libc_feholdsetroundl): New.
3317         (libc_feupdateenv_test_mips): New.
3318         (libc_feupdateenv_test): New.
3319         (libc_feupdateenv_testf): New.
3320         (libc_feupdateenv_testl): New.
3321         (libc_feresetround): New.
3322         (libc_feresetroundf): New.
3323         (libc_feresetroundl): New.
3324         (libc_fetestexcept_mips): New.
3325         (libc_fetestexcept): New.
3326         (libc_fetestexceptf): New.
3327         (libc_fetestexceptl): New.
3328         (HAVE_RM_CTX): New.
3329         (libc_feholdexcept_setround_mips_ctx): New.
3330         (libc_feholdexcept_setround_ctx): New.
3331         (libc_feholdexcept_setroundf_ctx): New.
3332         (libc_feholdexcept_setroundl_ctx): New.
3333         (libc_fesetenv_mips_ctx): New.
3334         (libc_fesetenv_ctx): New.
3335         (libc_fesetenv_ctxf): New.
3336         (libc_fesetenv_ctxl): New.
3337         (libc_feupdateenv_mips_ctx): New.
3338         (libc_feupdateenv_ctx): New.
3339         (libc_feupdateenvf_ctx): New.
3340         (libc_feupdateenvl_ctx): New.
3341         (libc_feholdsetround_mips_ctx): New.
3342         (libc_feholdsetround_ctx): New.
3343         (libc_feholdsetroundf_ctx): New.
3344         (libc_feholdsetroundl_ctx): New.
3345         (libc_feresetround_mips_ctx): New.
3346         (libc_feresetround_ctx): New.
3347         (libc_feresetroundf_ctx): New.
3348         (libc_feresetroundl_ctx): New.
3350 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
3352         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3354         * manual/ipc.texi: New file.
3355         * manual/Makefile (chapters): Add ipc.
3356         * manual/job.texi: Add "Inter-Process Communication" to next.
3357         * manual/process.texi: Add "Inter-Process Communication" to prev.
3359 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3363 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
3365         * malloc/malloc.c (__libc_calloc): Simplify implementation.
3367         * manual/arith.texi: Fix spaces after sentences.
3368         * manual/charset.texi: Likewise.
3369         * manual/errno.texi: Likewise.
3370         * manual/install.texi: Likewise.
3371         * manual/llio.texi: Likewise.
3372         * manual/locale.texi: Likewise.
3373         * manual/maint.texi: Likewise.
3374         * manual/math.texi: Likewise.
3375         * manual/memory.texi: Likewise.
3376         * manual/message.texi: Likewise.
3377         * manual/probes.texi: Likewise.
3378         * manual/resource.texi: Likewise.
3379         * manual/signal.texi: Likewise.
3380         * manual/socket.texi: Likewise.
3381         * manual/stdio.texi: Likewise.
3382         * manual/string.texi: Likewise.
3383         * manual/time.texi: Likewise.
3384         * manual/users.texi: Likewise.
3386 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
3388         [BZ #16632]
3389         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3390         _DEFAULT_SOURCE is defined.
3392 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
3393             Carlos O'Donell  <carlos@redhat.com>
3395         [BZ #16613]
3396         * elf/dl-tls.c (_dl_count_modids): New function.
3397         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3398         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3399         audit library and increment generation counter.
3400         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3401         * elf/tst-audit9.c: New file.
3402         * elf/tst-auditmod9a.c: New file.
3403         * elf/tst-auditmod9b.c: New file.
3404         * elf/Makefile: Add rules to build and run tst-audit9.
3406 2014-02-25  Florian Weimer  <fweimer@redhat.com>
3408         [BZ #15347]
3409         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3411 2014-02-25  Will Newton  <will.newton@linaro.org>
3413         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3414         (__longjmp): Restore sp and lr before restoring callee
3415         saved registers.  Add longjmp and longjmp_target
3416         SystemTap probe point.
3417         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3418         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3419         Define to zero to match jmpbuf layout.
3420         * sysdeps/arm/setjmp.S: Include stap-probe.h.
3421         (__sigsetjmp): Save sp and lr before saving callee
3422         saved registers.  Add setjmp SystemTap probe point.
3424 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3426         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3428 2014-02-24  Andreas Schwab  <schwab@suse.de>
3430         [BZ #15804]
3431         * elf/pldd.c (wait_for_ptrace_stop): New function.
3432         (main): Call it after attaching.
3434 2014-02-22  Roland McGrath  <roland@hack.frob.com>
3436         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3437         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3438         Versions files is now verboten.
3439         * hurd/Versions (libc: GLIBC_2.0):
3440         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3441         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3442         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3443         * mach/Versions: Likewise.
3445         * csu/Versions: Remove unused %include.
3446         * resolv/Versions: Likewise.
3448 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
3450         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3451         ($(objpfx)check-local-headers.out): Likewise.
3452         ($(objpfx)begin-end-check.out): Likewise.
3453         * Makerules (check-abi-%.out): Likewise.
3454         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3455         ($(objpfx)test2.cat): Likewise.
3456         ($(objpfx)de/libc.cat): Likewise.
3457         ($(objpfx)test-gencat.out): Likewise.
3458         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3459         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3460         ($(objpfx)noload-mem): Likewise.
3461         ($(objpfx)tst-pathopt.out): Likewise.
3462         ($(objpfx)tst-rtld-load-self.out): Likewise.
3463         ($(objpfx)tst-array1-cmp.out): Likewise.
3464         ($(objpfx)tst-array1-static-cmp.out): Likewise.
3465         ($(objpfx)tst-array2-cmp.out): Likewise.
3466         ($(objpfx)tst-array3-cmp.out): Likewise.
3467         ($(objpfx)tst-array4-cmp.out): Likewise.
3468         ($(objpfx)tst-array5-cmp.out): Likewise.
3469         ($(objpfx)tst-array5-static-cmp.out): Likewise.
3470         ($(objpfx)check-textrel.out): Likewise.
3471         ($(objpfx)check-execstack.out): Likewise.
3472         ($(objpfx)check-localplt.out): Likewise.
3473         ($(objpfx)order2-cmp.out): Likewise.
3474         ($(objpfx)tst-leaks1-mem): Likewise.
3475         ($(objpfx)tst-leaks1-static-mem): Likewise.
3476         ($(objpfx)tst-initorder-cmp.out): Likewise.
3477         ($(objpfx)tst-initorder2-cmp.out): Likewise.
3478         ($(objpfx)tst-unused-dep.out): Likewise.
3479         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3480         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3481         * iconv/Makefile (test-iconvconfig): Likewise.
3482         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3483         ($(objpfx)iconv-test.out): Likewise.
3484         ($(objpfx)tst-tables.out): Likewise.
3485         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3486         ($(objpfx)tst-gettext.out): Likewise.
3487         ($(objpfx)tst-translit.out): Likewise.
3488         ($(objpfx)tst-gettext2.out): Likewise.
3489         ($(objpfx)tst-gettext4.out): Likewise.
3490         ($(objpfx)tst-gettext6.out): Likewise.
3491         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3492         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3493         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3494         ($(objpfx)tst-fopenloc-mem.out): Likewise.
3495         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3496         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3497         * posix/Makefile ($(objpfx)globtest.out): Likewise.
3498         ($(objpfx)wordexp-tst.out): Likewise.
3499         ($(objpfx)annexc.out): Likewise.
3500         ($(objpfx)tst-fnmatch-mem): Likewise.
3501         ($(objpfx)bug-regex2-mem): Likewise.
3502         ($(objpfx)bug-regex14-mem): Likewise.
3503         ($(objpfx)bug-regex21-mem): Likewise.
3504         ($(objpfx)bug-regex31-mem): Likewise.
3505         ($(objpfx)tst-vfork3-mem): Likewise.
3506         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3507         ($(objpfx)tst-pcre-mem): Likewise.
3508         ($(objpfx)tst-boost-mem): Likewise.
3509         ($(objpfx)tst-getconf.out): Likewise.
3510         ($(objpfx)bug-ga2-mem): Likewise.
3511         ($(objpfx)bug-glob2-mem): Likewise.
3512         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3513         ($(objpfx)mtrace-tst-leaks2): Likewise.
3514         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3515         ($(objpfx)tst-printf.out): Likewise.
3516         ($(objpfx)tst-setvbuf1.out): Likewise.
3517         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3518         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3519         ($(objpfx)tst-fmtmsg.out): Likewise.
3520         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3521         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3523         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3524         * bits/sigaction.h [__USE_MISC]: Likewise.
3525         * bits/waitstatus.h: Update #endif comments.
3526         * ctype/ctype.h: Likewise.
3527         * dirent/dirent.h: Likewise.
3528         [__USE_MISC]: Remove redundant conditionals.
3529         * grp/grp.h: Update #endif comments.
3530         [__USE_GNU]: Remove redundant conditionals.
3531         [__USE_MISC]: Likewise.
3532         * inet/netinet/in.h [__USE_GNU]: Likewise.
3533         * io/sys/stat.h [__USE_MISC]: Likewise.
3534         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3535         * libio/bits/stdio.h: Update #endif comments.
3536         [__USE_MISC]: Remove redundant conditionals.
3537         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3538         * libio/stdio.h: Update #endif comments.
3539         [__USE_MISC]: Remove redundant conditionals.
3540         * math/bits/math-finite.h [__USE_MISC]: Likewise.
3541         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3542         * math/math.h: Update #else and #endif comments.
3543         [__USE_MISC]: Remove redundant conditionals.
3544         * misc/sys/uio.h: Update #endif comments.
3545         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3546         * posix/glob.h [__USE_MISC]: Likewise.
3547         * posix/sys/types.h: Update #endif comments.
3548         [__USE_MISC]: Remove redundant conditionals.
3549         * posix/sys/wait.h: Update #endif comments.
3550         [__USE_MISC]: Remove redundant conditionals.
3551         * posix/unistd.h: Update #endif comments.
3552         [__USE_MISC]: Remove redundant conditionals.
3553         * pwd/pwd.h [__USE_GNU]: Likewise.
3554         [__USE_MISC]: Likewise.
3555         * resolv/netdb.h [__USE_GNU]: Likewise.
3556         * signal/signal.h: Update #endif comments.
3557         [__USE_MISC]: Remove redundant conditionals.
3558         * stdlib/stdlib.h: Update #else and #endif comments.
3559         [__USE_MISC]: Remove redundant conditionals.
3560         [__USE_GNU]: Likewise.
3561         * string/bits/string2.h [__USE_MISC]: Likewise.
3562         * string/string.h: Update #endif comments.
3563         [__USE_MISC]: Remove redundant conditionals.
3564         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3565         Likewise.
3566         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3567         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3568         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3569         Likewise.
3570         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3571         Likewise.
3572         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3573         comments.
3574         [__USE_MISC]: Remove redundant conditionals.
3575         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3576         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3577         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3578         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3579         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3580         Likewise.
3581         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3582         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3583         Likewise.
3584         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3585         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3586         Likewise.
3587         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3588         Likewise.
3589         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3590         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3591         Likewise.
3592         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3593         Likewise.
3594         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3595         * sysdeps/x86/bits/string.h: Update #endif comments.
3596         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3597         conditionals.
3598         * time/sys/time.h: Update #endif comments.
3599         * time/time.h: Likewise.
3600         [__USE_MISC]: Remove redundant conditionals.
3602 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
3604         [BZ #16600]
3605         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3607 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
3609         * Versions.def (librt): Add GLIBC_2.17.
3611 2014-02-21  Adam Conrad  <adconrad@0c3.net>
3613         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3614         synonym for _SYS_AUXV_H to allow direct inclusion.
3615         * sysdeps/sparc/bits/hwcap.h: Likewise.
3616         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3617         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3618         * sysdeps/sparc/sysdep.h: Likewise.
3620 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3622         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3624 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3626         * benchtests/bench-strrchr.c: Print length instead of position.
3628 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
3630         [BZ #16611]
3631         * sysdeps/unix/sysv/linux/kernel-features.h
3632         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3633         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3634         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3635         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3636         Likewise.
3637         [__i386__ || __powerpc__ || __sh__ || __sparc__]
3638         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3639         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3640         (__ASSUME_SENDMMSG): Define instead of using previous
3641         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3642         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3643         (__ASSUME_SENDMMSG_SYSCALL): Define.
3644         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3645         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3646         Likewise.
3647         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3648         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3649         Likewise.
3650         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3651         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3652         Likewise.
3653         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3654         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3655         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3656         [__ASSUME_SENDMMSG]: Change conditionals to
3657         [__ASSUME_SENDMMSG_SOCKETCALL].
3658         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3659         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3660         Define.
3661         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3662         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3663         Likewise.
3664         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3665         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3666         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3667         [!__ASSUME_SENDMMSG]: Change conditional to
3668         [!__ASSUME_SENDMMSG_SOCKETCALL].
3669         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3670         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3671         Define.
3673         [BZ #16610]
3674         * sysdeps/unix/sysv/linux/kernel-features.h
3675         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3676         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3677         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3678         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3679         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3680         [__i386__ || __sparc__]
3681         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3682         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3683         (__ASSUME_RECVMMSG): Define instead of using previous
3684         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3685         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3686         (__ASSUME_RECVMMSG_SYSCALL): Define.
3687         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3688         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3689         Likewise.
3690         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3691         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3692         Likewise.
3693         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3694         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3695         Likewise.
3696         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3697         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3698         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3699         [__ASSUME_RECVMMSG]: Change condition to
3700         [__ASSUME_RECVMMSG_SOCKETCALL].
3701         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3702         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3703         Define.
3704         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3705         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3706         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3707         Likewise.
3708         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3709         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3710         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3711         [!__ASSUME_RECVMMSG]: Change condition to
3712         [!__ASSUME_RECVMMSG_SOCKETCALL].
3713         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3714         (__ASSUME_RECVMMSG_SYSCALL): Define.
3716         [BZ #16609]
3717         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3718         __powerpc__ || __s390__ || __sh__ || __sparc__]
3719         (__ASSUME_SOCKETCALL): Define.
3720         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3721         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3722         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3723         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3724         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3725         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3726         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3727         (__ASSUME_ACCEPT4): Define instead of using previous
3728         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3729         __powerpc__ || __sparc__ || __s390__)] condition.
3730         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3731         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3732         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3733         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3734         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3735         [!__ASSUME_ACCEPT4]: Change condition to
3736         [!__ASSUME_ACCEPT4_SOCKETCALL].
3737         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3738         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
3739         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3740         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3741         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3742         __ASSUME_ACCEPT4_SYSCALL.
3743         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3744         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3745         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3746         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3747         __ASSUME_ACCEPT4_SYSCALL.
3748         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3749         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3750         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3751         [__ASSUME_ACCEPT4]: Change condition to
3752         [__ASSUME_ACCEPT4_SOCKETCALL].
3753         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3754         (__ASSUME_SOCKETCALL): Define.
3755         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3756         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3757         (__ASSUME_SOCKETCALL): Define.
3758         (__ASSUME_ACCEPT4): Remove.
3759         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3760         Define.
3761         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3762         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3763         Likewise.
3764         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3765         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3767         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3768         macro.
3769         (HWCAP_ARM_LPAE): Likewise.
3770         (HWCAP_ARM_EVTSTRM): Likewise.
3771         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3772         Add vpfd32, lpae and evtstrm.
3773         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3774         Increase to 22.
3776 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
3778         * math/auto-libm-test-in: Add tests of clog10.
3779         * math/auto-libm-test-out: Regenerated.
3780         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3781         * sysdeps/i386/fpu/libm-test-ulps: Update.
3782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3784 2014-02-18  Andreas Schwab  <schwab@suse.de>
3786         [BZ #16574]
3787         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3788         Store non-zero if the second buffer was newly allocated.
3789         (send_dg): Likewise.
3790         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3791         to send_vc and send_dg.
3792         (res_nsend): Pass NULL for ansp2_malloced.
3793         * resolv/res_query.c (__libc_res_nquery): Add parameter
3794         answerp2_malloced and pass it down to __libc_res_nsend.
3795         (res_nquery): Pass additional NULL to __libc_res_nquery.
3796         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3797         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
3798         second answer buffer if answerp2_malloced was set.
3799         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3800         (__libc_res_nquerydomain): Add parameter
3801         answerp2_malloced and pass it down to __libc_res_nquery.
3802         (res_nquerydomain): Pass additional NULL to
3803         __libc_res_nquerydomain.
3804         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3805         additional NULL to __libc_res_nsend and __libc_res_nquery.
3806         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3807         additional NULL to __libc_res_nsearch.
3808         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
3809         parameter of __libc_res_nsearch to check for separately allocated
3810         second buffer.
3811         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3812         __libc_res_nquery.
3813         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3814         additional NULL to __libc_res_nquery.
3815         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3816         __libc_res_nsearch.
3817         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3818         * include/resolv.h: Update prototypes of __libc_res_nquery,
3819         __libc_res_nsearch, __libc_res_nsend.
3821 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
3823         * math/auto-libm-test-in: Add tests of fma.
3824         * math/auto-libm-test-out: Regenerated.
3825         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3826         (fma_towardzero_test_data): Likewise.
3827         (fma_downward_test_data): Likewise.
3828         (fma_upward_test_data): Likewise.
3829         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3830         mpc_mode.
3831         (rounding_modes): Add values for new field.
3832         (func_calc_method): Add value mpfr_fff_f.
3833         (func_calc_desc): Add mpfr_fff_f union field.
3834         (test_function): Add field exact_args.
3835         (FUNC): Add macro argument EXACT_ARGS.
3836         (FUNC_mpfr_f_f): Update call to FUNC.
3837         (FUNC_mpfr_f_f): Likewise.
3838         (FUNC_mpfr_ff_f): Likewise.
3839         (FUNC_mpfr_if_f): Likewise.
3840         (FUNC_mpc_c_f): Likewise.
3841         (FUNC_mpc_c_c): Likewise.
3842         (test_functions): Add fma.  Update calls to FUNC.
3843         (handle_input_arg): Add argument exact_args.
3844         (add_test): Update call to handle_input_arg.
3845         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
3846         (output_for_one_input_case): Update call to calc_generic_results.
3847         Recalculate exact zero results in each rounding mode.
3849         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3850         non-negative before setting low bit.
3851         * math/auto-libm-test-in: Mark one asin test possibly having
3852         spurious underflow.
3853         * math/auto-libm-test-out: Regenerated.
3854         * sysdeps/i386/fpu/libm-test-ulps: Update.
3855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3857 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
3859         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3860         * sysdeps/unix/sysv/linux/microblaze: Move directory from
3861         ports/sysdeps/unix/sysv/linux/microblaze.
3862         * README: Add missing listing for microblaze*-*-linux-gnu.
3864 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
3866         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3867         * sysdeps/unix/sysv/linux/ia64: Move directory from
3868         ports/sysdeps/unix/sysv/linux/ia64.
3869         * README: Update listing for ia64-*-linux-gnu.
3871 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
3872             Joseph Myers  <joseph@codesourcery.com>
3874         * Makeconfig (test-name): New variable.
3875         (evaluate-test): Likewise.
3876         * Makerules (do-test-clean): Remove .test-result files.
3877         (common-mostlyclean): Likewise.
3878         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3879         * scripts/evaluate-test.sh: New file.
3881 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
3883         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3884         separate $(objpfx)tst-fopenloc-cmp.out and
3885         $(objpfx)tst-fopenloc-mem.out targets.
3886         (tests): Update dependencies.
3887         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3888         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3889         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3890         (tst-rxspencer-no-utf8-ARGS): New variable.
3891         (tst-rxspencer-no-utf8-ENV): Likewise.
3892         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3893         instead of $(objpfx)tst-rxspencer-mem.
3894         ($(objpfx)tst-rxspencer-mem): Change target to
3895         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
3896         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3897         * posix/tst-rxspencer-no-utf8.c: New file.
3899         * elf/Makefile ($(objpfx)order.out): Remove rule.
3900         [$(run-built-tests) = yes] (tests): Depend on
3901         $(objpfx)order-cmp.out.
3902         ($(objpfx)order-cmp.out): New rule.
3903         [$(run-built-tests) = yes] (tests): Depend on
3904         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3905         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3906         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3907         $(objpfx)tst-array5-static-cmp.out.
3908         ($(objpfx)tst-array1.out): Remove rule.
3909         ($(objpfx)tst-array1-cmp.out): New rule.
3910         ($(objpfx)tst-array1-static.out): Remove rule.
3911         ($(objpfx)tst-array1-static-cmp.out): New rule.
3912         ($(objpfx)tst-array2.out): Remove rule.
3913         ($(objpfx)tst-array2-cmp.out): New rule.
3914         ($(objpfx)tst-array3.out): Remove rule.
3915         ($(objpfx)tst-array3-cmp.out): New rule.
3916         ($(objpfx)tst-array4.out): Remove rule.
3917         ($(objpfx)tst-array4-cmp.out): New rule.
3918         ($(objpfx)tst-array5.out): Remove rule.
3919         ($(objpfx)tst-array5-cmp.out): New rule.
3920         ($(objpfx)tst-array5-static.out): Remove rule.
3921         ($(objpfx)tst-array5-static-cmp.out): New rule.
3922         [$(run-built-tests) = yes] (tests): Depend on
3923         $(objpfx)order2-cmp.out.
3924         ($(objpfx)order2.out): Remove rule.
3925         ($(objpfx)order2-cmp.out): New rule.
3926         ($(objpfx)tst-initorder.out): Remove rule.
3927         [$(run-built-tests) = yes] (tests): Depend on
3928         $(objpfx)tst-initorder-cmp.out.
3929         ($(objpfx)tst-initorder-cmp.out): New rule.
3930         ($(objpfx)tst-initorder2.out): Remove rule.
3931         [$(run-built-tests) = yes] (tests): Depend on
3932         $(objpfx)tst-initorder2-cmp.out.
3933         ($(objpfx)tst-initorder2-cmp.out): New rule.
3934         [$(run-built-tests) = yes] (tests): Depend on
3935         $(objpfx)tst-unused-dep-cmp.out.
3936         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3937         ($(objpfx)tst-unused-dep-cmp.out): New rule.
3938         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3939         on $(objpfx)tst-setvbuf1-cmp.out.
3940         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3941         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3942         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3943         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3944         ($(objpfx)tst-svc.out): Remove rule.
3945         ($(objpfx)tst-svc-cmp.out): New rule.
3947 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
3949         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3950         * ctype/ctype.h [__USE_MISC]: Likewise.
3951         * dirent/dirent.h [__USE_MISC]: Likewise.
3952         * grp/grp.h [__USE_MISC]: Likewise.
3953         * io/fcntl.h [__USE_MISC]: Likewise.
3954         * io/sys/stat.h [__USE_MISC]: Likewise.
3955         * libio/stdio.h [__USE_MISC]: Likewise.
3956         * posix/unistd.h [__USE_MISC]: Likewise.
3957         * pwd/pwd.h [__USE_MISC]: Likewise.
3958         * stdlib.h [__USE_MISC]: Likewise.
3959         * string/bits/string2.h [__USE_MISC]: Likewise.
3960         * string/string.h [__USE_MISC]: Likewise.
3961         * time/time.h [__USE_MISC]: Likewise.
3963 2014-02-13  Andreas Schwab  <schwab@suse.de>
3965         [BZ #16574]
3966         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3967         second answer buffer if it was separately allocated.
3969 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3971         * sysdeps/mips/math-tests.h: Include <features.h>.
3972         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3973         (ROUNDING_TESTS_long_double): Do not define.
3974         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3975         (EXCEPTION_TESTS_long_double): Likewise.
3976         * sysdeps/mips/mips64/libm-test-ulps: Update.
3978         * include/features.h (__USE_BSD): Remove macro definitions.
3979         (__USE_SVID): Likewise.
3980         (_BSD_SOURCE): Likewise.
3981         (_SVID_SOURCE): Likewise.
3982         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3983         from definition of _DEFAULT_SOURCE.
3984         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3985         [_DEFAULT_SOURCE].
3986         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3987         * bits/mman.h [__USE_BSD]: Likewise.
3988         * bits/termios.h [__USE_BSD]: Likewise.
3989         * bits/waitstatus.h [__USE_BSD]: Likewise.
3990         * ctype/ctype.h [__USE_SVID]: Likewise.
3991         * dirent/dirent.h [__USE_BSD]: Likewise.
3992         * grp/grp.h [__USE_SVID]: Likewise.
3993         [__USE_BSD]: Likewise.
3994         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3995         * io/fcntl.h [__USE_BSD]: Likewise.
3996         * io/ftw.h [__USE_BSD]: Likewise.
3997         * io/sys/stat.h [__USE_BSD]: Likewise.
3998         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3999         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4000         * libio/stdio.h [__USE_SVID]: Likewise.
4001         [__USE_BSD]: Likewise.
4002         * math/math.h [__USE_SVID]: Likewise.
4003         [__USE_BSD]: Likewise.
4004         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4005         * misc/bits/syslog.h [__USE_BSD]: Likewise.
4006         * misc/search.h [__USE_SVID]: Likewise.
4007         * misc/sys/mman.h [__USE_BSD]: Likewise.
4008         * misc/sys/syslog.h [__USE_BSD]: Likewise.
4009         * misc/sys/uio.h [__USE_BSD]: Likewise.
4010         * posix/bits/unistd.h [__USE_BSD]: Likewise.
4011         * posix/glob.h [__USE_BSD]: Likewise.
4012         * posix/regex.h [__USE_BSD]: Likewise.
4013         * posix/sys/types.h [__USE_BSD]: Likewise.
4014         [__USE_SVID]: Likewise.
4015         * posix/sys/utsname.h [__USE_SVID]: Likewise.
4016         * posix/sys/wait.h [__USE_BSD]: Likewise.
4017         [__USE_SVID]: Likewise.
4018         * posix/unistd.h [__USE_BSD]: Likewise.
4019         [__USE_SVID]: Likewise.
4020         * pwd/pwd.h [__USE_SVID]: Likewise.
4021         * resolv/netdb.h [__USE_BSD]: Likewise.
4022         * setjmp/setjmp.h [__USE_BSD]: Likewise.
4023         * signal/signal.h [__USE_BSD]: Likewise.
4024         [__USE_SVID]: Likewise.
4025         * socket/sys/socket.h [__USE_BSD]: Likewise.
4026         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4027         * stdlib/stdlib.h [__USE_BSD]: Likewise.
4028         [__USE_SVID]: Likewise.
4029         * string/bits/string2.h [__USE_BSD]: Likewise.
4030         [__USE_SVID]: Likewise.
4031         * string/bits/string3.h [__USE_BSD]: Likewise.
4032         * string/endian.h [__USE_BSD]: Likewise.
4033         * string/string.h [__USE_SVID]: Likewise.
4034         [__USE_BSD]: Likewise.
4035         * string/strings.h [__USE_BSD]: Likewise.
4036         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4037         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4038         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4039         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4040         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4041         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4042         Likewise.
4043         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4044         Likewise.
4045         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4046         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4047         Likewise.
4048         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4049         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4050         Likewise.
4051         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4052         Likewise.
4053         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4054         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4055         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4056         Likewise.
4057         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4058         Likewise.
4059         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4060         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4061         * termios/termios.h [__USE_BSD]: Likewise.
4062         * time/sys/time.h [__USE_BSD]: Likewise.
4063         * time/time.h [__USE_BSD]: Likewise.
4064         [__USE_SVID]: Likewise.
4066         * Makefile (subdir_targets): Remove subdir_lint.out.
4068         * stdio-common/Makefile (do-tst-unbputc): Remove target.
4069         (do-tst-printf): Likewise.
4070         (tests): Depend directly on $(objpfx)tst-unbputc.out and
4071         $(objpfx)tst-printf.out.
4073         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4075         * Makerules (check-abi-%): Change target to
4076         $(objpfx)check-abi-%.out.
4077         (check-abi target): Update dependencies.
4078         (check-abi-pattern variable): Redirect output of diff to $@.
4079         (check-abi variable): Likewise.
4080         * elf/Makefile (check-abi): Update dependencies.
4082         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4083         unused.
4084         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4085         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4086         subnormal range.
4087         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4088         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4089         value has largest subnormal exponent.
4090         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4091         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4092         * sysdeps/aarch64/soft-fp/sfp-machine.h
4093         (_FP_TININESS_AFTER_ROUNDING): New macro.
4094         * sysdeps/alpha/soft-fp/sfp-machine.h
4095         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4096         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4097         Likewise.
4098         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4099         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4100         * sysdeps/mips/soft-fp/sfp-machine.h
4101         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4102         * sysdeps/powerpc/soft-fp/sfp-machine.h
4103         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4104         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4105         Likewise.
4106         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4107         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4108         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4109         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4110         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4111         Likewise.
4113 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
4115         [BZ #16545]
4116         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4117         model 1.
4119 2014-02-12  Richard Henderson  <rth@redhat.com>
4121         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4122         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4123         * sysdeps/unix/sysv/linux/alpha: Move directory from
4124         ports/sysdeps/unix/sysv/linux/alpha.
4125         * README: Update listing for alpha-*-linux-gnu.
4127 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
4129         * include/features.h: Update comment documenting feature test
4130         macros.
4131         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
4132         _DEFAULT_SOURCE.
4133         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4134         (_SVID_SOURCE): Likewise.
4135         (_DEFAULT_SOURCE): Update description of default features.
4136         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4137         with _GNU_SOURCE.
4138         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4139         (S_ISVTX): Likewise.
4140         * manual/math.texi (Mathematical Constants): Likewise.
4141         * manual/signal.texi (Interrupted Primitives): Likewise.
4142         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4143         * math/test-matherr.c (_SVID_SOURCE): Do not define.
4144         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4145         Don't refer to _SVID_SOURCE in warning text.
4147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4149         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4150         already defined.
4151         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4152         * sysdeps/mips/dl-lookup.c: Remove.
4153         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4155 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4157         [BZ #16447]
4158         * math/auto-libm-test-in: Add testcase for expl.
4159         * math/auto-libm-test-out: Regenerate.
4160         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4161         calculation of unsafe.
4162         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4164 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4166         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4167         * sysdeps/unix/sysv/linux/aarch64: Move directory from
4168         ports/sysdeps/unix/sysv/linux/aarch64.
4169         * README: Update listing for aarch64*-*-linux-gnu.
4171 2014-02-11  Will Newton  <will.newton@linaro.org>
4173         * manual/probes.texi (Mathematical Function Probes): Use
4174         "triggered" instead of "hit".
4176         * manual/probes.texi (Internal Probes): Add documentation
4177         of setjmp, longjmp and longjmp_target probes.
4179         * include/stap-probe.h: Add comment about probe argument
4180         format.
4182         * malloc/mtrace.c (attribute_hidden): Remove unused macro
4183         definition.  (tr_where, tr_freehook, tr_mallochook,
4184         tr_reallochook, tr_memalignhook): Use ANSI protoype.
4186 2014-02-11  David S. Miller  <davem@davemloft.net>
4188         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4189         processing int_tests.
4191 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
4193         * sysdeps/mips: Move directory from ports/sysdeps/mips.
4194         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4195         * sysdeps/unix/sysv/linux/mips: Move directory from
4196         ports/sysdeps/unix/sysv/linux/mips.
4197         * README: Update listing for mips-*-linux-gnu and
4198         mips64-*-linux-gnu.
4200 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
4202         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4203         * sysdeps/unix/sysv/linux/m68k: Move directory from
4204         ports/sysdeps/unix/sysv/linux/m68k.
4205         * README: Update listing for m68k-*-linux-gnu.
4207 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
4209         * sysdeps/tile: Move directory from ports/sysdeps/tile.
4210         * sysdeps/unix/sysv/linux/generic: Move directory from
4211         ports/sysdeps/unix/sysv/linux/generic.
4212         * sysdeps/unix/sysv/linux/tile: Move directory from
4213         ports/sysdeps/unix/sysv/linux/tile.
4214         * README: Update listing for tile*-*-linux-gnu.
4216 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4218         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4219         __builtin_expect.
4220         * benchtests/bench-memmem.c (simple_memmem): Likewise.
4221         * catgets/open_catalog.c (__open_catalog): Likewise.
4222         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4223         * debug/confstr_chk.c: Likewise.
4224         * debug/fread_chk.c (__fread_chk): Likewise.
4225         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4226         * debug/getgroups_chk.c: Likewise.
4227         * debug/mbsnrtowcs_chk.c: Likewise.
4228         * debug/mbsrtowcs_chk.c: Likewise.
4229         * debug/mbstowcs_chk.c: Likewise.
4230         * debug/memcpy_chk.c: Likewise.
4231         * debug/memmove_chk.c: Likewise.
4232         * debug/mempcpy_chk.c: Likewise.
4233         * debug/memset_chk.c: Likewise.
4234         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4235         * debug/strcat_chk.c (__strcat_chk): Likewise.
4236         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4237         * debug/strncat_chk.c (__strncat_chk): Likewise.
4238         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4239         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4240         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4241         * debug/wcpncpy_chk.c: Likewise.
4242         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4243         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4244         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4245         * debug/wcsncpy_chk.c: Likewise.
4246         * debug/wcsnrtombs_chk.c: Likewise.
4247         * debug/wcsrtombs_chk.c: Likewise.
4248         * debug/wcstombs_chk.c: Likewise.
4249         * debug/wmemcpy_chk.c: Likewise.
4250         * debug/wmemmove_chk.c: Likewise.
4251         * debug/wmempcpy_chk.c: Likewise.
4252         * debug/wmemset_chk.c: Likewise.
4253         * dirent/scandirat.c (SCANDIRAT): Likewise.
4254         * dlfcn/dladdr1.c (dladdr1): Likewise.
4255         * dlfcn/dladdr.c (dladdr): Likewise.
4256         * dlfcn/dlclose.c (dlclose_doit): Likewise.
4257         * dlfcn/dlerror.c (__dlerror): Likewise.
4258         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4259         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4260         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4261         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4262         * dlfcn/dlsym.c (dlsym_doit): Likewise.
4263         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4264         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4265         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4266         Likewise.
4267         * elf/dl-conflict.c: Likewise.
4268         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4269         * elf/dl-dst.h: Likewise.
4270         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4271         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4272         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4273         * elf/dl-init.c (call_init, _dl_init): Likewise.
4274         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4275         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4276         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4277         Likewise.
4278         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4279         Likewise.
4280         * elf/dl-minimal.c (__libc_memalign): Likewise.
4281         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4282         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4283         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4284         * elf/dl-sym.c (do_sym): Likewise.
4285         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4286         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4287         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4288         * elf/dl-writev.h (_dl_writev): Likewise.
4289         * elf/ldconfig.c (search_dir): Likewise.
4290         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4291         (dl_main): Likewise.
4292         * elf/setup-vdso.h (setup_vdso): Likewise.
4293         * grp/compat-initgroups.c (compat_call): Likewise.
4294         * grp/fgetgrent.c (fgetgrent): Likewise.
4295         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4296         * grp/putgrent.c (putgrent): Likewise.
4297         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4298         Likewise.
4299         * hurd/hurdinit.c: Likewise.
4300         * iconvdata/8bit-gap.c (struct): Likewise.
4301         * iconvdata/ansi_x3.110.c : Likewise.
4302         * iconvdata/big5.c : Likewise.
4303         * iconvdata/big5hkscs.c : Likewise.
4304         * iconvdata/cp1255.c: Likewise.
4305         * iconvdata/cp1258.c : Likewise.
4306         * iconvdata/cp932.c : Likewise.
4307         * iconvdata/euc-cn.c: Likewise.
4308         * iconvdata/euc-jisx0213.c : Likewise.
4309         * iconvdata/euc-jp.c: Likewise.
4310         * iconvdata/euc-jp-ms.c : Likewise.
4311         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4312         * iconvdata/gb18030.c : Likewise.
4313         * iconvdata/gbbig5.c (const): Likewise.
4314         * iconvdata/gbgbk.c: Likewise.
4315         * iconvdata/gbk.c : Likewise.
4316         * iconvdata/ibm1364.c : Likewise.
4317         * iconvdata/ibm930.c : Likewise.
4318         * iconvdata/ibm932.c: Likewise.
4319         * iconvdata/ibm933.c : Likewise.
4320         * iconvdata/ibm935.c : Likewise.
4321         * iconvdata/ibm937.c : Likewise.
4322         * iconvdata/ibm939.c : Likewise.
4323         * iconvdata/ibm943.c: Likewise.
4324         * iconvdata/iso_11548-1.c: Likewise.
4325         * iconvdata/iso-2022-cn.c : Likewise.
4326         * iconvdata/iso-2022-cn-ext.c : Likewise.
4327         * iconvdata/iso-2022-jp-3.c: Likewise.
4328         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4329         * iconvdata/iso-2022-kr.c : Likewise.
4330         * iconvdata/iso646.c (gconv_end): Likewise.
4331         * iconvdata/iso_6937-2.c : Likewise.
4332         * iconvdata/iso_6937.c : Likewise.
4333         * iconvdata/iso8859-1.c: Likewise.
4334         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4335         * iconvdata/shift_jisx0213.c : Likewise.
4336         * iconvdata/sjis.c : Likewise.
4337         * iconvdata/t.61.c : Likewise.
4338         * iconvdata/tcvn5712-1.c : Likewise.
4339         * iconvdata/tscii.c: Likewise.
4340         * iconvdata/uhc.c : Likewise.
4341         * iconvdata/unicode.c (gconv_end): Likewise.
4342         * iconvdata/utf-16.c (gconv_end): Likewise.
4343         * iconvdata/utf-32.c (gconv_end): Likewise.
4344         * iconvdata/utf-7.c (base64): Likewise.
4345         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4346         * iconv/gconv_close.c (__gconv_close): Likewise.
4347         * iconv/gconv_open.c (__gconv_open): Likewise.
4348         * iconv/gconv_simple.c (internal_ucs4_loop_single)
4349         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4350         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4351         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4352         (ucs4le_internal_loop_single): Likewise.
4353         * iconv/iconv.c (iconv): Likewise.
4354         * iconv/iconv_close.c: Likewise.
4355         * iconv/loop.c (SINGLE): Likewise.
4356         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4357         * include/atomic.h: Likewise.
4358         * inet/inet6_option.c (option_alloc): Likewise.
4359         * intl/bindtextdom.c (set_binding_values): Likewise.
4360         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4361         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4362         * intl/localealias.c (read_alias_file): Likewise.
4363         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4364         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4365         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4366         * libio/fmemopen.c (fmemopen): Likewise.
4367         * libio/iofgets.c (_IO_fgets): Likewise.
4368         * libio/iofgets_u.c (fgets_unlocked): Likewise.
4369         * libio/iofgetws.c (fgetws): Likewise.
4370         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4371         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4372         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4373         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4374         * locale/findlocale.c (_nl_find_locale): Likewise.
4375         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4376         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4377         Likewise.
4378         * locale/setlocale.c (setlocale): Likewise.
4379         * login/programs/pt_chown.c (main): Likewise.
4380         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4381         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4382         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4383         (mmap, mmap64, mremap, munmap): Likewise.
4384         * math/e_exp2l.c: Likewise.
4385         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4386         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4387         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4388         * math/s_catan.c (__catan): Likewise.
4389         * math/s_catanf.c (__catanf): Likewise.
4390         * math/s_catanh.c (__catanh): Likewise.
4391         * math/s_catanhf.c (__catanhf): Likewise.
4392         * math/s_catanhl.c (__catanhl): Likewise.
4393         * math/s_catanl.c (__catanl): Likewise.
4394         * math/s_ccosh.c (__ccosh): Likewise.
4395         * math/s_ccoshf.c (__ccoshf): Likewise.
4396         * math/s_ccoshl.c (__ccoshl): Likewise.
4397         * math/s_cexp.c (__cexp): Likewise.
4398         * math/s_cexpf.c (__cexpf): Likewise.
4399         * math/s_cexpl.c (__cexpl): Likewise.
4400         * math/s_clog10.c (__clog10): Likewise.
4401         * math/s_clog10f.c (__clog10f): Likewise.
4402         * math/s_clog10l.c (__clog10l): Likewise.
4403         * math/s_clog.c (__clog): Likewise.
4404         * math/s_clogf.c (__clogf): Likewise.
4405         * math/s_clogl.c (__clogl): Likewise.
4406         * math/s_csin.c (__csin): Likewise.
4407         * math/s_csinf.c (__csinf): Likewise.
4408         * math/s_csinh.c (__csinh): Likewise.
4409         * math/s_csinhf.c (__csinhf): Likewise.
4410         * math/s_csinhl.c (__csinhl): Likewise.
4411         * math/s_csinl.c (__csinl): Likewise.
4412         * math/s_csqrt.c (__csqrt): Likewise.
4413         * math/s_csqrtf.c (__csqrtf): Likewise.
4414         * math/s_csqrtl.c (__csqrtl): Likewise.
4415         * math/s_ctan.c (__ctan): Likewise.
4416         * math/s_ctanf.c (__ctanf): Likewise.
4417         * math/s_ctanh.c (__ctanh): Likewise.
4418         * math/s_ctanhf.c (__ctanhf): Likewise.
4419         * math/s_ctanhl.c (__ctanhl): Likewise.
4420         * math/s_ctanl.c (__ctanl): Likewise.
4421         * math/w_pow.c: Likewise.
4422         * math/w_powf.c: Likewise.
4423         * math/w_powl.c: Likewise.
4424         * math/w_scalb.c (sysv_scalb): Likewise.
4425         * math/w_scalbf.c (sysv_scalbf): Likewise.
4426         * math/w_scalbl.c (sysv_scalbl): Likewise.
4427         * misc/error.c (error_tail): Likewise.
4428         * misc/pselect.c (__pselect): Likewise.
4429         * nis/nis_callback.c (__nis_create_callback): Likewise.
4430         * nis/nis_call.c (__nisfind_server): Likewise.
4431         * nis/nis_creategroup.c (nis_creategroup): Likewise.
4432         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4433         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4434         * nis/nis_getservlist.c (nis_getservlist): Likewise.
4435         * nis/nis_lookup.c (nis_lookup): Likewise.
4436         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4437         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4438         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4439         * nis/nis_xdr.c (xdr_endpoint): Likewise.
4440         * nis/nss_compat/compat-grp.c (getgrent_next_file)
4441         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4442         * nis/nss_compat/compat-initgroups.c (add_group)
4443         (internal_getgrent_r): Likewise.
4444         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4445         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4446         * nis/nss_compat/compat-spwd.c (getspent_next_file)
4447         (internal_getspnam_r): Likewise.
4448         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4449         (_nss_nis_getaliasbyname_r): Likewise.
4450         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4451         (_nss_nis_getntohost_r): Likewise.
4452         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4453         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4454         (_nss_nis_getgrgid_r): Likewise.
4455         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4456         (internal_nis_gethostent_r, internal_gethostbyname2_r)
4457         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4458         (_nss_nis_gethostbyname4_r): Likewise.
4459         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4460         (initgroups_netid): Likewise.
4461         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4462         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4463         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4464         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4465         (_nss_nis_getprotobynumber_r): Likewise.
4466         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4467         (_nss_nis_getsecretkey): Likewise.
4468         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4469         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4470         (_nss_nis_getpwuid_r): Likewise.
4471         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4472         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4473         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4474         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4475         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4476         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4477         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4478         Likewise.
4479         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4480         (_nss_nisplus_getntohost_r): Likewise.
4481         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4482         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4483         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4484         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4485         Likewise.
4486         * nis/nss_nisplus/nisplus-initgroups.c
4487         (_nss_nisplus_initgroups_dyn): Likewise.
4488         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4489         (_nss_nisplus_getnetbyaddr_r): Likewise.
4490         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4491         (_nss_nisplus_getprotobynumber_r): Likewise.
4492         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4493         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4494         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4495         Likewise.
4496         * nis/nss_nisplus/nisplus-service.c
4497         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4498         (_nss_nisplus_getservbyport_r): Likewise.
4499         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4500         (_nss_nisplus_getspnam_r): Likewise.
4501         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4502         Likewise.
4503         * nscd/aicache.c (addhstaiX): Likewise.
4504         * nscd/cache.c (cache_search, prune_cache): Likewise.
4505         * nscd/connections.c (register_traced_file, send_ro_fd)
4506         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4507         (main_loop_epoll): Likewise.
4508         * nscd/grpcache.c (addgrbyX): Likewise.
4509         * nscd/hstcache.c (addhstbyX): Likewise.
4510         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4511         * nscd/mem.c (gc, mempool_alloc): Likewise.
4512         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4513         (addinnetgrX): Likewise.
4514         * nscd/nscd-client.h (__nscd_acquire_maplock)
4515         (__nscd_drop_map_ref): Likewise.
4516         * nscd/nscd_getai.c (__nscd_getai): Likewise.
4517         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4518         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4519         Likewise.
4520         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4521         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4522         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4523         (__nscd_get_map_ref): Likewise.
4524         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4525         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4526         Likewise.
4527         * nscd/pwdcache.c (addpwbyX): Likewise.
4528         * nscd/selinux.c (preserve_capabilities): Likewise.
4529         * nscd/servicescache.c (addservbyX): Likewise.
4530         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4531         * posix/fnmatch.c (fnmatch): Likewise.
4532         * posix/getopt.c (_getopt_internal_r): Likewise.
4533         * posix/glob.c (glob, glob_in_dir): Likewise.
4534         * posix/wordexp.c (exec_comm_child): Likewise.
4535         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4536         (getanswer_r, gaih_getanswer_slice): Likewise.
4537         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4538         * resolv/res_init.c: Likewise.
4539         * resolv/res_mkquery.c (res_nmkquery): Likewise.
4540         * resolv/res_query.c (__libc_res_nquery): Likewise.
4541         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4542         Likewise.
4543         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4544         * stdio-common/perror.c (perror): Likewise.
4545         * stdio-common/printf_fp.c (___printf_fp): Likewise.
4546         * stdio-common/tmpnam.c (tmpnam): Likewise.
4547         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4548         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4549         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4550         Likewise.
4551         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4552         * stdlib/putenv.c (putenv): Likewise.
4553         * stdlib/setenv.c (__add_to_environ): Likewise.
4554         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4555         * stdlib/strtol_l.c (INTERNAL): Likewise.
4556         * string/memmem.c (memmem): Likewise.
4557         * string/strerror.c (strerror): Likewise.
4558         * string/strnlen.c (__strnlen): Likewise.
4559         * string/test-memmem.c (simple_memmem): Likewise.
4560         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4561         * sunrpc/pm_getport.c (__get_socket): Likewise.
4562         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4563         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4564         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4565         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4566         Likewise.
4567         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4568         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4569         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4570         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4571         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4572         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4573         Likewise.
4574         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4575         Likewise.
4576         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4577         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4578         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4579         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4580         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4582         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4583         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4584         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4585         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4586         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4587         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4588         Likewise.
4589         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4590         Likewise.
4591         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4592         Likewise.
4593         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4594         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4595         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4596         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4597         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4598         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4599         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4600         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4602         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4603         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4604         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4605         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4606         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4608         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4609         Likewise.
4610         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4611         Likewise.
4612         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4613         Likewise.
4614         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4615         Likewise.
4616         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4617         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4618         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4619         Likewise.
4620         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4621         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4622         * sysdeps/posix/opendir.c (__opendirat): Likewise.
4623         * sysdeps/posix/sleep.c: Likewise.
4624         * sysdeps/posix/tempname.c: Likewise.
4625         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4626         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4627         Likewise.
4628         * sysdeps/powerpc/powerpc32/dl-machine.h
4629         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4630         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4632         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4633         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4634         Likewise.
4635         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4636         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4637         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4638         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4639         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4640         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4641         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4642         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4643         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4644         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4645         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4646         (elf_machine_lazy_rel): Likewise.
4647         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4648         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4649         (elf_machine_lazy_rel): Likewise.
4650         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4651         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4652         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4653         * sysdeps/unix/grantpt.c (grantpt): Likewise.
4654         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4655         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4656         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4658         Likewise.
4659         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4660         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4661         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4662         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4663         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4664         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4665         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4666         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4667         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4668         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4669         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4670         Likewise.
4671         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4672         (__posix_fallocate64_l64): Likewise.
4673         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4674         (posix_fallocate): Likewise.
4675         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4676         Likewise.
4677         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4678         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4679         (getifaddrs_internal): Likewise.
4680         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4681         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4682         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4683         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4684         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4685         (__posix_fallocate64_l64): Likewise.
4686         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4687         Likewise.
4688         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4689         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4690         (__get_clockfreq): Likewise.
4691         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4692         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4693         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4695         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4696         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4697         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4698         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4699         Likewise.
4700         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4701         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4702         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4703         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4704         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4705         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4706         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4707         Likewise.
4708         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4709         (posix_fallocate): Likewise.
4710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4711         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4712         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4713         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4714         (elf_machine_rela, elf_machine_rela_relative)
4715         (elf_machine_lazy_rel): Likewise.
4716         * time/asctime.c (asctime_internal): Likewise.
4717         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4718         * time/tzset.c (__tzset_parse_tz): Likewise.
4719         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4720         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4721         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4722         * wcsmbs/wcsmbsload.h: Likewise.
4724         [BZ #15894]
4725         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4727         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4728         (arena_get2): Remove THREAD_STATS conditionals.
4729         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4730         (__malloc_stats, int): Likewise.
4732 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4734         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4735         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
4737         * manual/setjmp.texi: Fix typos/grammar errors.
4739         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4740         Only return early when n is <= 0.  Delete unused return statement.
4742         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4743         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4744         * debug/tst-longjmp_chk3.c: New file.
4746         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4747         (test_main): Replace code with set_fortify_handler call.
4748         * debug/test-strcpy_chk.c: Likewise.
4749         * debug/tst-chk1.c: Likewise.
4750         * debug/tst-longjmp_chk.c: Likewise.
4751         * test-skeleton.c: Include fcntl.h & paths.h
4752         (set_fortify_handler): Define.
4754         * debug/tst-longjmp_chk.c: Add header comment and include
4755         ../test-skeleton.c.
4756         (do_test): Mark static.
4757         (TEST_FUNCTION): Define.
4759         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4760         (IP_PMTUDISC_INTERFACE): Likewise.
4761         (IP_MULTICAST_IF): Likewise.
4762         (IP_MULTICAST_TTL): Likewise.
4763         (IP_MULTICAST_LOOP): Likewise.
4764         (IP_ADD_MEMBERSHIP): Likewise.
4765         (IP_DROP_MEMBERSHIP): Likewise.
4766         (IP_UNBLOCK_SOURCE): Likewise.
4767         (IP_BLOCK_SOURCE): Likewise.
4768         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4769         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4770         (IP_MSFILTER): Likewise.
4771         (MCAST_JOIN_GROUP): Likewise.
4772         (MCAST_BLOCK_SOURCE): Likewise.
4773         (MCAST_UNBLOCK_SOURCE): Likewise.
4774         (MCAST_LEAVE_GROUP): Likewise.
4775         (MCAST_JOIN_SOURCE_GROUP): Likewise.
4776         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4777         (MCAST_MSFILTER): Likewise.
4778         (IP_MULTICAST_ALL): Likewise.
4779         (IP_UNICAST_IF): Likewise.
4781         * timezone/Makefile: Delete $(have-ksh) check.
4782         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4783         * timezone/tzselect.ksh: Add +x mode bits.
4785         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4786         (ANON_INODE_FS_MAGIC): Likewise.
4787         (BDEVFS_MAGIC): Likewise.
4788         (BINFMTFS_MAGIC): Likewise.
4789         (BTRFS_TEST_MAGIC): Likewise.
4790         (CRAMFS_MAGIC_WEND): Likewise.
4791         (DEBUGFS_MAGIC): Likewise.
4792         (ECRYPTFS_SUPER_MAGIC): Likewise.
4793         (EXT3_SUPER_MAGIC): Likewise.
4794         (EXT4_SUPER_MAGIC): Likewise.
4795         (FUTEXFS_SUPER_MAGIC): Likewise.
4796         (HOSTFS_SUPER_MAGIC): Likewise.
4797         (HUGETLBFS_MAGIC): Likewise.
4798         (MINIX3_SUPER_MAGIC): Likewise.
4799         (MTD_INODE_FS_MAGIC): Likewise.
4800         (NILFS_SUPER_MAGIC): Likewise.
4801         (OPENPROM_SUPER_MAGIC): Likewise.
4802         (PIPEFS_MAGIC): Likewise.
4803         (PSTOREFS_MAGIC): Likewise.
4804         (QNX6_SUPER_MAGIC): Likewise.
4805         (RAMFS_MAGIC): Likewise.
4806         (REISERFS_SUPER_MAGIC_STRING): Likewise.
4807         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4808         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4809         (SECURITYFS_MAGIC): Likewise.
4810         (SELINUX_MAGIC): Likewise.
4811         (SMACK_MAGIC): Likewise.
4812         (SOCKFS_MAGIC): Likewise.
4813         (SQUASHFS_MAGIC): Likewise.
4814         (STACK_END_MAGIC): Likewise.
4815         (TMPFS_MAGIC): Likewise.
4816         (USBDEVICE_SUPER_MAGIC): Likewise.
4817         (V9FS_MAGIC): Likewise.
4818         (XENFS_SUPER_MAGIC): Likewise.
4819         (CRAMFS_MAGIC): Fix typo in comment.
4820         (EXT2_SUPER_MAGIC): Update comment.
4821         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4823 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
4825         * sysdeps/arm: Move directory from ports/sysdeps/arm.
4826         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4827         * sysdeps/unix/sysv/linux/arm: Move directory from
4828         ports/sysdeps/unix/sysv/linux/arm.
4829         * README: Update listing for arm-*-linux-gnueabi.
4831         * README: Remove mention of am33.
4833 2014-02-07  Roland McGrath  <roland@hack.frob.com>
4835         * bits/sigset.h (__sigemptyset): Use a statement expression rather
4836         than the comma operator, to avoid "rhs of comma has no effect"
4837         compiler warnings.
4838         (__sigfillset, __sigandset, __sigorset): Likewise.
4839         * include/signal.h (__sigemptyset): Likewise.
4840         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4842 2014-02-07  Allan McRae  <allan@archlinux.org>
4844         * version.h (RELEASE): Set to "development".
4845         (VERSION): Set to "2.19.90"
4846         * NEWS: Add 2.20 section.
4848 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
4850         [BZ #16529]
4851         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4853 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4855         * manual/contrib.texi: Update entry for Carlos O'Donell,
4856         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4858 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
4860         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4862         * sysdeps/unix/sysv/linux/kernel-features.h
4863         [__LINUX_KERNEL_VERSION >= 0x020621]
4864         (__ASSUME_PROC_PID_TASK_COMM): Define.
4866 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4868         [BZ #16398]
4869         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4870         conversion when destination buffer does not have enough space.
4871         * libio/tst-ftell-partial-wide.c: New test case.
4872         * libio/Makefile (tests): Add tst-ftell-partial-wide.
4874         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4875         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
4876         Leonard and Allan McRae.
4878 2014-02-04  David S. Miller  <davem@davemloft.net>
4880         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4881         32-bit.
4883 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4886         New file
4887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4888         New file
4889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4890         New file.
4891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4892         New file.
4893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4894         New file.
4895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4896         New file.
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4898         New file.
4899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4900         New file.
4901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4902         New file.
4903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4904         New file.
4905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4906         New file.
4907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4908         New file.
4909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4910         New file.
4912 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4914         * nptl/shlib-versions: Change powerpc*le start to 2.17.
4915         * shlib-versions: Likewise.
4917 2014-02-04  Roland McGrath  <roland@hack.frob.com>
4918             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4920         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4921         (abilist-pattern): New variable, set to %-le.abilist.
4923         * Makerules (abilist-pattern): New variable.
4924         (vpath): Use $(abilist-pattern) in place of %.abilist.
4925         (check-abi-% pattern rule): Likewise.
4926         (check-abi, update-abi): Likewise.
4928 2014-02-04  Eric Wong  <normalperson@yhbt.net>
4930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4932 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
4934         * manual/startup.texi: Add next, previous, and top entries for
4935         the `Program Arguments' and `Environment Variables' nodes.
4937 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
4939         * manual/macros.texi: Add comments before MTASC-safety macros.
4941         * manual/users.texi: Document MTASC-safety properties.
4943         * manual/threads.texi (pthread_key_create, pthread_key_delete)
4944         (pthread_getspecific, pthread_setspecific): Format with
4945         @deftypefun, and add @safety note.
4946         * manual/signal.texi: Move comments that analyze the above
4947         functions to their home place.
4949 2014-02-03  Allan McRae  <allan@archlinux.org>
4951         * po/sl.po: Update Slovenian translation from translation project.
4953 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
4955         * manual/time.texi (timegm): Add missing blank after @c.
4956         Reported by Joseph Myers <joseph@codesourcery.com>.
4958 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
4960         * manual/check-safety.sh: New.
4961         * manual/Makefile ($(objpfx)stamp-summary): Run it.
4963         * manual/terminal.texi: Document MTASC-safety properties.
4965         * manual/filesys.texi: Document MTASC-safety properties.
4967         * manual/errno.texi: Document MTASC-safety properties.
4969         * manual/intro.texi: Document safety identifiers and
4970         conditionals.
4972         * manual/string.texi (wcstok): Fix prototype.
4973         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4975         * manual/time.texi: Document MTASC-safety properties.
4977         * manual/string.texi: Document MTASC-safety properties.
4979         * manual/threads.texi: Document MTASC-safety properties.
4981         * manual/stdio.texi: Document MTASC-safety properties.
4983         * manual/syslog.texi: Document MTASC-safety properties.
4985         * manual/sysinfo.texi: Document MTASC-safety properties.
4987         * manual/startup.texi: Document MTASC-safety properties.
4989         * manual/socket.texi: Document MTASC-safety properties.
4991         * manual/signal.texi: Document MTASC-safety properties.
4993 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
4995         * manual/setjmp.texi: Document MTASC-safety properties.
4997         * manual/search.texi: Document MTASC-safety properties.
4999         * manual/resource.texi: Document MTASC-safety properties.
5001         * manual/process.texi: Document MTASC-safety properties.
5003         * manual/platform.texi: Document MTASC-safety properties.
5005         * manual/pipe.texi: Document MTASC-safety properties.
5007         * manual/pattern.texi: Document MTASC-safety properties.
5009         * manual/message.texi: Document MTASC-safety properties.
5011         [BZ #12751]
5012         * manual/memory.texi: Document MTASC-safety properties.
5014         * manual/math.texi: Document MTASC-safety properties.
5016         * manual/locale.texi: Document MTASC-safety properties.
5018         * manual/llio.texi: Document MTASC-safety properties.
5020         * manual/libdl.texi: New.
5022         * manual/lang.texi: Document MTASC-safety properties.
5024         * manual/job.texi: Document MTASC-safety properties.
5026         * manual/getopt.texi: Document MTASC-safety properties.
5028         * manual/ctype.texi: Document MTASC-safety properties.
5030 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
5032         [BZ #16046]
5033         * csu/libc-tls.c (static_map): Remove variable.
5034         (__libc_setup_tls): Use main executable's link map for TLS data.
5035         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5036         casing for LM_ID_BASE and GL(dl_nns).
5037         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5038         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
5039         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5040         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5041         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5042         member.
5043         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5044         l_phnum members.
5046 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
5048         * manual/debug.texi: Document MTASC-safety properties.
5050 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
5052         [BZ #16510]
5053         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5054         of __x86_64__ when disabling x87 inline functions.
5056 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
5058         * manual/charset.texi: Document MTASC-safety properties.
5060         * manual/crypt.texi: Document MTASC-safety properties.
5062         * manual/conf.texi: Document MTASC-safety properties.
5064         * manual/arith.texi: Document MTASC-safety properties.
5066         * manual/argp.texi: Document MTASC-safety properties.
5068         * manual/macros.texi: Introduce macros to document multi
5069         thread, asynchronous signal and asynchronous cancellation
5070         safety properties.
5071         * manual/intro.texi: Introduce the properties themselves.
5073 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5075         * sysdeps/sh/sh4/Makefile: New file.
5077 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
5079         * math/gen-libm-test.pl ($srcdir): New variable.
5080         ($auto_input): Use it.
5082 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5084         [BZ #16506]
5085         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5086         access beyond array bounds when parsing netgroups file.
5088         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5089         the old buffer before realloc.
5091 2014-01-27  Allan McRae  <allan@archlinux.org>
5093         * po/fr.po: Update French translation from translation project.
5095 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5097         * sysdeps/sh/libm-test-ulps: Regenerate.
5099 2014-01-24  David S. Miller  <davem@davemloft.net>
5101         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5103 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5105         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5106         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5108 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5110         [BZ #16474]
5111         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5112         string pointers after reallocation.
5114 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5116         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5117         __SH4A__ instead of __SH_FPU_ANY__.
5119 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5121         * sysdeps/sh/fpu_control.h: New file.
5122         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5123         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5124         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5125         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5126         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5127         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5128         * sysdeps/sh/sys/ucontext.h: Remove.
5129         * sysdeps/sh/sys: Remove directory.
5131 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5133         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5134         s390/sys/ucontext.h.
5135         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5136         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5138 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
5140         [BZ #15605]
5141         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5143 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5145         [BZ#16431]
5146         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5147         Adjust the vDSO correctly for internal calls.
5148         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5150 2014-01-20  Allan McRae  <allan@archlinux.org>
5152         * po/ca.po: Update Catalan translation from translation project.
5154 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
5156         * sysdeps/s390/sotruss-lib.c: New file.
5158 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5160         [BZ#16430]
5161         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5162         (__GI___gettimeofday): Alias for a different internal symbol to avoid
5163         local calls issues by not having a PLT stub required for IFUNC calls.
5164         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5166 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
5168         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5169         * math/test-fpucw-static.c: Likewise.
5171 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5173         [BZ #16453]
5174         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5176 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5178         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5179         implementation for powerpc.
5181 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
5183         [BZ #14782]
5184         * sysdeps/posix/system.c (__libc_system): Do not enable
5185         asynchronous cancellation.
5187 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5189         [BZ #16427]
5190         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5191         handling only for numbers special also in the IEEE case.
5193 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5195         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5197 2014-01-11  Allan McRae  <allan@archlinux.org>
5199         * po/bg.po: Update Bulgarian translation from translation project.
5201         * po/de.po: Update German translation from translation project.
5203 2014-01-10  Roland McGrath  <roland@hack.frob.com>
5205         * sysdeps/generic/gcc-compat.h: New file.
5207 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5209         * benchtests/asin-inputs: Correct slow inputs.
5210         * benchtests/acos-inputs: Likewise.
5212 2014-01-10  Allan McRae  <allan@archlinux.org>
5214         * po:sv.po: Update Swedish translation from translation project.
5216         * po/vi.po: Update Vietnamese translation from translation project.
5218         * po/eo.po: Update Esperanto translation from translation project.
5220         * po/cs.po: Update Czech translation from translation project.
5222         * po/nl.po: Update Dutch translation from translation project.
5224         * po/pl.po: Update Polish translation from translation project.
5226         * po/ru.po: Update Russian translation from translation project.
5228         * po/uk.po: Update Ukrainian translation from translation project.
5230 2014-01-08  Brooks Moses  <bmoses@google.com>
5232         * elf/dl-load.c: Fix comment typo.
5234 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
5236         * po/header.pot: Rename to...
5237         * po/pot.header: ... this.
5238         * po/Makefile: Use pot.header.
5240 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
5241             Maxim Kuvyrkov  <maxim@kugelworks.com>
5243         [BZ #16394]
5244         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5245         SRC and DEST against LEN.
5247 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5249         [BZ #16414]
5250         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5251         implementation.
5252         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5254 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5258 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
5260         [BZ #16408]
5261         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5262         for large positive arguments.
5264 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
5266         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5268         * math/auto-libm-test-in: Mark various tests with
5269         xfail-rounding:ldbl-128ibm.
5270         * math/auto-libm-test-out: Regenerated.
5272         [BZ #16407]
5273         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5274         Increase overflow threshold.
5276 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
5278         [BZ #14286]
5279         * stdio-common/vfprintf.c: Check for integer overflow.
5281 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5283         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5284         the first argument and return value of __tls_get_addr_internal.
5286 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5288         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5289         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5291 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5293         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5294         * sysdeps/s390/rtld-global-offsets.sym: New file.
5295         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5296         GLIBC_2.19 symbol.
5297         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5298         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5299         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5300         ... this.
5301         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5302         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5303         ... this.
5304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5305         Regenerate.
5306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5307         Regenerate.
5308         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5309         halfs of GPRs for high_gprs contexts.
5310         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5311         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
5312         field.
5313         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5314         uc_flags field.
5315         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5316         64 bit versions:
5317         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5318         for high GPRs (uc_high_gprs) and for future extensions
5319         (__reserved).
5320         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5321         for future extensions (__reserved).
5322         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5323         64 bit versions:
5324         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5325         SC_HIGHGPRS offset definition.
5326         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5327         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5329         * Versions.def: Add GLIBC_2.19 for libpthread.
5330         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5331         siglongjmp for libpthread with GLIBC_2.19 symver.
5332         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5333         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5334         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5335         * sysdeps/s390/__longjmp.c: New file.
5336         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5337         * sysdeps/s390/longjmp.c: New file.
5338         * sysdeps/s390/setjmp.S: New file.
5339         * sysdeps/s390/sigjmp.S: New file.
5340         * sysdeps/s390/v1-longjmp.c: New file.
5341         * sysdeps/s390/v1-setjmp.h: New file.
5342         * sysdeps/s390/v1-sigjmp.c: New file.
5343         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5344         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5345         GLIBC_2.19 version.
5346         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5347         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5348         versioned symbols for ____longjmp_chk.
5349         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5350         Likewise.
5351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5352         Regenerate.
5353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5354         Regenerate.
5355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5356         Regenerate.
5357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5358         Regenerate.
5359         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5360         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5361         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5362         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5363         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5364         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5365         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5366         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5367         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5368         * sysdeps/s390/rtld-__longjmp.c: New file.
5369         * sysdeps/s390/rtld-setjmp.S: New file.
5371 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
5373         [BZ #16400]
5374         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5375         Return -__logl (x) for small positive arguments without evaluating
5376         a polynomial.
5378 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
5380         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5381         Rename to ...
5382         (__ptrace_peeksiginfo_args): ... this.
5383         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5384         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5385         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5387 2014-01-06  Allan McRae  <allan@archlinux.org>
5389         * inet/netinet/in.h: Fix typo in comment.
5391 2014-01-05  Andreas Jaeger  <aj@suse.de>
5393         * sysdeps/i386/fpu/libm-test-ulps: Update.
5395 2014-01-05  Allan McRae  <allan@archlinux.org>
5397         * po/libc.pot: Regenerated.
5399         * malloc/memusagestat.c: Fix gettext call formatting.
5401 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
5403         * nscd/nscd.c: Improve usage() output.
5405 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
5407         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5408         * sysdeps/unix/sysv/linux/configure: Regenerated.
5409         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5410         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5412 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
5414         [BZ #16390]
5415         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5416         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5418 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5420         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5421         extra tokens at end of #undef directive.
5422         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5423         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5424         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5426 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
5428         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5430         * math/auto-libm-test-in: Mark various tests with
5431         xfail-rounding:ldbl-128ibm.
5432         * math/auto-libm-test-out: Regenerated.
5434 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
5436         [BZ #16386]
5437         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5438         numbers with subnormal high part when calculating exponent.
5440         [BZ #16385]
5441         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5442         fabs.
5444         [BZ #16384]
5445         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5446         M_LN2l.
5447         (__ieee754_acoshl): Use __log1pl not __log1p.
5449 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
5451         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5452         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5453         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5454         (grow_heap, heap_trim, _int_new_arena, get_free_list)
5455         (reused_arena, arena_get2): Convert to GNU style.
5456         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5457         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5458         (memalign_check, __malloc_set_state): Likewise.
5459         * malloc/mallocbug.c (main): Likewise.
5460         * malloc/malloc.c (__malloc_assert, malloc_init_state)
5461         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5462         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5463         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5464         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5465         (__posix_memalign, malloc_info): Likewise.
5466         * malloc/malloc.h: Likewise.
5467         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5468         (mallochook, memalignhook, reallochook, mabort): Likewise.
5469         * malloc/mcheck.h: Likewise.
5470         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5471         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5472         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5473         * malloc/morecore.c (__default_morecore): Likewise.
5474         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5475         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5476         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5477         (print_and_abort): Likewise.
5478         * malloc/obstack.h: Likewise.
5479         * malloc/set-freeres.c (__libc_freeres): Likewise.
5480         * malloc/tst-mallocstate.c (main): Likewise.
5481         * malloc/tst-mtrace.c (main): Likewise.
5482         * malloc/tst-realloc.c (do_test): Likewise.
5484 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5486         [BZ #16366]
5487         * nscd/netgroupcache.c (do_notfound): New function.
5488         (addgetnetgrentX): Use it.
5490         [BZ # 16365]
5491         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5492         NSS_STATUS_NOTFOUND.
5494 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
5496         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5499 2014-01-01  Allan McRae  <allan@archlinux.org>
5501         * scripts/update-copyrights: Update configure input file suffix.
5503         * NEWS: Update copyright year.
5504         * catgets/gencat.c: Likewise.
5505         * csu/version.c: Likewise.
5506         * debug/catchsegv.sh: Likewise.
5507         * debug/pcprofiledump.c: Likewise.
5508         * debug/xtrace.sh: Likewise.
5509         * elf/ldconfig.c: Likewise.
5510         * elf/ldd.bash.in: Likewise.
5511         * elf/pldd.c: Likewise.
5512         * elf/sotruss.ksh: Likewise.
5513         * elf/sprof.c: Likewise.
5514         * iconv/iconv_prog.c: Likewise.
5515         * iconv/iconvconfig.c: Likewise.
5516         * locale/programs/locale.c: Likewise.
5517         * locale/programs/localedef.c: Likewise.
5518         * login/programs/pt_chown.c: Likewise.
5519         * malloc/memusage.sh: Likewise.
5520         * malloc/memusagestat.c: Likewise.
5521         * malloc/mtrace.pl: Likewise.
5522         * manual/libc.texinfo: Likewise.
5523         * nscd/nscd.c: Likewise.
5524         * nss/getent.c: Likewise.
5525         * nss/makedb.c: Likewise.
5526         * posix/getconf.c: Likewise.
5527         * scripts/test-installation.pl: Likewise.
5529         * All files with FSF copyright notices: Update copyright dates
5530         using scripts/update-copyrights.
5531         * intl/plural.c: Regenerated.
5532         * locale/programs/charmap-kw.h: Likewise.
5533         * locale/programs/locfile-kw.h: Likewise.
5535 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
5537         * sysdeps/unix/sysv/linux/configure: Regenerated.
5538         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5539         the linux/fanotify.h header.
5540         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5541         HAVE_LINUX_FANOTIFY_H is defined.
5543 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5545         * benchtests/cos-inputs: New inputs.
5546         * benchtests/sin-inputs: Likewise.
5548         * benchtests/atan-inputs: New inputs. Fix name of multiple
5549         precision fallback inputs.
5551         * benchtests/atanh-inputs: New inputs.
5552         * benchtests/tanh-inputs: Likewise.
5554         * benchtests/acosh-inputs: New inputs.
5555         * benchtests/asinh-inputs: Likewise.
5557         * benchtests/cosh-inputs: New inputs.
5558         * benchtests/sinh-inputs: Likewise.
5560         * benchtests/acos-inputs: Add more inputs.
5561         * benchtests/asin-inputs: Likewise.
5563 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
5565         [BZ #16375]
5566         * manual/arith.texi: Fix spelling.
5567         * manual/charset.texi: Likewise.
5568         * manual/errno.texi: Likewise.
5569         * manual/filesys.texi: Likewise.
5570         * manual/lang.texi: Likewise.
5571         * manual/llio.texi: Likewise.
5572         * manual/locale.texi: Likewise.
5573         * manual/message.texi: Likewise.
5574         * manual/resource.texi: Likewise.
5575         * manual/search.texi: Likewise.
5576         * manual/setjmp.texi: Likewise.
5577         * manual/stdio.texi: Likewise.
5578         * manual/string.texi: Likewise.
5579         * manual/sysinfo.texi: Likewise.
5580         * manual/time.texi: Likewise.
5582 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
5584         * po/sl.po: New file.
5586 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
5588         * .gitignore: Add core/.gdbinit/.gdb_history.
5590 2013-12-27  Allan McRae  <allan@archlinux.org>
5592         [BZ #16369]
5593         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5594         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5596 2013-12-24  Brooks Moses  <bmoses@google.com>
5598         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5599         all compilers that claim C++98 compliance, not just GCC.
5600         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5601         Likewise.
5603 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5605         * NEWS: Restore accidentally deleted bug-fix entries.
5607 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5608             Ondřej Bílka  <neleai@seznam.cz>
5610         [BZ #15073]
5611         * malloc/malloc.c (_int_free): Perform sanity check only if we
5612         have_lock.
5614 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
5616         [BZ #12986]
5617         * manual/stdio.texi (String Input Conversions): Clarify that character
5618         classes are not supported.
5620 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5624 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
5626         [BZ #16337]
5627         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5628         Calculate results for small negative arguments directly rather
5629         than using reflection formula with special underflow handling.
5631         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5632         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5633         sysdeps/unix/bsd/bsd4.4/syscalls.list.
5634         (fchflags): Likewise.
5635         (revoke): Likewise.
5636         (setlogin): Likewise.
5637         (sigaltstack): Likewise.
5638         (wait4): Likewise.
5639         (sigblock): Remove.
5640         (sigsetmask): Likewise.
5641         (wait3): Likewise.
5642         (waitpid): Likewise.
5643         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5644         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5645         file.
5646         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5647         * sysdeps/unix/bsd/Makefile: ... here.
5648         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5649         * sysdeps/unix/bsd/Versions: ... here.
5650         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5651         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5652         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5653         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5654         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5655         * sysdeps/unix/bsd/sigblock.c: ... here.
5656         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5657         * sysdeps/unix/bsd/sigsetmask.c: ... here.
5658         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5659         * sysdeps/unix/bsd/sigvec.c: ... here.
5660         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5661         * sysdeps/unix/bsd/tcdrain.c: ... here.
5662         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5663         * sysdeps/unix/bsd/tcgetattr.c: ... here.
5664         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5665         * sysdeps/unix/bsd/tcsetattr.c: ... here.
5666         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5667         * sysdeps/unix/bsd/wait.c: ... here.
5668         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5669         * sysdeps/unix/bsd/wait3.c: ... here.
5670         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5671         * sysdeps/unix/bsd/waitpid.c: ... here.
5673 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
5675         [BZ #16356]
5676         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5677         round-to-nearest for [!USE_AS_EXPM1L].
5678         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5679         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
5680         more tests of exp and exp10.  Expect some exp10 tests to miss
5681         exceptions or fail in directed rounding modes.
5682         * math/auto-libm-test-out: Regenerated.
5683         * math/libm-test.inc (exp10_tonearest_test_data): New array.
5684         (exp10_test_tonearest): New function.
5685         (exp10_towardzero_test_data): New array.
5686         (exp10_test_towardzero): New function.
5687         (exp10_downward_test_data): New array.
5688         (exp10_test_downward): New function.
5689         (exp10_upward_test_data): New array.
5690         (exp10_test_upward): New function.
5691         (main): Call the new functions.
5692         * sysdeps/i386/fpu/libm-test-ulps: Update.
5693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5695 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
5697         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5698         asinh, atan, atan2, atanh, cbrt, cos and cosh.
5699         * math/auto-libm-test-out: Regenerated.
5700         * math/libm-test.inc (acosh_test_data): Add more tests.
5701         (atanh_test_data): Likewise.
5702         (ceil_test_data): Likewise.
5703         (copysign_test_data): Likewise.
5704         * sysdeps/i386/fpu/libm-test-ulps: Update.
5705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5707         * timezone/checktab.awk: Update from tzcode 2013i.
5708         * timezone/private.h: Likewise.
5709         * timezone/scheck.c: Likewise.
5710         * timezone/tzfile.h: Likewise.
5711         * timezone/tzselect.ksh: Likewise.
5712         * timezone/zdump.c: Likewise.
5713         * timezone/zic.c: Likewise.
5715         * math/auto-libm-test-in: Add tests of cpow.
5716         * math/auto-libm-test-out: Regenerated.
5717         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5718         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5719         mpc_cc_c.
5720         (func_calc_desc): Add mpc_cc_c union field.
5721         (test_functions): Add cpow.
5722         (special_fill_2pi): New function.
5723         (special_real_inputs): Add 2pi.
5724         (calc_generic_results): Handle mpc_cc_c.
5725         * sysdeps/i386/fpu/libm-test-ulps: Update.
5726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5728         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5729         csqrt, ctan and ctanh.
5730         * math/auto-libm-test-out: Regenerated.
5731         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5732         (TEST_COND_x86): Likewise.
5733         (ccos_test_data): Use AUTO_TESTS_c_c.
5734         (ccosh_test_data): Likewise.
5735         (cexp_test_data): Likewise.
5736         (clog_test_data): Likewise.
5737         (csqrt_test_data): Likewise.
5738         (ctan_test_data): Likewise.
5739         (ctan_tonearest_test_data): Likewise.
5740         (ctan_towardzero_test_data): Likewise.
5741         (ctan_downward_test_data): Likewise.
5742         (ctan_upward_test_data): Likewise.
5743         (ctanh_test_data): Likewise.
5744         (ctanh_tonearest_test_data): Likewise.
5745         (ctanh_towardzero_test_data): Likewise.
5746         (ctanh_downward_test_data): Likewise.
5747         (ctanh_upward_test_data): Likewise.
5748         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5749         mpc_c_c.
5750         (func_calc_desc): Add mpc_c_c union field.
5751         (FUNC_mpc_c_c): New macro.
5752         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5753         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5754         ctanh.
5755         (special_fill_min_subnorm_p120): New function.
5756         (special_real_inputs): Add min_subnorm_p120.
5757         (calc_generic_results): Handle mpc_c_c.
5758         * sysdeps/i386/fpu/libm-test-ulps: Update.
5759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5761 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5763         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5764         (do_sin_slow): New functions.
5765         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5766         (cslow2, csloww1, csloww2): Use the new functions.
5768         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5769         Use M to change sign of result instead of X.  Assume X is
5770         positive.
5771         (csloww1): Likewise.
5772         (__sin): Adjust.
5773         (__cos): Adjust.
5775         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5776         arguments A and DA.
5777         (__sin): Adjust.
5778         (__cos): Likewise.
5780         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5781         (__cos): Likewise.
5782         (sloww1): Don't adjust sign of DX.
5783         (csloww1): Likewise.
5784         (sloww2): Use X directly and don't adjust sign of DX.
5785         (csloww2): Likewise.
5787 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5789         * math/auto-libm-test-in: Add tests of cabs and carg.
5790         * math/auto-libm-test-out: Regenerated.
5791         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5792         (carg_test_data): Likewise.
5793         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5794         mpc_c_f.
5795         (func_calc_desc): Add mpc_c_f union field.
5796         (test_functions): Add cabs and carg.
5797         (calc_generic_results): Handle mpc_c_f.
5799         * sysdeps/powerpc/powerpc32/libgcc-compat.S
5800         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5801         as a macro and a compat symbol.
5802         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5803         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5804         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5805         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5806         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5807         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5808         not use .hidden.
5809         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5810         Likewise.
5811         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5812         Likewise.
5813         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5814         Likewise.
5815         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5816         Likewise.
5817         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5818         Likewise.
5819         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5820         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5821         from GLIBC_2.3.2.
5823 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5827 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5829         * manual/texinfo.tex: Update to version 2013-11-26.10 with
5830         trailing whitespace removed.
5831         * scripts/config.guess: Update to version 2013-11-29.
5832         * scripts/config.sub: Update to version 2013-10-01.
5834         * math/auto-libm-test-in: Add tests of sincos.
5835         * math/auto-libm-test-out: Regenerated.
5836         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5837         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5838         mpfr_f_11.
5839         (func_calc_desc): Add mpfr_f_11 union field.
5840         (test_functions): Add sincos.
5841         (calc_generic_results): Handle mpfr_f_11.
5842         * sysdeps/i386/fpu/libm-test-ulps: Update.
5843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5845 2013-12-19  Andreas Schwab  <schwab@suse.de>
5847         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5848         CALL_MCOUNT.
5849         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5850         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5851         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5853 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5855         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5856         * sysdeps/i386/fpu/libm-test-ulps: Update.
5857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5859         [BZ #16293]
5860         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5861         round-to-nearest mode when using frndint.
5862         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5863         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5864         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5865         Likewise.
5866         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
5867         sinh test to fail.
5868         * math/auto-libm-test-out: Regenerated.
5869         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5870         (TEST_COND_x86): Likewise.
5871         (expm1_tonearest_test_data): New array.
5872         (expm1_test_tonearest): New function.
5873         (expm1_towardzero_test_data): New array.
5874         (expm1_test_towardzero): New function.
5875         (expm1_downward_test_data): New array.
5876         (expm1_test_downward): New function.
5877         (expm1_upward_test_data): New array.
5878         (expm1_test_upward): New function.
5879         (main): Run the new test functions.
5880         * sysdeps/i386/fpu/libm-test-ulps: Update.
5881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5883         * include/features.h: Update comment documenting feature test
5884         macros.  Mention _DEFAULT_SOURCE in comment.
5885         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5886         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5887         _BSD_SOURCE and _SVID_SOURCE.
5888         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5889         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5890         !_SVID_SOURCE]: Likewise.
5891         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5892         (__USE_POSIX_IMPLICITLY): Define.
5893         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5894         (_POSIX_SOURCE): Undefine and redefine.
5895         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5896         (_POSIX_C_SOURCE): Likewise.
5897         * manual/creature.texi (_DEFAULT_SOURCE): Document.
5898         (Feature Test Macros): Update documentation of default features.
5900 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5902         * benchtests/Makefile: Add bench-strtok.
5903         * benchtests/bench-strtok.c: New file: strtok benchtest.
5905 2013-12-19  Allan McRae  <allan@archlinux.org>
5907         * manual/install.texi: Suppress menu for plain text output.
5908         * INSTALL: Regenerated.
5910 2013-12-18  Brooks Moses  <bmoses@google.com>
5912         [BZ #15846]
5913         * misc/getauxval.c: Include errno.h.
5914         (__getauxval): Set errno to ENOENT if the requested type is not
5915         found.
5916         * misc/sys/auxv.h (getauxval): Document that it may set errno;
5917         don't declare with __attribute_const__.
5918         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5919         * manual/startup.texi: Document that getauxval sets errno.
5921 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5923         * math/auto-libm-test-in: Add tests of jn and yn.
5924         * math/auto-libm-test-out: Regenerated.
5925         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5926         (yn_test_data): Likewise.
5927         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5928         mpfr_if_f.
5929         (func_calc_desc): Add mpfr_if_f union field.
5930         (FUNC_mpfr_if_f): New macro.
5931         (test_functions): Add jn and yn.
5932         (calc_generic_results): Assert type of second input for
5933         mpfr_ff_f.  Handle mpfr_if_f.
5934         (output_for_one_input_case): Disable all checking for arguments
5935         fitting floating-point types in case of an integer argument.
5936         * sysdeps/i386/fpu/libm-test-ulps: Update.
5937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5940         Don't expect fegetround reference in libm.so.
5942 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5944         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5945         $(config-cflags-nofma).
5947 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5949         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5950         * math/auto-libm-test-out: Regenerated.
5952         [BZ #16338]
5953         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5954         to determine exponent and adjust argument to have exponent of -1.
5955         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5956         log2.
5957         * math/auto-libm-test-out: Regenerated.
5958         * sysdeps/i386/fpu/libm-test-ulps: Update.
5959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5961 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
5963         * manual/probes.texi: Remove cases when per-thread arenas are
5964         disabled.
5966 2013-12-18  Andreas Schwab  <schwab@suse.de>
5968         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5969         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5970         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5971         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5972         * sysdeps/i386/i686/multiarch/Makefile: Update.
5973         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5975 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5977         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5978         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5980 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
5982         [BZ #15968]
5983         Support TZ transition times < 00:00:00.
5984         This is needed for version-3 tz-format files; it supports time
5985         stamps past 2037 for America/Godthab (the only entry in the tz
5986         database for which this change is relevant).
5987         * manual/time.texi (TZ Variable): Document transition times
5988         from -167:59:59 through -00:00:01.
5989         * time/tzset.c (tz_rule): Time of day is now signed.
5990         (__tzset_parse_tz): Parse negative time of day.
5992         Document TZ transition times >= 25:00:00.
5993         * manual/time.texi (TZ Variable): Document transition times from
5994         25:00:00 through 167:59:59.  These are already supported, and this
5995         support will help with version-3 tz-format files.
5997         * manual/time.texi (TZ Variable): Modernize North America example
5998         to reflect current (i.e., 2007-and-later) daylight saving rules.
6000         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6002 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6004         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6005         * sysdeps/unix/bsd/bits/stat.h: Likewise.
6006         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6007         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6008         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6009         * sysdeps/unix/bsd/bsdstat.h: Likewise.
6010         * sysdeps/unix/bsd/clock.c: Likewise.
6011         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6012         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6013         * sysdeps/unix/bsd/init-posix.c: Likewise.
6014         * sysdeps/unix/bsd/poll.c: Likewise.
6015         * sysdeps/unix/bsd/ptsname.c: Likewise.
6016         * sysdeps/unix/bsd/seekdir.c: Likewise.
6017         * sysdeps/unix/bsd/setegid.c: Likewise.
6018         * sysdeps/unix/bsd/seteuid.c: Likewise.
6019         * sysdeps/unix/bsd/setgid.c: Likewise.
6020         * sysdeps/unix/bsd/setrgid.c: Likewise.
6021         * sysdeps/unix/bsd/setruid.c: Likewise.
6022         * sysdeps/unix/bsd/setsid.c: Likewise.
6023         * sysdeps/unix/bsd/setuid.c: Likewise.
6024         * sysdeps/unix/bsd/sigaction.c: Likewise.
6025         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6026         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6027         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6028         * sysdeps/unix/bsd/telldir.c: Likewise.
6029         * sysdeps/unix/bsd/times.c: Likewise.
6030         * sysdeps/unix/bsd/usleep.c: Likewise.
6032         * misc/Makefile (install-lib): Remove libbsd-compat.a.
6033         ($(objpfx)libbsd-compat.a): Remove rule.
6035         * include/features.h (__FAVOR_BSD): Do not define.
6036         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6037         features conflicting with POSIX.
6038         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6039         (_BSD_SOURCE): Remove description of not being a subset of other
6040         feature test macros.
6041         * manual/job.texi (getpgrp): Do not document BSD version.
6042         (getpgid): Do not document by reference to BSD getpgrp.
6043         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6044         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6045         * signal/signal.h [__FAVOR_BSD]: Likewise.
6046         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6047         instead of making contents conditional on [__FAVOR_BSD].
6048         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6050 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6054 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6056         [BZ #16314]
6057         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6058         values below 2**-450, not 2**-500.
6059         * math/auto-libm-test-in: Don't allow spurious underflow from
6060         hypot.
6061         * math/auto-libm-test-out: Regenerated.
6063         [BZ #16316]
6064         [BZ #16330]
6065         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6066         values of ha and hb and sort them after adjusting subnormal
6067         arguments.
6068         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6069         Likewise.
6070         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6071         values of ea and eb and sort them after adjusting subnormal
6072         arguments.
6073         * math/auto-libm-test-in: Do not expect some hypot tests of
6074         subnormals to fail.  Add more hypot tests.
6075         * math/auto-libm-test-out: Regenerated.
6077 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6079         [BZ #13304]
6080         * sysdeps/sh/s_fma.c: New file.
6081         * sysdeps/sh/s_fmaf.c: New file.
6082         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
6083         version.
6084         * sysdeps/sh/Implies: Add sh/soft-fp.
6086 2013-12-16  Roland McGrath  <roland@hack.frob.com>
6088         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
6089         level of indirection to members `objname', `errstring', `malloced'.
6090         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6091         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
6092         it as the __longjmp argument (just pass 1 instead).
6093         (_dl_catch_error): Initialize C with argument pointers and address of
6094         volatile local ERRCODE rather than copying values out of C at return.
6096 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
6098         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6099         * math/auto-libm-test-out: Regenerated.
6100         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6101         (hypot_test_data): Likewise.
6102         (pow_test_data): Likewise.
6103         (pow_tonearest_test_data): Likewise.
6104         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6105         mpfr_ff_f.
6106         (func_calc_desc): Add mpfr_ff_f union field.
6107         (FUNC_mpfr_ff_f): New macro.
6108         (test_functions): Add atan2, hypot and pow.
6109         (special_fill_min): New function.
6110         (special_fill_minus_min): Likewise.
6111         (special_fill_min_subnorm): Likewise.
6112         (special_fill_minus_min_subnorm): Likewise.
6113         (special_real_inputs): Add min, -min, min_subnorm and
6114         -min_subnorm.
6115         (calc_generic_results): Handle mpfr_ff_f.
6116         * sysdeps/i386/fpu/libm-test-ulps: Update.
6117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6119 2013-12-16  Will Newton  <will.newton@linaro.org>
6121         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6122         (Aligned Memory Blocks): Add documentation for aligned_alloc
6123         and suggest it as an alternative to posix_memalign.
6124         (Hooks for Malloc): Document __memalign_hook is also called
6125         for aligned_alloc.  (Summary of Malloc): Add summary for
6126         aligned alloc.  Document __memalign_hook is also called
6127         for aligned_alloc.
6129 2013-12-16  Will Newton  <will.newton@linaro.org>
6131         * manual/memory.texi (Malloc Examples): Clarify default
6132         alignment documentation.  Suggest posix_memalign rather
6133         than memalign or valloc.
6134         (Aligned Memory Blocks): Remove suggestion to use memalign
6135         or valloc.  Remove obsolete comment about BSD.
6136         Document memalign errno values and mark the function obsolete.
6137         Document posix_memalign returned error codes.  Mark valloc
6138         as obsolete.  (Hooks for Malloc): __memalign_hook is also
6139         called for posix_memalign and valloc.
6140         (Summary of Malloc): Add posix_memalign to function summary.
6141         __memalign_hook is also called for posix_memalign and valloc.
6143 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6145         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6146         TAYLOR_SIN.
6147         (__sin): Adjust.
6148         (__cos): Likewise.
6149         (sloww): Use mynumber union.  Expand ternary operator into
6150         if-else statements.
6151         (cslow): use mynumber union.
6153 2013-12-16  Allan McRae  <allan@archlinux.org>
6155         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6156         * configure: Regenerated.
6158         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6160         [BZ #14120]
6161         * configure.ac: Added --enable-maintainer-mode. Check for
6162         autoconf when enabled.
6163         * configure: Regenerated.
6165         * nscd/nscd.service: New file.
6166         * nscd/nscd.tmpfiles: New file.
6168 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
6170         [BZ #12100]
6171         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6172         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6173         * sysdeps/x86_64/multiarch/strstr.c: ... here.
6174         (strstr): Add __strstr_sse2_unaligned ifunc.
6175         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6176         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6177         (strcasestr): Remove __strcasestr_sse42 ifunc.
6178         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6182 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6184         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6185         * sysdeps/sh/bits/fenv.h: ... here.
6186         * sysdeps/sh/sh4/fpu/bits: Remove directory.
6188 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6190         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6193         hypotf multiarch implementations.
6194         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6195         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6196         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6197         multiarch hypot for PPC64.
6198         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6199         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6200         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6201         multiarch hypotf for PPC64.
6203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6204         modff multiarch implementations.
6205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6208         multiarch modf for PPC64.
6209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6212         multiarch modff for PPC64.
6214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6215         and logl multiarch implementations.
6216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6219         multiarch logb for PPC64.
6220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6223         multiarch logb for PPC64.
6224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6227         multiarch logb for PPC64.
6229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6230         isinff multiarch implementation.
6231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6232         file.
6233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6235         multiarch isinf for PPC64.
6236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6237         file.
6238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6239         multiarch isinff for PPC64.
6241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6242         finitef multiarch implementation.
6243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6244         file.
6245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6247         multiarch finite for PPC64.
6248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6249         file.
6250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6251         multiarch finitef for PPC64.
6253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6254         lrint multiarch implementation.
6255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6256         file.
6257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6259         multiarch llrint for PPC64.
6260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6261         multiarch lrint for PPC64.
6263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6264         copysignf multiarch implementation.
6265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6266         file.
6267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6268         file.
6269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6270         multiarch copysign for PPC64.
6271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6272         multiarch copysignf for PPC64.
6274         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6275         multiarch implementation.
6276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6277         file.
6278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6279         file.
6280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6281         file.
6282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6283         file.
6284         multiarch llround for PPC64.
6285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6286         multiarch trunc for PPC64.
6287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6288         multiarch truncf for PPC64.
6290         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6291         multiarch implementation.
6292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6293         file.
6294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6295         file.
6296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6297         file.
6298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6299         file.
6300         multiarch llround for PPC64.
6301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6302         multiarch round for PPC64.
6303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6304         multiarch roundf for PPC64.
6306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6307         multiarch implementation.
6308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6309         file.
6310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6311         file.
6312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6313         file.
6314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6315         file.
6316         multiarch llround for PPC64.
6317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6318         multiarch floor for PPC64.
6319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6320         multiarch floorf for PPC64.
6322         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6323         multiarch implementation.
6324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6325         file.
6326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6327         file.
6328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6329         file.
6330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6331         file.
6332         multiarch llround for PPC64.
6333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6334         multiarch ceil for PPC64.
6335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6336         multiarch ceilf for PPC64.
6338         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6339         multiarch implementation.
6340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6341         file.
6342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6343         file.
6344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6345         file.
6346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6347         multiarch llround for PPC64.
6348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6349         multiarch lround for PPC64.
6351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6352         multiarch implementation.
6353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6356         file.
6357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6360         multiarch isnan for PPC64.
6361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6362         multiarch isnanf for PPC64.
6364         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6365         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6366         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6367         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6368         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6371         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6372         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6373         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6374         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6377         multiarch implementations.
6378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6379         (__libc_ifunc_impl_list): Likewise.
6380         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6381         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6382         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6383         multiarch stpcpy for PPC64.
6385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6386         multiarch implementations.
6387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6388         (__libc_ifunc_impl_list): Likewise.
6389         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6390         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6391         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6392         multiarch strcpy for PPC64.
6394         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6395         redefine function name.
6396         (_wordcopy_fwd_dest_aligned): Likewise.
6397         (_wordcopy_bwd_aligned): Likewise.
6398         (_wordcopy_bwd_dest_aligned): Likewise.
6399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6400         multiarch implementations.
6401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6402         (__libc_ifunc_impl_list): Likewise.
6403         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6404         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6405         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6406         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6407         multiarch wcscpy for PPC64.
6409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6410         multiarch implementations.
6411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6412         (__libc_ifunc_impl_list): Likewise.
6413         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6414         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6415         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6416         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6417         multiarch wcscpy for PPC64.
6419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6420         multiarch implementations.
6421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6422         (__libc_ifunc_impl_list): Likewise.
6423         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6424         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6425         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6426         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6427         multiarch wcsrchr for PPC64.
6429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6430         multiarch implementations.
6431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6432         (__libc_ifunc_impl_list): Likewise.
6433         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6434         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6435         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6436         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6437         multiarch wcschr for PPC64.
6439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6440         multiarch implementations.
6441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6442         (__libc_ifunc_impl_list): Likewise.
6443         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6444         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6445         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6446         multiarch strchrnul for PPC64.
6448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6449         implementations.
6450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6451         (__libc_ifunc_impl_list): Likewise.
6452         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6453         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6454         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6455         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6456         strchr for PPC64.
6458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6459         implementations.
6460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6461         (__libc_ifunc_impl_list): Likewise.
6462         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6463         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6464         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6465         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6466         strncmp for PPC64.
6468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6469         multiarch implementations.
6470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6471         (__libc_ifunc_impl_list): Likewise.
6472         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6473         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6474         strncasecmp for PPC64.
6475         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6476         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6477         multiarch strncasecmp_l for PPC64.
6479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6480         multiarch implementations.
6481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6482         (__libc_ifunc_impl_list): Likewise.
6483         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6484         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6485         multiarch strcasecmp for PPC64.
6486         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6487         file.
6488         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6489         multiarch strcasecmp_l for PPC64.
6491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6492         implementations.
6493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6494         (__libc_ifunc_impl_list): Likewise.
6495         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6496         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6497         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6498         strnlen for PPC64.
6500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6501         implementations.
6502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6503         (__libc_ifunc_impl_list): Likewise.
6504         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6505         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6506         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6507         strlen for PPC64.
6509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6510         implementations.
6511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6512         (__libc_ifunc_impl_list): Likewise.
6513         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6514         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6515         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6516         rawmemrchr for PPC64.
6518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6519         implementation.
6520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6521         (__libc_ifunc_impl_list): Likewise.
6522         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6523         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6524         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6525         memrchr for PPC64.
6527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6528         implementation.
6529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6530         (__libc_ifunc_impl_list): Likewise.
6531         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6532         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6533         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6534         memchr for PPC64.
6536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6537         implementation.
6538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6539         (__libc_ifunc_impl_list): Likewise.
6540         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6541         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6542         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6543         mempcpy for PPC64.
6545         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6546         avoid cretion of __bzero symbol.
6547         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6548         Likewise.
6549         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6550         Likewise.
6551         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6552         Likewise.
6553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6554         multiarch implementations.
6555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6556         (__libc_ifunc_impl_list): Likewise.
6557         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6558         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6559         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6560         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6561         bzero for PPC32.
6562         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6563         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6564         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6565         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6566         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6567         memset for PPC64.
6568         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6570         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6572         implementations.
6573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6574         (__libc_ifunc_impl_list): Likewise.
6575         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6576         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6577         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6578         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6579         memcmp for PPC64.
6581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6582         multiarch for POWER/PPC64.
6583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6584         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6585         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6587         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6588         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6589         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6590         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6591         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6592         memcpy for PPC64.
6594         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6595         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6596         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6597         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6598         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6599         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6600         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6601         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6602         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6603         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6604         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6605         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6606         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6607         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6608         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6617 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6619         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6621 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6623         * benchtests/Makefile (bench): Add exp2 and log2.
6624         (LDLIBS-bench-exp2): Add -lm.
6625         (LDLIBS-bench-log2): Likewise.
6626         * benchtests/exp2-inputs: New inputs file.
6627         * benchtests/log2-inputs: New inputs file.
6628         * benchtests/log-inputs: Add new inputs.
6629         * benchtests/tan-inputs: Likewise.
6631 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6633         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6634         definition...
6635         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6636         (csloww2): ... from here.
6638         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6639         instead of structures.
6640         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6641         (POLYNOMIAL): Likewise.
6642         (TAYLOR_SLOW): Likewise.
6643         (__sin): Likewise.
6644         (__cos): Likewise.
6645         (slow1): Likewise.
6646         (slow2): Likewise.
6647         (sloww): Likewise.
6648         (sloww1); Likewise.
6649         (sloww2): Likewise.
6650         (bsloww1): Likewise.
6651         (bsloww2): Likewise.
6652         (cslow2): Likewise.
6653         (csloww): Likewise.
6654         (csloww1): Likewise.
6655         (csloww2): Likewise.
6657 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
6659         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6660         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6661         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6662         * malloc/hooks.c (realloc_check): Likewise.
6664         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6665         * malloc/arena.c: Remove PER_THREAD conditional.
6666         [!PER_THREAD]: Remove code.
6667         (ptmalloc_unlock_all2): Likewise.
6668         (ptmalloc_init): Likewise.
6669         (_int_new_arena): Likewise.
6670         (arena_get2): Likewise.
6671         * malloc/hooks.c (__malloc_get_state): Likewise.
6672         (__malloc_set_state): Likewise.
6673         * malloc/malloc.c: Likewise.
6674         (struct malloc_state): Likewise.
6675         (struct malloc_par): Likewise.
6676         (__libc_realloc): Likewise.
6677         (__libc_mallopt): Likewise.
6679 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6681         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6683 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
6685         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6686         macro to a function.  Check for zero perturb_byte.
6687         (_int_malloc, _int_free): Remove zero perturb_byte checks.
6689         * malloc/malloc.c: (force_reg): Remove.
6690         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6691         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6692         force_reg by atomic_forced_read.
6693         * malloc/arena.c (ptmalloc_init): Likewise.
6694         * malloc/hooks.c (top_check): Likewise.
6696 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6700 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
6702         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6704 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
6706         * math/auto-libm-test-in: Add tests of lgamma.
6707         * math/auto-libm-test-out: Regenerated.
6708         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6709         (M_LOG_2_SQRT_PIl): Likewise.
6710         (lgamma_test_data): Use AUTO_TESTS_f_f1.
6711         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6712         mpfr_f_f1.
6713         (func_calc_desc): Add mpfr_f_f1 union field.
6714         (ARGS1): New macro.
6715         (ARGS2): Likewise.
6716         (ARGS3): Likewise.
6717         (ARGS4): Likewise.
6718         (RET1): Likewise.
6719         (RET2): Likewise.
6720         (CALC): Likewise.
6721         (FUNC): Likewise.
6722         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6723         (test_functions): Add lgamma.
6724         (calc_generic_results): Handle mpfr_f_f1.
6725         * sysdeps/i386/fpu/libm-test-ulps: Update.
6726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6728 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6730         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6731         __mpn_add_n for PowerPC64/POWER7.
6732         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6733         __mpn_sub_n for PowerPC64/POWER7.
6735         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6736         __mpn_addmul_1 for PowerPC64.
6737         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6738         __mpn_submul_1 for PowerPC64.
6739         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6740         for PowerPC64.
6741         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6742         for PowerPC64.
6744 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
6746         [BZ #15089]
6747         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6749 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6751         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6753         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6754         add multiarch folders.
6755         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6756         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6757         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6758         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6759         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6760         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6761         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6762         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6763         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6764         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6765         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6774         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6776         New file.
6777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6778         New file.
6779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6780         multiarch __ieee754_hypot for PowerPC32.
6781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6782         New file.
6783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6784         New file.
6785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6786         multiarch __ieee754_hypotf for PowerPC32.
6788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6789         long_double_symbol only if __logbl is defined.
6790         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6791         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6792         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6793         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6794         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6795         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6796         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6797         path for implementation.
6798         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6799         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6801         logb, and logbl multiarch implementations for PowerPC32.
6802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6803         file.
6804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6805         file.
6806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6807         multiarch logb for PowerPC32.
6808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6809         file.
6810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6811         file.
6812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6813         multiarch logbf for PowerPC32.
6814         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6816         file.
6817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6818         multiarch logbl implementation for PowerPC32.
6820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6821         and modff multiarch implementations.
6822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6823         New file.
6824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6825         New file.
6826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6827         multiarch modf for PowerPC32.
6828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6829         New file.
6830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6831         New file.
6832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6833         multiarch modff for PowerPC32.
6835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6836         and lrintf multiarch implementations.
6837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6838         New file.
6839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6840         New file.
6841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6842         multiarch lrint for PowerPC32.
6843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6844         file: multiarch lrintf for PowerPC32.
6846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6847         and lroundf multiarch implementations.
6848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6849         New file.
6850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6851         New file.
6852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6853         New file.
6854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6855         multiarch lround for PowerPC32.
6856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6857         file: multiarch lroundf for PowerPC32.
6859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6860         copysign and copysignf multiarch implementations.
6861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6862         New file.
6863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6864         New file.
6865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6866         file: multiarch copysign for PowerPC32.
6867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6868         file: multiarch copysignf for PowerPC32.
6870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6871         and truncf multiarch implementations.
6872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6873         New file.
6874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6875         file.
6876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6877         multiarch trunc for PowerPC32.
6878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6879         New file.
6880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6881         New file.
6882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6883         multiarch truncf for PowerPC32.
6885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6886         and roundf multiarch implementations.
6887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6888         New file.
6889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6890         file.
6891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6892         multiarch round for PowerPC32.
6893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6894         New file.
6895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6896         New file.
6897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6898         multiarch roundf for PowerPC32.
6900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6901         and floorf multiarch implementations.
6902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6903         New file.
6904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6905         file.
6906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6907         multiarch floor for PowerPC32.
6908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6909         New file.
6910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6911         New file.
6912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6913         multiarch floorf for PowerPC32.
6915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6916         and ceilf multiarch implementations.
6917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6918         New file.
6919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6920         file.
6921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6922         multiarch ceil for PowerPC32.
6923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6924         New file.
6925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6926         file.
6927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6928         multiarch ceilf for PowerPC32.
6930         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6931         is defined.
6932         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6933         FINITEF is defined.
6934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6935         and finitef multiarch implementations.
6936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6937         New file.
6938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6939         file.
6940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6941         multiarch finite for PowerPC32.
6942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6943         New file.
6944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6945         file: multiarch finitef for PowerPC32.
6947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6948         and isinff multiarch implementations.
6949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6950         file.
6951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6952         file.
6953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6954         multiarch isinf for PowerPC32.
6955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6956         New file.
6957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6958         multiarch isinff for PowerPC32.
6960         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6961         alias when __isnan is defined.
6962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6963         and isnanf multiarch implementations.
6964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6965         file.
6966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6967         file.
6968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6969         file.
6970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6971         file.
6972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6973         multiarch isnan for PowerPC32.
6974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6975         New file.
6976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6977         New file.
6978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6979         multiarch isnanf for PowerPC32.
6981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6982         and sqrtf multiarch implementations.
6983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6984         file.
6985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6986         file.
6987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6988         multiarch sqrt for PowerPC32.
6989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6990         file.
6991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6992         file.
6993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6994         multiarch sqrtf for PowerPC32.
6996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6997         and llroundf multiarch implementations.
6998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6999         New file.
7000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7001         New file.
7002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7003         New file.
7004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7005         file: multiarch llround for PowerPC32.
7006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7007         file: multiarch llroundf for PowerPC32.
7009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7010         multiarch PowerPC32 fpu implementations.
7011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7012         New file.
7013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7014         New file.
7015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7016         multiarch llrint for PowerPC32.
7017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7018         New file.
7019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7020         New file.
7021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7022         file.
7024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7027         file.
7028         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7029         file.
7030         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7031         file.
7032         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7033         multiarch wordcopy for PPC32.
7034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7035         wordcopy objects.
7036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7037         (__libc_ifunc_impl_list): Likewise.
7038         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7039         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7040         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7041         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7042         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7043         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7045         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7047         file.
7048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7049         file.
7050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7051         file.
7052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7053         multiarch wcscpy for PPC32.
7054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7055         multiarch objects.
7056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7057         (__libc_ifunc_impl_list): Likewise.
7058         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7059         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7060         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7061         sysdeps/powerpc/power6/wcscpy.c.
7063         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7065         file.
7066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7067         file.
7068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7069         file.
7070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7071         multiarch wcsrchr for PPC32.
7072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7073         multiarch objects.
7074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7075         (__libc_ifunc_impl_list): Likewise.
7076         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7077         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7078         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7079         sysdeps/powerpc/power6/wcsrchr.c.
7081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7082         file.
7083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7084         file.
7085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7087         multiarch wcschr for PPc32.
7088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7089         multiarch objects.
7090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7091         (__libc_ifunc_impl_list): Likewise.
7092         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7093         * sysdeps/powerpc/power6/wcschr.c: ... to here.
7094         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7095         sysdeps/powerpc/power6/wcschr.c.
7097         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7098         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7099         file.
7100         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7101         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7102         file: multiarch strchr for PPC32.
7103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7104         multiarch objects.
7105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7106         (__libc_ifunc_impl_list): Likewise.
7108         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7109         name.
7110         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7111         file.
7112         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7113         file.
7114         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7115         multiarch strchrnul for PPC32.
7116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7117         multiarch objects.
7118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7119         (__libc_ifunc_impl_list): Likewise.
7121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7122         file.
7123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7124         multiarch strncasecmp for PPC32.
7125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7126         file.
7127         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7128         multiarch strncasecmp_l for PPC32.
7129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7130         strncasecmp multiarch objects.
7131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7132         (__libc_ifunc_impl_list): Likewise.
7134         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7135         file.
7136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7137         multiarch strncasecmp for PPC32.
7138         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7139         New file.
7140         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7141         multiarch strcasecmp_l for PPC32.
7142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7143         multiarch objects.
7144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7145         (__libc_ifunc_impl_list): Likewise.
7147         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7148         file.
7149         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7150         file.
7151         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7152         multiarch strncmp for PPC32.
7153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7154         multiarch objects.
7155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7156         (__libc_ifunc_impl_list): Likewise.
7158         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7159         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7160         file.
7161         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7162         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7164         multiarch objects.
7165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7166         (__libc_ifunc_impl_list): Likewise.
7168         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7169         file.
7170         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7171         file.
7172         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7174         multiarch objects.
7175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7176         (__libc_ifunc_impl_list): Likewise.
7178         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7179         file.
7180         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7181         file.
7182         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7183         multiarch rawmemchr for PPC32.
7184         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7185         multiarch objects.
7186         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7187         (__libc_ifunc_impl_list): Likewise.
7189         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7190         file.
7191         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7192         file.
7193         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7194         file: memrchr multiarch for PPC32.
7195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7196         multiarch objects.
7197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7198         (__libc_ifunc_impl_list): Likewise.
7200         * string/memchr.c (__memchr): Using macro to redefine symbol name.
7201         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7202         file.
7203         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7204         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7205         multiarch memchr for PPC32.
7206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7207         multiarch objects.
7208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7209         (__libc_ifunc_impl_list): Likewise.
7211         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7212         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7213         file.
7214         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7215         file.
7216         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7217         file: multiarch mempcpy for PPC32.
7218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7219         multiarch objects.
7220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7221         (__libc_ifunc_impl_list): Likewise.
7223         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7224         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7225         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7226         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7227         multiarch bzero for PPC32.
7228         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7229         file.
7230         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7231         file.
7232         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7233         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7234         file: multiarch memset for PPC32.
7235         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7237         memset multiarch objects.
7238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7239         (__libc_ifunc_impl_list): Likewise.
7241         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7242         file.
7243         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7244         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7245         memcmp for PPC32.
7246         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7248         multiarch objects.
7249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7250         (__libc_ifunc_impl_list): Likewise.
7252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7253         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7255         file.
7256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7257         file.
7258         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7259         file.
7260         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7261         multiarch memcpy for PPC32.
7262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7263         multiarch objects.
7264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7265         (__libc_ifunc_impl_list): Likewise.
7267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7268         support multiarch for POWER/PPC32.
7269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7270         Likewise.
7271         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7273         Implies file to make multiarch folder appers before the fpu and
7274         default folder for power4 configuration.
7276 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7278         * scripts/bench.pl: Append volatile keyword to type.
7280 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7282         * sysdeps/sh/sotruss-lib.c: New file.
7283         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7285 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7289 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
7291         [BZ #6810]
7292         * math/w_tgamma.c: Include <errno.h>.
7293         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
7294         * math/w_tgammaf.c: Include <errno.h>.
7295         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
7296         * math/w_tgammal.c: Include <errno.h>.
7297         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
7298         * math/auto-libm-test-in: Do not allow missing errno on tgamma
7299         underflow.  Add more tgamma tests.
7300         * math/auto-libm-test-out: Regenerated.
7301         * sysdeps/i386/fpu/libm-test-ulps: Update.
7302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7304         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7305         sin, sinh, tan, tanh, tgamma, y0 and y1.
7306         * math/auto-libm-test-out: Regenerated.
7307         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7308         (TEST_COND_x86): Likewise.
7309         (M_E2l): Remove macro.
7310         (M_E3l): Likewise.
7311         (M_2_SQRT_PIl): Likewise.
7312         (M_SQRT_PIl): Likewise.
7313         (M_1_DIV_El): Likewise.
7314         (log_test_data): Use AUTO_TESTS_f_f.
7315         (log10_test_data): Likewise.
7316         (log1p_test_data): Likewise.
7317         (log2_test_data): Likewise.
7318         (sin_test_data): Likewise.
7319         (sin_tonearest_test_data): Likewise.
7320         (sin_towardzero_test_data): Likewise.
7321         (sin_downward_test_data): Likewise.
7322         (sin_upward_test_data): Likewise.
7323         (sinh_test_data): Likewise.
7324         (sinh_tonearest_test_data): Likewise.
7325         (sinh_towardzero_test_data): Likewise.
7326         (sinh_downward_test_data): Likewise.
7327         (sinh_upward_test_data): Likewise.
7328         (tan_test_data): Likewise.
7329         (tan_tonearest_test_data): Likewise.
7330         (tan_towardzero_test_data): Likewise.
7331         (tan_downward_test_data): Likewise.
7332         (tan_upward_test_data): Likewise.
7333         (tanh_test_data): Likewise.
7334         (tgamma_test_data): Likewise.
7335         (y0_test_data): Likewise.
7336         (y1_test_data): Likewise.
7337         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7338         (special_real_inputs): Add pi/4.
7339         * sysdeps/i386/fpu/libm-test-ulps: Update.
7340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7342 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7344         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7345         "longjmp_target" static probes.
7346         (__longjmp): Rename to __longjmp_symbol.
7347         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7348         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7349         on which longjmp to generate.
7350         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7351         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7352         probe.
7353         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7354         (__sigjmp_save): Rename to __sigjmp_save_symbol.
7355         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7356         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7357         and __sigjmp_save_symbol based on which sigsetjmp to generated.
7358         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7360         __longjmp_symbol based on which __longjmp to generate.
7361         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7362         probe.
7363         (setjmp): Rename to setjmp_symbol.
7364         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7365         (_setjmp): Rename to _setjmp_symbol.
7366         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7367         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7368         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7369         which setjmp to generate.
7370         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7371         "longjmp_target" static probes.
7373 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7375         * benchtests/README: Add note about output arguments.
7376         * benchtests/bench-sincos.c: Remove file.
7377         * benchtests/sincos-inputs: New file.
7378         * scripts/bench.pl: Identify output arguments and define
7379         static variables for them.
7381         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7383         [BZ #15941]
7384         * Makefile (INSTALL): Add install-plain.texi as the primary
7385         dependency.
7386         * manual/install-plain.texi: New file.
7387         * manual/install.texi: Include node directive only for
7388         non-plaintext output.
7390 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
7392         * stdlib/longlong.h: Update from GCC.
7394         [BZ #6807]
7395         [BZ #15901]
7396         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7397         * math/w_j0f.c (y0f): Likewise.
7398         * math/w_j0l.c (__y0l): Likewise.
7399         * math/w_j1.c (y1): Likewise.
7400         * math/w_j1f.c (y1f): Likewise.
7401         * math/w_j1l.c (__y1l): Likewise
7402         * math/w_jn.c (yn): Likewise.
7403         * math/w_jnf.c (ynf): Likewise.
7404         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7405         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
7406         value for Bessel function domain errors outside _SVID_ mode.
7407         Adjust sign of return value for yn (negative integer, 0).
7408         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7409         by zero in return for negative x and set sign appropriately for
7410         negative n.
7411         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7412         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7413         * math/libm-test.inc (y0_test_data): Add more tests and adjust
7414         expectations in error cases.
7415         (y1_test_data): Likewise.
7416         (yn_test_data): Likewise.
7417         * sysdeps/i386/fpu/libm-test-ulps: Update.
7418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7420 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7422         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7423         "64" to "64-v1".  Add "64-v2".
7424         (abi-64-options): Rename to ...
7425         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
7426         (abi-64-condition): Rename to ...
7427         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
7428         (abi-64-ld-soname): Rename to ...
7429         (abi-64-v1-ld-soname): ... this.
7430         (abi-64-v2-options): Define.
7431         (abi-64-v2-condition): Likewise.
7432         (abi-64-v2-ld-soname): Likewise.
7433         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7434         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7439 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7440             Alan Modra  <amodra@gmail.com>
7442         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7443         New versions for use with the ELFv2 ABI.
7444         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7445         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7446         declaration.
7447         (struct La_ppc64v2_retval): Likewise.
7448         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7449         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7450         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7451         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7452         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7453         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7454         Do not save or restore CR.
7455         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7456         (_dl_profile_resolve): Do no save or restore CR.  Support extended
7457         return values for ELFv2 ABI.  Fix location of FPR return registers.
7458         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7459         updated values for _CALL_ELF == 2.
7460         (La_regs, La_retval, int_retval): Likewise.
7462 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7464         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7465         (FRAME_MIN_SIZE_PARM): Likewise.
7466         (FRAME_BACKCHAIN): Likewise.
7467         (FRAME_CR_SAVE): Likewise.
7468         (FRAME_LR_SAVE): Likewise.
7469         (FRAME_TOC_SAVE): Likewise.
7470         (FRAME_PARM_SAVE): Likewise.
7471         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7472         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7473         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7474         (call_mcount_parm_offset): New macro.
7475         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7476         (PROF): Use symbolic stack frame offsets.
7477         (TAIL_CALL_SYSCALL_ERROR): Likewise.
7478         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7479         Redefine in terms of FRAME_MIN_SIZE.
7480         (_dl_runtime_resolve): Use symbolic stack frame offsets.
7481         (_dl_profile_resolve): Likewise.  Update comment.
7482         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7483         symbols stack frame offsets.
7484         (__sigsetjmp): Likewise.
7485         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7486         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7487         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7488         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7491         (FRAME_BACKCHAIN): Remove.
7492         (FRAME_CR_SAVE): Likewise.
7493         (FRAME_LR_SAVE): Likewise.
7494         (FRAME_COMPILER_DW): Likewise.
7495         (FRAME_LINKER_DW): Likewise.
7496         (FRAME_TOC_SAVE): Likewise.
7497         (FRAME_PARM_SAVE): Likewise.
7498         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7499         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7500         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7502         (CHECK_SP): Use symbolic stack frame offsets.
7503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7504         zone" instead of caller's parameter save area for temp storage.
7505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7506         Likewise.  Also, use symbolic stack frame offsets.
7507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7508         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7509         our own stack frame instead of the caller's.
7510         (__socket): Use symbolic stack frame offsets.
7512 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7513             Alan Modra  <amodra@gmail.com>
7515         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7516         Define.
7517         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7518         (PPC64_LOCAL_ENTRY_OFFSET): Define.
7519         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7520         New function.
7521         (elf_machine_fixup_plt): Call it.
7522         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
7523         reloc arguments.
7524         (elf_machine_rela): Update call to elf_machine_plt_conflict.
7525         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7526         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7527         r2 before calling target.
7529 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7530             Alan Modra  <amodra@gmail.com>
7532         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7533         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7534         versions of macros to support ELFv2 ABI.
7535         (LOCALENTRY): New macro.
7536         (ENTRY, EALIGN): Use it.
7537         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7538         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7539         fall through into ENTRY entry point.
7540         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7541         Only define if _CALL_ELF != 2.
7543         (elf_machine_matches_host): Verify ABI version matches.
7544         (RTLD_START): Use LOCALENTRY.
7545         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7546         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7547         (PLT_ENTRY_WORDS): New macro.
7548         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7549         (elf_machine_runtime_setup): Support ELFv2 ABI.
7550         (elf_machine_fixup_plt): Likewise.
7551         (elf_machine_plt_conflict): Likewise.
7552         (resolve_ifunc): Likewise.
7553         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7554         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7555         Likewise.
7556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7557         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7559         (makecontext): Support ELFv2 ABI.
7560         * elf/elf.h (EF_PPC64_ABI): Define.
7562 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7564         * sysdeps/powerpc/powerpc64/sysdep.h
7565         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7566         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7567         (ENTRY) [ASSEMBLER]: ... but instead here ...
7568         (EALIGN) [ASSEMBLER]: ... and here.
7569         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7570         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7571         (ENTRY_2) [!ASSEMBLER]: Use it.
7572         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7573         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
7574         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7575         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7576         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7578         Use PPC64_LOAD_FUNCPTR.
7580         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7582 2013-12-04  Alan Modra  <amodra@gmail.com>
7584         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7585         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7586         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7587         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7589         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7590         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7591         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7592         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7593         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7594         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7596 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7599         (__makecontext): Fix incorrect CFI when backtracing out of
7600         context created via makecontext.
7601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7602         (__setcontext): Fix incorrect CFI during switch to new context.
7603         (__novec_setcontext): Likewise.
7605 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7607         [BZ #4772]
7608         * time/strptime_l.c (__strptime_internal): Allow modifiers
7609         in strptime.
7610         * time/tst-strptime.c (day_tests): Add testcase.
7612 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7614         * scripts/bench.pl: Skip over blank lines.
7616 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7618         [BZ #926]
7619         * manual/time.texi (Calendar Time): Clarify what timezone functions
7620         use.
7622 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7626 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7628         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7629         implementation.
7630         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7631         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7632         * debug/memset_chk.c (__memset_chk): Likewise.
7633         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7634         * debug/strncpy_chk.c: Likewise.
7636 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7638         [BZ #15268]
7639         [BZ #15425]
7640         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7641         (__ieee754_exp): For possibly underflowing results, check size of
7642         result and force underflow exception if required.
7643         * math/auto-libm-test-in: Add more tests of exp.
7644         * math/auto-libm-test-out: Regenerated.
7645         * sysdeps/i386/fpu/libm-test-ulps: Update.
7646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7648         [BZ #16283]
7649         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7650         * math/w_exp2f.c (__exp2f): Likewise.
7651         * math/w_exp2l.c (__exp2l): Likewise.
7652         * math/auto-libm-test-in: Do not allow missing errno on exp2
7653         underflow.
7654         * math/auto-libm-test-out: Regenerated.
7656 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
7658         [BZ #16274]
7659         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7660         handle filename validation.
7661         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7662         (do_open): Delete.
7664 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7666         [BZ #6786]
7667         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7668         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7669         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7670         <float.h>.
7671         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7672         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7673         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7674         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7675         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7676         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7677         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7678         * math/auto-libm-test-in: Don't allow missing errno from erfc.
7679         Add more erfc tests.
7680         * math/auto-libm-test-out: Regenerated.
7681         * sysdeps/i386/fpu/libm-test-ulps: Update.
7682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7684         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7685         exp2, expm1, j0 and j1.
7686         * math/auto-libm-test-out: Regenerated.
7687         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7688         (erfc_test_data): Likewise.
7689         (exp_test_data): Likewise.
7690         (exp_tonearest_test_data): Likewise.
7691         (exp_towardzero_test_data): Likewise.
7692         (exp_downward_test_data): Likewise.
7693         (exp_upward_test_data): Likewise.
7694         (exp10_test_data): Likewise.
7695         (exp2_test_data): Likewise.
7696         (expm1_test_data): Likewise.
7697         (j0_test_data): Likewise.
7698         (j1_test_data): Likewise.
7699         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7700         (input_flag_type): Add flag_xfail_rounding.
7701         (input_flags): Add xfail-rounding.
7702         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7703         (output_for_one_input_case): Handle flag_xfail_rounding.
7704         * sysdeps/i386/fpu/libm-test-ulps: Update.
7705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7707 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
7709         [BZ #16289]
7710         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7711         division by 0.
7713 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7715         [BZ #16195]
7716         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7717         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7718         (STAP_PROBE0): New macro.
7719         (STAP_PROBE1): Likewise.
7720         (STAP_PROBE2): Likewise.
7721         (STAP_PROBE3): Likewise.
7722         (STAP_PROBE4): Likewise.
7724 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
7726         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7728 2013-12-02  Steve Ellcey  <sellcey@mips.com>
7730         * benchtests/Makefile (bench): Add sqrt.
7731         (LDLIBS-bench-sqrt): New.
7732         * benchtests/sqrt-input: New.
7734 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
7736         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7737         (GAIH_EAI): Likewise.
7738         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7739         (gaih_inet): Likewise.
7740         (getaddrinfo): Don't use GAIH_EAI.
7742         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7743         (struct gaih): Remove definition.
7745 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7747         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7748         Use HERRNOP directly.
7750 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7754 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
7756         * math/gen-auto-libm-tests.c (test_functions): Add more
7757         single-argument functions.
7758         (special_fill_pi_2): New function.
7759         (special_fill_minus_pi_2): Likewise.
7760         (special_fill_pi_6): Likewise.
7761         (special_fill_minus_pi_6): Likewise.
7762         (special_fill_pi_3): Likewise.
7763         (special_fill_2pi_3): Likewise.
7764         (special_fill_e): Likewise.
7765         (special_fill_1_e): Likewise.
7766         (special_fill_e_minus_1): Likewise.
7767         (special_real_inputs): Add more special inputs.
7768         (output_for_one_input_case): Do not require ERANGE on underflow to
7769         zero if round-to-nearest result does not underflow to zero, unless
7770         exact results required.
7771         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7772         atan, atanh, cbrt, cos and cosh.
7773         * math/auto-libm-test-out: Regenerated.
7774         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7775         (acos_tonearest_test_data): Likewise.
7776         (acos_towardzero_test_data): Likewise.
7777         (acos_downward_test_data): Likewise.
7778         (acos_upward_test_data): Likewise.
7779         (acosh_test_data): Likewise.
7780         (asin_test_data): Likewise.
7781         (asin_tonearest_test_data): Likewise.
7782         (asin_towardzero_test_data): Likewise.
7783         (asin_upward_test_data): Likewise.
7784         (asinh_test_data): Likewise.
7785         (atan_test_data): Likewise.
7786         (atanh_test_data): Likewise.
7787         (cbrt_test_data): Likewise.
7788         (cos_test_data): Likewise.
7789         (cos_tonearest_test_data): Likewise.
7790         (cos_towardzero_test_data): Likewise.
7791         (cos_downward_test_data): Likewise.
7792         (cos_upward_test_data): Likewise.
7793         (cosh_test_data): Likewise.
7794         (cosh_tonearest_test_data): Likewise.
7795         (cosh_towardzero_test_data): Likewise.
7796         (cosh_downward_test_data): Likewise.
7797         (cosh_upward_test_data): Likewise.
7798         * sysdeps/i386/fpu/libm-test-ulps: Update.
7799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7801 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
7803         [BZ #6787]
7804         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7805         * math/w_exp10f.c (__exp10f): Likewise.
7806         * math/w_exp10l.c (__exp10l): Likewise.
7807         * math/libm-test.inc (exp10_test_data): Add more tests and expect
7808         errno settings in existing tests.
7810         [BZ #14032]
7811         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7812         precision control set to double precision.
7813         * sysdeps/i386/fpu/w_sqrt.c: New file.
7814         * math/auto-libm-test-in: Add more tests.
7815         * math/auto-libm-test-out: Update.
7817         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7818         (sqrt_test_tonearest): New function.
7819         (sqrt_towardzero_test_data): New variable.
7820         (sqrt_test_towardzero): New function.
7821         (sqrt_downward_test_data): New variable.
7822         (sqrt_test_downward): New function.
7823         (sqrt_upward_test_data): New variable.
7824         (sqrt_test_upward): New function.
7825         (main): Call the new functions.
7827         * math/gen-auto-libm-tests.c: New file.
7828         * math/auto-libm-test-in: Likewise.
7829         * math/auto-libm-test-out: New generated file.
7830         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7831         variables.
7832         (%beautify): Add generated representations of zero.
7833         (top level): Set $auto_input and call parse_auto_input.
7834         (beautify): Remove trailing "f" from hex float constants.
7835         (parse_args): Handle XFAIL_TEST.
7836         (convert_condition): New function.
7837         (or_value): Likewise.
7838         (or_cond_value): Likewise.
7839         (generate_testfile): Handle AUTO_TESTS_* lines.
7840         (parse_auto_input): New function.
7841         * math/libm-test.inc (XFAIL_TEST): New macro.
7842         (ERRNO_UNCHANGED): Update value.
7843         (ERRNO_EDOM): Likewise.
7844         (ERRNO_ERANGE): Likewise.
7845         (IGNORE_RESULT): Likewise.
7846         (TEST_COND_flt_32): New macro.
7847         (TEST_COND_dbl_64): Likewise.
7848         (TEST_COND_ldbl_96_intel): Likewise.
7849         (TEST_COND_ldbl_96_m68k): Likewise.
7850         (TEST_COND_ldbl_128): Likewise.
7851         (TEST_COND_ldbl_128ibm): Likewise.
7852         (TEST_COND_long32): Likewise.
7853         (TEST_COND_long64): Likewise.
7854         (TEST_COND_before_rounding): Likewise.
7855         (TEST_COND_after_rounding): Likewise.
7856         (enable_test): Handle XFAIL_TEST flag.
7857         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7858         with finite results.
7859         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7860         auto-libm-test-out.
7862 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7863             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7865         [BZ #16214]
7866         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7867         __tls_get_addr_internal instead of __tls_get_offset in order to
7868         avoid GOT pointer dependency.  Make rtld export
7869         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7870         __tls_get_addr since we are a __tls_get_offset platform.
7871         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7872         GOT pointer being set up before.
7873         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7875 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
7877         * manual/math.texi (Errors in Math Functions): Document accuracy
7878         goals.
7880         [BZ #15004]
7881         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7882         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7883         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7884         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7885         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7886         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7887         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7888         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7889         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7890         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7891         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7892         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7893         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7894         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7895         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7896         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7898         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7899         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7900         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7901         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7902         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7903         Likewise.
7904         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7905         Likewise.
7906         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7907         Likewise.
7908         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7909         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7910         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7911         atomic-feupdateenv and flt-rounds.
7912         * sysdeps/powerpc/nofpu/Versions (libc): Add
7913         __atomic_feholdexcept, __atomic_feclearexcept,
7914         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7915         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7916         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7917         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7918         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7919         here.
7920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7921         Update.
7923         * manual/arith.texi (FP Exceptions): Document that exceptions may
7924         not be raised when matherr is used.
7925         (Math Error Reporting): Document overflow in directed rounding
7926         modes.  Document that errno may not be set when finite values are
7927         returned on overflow.  Document intent to set errno on underflow
7928         only for underflow to zero.
7930         [BZ #16271]
7931         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7932         round-to-nearest then adjust result for other rounding modes.
7933         * include/fenv.h (fegetround): Use libm_hidden_proto.
7934         * math/fegetround.c (fegetround): Use libm_hidden_def.
7935         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7936         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7937         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7938         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7939         Likewise.
7940         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7941         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7942         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7943         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7945 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7947         [BZ #16077]
7948         * nss/Versions (libnss_files): Add
7949         _nss_files_gethostbyname3_r.
7950         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7951         New function.
7952         (HOST_DB_LOOKUP): Remove macro.
7953         (_nss_files_gethostbyname_r): Implement function without the
7954         HOST_DB_LOOKUP macro.
7955         (_nss_files_gethostbyname2_r): Likewise.
7957 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
7959         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7961 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
7963         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7964         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7965         warning.
7967 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7969         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7970         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7971         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7972         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7973         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7974         __fe_nomask_env_priv and attribute_hidden.
7975         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7976         (libc_feupdateenv_test_ppc): Likewise.
7977         (libc_feresetround_ppc): Likewise.
7978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7979         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7980         compat_symbol macro.
7981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7982         (__fe_nomask_env): Likewise.
7983         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7985 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7987         * string/Makefile: Remove ifunc tests.
7988         * string/test-string.h: Define TEST_IFUNC.
7989         * string/test-bcopy-ifunc.c: Remove.
7990         * string/test-bzero-ifunc.c: Likewise.
7991         * string/test-memccpy-ifunc.c: Likewise.
7992         * string/test-memchr-ifunc.c: Likewise.
7993         * string/test-memcmp-ifunc.c: Likewise.
7994         * string/test-memcpy-ifunc.c: Likewise.
7995         * string/test-memmem-ifunc.c: Likewise.
7996         * string/test-memmove-ifunc.c: Likewise.
7997         * string/test-mempcpy-ifunc.c: Likewise.
7998         * string/test-memrchr-ifunc.c: Likewise.
7999         * string/test-memset-ifunc.c: Likewise.
8000         * string/test-rawmemchr-ifunc.c: Likewise.
8001         * string/test-stpcpy-ifunc.c: Likewise.
8002         * string/test-stpncpy-ifunc.c: Likewise.
8003         * string/test-strcasecmp-ifunc.c: Likewise.
8004         * string/test-strcasestr-ifunc.c: Likewise.
8005         * string/test-strcat-ifunc.c: Likewise.
8006         * string/test-strchr-ifunc.c: Likewise.
8007         * string/test-strchrnul-ifunc.c: Likewise.
8008         * string/test-strcmp-ifunc.c: Likewise.
8009         * string/test-strcpy-ifunc.c: Likewise.
8010         * string/test-strcspn-ifunc.c: Likewise.
8011         * string/test-strlen-ifunc.c: Likewise.
8012         * string/test-strncasecmp-ifunc.c: Likewise.
8013         * string/test-strncat-ifunc.c: Likewise.
8014         * string/test-strncmp-ifunc.c: Likewise.
8015         * string/test-strncpy-ifunc.c: Likewise.
8016         * string/test-strnlen-ifunc.c: Likewise.
8017         * string/test-strpbrk-ifunc.c: Likewise.
8018         * string/test-strrchr-ifunc.c: Likewise.
8019         * string/test-strspn-ifunc.c: Likewise.
8020         * string/test-strstr-ifunc.c: Likewise.
8022 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8024         * benchtests/Makefile: Remove ifunc tests.
8025         * benchtests/bench-string.h: Define TEST_IFUNC.
8026         * benchtests/bench-bcopy-ifunc.c: Remove.
8027         * benchtests/bench-bzero-ifunc.c: Likewise.
8028         * benchtests/bench-memccpy-ifunc.c: Likewise.
8029         * benchtests/bench-memchr-ifunc.c: Likewise.
8030         * benchtests/bench-memcmp-ifunc.c: Likewise.
8031         * benchtests/bench-memcpy-ifunc.c: Likewise.
8032         * benchtests/bench-memmem-ifunc.c: Likewise.
8033         * benchtests/bench-memmove-ifunc.c: Likewise.
8034         * benchtests/bench-mempcpy-ifunc.c: Likewise.
8035         * benchtests/bench-memrchr-ifunc.c: Likewise.
8036         * benchtests/bench-memset-ifunc.c: Likewise.
8037         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8038         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8039         * benchtests/bench-stpcpy-ifunc.c: Likewise.
8040         * benchtests/bench-stpncpy-ifunc.c: Likewise.
8041         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8042         * benchtests/bench-strcasestr-ifunc.c: Likewise.
8043         * benchtests/bench-strcat-ifunc.c: Likewise.
8044         * benchtests/bench-strchr-ifunc.c: Likewise.
8045         * benchtests/bench-strchrnul-ifunc.c: Likewise.
8046         * benchtests/bench-strcmp-ifunc.c: Likewise.
8047         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8048         * benchtests/bench-strcpy-ifunc.c: Likewise.
8049         * benchtests/bench-strcspn-ifunc.c: Likewise.
8050         * benchtests/bench-strlen-ifunc.c: Likewise.
8051         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8052         * benchtests/bench-strncat-ifunc.c: Likewise.
8053         * benchtests/bench-strncmp-ifunc.c: Likewise.
8054         * benchtests/bench-strncpy-ifunc.c: Likewise.
8055         * benchtests/bench-strnlen-ifunc.c: Likewise.
8056         * benchtests/bench-strpbrk-ifunc.c: Likewise.
8057         * benchtests/bench-strrchr-ifunc.c: Likewise.
8058         * benchtests/bench-strsep-ifunc.c: Likewise.
8059         * benchtests/bench-strspn-ifunc.c: Likewise.
8060         * benchtests/bench-strstr-ifunc.c: Likewise.
8062 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8064         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8066 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8068         * resolv/netdb.h: Use __glibc_reserved instead __unused.
8069         * rt/aio.h: Likewise.
8070         * sysdeps/gnu/bits/utmp.h: Likewise.
8071         * sysdeps/gnu/bits/utmpx.h: Likewise.
8072         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8073         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8074         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8075         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8076         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8077         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8078         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8079         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8080         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8081         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8082         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8083         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8084         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8086         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8087         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8088         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8089         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8090         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8091         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8092         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8093         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8094         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8095         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8096         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8098         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8099         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8100         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8101         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8102         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8103         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8104         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8105         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8106         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8107         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8108         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8109         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8110         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8111         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8112         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8113         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8115 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
8117         [BZ #16245]
8118         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8119         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8121 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
8123         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8124         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8125         Likewise.
8127 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8129         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8130         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8131         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8132         (__fesetround): Remove define.
8133         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8134         rounding and exceptions handling.
8135         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8136         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8137         (__fe_nomask_env): Likewise.
8138         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8139         __fegetround instead of fegetround.
8140         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8141         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8143 2013-11-21  Roland McGrath  <roland@hack.frob.com>
8145         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8146         it's there.
8148         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8150 2013-11-21  Meador Inge  <meadori@codesourcery.com>
8152         [BZ #11157]
8153         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8154         (encrypt_r): Likewise.
8155         * malloc/obstack.h (obstack_free): Likewise.
8156         * posix/unistd.h (encrypt): Likewise.
8158 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
8160         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8161         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8162         DL_CALL_DT_FINI() that call the functions directly.
8163         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8164         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8165         * elf/dl-fini.c: Likewise.
8167 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
8169         * malloc/hooks.c (memalign_check): Add alignment rounding.
8170         * malloc/malloc.c (_mid_memalign): New function.
8171         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8172         Implement by calling _mid_memalign.
8173         * manual/probes.texi (Memory Allocation Probes): Remove
8174         memory_valloc_retry and memory_pvalloc_retry.
8176 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8178         * locale/programs/locarchive.c (open_archive): Add const
8179         qualifier to ARCHIVEFNAME and copy default fname to
8180         DEFAULT_FNAME.
8182         [BZ #15601]
8183         * libio/tst-widetext.input: Rename Oriya to Odia.
8184         * locale/iso-639.def: Likewise.
8186         * manual/probes.texi (Mathematical Function Probes): Add
8187         documentation for sin, cos, asin and acos probes.
8188         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8189         (__sin32): Add slowasin probe.
8190         (__cos32): Add slowacos probe.
8191         (__mpsin): Add slowsin probe.
8192         (__mpcos): Add slowcos probe.
8194 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
8196         [BZ #15483]
8197         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8198         thread-local __sim_exceptions_thread and global
8199         __sim_exceptions_global.
8200         (__sim_disabled_exceptions): Change to thread-local
8201         __sim_disabled_exceptions_thread and global
8202         __sim_disabled_exceptions_global.
8203         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8204         and global __sim_round_mode_global.
8205         (__simulate_exceptions): Use thread-local floating-point state and
8206         set global state from it as needed.
8207         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8208         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8209         __sim_round_mode_thread.
8210         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8211         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8212         and global __sim_exceptions_global.
8213         (__sim_disabled_exceptions): Change to thread-local
8214         __sim_disabled_exceptions_thread and global
8215         __sim_disabled_exceptions_global.
8216         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8217         and global __sim_round_mode_global.
8218         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8219         (SIM_SET_GLOBAL): Likewise.
8220         * sysdeps/powerpc/soft-fp/sfp-machine.h
8221         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8222         __sim_round_mode_thread.
8223         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8224         __sim_disabled_exceptions_thread.
8225         (__sim_exceptions): Change to __sim_exceptions_thread.
8226         (__sim_disabled_exceptions): Change to
8227         __sim_disabled_exceptions_thread.
8228         (__sim_round_mode): Change to __sim_round_mode_thread.
8229         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8230         thread-local floating-point state and set global state from it as
8231         needed.
8232         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8233         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8234         (__sim_disabled_exceptions): Remove extern declaration.
8235         (feenableexcept): Use thread-local floating-point state and set
8236         global state from it as needed.
8237         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8238         extern declaration.
8239         (__sim_disabled_exceptions): Likewise.
8240         (__sim_round_mode): Likewise.
8241         (__fegetenv): Use thread-local floating-point state.
8242         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8243         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8244         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8245         floating-point state and set global state from it as needed.
8246         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8247         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8248         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8249         Likewise.
8250         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8251         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8252         Likewise.
8253         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8254         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8255         Use __sim_round_mode_thread.
8256         * math/test-fenv-tls.c: New file.
8257         * math/Makefile (tests): Add test-fenv-tls.
8258         ($(objpfx)test-fenv-tls): Depend on
8259         $(common-objpfx)nptl/libpthread.so.
8261 2013-11-19  Andreas Schwab  <schwab@suse.de>
8263         * locale/programs/locale.c (show_info): Decode wordarray elements.
8264         * locale/categories.def (LC_MONETARY): Add element for
8265         _NL_MONETARY_CRNCYSTR.
8266         * locale/C-monetary.c (conversion_rate): New variable.
8267         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8268         element.
8270 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
8272         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8273         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8275 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8277         * elf/Makefile (tst-auxv): New test.
8278         * elf/tst-auxv.c: New
8279         * elf/rtld.c (dl_main): Adjust AT_EXECFN
8281 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
8283         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8284         (hidden_proto): Caller changed.
8285         (hidden_tls_proto): New macro.
8286         (libc_hidden_tls_proto): Likewise.
8287         (rtld_hidden_tls_proto): Likewise.
8288         (libm_hidden_tls_proto): Likewise.
8289         (libresolv_hidden_tls_proto): Likewise.
8290         (librt_hidden_tls_proto): Likewise.
8291         (libdl_hidden_tls_proto): Likewise.
8292         (libnss_files_hidden_tls_proto): Likewise.
8293         (libnsl_hidden_tls_proto): Likewise.
8294         (libnss_nisplus_hidden_tls_proto): Likewise.
8295         (libutil_hidden_tls_proto): Likewise.
8297 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
8299         [BZ #10253]
8300         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8301         (decompose_rpath): Defer expansion to fillin_rpath.
8302         (_dl_init_paths): Pass linkmap to fillin_rpath.
8304 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8306         * benchtests/Makefile: Add strsep.
8307         * benchtests/bench-strsep.c: New file: strsep benchtest.
8308         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8310 2013-11-18  Andreas Schwab  <schwab@suse.de>
8312         * locale/programs/locale.c (show_info) [case byte]: Check for
8313         '\377' instead of '\177'.
8314         * locale/C-monetary.c (not_available): Always use "\377".
8315         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8316         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
8317         detect unavailable sign_posn locale elements.
8318         * locale/localeconv.c (__localeconv): For grouping and
8319         mon_grouping handle "\177" and "\377" like no grouping.
8320         (INT_ELEM): New macro.  Use it to set all numeric members.
8321         * locale/programs/ld-monetary.c (monetary_read)
8322         <tok_mon_grouping>: Normalize single -1 to the empty string.
8323         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8324         Likewise.
8326 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8328         [BZ #16055]
8329         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8330         when we match (nil).
8331         * stdio-common/tst-sscanf.c (struct test): Add testcase.
8333 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
8335         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8336         (NO_TEST_INLINE): Update value.
8337         (ERRNO_UNCHANGED): Likewise.
8338         (ERRNO_EDOM): Likewise.
8339         (ERRNO_ERANGE): Likewise.
8340         (IGNORE_RESULT): Likewise.
8341         (check_float_internal): Check signs of NaN results if
8342         TEST_NAN_SIGN used.
8343         (check_complex): Pass TEST_NAN_SIGN flag through to second
8344         check_float_internal call.
8345         (copysign_test_data): Add tests with quiet NaNs as second
8346         argument.  Use TEST_NAN_SIGN.
8347         (fabs_test_data): Add test of negative quiet NaN argument.  Use
8348         TEST_NAN_SIGN.
8349         (signbit_test_data): Add tests of quiet NaN argument.
8350         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8352         * math/gen-libm-test.pl (show_exceptions): Take extra argument
8353         $ignore_result.
8354         (parse_args): Handle function results specified as IGNORE.
8355         * math/libm-test.inc (IGNORE_RESULT): New macro.
8356         (check_float_internal): Do not check numerical result if flag
8357         IGNORE_RESULT set.
8358         (check_complex): Pass through IGNORE_RESULT to second
8359         check_float_internal call.
8360         (check_int): Do not check numerical result if flag IGNORE_RESULT
8361         set.
8362         (check_long): Likewise.
8363         (check_bool): Likewise.
8364         (check_longlong): Likewise.
8365         (lrint_test_data): Add tests of infinite and NaN arguments.
8366         (lrint_tonearest_test_data): Likewise.
8367         (lrint_towardzero_test_data): Likewise.
8368         (lrint_downward_test_data): Likewise.
8369         (lrint_upward_test_data): Likewise.
8370         (llrint_test_data): Likewise.
8371         (llrint_tonearest_test_data): Likewise.
8372         (llrint_towardzero_test_data): Likewise.
8373         (llrint_downward_test_data): Likewise.
8374         (llrint_upward_test_data): Likewise.
8375         (lround_test_data): Likewise.
8376         (llround_test_data): Likewise.
8378         * math/libm-test.inc (NO_TEST_INLINE): New macro.
8379         (ERRNO_UNCHANGED): Update value.
8380         (ERRNO_EDOM): Likewise.
8381         (ERRNO_ERANGE): Likewise.
8382         (NO_TEST_INLINE_FLOAT): New macro.
8383         (NO_TEST_INLINE_DOUBLE): Likewise.
8384         (enable_test): New function.
8385         (RUN_TEST_f_f): Check enable_test before running test.
8386         (RUN_TEST_2_f): Likewise.
8387         (RUN_TEST_fff_f): Likewise.
8388         (RUN_TEST_c_f): Likewise.
8389         (RUN_TEST_f_f1): Likewise.
8390         (RUN_TEST_fF_f1): Likewise.
8391         (RUN_TEST_fI_f1): Likewise.
8392         (RUN_TEST_ffI_f1): Likewise.
8393         (RUN_TEST_c_c): Likewise.
8394         (RUN_TEST_cc_c): Likewise.
8395         (RUN_TEST_f_i): Likewise.
8396         (RUN_TEST_f_i_tg): Likewise.
8397         (RUN_TEST_ff_i_tg): Likewise.
8398         (RUN_TEST_f_b): Likewise.
8399         (RUN_TEST_f_b_tg): Likewise.
8400         (RUN_TEST_f_l): Likewise.
8401         (RUN_TEST_f_L): Likewise.
8402         (RUN_TEST_fFF_11): Likewise.
8403         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8404         conditionals.
8405         (cosh_test_data): Likewise.
8406         (exp_test_data): Likewise.
8407         (expm1_test_data): Likewise.
8408         (hypot_test_data): Likewise.
8409         (pow_test_data): Likewise.
8410         (sinh_test_data): Likewise.
8411         (tanh_test_data): Likewise.
8412         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8413         flags argument.
8415         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8416         tests with quiet NaN input and output.
8417         (acosh_test_data): Likewise.
8418         (asin_test_data): Likewise.
8419         (asinh_test_data): Likewise.
8420         (atan_test_data): Likewise.
8421         (atanh_test_data): Likewise.
8422         (atan2_test_data): Likewise.
8423         (cbrt_test_data): Likewise.
8424         (cos_test_data): Likewise.
8425         (cosh_test_data): Likewise.
8426         (erf_test_data): Likewise.
8427         (erfc_test_data): Likewise.
8428         (exp_test_data): Likewise.
8429         (exp10_test_data): Likewise.
8430         (exp2_test_data): Likewise.
8431         (expm1_test_data): Likewise.
8432         (hypot_test_data): Likewise.
8433         (j0_test_data): Likewise.
8434         (j1_test_data): Likewise.
8435         (jn_test_data): Likewise.
8436         (lgamma_test_data): Likewise.
8437         (log_test_data): Likewise.
8438         (log10_test_data): Likewise.
8439         (log1p_test_data): Likewise.
8440         (log2_test_data): Likewise.
8441         (pow_test_data): Likewise.
8442         (scalb_test_data): Likewise.
8443         (sin_test_data): Likewise.
8444         (sincos_test_data): Likewise.
8445         (sinh_test_data): Likewise.
8446         (tan_test_data): Likewise.
8447         (tanh_test_data): Likewise.
8448         (tgamma_test_data): Likewise.
8449         (y0_test_data): Likewise.
8450         (y1_test_data): Likewise.
8451         (yn_test_data): Likewise.
8453         [BZ #16167]
8454         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8455         argument being NaN and avoid computations with second argument in
8456         that case.
8457         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8458         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8459         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8461 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
8463         * locale/iso-639.def: Add Chitwani Tharu (the).
8465 2013-11-14  Andreas Schwab  <schwab@suse.de>
8467         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8468         word instead of empty string.
8470 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8473         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8475         (__fe_nomask_env): Likewise.
8477 2013-11-13  Steve Ellcey  <sellcey@mips.com>
8479         * benchtests/bench-timing.h: Include time.h.
8481 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
8483         [BZ #15997]
8484         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8485         to 3.4.0 for x32.
8486         * sysdeps/unix/sysv/linux/configure: Regenerated.
8488 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
8490         [BZ #16151]
8491         * stdlib/strtod_l.c (round_and_return): Do not consider
8492         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8493         exponent one less than half the least subnormal exponent.
8494         * stdlib/test-strtod-round-data: Add more tests.
8495         * stdlib/tst-strtod-round.c (tests): Regenerated.
8497 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8499         [BZ #14143]
8500         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8501         (__fe_mask_env): Likewise.
8502         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8503         libm_hidden_proto and add function prototype.
8504         (__fe_mask_env): Add function prototype.
8505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8506         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8508         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8510         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8512 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8514         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8515         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8517 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8519         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8520         of htab_find_slot().
8522 2013-11-11  David S. Miller  <davem@davemloft.net>
8524         [BZ #16150]
8525         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8526         symbol in the non-vis3 case in static builds.
8527         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8528         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8529         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8530         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8532 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8534         [BZ #387]
8535         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8536         it is empty.
8538 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8540         * benchtests/Makefile: Add bench-strtod.
8541         * benchtests/bench-strtod.c: New file: strtod benchtest
8543 2013-11-11  Andreas Schwab  <schwab@suse.de>
8545         [BZ #16153]
8546         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8547         terminating NUL in key length.
8549 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8551         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8552         Add artificial ODP entry for vDSO symbol for PPC64.
8553         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8554         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8556 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8558         [BZ #15374]
8559         * nss/getent.c (services_keys): Recognize services starting with digit.
8561 2013-11-06  David S. Miller  <davem@davemloft.net>
8563         [BZ #15985]
8564         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8565         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8567 2013-11-06  Will Newton  <will.newton@linaro.org>
8569         * manual/memory.texi (Malloc Examples): Remove register
8570         keyword from examples.
8572 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
8574         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8576 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
8578         [BZ #6981]
8579         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8580         depending on [__GCC_IEC_559 > 0].
8581         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8582         depending on [__GCC_IEC_559_COMPLEX > 0].
8584 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
8586         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8587         to iso-639.def.
8589 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
8591         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8593 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
8595         [BZ #16112]
8596         * malloc/malloc (malloc_info): Do not handle first bin as
8597         special case.
8599 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
8601         * locale/iso-639.def: Add Central Nahuatl (nhn).
8603 2013-11-01  Bruno Haible  <bruno@clisp.org>
8605         [BZ #7003]
8606         * manual/math.texi (BSD Random): Specify range upper bound as
8607         in POSIX.
8609 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
8611         * locale/iso-639.def: Add Meadow Mari (mhr).
8613 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
8615         [BZ #14752], [BZ #15763]
8616         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8617         Validate name.
8618         * rt/tst_shm.c: Add test for escaping directory.
8620 2013-10-31  Andreas Schwab  <schwab@suse.de>
8622         [BZ #15917]
8623         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8624         followed by 'x' as part of digit sequence.
8625         * stdio-common/tst-sscanf.c (double_tests2): New tests.
8627 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8629         [BZ #16037]
8630         * configure.ac: allow GNU Make 4.0 and greater.
8631         * configure: Regenerated.
8633 2013-10-30  Will Newton  <will.newton@linaro.org>
8635         [BZ #16038]
8636         * malloc/hooks.c (memalign_check): Limit alignment to the
8637         maximum representable power of two.
8638         * malloc/malloc.c (__libc_memalign): Likewise.
8639         * malloc/tst-memalign.c (do_test): Add test for very
8640         large alignment values.
8641         * malloc/tst-posix_memalign.c (do_test): Likewise.
8643 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8645         [BZ #11087]
8646         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8647         (munmap_chunk): Likewise.
8648         (mremap_chunk): Likewise.
8650 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8652         [BZ #15799]
8653         * stdlib/div.c (div): Remove obsolete code.
8654         * stdlib/ldiv.c (ldiv): Likewise.
8655         * stdlib/lldiv.c (lldiv): Likewise.
8657 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8659         [BZ #16071]
8660         * nss/nss_files/files-XXX.c (get_contents_ret): New
8661         enumerator.
8662         (get_contents): New function.
8663         (internal_getent): Use it.  Expand size of LINEBUFLEN.
8665 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
8667         * configure.in: Moved to ...
8668         * configure.ac: ... here. Change reference to configure.in
8669         to configure.ac.
8670         * sysdeps/arm/preconfigure.ac: ... here.
8671         configure.in to configure.ac.
8672         * sysdeps/gnu/configure.in: Moved to ...
8673         * sysdeps/gnu/configure.ac: ... here.
8674         * sysdeps/i386/configure.in: Moved to ...
8675         * sysdeps/i386/configure.ac: ... here.
8676         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8677         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8678         * sysdeps/mach/configure.in: Moved to ...
8679         * sysdeps/mach/configure.ac: ... here.
8680         * sysdeps/mach/hurd/configure.in: Moved to ...
8681         * sysdeps/mach/hurd/configure.ac: ... here.
8682         * sysdeps/powerpc/configure.in: Moved to ...
8683         * sysdeps/powerpc/configure.ac: ... here.
8684         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8685         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8686         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8687         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8688         * sysdeps/s390/s390-32/configure.in: Moved to ...
8689         * sysdeps/s390/s390-32/configure.ac: ... here.
8690         * sysdeps/s390/s390-64/configure.in: Moved to ...
8691         * sysdeps/s390/s390-64/configure.ac: ... here.
8692         * sysdeps/sh/configure.in: Moved to ...
8693         * sysdeps/sh/configure.ac: ... here.
8694         * sysdeps/sparc/configure.in: Moved to ...
8695         * sysdeps/sparc/configure.ac: ... here.
8696         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8697         * sysdeps/unix/sysv/linux/configure.ac: ... here.
8698         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8699         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8700         * sysdeps/x86_64/configure.in: Moved to ...
8701         * sysdeps/x86_64/configure.ac: ... here.
8702         * sysdeps/x86_64/preconfigure.in: Moved to ...
8703         * sysdeps/x86_64/preconfigure.ac: ... here.
8704         * aclocal.m4: Change reference to configure.in to configure.ac.
8705         * config.h.in: Likewise.
8706         * manual/install.texi: Likewise.
8707         * manual/maint.texi: Likewise.
8708         * Makefile: Likewise.
8709         * malloc/Makefile: Likewise.
8710         * nscd/Makefile: Likewise.
8711         * Makeconfig: Change reference to configure.in and
8712         preconfigure.in to configure.ac and preconfigure.ac
8713         respectively.
8714         * INSTALL: Regenerated.
8715         * configure: Likewise.
8716         * sysdeps/gnu/configure: Likewise.
8717         * sysdeps/i386/configure: Likewise.
8718         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8719         * sysdeps/mach/configure: Likewise.
8720         * sysdeps/mach/hurd/configure: Likewise.
8721         * sysdeps/powerpc/configure: Likewise.
8722         * sysdeps/powerpc/powerpc32/configure: Likewise.
8723         * sysdeps/powerpc/powerpc64/configure: Likewise.
8724         * sysdeps/s390/s390-32/configure: Likewise.
8725         * sysdeps/s390/s390-64/configure: Likewise.
8726         * sysdeps/sh/configure: Likewise.
8727         * sysdeps/sparc/configure: Likewise.
8728         * sysdeps/unix/sysv/linux/configure: Likewise.
8729         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8730         * sysdeps/x86_64/configure: Likewise.
8731         * sysdeps/x86_64/preconfigure: Likewise.
8733 2013-10-29  Andreas Schwab  <schwab@suse.de>
8735         * stdio-common/Makefile (tst-swscanf-ENV): Define.
8737 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8739         * benchtests/pow-inputs: Add new inputs.
8741         * benchtests/exp-inputs: Add new inputs.
8743         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8744         conditional check for return value.
8745         (__cos32): Likewise.
8747 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8749         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8750         to provide a boost for large inputs with word alignment.
8751         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8752         implementation based on optimized PPC64 strcpy.
8753         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8754         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8755         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8756         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8758 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8760         [BZ #2801]
8761         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8763 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8765         [BZ #14876]
8766         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8767         * time/tst-strptime.c (day_tests): Add testcase.
8769 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8771         [BZ #14029]
8772         * manual/pattern.texi: Acknowledge that fnmatch can fail.
8774 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
8776         [BZ #16074]
8777         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8778         MAP_FAILED on error.
8780 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8782         [BZ #16072]
8783         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8784         heap for large requests.
8786 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
8788         [BZ #9954]
8789         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8790         result if the result has no associated interface.
8791         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8792         interface for all 127.X.Y.Z addresses.
8794 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
8796         * locale/iso-639.def: Add Ligurian (lij)
8798 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
8800         [BZ #15825]
8801         * sunrpc/rpc_main.c: Document rpcgen -5.
8803 2013-10-19  Michael Stahl  <mstahl@redhat.com>
8805         * elf/rtld.c (do_preload): Print the reason why preloading failed.
8807 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8809         [BZ #10278]
8810         * posix/glob.c: Match only directories when trailing slash is present.
8811         * posix/tst-gnuglob.c (my_opendir): Do not open files.
8812         (main): Add testcase.
8814 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8816         [BZ #15670]
8817         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8819 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
8821         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8822         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8823         AUTH_DES and cindex for FIPS 140-2.
8824         (DES Encryption): Add cindex FIPS 46-3.
8826         * locale/locarchive.h (struct locarhandle): Add fname.
8827         * locale/programs/localedef.c (main): Pass ARGV[remaining]
8828         if an optional argument was specified to --list-archive,
8829         otherwise NULL.
8830         * locale/programs/locarchive.c (show_archive_content): Take new
8831         argument fname and pass it via ah.fname to open_archive.
8832         * locale/programs/localedef.h: Update decl.
8833         (open_archive): If AH->fname is non-null, open that file
8834         rather than the default file name, and don't ignore ENOENT.
8835         (create_archive): Set AH.fname to NULL.
8836         (delete_locales_from_archive): Likewise.
8837         (add_locales_to_archive): Likewise.
8838         * locale/programs/locfile.c (write_all_categories): Likewise.
8840 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
8841             Aldy Hernandez  <aldyh@redhat.com>
8843         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8844         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8845         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8846         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8847         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8848         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8849         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8850         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8851         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8852         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8853         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8854         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8855         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8856         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8857         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8858         Likewise.
8859         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8860         Likewise.
8861         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8862         Likewise.
8863         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8864         Likewise.
8865         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8866         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8867         Likewise.
8868         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8869         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8870         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8871         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8872         Likewise.
8873         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8874         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8875         * sysdeps/powerpc/preconfigure: Likewise.
8876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8877         Likewise.
8878         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8879         Replace contents of file by #include of <fenv_libc.h>.
8880         * sysdeps/powerpc/soft-fp/sfp-machine.h
8881         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8882         and <sys/prctl.h>.
8883         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8884         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8885         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8887         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8889         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8890         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8891         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8892         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8893         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8894         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8896         Allow copysignl PLT reference to be missing.
8898 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
8899             Joseph Myers  <joseph@codesourcery.com
8901         [BZ #15948]
8902         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8903         single character.
8904         (add_to_tablewc): Assert sequence of wide characters is nonempty.
8906 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8908         * elf/tst-tls-dlinfo.c: Don't include tls.h.
8909         * elf/tst-tls1.c: Likewise.
8910         * elf/tst-tls10.h: Likewise.
8911         * elf/tst-tls14.c: Likewise.
8912         * elf/tst-tls2.c: Likewise.
8913         * elf/tst-tls3.c: Likewise.
8914         * elf/tst-tls4.c: Likewise.
8915         * elf/tst-tls5.c: Likewise.
8916         * elf/tst-tls6.c: Likewise.
8917         * elf/tst-tls7.c: Likewise.
8918         * elf/tst-tls8.c: Likewise.
8919         * elf/tst-tls9.c: Likewise.
8920         * elf/tst-tlsmod1.c: Likewise.
8921         * elf/tst-tlsmod13.c: Likewise.
8922         * elf/tst-tlsmod13a.c: Likewise.
8923         * elf/tst-tlsmod14a.c: Likewise.
8924         * elf/tst-tlsmod16a.c: Likewise.
8925         * elf/tst-tlsmod16b.c: Likewise.
8926         * elf/tst-tlsmod2.c: Likewise.
8927         * elf/tst-tlsmod3.c: Likewise.
8928         * elf/tst-tlsmod4.c: Likewise.
8929         * elf/tst-tlsmod5.c: Likewise.
8930         * elf/tst-tlsmod6.c: Likewise.
8932 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
8934         [BZ #12486]
8935         * malloc/malloc.c: remove checks for statistics.
8937 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8939         [BZ #15277]
8940         * inet/inet_net.c (inet_network): Detect additional invalid strings.
8941         * inet/tst-network.c: Add testcase.
8943 2013-10-17  Andreas Schwab  <schwab@suse.de>
8945         [BZ #15218]
8946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8947         to determine canonical name.
8949 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8951         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8952         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8953         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8954         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8955         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8956         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8957         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8958         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8959         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8960         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8961         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8962         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8963         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8964         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8965         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8966         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8967         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8968         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8969         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8970         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8971         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8972         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8973         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8974         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8975         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8976         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8977         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8978         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8979         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8980         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8981         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8982         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8983         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8984         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8985         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8986         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8987         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8988         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8989         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8990         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8991         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8992         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8993         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8994         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8995         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8996         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8997         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8998         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8999         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9000         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9001         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9002         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9003         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9004         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9005         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9006         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9007         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9008         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9010 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
9012         [BZ #16041]
9013         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9014         make result into a quiet NaN.
9016 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
9018         * soft-fp/adddf3.c: Fix horizontal whitespace.
9019         * soft-fp/addsf3.c: Likewise.
9020         * soft-fp/addtf3.c: Likewise.
9021         * soft-fp/divdf3.c: Likewise.
9022         * soft-fp/divsf3.c: Likewise.
9023         * soft-fp/divtf3.c: Likewise.
9024         * soft-fp/double.h: Likewise.
9025         * soft-fp/eqdf2.c: Likewise.
9026         * soft-fp/eqsf2.c: Likewise.
9027         * soft-fp/eqtf2.c: Likewise.
9028         * soft-fp/extenddftf2.c: Likewise.
9029         * soft-fp/extended.h: Likewise.
9030         * soft-fp/extendsfdf2.c: Likewise.
9031         * soft-fp/extendsftf2.c: Likewise.
9032         * soft-fp/extendxftf2.c: Likewise.
9033         * soft-fp/fixdfdi.c: Likewise.
9034         * soft-fp/fixdfsi.c: Likewise.
9035         * soft-fp/fixdfti.c: Likewise.
9036         * soft-fp/fixsfdi.c: Likewise.
9037         * soft-fp/fixsfsi.c: Likewise.
9038         * soft-fp/fixsfti.c: Likewise.
9039         * soft-fp/fixtfdi.c: Likewise.
9040         * soft-fp/fixtfsi.c: Likewise.
9041         * soft-fp/fixtfti.c: Likewise.
9042         * soft-fp/fixunsdfdi.c: Likewise.
9043         * soft-fp/fixunsdfsi.c: Likewise.
9044         * soft-fp/fixunsdfti.c: Likewise.
9045         * soft-fp/fixunssfdi.c: Likewise.
9046         * soft-fp/fixunssfsi.c: Likewise.
9047         * soft-fp/fixunssfti.c: Likewise.
9048         * soft-fp/fixunstfdi.c: Likewise.
9049         * soft-fp/fixunstfsi.c: Likewise.
9050         * soft-fp/fixunstfti.c: Likewise.
9051         * soft-fp/floatdidf.c: Likewise.
9052         * soft-fp/floatdisf.c: Likewise.
9053         * soft-fp/floatditf.c: Likewise.
9054         * soft-fp/floatsidf.c: Likewise.
9055         * soft-fp/floatsisf.c: Likewise.
9056         * soft-fp/floatsitf.c: Likewise.
9057         * soft-fp/floattidf.c: Likewise.
9058         * soft-fp/floattisf.c: Likewise.
9059         * soft-fp/floattitf.c: Likewise.
9060         * soft-fp/floatundidf.c: Likewise.
9061         * soft-fp/floatundisf.c: Likewise.
9062         * soft-fp/floatunditf.c: Likewise.
9063         * soft-fp/floatunsidf.c: Likewise.
9064         * soft-fp/floatunsisf.c: Likewise.
9065         * soft-fp/floatunsitf.c: Likewise.
9066         * soft-fp/floatuntidf.c: Likewise.
9067         * soft-fp/floatuntisf.c: Likewise.
9068         * soft-fp/floatuntitf.c: Likewise.
9069         * soft-fp/fmadf4.c: Likewise.
9070         * soft-fp/fmasf4.c: Likewise.
9071         * soft-fp/fmatf4.c: Likewise.
9072         * soft-fp/gedf2.c: Likewise.
9073         * soft-fp/gesf2.c: Likewise.
9074         * soft-fp/getf2.c: Likewise.
9075         * soft-fp/ledf2.c: Likewise.
9076         * soft-fp/lesf2.c: Likewise.
9077         * soft-fp/letf2.c: Likewise.
9078         * soft-fp/muldf3.c: Likewise.
9079         * soft-fp/mulsf3.c: Likewise.
9080         * soft-fp/multf3.c: Likewise.
9081         * soft-fp/negdf2.c: Likewise.
9082         * soft-fp/negsf2.c: Likewise.
9083         * soft-fp/negtf2.c: Likewise.
9084         * soft-fp/op-1.h: Likewise.
9085         * soft-fp/op-2.h: Likewise.
9086         * soft-fp/op-4.h: Likewise.
9087         * soft-fp/op-8.h: Likewise.
9088         * soft-fp/op-common.h: Likewise.
9089         * soft-fp/quad.h: Likewise.
9090         * soft-fp/single.h: Likewise.
9091         * soft-fp/soft-fp.h: Likewise.
9092         * soft-fp/sqrtdf2.c: Likewise.
9093         * soft-fp/sqrtsf2.c: Likewise.
9094         * soft-fp/sqrttf2.c: Likewise.
9095         * soft-fp/subdf3.c: Likewise.
9096         * soft-fp/subsf3.c: Likewise.
9097         * soft-fp/subtf3.c: Likewise.
9098         * soft-fp/truncdfsf2.c: Likewise.
9099         * soft-fp/trunctfdf2.c: Likewise.
9100         * soft-fp/trunctfsf2.c: Likewise.
9101         * soft-fp/trunctfxf2.c: Likewise.
9102         * soft-fp/unorddf2.c: Likewise.
9103         * soft-fp/unordsf2.c: Likewise.
9104         * soft-fp/unordtf2.c: Likewise.
9106 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
9108         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9109         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9111 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
9113         * elf/dl-libc.c: Clear initfini list after freeing.
9115 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
9117         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9118         * soft-fp/addsf3.c: Likewise.
9119         * soft-fp/addtf3.c: Likewise.
9120         * soft-fp/divdf3.c: Likewise.
9121         * soft-fp/divsf3.c: Likewise.
9122         * soft-fp/divtf3.c: Likewise.
9123         * soft-fp/double.h: Likewise.
9124         * soft-fp/eqdf2.c: Likewise.
9125         * soft-fp/eqsf2.c: Likewise.
9126         * soft-fp/eqtf2.c: Likewise.
9127         * soft-fp/extenddftf2.c: Likewise.
9128         * soft-fp/extended.h: Likewise.
9129         * soft-fp/extendsfdf2.c: Likewise.
9130         * soft-fp/extendsftf2.c: Likewise.
9131         * soft-fp/extendxftf2.c: Likewise.
9132         * soft-fp/fixdfdi.c: Likewise.
9133         * soft-fp/fixdfsi.c: Likewise.
9134         * soft-fp/fixdfti.c: Likewise.
9135         * soft-fp/fixsfdi.c: Likewise.
9136         * soft-fp/fixsfsi.c: Likewise.
9137         * soft-fp/fixsfti.c: Likewise.
9138         * soft-fp/fixtfdi.c: Likewise.
9139         * soft-fp/fixtfsi.c: Likewise.
9140         * soft-fp/fixtfti.c: Likewise.
9141         * soft-fp/fixunsdfdi.c: Likewise.
9142         * soft-fp/fixunsdfsi.c: Likewise.
9143         * soft-fp/fixunsdfti.c: Likewise.
9144         * soft-fp/fixunssfdi.c: Likewise.
9145         * soft-fp/fixunssfsi.c: Likewise.
9146         * soft-fp/fixunssfti.c: Likewise.
9147         * soft-fp/fixunstfdi.c: Likewise.
9148         * soft-fp/fixunstfsi.c: Likewise.
9149         * soft-fp/fixunstfti.c: Likewise.
9150         * soft-fp/floatdidf.c: Likewise.
9151         * soft-fp/floatdisf.c: Likewise.
9152         * soft-fp/floatditf.c: Likewise.
9153         * soft-fp/floatsidf.c: Likewise.
9154         * soft-fp/floatsisf.c: Likewise.
9155         * soft-fp/floatsitf.c: Likewise.
9156         * soft-fp/floattidf.c: Likewise.
9157         * soft-fp/floattisf.c: Likewise.
9158         * soft-fp/floattitf.c: Likewise.
9159         * soft-fp/floatundidf.c: Likewise.
9160         * soft-fp/floatundisf.c: Likewise.
9161         * soft-fp/floatunsidf.c: Likewise.
9162         * soft-fp/floatunsisf.c: Likewise.
9163         * soft-fp/floatuntidf.c: Likewise.
9164         * soft-fp/floatuntisf.c: Likewise.
9165         * soft-fp/floatuntitf.c: Likewise.
9166         * soft-fp/fmadf4.c: Likewise.
9167         * soft-fp/fmasf4.c: Likewise.
9168         * soft-fp/fmatf4.c: Likewise.
9169         * soft-fp/gedf2.c: Likewise.
9170         * soft-fp/gesf2.c: Likewise.
9171         * soft-fp/getf2.c: Likewise.
9172         * soft-fp/ledf2.c: Likewise.
9173         * soft-fp/lesf2.c: Likewise.
9174         * soft-fp/letf2.c: Likewise.
9175         * soft-fp/muldf3.c: Likewise.
9176         * soft-fp/mulsf3.c: Likewise.
9177         * soft-fp/multf3.c: Likewise.
9178         * soft-fp/negdf2.c: Likewise.
9179         * soft-fp/negsf2.c: Likewise.
9180         * soft-fp/negtf2.c: Likewise.
9181         * soft-fp/op-1.h: Likewise.
9182         * soft-fp/op-2.h: Likewise.
9183         * soft-fp/op-4.h: Likewise.
9184         * soft-fp/op-8.h: Likewise.
9185         * soft-fp/op-common.h: Likewise.
9186         * soft-fp/quad.h: Likewise.
9187         * soft-fp/single.h: Likewise.
9188         * soft-fp/soft-fp.h: Likewise.
9189         * soft-fp/sqrtdf2.c: Likewise.
9190         * soft-fp/sqrtsf2.c: Likewise.
9191         * soft-fp/sqrttf2.c: Likewise.
9192         * soft-fp/subdf3.c: Likewise.
9193         * soft-fp/subsf3.c: Likewise.
9194         * soft-fp/subtf3.c: Likewise.
9195         * soft-fp/truncdfsf2.c: Likewise.
9196         * soft-fp/trunctfdf2.c: Likewise.
9197         * soft-fp/trunctfsf2.c: Likewise.
9198         * soft-fp/trunctfxf2.c: Likewise.
9199         * soft-fp/unorddf2.c: Likewise.
9200         * soft-fp/unordsf2.c: Likewise.
9201         * soft-fp/unordtf2.c: Likewise.
9203 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
9205         [BZ #15672]
9206         * misc/error.c (error_tail): Fix possible buffer overflow.
9208 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
9210         [BZ #13028]
9211         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9212         address.
9214 2013-10-14  P. J. McDermott  <pj@pehjota.net>
9216         [BZ #832]
9217         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
9218         testing pipefail option.
9220 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9222         * soft-fp/double.h: Indent preprocessor directives inside #if.
9223         * soft-fp/extended.h: Likewise.
9224         * soft-fp/op-2.h: Likewise.
9225         * soft-fp/op-4.h: Likewise.
9226         * soft-fp/op-common.h: Likewise.
9227         * soft-fp/quad.h: Likewise.
9228         * soft-fp/single.h: Likewise.
9229         * soft-fp/soft-fp.h: Likewise.
9231 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
9233         * iconv/iconv_prog.c: Fix typos.
9234         * stdio-common/psiginfo-data.h: Likewise.
9236 2013-10-12   Reuben Thomas <rrt@sc3d.org>
9238         [BZ #15764]
9239         * locale/setlocale.c: Fix typo.
9241 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9243         [BZ #16036]
9244         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9245         signaling NaN arguments.
9246         * soft-fp/unordsf2.c (__unordsf2): Likewise.
9247         * soft-fp/unordtf2.c (__unordtf2): Likewise.
9249         [BZ #14910]
9250         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9251         unordered operands.
9252         * soft-fp/gesf2.c (__gesf2): Likewise.
9253         * soft-fp/getf2.c (__getf2): Likewise.
9254         * soft-fp/ledf2.c (__ledf2): Likewise.
9255         * soft-fp/lesf2.c (__lesf2): Likewise.
9256         * soft-fp/letf2.c (__letf2): Likewise.
9258         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9259         * soft-fp/eqsf2.c (__eqsf2): Likewise.
9260         * soft-fp/eqtf2.c (__eqtf2): Likewise.
9261         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9262         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9263         * soft-fp/fixdfti.c (__fixdfti): Likewise.
9264         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9265         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9266         * soft-fp/fixsfti.c (__fixsfti): Likewise.
9267         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9268         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9269         * soft-fp/fixtfti.c (__fixtfti): Likewise.
9270         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9271         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9272         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9273         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9274         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9275         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9276         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9277         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9278         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9279         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9280         * soft-fp/floatdisf.c (__floatdisf): Likewise.
9281         * soft-fp/floatsisf.c (__floatsisf): Likewise.
9282         * soft-fp/floattidf.c (__floattidf): Likewise.
9283         * soft-fp/floattisf.c (__floattisf): Likewise.
9284         * soft-fp/floattitf.c (__floattitf): Likewise.
9285         * soft-fp/floatundidf.c (__floatundidf): Likewise.
9286         * soft-fp/floatundisf.c (__floatundisf): Likewise.
9287         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9288         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9289         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9290         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9291         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9292         * soft-fp/gesf2.c (__gesf2): Likewise.
9293         * soft-fp/getf2.c (__getf2): Likewise.
9294         * soft-fp/ledf2.c (__ledf2): Likewise.
9295         * soft-fp/lesf2.c (__lesf2): Likewise.
9296         * soft-fp/letf2.c (__letf2): Likewise.
9298         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9299         Undefine and redefine.
9300         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9301         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9302         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9303         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9304         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9305         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9306         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9307         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9308         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9309         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9310         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9311         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9312         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9313         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9314         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9316         [BZ #16032]
9317         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9318         without decrementing exponent if mantissa >= that for the
9319         denominator, not >.
9320         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9321         denominator, not >.  Decrement exponent in < case instead of
9322         incrementing in >= case.
9323         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9324         without decrementing exponent if mantissa >= that for the
9325         denominator, not >.
9327         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9328         computing saturated result for unsigned overflow.
9330 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9331             Jeff Law  <law@redhat.com>
9333         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9334         (atan2Mp): Add systemtap probe marker.
9335         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9336         (__ieee754_log): Add systemtap probe marker.
9337         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9338         (atanMp): Add systemtap probe marker.
9339         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9340         (tanMp): Add systemtap probe marker.
9341         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9342         (__slowexp): Add systemtap probe marker.
9343         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9344         (__slowpow): Add systemtap probe marker.
9345         * manual/probes.texi: Document probes.
9347 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
9349         [BZ #15362]
9350         * libio/fileops.c (_IO_new_file_write): Return count of bytes
9351         written.
9352         (_IO_new_file_xsputn): Don't return EOF if nothing has been
9353         written.
9354         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9355         written to buffer but not flushed.
9356         * libio/iofwrite_u.c:  Likewise.
9357         * libio/iopadn.c:  Return bytes returned even if EOF was
9358         encountered.
9359         * libio/iowpadn.c:  Likewise.
9360         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9361         if _IO_padn does not write the whole buffer.
9362         [!COMPILE_WPRINTF] (PAD): Likewise.
9364 2013-10-10  David S. Miller  <davem@davemloft.net>
9366         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9367         directory block.
9369 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9371         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
9372         instead of FSF address.
9373         * soft-fp/fixdfti.c: Likewise.
9374         * soft-fp/fixsfti.c: Likewise.
9375         * soft-fp/fixtfti.c: Likewise.
9376         * soft-fp/fixunsdfti.c: Likewise.
9377         * soft-fp/fixunssfti.c: Likewise.
9378         * soft-fp/fixunstfti.c: Likewise.
9379         * soft-fp/floattidf.c: Likewise.
9380         * soft-fp/floattisf.c: Likewise.
9381         * soft-fp/floattitf.c: Likewise.
9382         * soft-fp/floatuntidf.c: Likewise.
9383         * soft-fp/floatuntisf.c: Likewise.
9384         * soft-fp/floatuntitf.c: Likewise.
9385         * soft-fp/trunctfxf2.c: Likewise.
9387         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
9388         * soft-fp/fixdfti.c: Likewise.
9389         * soft-fp/fixsfti.c: Likewise.
9390         * soft-fp/fixtfti.c: Likewise.
9391         * soft-fp/fixunsdfti.c: Likewise.
9392         * soft-fp/fixunssfti.c: Likewise.
9393         * soft-fp/fixunstfti.c: Likewise.
9394         * soft-fp/floattidf.c: Likewise.
9395         * soft-fp/floattisf.c: Likewise.
9396         * soft-fp/floattitf.c: Likewise.
9397         * soft-fp/floatuntidf.c: Likewise.
9398         * soft-fp/floatuntisf.c: Likewise.
9399         * soft-fp/floatuntitf.c: Likewise.
9400         * soft-fp/trunctfxf2.c: Likewise.
9402 2013-10-10  David S. Miller  <davem@davemloft.net>
9404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9406 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
9408         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9409         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9410         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9411         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9412         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9413         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9414         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9416         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9417         for NaNs before doing comparisons on argument.
9418         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9419         Likewise.
9421 2013-10-10  Will Newton  <will.newton@linaro.org>
9423         * malloc/hooks.c (memalign_check): Ensure the value of bytes
9424         passed to _int_memalign does not overflow.
9426 2013-10-10  Torvald Riegel  <triegel@redhat.com>
9428         * scripts/bench.pl: Add include-sources directive.
9429         * benchtests/README: Update documentation.
9431 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9433         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9434         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9435         instead of FP_INIT_ROUNDMODE.
9436         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9437         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9439         [BZ #16034]
9440         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
9441         copy class of input value.
9442         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
9443         not handle exceptions.
9444         * soft-fp/negsf2.c (__negsf2): Likewise.
9445         * soft-fp/negtf2.c (__negtf2): Likewise.
9446         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9448 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
9450         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9451         semicolon.  From Linux kernel.
9453 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
9455         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9457 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
9459         [BZ #156]
9460         * manual/socket.texi: Added statement about buffer
9461         for gethostbyname2_r.
9463 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
9465         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9466         Use .p2align directive instead, throughout.
9467         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9468         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9469         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9470         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9471         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9472         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9473         * sysdeps/x86_64/strchr.S: Likewise.
9474         * sysdeps/x86_64/strrchr.S: Likewise.
9476 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9478         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9480         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9482         * sysdeps/generic/math_private.h (__mpsin1): Remove
9483         declaration.
9484         (__mpcos1): Likewise.
9485         (__mpsin): New argument __range_reduce.
9486         (__mpcos): Likewise.
9487         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9488         (slow): Use __mpsin and __mpcos.
9489         (slow1): Likewise.
9490         (slow2): Likewise.
9491         (sloww): Likewise.
9492         (sloww1): Likewise.
9493         (sloww2): Likewise.
9494         (bsloww): Likewise.
9495         (bsloww1): Likewise.
9496         (bsloww2): Likewise.
9497         (cslow2): Likewise.
9498         (csloww): Likewise.
9499         (csloww1): Likewise.
9500         (csloww2): Likewise.
9501         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9502         range_reduce.  Merge in __mpsin1.
9503         (__mpcos): Likewise.
9504         (__mpsin1): Remove.
9505         (__mpcos1): Likewise.
9507 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
9509         * locale/loadlocale.c (_nl_intern_locale_data): Use
9510         LOCFILE_ALIGNED_P.
9511         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9512         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9513         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9514         obstack data is appropriately aligned.
9515         (obstack_int32_grow_fast): Likewise.
9516         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9517         * locale/programs/locfile.c (add_locale_uint32): Likewise.
9518         (add_locale_uint32_array): Likewise.
9520 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9522         * benchtests/Makefile: Remove ARGLIST and RET variables.
9523         ($(objpfx)bench-%.c): Pass only function name to the script.
9524         * benchtests/README: Update documentation.
9525         * benchtests/acos-inputs: Add new directives.
9526         * benchtests/acosh-inputs: Likewise.
9527         * benchtests/asin-inputs: Likewise.
9528         * benchtests/asinh-inputs: Likewise.
9529         * benchtests/atan-inputs: Likewise.
9530         * benchtests/atanh-inputs: Likewise.
9531         * benchtests/cos-inputs: Likewise.
9532         * benchtests/cosh-inputs: Likewise.
9533         * benchtests/exp-inputs: Likewise.
9534         * benchtests/log-inputs: Likewise.
9535         * benchtests/pow-inputs: Likewise.
9536         * benchtests/rint-inputs: Likewise.
9537         * benchtests/sin-inputs: Likewise.
9538         * benchtests/sinh-inputs: Likewise.
9539         * benchtests/tan-inputs: Likewise.
9540         * benchtests/tanh-inputs: Likewise.
9541         * scripts/bench.pl: Add support for new directives.
9543 2013-10-07  Alan Modra  <amodra@gmail.com>
9545         * README: Fix careless merge.
9547 2013-10-05  Alan Modra  <amodra@gmail.com>
9549         * NEWS: Mention powerpc64le support and bugs fixed.
9550         * README: Both big-endian and little-endian powerpc64 supported.
9552 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9554         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9555         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9556         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9557         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9559 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
9561         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9562         match prototype.
9564 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
9566         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9567         Move -mhard-float appending from
9568         ports/sysdeps/powerpc/powerpc32/Makefile.
9569         [$(with-fp) = yes] (ASFLAGS): Likewise.
9570         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9571         * sysdeps/powerpc/nofpu: Move directory from
9572         ports/sysdeps/powerpc/nofpu.
9573         * sysdeps/powerpc/soft-fp: Move directory from
9574         ports/sysdeps/powerpc/soft-fp.
9575         * sysdeps/powerpc/powerpc32/405: Move directory from
9576         ports/sysdeps/powerpc/powerpc32/405.
9577         * sysdeps/powerpc/powerpc32/440: Move directory from
9578         ports/sysdeps/powerpc/powerpc32/440.
9579         * sysdeps/powerpc/powerpc32/464: Move directory from
9580         ports/sysdeps/powerpc/powerpc32/464.
9581         * sysdeps/powerpc/powerpc32/476: Move directory from
9582         ports/sysdeps/powerpc/powerpc32/476.
9583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9584         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9586         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9588         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9590         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9592         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9593         * README: Update for powerpc-*-linux-gnu software floating point
9594         support in libc.
9596         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9597         case to powerpc/powerpc32*.
9598         * sysdeps/unix/sysv/linux/configure: Regenerated.
9600         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9601         (_FPU_MASK_OM): Define as 0x04.
9602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9604         0x00c10080.
9605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9606         0x0000003c.
9607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9610         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9611         getcontext_e500.
9612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9613         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9614         setcontext_e500.
9615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9616         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9617         and setcontext_e500.
9619 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
9621         * locale/iso-3166.def: Update iso-1366.def and related occurrences
9623 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9625         * manual/threads.texi (Default Thread Attributes): Fix typo.
9627 2013-10-04  Will Newton  <will.newton@linaro.org>
9629         * malloc/Makefile: Add tst-memalign.
9630         * malloc/tst-memalign.c: New file.
9632         * malloc/tst-posix_memalign.c: Add comments.
9633         (do_test): Add comments and call free on all potentially
9634         allocated pointers. Add space after cast.
9636         * malloc/tst-pvalloc.c: Add comments.
9637         (do_test): Add comments and call free on all potentially
9638         allocated pointers. Remove duplicate check for NULL pointer.
9639         Add space after cast.
9641         * malloc/tst-valloc.c: Add comments.
9642         (do_test): Add comments and call free on all potentially
9643         allocated pointers. Remove duplicate check for NULL pointer.
9644         Add space after cast.
9646 2013-10-04  Alan Modra  <amodra@gmail.com>
9648         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9649         Use stdint types in rather than __attribute__((mode())).
9650         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9652 2013-10-04  Alan Modra  <amodra@gmail.com>
9654         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9655         Correct handling of unaligned relocs for little-endian.
9656         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9658 2013-10-04  Alan Modra  <amodra@gmail.com>
9660         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9661         * configure: Regenerate.
9662         * nptl/shlib-versions: Powerpc*le starts at 2.18.
9663         * shlib-versions: Likewise.
9665 2013-10-04  Alan Modra  <amodra@gmail.com>
9667         * string/tester.c (test_memrchr): Increment reported test cycle.
9669 2013-10-04  Alan Modra  <amodra@gmail.com>
9671         * string/test-memcpy.c (do_one_test): When reporting errors, print
9672         string address and don't overrun end of string.
9674 2013-10-04  Alan Modra  <amodra@gmail.com>
9676         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9677         insrdi.  Make better use of reg selection to speed exit slightly.
9678         Schedule entry path a little better.  Remove useless "are we done"
9679         checks on entry to main loop.  Handle wrapping around zero address.
9680         Correct main loop count.  Handle single left-over word from main
9681         loop inline rather than by using loop_small.  Remove extra word
9682         case in loop_small caused by wrong loop count.  Add little-endian
9683         support.
9684         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9685         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
9686         cache hint.
9687         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9688         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9689         support.  Avoid rlwimi.
9690         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9692 2013-10-04  Alan Modra  <amodra@gmail.com>
9694         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9695         insrdi.  Formatting.
9696         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9697         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9698         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9699         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9700         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9701         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9703 2013-10-04  Alan Modra  <amodra@gmail.com>
9705         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9706         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9707         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9708         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9709         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9710         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9711         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9712         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9713         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
9714         use of regs.  Use power7 mtocrf.  Tidy function tails.
9716 2013-10-04  Alan Modra  <amodra@gmail.com>
9718         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9719         Formatting.  Consistently use rXXX register defines or rN defines.
9720         Use early exit labels that avoid restoring unused non-volatile regs.
9721         Make cr field use more consistent with rWORDn compares.  Rename
9722         regs used as shift registers for unaligned loop, using rN defines
9723         for short lifetime/multiple use regs.
9724         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9725         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
9726         addi 1,1,64 to pop stack frame.  Simplify return value code.
9727         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9729 2013-10-04  Alan Modra  <amodra@gmail.com>
9731         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9732         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
9733         rather than rlwimi.
9734         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9735         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9736         little-endian support.  Correct typos.
9737         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
9738         rather than rlwimi.
9739         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
9740         in loop and entry code to keep "and." results.
9741         (strchr): Add little-endian support.  Comment.  Move cntlzd
9742         earlier in tail.
9743         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9745 2013-10-04  Alan Modra  <amodra@gmail.com>
9747         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9748         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9749         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9750         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9752 2013-10-04  Alan Modra  <amodra@gmail.com>
9754         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9755         (rTMP): Define as r11.
9756         (strcmp): Add little-endian support.  Optimise tail.
9757         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9758         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9759         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9760         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9761         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9762         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9763         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9765 2013-10-04  Alan Modra  <amodra@gmail.com>
9767         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9768         little-endian support.  Remove unnecessary "are we done" tests.
9769         Handle "s" wrapping around zero and extremely large "size".
9770         Correct main loop count.  Handle single left-over word from main
9771         loop inline rather than by using small_loop.  Correct comments.
9772         Delete "zero" tail, use "end_max" instead.
9773         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9775 2013-10-04  Alan Modra  <amodra@gmail.com>
9777         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9778         support.  Don't branch over align.
9779         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9780         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9781         support.  Rearrange tmp reg use to suit.  Comment.
9782         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9784 2013-10-04  Alan Modra  <amodra@gmail.com>
9786         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9788 2013-10-04  Alan Modra  <amodra@gmail.com>
9790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9791         conditional form of branch and link when obtaining pc.
9792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9794 2013-10-04  Alan Modra  <amodra@gmail.com>
9796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9797         HIWORD/LOWORD.
9798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9801 2013-10-04  Alan Modra  <amodra@gmail.com>
9803         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9804         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9805         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9806         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9807         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9808         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9809         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9810         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9811         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9812         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9814 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9815             Alistair Popple <alistair@ozlabs.au.ibm.com>
9816             Alan Modra <amodra@gmail.com>
9818         [BZ #15723]
9819         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9820         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9821         _dl_hwcap access for little-endian.
9822         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
9823         destroy vmx regs when saving unaligned.
9824         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9825         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
9826         destroy vmx regs when saving unaligned.
9828 2013-10-04  Alan Modra  <amodra@gmail.com>
9830         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9831         Don't use a union to pack hi/low value.
9833 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9835         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9836         for little-endian.
9837         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9838         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9839         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9840         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9841         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9843 2013-10-04  Alan Modra  <amodra@gmail.com>
9845         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9846         constants to usual value for .cst8 section, and remove redundant
9847         high address load.
9848         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9849         constant for 0x1p52.  Load little-endian words of double from
9850         correct stack offsets.
9852 2013-10-04  Alan Modra  <amodra@gmail.com>
9854         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9855         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9856         words of double from correct stack offsets.
9857         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9858         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9859         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9860         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9861         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9862         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9863         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9864         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9865         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9866         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9867         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9868         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9869         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9870         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9871         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9872         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9873         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9875 2013-10-04  Alan Modra  <amodra@gmail.com>
9877         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9878         64-bit int/double union.
9879         (_FPU_SETCW): Likewise.
9880         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9881         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9883 2013-10-04  Alan Modra  <amodra@gmail.com>
9885         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9886         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9888 2013-10-04  Alan Modra  <amodra@gmail.com>
9890         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9891         use vector int constants.
9892         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9894 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9896         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9897         array with long long.
9898         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9899         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9900         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9901         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9902         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9903         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9904         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9905         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9906         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9907         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9908         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9909         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9910         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9912 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9914         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9915         (__signbit): Likewise.  Correct for little-endian.
9916         (__signbitl): Call __signbit.
9917         (lrint): Correct for little-endian.
9918         (lrintf): Call lrint.
9920 2013-10-04  Alan Modra  <amodra@gmail.com>
9922         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9923         union 32-bit int array member with 64-bit int array.
9924         (t515, tm256): Double rather than long double.
9925         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9927 2013-10-04  Alan Modra  <amodra@gmail.com>
9929         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9930         Delete.
9931         (IEEE854_LONG_DOUBLE_BIAS): Delete.
9932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9933         version of math_ldbl.h.
9935 2013-10-04  Alan Modra  <amodra@gmail.com>
9937         [BZ #15734], [BZ #15735]
9938         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9939         all uses of ieee875 long double macros and unions.  Simplify test
9940         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
9941         ldbl_extract_mantissa value for ix,iy exponents.  Properly
9942         normalize after ldbl_extract_mantissa, and don't add hidden bit
9943         already handled.  Don't treat low word of ieee854 mantissa like
9944         low word of IBM long double and mask off bit when testing for
9945         zero.
9946         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9947         all uses of ieee875 long double macros and unions.  Simplify tests
9948         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
9949         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
9950         two1022, instead use their values.  Recognise that tests for large
9951         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
9952         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9953         Rewrite all uses of ieee875 long double macros and unions.  Simplify
9954         test for 0.0L and nan.  Correct negation.
9955         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9956         ieee875 long double macros and unions.  Correct output for large
9957         magnitude x.  Correct absolute value calculation.
9958         (__erfcl): Likewise.
9959         * math/libm-test.inc: Add tests for errors discovered in IBM long
9960         double versions of fmodl, remainderl, erfl and erfcl.
9962 2013-10-04  Alan Modra  <amodra@gmail.com>
9964         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9965         all uses of ieee854 long double macros and unions.  Simplify tests
9966         for long doubles that are fully specified by the high double.
9967         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9968         Likewise.
9969         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9970         Remove dead code too.
9971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9972         (__ieee754_ynl): Likewise.
9973         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9974         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9976         Remove dead code too.
9977         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9978         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9979         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9980         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9981         Simplify.
9982         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9983         Simplify.
9984         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9985         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9986         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9987         Comment on variable precision.
9988         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9989         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9990         Likewise.
9991         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9992         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9993         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9994         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9995         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9997 2013-10-04  Alan Modra  <amodra@gmail.com>
9999         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10000         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10001         all uses of ieee854 long double macros and unions.
10002         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10003         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10004         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10005         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10006         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10007         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10008         Likewise.
10009         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10010         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10011         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10012         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10013         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10014         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10015         Simplify sign and nan test too.
10016         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10017         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10018         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10019         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10020         Likewise.
10021         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10022         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10023         Likewise.
10024         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10025         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10026         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10027         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10028         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10031 2013-10-04  Alan Modra  <amodra@gmail.com>
10033         * stdio-common/printf_size.c (__printf_size): Don't use
10034         union ieee854_long_double in fpnum union.
10035         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
10036         signbit macro to retrieve sign from long double.
10037         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10038         retrieve sign from long double.
10039         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10040         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10041         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10042         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10043         * math/test-misc.c (main): Don't use union ieee854_long_double.
10045 2013-10-04  Alan Modra  <amodra@gmail.com>
10047         [BZ #15680]
10048         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10049         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10050         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10051         calculation.  Remove unnecessary test for denormal exponent.
10052         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10053         Correct handling of denormals.  Avoid undefined shift behaviour.
10054         Correct normalisation of low mantissa when low double is denormal.
10055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10056         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
10057         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10058         Correct normalisation of low mantissa.  Test for overflow of high
10059         mantissa and normalise.
10060         (ldbl_nearbyint): Use more readable constant for two52.
10061         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10062         (__mpn_construct_long_double): Fix test for overflow of high
10063         mantissa and correct normalisation.  Avoid undefined shift.
10065 2013-10-04  Alan Modra  <amodra@gmail.com>
10067         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10068         (union ibm_extended_long_double): Define as an array of ieee754_double.
10069         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10070         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10071         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10072         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10073         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10074         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10075         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10076         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10077         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10078         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10079         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10081 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
10083         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10084         page size instead of calling getpagesize.
10086         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10087         (LOCFILE_ALIGN_MASK): Likewise.
10088         (LOCFILE_ALIGN_UP): Likewise.
10089         (LOCFILE_ALIGNED_P): Likewise.
10090         * locale/programs/ld-collate.c (collate_output): Use the new
10091         macros instead of __alignof__ (int32_t).
10092         * locale/weight.h (findidx): Likewise.
10094 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
10096         [BZ #431]
10097         * manual/string.texi: Fix strncat and wcsncat.
10099 2013-10-03  Brooks Moses  <bmoses@google.com>
10101         [BZ #15915]
10102         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10103         * Makerules: ...here, and adjust associated comments.
10105 2013-10-02  Will Newton  <will.newton@linaro.org>
10107         * malloc/Makefile: Add tst-pvalloc.
10108         * malloc/tst-pvalloc.c: New file.
10110 2013-10-02  Will Newton  <will.newton@linaro.org>
10112         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10113         improve test coverage.
10115 2013-10-02  Will Newton  <will.newton@linaro.org>
10117         * malloc/Makefile: Add tst-posix_memalign.
10118         * malloc/tst-posix_memalign.c: New file.
10120 2013-10-01  Eric Blake  <eblake@redhat.com>
10122         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10123         Use __THROWNL rather than __THROW on static functions.
10125 2013-09-30  Petr Machata  <pmachata@redhat.com>
10127         * elf/elf.h (R_AARCH64_ABS16): New macro.
10128         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10129         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10130         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10131         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10132         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10133         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10134         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10135         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10136         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10137         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10138         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10139         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10140         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10141         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10142         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10143         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10144         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10145         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10146         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10147         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10148         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10149         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10150         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10151         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10152         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10153         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10154         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10155         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10156         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10157         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10158         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10159         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10160         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10161         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10162         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10163         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10164         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10165         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10166         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10167         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10168         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10169         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10170         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10171         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10172         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10173         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10174         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10175         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10176         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10177         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10178         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10179         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10180         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10181         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10182         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10183         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10184         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10185         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10186         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10187         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10188         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10189         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10190         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10191         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10192         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10193         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10194         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10195         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10196         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10197         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10198         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10199         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10200         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10201         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10202         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10203         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10204         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10205         (R_AARCH64_TLSDESC_LDR): Likewise.
10206         (R_AARCH64_TLSDESC_ADD): Likewise.
10207         (R_AARCH64_TLSDESC_CALL): Likewise.
10209 2013-09-30  Andreas Schwab  <schwab@suse.de>
10211         [BZ #15048]
10212         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10213         the nss database lookup.
10214         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10217 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
10219         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10221 2013-09-28  P. J. McDermott  <pj@pehjota.net>
10223         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10224         ${Bash-specific parameter/pattern/string} parameter expansion.
10225         * sysdeps/unix/make-syscalls.sh: Likewise.
10227 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10229         * sysdeps/sh/stackguard-macros.h: New file.
10231 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
10233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10235         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10236         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10237         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10238         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10240 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10242         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10243         Fix thread ID register.
10245 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
10247         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10248         [POSIX || UNIX98]: Require rather than permitting all symbols from
10249         <time.h>.
10250         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10251         element of struct sched_param.
10252         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10253         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10254         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10255         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10256         constant.
10258 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
10260         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10261         argument calculation.
10263 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10265         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10266         Expect macro.
10267         [POSIX] (pthread_attr_t): Do not require type.
10268         [POSIX] (pthread_cond_t): Likewise.
10269         [POSIX] (pthread_condattr_t): Likewise.
10270         [POSIX] (pthread_key_t): Likewise.
10271         [POSIX] (pthread_mutex_t): Likewise.
10272         [POSIX] (pthread_mutexattr_t): Likewise.
10273         [POSIX] (pthread_once_t): Likewise.
10274         [POSIX] (pthread_t): Likewise.
10275         [POSIX-based standards] (pthread_atfork): Expect function.
10277 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10278             Richard Sandiford  <richard@codesourcery.com>
10280         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10281         (swap_endianness_p): New extern variable.
10282         (set_big_endian): New inline function.
10283         (maybe_swap_uint32): Likewise.
10284         (maybe_swap_uint32_array): Likewise.
10285         (maybe_swap_uint32_obstack): Likewise.
10286         * locale/programs/locfile.c: Include <stdbool.h>.
10287         (swap_endianness_p): New variable.
10288         (add_locale_uint32): Call maybe_swap_uint32.
10289         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10290         (write_locale_data): Call maybe_swap_uint32_array.
10291         * locale/programs/ld-collate.c (obstack_int32_grow): Call
10292         maybe_swap_uint32.
10293         (obstack_int32_grow_fast): Likewise.
10294         (output_weightwc): Call maybe_swap_uint32_obstack.
10295         (collate_output): Likewise.
10296         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10297         (OPT_LITTLE_ENDIAN): Likewise.
10298         (options): Add --little-endian and --big-endian options.
10299         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10300         * locale/programs/locarchive.c: Include "locfile.h".
10301         (GET): New macro.
10302         (SET): Likewise.
10303         (INC): Likewise.
10304         (create_archive): Use the new macros to access fields of
10305         structures directly mapped from or written to locale archives.
10306         (oldlocrecentcmp): Likewise.
10307         (enlarge_archive): Likewise.
10308         (insert_name): Likewise.
10309         (add_alias): Likewise.
10310         (add_locale): Likewise.
10311         (delete_locales_from_archive): Likewise.
10312         (show_archive_content): Likewise.
10313         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
10314         locale data.
10316 2013-09-24  Roland McGrath  <roland@hack.frob.com>
10318         * manual/freemanuals.texi: Updated from (newly) canonical copy at
10319         http://www.gnu.org/doc/freemanuals.texi.
10320         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10322 2013-09-24  Will Newton  <will.newton@linaro.org>
10324         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10325         macro.
10327 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
10329         * locale/hashval.h (compute_hashval): Interpret bytes of key as
10330         unsigned char.
10332 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
10334         * manual/threads.texi (POSIX Threads): Fix a typo.
10336 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10338         [BZ #14547]
10339         * string/tst-strcoll-overflow.c: New test case.
10340         * string/Makefile (xtests): Add tst-strcoll-overflow.
10341         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10342         cache if string sizes may cause integer overflow.
10344         [BZ #14547]
10345         * string/strcoll_l.c (coll_seq): New members rule, idx,
10346         save_idx and back_us.
10347         (get_next_seq_nocache): New function.
10348         (do_compare_nocache): New function.
10349         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10350         when malloc fails.
10352 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
10354         [BZ #15754]
10355         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10356         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10357         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10359         [BZ #15754]
10360         * elf/Makefile (tests): Add tst-ptrguard1.
10361         (tests-static): Add tst-ptrguard1-static.
10362         (tst-ptrguard1-ARGS): Define.
10363         (tst-ptrguard1-static-ARGS): Define.
10364         * elf/tst-ptrguard1.c: New file.
10365         * elf/tst-ptrguard1-static.c: New file.
10366         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10367         * sysdeps/i386/stackguard-macros.h: Likewise.
10368         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10369         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10370         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10371         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10372         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10373         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10375 2013-09-23  Hector Marco  <hecmargi@upv.es>
10376             Ismael Ripoll  <iripoll@disca.upv.es>
10377             Carlos O'Donell  <carlos@redhat.com>
10379         [BZ #15754]
10380         * sysdeps/generic/stackguard-macros.h: Define
10381         __pointer_chk_guard_local and POINTER_CHK_GUARD.
10382         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10383         Define __pointer_chk_guard_local.
10384         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10385         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10387 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
10389         [BZ #15859]
10390         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10392 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
10394         * include/string.h (__ffs): Declare as hidden.
10395         * string/ffs.c (__ffs): Define as hidden.
10396         * sysdeps/i386/ffs.c (__ffs): Likewise.
10397         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10398         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10399         * sysdeps/s390/ffs.c (__ffs): Likewise.
10400         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10402 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
10404         * NEWS: Mention malloc probes.
10406         * malloc/arena.c (new_heap): New memory_heap_new probe.
10407         (grow_heap): New memory_heap_more probe.
10408         (shrink_heap): New memory_heap_less probe.
10409         (heap_trim): New memory_heap_free probe.
10410         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10411         (systrim): New memory_sbrk_less probe.
10412         * manual/probes.texi: Document them.
10414         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10415         * manual/probes.texi: Document it.
10417         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10418         (__libc_realloc): Add memory_realloc_retry probe.
10419         (__libc_memalign): Add memory_memalign_retry probe.
10420         (__libc_valloc): Add memory_valloc_retry probe.
10421         (__libc_pvalloc): Add memory_pvalloc_retry probe.
10422         (__libc_calloc): Add memory_calloc_retry probe.
10423         * manual/probes.texi: Document them.
10425         * malloc/arena.c (get_free_list): Add probe
10426         memory_arena_reuse_free_list.
10427         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10428         and memory_arena_reuse.
10429         (arena_get2) [!PER_THREAD]: Likewise.
10430         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10431         memory_arena_reuse_realloc.
10432         * manual/probes.texi: Document them.
10434         * malloc/malloc.c (__libc_free): Add
10435         memory_mallopt_free_dyn_thresholds probe.
10436         (__libc_mallopt): Add multiple memory_mallopt probes.
10437         * manual/probes.texi: Document them.
10439         * malloc/malloc.c: Include stap-probe.h.
10440         (__libc_mallopt): Add memory_mallopt probe.
10441         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10442         * manual/probes.texi: New.
10443         * manual/Makefile (chapters): Add probes.
10444         * manual/threads.texi: Set next node.
10446 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
10448         [BZ #15963, #13985]
10449         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10450         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10451         Add `Chinese' to `nan' entry name.
10453 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10455         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10456         (POLYNOMIAL): Likewise.
10457         (TAYLOR_SINCOS): Likewise.
10458         (TAYLOR_SLOW): Likewise.
10459         (__sin): Use TAYLOR_SINCOS.
10460         (__cos): Likewise.
10461         (slow): Use TAYLOR_SLOW.
10462         (sloww): Likewise.
10463         (bsloww): Likewise.
10464         (csloww): Likewise.
10466 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10468         * stdlib/strtod_l.c: Fix buffer overrun.
10470 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10472         * benchtests/Makefile (bench): Add sincos.
10473         * benchtests/bench-sincos.c: New file.
10475         * math/libm-test.inc (cos_test_data): New test inputs.
10476         (sin_test_data): Likewise.
10478         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10479         macro.
10480         (__sin): Use it.
10481         (__cos): Likewise.
10482         (slow1): Likewise.
10483         (slow2): Likewise.
10484         (sloww1): Likewise.
10485         (sloww2): Likewise.
10486         (bsloww1): Likewise.
10487         (bsloww2): Likewise.
10488         (cslow2): Likewise.
10489         (csloww1): Likewise.
10490         (csloww2): Likewise.
10492         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10493         function.
10494         (__sin): Use it.
10495         (__cos): Likewise.
10497         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10498         gotos.
10499         (__cos): Likewise.
10501 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
10503         * config.h.in (HAVE_MIPS_NAN2008): New macro.
10504         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10505         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10506         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10507         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10508         * elf/cache.c (print_entry): Handle the new cache flags.
10510 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10511             Aldy Hernandez  <aldyh@redhat.com>
10513         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10514         Change condition to [_SOFT_FLOAT].
10515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10527         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10530         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10531         declaration.
10533 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10535         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10536         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10537         (__longjmp): Use LOAD_GP to load saved GPRs.
10538         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10539         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10540         (__sigsetjmp): Use SAVE_GP to save GPRs.
10542         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10543         Do not append -msoft-float.
10544         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10546 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10548         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10550 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
10552         [BZ #15966]
10553         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10554         (_FPU_GETCW): Use initial "__" on variable and field names but not
10555         on macro parameter name.
10556         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
10557         parentheses around reference to macro parameter.
10559 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
10561         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10562         prototype.
10563         (ctype_startup): Use uint32_t in cast and sizeof for
10564         ctype->charnames.
10566 2013-09-11  Jia Liu  <proljc@gmail.com>
10568         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10569         __daddr_t_defined.
10570         [__FreeBSD__]: Likewise.
10572 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
10574         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10575         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10576         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10577         (strchr): Remove __strchr_sse42 ifunc selection.
10578         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10579         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10581 2013-09-11  Will Newton  <will.newton@linaro.org>
10583         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10584         parameter to RES. Remove hardcoded 1000 value.
10585         * benchtests/bench-skeleton.c (main): Pass RES parameter
10586         to TIMING_INIT and multiply result by 1000.
10588 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10592 2013-09-11  Andreas Schwab  <schwab@suse.de>
10594         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10595         if not defined.
10596         (O_TMPFILE) [__USE_GNU]: Define.
10597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10598         Define.
10600 2013-09-11  Will Newton  <will.newton@linaro.org>
10602         [BZ #15857]
10603         * malloc/malloc.c (__libc_memalign): Check the value of bytes
10604         does not overflow.
10606 2013-09-11  Will Newton  <will.newton@linaro.org>
10608         [BZ #15856]
10609         * malloc/malloc.c (__libc_valloc): Check the value of bytes
10610         does not overflow.
10612 2013-09-11  Will Newton  <will.newton@linaro.org>
10614         [BZ #15855]
10615         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10616         does not overflow.
10618 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
10620         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10621         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10622         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10623         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10624         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10626 2013-09-10  Allan McRae  <allan@archlinux.org>
10628         [BZ #15748]
10629         * manual/arith.texi (Parsing of Floats): Clarify
10630         cross-reference.
10632         [BZ #15849]
10633         * manual/install.texi (Running make install): Mention
10634         --enable-pt-chown.
10635         * INSTALL: Regenerated.
10637 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10639         * csu/init-first.c (_init): Remove the !SHARED condition around
10640         FPU control word initialization.
10641         * elf/dl-support.c (_dl_fpu_control): New variable.
10642         (_dl_aux_init) <AT_FPUCW>: Initialize it.
10643         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10644         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10645         * math/test-fpucw-static.c: New file.
10646         * math/test-fpucw-ieee.c: New file.
10647         * math/test-fpucw-ieee-static.c: New file.
10648         * math/Makefile (tests): Add `test-fpucw-ieee' and
10649         `$(tests-static)'.
10650         (tests-static): New variable.
10651         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10652         dependency to...
10653         [($(build-shared),yes)]
10654         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10655         ... this.
10656         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10657         New dependency.
10659 2013-09-09  Allan McRae  <allan@archlinux.org>
10661         [BZ #15939]
10662         * manual/string.texi (Collation Functions): Fix typo in
10663         strcoll example.
10664         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10666         [BZ #15893]
10667         * stdlib/isomac.c (get_null_defines): Fix memory leak.
10669         [BZ #15892]
10670         * libio/memstream.c (open_memstream): Fix memory leak.
10671         * libio/wmemstream.c (open_wmemstream): Likewise.
10673         [BZ #15895]
10674         * nscd/netgroupcache.c: Fix nesting of ifdefs.
10676 2013-09-09  Will Newton  <will.newton@linaro.org>
10678         * malloc/Makefile: Add tst-realloc to tests.
10679         * malloc/tst-realloc.c: New file.
10681 2013-09-09  Allan McRae  <allan@archlinux.org>
10683         [BZ #15844]
10684         * COPYING: Update from GNU website to fix FSF address.
10685         * COPYING.LIB: Likewise.
10687 2013-09-06  David S. Miller  <davem@davemloft.net>
10689         * po/zh_TW.po: Update Chinese (traditional) translation from
10690         translation project.
10692 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
10693             Joseph Myers  <joseph@codesourcery.com>
10695         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10696         "localeinfo.h".
10697         (obstack_chunk_alloc): New macro.
10698         (obstack_chunk_free): Likewise.
10699         (record_offset): New function.
10700         (init_locale_data): Likewise.
10701         (align_locale_data): Likewise.
10702         (add_locale_empty): Likewise.
10703         (add_locale_raw_data): Likewise.
10704         (add_locale_raw_obstack): Likewise.
10705         (add_locale_string): Likewise.
10706         (add_locale_wstring): Likewise.
10707         (add_locale_uint32): Likewise.
10708         (add_locale_uint32_array): Likewise.
10709         (add_locale_char): Likewise.
10710         (start_locale_structure): Likewise.
10711         (end_locale_structure): Likewise.
10712         (start_locale_prelude): Likewise.
10713         (end_locale_prelude): Likewise.
10714         (write_locale_data): Take locale_file structure rather than an
10715         iovec.
10716         * locale/programs/locfile.h: Include "obstack.h".
10717         (struct locale_file): Change to store locale file contents instead
10718         of header.
10719         (init_locale_data): New prototype.
10720         (align_locale_data): Likewise.
10721         (add_locale_empty): Likewise.
10722         (add_locale_raw_data): Likewise.
10723         (add_locale_raw_obstack): Likewise.
10724         (add_locale_string): Likewise.
10725         (add_locale_wstring): Likewise.
10726         (add_locale_uint32): Likewise.
10727         (add_locale_uint32_array): Likewise.
10728         (add_locale_char): Likewise.
10729         (start_locale_structure): Likewise.
10730         (end_locale_structure): Likewise.
10731         (start_locale_prelude): Likewise.
10732         (end_locale_prelude): Likewise.
10733         (write_locale_data): Update prototype.
10734         * locale/programs/3level.h (struct TABLE): Remove result field.
10735         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10736         Use new locale_file interface.
10737         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10738         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10739         * locale/programs/ld-address.c (address_output): Use new
10740         locale_file interface.
10741         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10742         NO_ADD_LOCALE.
10743         (collate_finish): Don't call collseq_table_finalize.
10744         (collate_output): Use new locale_file interface.
10745         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10746         in file.
10747         (NO_FINALIZE): Change to NO_ADD_LOCALE.
10748         (TABLE): Move defines earlier in file.
10749         (ELEMENT): Likewise.
10750         (DEFAULT): Likewise.
10751         (wctrans_table_add): Move macro and inline function earlier in
10752         file.
10753         (struct wctype_table): Move type earlier in file.
10754         (add_locale_wctype_table): New static prototype.
10755         (struct locale_ctype_t): Use logical types instead of struct iovec
10756         pointers for members.
10757         (ctype_output): Use new locale_file interface.
10758         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
10759         new locale_file interface.
10760         (allocate_arrays): Update for use of new locale_file interface.
10761         * locale/programs/ld-identification.c (identification_output): Use
10762         new locale_file interface.
10763         * locale/programs/ld-measurement.c (measurement_output): Likewise.
10764         * locale/programs/ld-messages.c (messages_output): Likewise.
10765         * locale/programs/ld-monetary.c (monetary_output): Likewise.
10766         * locale/programs/ld-name.c (name_output): Likewise.
10767         * locale/programs/ld-numeric.c (numeric_output): Likewise.
10768         * locale/programs/ld-paper.c (paper_output): Likewise.
10769         * locale/programs/ld-telephone.c (telephone_output): Likewise.
10770         * locale/programs/ld-time.c (time_output): Likewise.
10772 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10774         * benchtests/Makefile: Add memrchr benchmark.
10775         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10776         benchmark as memrchr.
10777         * benchtests/bench-memrchr-ifunc.c: New file.
10778         * benchtests/bench-memrchr.c: New file.
10780 2013-09-06   Will Newton  <will.newton@linaro.org>
10782         * benchtests/Makefile (string-bench): Add memcpy.
10784 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
10785             Cong Wang  <amwang@redhat.com>
10787         [BZ #15850]
10788         * sysdeps/unix/sysv/linux/bits/in.h
10789         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10790         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10791         before __USE_KERNEL_IPV6_DEFS uses.
10792         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10793         IPPROTO_BEETPH.
10794         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10795         sockaddr_in6, or ipv6_mreq.
10797 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10799         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10800         memory access for final bytes in some large inputs.
10801         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10803 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10805         * string/test-memrchr.c: New file.
10806         * string/test-memrchr-ifunc.c: New file.
10807         * string/Makefile: Add new memrchr testcase.
10809 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
10811         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10812         fanotify_init returns EPERM.
10814 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10816         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10817         errors.
10818         (top level): Treat second token from macro or constant entries for
10819         allowed headers as allowed.
10820         * include/complex.h: Condition internal declarations on
10821         [!_ISOMAC].
10822         * include/fenv.h: Condition include of <stdbool.h> and internal
10823         declarations on [!_ISOMAC].
10825 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
10827         [BZ #15923]
10828         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10830 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10832         * configure.in (--enable-versioning): Remove configure option.
10833         (libc_cv_asm_symver_directive): Remove configure test.
10834         (libc_cv_ld_version_script_option): Likewise.
10835         (VERSIONING): Remove variable and AC_SUBST.
10836         (DO_VERSIONING): Remove AC_DEFINE.
10837         * configure: Regenerated.
10838         * config.h.in (DO_VERSIONING): Remove macro.
10839         * Makerules [$(versioning) = yes]: Change conditionals to
10840         [$(build-shared) = yes].
10841         * config.make.in (versioning): Remove variable.
10842         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10843         [$(build-shared) = yes].
10844         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10845         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10846         * elf/Makefile [$(versioning) = yes]: Change conditionals to
10847         [$(build-shared) = yes].
10848         * extra-lib.mk [$(versioning) = yes]: Likewise.
10849         * hurd/Makefile [$(versioning) = yes]: Likewise.
10850         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10851         [SHARED].
10852         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10853         [SHARED].
10854         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10855         [SHARED && !NO_HIDDEN].
10856         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10857         [SHARED].
10858         [SHARED && DO_VERSIONING]: Likewise..
10859         * libio/Makefile [$(versioning) = yes]: Change conditionals to
10860         [$(build-shared) = yes].
10861         * manual/install.texi (--disable-versioning): Remove
10862         documentation.
10863         * INSTALL: Regenerated.
10864         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10865         to [SHARED].
10866         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10867         [$(build-shared) = yes].
10868         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10869         * sysdeps/i386/i686/multiarch/strstr-c.c
10870         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10871         [SHARED && !NO_HIDDEN].
10872         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10873         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10874         * sysdeps/powerpc/powerpc32/dl-machine.c
10875         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10876         * sysdeps/powerpc/powerpc32/sysdep.h
10877         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10878         to [SHARED && PIC && !NO_HIDDEN].
10879         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10880         conditional to [SHARED].
10882 2013-09-04   Will Newton  <will.newton@linaro.org>
10884         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10885         * benchtests/bench-string.h: Include bench-timing.h instead
10886         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10887         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10888         call to HP_TIMING_DIFF_INIT.
10889         * benchtests/bench-memccpy.c: Use bench-timing.h macros
10890         instead of hp-timing.h macros.
10891         * benchtests/bench-memchr.c: Likewise.
10892         * benchtests/bench-memcmp.c: Likewise.
10893         * benchtests/bench-memcpy.c: Likewise.
10894         * benchtests/bench-memmem.c: Likewise.
10895         * benchtests/bench-memmove.c: Likewise.
10896         * benchtests/bench-memset.c: Likewise.
10897         * benchtests/bench-rawmemchr.c: Likewise.
10898         * benchtests/bench-strcasecmp.c: Likewise.
10899         * benchtests/bench-strcasestr.c: Likewise.
10900         * benchtests/bench-strcat.c: Likewise.
10901         * benchtests/bench-strchr.c: Likewise.
10902         * benchtests/bench-strcmp.c: Likewise.
10903         * benchtests/bench-strcpy.c: Likewise.
10904         * benchtests/bench-strcpy_chk.c: Likewise.
10905         * benchtests/bench-strlen.c: Likewise.
10906         * benchtests/bench-strncasecmp.c: Likewise.
10907         * benchtests/bench-strncat.c: Likewise.
10908         * benchtests/bench-strncmp.c: Likewise.
10909         * benchtests/bench-strncpy.c: Likewise.
10910         * benchtests/bench-strnlen.c: Likewise.
10911         * benchtests/bench-strpbrk.c: Likewise.
10912         * benchtests/bench-strrchr.c: Likewise.
10913         * benchtests/bench-strspn.c: Likewise.
10914         * benchtests/bench-strstr.c: Likewise.
10916 2013-09-04  Will Newton  <will.newton@linaro.org>
10918         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10920 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
10922         [BZ #15427]
10923         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10924         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10925         * math/libm-test.inc (lgamma_test_data): Add more tests.
10926         * sysdeps/i386/fpu/libm-test-ulps: Update.
10927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10929 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
10931         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10932         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10933         Add ifunc.
10934         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10935         Add strcmp-sse2-unaligned
10936         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10938 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10940         * Versions.def (libc): Add GLIBC_2.19.
10942 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10944         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10945         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10947 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
10949         [BZ #14155]
10950         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10951         intermediate calculations in recurrence.
10952         (__ieee754_ynf): Likewise.
10953         * math/libm-test.inc (jn_test_data): Do not allow spurious
10954         underflow exception.  Add more tests.
10955         (yn_test_data): Add more tests.
10956         * sysdeps/i386/fpu/libm-test-ulps: Update.
10957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10959 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
10961         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10963 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10965         * csu/init-first.c: Fix then/than typos.
10966         * locale/programs/ld-collate.c: Likewise.
10967         * locale/programs/linereader.h: Likewise.
10968         * manual/charset.texi: Likewise.
10969         * manual/filesys.texi: Likewise.
10970         * manual/stdio.texi: Likewise.
10971         * manual/string.texi: Likewise.
10972         * stdlib/fmtmsg.c: Likewise.
10973         * sysdeps/i386/stpncpy.S: Likewise.
10974         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10975         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10976         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10977         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10979 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10981         * elf/dl-open.c: Fix typos.
10982         * iconvdata/gbbig5.c: Likewise.
10983         * iconvdata/iso-2022-jp.c: Likewise.
10984         * iconv/gconv_int.h: Likewise.
10985         * iconv/loop.c: Likewise.
10986         * nis/rpcsvc/nis.h: Likewise.
10987         * resolv/ns_name.c: Likewise.
10988         * stdio-common/vfscanf.c: Likewise.
10989         * streams/stropts.h: Likewise.
10990         * sunrpc/rpc_thread.c: Likewise.
10991         * sysdeps/i386/strpbrk.S: Likewise.
10992         * sysdeps/ieee754/k_standard.c: Likewise.
10993         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10994         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10995         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10996         * sysdeps/mach/hurd/profil.c: Likewise.
10997         * sysdeps/s390/dl-procinfo.h: Likewise.
10998         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10999         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11000         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11001         * sysdeps/x86_64/dl-trampoline.S: Likewise.
11002         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11004 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
11006         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11009 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
11011         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11012         aix specific files.
11013         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11014         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11015         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11016         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11017         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11018         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11019         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11020         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11022 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
11023             Roland McGrath  <roland@hack.frob.com>
11025         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11026         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11028 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11030         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11031         __executable_start symbol instead of _start.
11033 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
11035         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11036         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11037         Move macros to...
11038         * sysdeps/gnu/ldsodefs.h: ... this new file.
11040         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11041         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11042         instead of ELFOSABI_LINUX.
11044         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11045         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11046         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11047         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11048         Likewise.
11049         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11050         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11051         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11052         Likewise.
11053         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11054         (ibm_extended_long_double): Add ieee_nan member.
11055         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11056         (do_test): New function.
11058         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11059         TEST_TRUNC.
11060         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11061         functions, renamed from truncdfsf_test, trunctfsf_test,
11062         trunctfdf_test.
11063         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11064         functions.
11065         (do_test): Run all these.
11067 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
11069         * argp/argp-help.c: Fix typos.
11070         * argp/argp-parse.c: Likewise.
11071         * debug/backtracesyms.c: Likewise.
11072         * elf/elf.h: Likewise.
11073         * malloc/malloc.c: Likewise.
11074         * nis/nis_print.c: Likewise.
11075         * resolv/res_comp.c: Likewise.
11076         * stdlib/stdlib.h: Likewise.
11077         * sunrpc/clnt_tcp.c: Likewise.
11078         * sunrpc/clnt_udp.c: Likewise.
11079         * sunrpc/clnt_unix.c: Likewise.
11080         * sysdeps/unix/bsd/ptsname.c: Likewise.
11081         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11082         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11084         Likewise.
11085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11086         Likewise.
11087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11088         Likewise.
11089         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11091 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11093         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11096 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
11098         [BZ #15897]
11099         * dlfcn/Makefile (tests): Add bug-dl-leaf.
11100         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11101         ($(objpfx)bug-dl-leaf): New rule.
11102         ($(objpfx)bug-dl-leaf.so): Likewise.
11103         ($(objpfx)bug-dl-leaf.out): Likewise.
11104         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11105         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11106         * dlfcn/bug-dl-leaf.c: New test.
11107         * dlfcn/bug-dl-leaf-lib.c: Likewise.
11108         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11109         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11110         (dlclose): Likewise.
11111         (dlmopen): Likewise.
11113 2013-08-27  Roland McGrath  <roland@hack.frob.com>
11115         * include/netdb.h [!_ISOMAC]:
11116         Don't include <tls.h>.
11117         (h_errno, __libc_h_errno): Move declaration and macros out of
11118         [_LIBC_REENTRANT].
11120         * include/resolv.h [_RESOLV_H_]:
11121         Don't include <tls.h>.
11122         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11123         * resolv/res_libc.c: Don't include <tls.h>.
11124         (_res): Use __attribute__ ((nocommon)) in place of
11125         __attribute__ ((section (".bss"))).
11127         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11128         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11130         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11132         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11133         only under [SIOCGIFCONF && SIOCGIFNETMASK].
11135         * resolv/res_mkquery.c: Include <sys/time.h>.
11137         * inet/ifreq.c: Moved to ...
11138         * sysdeps/unix/ifreq.c: ... here.
11139         * inet/ifreq.c: New file, true stub version.
11141         * socket/sa_len.c: New file.
11142         * socket/Makefile (aux): Add it.
11143         * sysdeps/unix/sysv/linux/Makefile
11144         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11145         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11146         and #include <socket/sa_len.c>.
11147         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11148         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11150         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11151         * bits/socket.h: ... here.
11153         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11154         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11155         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11157 2013-08-27  Andreas Schwab  <schwab@suse.de>
11159         [BZ #15736]
11160         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11161         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11162         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11163         * string/test-strcasecmp.c (test_main): Run tests in several
11164         locales.
11165         * string/test-strncasecmp.c (test_main): Likewise.
11167         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11168         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11169         to __strcasecmp_nonascii and __strncasecmp_nonascii.
11170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11171         (__strncasecmp_ssse3) [PIC]: Likewise.
11173 2013-08-26  Roland McGrath  <roland@hack.frob.com>
11175         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11177         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11178         instead of explicitly declaring xdecrypt.
11179         * nis/nss_nis/nis-publickey.c: Likewise.
11181 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11183         [BZ #15890]
11184         * nscd/aicache.c: Include res_hconf.h.
11185         (addhstaiX): Initialize res_hconf.
11187 2013-08-26  Andreas Schwab  <schwab@suse.de>
11189         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11190         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11192 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11194         * nscd/aicache.c (addhstaiX): Fix indentation.
11196 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
11198         * configure.ac: Quote $build_pt_chown test.
11199         * configure: Regenerated.
11201 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
11203         [BZ #15532]
11204         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11205         * math/s_cexpf.c (__cexpf): Likewise.
11206         * math/s_cexpl.c (__cexpl): Likewise.
11207         * math/libm-test.inc (cexp_test_data): Correct expected return
11208         value for NaN + i0.  Add another test.
11210 2013-08-22  David S. Miller  <davem@davemloft.net>
11212         * po/ca.po: Update Catalan translation from translation project.
11213         * po/uk.po: Add Ukrainian translations from translation project.
11215 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
11217         [BZ #15797]
11218         * math/s_fdim.c (__fdim): Check for infinite arguments if result
11219         is infinite, not alongside NaN test.
11220         * math/s_fdimf.c (__fdimf): Likewise.
11221         * math/s_fdiml.c (__fdiml): Likewise.
11222         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
11223         errno is unchanged.
11225 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
11227         * argp/argp-help.c: Fix typos.
11228         * crypt/speeds.c: Likewise.
11229         * csu/check_fds.c: Likewise.
11230         * elf/dl-load.c: Likewise.
11231         * elf/dl-open.c: Likewise.
11232         * elf/reldep3.c: Likewise.
11233         * elf/reldep.c: Likewise.
11234         * elf/sprof.c: Likewise.
11235         * iconv/iconv_charmap.c: Likewise.
11236         * iconv/skeleton.c: Likewise.
11237         * iconv/strtab.c: Likewise.
11238         * io/lockf64.c: Likewise.
11239         * libio/libioP.h: Likewise.
11240         * resolv/gai_notify.c: Likewise.
11241         * resolv/ns_name.c: Likewise.
11242         * resolv/ns_samedomain.c: Likewise.
11243         * resolv/res_send.c: Likewise.
11244         * stdlib/random.c: Likewise.
11245         * sunrpc/rpc/xdr.h: Likewise.
11246         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11247         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11248         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11249         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11250         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11251         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11252         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11253         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11254         * sysdeps/mach/hurd/check_fds.c: Likewise.
11255         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11256         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11257         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11258         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11259         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11260         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11261         * sysdeps/pthread/aio_notify.c: Likewise.
11262         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11263         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11264         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11265         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11266         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11268 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11270         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11271         version if bit_Slow_SSE4_2 is set.
11272         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11273         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11275 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11277         [BZ #15867]
11278         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11279         trampoline stack frame information.
11280         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11281         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11282         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11283         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11284         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11285         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11286         (_libc_vdso_platform_setup): Initialize the signal trampolines.
11287         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11288         sa_flags value.
11289         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11290         interrupting a syscall and set with option SA_SIGINFO.
11292 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11294         [BZ #15531]
11295         * math/s_cproj.c (__cproj): Only return an infinity if one part of
11296         argument is infinite.
11297         * math/s_cprojf.c (__cprojf): Likewise.
11298         * math/s_cprojl.c (__cprojl): Likewise.
11299         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11300         * math/libm-test.inc (cproj_test_data): Add more tests.
11302         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11304         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11305         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11306         size.  Use __ffs to determine corresponding shift.
11308 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11309             Roland McGrath  <roland@hack.frob.com>
11311         * Makefile (INSTALL): Remove trailing blank lines from output of
11312         makeinfo.
11314 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11316         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11317         Align 32 bit compat elf_greg to 8 bytes.
11319 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11321         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11323 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11325         * string/strcoll_l.c (coll_seq): New structure.
11326         (get_next_seq_cached): New function.
11327         (get_next_seq): New function.
11328         (do_compare): New function.
11329         (STRCOLL): Use GNU style definition.  Simplify implementation
11330         by using get_next_seq, get_next_seq_cached and do_compare.
11332 2013-08-16  Florian Weimer  <fweimer@redhat.com>
11334         [BZ #14699]
11335         CVE-2013-4237
11336         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11337         member.
11338         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11339         member.
11340         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11341         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11342         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
11343         conditional.
11344         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11345         GETDENTS_64BIT_ALIGNED.
11346         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11347         * manual/filesys.texi (Reading/Closing Directory): Document
11348         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
11349         strongly.
11350         * manual/conf.texi (Limits for Files): Add portability note to
11351         NAME_MAX, PATH_MAX.
11352         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11354 2013-08-13  Andreas Schwab  <schwab@suse.de>
11356         [BZ #15749]
11357         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11358         of fabs.
11359         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11360         LDBL_MAX_EXP >= 16384]: Add tests for it.
11362 2013-08-12  David S. Miller  <davem@davemloft.net>
11364         * version.h (RELEASE): Set to "development".
11365         (VERSION): Set to "2.18.90".
11366         * NEWS: Add 2.19 section.
11368 2013-08-03  David S. Miller  <davem@davemloft.net>
11370         * po/ko.po: Update Korean translation from translation project.
11372 2013-08-01  David S. Miller  <davem@davemloft.net>
11374         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
11375         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11376         Bilka.
11378 2013-07-30  David S. Miller  <davem@davemloft.net>
11380         * po/fr.po: Update French translation from translation project.
11382 2013-07-28  David S. Miller  <davem@davemloft.net>
11384         * po/cs.po: Update Czech translation from translation project.
11386         * po/sv.po: Update Swedish translation from translation project.
11388 2013-07-27  David S. Miller  <davem@davemloft.net>
11390         * po/eo.po: Update Esperanto translation from translation project.
11392         * po/vi.po: Update Vietnamese translation from translation project.
11394         * po/de.po: Update German translation from translation project.
11396 2013-07-26  David S. Miller  <davem@davemloft.net>
11398         * po/bg.po: Update Bulgarian translation from translation project.
11400         * po/nl.po: Update Dutch translation from translation project.
11401         * po/pl.po: Update Polish translation from translation project.
11402         * po/ru.po: Update Russian translation from translation project.
11404 2013-07-24  David S. Miller  <davem@davemloft.net>
11406         * po/libc.pot: Update.
11408 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11410         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11411         variable page size.
11412         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11413         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11414         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11416 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11418         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11420 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11421             Andreas Schwab  <schwab@suse.de>
11422             Roland McGrath  <roland@hack.frob.com>
11423             Joseph Myers  <joseph@codesourcery.com>
11424             Carlos O'Donell  <carlos@redhat.com>
11426         [BZ #15755]
11427         * config.h.in: Define HAVE_PT_CHOWN.
11428         * config.make.in (build-pt-chown): New variable.
11429         * configure.in (--enable-pt_chown): New configure option.
11430         * configure: Regenerate.
11431         * login/Makefile: Include Makeconfig.  Build pt_chown only if
11432         build-pt-chown is enabled.
11433         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11434         pt_chown to fix pty ownership.
11435         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11436         CLOSE_ALL_FDS.
11437         * manual/install.texi (Configuring and compiling): Mention
11438         --enable-pt_chown. Add @findex for grantpt.
11439         * INSTALL: Regenerate.
11441 2013-07-20  David S. Miller  <davem@davemloft.net>
11443         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11444         difference between 32-bit and 64-bit.
11446 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
11448         [BZ #15711]
11449         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11450         Avoid system header dependency with -ffreestanding.
11451         ($(objpfx)bits/syscall%d): Likewise.
11453 2013-07-13  David S. Miller  <davem@davemloft.net>
11455         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11456         underflows from atanl/atan2l due to bug 15319.
11457         (casinh_test_data): Likewise.
11459 2013-07-07  David S. Miller  <davem@davemloft.net>
11461         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11463 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
11465         * sysdeps/i386/fpu/libm-test-ulps: Update.
11466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11468 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11470         * configure.in (--enable-lock-elision): Fix message text.
11471         * INSTALL: Regenerate.
11472         * configure: Regenerate.
11474 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11478 2013-07-03  Andreas Jaeger  <aj@suse.de>
11480         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11481         define.
11482         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11483         (ptrace_peeksiginfo_args): Add.
11484         (__ptrace_peeksiginfo_flags): Add.
11485         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11486         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11487         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11489 2013-07-03  Allan McRae  <allan@archlinux.org>
11491         * sysdeps/i386/fpu/libm-test-ulps: Update.
11493 2013-07-02  David S. Miller  <davem@davemloft.net>
11495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11497 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
11499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11501 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11503         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11506 2013-07-02  Andi Kleen <ak@linux.intel.com>
11508         * config.h.in (ENABLE_LOCK_ELISION): Add.
11509         * configure.in (--enable-lock-elision): Add option.
11510         * manual/install.texi: Document --enable lock elision.
11511         * configure: Regenerate
11512         * INSTALL: Regenerate.
11514 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11516         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11517         SSE4.2 strcasecmp for libc.a.
11518         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11520 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11522         [BZ #13304]
11523         * soft-fp/op-common.h (_FP_FMA): New macro.
11524         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11525         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
11526         (_FP_MUL_MEAT_1_imm): ... here.
11527         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
11528         (_FP_MUL_MEAT_1_wide): ... here.
11529         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
11530         (_FP_MUL_MEAT_1_hard): ... here.
11531         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11532         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
11533         (_FP_MUL_MEAT_2_wide): ... here.
11534         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
11535         (_FP_MUL_MEAT_2_wide_3mul): ... here.
11536         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
11537         (_FP_MUL_MEAT_2_gmp): ... here.
11538         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11539         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
11540         (_FP_MUL_MEAT_4_wide): ... here.
11541         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
11542         (_FP_MUL_MEAT_4_gmp): ... here.
11543         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11544         (_FP_WFRACBITS_DW_S): Likewise.
11545         (_FP_WFRACXBITS_DW_S): Likewise.
11546         (_FP_HIGHBIT_DW_S): Likewise.
11547         (FP_FMA_S): Likewise.
11548         (_FP_FRAC_HIGH_DW_S): Likewise.
11549         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11550         (_FP_WFRACBITS_DW_D): Likewise.
11551         (_FP_WFRACXBITS_DW_D): Likewise.
11552         (_FP_HIGHBIT_DW_D): Likewise.
11553         (FP_FMA_D): Likewise.
11554         (_FP_FRAC_HIGH_DW_D): Likewise.
11555         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11556         (_FP_WFRACBITS_DW_E): Likewise.
11557         (_FP_WFRACXBITS_DW_E): Likewise.
11558         (_FP_HIGHBIT_DW_E): Likewise.
11559         (FP_FMA_E): Likewise.
11560         (_FP_FRAC_HIGH_DW_E): Likewise.
11561         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11562         (_FP_WFRACBITS_DW_Q): Likewise.
11563         (_FP_WFRACXBITS_DW_Q): Likewise.
11564         (_FP_HIGHBIT_DW_Q): Likewise.
11565         (FP_FMA_Q): Likewise.
11566         (_FP_FRAC_HIGH_DW_Q): Likewise.
11567         * soft-fp/fmasf4.c: New file.
11568         * soft-fp/fmadf4.c: Likewise.
11569         * soft-fp/fmatf4.c: Likewise.
11571 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11574         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11575         Silvermont.
11576         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11577         macro.
11578         (index_Slow_SSE4_2): Likewise.
11579         (index_Prefer_PMINUB_for_stringop): Likewise.
11580         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11581         bit_Slow_SSE4_2 is set.
11582         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11583         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11585 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11587         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11588         rtld_global._dl_hwcap2.
11589         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11590         POWER8.
11591         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11592         POWER8 feature descriptions defined in _dl_hwcap2.
11593         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11594         string handling for POWER8 feature bits.
11595         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11596         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11597         _dl_powerpc_cap_flags.
11598         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11599         * sysdeps/powerpc/rtld-global-offsets.sym
11600         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11601         _dl_hwcap2 in the rtld_global_ro structure.
11603 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11605         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11606         hardware capabilities in support of AT_HWCAP2.
11607         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11608         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11609         GLRO(dl_hwcap2).
11610         (_dl_show_auxv): Add support for calling _dl_procinfo to display
11611         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
11612         explicitly the unknown a_type display mechanism is used.
11613         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11614         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11615         struct member.
11616         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11617         to macro prototype for AT_HWCAP2 support.
11618         * sysdeps/i386/dl-procinfo.h: Likewise.
11619         * sysdeps/s390/dl-procinfo.h: Likewise.
11620         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11621         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
11622         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
11623         return -1 for unknown a_type display fallback.
11624         * sysdeps/sparc/dl-procinfo.h: Likewise.
11625         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11626         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11628 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
11630         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11631         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11633 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
11635         [BZ #12492]
11636         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11637         mprotect making __stack_prot writable.
11639 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
11640             Joseph Myers  <joseph@codesourcery.com>
11642         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11643         as being properly aligned.
11645 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
11647         * dlfcn/modstatic5.c: New file.
11648         * dlfcn/tststatic5.c: New file.
11649         * dlfcn/Makefile (tests): Add tststatic5.
11650         (tests-static): Likewise.
11651         (modules-names): Add modstatic5.
11652         (tststatic5-ENV): New variable.
11653         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11655         [BZ #15022]
11656         * elf/dl-support.c (_dl_main_map): New variable.
11657         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11658         (_dl_nns, _dl_load_adds): Set to 1.
11659         (_dl_initial_searchlist): Refer to _dl_main_map.
11660         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11661         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11662         call to _dl_get_origin.
11663         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11664         around call_map.
11665         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11666         * dlfcn/modstatic3.c: New file.
11667         * dlfcn/tststatic3.c: New file.
11668         * dlfcn/tststatic4.c: New file.
11669         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11670         (tests-static): Likewise.
11671         (modules-names): Add modstatic3.
11672         (tststatic3-ENV, tststatic4-ENV): New variables.
11673         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11674         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11676 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
11678         * configure.in (CC): Require GCC version 4.4 or later.
11679         * configure: Regenerated.
11680         * manual/install.texi (Tools for Compilation): Update GCC version
11681         requirement.
11682         * INSTALL: Regenerated.
11684 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11686         [BZ #15674]
11687         * string/test-memcmp.c (check2): New.
11688         (main): Call check2.
11690         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11692 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
11694         [BZ #15022]
11695         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11696         over to...
11697         (dl_open_worker) [!SHARED]: ... here.
11699 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11701         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11703 2013-06-25  Richard Henderson  <rth@redhat.com>
11705         * locale/programs/locarchive.c: Include <libc-internal.h>
11707 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
11709         * manual/texinfo.tex: Update to version 2013-06-21.17, with
11710         trailing whitespace removed.
11712 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11714         [BZ #10283]
11715         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11716         * locale/programs/locarchive.c: Include libc-mmap.h.
11717         (prepare_address_space): Take two new outputs (the mmap base and len).
11718         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
11719         values.
11720         (create_archive): Declare new mmap base and len values for
11721         prepare_address_space, and store the result in ah.
11722         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11723         (enlarge_archive): If ah->mmap_base is not NULL, use that and
11724         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11725         Declare new mmap base and len values for
11726         prepare_address_space, and store the result in new_ah.
11727         (open_archive): Declare new mmap base and len values for
11728         prepare_address_space, and store the result in ah.
11729         (close_archive): If ah->mmap_base is not NULL, use that and
11730         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11731         * sysdeps/generic/libc-mmap.h: New file.
11733 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11735         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11736         (ALIGN_UP): Likewise.
11737         (PTR_ALIGN_DOWN): Likewise.
11738         (PTR_ALIGN_UP): Likewise.
11740 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11742         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11743         entry mapped to PPC_PLATFORM_POWER8.
11744         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11745         POWER8.
11746         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11747         (_dl_string_platform): Add case for exporting platform position for
11748         POWER8.
11749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11750         search path to sysdeps/powerpc/powerpc32/power8 directory.
11751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11752         search path to sysdeps/powerpc/powerpc64/power8 directory.
11753         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11754         power7 directories.
11755         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11756         power7 directories.
11758 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11760         * INSTALL: Regenerate.
11762         * nscd/connections.c (nscd_init): Fix comment.
11764 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
11766         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11768         [BZ #15667]
11769         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11770         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11772 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11774         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11775         DL_DST_REQ_STATIC.
11776         (DL_DST_REQ_STATIC): Remove macro.
11778 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
11780         [BZ #7006]
11781         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11782         with a shift of 0 bits.
11784 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11786         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11787         $(tststatic-ENV).
11789 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11791         [BZ #15655]
11792         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11794 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11796         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11797         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11798         accepts -fno-tree-loop-distribute-patterns.
11799         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11800         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11801         recursive call.
11802         * string/memset.c (memset): Likewise.
11803         * string/test-memmove.c (simple_memmove): Disable loop transformation
11804         to library calls.
11805         * string/test-memset.c (simple_memset): Likewise.
11806         * benchtests/bench-memmove.c (simple_memmove): Likewise.
11807         * benchtests/bench-memset.c (simple_memset): Likewise.
11808         * configure: Regenerated.
11810 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
11812         * math/test-misc.c (main): Ignore fesetround failure when failures
11813         of subsequent rounding tests would be ignored.
11815         [BZ #15654]
11816         * math/fedisblxcpt.c (fedisableexcept): Return 0.
11817         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11818         * math/fegetenv.c (__fegetenv): Return 0.
11819         * math/fegetexcept.c (fegetexcept): Return 0.
11820         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11821         FE_TONEAREST.
11822         * math/feholdexcpt.c (feholdexcept): Return 0.
11823         * math/fesetenv.c (__fesetenv): Return 0.
11824         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11825         argument FE_TONEAREST.
11826         * math/feupdateenv.c (__feupdateenv): Return 0.
11827         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11829 2013-06-18  Roland McGrath  <roland@hack.frob.com>
11831         * elf/rtld-Rules (rtld-compile-command.S): New variable.
11832         (rtld-compile-command.s, rtld-compile-command.c): New variables.
11833         ($(objpfx)rtld-%.os rules): Use them.
11835 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11837         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11838         fields.
11840 2013-06-17  Roland McGrath  <roland@hack.frob.com>
11842         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11843         length of target pattern, then descending length of dependency pattern.
11844         * configure.in (AWK): Require gawk 3.1.2 or newer.
11845         * manual/install.texi (Tools for Compilation): Say that we do.
11846         * configure: Regenerated.
11848         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11849         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11850         * scripts/sysd-rules.awk: ... this new script.
11851         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11852         than a glob-style pattern.
11854 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
11856         * math/test-misc.c (main): Do not treat incorrectly rounded
11857         conversions as failure unless ROUNDING_TESTS passes.
11859 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
11861         [BZ #15631]
11862         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11863         restore exception state around main square root computation, then
11864         check for inexactness explicitly.
11866         * math/libm-test.inc (fma_test_data): Add another test.
11868 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11870         * manual/threads.texi (Non-POSIX Extensions): New document
11871         node.  Document pthread_getattr_default_np and
11872         pthread_setattr_default_np.
11874         * Versions.def (libpthread): Add GLIBC_2.18.
11875         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11877         Likewise.
11878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11879         Likewise.
11880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11881         Likewise.
11882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11883         Likewise.
11884         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11885         Likewise.
11886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11887         Likewise.
11888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11889         Likewise.
11890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11891         Likewise.
11892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11893         Likewise.
11895 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11898         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11900 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11901             H.J. Lu  <hjl.tools@gmail.com>
11903         [BZ #15627]
11904         * sysdeps/x86_64/rtld-memset.c: Remove file.
11905         * sysdeps/x86_64/rtld-memset.S: New file.
11907 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
11909         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11910         (test_in_one_mode): Take arguments for whether the rounding mode
11911         is supported for each floating-point type.
11912         (do_test): Pass new arguments to test_in_one_mode using
11913         ROUNDING_TESTS.
11915 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11917         * posix/tst-waitid.c (do_test): Distinguish different instances of
11918         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
11919         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11920         before entering the kernel for waitpid.
11922 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11924         * NEWS: Fix note on clock function precision.  Text by Roland
11925         McGrath.
11927 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11929         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11930         it into place only when and if the sanity check passes.
11932 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
11934         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11935         output for whether conversion result is exact.  Take argument
11936         indicating whether type is IBM long double.
11937         (round_for_all): Change need_exact field to ibm_ld.
11938         * stdlib/tst-strtod-round.c (struct exactness): New type.
11939         (struct test): Change bool ld_ok field to struct exactness exact.
11940         (TEST): Update all definitions for change to field.
11941         (tests): Regenerate array contents.
11942         (test_in_one_mode): Take pointer to new field instead of old ld_ok
11943         field value.  Check for IBM long double here.
11944         (do_test): Update calls to test_in_one_mode.
11946 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11948         [BZ #12515]
11949         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11950         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11952 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11954         [BZ #15605]
11955         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11956         generated by the compiler on loop optimizations.
11957         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11958         general definitions.
11960 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
11962         * math/bug-nextafter.c: Include <math-tests.h>.
11963         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11964         the relevant type.
11965         * math/bug-nexttoward.c: Include <math-tests.h>.
11966         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11967         the relevant type.
11968         * math/test-misc.c: Include <math-tests.h>.
11969         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11970         the relevant type.
11972 2013-06-12  Andreas Jaeger  <aj@suse.de>
11974         * po/ia.po: Update Interlingua translation from translation
11975         project.
11977 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11979         * include/fenv.h: Include stdbool.h.
11980         (struct rm_ctx): New structure.
11981         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11982         Define macro.
11983         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11984         (SET_RESTORE_ROUNDF): Likewise.
11985         (SET_RESTORE_ROUNDL): Likewise.
11986         (SET_RESTORE_ROUND_NOEX): Likewise.
11987         (SET_RESTORE_ROUND_NOEXF): Likewise.
11988         (SET_RESTORE_ROUND_NOEXL): Likewise.
11989         (SET_RESTORE_ROUND_53BIT): Likewise.
11990         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11991         (libc_feresetround_noexf_ctx): Likewise.
11992         (libc_feresetround_noexl_ctx): Likewise.
11993         (libc_feholdsetround_53bit_ctx): Likewise.
11994         (libc_feresetround_53bit_ctx): Likewise.
11995         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11996         (libc_feholdexcept_setround_sse_ctx): New function.
11997         (libc_fesetenv_sse_ctx): Likewise.
11998         (libc_feupdateenv_sse_ctx): Likewise.
11999         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12000         (libc_feholdexcept_setround_387_ctx): Likewise.
12001         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12002         (libc_feholdsetround_387_prec_ctx): Likewise.
12003         (libc_feholdsetround_387_ctx): Likewise.
12004         (libc_feholdsetround_387_53bit_ctx): Likewise.
12005         (libc_feholdsetround_sse_ctx): Likewise.
12006         (libc_feresetround_sse_ctx): Likewise.
12007         (libc_feresetround_387_ctx): Likewise.
12008         (libc_feupdateenv_387_ctx): Likewise.
12009         (libc_feholdexcept_setroundf_ctx): Define macro.
12010         (libc_fesetenvf_ctx): Likewise.
12011         (libc_feupdateenvf_ctx): Likewise.
12012         (libc_feholdsetroundf_ctx): Likewise.
12013         (libc_feresetroundf_ctx): Likewise.
12014         (libc_feholdexcept_setround_ctx): Likewise.
12015         (libc_fesetenv_ctx): Likewise.
12016         (libc_feupdateenv_ctx): Likewise.
12017         (libc_feholdsetround_ctx): Likewise.
12018         (libc_feresetround_ctx): Likewise.
12019         (libc_feholdexcept_setroundl_ctx): Likewise.
12020         (libc_feupdateenvl_ctx): Likewise.
12021         (libc_feholdsetroundl_ctx): Likewise.
12022         (libc_feresetroundl_ctx): Likewise.
12023         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12024         (libc_feresetround_53bit_ctx): Likewise.
12026 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12028         * locale/iso-639.def: Convert to UTF-8.
12030 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
12032         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12033         (EXCEPTION_TESTS_double): Likewise.
12034         (EXCEPTION_TESTS_long_double): Likewise.
12035         (EXCEPTION_TESTS): Likewise.
12036         * math/libm-test.inc (test_exceptions): Only test exceptions if
12037         EXCEPTION_TESTS (FLOAT).
12039 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12041         * benchtests/Makefile (string-bench): Add strcpy_chk and
12042         stpcpy_chk.
12043         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12044         * benchtests/bench-stpcpy_chk.c: New file.
12045         * benchtests/bench-strcpy_chk-ifunc.c: New file.
12046         * benchtests/bench-strcpy_chk.c: New file.
12047         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12048         code.
12049         (do_test): Likewise.
12051 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12053         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12054         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12055         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12056         with tabs where appropriate.
12057         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12058         dl-procinfo.h.
12059         [PPC_PLATFORM_PPC440]: Likewise.
12060         [PPC_PLATFORM_PPC464]: Likewise.
12061         [PPC_PLATFORM_PPC476]: Likewise.
12062         (_dl_string_platform): Add support for detecting ppc405, ppc440,
12063         ppc464, and ppc476 platform strings merging from ports/
12064         dl-procinfo.h.
12066 2013-06-11  Andreas Schwab  <schwab@suse.de>
12068         [BZ #14991]
12069         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12070         (from_ucs4_idx): Regenerate.
12071         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12072         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12073         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12074         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12075         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12076         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12077         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12078         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12079         from FROM_LOOP and TO_LOOP specific macros.
12080         (BODY): Handle combining characters.
12081         * iconvdata/BIG5HKSCS.irreversible: Update.
12082         * iconvdata/BIG5HKSCS.precomposed: New file.
12083         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12084         characters.
12085         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12087 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12089         * include/sys/time.h: Fix indentation and add copyright header.
12091         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12092         (do_test): Likewise.
12093         * string/test-memchr.c (do_one_test): Likewise.
12094         (do_test): Likewise.
12095         * string/test-memcmp.c (do_one_test): Likewise.
12096         (do_test): Likewise.
12097         * string/test-memcpy.c (do_one_test): Likewise.
12098         (do_test): Likewise.
12099         * string/test-memmem.c (do_one_test): Likewise.
12100         (do_test): Likewise.
12101         (do_random_tests): Likewise.
12102         * string/test-memmove.c (do_one_test): Likewise.
12103         (do_test): Likewise.
12104         * string/test-memset.c (do_one_test): Likewise.
12105         (do_test): Likewise.
12106         * string/test-rawmemchr.c (do_one_test): Likewise.
12107         (do_test): Likewise.
12108         * string/test-strcasecmp.c (do_one_test): Likewise.
12109         (do_test): Likewise.
12110         * string/test-strcasestr.c (do_one_test): Likewise.
12111         (do_test): Likewise.
12112         * string/test-strcat.c (do_one_test): Likewise.
12113         (do_test): Likewise.
12114         * string/test-strchr.c (do_one_test): Likewise.
12115         (do_test): Likewise.
12116         * string/test-strcmp.c (do_one_test): Likewise.
12117         (do_test): Likewise.
12118         * string/test-strcpy.c (do_one_test): Likewise.
12119         (do_test): Likewise.
12120         * string/test-string.h: Likewise.
12121         (test_init): Likewise.
12122         * string/test-strlen.c (do_one_test): Likewise.
12123         (do_test): Likewise.
12124         * string/test-strncasecmp.c (do_one_test): Likewise.
12125         (do_test): Likewise.
12126         * string/test-strncat.c (do_one_test): Likewise.
12127         (do_test): Likewise.
12128         * string/test-strncmp.c (do_one_test): Likewise.
12129         (do_test_limit): Likewise.
12130         (do_test): Likewise.
12131         * string/test-strncpy.c (do_one_test): Likewise.
12132         (do_test): Likewise.
12133         * string/test-strnlen.c (do_one_test): Likewise.
12134         (do_test): Likewise.
12135         * string/test-strpbrk.c (do_one_test): Likewise.
12136         (do_test): Likewise.
12137         * string/test-strrchr.c (do_one_test): Likewise.
12138         (do_test): Likewise.
12139         * string/test-strspn.c (do_one_test): Likewise.
12140         (do_test): Likewise.
12141         * string/test-strstr.c (do_one_test): Likewise.
12142         (do_test): Likewise.
12144         * benchtests/Makefile (string-bench): Add string benchmarks.
12145         * benchtests/bench-bcopy-ifunc.c: New file.
12146         * benchtests/bench-bcopy.c: New file.
12147         * benchtests/bench-bzero-ifunc.c: New file.
12148         * benchtests/bench-bzero.c: New file.
12149         * benchtests/bench-memccpy-ifunc.c: New file.
12150         * benchtests/bench-memccpy.c: New file.
12151         * benchtests/bench-memchr-ifunc.c: New file.
12152         * benchtests/bench-memchr.c: New file.
12153         * benchtests/bench-memcmp-ifunc.c: New file.
12154         * benchtests/bench-memcmp.c: New file.
12155         * benchtests/bench-memmem-ifunc.c: New file.
12156         * benchtests/bench-memmem.c: New file.
12157         * benchtests/bench-memmove-ifunc.c: New file.
12158         * benchtests/bench-memmove.c: New file.
12159         * benchtests/bench-mempcpy-ifunc.c: New file.
12160         * benchtests/bench-mempcpy.c: New file.
12161         * benchtests/bench-memset-ifunc.c: New file.
12162         * benchtests/bench-memset.c: New file.
12163         * benchtests/bench-rawmemchr-ifunc.c: New file.
12164         * benchtests/bench-rawmemchr.c: New file.
12165         * benchtests/bench-stpcpy-ifunc.c: New file.
12166         * benchtests/bench-stpcpy.c: New file.
12167         * benchtests/bench-stpncpy-ifunc.c: New file.
12168         * benchtests/bench-stpncpy.c: New file.
12169         * benchtests/bench-strcasecmp-ifunc.c: New file.
12170         * benchtests/bench-strcasecmp.c: New file.
12171         * benchtests/bench-strcasestr-ifunc.c: New file.
12172         * benchtests/bench-strcasestr.c: New file.
12173         * benchtests/bench-strcat-ifunc.c: New file.
12174         * benchtests/bench-strcat.c: New file.
12175         * benchtests/bench-strchr-ifunc.c: New file.
12176         * benchtests/bench-strchr.c: New file.
12177         * benchtests/bench-strchrnul-ifunc.c: New file.
12178         * benchtests/bench-strchrnul.c: New file.
12179         * benchtests/bench-strcmp-ifunc.c: New file.
12180         * benchtests/bench-strcmp.c: New file.
12181         * benchtests/bench-strcpy-ifunc.c: New file.
12182         * benchtests/bench-strcpy.c: New file.
12183         * benchtests/bench-strcspn-ifunc.c: New file.
12184         * benchtests/bench-strcspn.c: New file.
12185         * benchtests/bench-strlen-ifunc.c: New file.
12186         * benchtests/bench-strlen.c: New file.
12187         * benchtests/bench-strncasecmp-ifunc.c: New file.
12188         * benchtests/bench-strncasecmp.c: New file.
12189         * benchtests/bench-strncat-ifunc.c: New file.
12190         * benchtests/bench-strncat.c: New file.
12191         * benchtests/bench-strncmp-ifunc.c: New file.
12192         * benchtests/bench-strncmp.c: New file.
12193         * benchtests/bench-strncpy-ifunc.c: New file.
12194         * benchtests/bench-strncpy.c: New file.
12195         * benchtests/bench-strnlen-ifunc.c: New file.
12196         * benchtests/bench-strnlen.c: New file.
12197         * benchtests/bench-strpbrk-ifunc.c: New file.
12198         * benchtests/bench-strpbrk.c: New file.
12199         * benchtests/bench-strrchr-ifunc.c: New file.
12200         * benchtests/bench-strrchr.c: New file.
12201         * benchtests/bench-strspn-ifunc.c: New file.
12202         * benchtests/bench-strspn.c: New file.
12203         * benchtests/bench-strstr-ifunc.c: New file.
12204         * benchtests/bench-strstr.c: New file.
12206         * benchtests/Makefile: Disable parallel execution of targets.
12207         (string-bench): Add memcpy.
12208         (benchset): New variable to store a list of benchmark sets.
12209         (bench-func): Renamed from bench.
12210         (bench-set): New target.
12211         (bench): Depend on bench-func and bench-set.
12212         * benchtests/README: Add section on benchmark sets.
12213         * benchtests/bench-memcpy-ifunc.c: New file.
12214         * benchtests/bench-memcpy.c: New file.
12215         * benchtests/bench-string.h: New file.
12217 2013-06-11  Andreas Schwab  <schwab@suse.de>
12219         [BZ #15577]
12220         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12221         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12222         values in the triple.
12223         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12224         terminator in the group key.
12226 2013-06-11  Andreas Jaeger  <aj@suse.de>
12228         * po/zh_TW.po: Update Chinese (traditional) translation from
12229         translation project.
12231 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12233         * include/time.h (__clock_gettime): Add libc_hidden_proto.
12234         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12235         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
12236         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12237         (clock_getcpuclockid): Likewise.
12238         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12239         Add weak_alias and libc_hidden_def.
12240         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12241         * rt/clock_gettime.c (clock_gettime): Rename to
12242         __clock_gettime.  Add weak_alias and libc_hidden_def.
12243         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12244         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12245         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
12246         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12247         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12248         Likewise.
12249         * rt/clock_settime.c (clock_settime): Rename to
12250         __clock_settime.  Add weak_alias and libc_hidden_def.
12251         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12253 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
12255         * mach/err_boot.sub: Remove trailing whitespace.
12256         * mach/err_ipc.sub: Likewise.
12257         * mach/err_mach.sub: Likewise.
12259         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12260         (ROUNDING_TESTS_double): Likewise.
12261         (ROUNDING_TESTS_long_double): Likewise.
12262         (ROUNDING_TESTS): Likewise.
12263         * math/libm-test.inc: Include <math-tests.h>.
12264         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12265         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12266         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12267         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12269 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12271         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12272         of assigning.
12274 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
12276         * sysdeps/gnu/errlist.awk: Do not generate space at end of
12277         otherwise empty TRANS lines.
12278         * sysdeps/gnu/errlist.c: Regenerated.
12280         * catgets/gencat.c (error_print): Use (void) in function
12281         definition.
12282         * crypt/crypt_util.c (__init_des): Likewise.
12283         * crypt/speeds.c (Stop): Likewise.
12284         (main): Likewise.
12285         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12286         * inet/ruserpass.c (token): Likewise.
12287         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12288         * intl/localealias.c (extend_alias_table): Likewise.
12289         * intl/plural-exp.c (init_germanic_plural): Likewise.
12290         * libio/fcloseall.c (__fcloseall): Likewise.
12291         * libio/genops.c (_IO_flush_all): Likewise.
12292         (_IO_flush_all_linebuffered): Likewise.
12293         (_IO_cleanup): Likewise.
12294         (_IO_iter_begin): Likewise.
12295         (_IO_iter_end): Likewise.
12296         (_IO_list_lock): Likewise.
12297         (_IO_list_unlock): Likewise.
12298         (_IO_list_resetlock): Likewise.
12299         * libio/getchar.c (getchar): Likewise.
12300         * libio/getchar_u.c (getchar_unlocked): Likewise.
12301         * libio/getwchar.c (getwchar): Likewise.
12302         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12303         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12304         * login/getpt.c (__getpt): Likewise.
12305         * login/tst-utmp.c (main): Likewise.
12306         * malloc/hooks.c (__malloc_check_init): Likewise.
12307         * malloc/malloc.c (__malloc_stats): Likewise.
12308         * malloc/mtrace.c (tr_break): Likewise.
12309         (mtrace): Likewise.
12310         (muntrace): Likewise.
12311         * misc/fstab.c (endfsent): Likewise.
12312         * misc/getclktck.c (__getclktck): Likewise.
12313         * misc/getdtsz.c (__getdtablesize): Likewise.
12314         * misc/gethostid.c (gethostid): Likewise.
12315         * misc/getpagesize.c (__getpagesize): Likewise.
12316         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12317         (__get_nprocs): Likewise.
12318         (__get_phys_pages): Likewise.
12319         (__get_avphys_pages): Likewise.
12320         * misc/getttyent.c (getttyent): Likewise.
12321         (setttyent): Likewise.
12322         (endttyent): Likewise.
12323         * misc/getusershell.c (getusershell): Likewise.
12324         (endusershell): Likewise.
12325         (setusershell): Likewise.
12326         (initshells): Likewise.
12327         * misc/hsearch.c (__hdestroy): Likewise.
12328         * misc/sync.c (sync): Likewise.
12329         * misc/syslog.c (closelog_internal): Likewise.
12330         (closelog): Likewise.
12331         * misc/ttyslot.c (ttyslot): Likewise.
12332         * misc/vhangup.c (vhangup): Likewise.
12333         * posix/fork.c (__fork): Likewise.
12334         * posix/getegid.c (__getegid): Likewise.
12335         * posix/geteuid.c (__geteuid): Likewise.
12336         * posix/getgid.c (__getgid): Likewise.
12337         * posix/getpid.c (__getpid): Likewise.
12338         * posix/getppid.c (__getppid): Likewise.
12339         * posix/getuid.c (__getuid): Likewise.
12340         * posix/pause.c (pause): Likewise.
12341         * posix/setpgrp.c (setpgrp): Likewise.
12342         * posix/setsid.c (__setsid): Likewise.
12343         * posix/test-vfork.c (noop): Likewise.
12344         * resolv/gethnamaddr.c (_endhtent): Likewise.
12345         (_gethtent): Likewise.
12346         (ht_endhostent): Likewise.
12347         (gethostent): Likewise.
12348         (dns_service): Likewise.
12349         * stdlib/drand48.c (drand48): Likewise.
12350         * stdlib/lrand48.c (lrand48): Likewise.
12351         * stdlib/mrand48.c (mrand48): Likewise.
12352         * stdlib/rand.c (rand): Likewise.
12353         * stdlib/random.c (__random): Likewise.
12354         * stdlib/setenv.c (clearenv): Likewise.
12355         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12356         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12357         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12358         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12359         (__get_nprocs): Likewise.
12360         (__get_phys_pages): Likewise.
12361         (__get_avphys_pages): Likewise.
12362         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12363         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12364         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12365         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12366         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12367         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12368         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12369         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12370         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12371         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12372         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12373         * sysdeps/mach/hurd/sync.c (sync): Likewise.
12374         * sysdeps/posix/clock.c (clock): Likewise.
12375         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12376         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12377         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12378         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12379         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12380         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12381         (__get_nprocs_conf): Likewise.
12382         (__get_phys_pages): Likewise.
12383         (__get_avphys_pages): Likewise.
12384         * time/clock.c (clock): Likewise.
12385         * time/tzset.c (__tzname_max): Likewise.
12387 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
12389         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12390         (__bswap_32): Do not use "register".
12391         * crypt/crypt.c (_ufc_doit_r): Likewise.
12392         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12393         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12394         * gmon/gmon.c (__monstartup): Likewise.
12395         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12396         * hurd/hurdmalloc.c (more_memory): Likewise.
12397         (malloc): Likewise.
12398         (free): Likewise.
12399         (realloc): Likewise.
12400         (malloc_fork_prepare): Likewise.
12401         (malloc_fork_parent): Likewise.
12402         (malloc_fork_child): Likewise.
12403         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12404         (_svcauth_des): Likewise.
12405         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12406         * inet/inet_net.c (inet_network): Likewise.
12407         * inet/inet_netof.c (inet_netof): Likewise.
12408         * inet/rcmd.c (__validuser2_sa): Likewise.
12409         * io/fts.c (fts_open): Likewise.
12410         (fts_load): Likewise.
12411         (fts_close): Likewise.
12412         (fts_read): Likewise.
12413         (fts_children): Likewise.
12414         (fts_build): Likewise.
12415         (fts_stat): Likewise.
12416         (fts_sort): Likewise.
12417         (fts_alloc): Likewise.
12418         (fts_lfree): Likewise.
12419         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12420         (_IO_file_xsgetn): Likewise.
12421         (_IO_file_xsgetn_mmap): Likewise.
12422         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12423         (_IO_cookie_write): Likewise.
12424         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12425         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12426         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12427         * malloc/obstack.c (_obstack_begin): Likewise.
12428         (_obstack_begin_1): Likewise.
12429         (_obstack_newchunk): Likewise.
12430         (_obstack_allocated_p): Likewise.
12431         (obstack_free): Likewise.
12432         (_obstack_memory_used): Likewise.
12433         * misc/getttyent.c (getttynam): Likewise.
12434         (getttyent): Likewise.
12435         (skip): Likewise.
12436         (value): Likewise.
12437         * misc/getusershell.c (initshells): Likewise.
12438         * misc/syslog.c (__vsyslog_chk): Likewise.
12439         * misc/ttyslot.c (ttyslot): Likewise.
12440         * nis/nis_hash.c (__nis_hash): Likewise.
12441         * posix/fnmatch_loop.c (FCT): Likewise.
12442         * posix/getconf.c (print_all): Likewise.
12443         (main): Likewise.
12444         * posix/getopt.c (exchange): Likewise.
12445         * posix/glob.c (globfree): Likewise.
12446         (prefix_array): Likewise.
12447         (__glob_pattern_type): Likewise.
12448         * resolv/arpa/nameser.h (NS_GET16): Likewise.
12449         (NS_GET32): Likewise.
12450         (NS_PUT16): Likewise.
12451         (NS_PUT32): Likewise.
12452         * resolv/gethnamaddr.c (getanswer): Likewise.
12453         (gethostbyname2): Likewise.
12454         (gethostbyaddr): Likewise.
12455         (_gethtent): Likewise.
12456         (_gethtbyname2): Likewise.
12457         (_gethtbyaddr): Likewise.
12458         * resolv/ns_print.c (dst_s_get_int16): Likewise.
12459         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12460         * resolv/res_init.c (__res_vinit): Likewise.
12461         (net_mask): Likewise.
12462         * resolv/res_mkquery.c (outchar): Likewise.
12463         (PRINT): Likewise.
12464         * stdio-common/printf_fp.c (outchar): Likewise.
12465         (PRINT): Likewise.
12466         * stdio-common/printf_fphex.c (outchar): Likewise.
12467         (PRINT): Likewise.
12468         * stdio-common/printf_size.c (outchar): Likewise.
12469         (PRINT): Likewise.
12470         * stdio-common/test_rdwr.c (main): Likewise.
12471         * stdio-common/tfformat.c (matches): Likewise.
12472         * stdio-common/vfprintf.c (outchar): Likewise.
12473         (printf_unknown): Likewise.
12474         (buffered_vfprintf): Likewise.
12475         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12476         * stdio-common/xbug.c (AppendToBuffer): Likewise.
12477         (ReadFile): Likewise.
12478         * stdlib/qsort.c (SWAP): Likewise.
12479         (_quicksort): Likewise.
12480         * stdlib/setenv.c (__add_to_environ): Likewise.
12481         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12482         * stdlib/strtol_l.c (__strtol_l): Likewise.
12483         * stdlib/tst-strtod.c (main): Likewise.
12484         * stdlib/tst-strtol.c (main): Likewise.
12485         * stdlib/tst-strtoll.c (main): Likewise.
12486         * string/bits/string2.h (__strcmp_cc): Likewise.
12487         (__strcmp_cg): Likewise.
12488         (__strcspn_c1): Likewise.
12489         (__strcspn_c2): Likewise.
12490         (__strcspn_c3): Likewise.
12491         (__strspn_c1): Likewise.
12492         (__strspn_c2): Likewise.
12493         (__strspn_c3): Likewise.
12494         (__strsep_1c): Likewise.
12495         (__strsep_2c): Likewise.
12496         (__strsep_3c): Likewise.
12497         * string/memccpy.c (__memccpy): Likewise.
12498         * string/stpcpy.c (__stpcpy): Likewise.
12499         * string/strcmp.c (strcmp): Likewise.
12500         * string/strrchr.c (strrchr): Likewise.
12501         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12502         Likewise.
12503         * sysdeps/mach/hurd/getcwd.c
12504         (_hurd_canonicalize_directory_name_internal): Likewise.
12505         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12506         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12507         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12508         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12509         Likewise, in both definitions.
12510         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12511         definitions.
12512         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12513         64] (__bswap_64): Likewise.
12514         * time/test_time.c (main): Likewise.
12515         * time/tzfile.c (__tzfile_read): Likewise.
12516         (__tzfile_compute): Likewise.
12517         * time/tzset.c (__tzset_parse_tz): Likewise.
12518         (tzset_internal): Likewise.
12519         (compute_change): Likewise.
12520         * wcsmbs/wcscat.c (__wcscat): Likewise.
12521         * wcsmbs/wcschr.c (wcschr): Likewise.
12522         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12523         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12524         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12525         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12526         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12527         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12528         * wcsmbs/wmemchr.c (wmemchr): Likewise.
12529         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12530         * wcsmbs/wmemset.c (wmemset): Likewise.
12532 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
12534         * scripts/config.guess: Update to version 2013-05-16.
12535         * scripts/config.sub: Update to version 2013-04-24.
12536         * scripts/install-sh: Update to version 2011-11-20.07.
12537         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12538         * scripts/move-if-change: Update to version 2012-01-06 07:23.
12540 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
12542         * debug/fgetws_u_chk.c: Fix leading whitespaces.
12543         * elf/sln.c: Likewise.
12544         * hurd/hurd/ioctl.h: Likewise.
12545         * hurd/hurdmalloc.c: Likewise.
12546         * hurd/xattr.c: Likewise.
12547         * include/shlib-compat.h: Likewise.
12548         * inet/ruserpass.c: Likewise.
12549         * libio/iofgets_u.c: Likewise.
12550         * libio/iofgetws_u.c: Likewise.
12551         * locale/programs/ld-identification.c: Likewise.
12552         * locale/programs/ld-time.c: Likewise.
12553         * mach/msg-destroy.c: Likewise.
12554         * nss/nss_files/files-netgrp.c: Likewise.
12555         * resolv/res_data.c: Likewise.
12556         * soft-fp/op-1.h: Likewise.
12557         * soft-fp/op-2.h: Likewise.
12558         * soft-fp/op-4.h: Likewise.
12559         * soft-fp/op-common.h: Likewise.
12560         * stdio-common/printf_fphex.c: Likewise.
12561         * stdlib/strtod_l.c: Likewise.
12562         * sunrpc/rpc/clnt.h: Likewise.
12563         * sysdeps/generic/framestate.c: Likewise.
12564         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12565         * sysdeps/i386/bsd-setjmp.S: Likewise.
12566         * sysdeps/i386/__longjmp.S: Likewise.
12567         * sysdeps/i386/setjmp.S: Likewise.
12568         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12569         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12570         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12571         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12572         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12573         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12574         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12575         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12576         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12577         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12578         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12579         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12580         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12581         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12582         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12583         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12584         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12585         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12586         * sysdeps/ieee754/support.c: Likewise.
12587         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12588         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12589         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12590         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12591         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12592         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12593         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12594         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12595         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12596         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12597         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12598         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12599         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12600         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12601         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12602         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12603         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12606 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
12608         * posix/transbug.c: Remove executable mode.
12610 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
12612         * crypt/speeds.c: Remove trailing whitespace.
12613         * dlfcn/default.c: Likewise.
12614         * elf/ifuncdep2.c: Likewise.
12615         * elf/ifuncmain1.c: Likewise.
12616         * elf/ifuncmain1vis.c: Likewise.
12617         * elf/testobj.h: Likewise.
12618         * elf/tst-stackguard1.c: Likewise.
12619         * gmon/sys/gmon.h: Likewise.
12620         * hurd/hurdmsg.c: Likewise.
12621         * hurd/new-fd.c: Likewise.
12622         * hurd/ports-get.c: Likewise.
12623         * iconvdata/ibm1008_420.c: Likewise.
12624         * inet/tst-getni1.c: Likewise.
12625         * inet/tst-getni2.c: Likewise.
12626         * libio/ioungetc.c: Likewise.
12627         * libio/wfiledoalloc.c: Likewise.
12628         * manual/libm-err-tab.pl: Likewise.
12629         * math/w_dremf.c: Likewise.
12630         * misc/ftruncate.c: Likewise.
12631         * posix/bug-glob2.c: Likewise.
12632         * posix/tst-pcre.c: Likewise.
12633         * posix/wait4.c: Likewise.
12634         * resolv/README: Likewise.
12635         * resolv/res_debug.h: Likewise.
12636         * resolv/tst-inet_ntop.c: Likewise.
12637         * setjmp/bug269-setjmp.c: Likewise.
12638         * soft-fp/extended.h: Likewise.
12639         * soft-fp/op-1.h: Likewise.
12640         * soft-fp/op-2.h: Likewise.
12641         * soft-fp/op-4.h: Likewise.
12642         * soft-fp/op-8.h: Likewise.
12643         * soft-fp/testit.c: Likewise.
12644         * stdio-common/bug16.c: Likewise.
12645         * stdlib/random.c: Likewise.
12646         * sunrpc/rpcsvc/rquota.x: Likewise.
12647         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12648         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12649         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12650         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12651         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12652         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12653         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12654         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12655         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12656         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12657         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12658         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12659         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12660         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12661         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12662         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12663         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12664         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12665         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12666         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12667         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12668         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12669         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12670         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12671         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12672         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12673         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12674         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12675         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12676         * sysdeps/ieee754/s_lib_version.c: Likewise.
12677         * sysdeps/mach/hurd/check_fds.c: Likewise.
12678         * sysdeps/mach/hurd/getsockname.c: Likewise.
12679         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12680         * sysdeps/mach/hurd/recvfrom.c: Likewise.
12681         * sysdeps/powerpc/bits/link.h: Likewise.
12682         * sysdeps/powerpc/dl-procinfo.c: Likewise.
12683         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12684         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12685         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12686         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12687         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12688         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12689         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12690         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12691         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12692         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12693         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12694         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12695         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12696         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12697         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12698         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12699         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12700         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12701         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12702         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12703         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12704         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12705         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12706         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12707         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12708         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12709         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12710         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12711         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12712         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12713         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12714         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12715         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12716         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12717         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12718         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12719         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12720         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12721         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12722         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12723         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12724         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12725         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12726         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12727         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12728         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12729         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12730         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12731         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12734         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12735         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12736         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12737         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12738         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12739         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12740         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12741         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12742         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12743         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12744         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12745         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12746         * sysdeps/powerpc/sysdep.h: Likewise.
12747         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12748         * sysdeps/s390/s390-64/sub_n.S: Likewise.
12749         * sysdeps/sh/dl-trampoline.S: Likewise.
12750         * sysdeps/sh/memset.S: Likewise.
12751         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12752         * sysdeps/sh/strlen.S: Likewise.
12753         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12754         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12755         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12756         * sysdeps/sparc/sparc32/rem.S: Likewise.
12757         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12758         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12759         * sysdeps/sparc/sparc32/strchr.S: Likewise.
12760         * sysdeps/sparc/sparc32/udiv.S: Likewise.
12761         * sysdeps/sparc/sparc32/urem.S: Likewise.
12762         * sysdeps/sparc/sparc64/add_n.S: Likewise.
12763         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12764         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12765         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12766         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12767         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12768         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12769         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12770         * sysdeps/unix/bsd/times.c: Likewise.
12771         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12772         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12776         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12777         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12778         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12779         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12780         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12781         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12782         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12783         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12784         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12785         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12786         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12787         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12788         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12789         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12790         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12791         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12792         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12793         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12794         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12795         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12796         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12797         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12798         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12799         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12800         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12801         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12802         * sysdeps/x86_64/strcspn.S: Likewise.
12804 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12806         * locale/C-translit.h: Revert #include <stdint.h> because this is a
12807         generated file.  Regenerate properly from gen-translit.pl.
12808         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
12809         locale/C-translit.h.
12811 2013-06-05  Andreas Schwab  <schwab@suse.de>
12813         [BZ #15100]
12814         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12815         week as 6 instead of -1.
12816         * time/tst-strptime.c (day_tests): Add test case.
12818 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12820         * sysdeps/generic/math_private.h
12821         (libc_feholdexcept_setround_53bit): Replace with
12822         libc_feholdsetround_53bit.
12823         (libc_feupdateenv_53bit): Replace with
12824         libc_feresetround_53bit.
12825         (SET_RESTORE_ROUND_53BIT): Adjust.
12827 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12829         * string/test-strchrnul.c: Add copyright header.
12831         * posix/tst-getaddrinfo4.c: Increase test timeout.
12833 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
12835         [BZ #15536]
12836         * math/libm-test.inc (MAX_EXP): Remove
12837         (MIN_EXP): Define.
12838         (ulp): Use MIN_EXP - MANT_DIG.
12839         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12841 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
12843         * po/be.po: Revert last change.
12844         * po/zh_CN.po: Likewise.
12845         * po/header.pot: Likewise.
12847 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
12849         * Makefile ($(common-objpfx)linkobj/libc.so): Define
12850         link-libc-deps to empty as target-specific variable.
12851         * Makerules (link-libc-args): New variable.
12852         (libc-for-link): Likewise.
12853         (link-libc-deps): Likewise.
12854         (lib%.so): Depend on $(link-libc-deps).  Link with
12855         $(link-libc-args).
12856         (build-module): Link with $(link-libc-args).
12857         (build-module-asneeded): Likewise.
12858         (build-module-helper-objlist): Filter out $(link-libc-deps) from
12859         list of objects.
12860         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12861         target-specific variable.
12862         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12863         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12864         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12865         libc.
12866         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12867         libc and ld.so.
12868         ($(objpfx)libpcprofile.so): Likewise.
12869         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12870         libc_nonshared.a.
12871         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12872         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12873         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12874         $(link-libc-deps).
12875         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12876         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12877         * login/Makefile ($(objpfx)libutil.so): Likewise.
12878         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12879         * math/Makefile ($(objpfx)libm.so): Likewise.
12880         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12881         $(objpfx)libnsl.so): Define libc-for-link as target-specific
12882         variable instead of depending directly on libc.
12883         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12884         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12885         $(link-libc-deps).
12886         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12887         libc.
12888         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12889         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12890         ($(objpfx)libanl.so): Likewise.
12891         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12892         ld.so.
12893         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12894         $(link-libc-deps).
12895         * sysdeps/i386/fpu/Makefile: Remove file.
12896         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12897         ($(objpfx)libm.so): Remove dependency on ld.so.
12899 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
12901         [BZ # 15553]
12902         * nis/yp_xdr.c (XDRMAXNAME): Define.
12903         (XDRMAXRECORD): Define.
12904         (xdr_domainname): Use XDRMAXNAME.
12905         (xdr_mapname): Likewise.
12906         (xdr_peername): Likewise.
12907         (xdr_keydat): Use XDRMAXRECORD.
12908         (xdr_valdat): Likewise.
12910 2013-05-30  Jeff Law  <law@redhat.com>
12912         [BZ #14256]
12913         * manual/errno.texi (ESTALE): Update to account for more than
12914         just NFS file systems.
12915         * sysdeps/gnu/errlist.c: Regenerated.
12917 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12919         [BZ #15465]
12920         * elf/Makefile (tests): Add tst-null-argv.
12921         (modules-names):  Add tst-null-argv-lib.
12922         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12923         (tst-null-argv-ENV): Set environment for tst-null-argv.
12924         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12925         (RTLD_PROGNAME): New macro.
12926         * elf/tst-null-argv.c: New test case.
12927         * elf/tst-null-argv-lib.c: Library for test case.
12928         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12929         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12930         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12931         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12932         * elf/dl-init.c (call_init): Likewise.
12933         (_dl_init): Likewise.
12934         * elf/dl-load.c (print_search_path): Likewise.
12935         (_dl_map_object): Likewise.
12936         * elf/dl-lookup.c (do_lookup_x): Likewise.
12937         (add_dependency): Likewise.
12938         (_dl_lookup_symbol_x): Likewise.
12939         (_dl_debug_bindings): Likewise.
12940         * elf/dl-open.c (_dl_show_scope): Likewise.
12941         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12942         * elf/dl-version.c (match_symbol): Likewise.
12943         (_dl_check_map_versions): Likewise.
12944         * elf/rtld.c (dl_main): Likewise.
12945         (print_unresolved): Use RTLD_PROGNAME.
12946         (print_missing_version): Likewise.
12947         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12948         (elf_machine_rela): Likewise.
12949         * sysdeps/powerpc/powerpc32/dl-machine.c
12950         (__process_machine_rela): Likewise.
12951         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12952         Likewise.
12953         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12954         Likewise.
12955         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12956         Likewise.
12957         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12958         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12959         Likewise.
12960         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12961         Likewise.
12962         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12964 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
12966         * po/be.po: Add descriptive title.
12967         * po/zh_CN.po: Likewise.
12968         * po/header.pot: Likewise.
12970 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
12972         * locale/programs/locarchive.c (create_archive): Inlucde fname in
12973         error message.
12974         (enlarge_archive): Likewise.
12976 2013-05-28  Ben North  <ben@redfrontdoor.org>
12978         * manual/arith.texi (frexp): It is the magnitude of the return
12979         value which lies in [0.5, 1), not the return value itself.
12981 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12985 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
12987         * stdio-common/bug26.c (main): Correct fscanf template.
12989         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12990         declare _dl_skip_args.
12992         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12993         Don't declare.
12995         * manual/platform.texi: Add missing @end deftypefun.
12997 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12999         [BZ #15529]
13000         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13001         bit of mantissa of 2^16382.
13002         * math/libm-test.inc (hypot_test_data): Add more tests.
13004         * math/libm-test.inc: Add drem and pow10 to list of tested
13005         functions.
13006         (pow10_test): New function.
13007         (drem_test): Likewise.
13008         (drem_test_tonearest): Likewise.
13009         (drem_test_towardzero): Likewise.
13010         (drem_test_downward): Likewise.
13011         (drem_test_upward): Likewise.
13012         (main): Call the new functions.
13014         * math/libm-test.inc (finite_test_data): Remove.
13015         (finite_test): Run tests from isfinite_test_data.
13016         (gamma_test_data): Remove.
13017         (gamma_test): Run tests from lgamma_test_data.
13018         * sysdeps/i386/fpu/libm-test-ulps: Update.
13019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13021 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13023         * manual/platform.texi: Add PowerPC PPR function set documentation.
13024         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13025         implementation.
13027 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
13029         * math/libm-test.inc (MAX_EXP): Define.
13030         (ULPDIFF): Define.
13031         (ulp): New function.
13032         (check_float_internal): Use ULPDIFF.
13033         (cpow_test): Disable failing test.
13034         (check_ulp): Test ulp() implemetnation.
13035         (main): Call check_ulp before starting tests.
13037 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
13039         * math/gen-libm-test.pl (generate_testfile): Do not handle
13040         START_DATA and END_DATA.
13041         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13042         END_DATA.
13043         (acos_tonearest_test_data): Likewise.
13044         (acos_towardzero_test_data): Likewise.
13045         (acos_downward_test_data): Likewise.
13046         (acos_upward_test_data): Likewise.
13047         (acosh_test_data): Likewise.
13048         (asin_test_data): Likewise.
13049         (asin_tonearest_test_data): Likewise.
13050         (asin_towardzero_test_data): Likewise.
13051         (asin_downward_test_data): Likewise.
13052         (asin_upward_test_data): Likewise.
13053         (asinh_test_data): Likewise.
13054         (atan_test_data): Likewise.
13055         (atanh_test_data): Likewise.
13056         (atan2_test_data): Likewise.
13057         (cabs_test_data): Likewise.
13058         (cacos_test_data): Likewise.
13059         (cacosh_test_data): Likewise.
13060         (carg_test_data): Likewise.
13061         (casin_test_data): Likewise.
13062         (casinh_test_data): Likewise.
13063         (catan_test_data): Likewise.
13064         (catanh_test_data): Likewise.
13065         (cbrt_test_data): Likewise.
13066         (ccos_test_data): Likewise.
13067         (ccosh_test_data): Likewise.
13068         (ceil_test_data): Likewise.
13069         (cexp_test_data): Likewise.
13070         (cimag_test_data): Likewise.
13071         (clog_test_data): Likewise.
13072         (clog10_test_data): Likewise.
13073         (conj_test_data): Likewise.
13074         (copysign_test_data): Likewise.
13075         (cos_test_data): Likewise.
13076         (cos_tonearest_test_data): Likewise.
13077         (cos_towardzero_test_data): Likewise.
13078         (cos_downward_test_data): Likewise.
13079         (cos_upward_test_data): Likewise.
13080         (cosh_test_data): Likewise.
13081         (cosh_tonearest_test_data): Likewise.
13082         (cosh_towardzero_test_data): Likewise.
13083         (cosh_downward_test_data): Likewise.
13084         (cosh_upward_test_data): Likewise.
13085         (cpow_test_data): Likewise.
13086         (cproj_test_data): Likewise.
13087         (creal_test_data): Likewise.
13088         (csin_test_data): Likewise.
13089         (csinh_test_data): Likewise.
13090         (csqrt_test_data): Likewise.
13091         (ctan_test_data): Likewise.
13092         (ctan_tonearest_test_data): Likewise.
13093         (ctan_towardzero_test_data): Likewise.
13094         (ctan_downward_test_data): Likewise.
13095         (ctan_upward_test_data): Likewise.
13096         (ctanh_test_data): Likewise.
13097         (ctanh_tonearest_test_data): Likewise.
13098         (ctanh_towardzero_test_data): Likewise.
13099         (ctanh_downward_test_data): Likewise.
13100         (ctanh_upward_test_data): Likewise.
13101         (erf_test_data): Likewise.
13102         (erfc_test_data): Likewise.
13103         (exp_test_data): Likewise.
13104         (exp_tonearest_test_data): Likewise.
13105         (exp_towardzero_test_data): Likewise.
13106         (exp_downward_test_data): Likewise.
13107         (exp_upward_test_data): Likewise.
13108         (exp10_test_data): Likewise.
13109         (exp2_test_data): Likewise.
13110         (expm1_test_data): Likewise.
13111         (fabs_test_data): Likewise.
13112         (fdim_test_data): Likewise.
13113         (finite_test_data): Likewise.
13114         (floor_test_data): Likewise.
13115         (fma_test_data): Likewise.
13116         (fma_towardzero_test_data): Likewise.
13117         (fma_downward_test_data): Likewise.
13118         (fma_upward_test_data): Likewise.
13119         (fmax_test_data): Likewise.
13120         (fmin_test_data): Likewise.
13121         (fmod_test_data): Likewise.
13122         (fpclassify_test_data): Likewise.
13123         (frexp_test_data): Likewise.
13124         (gamma_test_data): Likewise.
13125         (hypot_test_data): Likewise.
13126         (ilogb_test_data): Likewise.
13127         (isfinite_test_data): Likewise.
13128         (isgreater_test_data): Likewise.
13129         (isgreaterequal_test_data): Likewise.
13130         (isinf_test_data): Likewise.
13131         (isless_test_data): Likewise.
13132         (islessequal_test_data): Likewise.
13133         (islessgreater_test_data): Likewise.
13134         (isnan_test_data): Likewise.
13135         (isnormal_test_data): Likewise.
13136         (issignaling_test_data): Likewise.
13137         (isunordered_test_data): Likewise.
13138         (j0_test_data): Likewise.
13139         (j1_test_data): Likewise.
13140         (jn_test_data): Likewise.
13141         (ldexp_test_data): Likewise.
13142         (lgamma_test_data): Likewise.
13143         (lrint_test_data): Likewise.
13144         (lrint_tonearest_test_data): Likewise.
13145         (lrint_towardzero_test_data): Likewise.
13146         (lrint_downward_test_data): Likewise.
13147         (lrint_upward_test_data): Likewise.
13148         (llrint_test_data): Likewise.
13149         (llrint_tonearest_test_data): Likewise.
13150         (llrint_towardzero_test_data): Likewise.
13151         (llrint_downward_test_data): Likewise.
13152         (llrint_upward_test_data): Likewise.
13153         (log_test_data): Likewise.
13154         (log10_test_data): Likewise.
13155         (log1p_test_data): Likewise.
13156         (log2_test_data): Likewise.
13157         (logb_test_data): Likewise.
13158         (logb_downward_test_data): Likewise.
13159         (lround_test_data): Likewise.
13160         (llround_test_data): Likewise.
13161         (modf_test_data): Likewise.
13162         (nearbyint_test_data): Likewise.
13163         (nextafter_test_data): Likewise.
13164         (nexttoward_test_data): Likewise.
13165         (pow_test_data): Likewise.
13166         (pow_tonearest_test_data): Likewise.
13167         (pow_towardzero_test_data): Likewise.
13168         (pow_downward_test_data): Likewise.
13169         (pow_upward_test_data): Likewise.
13170         (remainder_test_data): Likewise.
13171         (remainder_tonearest_test_data): Likewise.
13172         (remainder_towardzero_test_data): Likewise.
13173         (remainder_downward_test_data): Likewise.
13174         (remainder_upward_test_data): Likewise.
13175         (remquo_test_data): Likewise.
13176         (rint_test_data): Likewise.
13177         (rint_tonearest_test_data): Likewise.
13178         (rint_towardzero_test_data): Likewise.
13179         (rint_downward_test_data): Likewise.
13180         (rint_upward_test_data): Likewise.
13181         (round_test_data): Likewise.
13182         (scalb_test_data): Likewise.
13183         (scalbn_test_data): Likewise.
13184         (scalbln_test_data): Likewise.
13185         (signbit_test_data): Likewise.
13186         (sin_test_data): Likewise.
13187         (sin_tonearest_test_data): Likewise.
13188         (sin_towardzero_test_data): Likewise.
13189         (sin_downward_test_data): Likewise.
13190         (sin_upward_test_data): Likewise.
13191         (sincos_test_data): Likewise.
13192         (sinh_test_data): Likewise.
13193         (sinh_tonearest_test_data): Likewise.
13194         (sinh_towardzero_test_data): Likewise.
13195         (sinh_downward_test_data): Likewise.
13196         (sinh_upward_test_data): Likewise.
13197         (sqrt_test_data): Likewise.
13198         (tan_test_data): Likewise.
13199         (tan_tonearest_test_data): Likewise.
13200         (tan_towardzero_test_data): Likewise.
13201         (tan_downward_test_data): Likewise.
13202         (tan_upward_test_data): Likewise.
13203         (tanh_test_data): Likewise.
13204         (tgamma_test_data): Likewise.
13205         (trunc_test_data): Likewise.
13206         (y0_test_data): Likewise.
13207         (y1_test_data): Likewise.
13208         (yn_test_data): Likewise.
13209         (significand_test_data): Likewise.
13211         * math/gen-libm-test.pl (@functions): Remove variable.
13212         (generate_testfile): Don't handle START and END lines.
13213         * math/libm-test.inc (START): New macro.
13214         (END): Likewise.
13215         (END_COMPLEX): Likewise.
13216         (acos_test): Use END macro without arguments.
13217         (acos_test_tonearest): Likewise.
13218         (acos_test_towardzero): Likewise.
13219         (acos_test_downward): Likewise.
13220         (acos_test_upward): Likewise.
13221         (acosh_test): Likewise.
13222         (asin_test): Likewise.
13223         (asin_test_tonearest): Likewise.
13224         (asin_test_towardzero): Likewise.
13225         (asin_test_downward): Likewise.
13226         (asin_test_upward): Likewise.
13227         (asinh_test): Likewise.
13228         (atan_test): Likewise.
13229         (atanh_test): Likewise.
13230         (atan2_test): Likewise.
13231         (cabs_test): Likewise.
13232         (cacos_test): Use END_COMPLEX macro without arguments.
13233         (cacosh_test): Likewise.
13234         (carg_test): Use END macro without arguments.
13235         (casin_test): Use END_COMPLEX macro without arguments.
13236         (casinh_test): Likewise.
13237         (catan_test): Likewise.
13238         (catanh_test): Likewise.
13239         (cbrt_test): Use END macro without arguments.
13240         (ccos_test): Use END_COMPLEX macro without arguments.
13241         (ccosh_test): Likewise.
13242         (ceil_test): Use END macro without arguments.
13243         (cexp_test): Use END_COMPLEX macro without arguments.
13244         (cimag_test): Use END macro without arguments.
13245         (clog_test): Use END_COMPLEX macro without arguments.
13246         (clog10_test): Likewise.
13247         (conj_test): Likewise.
13248         (copysign_test): Use END macro without arguments.
13249         (cos_test): Likewise.
13250         (cos_test_tonearest): Likewise.
13251         (cos_test_towardzero): Likewise.
13252         (cos_test_downward): Likewise.
13253         (cos_test_upward): Likewise.
13254         (cosh_test): Likewise.
13255         (cosh_test_tonearest): Likewise.
13256         (cosh_test_towardzero): Likewise.
13257         (cosh_test_downward): Likewise.
13258         (cosh_test_upward): Likewise.
13259         (cpow_test): Use END_COMPLEX macro without arguments.
13260         (cproj_test): Likewise.
13261         (creal_test): Use END macro without arguments.
13262         (csin_test): Use END_COMPLEX macro without arguments.
13263         (csinh_test): Likewise.
13264         (csqrt_test): Likewise.
13265         (ctan_test): Likewise.
13266         (ctan_test_tonearest): Likewise.
13267         (ctan_test_towardzero): Likewise.
13268         (ctan_test_downward): Likewise.
13269         (ctan_test_upward): Likewise.
13270         (ctanh_test): Likewise.
13271         (ctanh_test_tonearest): Likewise.
13272         (ctanh_test_towardzero): Likewise.
13273         (ctanh_test_downward): Likewise.
13274         (ctanh_test_upward): Likewise.
13275         (erf_test): Use END macro without arguments.
13276         (erfc_test): Likewise.
13277         (exp_test): Likewise.
13278         (exp_test_tonearest): Likewise.
13279         (exp_test_towardzero): Likewise.
13280         (exp_test_downward): Likewise.
13281         (exp_test_upward): Likewise.
13282         (exp10_test): Likewise.
13283         (exp2_test): Likewise.
13284         (expm1_test): Likewise.
13285         (fabs_test): Likewise.
13286         (fdim_test): Likewise.
13287         (finite_test): Likewise.
13288         (floor_test): Likewise.
13289         (fma_test): Likewise.
13290         (fma_test_towardzero): Likewise.
13291         (fma_test_downward): Likewise.
13292         (fma_test_upward): Likewise.
13293         (fmax_test): Likewise.
13294         (fmin_test): Likewise.
13295         (fmod_test): Likewise.
13296         (fpclassify_test): Likewise.
13297         (frexp_test): Likewise.
13298         (gamma_test): Likewise.
13299         (hypot_test): Likewise.
13300         (ilogb_test): Likewise.
13301         (isfinite_test): Likewise.
13302         (isgreater_test): Likewise.
13303         (isgreaterequal_test): Likewise.
13304         (isinf_test): Likewise.
13305         (isless_test): Likewise.
13306         (islessequal_test): Likewise.
13307         (islessgreater_test): Likewise.
13308         (isnan_test): Likewise.
13309         (isnormal_test): Likewise.
13310         (issignaling_test): Likewise.
13311         (isunordered_test): Likewise.
13312         (j0_test): Likewise.
13313         (j1_test): Likewise.
13314         (jn_test): Likewise.
13315         (ldexp_test): Likewise.
13316         (lgamma_test): Likewise.
13317         (lrint_test): Likewise.
13318         (lrint_test_tonearest): Likewise.
13319         (lrint_test_towardzero): Likewise.
13320         (lrint_test_downward): Likewise.
13321         (lrint_test_upward): Likewise.
13322         (llrint_test): Likewise.
13323         (llrint_test_tonearest): Likewise.
13324         (llrint_test_towardzero): Likewise.
13325         (llrint_test_downward): Likewise.
13326         (llrint_test_upward): Likewise.
13327         (log_test): Likewise.
13328         (log10_test): Likewise.
13329         (log1p_test): Likewise.
13330         (log2_test): Likewise.
13331         (logb_test): Likewise.
13332         (logb_test_downward): Likewise.
13333         (lround_test): Likewise.
13334         (llround_test): Likewise.
13335         (modf_test): Likewise.
13336         (nearbyint_test): Likewise.
13337         (nextafter_test): Likewise.
13338         (nexttoward_test): Likewise.
13339         (pow_test): Likewise.
13340         (pow_test_tonearest): Likewise.
13341         (pow_test_towardzero): Likewise.
13342         (pow_test_downward): Likewise.
13343         (pow_test_upward): Likewise.
13344         (remainder_test): Likewise.
13345         (remainder_test_tonearest): Likewise.
13346         (remainder_test_towardzero): Likewise.
13347         (remainder_test_downward): Likewise.
13348         (remainder_test_upward): Likewise.
13349         (remquo_test): Likewise.
13350         (rint_test): Likewise.
13351         (rint_test_tonearest): Likewise.
13352         (rint_test_towardzero): Likewise.
13353         (rint_test_downward): Likewise.
13354         (rint_test_upward): Likewise.
13355         (round_test): Likewise.
13356         (scalb_test): Likewise.
13357         (scalbn_test): Likewise.
13358         (scalbln_test): Likewise.
13359         (signbit_test): Likewise.
13360         (sin_test): Likewise.
13361         (sin_test_tonearest): Likewise.
13362         (sin_test_towardzero): Likewise.
13363         (sin_test_downward): Likewise.
13364         (sin_test_upward): Likewise.
13365         (sincos_test): Likewise.
13366         (sinh_test): Likewise.
13367         (sinh_test_tonearest): Likewise.
13368         (sinh_test_towardzero): Likewise.
13369         (sinh_test_downward): Likewise.
13370         (sinh_test_upward): Likewise.
13371         (sqrt_test): Likewise.
13372         (tan_test): Likewise.
13373         (tan_test_tonearest): Likewise.
13374         (tan_test_towardzero): Likewise.
13375         (tan_test_downward): Likewise.
13376         (tan_test_upward): Likewise.
13377         (tanh_test): Likewise.
13378         (tgamma_test): Likewise.
13379         (trunc_test): Likewise.
13380         (y0_test): Likewise.
13381         (y1_test): Likewise.
13382         (yn_test): Likewise.
13383         (significand_test): Likewise.
13385 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
13387         [BZ #15381]
13388         * libio/genops.c (_IO_no_init): Initialize wide struct info.
13390 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13392         [BZ #14894]
13393         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13394         __ppc_mdoio and __ppc_mdoom.
13395         * manual/platform.texi: Document new functions __ppc_yield,
13396         __ppc_mdoio and __ppc_mdoom.
13398 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
13400         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13401         (main): Mention "tls" pseudo-hwcap is legacy.
13402         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13404 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13406         * math/gen-libm-test.pl (parse_args): Output only string of
13407         arguments as text for test name, not full call or descriptions of
13408         tests for extra outputs.
13409         (generate_testfile): Do not pass function name to parse_args.
13410         Generate this_func variable from START.
13411         * math/libm-test.inc (struct test_f_f_data): Rename test_name
13412         field to arg_str.
13413         (struct test_ff_f_data): Likewise.
13414         (test_ff_f_data_nexttoward): Likewise.
13415         (struct test_fi_f_data): Likewise.
13416         (struct test_fl_f_data): Likewise.
13417         (struct test_if_f_data): Likewise.
13418         (struct test_fff_f_data): Likewise.
13419         (struct test_c_f_data): Likewise.
13420         (struct test_f_f1_data): Likewise.  Remove field extra_name.
13421         (struct test_fF_f1_data): Likewise.
13422         (struct test_ffI_f1_data): Likewise.
13423         (struct test_c_c_data): Rename test_name field to arg_str.
13424         (struct test_cc_c_data): Likewise.
13425         (struct test_f_i_data): Likewise.
13426         (struct test_ff_i_data): Likewise.
13427         (struct test_f_l_data): Likewise.
13428         (struct test_f_L_data): Likewise.
13429         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
13430         and extra2_name.
13431         (COMMON_TEST_SETUP): New macro.
13432         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13433         (COMMON_TEST_CLEANUP): Likewise.
13434         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13435         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
13436         macros.
13437         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13438         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
13439         macros.
13440         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13441         (RUN_TEST_fff_f): Take argument string.  Call new setup and
13442         cleanup macros.
13443         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13444         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
13445         macros.
13446         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13447         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
13448         macros.
13449         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13450         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
13451         cleanup macros.
13452         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13453         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
13454         cleanup macros.
13455         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13456         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
13457         cleanup macros.
13458         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13459         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
13460         macros.
13461         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13462         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
13463         macros.
13464         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13465         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
13466         macros.
13467         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13468         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
13469         cleanup macros.
13470         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13471         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
13472         cleanup macros.
13473         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13474         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
13475         macros.
13476         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13477         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
13478         cleanup macros.
13479         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13480         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
13481         macros.
13482         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13483         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
13484         macros.
13485         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13486         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
13487         cleanup macros.
13488         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13490 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13492         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13493         to _sifields.sigfault.
13494         (si_addr_lsb): Define new macro.
13495         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13496         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13497         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13499 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
13501         [BZ #15441]
13502         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13503         returns -1.
13504         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13505         null return -1.
13506         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13507         loading the domain.
13509 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13511         * math/gen-libm-test.pl (parse_args): Do not include expected
13512         result in test name.
13513         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13514         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13515         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13516         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13517         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13520 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13522         * benchtests/Makefile: Sort function entries.
13524         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13525         tanh, asinh, acosh, atanh.
13526         * benchtests/acos-inputs: New file.
13527         * benchtests/acosh-inputs: New file.
13528         * benchtests/asin-inputs: New file.
13529         * benchtests/asinh-inputs: New file.
13530         * benchtests/atanh-inputs: New file.
13531         * benchtests/cosh-inputs: New file.
13532         * benchtests/log-inputs: New file.
13533         * benchtests/sinh-inputs: New file.
13534         * benchtests/tanh-inputs: New file.
13536 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
13538         [BZ #15339]
13539         * posix/tst-getaddrinfo4.c: New test.
13540         * posix/Makefile (tests): Add it.
13542 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13544         [BZ #15339]
13545         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13546         when no services were used.
13547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13548         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13550 2013-05-21  Andreas Schwab  <schwab@suse.de>
13552         [BZ #15014]
13553         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13554         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13555         successful.
13556         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13557         redundant variable declarations and reallocation of buffer when
13558         parsing as IPv6 address.  Always set NSS status when called from
13559         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
13560         buffer too small.  Correct computation of needed size.
13561         * nss/Makefile (tests): Add test-digits-dots.
13562         * nss/test-digits-dots.c: New test.
13564 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13566         * benchtests/Makefile: Remove instructions for adding
13567         benchmark tests.
13568         * benchtests/README: New file to explain how to execute and
13569         enhance the benchmark tests.
13571 2013-05-21  Andreas Schwab  <schwab@suse.de>
13573         [BZ #15493]
13574         * setjmp/Makefile (tests): Add tst-sigsetjmp.
13575         * setjmp/tst-sigsetjmp.c: New test.
13577 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13579         * sysdeps/x86_64/memset.S (memset): New implementation.
13580         (__bzero): Likewise.
13581         (__memset_tail): New function.
13583 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13585         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13586         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13587         __memcpy_sse2_unaligned ifunc selection.
13588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13589         Add memcpy-sse2-unaligned.S.
13590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13591         Add: __memcpy_sse2_unaligned.
13593 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
13595         [BZ #15490]
13596         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13597         math_force_eval before restoring floating-point envrionment.
13598         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13599         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13600         Likewise.
13601         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13602         <math_private.h>.
13603         (__nearbyintl): Use math_force_eval before restoring
13604         floating-point environment.
13605         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13607         * math/gen-libm-test.pl (special_functions): Remove.
13608         (parse_args): Don't handle TEST_extra.  Handle functions with no
13609         return value.
13610         * math/libm-test.inc (struct test_sincos_data): Replace with
13611         struct test_fFF_11_data.
13612         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13613         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13614         (sincos_test_data): Change element type to struct
13615         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
13616         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13617         RUN_TEST_LOOP_sincos.
13618         * math/README.libm-test: Don't mention special handling of
13619         individual functions.
13620         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13621         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13622         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13623         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13624         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13627         * math/gen-libm-test.pl (get_variable): Remove function.
13628         (parse_args): Don't show pointer parameters to call in test
13629         names.  Use "extra output N" in test names for extra outputs
13630         rather than naming variables.
13632 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
13634         [BZ #15488]
13635         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13636         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13637         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13638         double tests.
13639         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13640         disable.
13641         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13642         check_long_double.
13644         * math/gen-libm-test.pl (@tests): Remove variable.
13645         ($count): Likewise.
13646         (new_test): Remove function.
13647         (show_exceptions): New function.
13648         (special_functions): Use show_exceptions instead of new_test.
13649         (parse_args): Likewise.
13650         (generate_testfile): Pass only function name in generated call to
13651         print_max_error or print_complex_max_error.
13652         (get_ulps): Do not handle complex tests specially.
13653         (output_test): Rename to ...
13654         (get_all_ulps_for_test): ... this.  Return a string rather than
13655         printing to a file.  Require ulps to be present.
13656         (output_ulps): Generate arrays rather than #defines.
13657         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13658         (struct ulp_data): New type.
13659         (BUILD_COMPLEX_ULP): Remove macro.
13660         (compare_ulp_data): New function.
13661         (find_ulps): Likewise.
13662         (find_test_ulps): Likewise.
13663         (find_function_ulps): Likewise.
13664         (find_complex_function_ulps): Likewise.
13665         (print_max_error): Determine allowed ulps using
13666         find_function_ulps.
13667         (print_complex_max_error): Determine allowed ulps using
13668         find_complex_function_ulps.
13669         (check_float_internal): Determine max ulps using find_test_ulps.
13670         (check_float): Do not take max_ulp parameter.  Update call to
13671         check_float_internal.
13672         (check_complex): Likewise.
13673         (check_int): Do not take max_ulp parameter.
13674         (check_long): Likewise.
13675         (check_bool): Likewise.
13676         (check_longlong): Likewise.
13677         (struct test_f_f_data): Remove max_ulp field.
13678         (struct test_ff_f_data): Likewise.
13679         (struct test_ff_f_data_nexttoward): Likewise.
13680         (struct test_fi_f_data): Likewise.
13681         (struct test_fl_f_data): Likewise.
13682         (struct test_if_f_data): Likewise.
13683         (struct test_fff_f_data): Likewise.
13684         (struct test_c_f_data): Likewise.
13685         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13686         (struct test_fF_f1_data): Likewise.
13687         (struct test_ffI_f1_data): Likewise.
13688         (struct test_c_c_data): Remove max_ulp field.
13689         (struct test_cc_c_data): Likewise.
13690         (struct test_f_i_data): Likewise.
13691         (struct test_ff_i_data): Likewise.
13692         (struct test_f_l_data): Likewise.
13693         (struct test_f_L_data): Likewise.
13694         (struct test_sincos_data): Likewise.
13695         (RUN_TEST_f_f): Do not handle ulps.
13696         (RUN_TEST_LOOP_f_f): Likewise.
13697         (RUN_TEST_2_f): Likewise.
13698         (RUN_TEST_LOOP_2_f): Likewise.
13699         (RUN_TEST_fff_f): Likewise.
13700         (RUN_TEST_LOOP_fff_f): Likewise.
13701         (RUN_TEST_c_f): Likewise.
13702         (RUN_TEST_LOOP_c_f): Likewise.
13703         (RUN_TEST_f_f1): Likewise.
13704         (RUN_TEST_LOOP_f_f1): Likewise.
13705         (RUN_TEST_fF_f1): Likewise.
13706         (RUN_TEST_LOOP_fF_f1): Likewise.
13707         (RUN_TEST_fI_f1): Likewise.
13708         (RUN_TEST_LOOP_fI_f1): Likewise.
13709         (RUN_TEST_ffI_f1): Likewise.
13710         (RUN_TEST_LOOP_ffI_f1): Likewise.
13711         (RUN_TEST_c_c): Likewise.
13712         (RUN_TEST_LOOP_c_c): Likewise.
13713         (RUN_TEST_cc_c): Likewise.
13714         (RUN_TEST_LOOP_cc_c): Likewise.
13715         (RUN_TEST_f_i): Likewise.
13716         (RUN_TEST_LOOP_f_i): Likewise.
13717         (RUN_TEST_f_i_tg): Likewise.
13718         (RUN_TEST_LOOP_f_i_tg): Likewise.
13719         (RUN_TEST_ff_i_tg): Likewise.
13720         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13721         (RUN_TEST_f_b): Likewise.
13722         (RUN_TEST_LOOP_f_b): Likewise.
13723         (RUN_TEST_f_b_tg): Likewise.
13724         (RUN_TEST_LOOP_f_b_tg): Likewise.
13725         (RUN_TEST_f_l): Likewise.
13726         (RUN_TEST_LOOP_f_l): Likewise.
13727         (RUN_TEST_f_L): Likewise.
13728         (RUN_TEST_LOOP_f_L): Likewise.
13729         (RUN_TEST_sincos): Likewise.
13730         (RUN_TEST_LOOP_sincos): Likewise.
13732 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
13734         [BZ #15480]
13735         [BZ #15485]
13736         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13737         main case of finite arguments, set rounding mode to FE_TONEAREST
13738         and discard exceptions.
13739         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13740         exceptions.
13741         (remainder_tonearest_test_data): New variable.
13742         (remainder_test_tonearest): New function.
13743         (remainder_towardzero_test_data): New variable.
13744         (remainder_test_towardzero): New function.
13745         (remainder_downward_test_data): New variable.
13746         (remainder_test_downward): New function.
13747         (remainder_upward_test_data): New variable.
13748         (remainder_test_upward): New function.
13749         (main): Call the new test functions.
13751         * math/libm-test.inc (struct test_f_f1_data): Remove field
13752         extra_init.
13753         (struct test_fF_f1_data): Likewise.
13754         (struct test_ffI_f1_data): Likewise.
13755         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
13756         based on value of EXTRA_EXPECTED.
13757         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13758         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
13759         EXTRA_VAR based on value of EXTRA_EXPECTED.
13760         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13761         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
13762         EXTRA_VAR based on value of EXTRA_EXPECTED.
13763         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13764         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
13765         EXTRA_VAR based on value of EXTRA_EXPECTED.
13766         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13767         * math/gen-libm-test.pl (parse_args): Don't output initializers
13768         for extra output values.
13770         * math/libm-test.inc (check_int): Expect result to be exactly
13771         equal to expected value and do not handle ulps.
13772         (check_long): Likewise.
13773         (check_longlong): Likewise.
13775         * math/libm-test.inc (ceil_test_data): Test for "inexact"
13776         exceptions.
13777         (cimag_test_data): Likewise.
13778         (conj_test_data): Likewise.
13779         (copysign_test_data): Likewise.
13780         (cproj_test_data): Likewise.
13781         (creal_test_data): Likewise.
13782         (fabs_test_data): Likewise.
13783         (fdim_test_data): Likewise.
13784         (finite_test_data): Likewise.
13785         (floor_test_data): Likewise.
13786         (fmax_test_data): Likewise.
13787         (fmin_test_data): Likewise.
13788         (fmod_test_data): Likewise.
13789         (fpclassify_test_data): Likewise.
13790         (frexp_test_data): Likewise.
13791         (ilogb_test_data): Likewise.
13792         (isfinite_test_data): Likewise.
13793         (isgreater_test_data): Likewise.
13794         (isgreaterequal_test_data): Likewise.
13795         (isinf_test_data): Likewise.
13796         (isless_test_data): Likewise.
13797         (islessequal_test_data): Likewise.
13798         (islessgreater_test_data): Likewise.
13799         (isnan_test_data): Likewise.
13800         (isnormal_test_data): Likewise.
13801         (issignaling_test_data): Likewise.
13802         (isunordered_test_data): Likewise.
13803         (ldexp_test_data): Likewise.
13804         (lrint_test_data): Likewise.
13805         (lrint_test_data) [TEST_FLOAT]: Disable one test.
13806         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13807         (lrint_tonearest_test_data): Test for "inexact" exceptions.
13808         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13809         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13810         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13811         test input.
13812         (lrint_towardzero_test_data): Test for "inexact" exceptions.
13813         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13814         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13815         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13816         that test input.
13817         (lrint_downward_test_data): Test for "inexact" exceptions.
13818         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13819         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13820         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13821         test input.
13822         (lrint_upward_test_data): Test for "inexact" exceptions.
13823         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13824         test input.
13825         (llrint_test_data): Test for "inexact" exceptions.
13826         (llrint_test_data) [TEST_FLOAT]: Disable one test.
13827         (llrint_tonearest_test_data): Test for "inexact" exceptions.
13828         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13829         (llrint_towardzero_test_data): Test for "inexact" exceptions.
13830         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13831         (llrint_downward_test_data): Test for "inexact" exceptions.
13832         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13833         (llrint_upward_test_data): Test for "inexact" exceptions.
13834         (logb_test_data): Likewise.
13835         (logb_downward_test_data): Likewise.
13836         (nextafter_test_data): Likewise.
13837         (nexttoward_test_data): Likewise.
13838         (remainder_test_data): Likewise.
13839         (remquo_test_data): Likewise.
13840         (scalbn_test_data): Likewise.
13841         (scalbln_test_data): Likewise.
13842         (signbit_test_data): Likewise.
13843         (sqrt_test_data): Likewise.
13844         (significand_test_data): Likewise.
13846 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13848         [BZ #15424]
13849         * benchtests/bench-modf.c (struct args): Mark arg0 as
13850         volatile.
13851         * scripts/bench.pl: Mark members of struct args as volatile.
13853 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13855         [BZ # 15497]
13856         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13857         negative infinity on POWER6 or lower.
13858         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13860 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13862         [BZ #15442]
13863         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13864         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13865         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13866         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13867         (_FP_SETQNAN): New macro.
13868         (_FP_SETQNAN_SEMIRAW): Likewise.
13869         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13870         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13871         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13872         (FP_EXTEND): Use _FP_FRAC_SNANP.
13873         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13874         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13875         into account.
13876         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13877         New macro.
13878         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13879         Likewise.
13881 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13883         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13884         with DIVIDE_BY_ZERO_EXCEPTION.
13885         (gamma_test_data): Likewise.
13886         (lgamma_test_data): Likewise.
13887         (log_test_data): Likewise.
13888         (log10_test_data): Likewise.
13889         (log2_test_data): Likewise.
13890         (tgamma_test_data): Likewise.
13892         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13893         (acos_test_tonearest): Likewise.
13894         (acos_test_towardzero): Likewise.
13895         (acos_test_downward): Likewise.
13896         (acos_test_upward): Likewise.
13897         (acosh_test): Likewise.
13898         (asin_test): Likewise.
13899         (asin_test_tonearest): Likewise.
13900         (asin_test_towardzero): Likewise.
13901         (asin_test_downward): Likewise.
13902         (asin_test_upward): Likewise.
13903         (asinh_test): Likewise.
13904         (atan_test): Likewise.
13905         (atanh_test): Likewise.
13906         (atan2_test): Likewise.
13907         (cabs_test): Likewise.
13908         (cacos_test): Likewise.
13909         (cacosh_test): Likewise.
13910         (casin_test): Likewise.
13911         (casinh_test): Likewise.
13912         (catan_test): Likewise.
13913         (catanh_test): Likewise.
13914         (cbrt_test): Likewise.
13915         (ccos_test): Likewise.
13916         (ccosh_test): Likewise.
13917         (cexp_test): Likewise.
13918         (clog_test): Likewise.
13919         (clog10_test): Likewise.
13920         (cos_test): Likewise.
13921         (cos_test_tonearest): Likewise.
13922         (cos_test_towardzero): Likewise.
13923         (cos_test_downward): Likewise.
13924         (cos_test_upward): Likewise.
13925         (cosh_test): Likewise.
13926         (cosh_test_tonearest): Likewise.
13927         (cosh_test_towardzero): Likewise.
13928         (cosh_test_downward): Likewise.
13929         (cosh_test_upward): Likewise.
13930         (cpow_test): Likewise.
13931         (csin_test): Likewise.
13932         (csinh_test): Likewise.
13933         (csqrt_test): Likewise.
13934         (ctan_test): Likewise.
13935         (ctan_test_tonearest): Likewise.
13936         (ctan_test_towardzero): Likewise.
13937         (ctan_test_downward): Likewise.
13938         (ctan_test_upward): Likewise.
13939         (ctanh_test): Likewise.
13940         (ctanh_test_tonearest): Likewise.
13941         (ctanh_test_towardzero): Likewise.
13942         (ctanh_test_downward): Likewise.
13943         (ctanh_test_upward): Likewise.
13944         (erf_test): Likewise.
13945         (erfc_test): Likewise.
13946         (exp_test): Likewise.
13947         (exp_test_tonearest): Likewise.
13948         (exp_test_towardzero): Likewise.
13949         (exp_test_downward): Likewise.
13950         (exp_test_upward): Likewise.
13951         (exp10_test): Likewise.
13952         (exp2_test): Likewise.
13953         (expm1_test): Likewise.
13954         (fmod_test): Likewise.
13955         (gamma_test): Likewise.
13956         (hypot_test): Likewise.
13957         (j0_test): Likewise.
13958         (j1_test): Likewise.
13959         (jn_test): Likewise.
13960         (lgamma_test): Likewise.
13961         (log_test): Likewise.
13962         (log10_test): Likewise.
13963         (log1p_test): Likewise.
13964         (log2_test): Likewise.
13965         (logb_test_downward): Likewise.
13966         (pow_test): Likewise.
13967         (pow_test_tonearest): Likewise.
13968         (pow_test_towardzero): Likewise.
13969         (pow_test_downward): Likewise.
13970         (pow_test_upward): Likewise.
13971         (remainder_test): Likewise.
13972         (remquo_test): Likewise.
13973         (sin_test): Likewise.
13974         (sin_test_tonearest): Likewise.
13975         (sin_test_towardzero): Likewise.
13976         (sin_test_downward): Likewise.
13977         (sin_test_upward): Likewise.
13978         (sincos_test): Likewise.
13979         (sinh_test): Likewise.
13980         (sinh_test_tonearest): Likewise.
13981         (sinh_test_towardzero): Likewise.
13982         (sinh_test_downward): Likewise.
13983         (sinh_test_upward): Likewise.
13984         (sqrt_test): Likewise.
13985         (tan_test): Likewise.
13986         (tan_test_tonearest): Likewise.
13987         (tan_test_towardzero): Likewise.
13988         (tan_test_downward): Likewise.
13989         (tan_test_upward): Likewise.
13990         (tanh_test): Likewise.
13991         (tgamma_test): Likewise.
13992         (y0_test): Likewise.
13993         (y1_test): Likewise.
13994         (yn_test): Likewise.
13996         * math/gen-libm-test.pl (adjust_arg): Remove function.
13997         (special_function): Remove argument $in_func.  Only handle
13998         generating output for tables of tests, not inside functions.
13999         (parse_args): Likewise.
14000         (generate_testfile): Remove variable $in_func.  Update call to
14001         parse_args.
14002         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14003         (MINUS_ZERO_INIT): Rename macro to minus_zero.
14004         (PLUS_INFTY_INIT): Rename macro to plus_infty.
14005         (MINUS_INFTY_INIT): Rename macro to minus_infty.
14006         (QNAN_VALUE_INIT): Rename macro to qnan_value.
14007         (MAX_VALUE_INIT): Rename macro to max_value.
14008         (MIN_VALUE_INIT): Rename macro to min_value.
14009         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14010         (plus_zero): Remove variable.
14011         (minus_zero): Likewise.
14012         (plus_infty): Likewise.
14013         (minus_infty): Likewise.
14014         (qnan_value): Likewise.
14015         (max_value): Likewise.
14016         (min_value): Likewise.
14017         (min_subnorm_value): Likewise.
14019 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14021         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14022         uint64_t or uint32_t usage.
14023         * crypt/sha256-block.c: Likewise.
14024         * crypt/sha256-crypt.c: Likewise.
14025         * crypt/sha256.c: Likewise.
14026         * crypt/sha512-block.c: Likewise.
14027         * crypt/sha512-crypt.c: Likewise.
14028         * crypt/sha512.c: Likewise.
14029         * debug/backtrace-tst.c: Likewise.
14030         * debug/pcprofiledump.c: Likewise.
14031         * elf/cache.c: Likewise.
14032         * elf/dl-cache.c: Likewise.
14033         * elf/dl-misc.c: Likewise.
14034         * elf/dl-profile.c: Likewise.
14035         * elf/dl-support.c: Likewise.
14036         * elf/ldconfig.c: Likewise.
14037         * elf/sprof.c: Likewise.
14038         * iconv/dummy-repertoire.c: Likewise.
14039         * iconv/iconv_charmap.c: Likewise.
14040         * iconv/skeleton.c: Likewise.
14041         * iconvdata/8bit-generic.c: Likewise.
14042         * iconvdata/cp737.h: Likewise.
14043         * iconvdata/cp775.h: Likewise.
14044         * iconvdata/ibm1008.h: Likewise.
14045         * iconvdata/ibm1025.h: Likewise.
14046         * iconvdata/ibm1046.h: Likewise.
14047         * iconvdata/ibm1097.h: Likewise.
14048         * iconvdata/ibm1112.h: Likewise.
14049         * iconvdata/ibm1122.h: Likewise.
14050         * iconvdata/ibm1123.h: Likewise.
14051         * iconvdata/ibm1124.h: Likewise.
14052         * iconvdata/ibm1129.h: Likewise.
14053         * iconvdata/ibm1130.h: Likewise.
14054         * iconvdata/ibm1132.h: Likewise.
14055         * iconvdata/ibm1133.h: Likewise.
14056         * iconvdata/ibm1137.h: Likewise.
14057         * iconvdata/ibm1140.h: Likewise.
14058         * iconvdata/ibm1141.h: Likewise.
14059         * iconvdata/ibm1142.h: Likewise.
14060         * iconvdata/ibm1143.h: Likewise.
14061         * iconvdata/ibm1144.h: Likewise.
14062         * iconvdata/ibm1145.h: Likewise.
14063         * iconvdata/ibm1146.h: Likewise.
14064         * iconvdata/ibm1147.h: Likewise.
14065         * iconvdata/ibm1148.h: Likewise.
14066         * iconvdata/ibm1149.h: Likewise.
14067         * iconvdata/ibm1153.h: Likewise.
14068         * iconvdata/ibm1154.h: Likewise.
14069         * iconvdata/ibm1155.h: Likewise.
14070         * iconvdata/ibm1156.h: Likewise.
14071         * iconvdata/ibm1157.h: Likewise.
14072         * iconvdata/ibm1158.h: Likewise.
14073         * iconvdata/ibm1160.h: Likewise.
14074         * iconvdata/ibm1161.h: Likewise.
14075         * iconvdata/ibm1162.h: Likewise.
14076         * iconvdata/ibm1163.h: Likewise.
14077         * iconvdata/ibm1164.h: Likewise.
14078         * iconvdata/ibm1166.h: Likewise.
14079         * iconvdata/ibm1167.h: Likewise.
14080         * iconvdata/ibm12712.h: Likewise.
14081         * iconvdata/ibm1390.h: Likewise.
14082         * iconvdata/ibm1399.h: Likewise.
14083         * iconvdata/ibm16804.h: Likewise.
14084         * iconvdata/ibm4517.h: Likewise.
14085         * iconvdata/ibm4899.h: Likewise.
14086         * iconvdata/ibm4909.h: Likewise.
14087         * iconvdata/ibm4971.h: Likewise.
14088         * iconvdata/ibm5347.h: Likewise.
14089         * iconvdata/ibm803.h: Likewise.
14090         * iconvdata/ibm856.h: Likewise.
14091         * iconvdata/ibm901.h: Likewise.
14092         * iconvdata/ibm902.h: Likewise.
14093         * iconvdata/ibm9030.h: Likewise.
14094         * iconvdata/ibm9066.h: Likewise.
14095         * iconvdata/ibm921.h: Likewise.
14096         * iconvdata/ibm922.h: Likewise.
14097         * iconvdata/ibm9448.h: Likewise.
14098         * iconvdata/isiri-3342.h: Likewise.
14099         * iconvdata/jis0201.h: Likewise.
14100         * include/link.h: Likewise.
14101         * include/netdb.h: Likewise.
14102         * inet/check_native.c: Likewise.
14103         * inet/check_pf.c: Likewise.
14104         * inet/getipv4sourcefilter.c: Likewise.
14105         * inet/getnameinfo.c: Likewise.
14106         * inet/getsourcefilter.c: Likewise.
14107         * inet/htonl.c: Likewise.
14108         * inet/setipv4sourcefilter.c: Likewise.
14109         * inet/setsourcefilter.c: Likewise.
14110         * inet/test-inet6_opt.c: Likewise.
14111         * inet/tst-network.c: Likewise.
14112         * locale/C-collate.c: Likewise.
14113         * locale/C-ctype.c: Likewise.
14114         * locale/C-time.c: Likewise.
14115         * locale/C-translit.h: Likewise.
14116         * locale/loadarchive.c: Likewise.
14117         * locale/programs/3level.h: Likewise.
14118         * locale/programs/charmap.c: Likewise.
14119         * locale/programs/charmap.h: Likewise.
14120         * locale/programs/ld-address.c: Likewise.
14121         * locale/programs/ld-collate.c: Likewise.
14122         * locale/programs/ld-ctype.c: Likewise.
14123         * locale/programs/ld-identification.c: Likewise.
14124         * locale/programs/ld-measurement.c: Likewise.
14125         * locale/programs/ld-messages.c: Likewise.
14126         * locale/programs/ld-monetary.c: Likewise.
14127         * locale/programs/ld-name.c: Likewise.
14128         * locale/programs/ld-numeric.c: Likewise.
14129         * locale/programs/ld-paper.c: Likewise.
14130         * locale/programs/ld-telephone.c: Likewise.
14131         * locale/programs/ld-time.c: Likewise.
14132         * locale/programs/linereader.c: Likewise.
14133         * locale/programs/locale.c: Likewise.
14134         * locale/programs/locarchive.c: Likewise.
14135         * locale/programs/locfile.h: Likewise.
14136         * locale/programs/repertoire.c: Likewise.
14137         * locale/programs/simple-hash.c: Likewise.
14138         * locale/programs/simple-hash.h: Likewise.
14139         * malloc/memusage.c: Likewise.
14140         * malloc/memusagestat.c: Likewise.
14141         * nis/nis_defaults.c: Likewise.
14142         * nis/nis_hash.c: Likewise.
14143         * nis/nis_print.c: Likewise.
14144         * nis/nis_xdr.c: Likewise.
14145         * nscd/connections.c: Likewise.
14146         * nscd/hstcache.c: Likewise.
14147         * nscd/nscd_gethst_r.c: Likewise.
14148         * nscd/nscd_getserv_r.c: Likewise.
14149         * nscd/nscd_helper.c: Likewise.
14150         * nscd/servicescache.c: Likewise.
14151         * nss/makedb.c: Likewise.
14152         * nss/nss_db/db-XXX.c: Likewise.
14153         * nss/nss_db/db-initgroups.c: Likewise.
14154         * nss/nss_db/db-netgrp.c: Likewise.
14155         * nss/nss_files/files-network.c: Likewise.
14156         * nss/nss_files/files-parse.c: Likewise.
14157         * posix/bug-regex5.c: Likewise.
14158         * posix/fnmatch_loop.c: Likewise.
14159         * posix/regcomp.c: Likewise.
14160         * posix/regexec.c: Likewise.
14161         * posix/tst-rfc3484-2.c: Likewise.
14162         * posix/tst-rfc3484-3.c: Likewise.
14163         * posix/tst-rfc3484.c: Likewise.
14164         * resolv/nss_dns/dns-canon.c: Likewise.
14165         * resolv/nss_dns/dns-network.c: Likewise.
14166         * resolv/res_init.c: Likewise.
14167         * resolv/res_mkquery.c: Likewise.
14168         * resolv/tst-aton.c: Likewise.
14169         * stdlib/cxa_atexit.c: Likewise.
14170         * stdlib/cxa_finalize.c: Likewise.
14171         * stdlib/gen-fpioconst.c: Likewise.
14172         * stdlib/strtol_l.c: Likewise.
14173         * string/tst-endian.c: Likewise.
14174         * sunrpc/auth_des.c: Likewise.
14175         * sunrpc/clnt_udp.c: Likewise.
14176         * sunrpc/rtime.c: Likewise.
14177         * sunrpc/svcauth_des.c: Likewise.
14178         * sunrpc/xdr.c: Likewise.
14179         * sunrpc/xdr_intXX_t.c: Likewise.
14180         * sunrpc/xdr_rec.c: Likewise.
14181         * sysdeps/generic/ldconfig.h: Likewise.
14182         * sysdeps/generic/ldsodefs.h: Likewise.
14183         * sysdeps/generic/memusage.h: Likewise.
14184         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14185         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14186         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14187         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14188         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14190         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14191         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14192         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14193         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14194         * sysdeps/posix/getaddrinfo.c: Likewise.
14195         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14196         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14197         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14198         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14199         * sysdeps/powerpc/test-gettimebase.c: Likewise.
14200         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14201         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14202         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14203         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14204         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14205         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14206         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14207         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14208         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14209         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14210         * sysdeps/x86_64/dl-tls.h: Likewise.
14211         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14212         * time/alt_digit.c: Likewise.
14213         * time/era.c: Likewise.
14214         * wcsmbs/tst-c16c32-1.c: Likewise.
14216 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14218         * math/libm-test.inc (struct test_sincos_data): New type.
14219         (RUN_TEST_LOOP_sincos): New macro.
14220         (sincos_test_data): New variable.
14221         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14223 2013-05-16  Richard Henderson  <rth@redhat.com>
14225         * math/atest-exp2.c (LIMB64): New macro.
14226         (CONSTSZ): New macro.
14227         (mp_exp1, mp_exp_m1, mp_log2): New variables.
14228         (hexdig): Move ...
14229         (print_mpn_fp): ... to function scope.
14230         (read_mpn_hex): Remove.
14231         (get_log2): Remove.
14232         (exp2_mpn): Use mp_log2.
14233         (main): Use mp_exp1.
14235 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14237         * math/libm-test.inc: Remove comment about not testing "inexact"
14238         exceptions.
14239         (INEXACT_EXCEPTION): New macro.
14240         (NO_INEXACT_EXCEPTION): Likewise.
14241         (INVALID_EXCEPTION_OK): Update value.
14242         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14243         (OVERFLOW_EXCEPTION_OK): Likewise.
14244         (UNDERFLOW_EXCEPTION_OK): Likewise.
14245         (IGNORE_ZERO_INF_SIGN): Likewise.
14246         (ERRNO_UNCHANGED): Likewise.
14247         (ERRNO_EDOM): Likewise.
14248         (ERRNO_ERANGE): Likewise.
14249         (test_exceptions): Handle testing "inexact" exceptions.
14250         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14251         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14252         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14253         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14254         INEXACT_EXCEPTION.
14255         (rint_towardzero_test_data): Likewise.
14256         (rint_downward_test_data): Likewise.
14257         (rint_upward_test_data): Likewise.
14259         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14260         with OVERFLOW_EXCEPTION.
14261         (exp10_test_data): Likewise.
14262         (exp2_test_data): Likewise.
14263         (expm1_test_data): Likewise.
14264         (lgamma_test_data): Likewise.
14265         (pow_test_data): Likewise.
14266         (tgamma_test_data): Likewise.
14267         (yn_test_data): Remove duplicate test of overflow.
14269         * math/libm-test.inc (struct test_cc_c_data): New type.
14270         (RUN_TEST_LOOP_cc_c): New macro.
14271         (cpow_test_data): New variable.
14272         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14274         * math/libm-test.inc (struct test_f_L_data): New type.
14275         (RUN_TEST_LOOP_f_L): New macro.
14276         (llrint_test_data): New variable.
14277         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14278         (llrint_tonearest_test_data): New variable.
14279         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14280         (llrint_towardzero_test_data): New variable.
14281         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14282         (llrint_downward_test_data): New variable.
14283         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14284         (llrint_upward_test_data): New variable.
14285         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14286         (llround_test_data): New variable.
14287         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14289 2013-05-13  Peter Collingbourne  <pcc@google.com>
14291         * math/atest-exp2.c (get_log2): Remove const attribute.
14293 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14295         * math/libm-test.inc (struct test_f_l_data): New type.
14296         (RUN_TEST_LOOP_f_l): New macro.
14297         (lrint_test_data): New variable.
14298         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14299         (lrint_tonearest_test_data): New variable.
14300         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14301         (lrint_towardzero_test_data): New variable.
14302         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14303         (lrint_downward_test_data): New variable.
14304         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14305         (lrint_upward_test_data): New variable.
14306         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14307         (lround_test_data): New variable.
14308         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14310 2013-05-15  Peter Collingbourne  <pcc@google.com>
14312         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14313         (EXTRACT_WORDS64) Use where appropriate.
14314         (INSERT_WORDS64) Likewise.
14316         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14317         constraints with x constraints.
14318         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14320         * malloc/obstack.c (_obstack_compat): Add initializer.
14322 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14324         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14325         si_trapno and add si_addr_lsb to _sifields.sigfault.
14326         (si_trapno): Remove macro.
14327         (si_addr_lsb): Define new macro.
14328         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14330 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14332         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14333         instead of TEST_f_l.
14334         (llrint_test_tonearest): Likewise.
14335         (llrint_test_towardzero): Likewise.
14336         (llrint_test_downward): Likewise.
14337         (llrint_test_upward): Likewise.
14338         (llround_test): Likewise.
14340         * math/libm-test.inc (struct test_f_i_data): Add comment.
14341         (RUN_TEST_LOOP_f_b): New macro.
14342         (RUN_TEST_LOOP_f_b_tg): Likewise.
14343         (finite_test_data): New variable.
14344         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14345         (isfinite_test_data): New variable.
14346         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14347         (isinf_test_data): New variable.
14348         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14349         (isnan_test_data): New variable.
14350         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14351         (isnormal_test_data): New variable.
14352         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14353         (issignaling_test_data): New variable.
14354         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14355         (signbit_test_data): New variable.
14356         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14358         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14359         with INVALID_EXCEPTION.
14360         (acosh_test_data): Likewise.
14361         (asin_test_data): Likewise.
14362         (atanh_test_data): Likewise.
14363         (fmod_test_data): Likewise.
14364         (log_test_data): Likewise.
14365         (log10_test_data): Likewise.
14366         (log2_test_data): Likewise.
14367         (pow_test_data): Likewise.
14368         (sqrt_test_data): Likewise.
14369         (y0_test_data): Likewise.
14370         (y1_test_data): Likewise.
14371         (yn_test_data): Likewise.
14373         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14374         function contents.
14376         * math/libm-test.inc (struct test_ff_i_data): New type.
14377         (RUN_TEST_LOOP_ff_i_tg): New macro.
14378         (isgreater_test_data): New variable.
14379         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14380         (isgreaterequal_test_data): New variable.
14381         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14382         (isless_test_data): New variable.
14383         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14384         (islessequal_test_data): New variable.
14385         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14386         (islessgreater_test_data): New variable.
14387         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14388         (isunordered_test_data): New variable.
14389         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14391 2013-05-14  David S. Miller  <davem@davemloft.net>
14393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14395 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
14397         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14399         * math/libm-test.inc (struct test_fF_f1_data): Change type of
14400         extra_test to int.
14401         (struct test_f_i_data): Change type of max_ulp to int.
14403         * math/libm-test.inc (test_ffI_f1_data): New type.
14404         (RUN_TEST_LOOP_ffI_f1): New macro.
14405         (remquo_test_data): New variable.
14406         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14408         * setjmp/tst-setjmp-fp.c: New file.
14409         * setjmp/Makefile (tests): Add tst-setjmp-fp.
14410         (link-libm): New variable.
14411         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14413         * math/libm-test.inc (struct test_f_i_data): New type.
14414         (RUN_TEST_LOOP_f_i): New macro.
14415         (RUN_TEST_LOOP_f_i_tg): Likewise.
14416         (fpclassify_test_data): New variable.
14417         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14418         (ilogb_test_data): New variable.
14419         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14421         * math/libm-test.inc (scalbln_test): Correct function name in END
14422         call.
14424         * math/libm-test.inc (struct test_f_f1_data): Add comment.
14425         (RUN_TEST_LOOP_fI_f1): New macro.
14426         (frexp_test_data): New variable.
14427         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14429         * math/libm-test.inc (struct test_fF_f1_data): New type.
14430         (RUN_TEST_LOOP_fF_f1): New macro.
14431         (modf_test_data): New variable.
14432         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14434         * math/libm-test.inc (struct test_f_f1_data): New type.
14435         (RUN_TEST_LOOP_f_f1): New macro.
14436         (gamma_test_data): New variable.
14437         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14438         (lgamma_test_data): New variable.
14439         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14441 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
14443         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14444         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14445         (main): Comment "tls" pseudo-hwcap.
14447 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
14449         * math/libm-test.inc (struct test_fl_f_data): New type.
14450         (RUN_TEST_LOOP_fl_f): New variable.
14451         (scalbln_test_data): New variable.
14452         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14454         * math/libm-test.inc (struct test_fi_f_data): New type.
14455         (RUN_TEST_LOOP_fi_f): New macro.
14456         (ldexp_test_data): New variable.
14457         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14458         (scalbn_test_data): New variable.
14459         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14461         * math/libm-test.inc (struct test_c_f_data): New type.
14462         (RUN_TEST_LOOP_c_f): New macro.
14463         (cabs_test_data): New variable.
14464         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14465         (carg_test_data): New variable.
14466         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14467         (cimag_test_data): New variable.
14468         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14469         (creal_test_data): New variable.
14470         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14472         * math/libm-test.inc (struct test_if_f_data): New type.
14473         (RUN_TEST_LOOP_if_f): New macro.
14474         (jn_test_data): New variable.
14475         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14476         (yn_test_data): New variable.
14477         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14479         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14481 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14483         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14484         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14486 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14488         * benchtests/Makefile (CPPFLAGS-nonlib): Add
14489         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14490         (bench-deps): Add bench-timing.h.
14491         * benchtests-bench-skeleton.c: Include bench-timing.h.
14492         (main): Use TIMING_* macros instead of clock_gettime.
14493         * benchtests/bench-timing.h: New file.
14495         [BZ #14582]
14496         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14497         Renamed from _LIB_VERSION.
14498         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14500 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
14502         * math/libm-test.inc (struct test_fff_f_data): New type.
14503         (RUN_TEST_LOOP_fff_f): New macro.
14504         (fma_test_data): New variable.
14505         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14506         (fma_towardzero_test_data): New variable.
14507         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14508         (fma_downward_test_data): New variable.
14509         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14510         (fma_upward_test_data): New variable.
14511         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14513         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14514         (struct test_c_c_data): New type.
14515         (RUN_TEST_LOOP_c_c): New macro.
14516         (cacos_test_data): New variable.
14517         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14518         (cacosh_test_data): New variable.
14519         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14520         (casin_test_data): New variable.
14521         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14522         (casinh_test_data): New variable.
14523         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14524         (catan_test_data): New variable.
14525         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14526         (catanh_test_data): New variable.
14527         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14528         (ccos_test_data): New variable.
14529         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14530         (ccosh_test_data): New variable.
14531         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14532         (cexp_test_data): New variable.
14533         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14534         (clog_test_data): New variable.
14535         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14536         (clog10_test_data): New variable.
14537         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14538         (conj_test_data): New variable.
14539         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14540         (cproj_test_data): New variable.
14541         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14542         (csin_test_data): New variable.
14543         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14544         (csinh_test_data): New variable.
14545         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14546         (csqrt_test_data): New variable.
14547         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14548         (ctan_test_data): New variable.
14549         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14550         (ctan_tonearest_test_data): New variable.
14551         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14552         (ctan_towardzero_test_data): New variable.
14553         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14554         (ctan_downward_test_data): New variable.
14555         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14556         (ctan_upward_test_data): New variable.
14557         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14558         (ctanh_test_data): New variable.
14559         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14560         (ctanh_tonearest_test_data): New variable.
14561         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14562         (ctanh_towardzero_test_data): New variable.
14563         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14564         (ctanh_downward_test_data): New variable.
14565         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14566         (ctanh_upward_test_data): New variable.
14567         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14568         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14569         of BUILD_COMPLEX.
14571         * math/libm-test.inc (struct test_ff_f_data): New type.
14572         (struct test_ff_f_data_nexttoward): Likewise.
14573         (RUN_TEST_LOOP_2_f): New macro.
14574         (RUN_TEST_LOOP_ff_f): Likewise.
14575         (atan2_test_data): New variable.
14576         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14577         (copysign_test_data): New variable.
14578         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14579         (fdim_test_data): New variable.
14580         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14581         (fmax_test_data): New variable.
14582         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14583         (fmin_test_data): New variable.
14584         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14585         (fmod_test_data): New variable.
14586         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14587         (hypot_test_data): New variable.
14588         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14589         (nextafter_test_data): New variable.
14590         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14591         (nexttoward_test_data): New variable.
14592         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14593         (pow_test_data): New variable.
14594         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14595         (pow_tonearest_test_data): New variable.
14596         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14597         (pow_towardzero_test_data): New variable.
14598         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14599         (pow_downward_test_data): New variable.
14600         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14601         (pow_upward_test_data): New variable.
14602         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14603         (remainder_test_data): New variable.
14604         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14605         (scalb_test_data): New variable.
14606         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14607         * sysdeps/i386/fpu/libm-test-ulps: Update.
14609 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
14611         * math/libm-test.inc (fma_test): Use max_value instead of local
14612         variable fltmax.
14613         (nextafter_test): Likewise.
14615         * math/libm-test.inc (acos_towardzero_test_data): New variable.
14616         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14617         (acos_downward_test_data): New variable.
14618         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14619         (acos_upward_test_data): New variable.
14620         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14621         (acosh_test_data): New variable.
14622         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14623         (asin_test_data): New variable.
14624         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14625         (asin_tonearest_test_data): New variable.
14626         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14627         (asin_towardzero_test_data): New variable.
14628         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14629         (asin_downward_test_data): New variable.
14630         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14631         (asin_upward_test_data): New variable.
14632         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14633         (asinh_test_data): New variable.
14634         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14635         (atan_test_data): New variable.
14636         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14637         (atanh_test_data): New variable.
14638         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14639         (cbrt_test_data): New variable.
14640         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14641         (ceil_test_data): New variable.
14642         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14643         (cos_test_data): New variable.
14644         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14645         (cos_tonearest_test_data): New variable.
14646         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14647         (cos_towardzero_test_data): New variable.
14648         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14649         (cos_downward_test_data): New variable.
14650         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14651         (cos_upward_test_data): New variable.
14652         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14653         (cosh_test_data): New variable.
14654         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14655         (cosh_tonearest_test_data): New variable.
14656         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14657         (cosh_towardzero_test_data): New variable.
14658         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14659         (cosh_downward_test_data): New variable.
14660         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14661         (cosh_upward_test_data): New variable.
14662         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14663         (erf_test_data): New variable.
14664         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14665         (erfc_test_data): New variable.
14666         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14667         (exp_test_data): New variable.
14668         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14669         (exp_tonearest_test_data): New variable.
14670         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14671         (exp_towardzero_test_data): New variable.
14672         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14673         (exp_downward_test_data): New variable.
14674         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14675         (exp_upward_test_data): New variable.
14676         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14677         (exp10_test_data): New variable.
14678         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14679         (exp2_test_data): New variable.
14680         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14681         (expm1_test_data): New variable.
14682         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14683         (fabs_test_data): New variable.
14684         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14685         (floor_test_data): New variable.
14686         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14687         (j0_test_data): New variable.
14688         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14689         (j1_test_data): New variable.
14690         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14691         (log_test_data): New variable.
14692         (log_test): Run tests with RUN_TEST_LOOP_f_f.
14693         (log10_test_data): New variable.
14694         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14695         (log1p_test_data): New variable.
14696         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14697         (log2_test_data): New variable.
14698         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14699         (logb_test_data): New variable.
14700         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14701         (logb_downward_test_data): New variable.
14702         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14703         (nearbyint_test_data): New variable.
14704         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14705         (rint_test_data): New variable.
14706         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14707         (rint_tonearest_test_data): New variable.
14708         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14709         (rint_towardzero_test_data): New variable.
14710         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14711         (rint_downward_test_data): New variable.
14712         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14713         (rint_upward_test_data): New variable.
14714         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14715         (round_test_data): New variable.
14716         (round_test): Run tests with RUN_TEST_LOOP_f_f.
14717         (sin_test_data): New variable.
14718         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14719         (sin_tonearest_test_data): New variable.
14720         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14721         (sin_towardzero_test_data): New variable.
14722         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14723         (sin_downward_test_data): New variable.
14724         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14725         (sin_upward_test_data): New variable.
14726         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14727         (sinh_test_data): New variable.
14728         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14729         (sinh_tonearest_test_data): New variable.
14730         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14731         (sinh_towardzero_test_data): New variable.
14732         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14733         (sinh_downward_test_data): New variable.
14734         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14735         (sinh_upward_test_data): New variable.
14736         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14737         (sqrt_test_data): New variable.
14738         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14739         (tan_test_data): New variable.
14740         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14741         (tan_tonearest_test_data): New variable.
14742         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14743         (tan_towardzero_test_data): New variable.
14744         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14745         (tan_downward_test_data): New variable.
14746         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14747         (tan_upward_test_data): New variable.
14748         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14749         (tanh_test_data): New variable.
14750         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14751         (tgamma_test_data): New variable.
14752         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14753         (trunc_test_data): New variable.
14754         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14755         (y0_test_data): New variable.
14756         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14757         (y1_test_data): New variable.
14758         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14759         (significand_test_data): New variable.
14760         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14762 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
14764         [BZ #12387]
14765         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14767 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14769         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14771 2013-05-10  Andreas Jaeger  <aj@suse.de>
14773         [BZ #15448]
14774         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14775         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14777 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14779         * math/gen-libm-test.pl (adjust_arg): New function.
14780         (special_functions): Handle generating output in both functions
14781         and arrays.
14782         (parse_args): Likewise.
14783         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
14784         $in_func argument to parse_args.
14785         * math/libm-test.inc (struct test_f_f_data): New type.
14786         (IF_ROUND_INIT_): New macro.
14787         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14788         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14789         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14790         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14791         (ROUND_RESTORE_): Likewise.
14792         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14793         (ROUND_RESTORE_FE_TONEAREST): Likewise.
14794         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14795         (ROUND_RESTORE_FE_UPWARD): Likewise.
14796         (RUN_TEST_LOOP_f_f): New macro.
14797         (acos_test_data): New variable.
14798         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14799         (acos_tonearest_test_data): New variable.
14800         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14802 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14804         * benchtests/bench-skeleton.c (startup): Fix coding style.
14806 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14808         [BZ #6809]
14809         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14810         negative infinity argument.
14811         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14812         negative infinity argument.
14813         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14814         negative infinity argument.
14815         * math/libm-test.inc (tgamma_test): Expect errno to be set for
14816         domain errors.
14818 2013-05-10  Florian Weimer  <fweimer@redhat.com>
14820         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14821         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14822         * iconv/iconv_prog.c (main): Likewise.
14823         * locale/programs/charmap-dir.c (charmap_readdir)
14824         (fopen_uncompressed): Likewise.
14825         * locale/programs/locfile.c (siblings_uncached)
14826         (write_locale_data): Use lstat64 instead of lstat.
14827         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14828         stat.
14830 2013-05-10  Andreas Jaeger  <aj@suse.de>
14832         [BZ #15395]
14833         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14834         localization.
14835         Include <locale.h>.
14837 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
14839         * elf/dl-close.c (_dl_close_worker): Add comments.
14841 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
14843         [BZ #15359]
14844         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14845         high part of pi/2.
14846         (__ieee754_rem_pio2l): Update comments.
14848         [BZ #15429]
14849         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14850         high part of pi/2.
14851         (__ieee754_rem_pio2l): Update comments.
14853         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14854         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14856         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14857         M_PI_4l.
14859         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14860         (M_PI_34_LOG10El): Likewise.
14861         (M_PI2_LOG10El): Likewise.
14862         (M_PI4_LOG10El): Likewise.
14863         (M_PI_LOG10El): Likewise.
14865 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14869 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
14871         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14872         (MINUS_ZERO_INIT): Likewise.
14873         (PLUS_INFTY_INIT): Likewise.
14874         (MINUS_INFTY_INIT): Likewise.
14875         (QNAN_VALUE_INIT): Likewise.
14876         (MAX_VALUE_INIT): Likewise.
14877         (MIN_VALUE_INIT): Likewise.
14878         (MIN_SUBNORM_VALUE_INIT): Likewise.
14879         (plus_zero): Initialize with PLUS_ZERO_INIT.
14880         (minus_zero): Initialize with MINUS_ZERO_INIT.
14881         (plus_infty): Initialize with PLUS_INFTY_INIT.
14882         (minus_infty): Initialize with MINUS_INFTY_INIT.
14883         (qnan_value): Initialize with QNAN_VALUE_INIT.
14884         (max_value): Initialize with MAX_VALUE_INIT.
14885         (min_value): Initialize with MIN_VALUE_INIT.
14886         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14888         * math/libm-test.inc (RUN_TEST_if_f): New macro.
14889         (jn_test): Use TEST_if_f instead of TEST_ff_f.
14890         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14891         (yn_test): Use TEST_if_f instead of TEST_ff_f.
14893         * math/libm-test.inc (RUN_TEST_f_f): New macro.
14894         (RUN_TEST_2_f): Likewise.
14895         (RUN_TEST_ff_f): Likewise.
14896         (RUN_TEST_fi_f): Likewise.
14897         (RUN_TEST_fl_f): Likewise.
14898         (RUN_TEST_fff_f): Likewise.
14899         (RUN_TEST_c_f): Likewise.
14900         (RUN_TEST_f_f1): Likewise.
14901         (RUN_TEST_fF_f1): Likewise.
14902         (RUN_TEST_fI_f1): Likewise.
14903         (RUN_TEST_ffI_f1): Likewise.
14904         (RUN_TEST_c_c): Likewise.
14905         (RUN_TEST_cc_c): Likewise.
14906         (RUN_TEST_f_i): Likewise.
14907         (RUN_TEST_f_i_tg): Likewise.
14908         (RUN_TEST_ff_i_tg): Likewise.
14909         (RUN_TEST_f_b): Likewise.
14910         (RUN_TEST_f_b_tg): Likewise.
14911         (RUN_TEST_f_l): Likewise.
14912         (RUN_TEST_f_L): Likewise.
14913         (RUN_TEST_sincos): Likewise.
14914         * math/gen-libm-test.pl (new_test): Take new argument to indicate
14915         whether to show exceptions.  Do not include ");\n" in return
14916         value.
14917         (special_functions): Output call to RUN_TEST_sincos instead of
14918         check_float calls.  Update calls to new_test.
14919         (parse_args): Output call to single RUN_TEST_* macro instead of
14920         check_* calls and other assignments.  Update calls to new_test.
14922         [BZ #2546]
14923         [BZ #2560]
14924         [BZ #5159]
14925         [BZ #15426]
14926         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14927         input to result for tgamma overflow.
14928         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14929         (gamma_coeff): New variable.
14930         (NCOEFF): New macro.
14931         (gamma_positive): New function.
14932         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14933         underflow here.  Use gamma_positive instead of exp (lgamma) for
14934         other arguments.
14935         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14936         (gamma_coeff): New variable.
14937         (NCOEFF): New macro.
14938         (gammaf_positive): New function.
14939         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14940         underflow here.  Use gamma_positive instead of exp (lgamma) for
14941         other arguments.
14942         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14943         (gamma_coeff): New variable.
14944         (NCOEFF): New macro.
14945         (gammal_positive): New function.
14946         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14947         underflow here.  Use gamma_positive instead of exp (lgamma) for
14948         other arguments.
14949         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14950         (gamma_coeff): New variable.
14951         (NCOEFF): New macro.
14952         (gammal_positive): New function.
14953         (__ieee754_gammal_r): Handle positive infinity, overflow and
14954         underflow here.  Handle NaN the same as positive infinity.  Remove
14955         check x < 0xffffffff for negative integers.  Use gamma_positive
14956         instead of exp (lgamma) for other arguments.
14957         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14958         (gamma_coeff): New variable.
14959         (NCOEFF): New macro.
14960         (gammal_positive): New function.
14961         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14962         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14963         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14964         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14965         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14966         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14967         * sysdeps/generic/math_private.h (__gamma_productf): New
14968         prototype.
14969         (__gamma_product): Likewise.
14970         (__gamma_productl): Likewise.
14971         * math/Makefile (libm-calls): Add gamma_product.
14972         * math/libm-test.inc (tgamma_test): Add more tests.
14973         * sysdeps/i386/fpu/libm-test-ulps: Update.
14974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14976 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
14978         * benchtests/bench-skeleton.c (main): Preheat CPU.
14980 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
14982         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14984 2013-05-07  Roland McGrath  <roland@hack.frob.com>
14986         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14987         and _dl_skip_args_internal.
14989 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
14991         * manual/message.texi (Message Translation): Talk about users.
14992         Message to key mapping impacts design.
14994 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14996         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14998         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15000         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15001         * sysdeps/wordsize-64/glob64.c: ... here.
15003         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15004         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15005         New macros.
15007         * debug/getlogin_r_chk.c: Moved to ...
15008         * login/getlogin_r_chk.c: ... here.
15009         * debug/Makefile (routines): Move getlogin_r_chk to ...
15010         * login/Makefile (routines): ... here.
15011         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15012         * login/Versions (libc: GLIBC_2.4): ... here.
15014         * io/poll.c (__poll): Renamed from poll.
15015         Add libc_hidden_def.
15016         (poll): Define as weak alias.
15018         * debug/ptsname_r_chk.c: Moved to ...
15019         * login/ptsname_r_chk.c: ... here.
15020         * debug/Makefile (routines): Move ptsname_r_chk to ...
15021         * login/Makefile (routines): ... here.
15022         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15023         * login/Versions (libc: GLIBC_2.4): ... here.
15025         * posix/getlogin.c: Moved to ...
15026         * login/getlogin.c: ... here.
15027         * posix/getlogin_r.c: Moved to ...
15028         * login/getlogin_r.c: ... here.
15029         * posix/getlogin_r.c: Moved to ...
15030         * login/getlogin_r.c: ... here.
15031         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15032         * login/Makefile (routines): ... here.
15033         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15034         * login/Versions (libc: GLIBC_2.0): ... here.
15036         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15037         (setrlimit): Define as weak alias.
15039         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15040         Call __ names for open, ftruncate, and close.
15041         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15042         (truncate): Define as weak alias.
15044 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
15046         * math/gen-libm-test.pl (parse_args): Initialize x before each
15047         test of frexp, modf and remquo.
15049         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15050         test signgam value.
15052 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15054         [BZ #15418]
15055         [BZ #15419]
15056         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15057         internal tests.
15058         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15060 2013-05-06  Roland McGrath  <roland@hack.frob.com>
15062         * elf/dl-writev.h: New file.
15063         * elf/dl-misc.c: Include it.
15064         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15065         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15067 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
15069         * math/libm-test.inc (noXFails): Remove variable.
15070         (noXPasses): Likewise.
15071         (BUILD_COMPLEX_INT): Remove macro.
15072         (print_screen): Remove xfail argument.
15073         (print_screen_max_error): Likewise.
15074         (update_stats): Likewise.
15075         (print_max_error): Likewise.  Update calls to other affected
15076         functions.
15077         (print_complex_max_error): Likewise.
15078         (test_single_exception): Update calls to print_screen.
15079         (test_single_errno): Likewise.
15080         (check_float_internal): Remove xfail argument.  Update calls to
15081         other affected functions.
15082         (check_float): Likewise.
15083         (check_complex): Likewise.
15084         (check_int): Likewise.
15085         (check_long): Likewise.
15086         (check_bool): Likewise.
15087         (check_longlong): Likewise.
15088         (main): Don't print noXFails and noXPasses.
15089         * math/gen-libm-test.pl (top level): Don't mention expected
15090         failure handling in comment.
15091         (new_test): Don't handle expected failures.
15092         (parse_args): Don't mention expected failure handling in comment.
15093         (generate_testfile): Don't handle expected failures.
15094         (parse_ulps): Likewise.
15095         (print_ulps_file): Likewise.
15096         (get_failure): Remove function.
15097         (output_test): Don't handle expected failures.
15098         * make/README.libm-test: Don't mention expected failure handling.
15100         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
15101         (minus_zero): Likewise.
15102         (plus_infty): Likewise.
15103         (minus_infty): Likewise.
15104         (qnan_value): Likewise.
15105         (max_value): Likewise.
15106         (min_value): Likewise.
15107         (min_subnorm_value): Likewise.
15108         (initialize): Do not initialize those variables dynamically.
15110 2013-05-03  Roland McGrath  <roland@hack.frob.com>
15112         * io/open.c (__open_2): Moved to ...
15113         * io/open_2.c: ... this new file.
15114         * io/open64.c (__open64_2): Moved to ...
15115         * io/open64_2.c: ... this new file.
15116         * io/openat.c (__openat_2): Moved to ...
15117         * io/openat_2.c: ... this new file.
15118         * io/openat64.c (__openat64_2): Moved to ...
15119         * io/openat64_2.c: ... this new file.
15120         * io/Makefile (routines): Add them.
15121         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15122         * sysdeps/unix/sysv/linux/open_2.c: File removed.
15123         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15124         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15125         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15126         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15127         (__openat64): Add hidden_ver.
15128         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15129         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15131         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15132         Separately conditionalize setting of GLRO(dl_sysinfo) so
15133         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15134         as well, but the actual setting is only under [NEED_DL_SYSINFO].
15136 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15138         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15139         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15140         definition.
15141         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15142         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15143         (_libc_vdso_platform_setup): Add __vdso_time initialization.
15144         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15145         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15147 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
15149         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15150         test signgam value.
15152         * math/libm-test.inc (hypot_test): Do not use
15153         IGNORE_ZERO_INF_SIGN.
15155 2013-05-03  Andreas Jaeger  <aj@suse.de>
15157         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15158         Linux 3.9.
15159         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15160         (PF_MAX): Adjust for VSOCK change.
15162 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15166 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
15168         [BZ #15264]
15169         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15170         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15171         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15173 2013-05-02  David S. Miller  <davem@davemloft.net>
15175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15177 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
15179         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15181 2013-05-01  Roland McGrath  <roland@hack.frob.com>
15183         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15185 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
15187         [BZ #14952]
15188         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15189         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15190         Use __attribute__ ((__gnu_inline__)).
15191         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15192         Don't use __attribute__ ((__gnu_inline__)).
15194 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
15196         [BZ #15423]
15197         * math/s_catan.c (__catan): Handle small real or imaginary part of
15198         input specially to avoid spurious underflow.
15199         * math/s_catanf.c (__catanf): Likewise.
15200         * math/s_catanh.c (__catanh): Likewise.
15201         * math/s_catanhf.c (__catanhf): Likewise.
15202         * math/s_catanhl.c (__catanhl): Likewise.
15203         * math/s_catanl.c (__catanl): Likewise.
15204         * math/libm-test.inc (catan_test): Add more tests.
15205         (catanh_test): Likewise.
15206         * sysdeps/i386/fpu/libm-test-ulps: Update.
15207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15209 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15213 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
15215         [BZ #15416]
15216         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15217         accurately for denominator in atan2.
15218         * math/s_catanf.c (__catanf): Likewise.
15219         * math/s_catanh.c (__catanh): Likewise.
15220         * math/s_catanhf.c (__catanhf): Likewise.
15221         * math/s_catanhl.c (__catanhl): Likewise.
15222         * math/s_catanl.c (__catanl): Likewise.
15223         * math/libm-test.inc (catan_test): Add more tests.
15224         (catanh_test): Likewise.
15225         * sysdeps/i386/fpu/libm-test-ulps: Update.
15226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15228 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15230         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15232         * benchtests/Makefile (bench): Remove slow benchmarks.
15233         * benchtests/atan-inputs: Add slow benchmark inputs.
15234         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15235         (BENCH_FUNC): Accept variant offset.
15236         (VARIANT): Define.
15237         * benchtests/bench-skeleton.c (main): Run benchmark for each
15238         variant.
15239         * benchtests/cos-inputs: Add slow benchmark inputs.
15240         * benchtests/exp-inputs: Likewise.
15241         * benchtests/pow-inputs: Likewise.
15242         * benchtests/sin-inputs: Likewise.
15243         * benchtests/slowatan-inputs: Remove.
15244         * benchtests/slowatan.c: Remove.
15245         * benchtests/slowcos-inputs: Remove.
15246         * benchtests/slowcos.c: Remove.
15247         * benchtests/slowexp-inputs: Remove.
15248         * benchtests/slowexp.c: Remove.
15249         * benchtests/slowpow-inputs: Remove.
15250         * benchtests/slowpow.c: Remove.
15251         * benchtests/slowsin-inputs: Remove.
15252         * benchtests/slowsin.c: Remove.
15253         * benchtests/slowtan-inputs: Remove.
15254         * benchtests/slowtan.c: Remove.
15255         * benchtests/tan-inputs: Add slow benchmark inputs.
15256         * scripts/bench.pl: Parse comments and directives.
15258         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
15259         in CPPFLAGS.
15260         ($(objpfx)bench-%.c): Remove *-ITER.
15261         * benchtests/bench-modf.c: Remove definition of ITER.
15262         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15263         (main): Loop for DURATION seconds instead of fixed number of
15264         iterations.
15265         * scripts/bench.pl: Don't expect iterations in parameters.
15267 2013-04-29  Roland McGrath  <roland@hack.frob.com>
15269         * io/fchdir.c (__fchdir): Renamed from fchdir.
15270         (fchdir): Define as weak alias.
15272 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15274         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15275         (ERRNO_EDOM): Likewise.
15276         (ERRNO_ERANGE): Likewise.
15277         (noErrnoTests): New variable.
15278         (init_max_error): Set errno to 0.
15279         (test_single_errno): New function.
15280         (test_errno): Likewise.
15281         (check_float_internal): Call test_errno.  Set errno to 0.
15282         (check_complex): Refer to errno tests in comment.
15283         (check_int): Call test_errno.  Set errno to 0.
15284         (check_long): Likewise.
15285         (check_bool): Likewise.
15286         (check_longlong): Likewise.
15287         (cos_test): Use ERRNO_* flags for errno tests instead of
15288         check_int.
15289         (expm1_test): Likewise.
15290         (fmod_test): Likewise.
15291         (ilogb_test): Likewise.
15292         (lgamma_test): Likewise.
15293         (pow_test): Likewise.
15294         (remainder_test): Likewise.
15295         (sin_test): Likewise.
15296         (tan_test): Likewise.
15297         (yn_test): Likewise.
15298         (initialize): Set errno to 0.
15299         (main): Print number of errno tests.
15300         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15302 2013-04-29  Andreas Jaeger  <aj@suse.de>
15304         [BZ #15084]
15305         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15306         and RES_USEVC.
15308         [BZ #15085]
15309         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15310         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15311         unimplemented.
15313         [BZ #15380]
15314         * stdlib/random.c (__initstate): Return NULL if
15315         __initstate fails.
15317         [BZ #15086]
15318         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15319         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15320         RES_SNGLKUPREOP.
15322 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15326 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15328         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15329         of individual tests.
15330         (casin_test): Likewise.
15331         (casinh_test): Likewise.
15333 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
15335         [BZ #15409]
15336         * math/s_catan.c (__catan): Handle arguments with large real or
15337         imaginary part separately without squaring.
15338         * math/s_catanf.c (__catanf): Likewise.
15339         * math/s_catanh.c (__catanh): Likewise.
15340         * math/s_catanhf.c (__catanhf): Likewise.
15341         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15342         and redefine.
15343         (__catanhl): Handle arguments with large real or imaginary part
15344         separately without squaring.
15345         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15346         and redefine.
15347         (__catanl): Handle arguments with large real or imaginary part
15348         separately without squaring.
15349         * math/libm-test.inc (catan_test): Add more tests.
15350         (catanh_test): Likewise.
15351         * sysdeps/i386/fpu/libm-test-ulps: Update.
15352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15354 2013-04-27  Andreas Jaeger  <aj@suse.de>
15356         [BZ #15007]
15357         * stdlib/stdlib.h: Update guards for qecvt.
15358         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15359         <stdlib.h>.
15361 2013-04-27  Allan McRae  <allan@archlinux.org>
15363         * sysdeps/i386/fpu/libm-test-ulps: Update.
15365 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
15367         [BZ #15406]
15368         * math/s_catan.c: Include <float.h>.
15369         (__catan): Ensure underflow exception occurs for underflowed
15370         result.
15371         * math/s_catanf.c: Include <float.h>.
15372         (__catanf): Ensure underflow exception occurs for underflowed
15373         result.
15374         * math/s_catanh.c: Include <float.h>.
15375         (__catanh): Ensure underflow exception occurs for underflowed
15376         result.
15377         * math/s_catanhf.c: Include <float.h>.
15378         (__catanhf): Ensure underflow exception occurs for underflowed
15379         result.
15380         * math/s_catanhl.c: Include <float.h>.
15381         (__catanhl): Ensure underflow exception occurs for underflowed
15382         result.
15383         * math/s_catanl.c: Include <float.h>.
15384         (__catanl): Ensure underflow exception occurs for underflowed
15385         result.
15386         * math/libm-test.inc (catan_test): Add more tests.
15387         (catanh_test): Likewise.
15389         [BZ #15405]
15390         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15391         underflowed result.
15392         * math/s_ccoshf.c (__ccoshf): Likewise.
15393         * math/s_ccoshl.c (__ccoshl): Likewise.
15394         * math/s_csin.c (__csin): Likewise.
15395         * math/s_csinf.c (__csinf): Likewise.
15396         * math/s_csinh.c (__csinh): Likewise.
15397         * math/s_csinhf.c (__csinhf): Likewise.
15398         * math/s_csinhl.c (__csinhl): Likewise.
15399         * math/s_csinl.c (__csinl): Likewise.
15400         * math/libm-test.inc (ccos_test): Add more tests.
15401         (ccosh_test): Likewise.
15402         (csin_test): Likewise.
15403         (csinh_test): Likewise.
15405 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15407         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15408         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15409         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15410         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15411         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15412         powerpc/power5+/fpu folders.
15413         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15416 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15420 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
15422         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15423         additions to variable.
15424         [$(config-machine) = x86_64] (modules-names): Likewise.
15425         ($(objpfx)tst-audit3): Remove dependency.
15426         ($(objpfx)tst-audit3.out): Likewise.
15427         ($(objpfx)tst-audit4): Likewise.
15428         ($(objpfx)tst-audit4.out): Likewise.
15429         ($(objpfx)tst-audit5): Likewise.
15430         ($(objpfx)tst-audit5.out): Likewise.
15431         ($(objpfx)tst-audit6): Likewise.
15432         ($(objpfx)tst-audit6.out): Likewise.
15433         ($(objpfx)tst-audit7): Likewise.
15434         ($(objpfx)tst-audit7.out): Likewise.
15435         (tst-audit3-ENV): Remove variable.
15436         (tst-audit4-ENV): Likewise.
15437         (tst-audit5-ENV): Likewise.
15438         (tst-audit6-ENV): Likewise.
15439         (tst-audit7-ENV): Likewise.
15440         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15441         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15442         addition to variable.
15443         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15444         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15445         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15446         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15447         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15448         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15449         tst-audit3, tst-audit4 and tst-audit5.
15450         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15451         tst-audit6 and tst-audit7.
15452         [$(subdir) = elf] (modules-names): Add audit modules for those
15453         tests.
15454         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15455         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15456         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15457         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15458         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15459         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15460         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15461         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15462         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15463         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15464         [$(subdir) = elf] (tst-audit3-ENV): New variable.
15465         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15466         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15467         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15468         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15469         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15470         Likewise.
15471         [$(subdir) = elf && $(config-cflags-avx) = yes]
15472         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15473         [$(subdir) = elf && $(config-cflags-avx) = yes]
15474         (CFLAGS-tst-auditmod4a.c): Likewise.
15475         [$(subdir) = elf && $(config-cflags-avx) = yes]
15476         (CFLAGS-tst-auditmod4b.c): Likewise.
15477         [$(subdir) = elf && $(config-cflags-avx) = yes]
15478         (CFLAGS-tst-auditmod6b.c): Likewise.
15479         [$(subdir) = elf && $(config-cflags-avx) = yes]
15480         (CFLAGS-tst-auditmod6c.c): Likewise.
15481         [$(subdir) = elf && $(config-cflags-avx) = yes]
15482         (CFLAGS-tst-auditmod7b.c): Likewise.
15483         * elf/tst-audit3.c: Move to ...
15484         * sysdeps/x86_64/tst-audit3.c: ... here.
15485         * elf/tst-audit4.c: Move to ...
15486         * sysdeps/x86_64/tst-audit4.c: ... here.
15487         * elf/tst-audit5.c: Move to ...
15488         * sysdeps/x86_64/tst-audit5.c: ... here.
15489         * elf/tst-audit6.c: Move to ...
15490         * sysdeps/x86_64/tst-audit6.c: ... here.
15491         * elf/tst-audit7.c: Move to ...
15492         * sysdeps/x86_64/tst-audit7.c: ... here.
15493         * elf/tst-auditmod3a.c: Move to ...
15494         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15495         * elf/tst-auditmod3b.c: Move to ...
15496         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15497         * elf/tst-auditmod4a.c: Move to ...
15498         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15499         * elf/tst-auditmod4b.c: Move to ...
15500         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15501         * elf/tst-auditmod5a.c: Move to ...
15502         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15503         * elf/tst-auditmod5b.c: Move to ...
15504         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15505         * elf/tst-auditmod6a.c: Move to ...
15506         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15507         * elf/tst-auditmod6b.c: Move to ...
15508         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15509         * elf/tst-auditmod6c.c: Move to ...
15510         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15511         * elf/tst-auditmod7a.c: Move to ...
15512         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15513         * elf/tst-auditmod7b.c: Move to ...
15514         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15516 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
15518         [BZ #15366]
15519         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15520         define unconditionally.
15521         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15522         define unconditionally.
15523         (INT8_C, INT16_C, etc.): Likewise.
15525 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
15527         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15528         __ehdr_start with hidden visibility.
15530         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15532 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
15534         * math/libm-test.inc (cos_test): Use accurate hex constants.
15535         (sincost_test): Likewise.
15537 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
15539         * math/libm-test.inc (catan_test): Add more tests.
15540         (catanh_test): Likewise.
15542         * math/s_catanf.c (__catanf): Use suffixed floating-point
15543         constants.
15544         * math/s_catanhf.c (__catanhf): Likewise.
15545         * math/s_catanhl.c (__catanhl): Likewise.
15546         * math/s_catanl.c (__catanl): Likewise.
15548         [BZ #15394]
15549         * math/s_catan.c (__catan): Calculate imaginary part of result
15550         with log1p not log unless computing log of number close to 0.
15551         * math/s_catanf.c (__catanf): Likewise.
15552         * math/s_catanl.c (__catanl): Likewise.
15553         * math/s_catanh.c (__catanh): Calculate real part of result with
15554         log1p not log unless computing log of number close to 0.
15555         * math/s_catanhf.c (__catanhf): Likewise.
15556         * math/s_catanhl.c (__catanhl): Likewise.
15557         * math/libm-test.inc (catan_test): Add more tests.
15558         (catanh_test): Likewise.
15559         * sysdeps/i386/fpu/libm-test-ulps: Update.
15560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15562 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15564         * benchtests/Makefile: Mention files in which fast and slow
15565         paths of math functions are implemented.
15567 2013-04-23  Roland McGrath  <roland@hack.frob.com>
15569         * sysdeps/posix/timespec_get.c: New file.
15571 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15573         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15574         POWER.
15575         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15576         for POWER.
15577         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15578         powerpc/power5/fpu folders.
15579         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15580         * benchtests/Makefile: Add modf testcase.
15581         * benchtests/bench-modf.c: New file: Benchmark test for mo
15583 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15585         [BZ #14888]
15586         * time/Makefile (tests): Add tst-strptime-whitespace.
15587         * time/strptime_l.c (get_number): Use ISSPACE.
15588         (__strptime_internal): Likewise.
15589         * time/tst-strptime-whitespace.c: New test case.
15591 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
15593         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15594         member.
15595         (_nss_files_init): Set it here.
15597 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
15599         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15600         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15601         unsigned.
15603 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
15605         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15607 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15609         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15610         size just once.
15612 2013-04-21  David S. Miller  <davem@davemloft.net>
15614         * po/ru.po: Update Russion translation from translation project.
15616 2013-04-17  Adam Conrad  <adconrad@0c3.net>
15618         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15619         and setfsgid.
15621 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
15623         * configure.in: Remove i386 configure warning. Remove i386 case.
15624         * configure: Regenerate.
15625         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15626         Add example to error message.
15627         * sysdeps/i386/configure: Regenerate.
15629 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15631         * benchtests/Makefile (bench): Add cos, tan, slowcos and
15632         slowtan.
15633         * benchtests/cos-inputs: New file.
15634         * benchtests/slowcos-inputs: New file.
15635         * benchtests/slowcos.c: New file.
15636         * benchtests/slowtan-inputs: New file.
15637         * benchtests/slowtan.c: New file.
15638         * benchtests/tan-inputs: New file.
15640 2013-04-16  Roland McGrath  <roland@hack.frob.com>
15642         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15643         considered kosher.
15645 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15647         * benchtests/Makefile: Include cppflags-iterator.mk to add
15648         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15650         * Makefile.in (bench-clean): New target.
15651         * benchtests/Makefile (bench-clean): Likewise.
15653 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
15655         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15657 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
15659         * stdio-common/tstdiomisc.c: Fix coding-style violation.
15661 2013-04-15  Andreas Schwab  <schwab@suse.de>
15663         * nscd/grpcache.c (cache_addgr): Properly check for short write.
15664         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15665         * nscd/pwdcache.c (cache_addpw): Likewise.
15666         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
15667         more than recsize.
15669 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15671         * benchtests/Makefile (bench): Write all output to
15672         bench-out.tmp together.
15674 2013-04-15  Andreas Schwab  <schwab@suse.de>
15676         * nscd/nscd.c (main): Don't fork again after closing files.
15678 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15680         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15682         * benchtests/Rules (bench-deps): Collect dependencies into a
15683         single variable.  Add Makefile to dependencies.
15684         ($(objpfx)bench-%.c): Depend on bench-deps.
15686 2013-04-12  Roland McGrath  <roland@hack.frob.com>
15687             Xavier Roche  <roche+kml2@exalead.com>
15689         [BZ #15361]
15690         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15691         just that it's a file descriptor.
15692         * manual/llio.texi (Synchronizing AIO Operations): Update description
15693         for EBADF error from aio_fsync.
15695 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15697         * Rules (bench): Move target definition...
15698         * benchtests/Makefile: ... here.
15700 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
15702         * math/libm-test.inc (cos_test): Fix PI/2 test.
15703         (sincos_test): Likewise.
15704         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15705         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15707 2013-04-11  Andreas Schwab  <schwab@suse.de>
15709         [BZ #13988]
15710         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15711         accept exponent character only when digits were seen.
15712         * stdio-common/Makefile (tests): Add bug26.
15713         * stdio-common/bug26.c: New file.
15715         [BZ #14293]
15716         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15717         non-freeable.
15719 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15721         * Makeconfig (rtld-prefix): Define built linker prefix.
15722         * Rules (run-bench): Use it.
15723         * math/Makefile (run-regen-ulps): Likewise.
15725         * Rules (bench): Remove eval.
15727 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15728             Roland McGrath  <roland@hack.frob.com>
15729             Ondrej Bilka  <neleai@seznam.cz>
15731         [BZ #15346]
15732         * time/getdate.c: Include ctype.h and alloca.h.
15733         (__getdate_r): Trim leading and trailing spaces of input.
15734         * time/tst-getdate.c (tests): Add tests with leading and
15735         trailing spaces.
15737 2013-04-08  Roland McGrath  <roland@hack.frob.com>
15739         [BZ #14280]
15740         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15741         when computing value.
15743 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15745         * math/README.libm-test (How can I generate "libm-test-ulps"?):
15746         Use testrun.sh to run libm tests.
15748         [BZ #15309]
15749         * elf/dl-open.c (dl_open_worker): memset all of seen array.
15751 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
15753         [BZ #15264]
15754         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15756 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15758         * Makefile.in (regen-ulps): New target.
15759         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15760         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15761         [ifneq (no,$(PERL)] (regen-ulps): New target.
15762         [ifeq (no,$(PERL)] (regen-ulps): New target.
15763         * math/libm-test.inc (ulps_file_name): Define.
15764         (output_dir): New variable.
15765         (options): Add "output-dir" option.
15766         (parse_opt): Handle 'o' case.
15767         (main): If output_dir is non-NULL use it as a prefix
15768         otherwise use "".
15769         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15771 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15773         [BZ #10060, #10062]
15774         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15775         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15776         fail configure if __sync_val_compare_and_swap is not inlined.
15777         * sysdeps/i386/configure: Regenerate.
15778         * configure.in: Build for i686 when configured for i386.
15779         * configure: Regenerate.
15780         * README: Remove i386 reference.
15782 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15784         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15785         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15787 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15789         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15790         (lmsnanval): New variables.
15791         (F): Add conversion tests.
15792         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15793         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15795         * stdio-common/tstdiomisc.c (F): Properly collect individual
15796         tests' results.
15798         [BZ #14686, #15336]
15799         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15800         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15801         Instead, use input NaN values or generate a qNaN by arithmetic
15802         operation.  Also fix bugs to comply with the standard.
15803         * math/libm-test.inc (remainder_test): Add more tests.
15805         [BZ #15335, #15342]
15806         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15807         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15808         input NaN values or generate a qNaN by arithmetic operation.
15810         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15811         unreachable code.
15813         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15814         definitions.
15816 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
15818         [BZ #14478]
15819         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15820         underflowed result.
15821         * math/s_cexpf.c (__cexpf): Likewise.
15822         * math/s_cexpl.c (__cexpl): Likewise.
15823         * math/libm-test.inc (cexp_test): Add more tests.
15825 2013-04-03  Andreas Schwab  <schwab@suse.de>
15827         [BZ #15330]
15828         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15829         order arrays from heap if bigger than alloca cutoff.
15831 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
15833         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15834         (SNAN_TESTS_double): Refer to GCC PR56831.
15835         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15836         GCC PR56828.
15838 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15840         * Rules (bench): Move bench.out after the run is complete.
15842         * Rules (bench): Echo currently running benchmark.
15844         * benchtests/Makefile (bench): Add atan and slowatan.
15845         * benchtests/atan-inputs: New file.
15846         * benchtests/slowatan-inputs: New file.
15847         * benchtests/slowatan.c: New file.
15849         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15850         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15851         its value.
15853         [BZ #15305]
15854         * sysdeps/unix/sysv/linux/kernel-features.h
15855         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15856         __ASSUME_XFS_RESTRICTED_CHOWN.
15857         * sysdeps/unix/sysv/linux/pathconf.c
15858         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15859         Save and restore errno.
15861 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
15863         [BZ #15327]
15864         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15865         arguments using __kernel_casinh.
15866         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15867         arguments using __kernel_casinhf.
15868         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15869         arguments using __kernel_casinhl.
15870         * math/libm-test.inc (cacosh_test): Add more tests.
15871         * sysdeps/i386/fpu/libm-test-ulps: Update.
15872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15874 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15876         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15877         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15879         * bench/Makefile (bench): Add sin and slowsin.
15880         * benchtests/sin-inputs: New file.
15881         * benchtests/slowsin-inputs: New file.
15882         * benchtests/slowsin.c: New file.
15884         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15885         (bench): Add slowexp and slowpow.
15886         (exp-ITER): Increase iterations.
15887         (pow-ITER): Likewise.
15888         * benchtests/exp-inputs: Change input.
15889         * benchtests/pow-inputs: Likewise.
15890         * benchtests/slowexp-inputs: New file.
15891         * benchtests/slowexp.c: New file.
15892         * benchtests/slowpow-inputs: New file.
15893         * benchtests/slowpow.c: New file.
15895 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15897         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15898         instructions.
15899         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15900         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15901         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15902         * benchtests/Makefile: Add rint benchtest.
15903         * benchtests/rint-inputs: Input for rint benchtest.
15905 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15907         * Versions.def (libm): Add GLIBC_2.18.
15908         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15909         hidden libm prototypes.
15910         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15911         * math/Makefile (libm-calls): Add s_issignaling.
15912         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15913         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
15914         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15915         declaration.
15916         * math/math.h [__USE_GNU] (issignaling): New macro.
15917         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15918         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15919         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15920         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15921         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15922         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15923         * manual/arith.texi (issignaling): New section.
15924         * manual/libm-err-tab.pl (@all_functions): Update comment.
15925         * math/gen-libm-test.pl (parse_args): Apply special handling for
15926         issignaling.
15927         * math/libm-test.inc (print_float, issignaling_test): New
15928         functions.
15929         (check_float_internal): Add issignaling checks.
15930         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15931         default definition.
15932         * sysdeps/powerpc/math-tests.h: New file.
15933         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15934         tests.
15935         * math/test-snan.c (TEST_FUNC): Likewise.
15937 2013-03-30  David S. Miller  <davem@davemloft.net>
15939         * po/de.po: Update from translation team.
15941 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
15943         [BZ #10357]
15944         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15945         imaginary part less than 1.0 and real part less than 0.5
15946         specially.
15947         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15948         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15949         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15950         (cacos_test): Add more tests.
15951         (casin_test): Likewise.
15952         (casinh_test): Likewise.
15953         * sysdeps/i386/fpu/libm-test-ulps: Update.
15954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15956 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15958         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15959         ONE with its value.
15961         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15962         (__pow_mp): Replace ONE and MONE with their values.
15963         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15964         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15965         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15966         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15967         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15968         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15970         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15972         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15973         (__pow_mp): Replace ZERO and MZERO with their values.
15974         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15975         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15976         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15978         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15979         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15980         (__sqr): Likewise.
15982         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15984         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15986 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15988         * include/stdlib.h [!SHARED] (__call_tls_dtors):
15989         Declare with __attribute__ ((weak)).
15990         * stdlib/exit.c (__libc_atexit) [!SHARED]:
15991         Call __call_tls_dtors only if it's not NULL.
15993 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15995         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15996         didn't do it already, then set _dl_phdr and _dl_phnum based on the
15997         magic __ehdr_start linker symbol if it's defined.
15998         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15999         them up here if it was already done.
16001         * elf/dl-support.c (_dl_phdr): Make pointer to const.
16002         (_dl_aux_init): Use const in cast when setting it.
16003         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16004         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16005         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16007         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16008         Declare them here.
16009         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16010         * csu/libc-tls.c: Nor here.
16011         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16013         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16014         (__libc_message): Never call vsyslog.
16016 2013-03-28  Alan Modra  <amodra@gmail.com>
16018         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16019         Define as empty.
16020         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16021         Likewise.
16023 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16025         [BZ #15214]
16026         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16027         underflow.
16028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16030 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16032         [BZ #15304]
16033         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16034         Don't add gid passed as argument.
16036         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16038 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
16040         [BZ #15307]
16041         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16042         imaginary part between 1.0 and 1.5 and real part less than 0.5
16043         specially.
16044         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16045         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16046         * math/libm-test.inc (cacos_test): Add more tests.
16047         (casin_test): Likewise.
16048         (casinh_test): Likewise.
16049         * sysdeps/i386/fpu/libm-test-ulps: Update.
16050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16052 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16054         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16055         constants.
16056         (norm): Likewise.
16057         (denorm): Likewise.
16058         (__dbl_mp): Likewise.
16059         (add_magnitudes): Likewise.
16060         (sub_magnitudes): Likewise.
16061         (__add): Likewise.
16062         (__sub): Likewise.
16063         (__mul): Likewise.
16064         (__sqr): Likewise.
16065         (__inv): Likewise.
16066         (__dvd): Likewise.
16068         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16069         commented code.
16070         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16071         (__dubcos): Likewise.
16072         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16073         (__ieee754_acos): Likewise.
16074         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16075         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16076         (__exp1): Likewise.
16077         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16078         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16079         (log1): Likewise.
16080         (my_log2): Likewise.
16081         (checkint): Likewise.
16082         * sysdeps/ieee754/dbl-64/e_remainder.c
16083         (__ieee754_remainder): Likewise.
16084         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16085         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16086         (bsloww): Likewise.
16087         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16089         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16090         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16091         MANTISSA_STORE_T to store computations on mantissa.  Use
16092         macros for rounding and division.
16093         (denorm): Likewise.
16094         (__dbl_mp): Likewise.
16095         (add_magnitudes): Likewise.
16096         (sub_magnitudes): Likewise.
16097         (__mul): Likewise.
16098         (__sqr): Likewise.
16099         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16100         powers of two in terms of TWOPOW macro.
16101         (mp_no): Make type of mantissa as MANTISSA_T.
16102         [!RADIXI]: Define RADIXI.
16103         [!TWO52]: Define TWO52.
16104         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16106 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16108         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16109         llroundl symbol when building for PPC32.
16111 2013-03-24  Mark H Weaver  <mhw@netris.org>
16113         * manual/arith.texi (Normalization Functions): Fix prototypes for
16114         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16116 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16118         [BZ #13889]
16119         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16120         high value to check if expl overflow.
16121         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16122         to check for underflow and overflow.
16123         * math/libm-test.inc: Add exp test.
16125 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
16127         [BZ #11120]
16128         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16129         with NOT_IN_libc.
16131 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16133         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16134         symbol.
16136 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16138         * math/gen-libm-test.pl (parse_args, special_functions): Properly
16139         wrap blocks consisting of several statements.
16141         * sysdeps/generic/math-tests.h: New file.
16142         * sysdeps/i386/fpu/math-tests.h: Likewise.
16143         * math/test-snan.c: Include it.
16144         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16146 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16148         [BZ #15285]
16149         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16150         (__ieee754_j0l): Do not improve calculations using cos of twice
16151         input for inputs above LDBL_MAX / 2.0L.
16152         (__ieee754_y0l): Likewise.
16153         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16154         (__ieee754_j1l): Do not improve calculations using cos of twice
16155         input for inputs above LDBL_MAX / 2.0L.
16156         (__ieee754_y1l): Likewise.
16157         * math/libm-test.inc (j0_test): Add another test.
16158         (j1_test): Likewise.
16159         (y0_test): Likewise.
16160         (y1_test): Likewise.
16161         * sysdeps/i386/fpu/libm-test-ulps: Update.
16163 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16165         * Rules ($(objpfx)bench-%.c): Include code from a C source
16166         file.
16168 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16170         [BZ #15287]
16171         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16172         imaginary part 1.0 and real part less than 0.5 specially.
16173         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16174         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16175         * math/libm-test.inc (cacos_test): Add more tests.
16176         (casin_test): Likewise.
16177         (casinh_test): Likewise.
16178         * sysdeps/i386/fpu/libm-test-ulps: Update.
16179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16181 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16183         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16184         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16186 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
16188         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16189         * config.make.in (config-cflags-sse4): Remove variable.
16190         (config-cflags-avx): Likewise.
16191         (config-cflags-sse2avx): Likewise.
16192         (config-cflags-novzeroupper): Likewise.
16193         (config-asflags-i686): Likewise.
16194         (have-mfma4): Likewise.
16195         (have-as-vis3): Likewise.
16196         (MIG): Likewise.
16197         * configure.in (MIG): Do not AC_SUBST.
16198         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16199         (libc_cv_cc_sse4): Do not AC_SUBST.
16200         (libc_cv_cc_avx): Likewise.
16201         (libc_cv_cc_sse2avx): Likewise.
16202         (libc_cv_cc_novzeroupper): Likewise.
16203         (libc_cv_cc_fma4): Likewise.
16204         (libc_cv_as_i686): Likewise.
16205         (libc_cv_sparc_as_vis3): Likewise.
16206         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16207         LIBC_CONFIG_VAR.
16208         (config-asflags-i686): Likewise.
16209         (config-cflags-avx): Likewise.
16210         (config-cflags-sse2avx): Likewise.
16211         (have-mfma4): Likewise.
16212         (config-cflags-novzeroupper): Likewise.
16213         * sysdeps/mach/configure.in (MIG): Likewise.
16214         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16215         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16216         LIBC_CONFIG_VAR.
16217         (config-cflags-avx): Likewise.
16218         (config-cflags-sse2avx): Likewise.
16219         (have-mfma4): Likewise.
16220         (config-cflags-novzeroupper): Likewise.
16221         * configure: Regenerated.
16222         * sysdeps/i386/configure: Likewise.
16223         * sysdeps/mach/configure: Likewise.
16224         * sysdeps/sparc/configure: Likewise.
16225         * sysdeps/x86_64/configure: Likewise.
16227 2013-03-20  Roland McGrath  <roland@hack.frob.com>
16229         [BZ #14812]
16230         * locale/programs/localedef.c (options): Put N_ translation marker
16231         on argument names, not just descriptions.
16233 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16235         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16237 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
16239         [BZ #14176]
16240         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16242 2013-03-19  Roland McGrath  <roland@hack.frob.com>
16244         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16245         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16246         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16247         [!BEFORE_ABORT] (before_abort): New function.
16248         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16249         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16250         (writev_for_fatal): New function.
16251         (WRITEV_FOR_FATAL): New macro; call that.
16252         (backtrace_and_maps): New function.
16253         (BEFORE_ABORT): New macro; call that.
16254         (struct str_list): Type removed.
16255         (__libc_message, __libc_fatal): Functions removed.
16256         Include <sysdeps/posix/libc_fatal.c> instead.
16258 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
16260         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16261         constants.
16262         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16263         double constants.
16265 2013-03-19  Andreas Schwab  <schwab@suse.de>
16267         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16268         * sysdeps/gnu/configure: Regenerate.
16270         * configure.in: Substitute libc_cv_rtlddir.
16271         * configure: Regenerate.
16272         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16273         * Makeconfig (rtlddir, inst_rtlddir): New variables.
16274         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16275         * elf/Makefile (install-others, CFLAGS-interp.c)
16276         (ldso_install, common-ldd-rewrite): Likewise.
16277         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16278         $(inst_slibdir)/$(rtld-installed-name).
16279         * scripts/rellns-sh: Add -p option.
16280         * Makerules (make-shlib-link): Use rellns-sh to get relative name
16281         for source.
16283 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16285         * manual/nptl.texi: Renamed to ...
16286         * manual/threads.texi: ... this.
16287         * manual/Makefile (chapters): Update.
16289 2013-03-18  Roland McGrath  <roland@hack.frob.com>
16291         [BZ #14812]
16292         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16293         on argument names, not just descriptions.
16294         * malloc/memusagestat.c (options): Likewise.
16295         * nss/getent.c (options): Likewise.
16297 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
16299         [BZ #14812]
16300         * iconv/iconv_prog.c (options): Put N_ translation marker
16301         on argument names, not just descriptions.
16302         * iconv/iconvconfig.c (options): Likewise.
16304 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
16306         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16307         implementation which is faster on all x86_64 architectures.
16308         Tested on AMD, Intel Nehalem, SNB, IVB.
16309         * sysdeps/x86_64/strnlen.S: Likewise.
16311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16312         Remove all multiarch strlen and strnlen versions.
16313         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16314         Remove strlen and strnlen related parts.
16316         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16317         Inline strlen part.
16318         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16320         * sysdeps/x86_64/multiarch/strlen.S: Remove.
16321         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16322         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16323         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16324         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16325         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16327 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
16329         * manual/memory.texi (Malloc Tunable Parameters):
16330         Sort parameters alphabetically. Add comments for missing entries.
16332 2013-03-17  David S. Miller  <davem@davemloft.net>
16334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16336 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
16338         [BZ #15283]
16339         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16340         for arguments at most half maximum finite value.
16341         * math/libm-test.inc (j0_test): Add more tests.
16342         (j1_test): Likewise.
16343         (y0_test): Likewise.
16344         (y1_test): Likewise.
16345         * sysdeps/i386/fpu/libm-test-ulps: Update.
16346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16348         [BZ #14155]
16349         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16350         1 / x and functions P and Q for arguments above 0x1p256L.
16351         (__ieee754_y0l): Likewise.
16352         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16353         (__ieee754_y1l): Likewise.
16354         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16355         (j1_test): Likewise.
16356         (y0_test): Likewise.
16357         (y1_test): Likewise.
16359 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
16361         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16362         variable.
16364 2013-03-15  Roland McGrath  <roland@hack.frob.com>
16366         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16367         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16368         zero since it's initialized to EXEC_PAGESIZE.
16370         * sysdeps/unix/sysv/linux/ldsodefs.h
16371         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16372         * sysdeps/generic/ldsodefs.h: ... here.
16374 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
16376         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16378         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16379         math/test-snan.c.
16380         * math/test-snan.c: Renamed from
16381         sysdeps/powerpc/fpu/test-powerpc-snan.c.
16382         * math/Makefile (tests): Add test-snan.
16383         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16384         test-powerpc-snan.
16386         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16387         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
16388         functions.
16389         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
16390         __builtin_nan family of functions.
16391         * math/libm-test.inc (initialize): Initialize qnan_value with
16392         __builtin_nan family of functions.
16393         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16394         Remove variables.
16395         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16396         Remove functions.
16397         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
16398         storage class.  Initialize qNaN_var and sNaN_var with
16399         __builtin_nan and __builtin_nans families of functions,
16400         respectively.
16402         * math/libm-test.inc (acosh_test): Also test with qNaN input.
16403         (sqrt_test): Remove duplicate test with qNaN input.
16404         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16405         (round_test, signbit_test, significand_test): Note missing +/-Inf
16406         as well as qNaN tests.
16408         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16409         qNaN_var.  Fix a few strings, too.
16410         * math/libm-test.inc (nan_value): Rename to qnan_value.
16411         * math/gen-libm-test.pl (%beautify): Adjust to that.
16412         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16413         * math/test-misc.c (main): Likewise.
16414         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16415         to __qnan_bytes, and __qnan_union, respectively.
16416         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16417         Likewise.
16418         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16419         and lqnanval, respectively.
16420         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16421         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16422         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16423         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16425         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16426         * math/test-misc.c (main) [__x86_64__]: Enable test for long
16427         doubles.
16429         * math/test-misc.c (main): Fix copy'n'pastos.
16430         * misc/tst-efgcvt.c (special): Likewise.
16432         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16433         Remove declarations.
16435 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16437         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16438         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16439         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16440         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16442 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16444         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16445         macro to return vdso values correctly in IFUNC implementations.
16446         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16447         Optimization by using IFUNC.
16449 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16450             Richard Henderson  <rth@redhat.com>
16451             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16453         * Makefile.in (bench): New target.
16454         * NEWS: Mention the benchmark framework.
16455         * Rules (bench): Likewise.
16456         (binaries-bench): Generate binaries for functions to
16457         benchmark.
16458         * benchtests/Makefile: New makefile for benchmark tests.
16459         * benchtests/bench-skeleton.c: New skeleton file for benchmark
16460         programs.
16461         * benchtests/exp-inputs: New input file for EXP function.
16462         * benchtests/pow-inputs: New input file for POW function.
16463         * scripts/bench.pl: New script to generate source files for
16464         benchmark programs.
16466 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16468         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16469         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16470         computations on mantissa.  Use macros for rounding and
16471         division.
16472         (denorm): Likewise.
16473         (__dbl_mp): Likewise.
16474         (add_magnitudes): Likewise.
16475         (sub_magnitudes): Likewise.
16476         (__mul): Likewise.
16477         (__sqr): Likewise.
16478         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16479         powers of two in terms of TWOPOW macro.
16480         (mp_no): Make type of mantissa as MANTISSA_T.
16481         [!RADIXI]: Define RADIXI.
16482         [!TWO52]: Define TWO52.
16483         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16485         * manual/nptl.texi (cindex): Modify threads to pthreads.
16487 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
16489         * sysdeps/x86_64/preconfigure: Regenerated.
16491 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
16493         [BZ #14155]
16494         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16495         0x1p28 and above.
16496         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16497         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16498         0x1p28 and above.
16499         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16500         * math/libm-test.inc (j0_test): Do not allow one spurious
16501         underflow exception.
16502         (y1_test): Likewise.
16504 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16506         * manual/Makefile (chapters): Add nptl.
16507         * manual/debug.texi (Debugging Support): Add link to Threads
16508         chapter.
16509         * manual/nptl.texi: New file.
16511         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16513 2013-03-14  Petr Baudis  <pasky@ucw.cz>
16515         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16516         for non-NULL pointer before the memory validity test. Pointed
16517         out by Holger Brunck <holger.brunck@keymile.com>.
16519 2013-03-13  Andreas Schwab  <schwab@suse.de>
16521         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16522         instead of .os.
16524 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
16526         * timezone/zic.c: Update from tzcode 2013b.
16528 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
16530         * manual/install.texi (Configuring and compiling):
16531         Mention i686 and i586.
16532         * INSTALL: Regenerate.
16534 2013-03-12  Roland McGrath  <roland@hack.frob.com>
16536         * sysdeps/init_array/elf-init.c: New file.
16537         * csu/elf-init.c
16538         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16539         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16541         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16542         __gmon_start__ as global, but as static with a .preinit_array pointer.
16543         * sysdeps/init_array/gmon-start.c: New file.  Use that.
16544         * sysdeps/init_array/crti.S: New file, empty except for comments.
16545         * sysdeps/init_array/crtn.S: Likewise.
16547 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
16549         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16550         definining bcopy.
16551         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16552         Remove Prefer_SSE_for_memop.
16553         * sysdeps/x86_64/multiarch/init-arch.h: Remove
16554         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16555         HAS_PREFER_SSE_FOR_MEMOP.
16556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16557         memset-x86-64.
16558         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16559         Remove bzero, memset ifunc support.
16560         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16561         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16562         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16563         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16565 2013-03-11  Andreas Schwab  <schwab@suse.de>
16567         [BZ #15234]
16568         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16569         by SHLIB_COMPAT.
16570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16571         (GLIBC_2.16): Remove pthread_atfork.
16573 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16575         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16576         (ptestcases.h): Likewise.
16578 2013-03-08  Roland McGrath  <roland@hack.frob.com>
16580         * Makeconfig ($(common-objpfx)config.status): Depend on
16581         sysdeps/*/preconfigure{,.in} too.
16583 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
16585         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16586         (__free_hook): Use void * instead of __malloc_ptr_t.
16587         (__malloc_hook): Likewise.
16588         (__realloc_hook): Likewise.
16589         (__memalign_hook): Likewise.
16590         (__after_morecore_hook): Likewise.
16591         * malloc/arena.c (save_malloc_hook): Likewise.
16592         (save_free_hook): Likewise.
16593         * malloc/hooks.c (malloc_hook_ini): Likewise.
16594         (realloc_hook_ini): Likewise.
16595         (memalign_hook_ini): Likewise.
16596         * malloc/malloc.c (malloc_hook_ini): Likewise.
16597         (realloc_hook_ini): Likewise.
16598         (memalign_hook_ini): Likewise.
16599         (__free_hook): Likewise.
16600         (__malloc_hook): Likewise.
16601         (__realloc_hook): Likewise.
16602         (__memalign_hook): Likewise.
16603         (__libc_malloc): Likewise.
16604         (__libc_free): Likewise.
16605         (__libc_realloc): Likewise.
16606         (__libc_memalign): Likewise.
16607         (__libc_valloc): Likewise.
16608         (__libc_pvalloc): Likewise.
16609         (__libc_calloc): Likewise.
16610         (__posix_memalign): Likewise.
16611         * malloc/morecore.c (__sbrk): Likewise.
16612         (__default_morecore): Likewise.
16614         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16616         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16617         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16618         __malloc_ptrdiff_t.
16620         * malloc/malloc.h (__malloc_size_t): Remove macro.
16621         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16622         __malloc_size_t.
16623         (old_memalign_hook): Likewise.
16624         (old_realloc_hook): Likewise.
16625         (struct hdr): Likewise.
16626         (flood): Likewise.
16627         (mallochook): Likewise.
16628         (memalignhook): Likewise.
16629         (reallochook): Likewise.
16630         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16631         (tr_old_realloc_hook): Likewise.
16632         (tr_old_memalign_hook): Likewise.
16633         (tr_mallochook): Likewise.
16634         (tr_reallochook): Likewise.
16635         (tr_memalignhook): Likewise.
16637 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16639         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16640         default_ldbl_pack and using as default implementation.
16641         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16642         implementation.
16643         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16644         redundant definition.
16645         (ldbl_insert_mantissa): Likewise.
16646         (ldbl_canonicalize): Likewise.
16647         (ldbl_nearbyint): Likewise.
16648         (ldbl_pack): Rename to ldbl_pack_ppc.
16649         (ldbl_unpack): Rename to ldbl_unpack_ppc.
16650         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16651         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16653 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16656         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16657         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16658         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16660         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16661         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16662         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16664 2013-03-07  Andreas Jaeger  <aj@suse.de>
16666         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16667         bits/mman-linux.h.
16669 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16671         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16672         Include mpa.h and declare __MPEXP.
16673         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16674         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16675         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16676         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16677         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16678         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16679         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16681         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16682         (__slowpow): Use long double EXPL and LOGL functions to
16683         compute POW.
16684         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16685         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16686         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16687         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16688         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16689         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16692         intermediate variable to calculate exponent.
16693         (__sqr): Likewise.
16694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16695         Likewise.
16696         (__sqr): Likewise.
16698         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16699         [!NO__SQR]: Define __sqr.
16700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16701         and NO__SQR.  Remove all code except __mul and __sqr.  Include
16702         sysdeps/ieee754/dbl-64/mpa.c.
16703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16705         [BZ #12723]
16706         * posix/Makefile (tests): Add tst-pathconf.
16707         * posix/tst-pathconf.c: New test case.
16708         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16709         _PC_PIPE_BUF.
16710         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16712 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
16714         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16716 2013-03-06  Andreas Jaeger  <aj@suse.de>
16718         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16719         definition via __MAP_ANONYMOUS.
16721         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16722         it's not part of Linux headers.
16724         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16725         (MAP_HUGE_MASK): Define.
16727         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16728         Define.
16729         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16730         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16731         Define.
16732         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16733         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16734         Define.
16735         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16736         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16737         Define.
16738         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16740         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16741         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16742         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16743         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16744         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16745         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16747         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16748         Handle f2fs.
16750         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16751         Handle f2fs and efivarfs.
16753         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16754         f2fs.
16756         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16757         (EFIVARFS_MAGIC): Add.
16758         (F2FS_LINK_MAX): Add.
16760 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16762         * stdio-common/vfprintf.c: Replace __builtin_expect with
16763         __glibc_unlikely.
16765 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
16767         [BZ #13550]
16768         * sysdeps/generic/bp-sym.h: Remove file.
16769         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16770         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16771         <bp-sym.h> and <bp-asm.h>.
16772         (__longjmp): Don't use BP_SYM.
16773         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16774         and <bp-asm.h>.
16775         (memcpy): Don't use BP_SYM.
16776         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16777         <bp-sym.h> and <bp-asm.h>.
16778         (memcpy): Don't use BP_SYM.
16779         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16780         <bp-asm.h>.
16781         (memcpy): Don't use BP_SYM.
16782         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16783         <bp-asm.h>.
16784         (memset): Don't use BP_SYM.
16785         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16786         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16787         (__bzero): Don't use BP_SYM.
16788         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16789         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16790         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16791         <bp-sym.h> and <bp-asm.h>.
16792         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16793         pointers.
16794         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16795         <bp-sym.h> and <bp-asm.h>.
16796         (memcpy): Don't use BP_SYM.
16797         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16798         <bp-sym.h> and <bp-asm.h>.
16799         (memset): Don't use BP_SYM.
16800         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16801         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16802         (__bzero): Don't use BP_SYM.
16803         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16804         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16805         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16806         <bp-sym.h> and <bp-asm.h>.
16807         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16808         pointers.
16809         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16810         <bp-sym.h> and <bp-asm.h>.
16811         (memcpy): Don't use BP_SYM.
16812         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16813         <bp-sym.h> and <bp-asm.h>.
16814         (memset): Don't use BP_SYM.
16815         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16816         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16817         (__bzero): Don't use BP_SYM.
16818         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16819         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16820         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16821         <bp-sym.h> and <bp-asm.h>.
16822         (__memchr): Don't use BP_SYM.
16823         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16824         <bp-sym.h> and <bp-asm.h>.
16825         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16826         pointers.
16827         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16828         <bp-sym.h> and <bp-asm.h>.
16829         (memcpy): Don't use BP_SYM.
16830         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16831         <bp-sym.h> and <bp-asm.h>.
16832         (__mempcpy): Don't use BP_SYM.
16833         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16834         <bp-sym.h> and <bp-asm.h>.
16835         (__memrchr): Don't use BP_SYM.
16836         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16837         <bp-sym.h> and <bp-asm.h>.
16838         (memset): Don't use BP_SYM.
16839         (__bzero): Likewise.
16840         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16841         <bp-sym.h> and <bp-asm.h>.
16842         (__rawmemchr): Don't use BP_SYM.
16843         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16844         <bp-sym.h> and <bp-asm.h>.
16845         (__STRCMP): Don't use BP_SYM.
16846         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16847         <bp-sym.h> and <bp-asm.h>.
16848         (strchr): Don't use BP_SYM.
16849         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16850         <bp-sym.h> and <bp-asm.h>.
16851         (__strchrnul): Don't use BP_SYM.
16852         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16853         <bp-sym.h> and <bp-asm.h>.
16854         (strlen): Don't use BP_SYM.
16855         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16856         <bp-sym.h> and <bp-asm.h>.
16857         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16858         pointers.
16859         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16860         <bp-sym.h> and <bp-asm.h>.
16861         (__strnlen): Don't use BP_SYM.
16862         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16863         <bp-sym.h> and <bp-asm.h>.
16864         (__GI__setjmp): Don't use BP_SYM.
16865         (_setjmp): Likewise.
16866         (__sigsetjmp): Likewise.
16867         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16868         (L(start_addresses)): Don't use BP_SYM.
16869         (_start): Likewise.
16870         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16871         <bp-asm.h>.
16872         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16873         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16874         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16875         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16876         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16877         <bp-asm.h>.
16878         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16879         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
16880         about bounded pointers.
16881         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16882         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16883         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16884         <bp-asm.h>.
16885         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16886         about bounded pointers.  Remove GKM FIXME comments.
16887         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16888         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16889         <bp-asm.h>.
16890         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16891         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
16892         Remove GKM FIXME comments.
16893         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16894         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16895         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16896         <bp-asm.h>.
16897         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16898         about bounded pointers.  Remove GKM FIXME comment.
16899         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16900         and <bp-asm.h>.
16901         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16902         pointers.
16903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16904         <bp-sym.h> and <bp-asm.h>.
16905         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16907         <bp-sym.h> and <bp-asm.h>.
16908         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16909         comment.
16911 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16913         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16914         call free(NULL).
16916 2013-03-05  David S. Miller  <davem@davemloft.net>
16918         * po/es.po: Update from translation team.
16920 2013-03-05  Andreas Jaeger  <aj@suse.de>
16922         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16923         <bits/mman-linux.h>.
16924         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16925         is fine.
16926         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16927         <bits/mman-linux.h> to end of file.
16928         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16929         is fine.
16930         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16931         <bits/mman-linux.h> to end of file.
16932         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16933         is fine.
16934         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16935         <bits/mman-linux.h> to end of file.
16937         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16938         (MCL_CURRENT, MCL_FUTURE): Define here.
16940 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16942         [BZ #15232]
16943         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16944         attribute_hidden.
16945         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16947 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16949         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16950         fourth parameter needed for rt_sigprocmask syscall.
16951         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16952         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16953         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16954         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16955         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16956         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16958 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
16960         [BZ #13550]
16961         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16962         comment about bounded pointers.
16963         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16964         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16966 2013-03-04  Andreas Jaeger  <aj@suse.de>
16968         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16969         common definitions.
16971         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16972         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16973         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16974         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16975         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16976         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16978 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16980         [BZ #15055]
16981         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16982         __ieee754_sqrl instead of __sqrl.
16984 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
16986         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16987         * sysdeps/powerpc/fpu_control.h: ... here.
16988         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16989         * sysdeps/powerpc/bits/fenvinline.h: ... here.
16990         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16991         * sysdeps/powerpc/bits/mathinline.h: ... here.
16993 2013-03-01  Roland McGrath  <roland@hack.frob.com>
16995         * elf/dl-hwcaps.c (_dl_important_hwcaps):
16996         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16997         to just [NEED_DL_SYSINFO_DSO].
16998         * elf/dl-support.c: Likewise.
16999         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17000         * elf/rtld.c (dl_main): Likewise.
17001         * elf/setup-vdso.h (setup_vdso): Likewise.
17002         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17003         * sysdeps/unix/sysv/linux/dl-sysdep.c
17004         (_dl_discover_osversion): Likewise.
17006 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
17008         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17009         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17011 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17013         * NEWS: Mention libm performance improvements and non-x86 PI
17014         futex support.
17016         * csu/libc-start.c (__pthread_initialize_minimal): Change
17017         function arguments.
17018         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17020 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
17022         [BZ #13550]
17023         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17024         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17025         <bp-sym.h> and <bp-asm.h>.
17026         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17027         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17028         and <bp-asm.h>.
17029         (memcpy): Don't use BP_SYM.
17030         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17031         <bp-asm.h>.
17032         (__mpn_add_n): Don't use BP_SYM.
17033         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17034         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17035         and <bp-asm.h>.
17036         (__mpn_addmul_1): Don't use BP_SYM.
17037         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17038         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17039         <bp-sym.h>.
17040         (_setjmp): Don't use BP_SYM.
17041         (__novmx_setjmp): Likewise.
17042         (__GI__setjmp): Likewise.
17043         (__vmx_setjmp): Likewise.
17044         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17045         <bp-sym.h>.
17046         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17047         (__bzero): Don't use BP_SYM.
17048         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17049         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17050         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17051         <bp-sym.h> and <bp-asm.h>.
17052         (memcpy): Don't use BP_SYM.
17053         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17054         <bp-sym.h> and <bp-asm.h>.
17055         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17056         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17057         <bp-sym.h> and <bp-asm.h>.
17058         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17059         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17060         <bp-asm.h>.
17061         (__mpn_lshift): Don't use BP_SYM.
17062         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17063         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17064         <bp-asm.h>.
17065         (memset): Don't use BP_SYM.
17066         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17067         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17068         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17069         <bp-asm.h>.
17070         (__mpn_mul_1): Don't use BP_SYM.
17071         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17072         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17073         <bp-sym.h> and <bp-asm.h>.
17074         (memcmp): Don't use BP_SYM.
17075         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17076         <bp-sym.h> and <bp-asm.h>.
17077         (memcpy): Don't use BP_SYM.
17078         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17079         <bp-sym.h> and <bp-asm.h>.
17080         (memset): Don't use BP_SYM.
17081         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17082         <bp-sym.h> and <bp-asm.h>.
17083         (strncmp): Don't use BP_SYM.
17084         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17085         <bp-sym.h> and <bp-asm.h>.
17086         (memcpy): Don't use BP_SYM.
17087         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17088         <bp-sym.h> and <bp-asm.h>.
17089         (memset): Don't use BP_SYM.
17090         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17091         <bp-sym.h> and <bp-asm.h>.
17092         (__memchr): Don't use BP_SYM.
17093         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17094         <bp-sym.h> and <bp-asm.h>.
17095         (memcmp): Don't use BP_SYM.
17096         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17097         <bp-sym.h> and <bp-asm.h>.
17098         (memcpy): Don't use BP_SYM.
17099         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17100         <bp-sym.h> and <bp-asm.h>.
17101         (__mempcpy): Don't use BP_SYM.
17102         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17103         <bp-sym.h> and <bp-asm.h>.
17104         (__memrchr): Don't use BP_SYM.
17105         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17106         <bp-sym.h> and <bp-asm.h>.
17107         (memset): Don't use BP_SYM.
17108         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17109         <bp-sym.h> and <bp-asm.h>.
17110         (__rawmemchr): Don't use BP_SYM.
17111         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17112         <bp-sym.h> and <bp-asm.h>.
17113         (__STRCMP): Don't use BP_SYM.
17114         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17115         <bp-sym.h> and <bp-asm.h>.
17116         (strchr): Don't use BP_SYM.
17117         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17118         <bp-sym.h> and <bp-asm.h>.
17119         (__strchrnul): Don't use BP_SYM.
17120         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17121         <bp-sym.h> and <bp-asm.h>.
17122         (strlen): Don't use BP_SYM.
17123         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17124         <bp-sym.h> and <bp-asm.h>.
17125         (strncmp): Don't use BP_SYM.
17126         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17127         <bp-sym.h> and <bp-asm.h>.
17128         (__strnlen): Don't use BP_SYM.
17129         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17130         <bp-asm.h>.
17131         (__mpn_rshift): Don't use BP_SYM.
17132         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17133         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17134         <bp-sym.h> and <bp-asm.h>.
17135         (__sigsetjmp): Don't use BP_SYM.
17136         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17137         (L(start_addresses)): Don't use BP_SYM.
17138         (_start): Likewise.
17139         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17140         <bp-asm.h>.
17141         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17142         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17143         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17144         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17145         <bp-asm.h>.
17146         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17147         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17148         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17149         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17150         <bp-asm.h>.
17151         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17152         comments.
17153         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17154         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17155         <bp-asm.h>.
17156         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
17157         FIXME comments.
17158         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17159         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17160         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17161         <bp-asm.h>.
17162         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17163         comment.
17164         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17165         and <bp-asm.h>.
17166         (strncmp): Don't use BP_SYM,
17167         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17168         <bp-asm.h>.
17169         (__mpn_sub_n): Don't use BP_SYM.
17170         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17171         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17172         and <bp-asm.h>.
17173         (__mpn_submul_1): Don't use BP_SYM.
17174         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17176         <bp-sym.h> and <bp-asm.h>.
17177         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17179         <bp-sym.h> and <bp-asm.h>.
17180         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
17181         comment.
17183 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17186         Use ZK to minimize writes to Z.
17187         (sub_magnitudes): Simplify code a bit.
17188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17189         Use ZK to minimize writes to Z.
17190         (sub_magnitudes): Simplify code a bit.
17192 2013-02-27  Roland McGrath  <roland@hack.frob.com>
17194         * csu/gmon-start.c: Add special exception to license text.
17196 2013-02-27  Richard Henderson  <rth@redhat.com>
17198         * scripts/config.guess: Update from config.git.
17199         * scripts/config.sub: Likewise.
17201 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17203         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17205         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17207         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17209         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17211         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17213 2013-02-26  Roland McGrath  <roland@hack.frob.com>
17215         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17216         [$(build-shared = yes].
17218 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17220         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17221         (__mul): Reduce iterations for calculating mantissa.
17223         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17224         MPTWO.
17225         (__mpranred): Likewise.
17227         [BZ #15160]
17228         * malloc/memusagestat.c (main): Draw graphs for heap and stack
17229         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17231 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
17233         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17234         Define __attribute__.
17236 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17238         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17239         unused.
17240         * posix/regex_internal.h (__attribute): Remove.
17241         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17242         (re_string_context_at): Likewise.
17243         (bitset_not): Use __attribute__ and mark function as possibly
17244         unused.
17245         (bitset_merge): Likewise.
17246         (bitset_mask): Likewise.
17247         (re_string_char_size_at): Likewise.
17248         (re_string_wchar_at): Likewise.
17249         (re_string_elem_size_at): Likewise.
17251 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17253         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17254         code.
17255         (cc32): Likewise.
17257         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17258         (__acr): Likewise.
17259         (__cpy): Likewise.
17260         (norm): Likewise.
17261         (denorm): Likewise.
17262         (__dbl_mp): Likewise.
17263         (add_magnitudes): Likewise.
17264         (sub_magnitudes): Likewise.
17265         (__mul): Likewise.
17266         (__inv): Likewise.
17268         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17269         style.
17271         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17272         style.
17274         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17275         code.
17277         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17278         up changes with default code.
17279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17280         Likewise.
17282 2013-02-24  Allan McRae  <allan@archlinux.org>
17284         * manual/socket.texi (The Internet Namespace): Order menu items
17285         to match that in the file.
17287         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17288         node listing of the info page menu.
17290 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
17292         [BZ #13550]
17293         * sysdeps/i386/bp-asm.h: Remove file.
17294         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17295         (PARMS): Do not use macros from bp-asm.h.
17296         (S1): Likewise.
17297         (S2): Likewise.
17298         (SIZE): Likewise.
17299         (__mpn_add_n): Do not use BP_SYM
17300         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17301         "bp-asm.h".
17302         (PARMS): Do not use macros from bp-asm.h.
17303         (S1): Likewise.
17304         (SIZE): Likewise.
17305         (__mpn_addmul_1): Do not use BP_SYM
17306         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17307         "bp-asm.h".
17308         (PARMS): Do not use macros from bp-asm.h.
17309         (SIGMSK): Likewise.
17310         (_setjmp): Likewise.  Do not use BP_SYM.
17311         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17312         "bp-asm.h".
17313         (PARMS): Do not use macros from bp-asm.h.
17314         (SIGMSK): Likewise.
17315         (setjmp): Likewise.  Do not use BP_SYM.
17316         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17317         "bp-asm.h".
17318         (PARMS): Do not use macros from bp-asm.h.
17319         (__frexp): Do not use BP_SYM.
17320         (frexp): Likewise.
17321         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17322         "bp-asm.h".
17323         (PARMS): Do not use macros from bp-asm.h.
17324         (__frexpf): Do not use BP_SYM.
17325         (frexpf): Likewise.
17326         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17327         "bp-asm.h".
17328         (PARMS): Do not use macros from bp-asm.h.
17329         (__frexpl): Do not use BP_SYM.
17330         (frexpl): Likewise.
17331         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17332         "bp-asm.h".
17333         (PARMS): Do not use macros from bp-asm.h.
17334         (__remquo): Do not use BP_SYM.
17335         (remquo): Likewise.
17336         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17337         "bp-asm.h".
17338         (PARMS): Do not use macros from bp-asm.h.
17339         (__remquof): Do not use BP_SYM.
17340         (remquof): Likewise.
17341         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17342         "bp-asm.h".
17343         (PARMS): Do not use macros from bp-asm.h.
17344         (__remquol): Do not use BP_SYM.
17345         (remquol): Likewise.
17346         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17347         "bp-asm.h".
17348         (PARMS): Do not use macros from bp-asm.h.
17349         (DEST): Likewise.
17350         (SRC): Likewise.
17351         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
17352         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17353         "bp-asm.h".
17354         (PARMS): Do not use macros from bp-asm.h.
17355         (strlen): Do not use BP_SYM.
17356         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17357         "bp-asm.h".
17358         (PARMS): Do not use macros from bp-asm.h.
17359         (S1): Likewise.
17360         (S2): Likewise.
17361         (SIZE): Likewise.
17362         (__mpn_add_n): Do not use BP_SYM.
17363         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17364         "bp-asm.h".
17365         (PARMS): Do not use macros from bp-asm.h.
17366         (S1): Likewise.
17367         (SIZE): Likewise.
17368         (__mpn_addmul_1): Do not use BP_SYM.
17369         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17370         weak_alias.
17371         (bzero): Likewise.
17372         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17373         "bp-asm.h".
17374         (PARMS): Do not use macros from bp-asm.h.
17375         (S): Likewise.
17376         (SIZE): Likewise.
17377         (__mpn_lshift): Do not use BP_SYM.
17378         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17379         "bp-asm.h".
17380         (PARMS): Do not use macros from bp-asm.h.
17381         (DEST): Likewise.
17382         (SRC): Likewise.
17383         (LEN): Likewise.
17384         (memcpy): Likewise.  Do not use BP_SYM.
17385         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17386         libc_hidden_def and weak_alias.
17387         (mempcpy): Do not use BP_SYM in weak_alias.
17388         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17389         "bp-asm.h".
17390         (PARMS): Do not use macros from bp-asm.h.
17391         (DEST): Likewise.
17392         (LEN): Likewise.
17393         [!BZERO_P] (CHR): Likewise.
17394         (memset): Likewise.  Do not use BP_SYM.
17395         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17396         "bp-asm.h".
17397         (PARMS): Do not use macros from bp-asm.h.
17398         (S1): Likewise.
17399         (SIZE): Likewise.
17400         (__mpn_mul_1): Do not use BP_SYM.
17401         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17402         "bp-asm.h".
17403         (PARMS): Do not use macros from bp-asm.h.
17404         (S): Likewise.
17405         (SIZE): Likewise.
17406         (__mpn_rshift): Do not use BP_SYM.
17407         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17408         "bp-asm.h".
17409         (PARMS): Do not use macros from bp-asm.h.
17410         (STR): Likewise.
17411         (CHR): Likewise.
17412         (strchr): Likewise.  Do not use BP_SYM.
17413         (index): Do not use BP_SYM in weak_alias.
17414         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17415         "bp-asm.h".
17416         (PARMS): Do not use macros from bp-asm.h.
17417         (DEST): Likewise.
17418         (SRC): Likewise.
17419         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
17420         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17421         "bp-asm.h".
17422         (PARMS): Do not use macros from bp-asm.h.
17423         (strlen): Do not use BP_SYM.
17424         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17425         "bp-asm.h".
17426         (PARMS): Do not use macros from bp-asm.h.
17427         (S1): Likewise.
17428         (S2): Likewise.
17429         (SIZE): Likewise.
17430         (__mpn_sub_n): Do not use BP_SYM.
17431         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17432         "bp-asm.h".
17433         (PARMS): Do not use macros from bp-asm.h.
17434         (S1): Likewise.
17435         (SIZE): Likewise.
17436         (__mpn_submul_1): Do not use BP_SYM.
17437         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17438         "bp-asm.h".
17439         (PARMS): Do not use macros from bp-asm.h.
17440         (S1): Likewise.
17441         (S2): Likewise.
17442         (SIZE): Likewise.
17443         (__mpn_add_n): Do not use BP_SYM.
17444         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17445         weak_alias.
17446         (bzero): Likewise.
17447         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17448         "bp-asm.h".
17449         (PARMS): Do not use macros from bp-asm.h.
17450         (BLK2): Likewise.
17451         (LEN): Likewise.
17452         (memcmp): Do not use BP_SYM.
17453         (bcmp): Do not use BP_SYM in weak_alias.
17454         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17455         "bp-asm.h".
17456         (PARMS): Do not use macros from bp-asm.h.
17457         (DEST): Likewise.
17458         (SRC): Likewise.
17459         (LEN): Likewise.
17460         (memcpy): Likewise.  Do not use BP_SYM.
17461         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17462         "bp-asm.h".
17463         (PARMS): Do not use macros from bp-asm.h.
17464         (DEST): Likewise.
17465         (SRC): Likewise.
17466         (LEN): Likewise.
17467         (memmove): Likewise.  Do not use BP_SYM.
17468         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17469         "bp-asm.h".
17470         (PARMS): Do not use macros from bp-asm.h.
17471         (DEST): Likewise.
17472         (SRC): Likewise.
17473         (LEN): Likewise.
17474         (__mempcpy): Likewise.  Do not use BP_SYM.
17475         (mempcpy): Do not use BP_SYM in weak_alias.
17476         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17477         "bp-asm.h".
17478         (PARMS): Do not use macros from bp-asm.h.
17479         (DEST): Likewise.
17480         (LEN): Likewise.
17481         [!BZERO_P] (CHR): Likewise.
17482         (memset): Likewise.  Do not use BP_SYM.
17483         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17484         "bp-asm.h".
17485         (PARMS): Do not use macros from bp-asm.h.
17486         (STR2): Likewise.
17487         (strcmp): Do not use BP_SYM.
17488         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17489         "bp-asm.h".
17490         (PARMS): Do not use macros from bp-asm.h.
17491         (STR): Likewise.
17492         (DELIM): Likewise.
17493         [USE_AS_STRTOK_R] (SAVE): Likewise.
17494         (FUNCTION): Likewise.  Do not use BP_SYM.
17495         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17496         aliases.
17497         (strtok_r): Likewise.
17498         (__GI___strtok_r): Likewise.
17499         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17500         (PARMS): Do not use macros from bp-asm.h.
17501         (S): Likewise.
17502         (SIZE): Likewise.
17503         (__mpn_lshift): Do not use BP_SYM.
17504         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17505         (PARMS): Do not use macros from bp-asm.h.
17506         (STR): Likewise.
17507         (CHR): Likewise.
17508         (__memchr): Do not use BP_SYM.
17509         (memchr): Do not use BP_SYM in weak_alias.
17510         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17511         (PARMS): Do not use macros from bp-asm.h.
17512         (BLK2): Likewise.
17513         (LEN): Likewise.
17514         (memcmp): Do not use BP_SYM.
17515         (bcmp): Do not use BP_SYM in weak_alias.
17516         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17517         (PARMS): Do not use macros from bp-asm.h.
17518         (S1): Likewise.
17519         (SIZE): Likewise.
17520         (__mpn_mul_1): Do not use BP_SYM.
17521         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17522         "bp-asm.h".
17523         (PARMS): Do not use macros from bp-asm.h.
17524         (STR): Likewise.
17525         (CHR): Likewise.
17526         (__rawmemchr): Do not use BP_SYM.
17527         (rawmemchr): Do not use BP_SYM in weak_alias.
17528         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17529         (PARMS): Do not use macros from bp-asm.h.
17530         (S): Likewise.
17531         (SIZE): Likewise.
17532         (__mpn_rshift): Do not use BP_SYM.
17533         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17534         (PARMS): Do not use macros from bp-asm.h.
17535         (SIGMSK): Likewise.
17536         (__sigsetjmp): Likewise.  Do not use BP_SYM.
17537         * sysdeps/i386/start.S: Do not include "bp-sym.h".
17538         (_start): Do not use BP_SYM.
17539         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17540         (PARMS): Do not use macros from bp-asm.h.
17541         (DEST): Likewise.
17542         (SRC): Likewise.
17543         (__stpcpy): Likewise.  Do not use BP_SYM.
17544         (stpcpy): Do not use BP_SYM in weak_alias.
17545         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17546         "bp-asm.h".
17547         (PARMS): Do not use macros from bp-asm.h.
17548         (DEST): Likewise.
17549         (SRC): Likewise.
17550         (LEN): Likewise.
17551         (__stpncpy): Likewise.  Do not use BP_SYM.
17552         (stpncpy): Do not use BP_SYM in weak_alias.
17553         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17554         (PARMS): Do not use macros from bp-asm.h.
17555         (STR): Likewise.
17556         (CHR): Likewise.
17557         (strchr): Likewise.  Do not use BP_SYM.
17558         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17559         "bp-asm.h".
17560         (PARMS): Do not use macros from bp-asm.h.
17561         (STR): Likewise.
17562         (CHR): Likewise.
17563         (__strchrnul): Likewise.  Do not use BP_SYM.
17564         (strchrnul): Do not use BP_SYM in weak_alias.
17565         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17566         "bp-asm.h".
17567         (PARMS): Do not use macros from bp-asm.h.
17568         (STOP): Likewise.
17569         (strcspn): Do not use BP_SYM.
17570         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17571         "bp-asm.h".
17572         (PARMS): Do not use macros from bp-asm.h.
17573         (STR): Likewise.
17574         (STOP): Likewise.
17575         (strpbrk): Likewise.  Do not use BP_SYM.
17576         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17577         "bp-asm.h".
17578         (PARMS): Do not use macros from bp-asm.h.
17579         (STR): Likewise.
17580         (CHR): Likewise.
17581         (strrchr): Likewise.  Do not use BP_SYM.
17582         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17583         (PARMS): Do not use macros from bp-asm.h.
17584         (SKIP): Likewise.
17585         (strspn): Do not use BP_SYM.
17586         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17587         (PARMS): Do not use macros from bp-asm.h.
17588         (STR): Likewise.
17589         (DELIM): Likewise.
17590         (SAVE): Likewise.
17591         (FUNCTION): Likewise.  Do not use BP_SYM.
17592         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17593         aliases.
17594         (strtok_r): Likewise.
17595         (__GI___strtok_r): Likewise.
17596         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17597         (PARMS): Do not use macros from bp-asm.h.
17598         (S1): Likewise.
17599         (S2): Likewise.
17600         (SIZE): Likewise.
17601         (__mpn_sub_n): Do not use BP_SYM.
17602         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17603         "bp-asm.h".
17604         (PARMS): Do not use macros from bp-asm.h.
17605         (S1): Likewise.
17606         (SIZE): Likewise.
17607         (__mpn_submul_1): Do not use BP_SYM.
17608         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17609         <bp-sym.h>.
17610         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17611         and <bp-asm.h>.
17612         (PARMS): Do not use macros from bp-asm.h.
17613         (FLAGS): Likewise.
17614         (PTID): Likewise.
17615         (TLS): Likewise.
17616         (CTID): Likewise.
17617         (__clone): Do not use BP_SYM.
17618         (clone): Do not use BP_SYM in weak_alias.
17619         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17620         and <bp-asm.h>.
17621         (PARMS): Do not use macros from bp-asm.h.
17622         (LEN): Likewise.
17623         (__mmap64): Do not use BP_SYM.
17624         (mmap64): Do not use BP_SYM in weak_alias.
17625         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17626         <bp-sym.h> and <bp-asm.h>.
17627         (PARMS): Do not use macros from bp-asm.h.
17628         (__posix_fadvise64_l64): Do not use BP_SYM.
17629         * sysdeps/unix/sysv/linux/i386/semtimedop.S
17630         (PARMS): Do not use macros from bp-asm.h.
17631         (NSOPS): Likewise.
17632         (semtimedop): Do not use BP_SYM.
17633         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17634         and <bp-asm.h>.
17636 2013-02-21  Allan McRae  <allan@archlinux.org>
17638         * manual/message.texi (Charset conversion in gettext):
17639         Move @end statement to beginning of line.
17641 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17644         static.
17645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17646         Likewise.
17648         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17649         (denorm): Likewise.
17650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17653 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17655         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17656         tail-call to the resolved function if pltexit isn't needed.
17658 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17661         or Y being zero as being unlikely.
17662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17663         Likewise.
17665 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
17667         * manual/nss.texi (System Databases and Name Service Switch):
17668         Remove frobnicate @pxref.
17670 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17672         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17673         __attribute__ ((unused)) to __attribute__ ((__unused__)).
17675 2013-02-20  Petr Machata  <pmachata@redhat.com>
17677         * elf/elf.h (R_ARM_TARGET1): New macro.
17678         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17679         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17680         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17681         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17682         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17683         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17684         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17685         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17686         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17687         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17688         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17689         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17690         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17691         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17692         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17693         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17694         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17695         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17696         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17697         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17698         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17699         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17700         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17701         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17702         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17703         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17704         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17705         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17706         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17707         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17708         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17709         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17710         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17711         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17712         (R_ARM_THM_GOT_BREL12): Likewise.
17713         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17714         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17715         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17716         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17717         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17718         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17719         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17720         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17721         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17723 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17725         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17726         __attribute_used__ to __attribute__ ((unused)).
17728 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17730         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17731         powerpc mpa.c.
17732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17733         comment formatting.
17734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17736 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
17738         [BZ #13550]
17739         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17740         Remove macro.
17741         (ENTER): Remove both macro definitions.
17742         (LEAVE): Likewise.
17743         (CHECK_BOUNDS_LOW): Likewise.
17744         (CHECK_BOUNDS_HIGH): Likewise.
17745         (CHECK_BOUNDS_BOTH): Likewise.
17746         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17747         (RETURN_BOUNDED_POINTER): Likewise.
17748         (RETURN_NULL_BOUNDED_POINTER): Likewise.
17749         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17750         (POP_ERRNO_LOCATION_RETURN): Likewise.
17751         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17752         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17753         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17754         macros.
17755         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17756         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17757         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17758         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17759         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17760         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17761         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17762         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17763         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17764         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17765         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17766         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17767         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17768         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17769         removed macros.
17770         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17771         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17772         macros.
17773         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17774         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17775         * sysdeps/i386/i586/memset.S (memset): Likewise.
17776         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17777         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17778         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17779         macros.
17780         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17781         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17782         Change uses of L(2) to L(out).
17783         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17784         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17785         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17786         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17787         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17788         removed macros.
17789         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17790         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17791         macros.
17792         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17793         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17794         (RETURN): Do not use macro LEAVE.
17795         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17796         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17797         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17798         * sysdeps/i386/i686/memset.S (memset): Likewise.
17799         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17800         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17801         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17802         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17803         Likewise.
17804         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17805         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
17806         L(1_2) and L(1_3) into L(1).
17807         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17808         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17809         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17810         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17811         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17812         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17813         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17814         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17815         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17816         macros.
17817         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17818         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17819         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17820         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17821         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17822         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17823         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17824         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17825         * sysdeps/i386/strcspn.S (strcspn): Likewise.
17826         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17827         * sysdeps/i386/strrchr.S (strrchr): Likewise.
17828         * sysdeps/i386/strspn.S (strspn): Likewise.
17829         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17830         conditional code.
17831         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17832         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17833         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17834         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
17835         L(1_3) into L(1_1).
17836         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17837         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17838         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17839         macros.
17840         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17842 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
17844         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17845         macro.
17847 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17849         * math/atest-exp.c (exp_mpn): Remove ROUND.
17850         * math/atest-exp2.c (exp_mpn): Likewise.
17851         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17853         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17854         * stdlib/tst-tls-atexit-lib.c: Likewise.
17855         * stdlib/tst-tls-atexit.c: Likewise.
17857 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17859         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17860         and __attribute_alloc_size__.
17862 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17864         * include/programs/xmalloc.h: Change __attribute_alloc_size to
17865         __attribute_alloc_size__.
17866         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17867         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17869 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17871         * include/programs/xmalloc.h: New file.
17872         * catgets/gencat.c: Include it.
17873         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17874         * elf/pldd.c: Likewise.
17875         * iconv/iconv_charmap.c: Likewise.
17876         * iconv/iconvconfig.c: Likewise.
17877         * iconv/strtab.c: Likewise.
17878         * locale/programs/locale.c: Likewise.
17879         * locale/programs/localedef.h: Likewise.
17880         * locale/programs/simple-hash.c: Likewise.
17881         * nscd/nscd.h: Likewise.
17882         * nss/makedb.c: Likewise.
17883         * sysdeps/generic/ldconfig.h: Likewise.
17885 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17887         * Versions.def: Add GLIBC_2.18.
17888         * include/link.h (struct link_map): New member l_tls_dtor_count.
17889         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17890         (__call_tls_dtors): Likewise.
17891         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17892         __cxa_thread_atexit_impl.
17893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17894         Likewise.
17895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17896         Likewise.
17897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17898         Likewise.
17899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17900         Likewise.
17901         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17903         Likewise.
17904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17905         Likewise.
17906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17908         Likewise.
17909         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17910         (tests): Add test case tst-tls-atexit.
17911         (modules-names): Add shared library for tst-tls-atexit.
17912         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17913         (GLIBC_PRIVATE): Add __call_tls_dtors.
17914         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17915         for libstdc++.
17916         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17917         * stdlib/tst-tls-atexit.c: New test case.
17918         * stdlib/tst-tls-atexit-lib.c: New test case.
17920         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17922         * elf/Versions (ld): Add _dl_find_dso_for_object.
17923         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17924         * elf/dl-open.c (_dl_find_dso_for_object): New function.
17925         (dl_open_worker): Use _dl_find_dso_for_object.
17926         * elf/dl-sym.c (do_sym): Likewise.
17927         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17929 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17931         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17932         Syntactic changes only.
17933         (_dl_runtime_profile): Do a tail-call to the resolved function.
17935 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
17937         [BZ #13550]
17938         * sysdeps/x86_64/bp-asm.h: Remove file.
17939         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17940         <bp-sym.h> and <bp-asm.h>.
17941         (__clone): Do not use BP_SYM.
17942         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17943         <bp-sym.h> and <bp-asm.h>.
17944         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17945         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17946         "bp-asm.h".
17947         (_setjmp): Do not use BP_SYM.
17948         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17949         "bp-asm.h".
17950         (setjmp): Do not use BP_SYM.
17951         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17952         libc_hidden_def.
17953         (mempcpy): Do not use BP_SYM in weak_alias.
17954         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17955         "bp-asm.h".
17956         (strchr): Do not use BP_SYM.
17957         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17958         "bp-asm.h".
17959         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17960         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17961         (_start): Do not use BP_SYM.
17962         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17963         "bp-asm.h".
17964         (strcat): Do not use BP_SYM.
17965         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17966         "bp-asm.h".
17967         (STRCMP): Do not use BP_SYM.
17968         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17969         "bp-asm.h".
17970         (STRCPY): Do not use BP_SYM.
17971         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17972         "bp-asm.h".
17973         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17974         "bp-asm.h".
17975         (FUNCTION): Do not use BP_SYM.
17976         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17977         weak_alias.
17978         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17980 2013-02-17  Andreas Jaeger  <aj@suse.de>
17982         * time/Versions: Sort entries.
17983         * string/Versions: Likewise.
17984         * resolv/Versions: Likewise.
17985         * posix/Versions: Likewise.
17986         * iconv/Versions: Likewise.
17987         * elf/Versions: Likewise.
17988         * wcsmbs/Versions: Likewise.
17990 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17992         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17993         loop termination condition.
17995         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17996         variable to calculate EZ.
17997         (__sqr): Likewise.
17999         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18000         the lower precision input.
18002 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
18004         [BZ #13550]
18005         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18006         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18007         (run-via-rtld-prefix): Do not handle %-bp tests.
18008         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18009         (all-object-suffixes): Remove .ob.
18010         (bppfx): Remove variable.
18011         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18012         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18013         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18014         [$(build-bounded) = yes] (libtype.ob): Likewise.
18015         * Makerules (elide-routines.ob): Remove variable.
18016         (do-tests-clean): Do not handle *-bp.out.
18017         (common-mostlyclean): Do not handle *-bp and *-bp.out.
18018         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18019         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18020         (tests): Do not include $(tests-bp.out).
18021         (xtests): Do not include $(xtests-bp.out).
18022         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18023         [$(build-bounded) = yes] ($(addprefix
18024         $(objpfx),$(binaries-bounded))): Remove rule.
18025         ($(objpfx)%-bp.out): Remove rule.
18026         * config.make.in (build-bounded): Remove variable.
18027         * crypt/Makefile [$(build-bounded) = yes]
18028         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18029         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18030         append to variable.
18031         [$(build-bounded) = yes] (install-lib): Likewise.
18032         [$(build-bounded) = yes] (generated): Likewise.
18033         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18034         Remove rule.
18035         * intl/Makefile [$(build-bounded) = yes]
18036         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18037         * math/Makefile [$(build-bounded) = yes]
18038         ($(tests:%=$(objpfx)%-bp): Likewise.
18039         * misc/Makefile [$(build-bounded) = yes]
18040         ($(objpfx)tst-tsearch-bp): Likewise.
18041         * nptl/Makeconfig (bounded-thread-library): Remove variable.
18042         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18043         Remove dependency.
18044         * string/Makefile (o-objects.ob): Remove variable.
18045         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18046         (CFLAGS-.ob): Remove variable.
18047         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18048         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18049         both definitions of variable.
18050         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18051         (ASFLAGS-.ob): Remove variable.
18053 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
18055         [BZ #13550]
18056         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18057         Remove __BOUNDED_POINTERS__ from condition.
18058         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18059         * string/bits/string2.h [!__NO_STRING_INLINES &&
18060         !__BOUNDED_POINTERS__]: Likewise.
18061         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18062         Likewise.
18063         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18064         Remove conditional code.
18065         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18066         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18067         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18068         condition.
18070         [BZ #13550]
18071         * csu/libc-start.c: Do not include <bp-sym.h>.
18072         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18073         * elf/dl-open.c: Do not include <bp-sym.h>.
18074         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18075         * math/fegetenv.c: Do not include <bp-sym.h>.
18076         (fegetenv): Do not use BP_SYM in versioned symbols.
18077         * nptl/sysdeps/pthread/bits/libc-lockP.h
18078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18079         <bp-sym.h>.
18080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18081         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18083         (__pthread_mutex_destroy): Likewise.
18084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18085         (__pthread_mutex_lock): Likewise.
18086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18087         (__pthread_mutex_trylock): Likewise.
18088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18089         (__pthread_mutex_unlock): Likewise.
18090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18091         (__pthread_mutexattr_init): Likewise.
18092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18093         (__pthread_mutexattr_destroy): Likewise.
18094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18095         (__pthread_mutexattr_settype): Likewise.
18096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18097         (__pthread_rwlock_init): Likewise.
18098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18099         (__pthread_rwlock_destroy): Likewise.
18100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18101         (__pthread_rwlock_rdlock): Likewise.
18102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18103         (__pthread_rwlock_tryrdlock): Likewise.
18104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18105         (__pthread_rwlock_wrlock): Likewise.
18106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18107         (__pthread_rwlock_trywrlock): Likewise.
18108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18109         (__pthread_rwlock_unlock): Likewise.
18110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18111         (__pthread_key_create): Likewise.
18112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18113         (__pthread_setspecific): Likewise.
18114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18115         (__pthread_getspecific): Likewise.
18116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18117         Likewise.
18118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18119         (_pthread_cleanup_push_defer): Likewise.
18120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18121         (_pthread_cleanup_pop_restore): Likewise.
18122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18123         (pthread_setcancelstate): Likewise.
18124         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18125         <bp-sym.h>.
18126         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18127         (memchr): Do not use BP_SYM in weak_alias.
18128         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18129         (fegetenv): Do not use BP_SYM in versioned symbols.
18130         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18131         (fesetenv): Do not use BP_SYM in versioned symbols.
18132         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18133         (feupdateenv): Do not use BP_SYM in versioned symbols.
18134         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18135         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18136         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18137         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18138         (open64): Do not use BP_SYM in weak_alias.
18139         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18140         (fegetenv): Do not use BP_SYM in versioned symbols.
18141         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18142         (fesetenv): Do not use BP_SYM in versioned symbols.
18143         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18144         (feupdateenv): Do not use BP_SYM in versioned symbols.
18145         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18146         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18147         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18148         (feraiseexcept): Do not use BP_SYM in versioned symbols.
18149         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18150         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18151         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18152         <bp-sym.h>.
18153         (__libc_start_main): Do not use BP_SYM.
18155 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18157         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18158         redundant return line.
18159         (norm): Likewise.
18160         (denorm): Likewise.
18161         (dbl_mp): Likewise.
18162         (sub_magnitudes): Likewise.
18163         (__add): Likewise.
18164         (__sub): Likewise.
18165         (__mul): Likewise.
18166         (__inv): Likewise.
18167         (__dvd): Likewise.
18168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18169         (norm): Likewise.
18170         (denorm): Likewise.
18171         (dbl_mp): Likewise.
18172         (sub_magnitudes): Likewise.
18173         (__add): Likewise.
18174         (__sub): Likewise.
18175         (__mul): Likewise.
18176         (__inv): Likewise.
18177         (__dvd): Likewise.
18179         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18180         instead of __mul.
18181         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18182         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18183         (cc32): Likewise.
18185         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18186         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18188         of __mul for squares.
18189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18190         function
18191         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18192         Likewise.
18193         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18194         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18196 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
18198         [BZ #13550]
18199         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18200         code.
18201         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18202         prototype or function definition.  Rename ubp_* variables and
18203         parameters.  Remove argv definitions conditional on
18204         [__BOUNDED_POINTERS__].
18205         * debug/backtrace.c (__backtrace): Do not use __unbounded.
18206         * elf/dl-runtime.c (_dl_fixup): Likewise.
18207         * include/set-hooks.h (RUN_HOOK): Likewise.
18208         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18209         definition.
18210         * string/strcpy.c (strcpy): Do not use __unbounded.
18211         * sysdeps/generic/frame.h (struct layout): Likewise.
18212         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18213         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18214         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18215         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18216         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18217         (__backtrace): Likewise.
18218         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18219         use __ptrvalue.
18220         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18221         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18222         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18223         Likewise.
18224         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18225         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18226         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18227         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18228         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18229         Do not use __unbounded.
18230         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18231         Rename __unboundedrlimits parameter to rlimits in prototype.
18232         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18233         Do not use __unbounded.
18234         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18235         not use __ptrvalue.
18236         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18237         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18238         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18239         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18240         __ptrvalue or __unbounded.
18241         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18242         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18243         use __unbounded.
18244         (__new_msgctl): Do not use __ptrvalue.
18245         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18246         __unbounded.
18247         (__libc_msgrcv): Do not use __ptrvalue.
18248         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18249         startup_info): Do not use __unbounded.
18250         (__libc_start_main): Likewise.  Rename ubp_* variables and
18251         parameters.  Remove argv definitions conditional on
18252         [__BOUNDED_POINTERS__].
18253         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18254         __ptrvalue.
18255         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18256         use __unbounded.
18257         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18258         or __ptrvalue.
18259         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18260         use __unbounded.
18261         (__new_shmctl): Do not use __ptrvalue.
18262         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18263         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18264         Likewise.
18265         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18266         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18267         (__libc_sigaction): Likewise.
18268         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18269         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18270         Likewise.
18271         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18273 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
18275         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18277         * string/mempcpy.c: Implement by calling memcpy.
18279 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18284         evaluation.
18286         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18287         values in the mantissa.
18289         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18290         minimize writes to Z.
18291         (sub_magnitudes): Simplify code a bit.
18293 2013-02-12  Roland McGrath  <roland@hack.frob.com>
18295         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18296         from the message.  The linker prefixes all warnings with that already.
18298 2013-02-12  Andreas Schwab  <schwab@suse.de>
18300         [BZ #15078]
18301         * posix/regexec.c (extend_buffers): Add parameter min_len.
18302         (check_matching): Pass minimum needed length.
18303         (clean_state_log_if_needed): Likewise.
18304         (get_subexp): Likewise.
18305         * posix/Makefile (tests): Add bug-regex34.
18306         (bug-regex34-ENV): Define.
18307         * posix/bug-regex34.c: New file.
18309         [BZ #11561]
18310         * posix/regcomp.c (parse_bracket_exp): When looking up collating
18311         elements compare against the byte sequence of it, not its name.
18312         * posix/Makefile (tests): Add bug-regex35.
18313         (bug-regex35-ENV): Define.
18314         * posix/bug-regex35.c: New file.
18316 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18318         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
18319         comment.
18320         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18321         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18322         (CHECK_EOL): Add undef.
18324 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
18326         * bits/stdlib-bsearch.h: New file.
18327         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18328         * stdlib/stdlib.h: Likewise.
18330 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18332         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18333         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18334         declaration.
18335         * manual/search.texi (Array Search Function): Add missing const in
18336         lfind prototype.
18337         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18338         declaration to use rlim_t.
18339         (Basic Scheduling Functions): Remove erroneous const from
18340         sched_getparam prototype.  Remove erroneous * from
18341         sched_get_priority_max and sched_get_priority_min prototypes.
18342         (Resource Usage): Fix summary @comment on vtimes to refer to
18343         sys/vtimes.h rather than vtimes.h.
18344         Add missing *s in vtimes prototype.
18345         (Limits on Resources): Fix ulimit prototype to return long int.
18346         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18347         prototypes to use long int rather than double.
18348         (BSD Random): Fix initstate and setstate to use char *, not void *.
18349         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18350         prototype to make second argument 'struct aiocb64 *const[]'.
18351         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18352         (Status of AIO Operations): Remove erroneous const in aio_return and
18353         aio_return64 prototypes.
18354         (Synchronizing I/O): Fix sync prototype to return void.
18355         * manual/startup.texi (Suboptions): Remove an erroneous const in
18356         getsubopt prototype.
18357         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18358         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18359         use size_t rather than int.
18360         (Scanning All Users): Likewise for getpwent_r.
18361         (Setting Groups): Add missing const to setgroups prototype.
18362         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18363         * manual/socket.texi (Host Names): Fix gethostbyaddr and
18364         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18365         'const void *' rather than 'const char *'.
18366         (Host Address Functions): Likewise for inet_ntop.
18367         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18368         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18369         ssize_t for return value.
18370         (Sending Data): Likewise for send, sendto, sendmsg.
18371         (Socket Option Functions): Add a missing const in setsockopt prototype.
18372         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18373         use wchar_t for the argument.
18374         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18375         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18376         take no arguments.
18377         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18378         double/float/long double for second argument.
18379         Fix return types of significand, significandf, significandl.
18380         * manual/filesys.texi (Setting Permissions): Use mode_t for second
18381         argument in fchmod prototype.
18382         (File Owner): Use uid_t and gid_t in fchown prototype.
18383         (File Times): Add const to utimes, futimes, and lutimes prototypes.
18384         (Making Special Files): Use mode_t and dev_t in mknod prototype.
18385         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18386         use 'const struct dirent **' as argument types to CMP function pointer
18387         argument.
18388         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18389         (File Times): Fix summary magic @comment for struct utimbuf and utime
18390         to refer to utime.h, not time.h.
18391         * manual/string.texi (Argz Functions): Add missing const in
18392         argz_extract and argz_next prototypes.
18393         (Finding Tokens in a String): Likewise for basename.
18394         (String/Array Comparison): Fix typo in wcscasecmp prototype.
18395         (Copying and Concatenation): Fix typo in wmemmove prototype.
18396         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18397         (Signal Stack): Remove erroneous const in sigstack prototype.
18398         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18399         prototype.
18400         (Simple Calendar Time): Likewise for stime.
18401         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18402         prototype.
18403         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18404         say sys/sysctl.h instead.
18405         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18406         and vsyslog prototypes.
18408 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18410         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18411         Remove.
18413 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18415         * misc/sys/mman.h: Fix typo in mremap comment.
18417 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18419         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18420         the '\0' terminator.
18422 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18424         [BZ #13550]
18425         * debug/segfault.c: Don't include <bp-checks.h>.
18426         * sysdeps/generic/bp-checks.h: Remove file.
18427         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18428         (__GETDENTS): Don't use CHECK_N.
18429         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18430         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18431         (__getgroups): Don't use CHECK_N.
18432         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18433         (setgroups): Don't use CHECK_N.
18434         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18435         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18436         (__libc_msgrcv): Don't use CHECK_N.
18437         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18438         (__libc_msgsnd): Don't use CHECK_N.
18439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18440         <bp-checks.h>.
18441         (__libc_pread): Don't use CHECK_N.
18442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18443         include <bp-checks.h>.
18444         (__libc_pread64): Don't use CHECK_N.
18445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18446         include <bp-checks.h>.
18447         (__libc_pwrite): Don't use CHECK_N.
18448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18449         include <bp-checks.h>.
18450         (__libc_pwrite64): Don't use CHECK_N.
18451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18452         <bp-checks.h>.
18453         (__libc_pread): Don't use CHECK_N.
18454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18455         include <bp-checks.h>.
18456         (__libc_pread64): Don't use CHECK_N.
18457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18458         include <bp-checks.h>.
18459         (__libc_pwrite): Don't use CHECK_N.
18460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18461         include <bp-checks.h>.
18462         (__libc_pwrite64): Don't use CHECK_N.
18463         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18464         (do_pread): Don't use CHECK_N.
18465         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18466         (do_pread64): Don't use CHECK_N.
18467         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18468         (do_pwrite): Don't use CHECK_N.
18469         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18470         (do_pwrite64): Don't use CHECK_N.
18471         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18472         (__libc_readv): Don't use CHECK_N.
18473         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18474         (semop): Don't use CHECK_N.
18475         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18476         <bp-checks.h>.
18477         (semtimedop): Don't use CHECK_N.
18478         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18479         (__libc_pread): Don't use CHECK_N.
18480         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18481         <bp-checks.h>.
18482         (__libc_pread64): Don't use CHECK_N.
18483         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18484         <bp-checks.h>.
18485         (__libc_pwrite): Don't use CHECK_N.
18486         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18487         <bp-checks.h>.
18488         (__libc_pwrite64): Don't use CHECK_N.
18489         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18490         <bp-checks.h>.
18491         (__libc_msgrcv): Don't use CHECK_N.
18492         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18493         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
18494         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18495         (__libc_writev): Don't use CHECK_N.
18497 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18499         * string/strcpy.c: Removed unused variable.
18501         * Makeconfig (+sysdep-includes): Define with := rather than =.
18502         Use an existing include/ subdir of each sysdeps dir before it.
18504 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18506         * nscd/connection.c (register_traced_file): Comment function.
18507         [HAVE_INOTIFY] (union __inev): Define.
18508         [HAVE_INOTIFY] (inotify_check_files): New function.
18509         [HAVE_INOTIFY] (clear_db_cache): Likewise.
18510         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18511         clear_db_cache.
18512         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18514 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18516         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18517         loaded if not already and that a failure is permanent.
18519 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18521         [BZ #15006]
18522         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18523         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18525 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18527         [BZ #13550]
18528         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18529         (CHECK_1_NULL_OK): Likewise.
18530         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18531         (__fxstat): Do not use CHECK_1.
18532         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18533         <bp-checks.h>.
18534         (___fxstat64): Do not use CHECK_1.
18535         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18536         <bp-checks.h>.
18537         (__fxstatat): Do not use CHECK_1.
18538         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18539         <bp-checks.h>.
18540         (__fxstatat64): Do not use CHECK_1.
18541         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18542         <bp-checks.h>.
18543         (__fxstat): Do not use CHECK_1.
18544         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18545         <bp-checks.h>.
18546         (__fxstatat): Do not use CHECK_1.
18547         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18548         <bp-checks.h>.
18549         (__getresgid): Do not use CHECK_1.
18550         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18551         <bp-checks.h>.
18552         (__getresuid): Do not use CHECK_1.
18553         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18554         <bp-checks.h>.
18555         (__lxstat): Do not use CHECK_1.
18556         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18557         <bp-checks.h>.
18558         (__old_msgctl): Do not use CHECK_1.
18559         (__new_msgctl): Likewise.
18560         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18561         <bp-checks.h>.
18562         (__new_setrlimit): Do not use CHECK_1.
18563         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18564         <bp-checks.h>.
18565         (__old_shmctl): Do not use CHECK_1.
18566         (__new_shmctl): Likewise.
18567         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18568         <bp-checks.h>.
18569         (__xstat): Do not use CHECK_1.
18570         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18571         (__lxstat): Do not use CHECK_1.
18572         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18573         <bp-checks.h>.
18574         (___lxstat64): Do not use CHECK_1.
18575         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18576         (__old_msgctl): Do not use CHECK_1.
18577         (__new_msgctl): Likewise.
18578         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18579         <bp-checks.h>.
18580         (__gettimeofday): Do not use CHECK_1.
18581         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18582         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18583         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18584         <bp-checks.h>.
18585         (__gettimeofday): Do not use CHECK_1.
18586         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18587         (__old_shmctl): Do not use CHECK_1_NULL_OK.
18588         (__new_shmctl): Do not use CHECK_1.
18589         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18590         <bp-checks.h>.
18591         (do_sigtimedwait): Do not use CHECK_1.
18592         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18593         <bp-checks.h>.
18594         (do_sigwaitinfo): Do not use CHECK_1.
18595         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18596         <bp-checks.h>.
18597         (msgctl): Do not use CHECK_1.
18598         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18599         <bp-checks.h>.
18600         (shmctl): Do not use CHECK_1.
18601         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18602         (ustat): Do not use CHECK_1.
18603         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18604         <bp-checks.h>.
18605         (__fxstat): Do not use CHECK_1.
18606         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18607         <bp-checks.h>.
18608         (__fxstatat): Do not use CHECK_1.
18609         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18610         <bp-checks.h>.
18611         (__lxstat): Do not use CHECK_1.
18612         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18613         <bp-checks.h>.
18614         (__xstat): Do not use CHECK_1.
18615         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18616         (__xstat): Do not use CHECK_1.
18617         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18618         (___xstat64): Do not use CHECK_1.
18620         [BZ #13550]
18621         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18622         definitions.
18623         (CHECK_BOUNDS_HIGH): Likewise.
18624         * string/strcpy.c: Do not include <bp-checks.h>.
18625         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18627 2013-02-07  Roland McGrath  <roland@hack.frob.com>
18629         * nscd/nscd-client.h (__nscd_drop_map_ref):
18630         Add __attribute__ ((unused)).
18631         * nis/nss-nisplus.h (niserr2nss): Likewise.
18633         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18634         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18636         * csu/libc-tls.c (init_static_tls, init_slotinfo):
18637         Remove inline keyword.
18638         * include/rounding-mode.h (round_away): Likewise.
18639         * libio/wfileops.c (adjust_wide_data): Likewise.
18640         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18641         (__m128i_strloadu_tolower): Likewise.
18642         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18643         (__m128i_strloadu_tolower): Likewise.
18644         * time/mktime.c (ydhms_diff): Likewise.
18645         * locale/elem-hash.h (elem_hash): Likewise.
18646         * locale/setlocale.c (setdata): Likewise.
18647         * posix/regex_internal.h (re_string_char_size_at): Likewise.
18648         (re_string_wchar_at): Likewise.
18649         (bitset_not, bitset_merge, bitset_mask): Likewise.
18650         [!(__GNUC__ > 3)] (inline): Remove macro.
18651         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18652         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18653         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18654         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18655         * string/memcmp.c (memcmp_bytes): Likewise.
18656         * locale/programs/locarchive.c (compute_hashval): Likewise.
18657         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18658         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18659         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18660         * nss/getent.c (print_rpc, print_protocols): Likewise.
18661         (print_passwd, print_group, print_aliases): Likewise.
18662         * nis/nss-nisplus.h (niserr2nss): Likewise.
18663         * nscd/connections.c (restart_p): Likewise.
18664         Change return type to bool.
18666 2013-02-05  Roland McGrath  <roland@hack.frob.com>
18668         * Makeconfig (all-Depend-files): Add existing
18669         $(sorted-subdirs:=/Depend) files.
18670         (all-subdirs): Remove nss.
18671         * sysdeps/unix/inet/Subdirs: Add it here instead.
18672         * hesiod/Depend: New file.
18674         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18675         instead of calling alloca.
18677         * io/lseek.c (__lseek): Rename to __libc_lseek.
18678         Define __lseek as an alias.
18680         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18682 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
18684         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18685         else clause and remove check for non-standard endianness.
18687 2013-02-04  David S. Miller  <davem@davemloft.net>
18689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18691 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
18693         [BZ #13550]
18694         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18695         (__ubp_memchr): Remove prototype.
18696         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18697         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18698         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18699         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18700         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18701         Remove alias.
18702         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18703         (__ubp_memchr): Likewise.
18704         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18705         (__ubp_memchr): Likewise.
18706         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18707         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18708         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18709         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18710         CHECK_STRING.
18711         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18712         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18713         (__getcwd): Do not use CHECK_STRING.
18714         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18715         <bp-checks.h>.
18716         (__real_chown): Do not use CHECK_STRING.
18717         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18718         <bp-checks.h>.
18719         (fchownat): Do not use CHECK_STRING.
18720         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18721         CHECK_STRING.
18722         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18723         <bp-checks.h>.
18724         (__lchown): Do not use CHECK_STRING.
18725         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18726         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18727         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18728         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18730         include <bp-checks.h>.
18731         (truncate64): Do not use CHECK_STRING.
18732         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18733         <bp-checks.h>.
18734         (__real_chown): Do not use CHECK_STRING.
18735         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18736         <bp-checks.h>.
18737         (__lchown): Do not use CHECK_STRING.
18738         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18739         <bp-checks.h>.
18740         (__chown): Do not use CHECK_STRING.
18741         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18742         <bp-checks.h>.
18743         (truncate64): Do not use CHECK_STRING.
18744         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18745         Likewise.
18746         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18747         (__xmknod): Do not use CHECK_STRING.
18748         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18749         <bp-checks.h>.
18750         (__xmknodat): Do not use CHECK_STRING.
18751         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18752         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18754 2013-02-04  Andreas Schwab  <schwab@suse.de>
18756         [BZ #14142]
18757         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18758         * include/netdb.h: Likewise for h_errno.
18759         * elf/tst-stackguard1.c: Include <tls.h>.
18761 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
18763         * elf/link.h (struct link_map): Extend the l_addr comment.
18764         * include/link.h (struct link_map): Likewise.
18766 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
18768         [BZ #13550]
18769         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18770         (BOUNDED_1): Remove macro.
18771         * debug/backtrace.c: Don't include <bp-checks.h>.
18772         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18773         (__backtrace): Likewise.
18774         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18775         <bp-checks.h>.
18776         (__backtrace): Don't use BOUNDED_1.
18777         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18778         <bp-checks.h>.
18779         (__backtrace): Don't use BOUNDED_1.
18780         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18781         (__backtrace): Don't use BOUNDED_1.
18782         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18783         (shmat): Don't use BOUNDED_N.
18785 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
18787         [BZ #13550]
18788         * sysdeps/generic/bp-start.h: Remove file.
18789         * csu/libc-start.c: Don't include <bp-start.h>.
18790         (LIBC_START_MAIN): Set up __environ directly instead of using
18791         INIT_ARGV_and_ENVIRON.
18792         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18793         <bp-start.h>.
18795         [BZ #13550]
18796         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18797         definitions.
18798         (CHECK_FCNTL): Likewise.
18799         (CHECK_N_PAGES): Likewise.
18801         [BZ #13550]
18802         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18803         definitions.
18804         (CHECK_SIGSET_NULL_OK): Likewise.
18805         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18806         <bp-checks.h>.
18807         (sigpending): Don't use CHECK_SIGSET.
18808         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18809         <bp-checks.h>.
18810         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18811         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18812         <bp-checks.h>.
18813         (do_sigsuspend): Don't use CHECK_SIGSET.
18814         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18815         use CHECK_SIGSET.
18816         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18817         (do_sigwait): Don't use CHECK_SIGSET.
18818         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18819         use CHECK_SIGSET.
18820         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18821         include <bp-checks.h>.
18822         (sigpending): Don't use CHECK_SIGSET.
18823         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18824         include <bp-checks.h>.
18825         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18826         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18827         <bp-checks.h>.
18828         (sigpending): Don't use CHECK_SIGSET.
18829         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18830         <bp-checks.h>.
18831         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18833         [BZ #13550]
18834         * sysdeps/generic/bp-semctl.h: Remove file.
18835         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18836         <bp-checks.h> and <bp-semctl.h>.
18837         (__old_semctl): Don't use CHECK_SEMCTL.
18838         (__new_semctl): Likewise.
18839         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18840         and <bp-semctl.h>.
18841         (__old_semctl): Don't use CHECK_SEMCTL.
18842         (__new_semctl): Likewise.
18843         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18844         <bp-checks.h> and <bp-semctl.h>.
18845         (__old_semctl): Don't use CHECK_SEMCTL.
18846         (__new_semctl): Likewise.
18847         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18848         <bp-checks.h> and <bp-semctl.h>.
18849         (semctl): Don't use CHECK_SEMCTL.
18851         [BZ #13550]
18852         * Makerules (elide-bp-thunks): Remove variable.
18853         (elide-routines.oS): Don't use $(elide-bp-thunks).
18854         (elide-routines.os): Likewise.
18855         (elide-routines.o): Likewise.
18856         (elide-routines.op): Likewise.
18857         (elide-routines.og): Likewise.
18858         (objects): Don't use $(bp-thunks).
18859         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18860         include.
18861         (common-generated): Do not add s-proto-bp.d.
18862         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18863         (int): Likewise.
18864         (typ): Likewise.
18865         Do not generate makefile rules for bounded-pointer thunks.
18866         * sysdeps/generic/bp-thunks.h: Remove file.
18867         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18868         * sysdeps/unix/s-proto-bp.S: Likewise.
18870         [BZ #15062]
18871         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18872         parts of result separately when argument is not close to line from
18873         -i to i and one part of argument is small.
18874         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18875         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18876         * math/libm-test.inc (cacos_test): Add more tests.
18877         (casin_test): Likewise.
18878         (casinh_test): Likewise.
18879         * sysdeps/i386/fpu/libm-test-ulps: Update.
18880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18882 2013-01-31  David S. Miller  <davem@davemloft.net>
18884         * po/de.po: Update from translation team.
18886 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
18888         * time/tzfile.c: Include stdint.h for SIZE_MAX.
18890 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
18892         * configure.in (_AC_PROG_CC_C89): New definition.
18893         * configure: Regenerate.
18895         * configure.in (AC_PROG_CPP): New definition.
18896         * configure: Regenerate.
18898 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18900         * debug/tst-backtrace.h: New file.
18901         * debug/tst-backtrace2.c: Include tst-backtrace.h.
18902         (ret): Remove variable.
18903         (x): Likewise.
18904         (FAIL): Remove macro.
18905         (NO_INLINE): Likewise.
18906         (fn1): Use match function instead of strstr.
18907         * debug/tst-backtrace3.c: Include tst-backtrace.h.
18908         (ret): Remove variable.
18909         (x): Likewise.
18910         (FAIL): Remove macro.
18911         (NO_INLINE): Likewise.
18912         (fn): Use match function instead of strstr.
18913         * debug/tst-backtrace4.c: Include tst-backtrace.h.
18914         (ret): Remove variable.
18915         (x): Likewise.
18916         (FAIL): Remove macro.
18917         (NO_INLINE): Likewise.
18918         (handle_signal): Use match function instead of strstr.
18919         * debug/tst-backtrace5.c: Include tst-backtrace.h.
18920         (ret): Remove variable.
18921         (x): Likewise.
18922         (FAIL): Remove macro.
18923         (NO_INLINE): Likewise.
18924         (handle_signal): Use match function instead of strstr.
18926 2013-01-23  Roland McGrath  <roland@hack.frob.com>
18928         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18930 2013-01-23  David S. Miller  <davem@davemloft.net>
18932         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18933         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18934         argument of CAS if possible.
18935         * sysdeps/sparc/sparc64/bits/atomic.h
18936         (__arch_compare_and_exchange_val_32_acq): Likewise.
18937         (__arch_compare_and_exchange_val_64_acq): Likewise.
18939 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
18941         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18942         * sysdeps/posix/ulimit.c: ... this.
18943         Include <limits.h>.
18944         * sysdeps/unix/bsd/ulimit.c: Remove file.
18946 2013-01-23  Adam Conrad  <adconrad@0c3.net>
18948         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18949         (LDFLAGS-tst-array5): Likewise.
18951 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18953         [BZ #15036]
18954         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18955         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18956         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18957         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18959 2013-01-21  David S. Miller  <davem@davemloft.net>
18961         * sysdeps/sparc/backtrace.c: New file.
18962         * sysdeps/sparc/sparc32/backtrace.h: New file.
18963         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18964         * sysdeps/sparc/sparc64/backtrace.h: New file.
18965         * sysdeps/sparc/sparc64/backtrace.c: Delete.
18966         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18967         -funwind-tables.
18969 2013-01-21  Andreas Schwab  <schwab@suse.de>
18971         [BZ #15020]
18972         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18973         closed its stdout.
18975 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
18977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18978         "mpa2.h".
18979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18981 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
18982             Mark Mitchell  <mark@codesourcery.com>
18983             Tom de Vries  <tom@codesourcery.com>
18984             Paul Pluzhnikov  <ppluzhnikov@google.com>
18986         * debug/tst-backtrace2.c: New file.
18987         * debug/tst-backtrace3.c: Likewise.
18988         * debug/tst-backtrace4.c: Likewise.
18989         * debug/tst-backtrace5.c: Likewise.
18990         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18991         (CFLAGS-tst-backtrace3.c): Likewise.
18992         (CFLAGS-tst-backtrace4.c): Likewise.
18993         (CFLAGS-tst-backtrace5.c): Likewise.
18994         (LDFLAGS-tst-backtrace2): Likewise.
18995         (LDFLAGS-tst-backtrace3): Likewise.
18996         (LDFLAGS-tst-backtrace4): Likewise.
18997         (LDFLAGS-tst-backtrace5): Likewise.
18998         (tests): Add new tests tst-backtrace2, tst-backtrace3,
18999         tst-backtrace4 and tst-backtrace5.
19001 2013-01-18  Anton Blanchard  <anton@samba.org>
19002             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19004         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19005         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19006         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19007         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19009         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19010         "+r" and remove output regs list as redundant.  Add explicit inline
19011         asm to specify register of return val to work around compiler codegen
19012         bug.  Remove (int) cast on return value.  Add return type parameter to
19013         use in macro so that this macro does not truncate return value for
19014         64-bit values.
19015         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19016         pass to INTERNAL_VSYSCALL_NCS.
19017         (INLINE_VSYSCALL): Add 'long int' as return type to
19018         INTERNAL_VSYSCALL_NCS macro invocation.
19019         (INTERNAL_VSYSCALL): Add 'long int' as return type to
19020         INTERNAL_VSYSCALL_NCS macro invocation.
19021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19023 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19025         [BZ #14496]
19026         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19027         Fix application of SIMD FP exception mask.
19029         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19030         mp_no from a power of two.
19031         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19032         __mpexp_twomm1.  Use __pow_mp.
19034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19035         multiplication.
19037 2013-01-17  David S. Miller  <davem@davemloft.net>
19039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19041 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19043         [BZ #15023]
19044         * include/complex.h: Condition contents on [!_COMPLEX_H].
19045         (__kernel_casinhf): New prototype.
19046         (__kernel_casinh): Likewise.
19047         (__kernel_casinhl): Likewise.
19048         * math/Makefile (libm_calls): Add k_casinh.
19049         * math/k_casinh.c: New file.
19050         * math/k_casinhf.c: Likewise.
19051         * math/k_casinhl.c: Likewise.
19052         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19053         finite nonzero arguments.
19054         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19055         finite nonzero arguments.
19056         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19057         finite nonzero arguments.
19058         * math/s_casinh.c: Do not include <float.h>.
19059         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19060         * math/s_casinhf.c: Do not include <float.h>.
19061         (__casinhf): Move code for finite nonzero arguments to
19062         k_casinhf.c.
19063         * math/s_casinhl.c: Do not include <float.h>.
19064         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19065         redefine.
19066         (__casinhl): Move code for finite nonzero arguments to
19067         k_casinhl.c.
19068         * math/libm-test.inc (cacos_test): Add more tests.
19069         * sysdeps/i386/fpu/libm-test-ulps: Update.
19070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19072 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
19074         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19075         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19076         [!HAVE_MREMAP]: Remove [defined linux] case.
19077         * malloc/arena.c: Do not include <malloc-sysdep.h>.
19079 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19081         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19083 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
19085         * elf/elf.h (R_386_SIZE32): New relocation.
19086         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19087         R_386_SIZE32.
19088         (elf_machine_rela): Likewise.
19089         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19090         R_X86_64_SIZE64 and R_X86_64_SIZE32.
19092 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19094         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19095         (FP_FAST_FMA): Do not define.
19096         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19097         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19098         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19099         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19100         !_SOFT_FLOAT]: Likewise.
19101         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19102         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19103         value.
19104         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19105         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19106         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19107         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19108         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19109         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19110         file.
19112 2013-01-16  Andreas Schwab  <schwab@suse.de>
19114         [BZ #14327]
19115         * include/stdlib.h (__mktemp): Add declaration.
19116         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19117         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19119 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19121         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19122         definitions.
19123         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19124         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19125         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19126         definitions here.
19127         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19128         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19129         definitions.
19130         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19131         and ONE.
19132         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19133         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19134         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19135         definitions.
19136         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19137         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19138         definitions.
19139         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19141         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19143 2013-01-15  David S. Miller  <davem@davemloft.net>
19145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19146         trunc{,f} to libm-sysdep_routes.
19147         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19149         file.
19150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19152         file.
19153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19154         file.
19155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19157         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19158         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19159         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19160         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19161         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19162         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19165         nearbyint{,f} to libm-sysdep_routes.
19166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19168         New file.
19169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19170         file.
19171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19172         New file.
19173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19174         file.
19175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19177         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19178         file.
19179         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19180         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19181         file.
19182         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19183         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19184         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19186         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19187         libc_feholdexcept and libc_fesetenv.
19189 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
19191         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19193 2013-01-14  David S. Miller  <davem@davemloft.net>
19195         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19196         (SPARC_ASM_VIS2_IFUNC): Likewise.
19197         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19199         use of 'siam' instruction.
19200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19201         Likewise.
19202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19203         Likewise.
19204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19205         Likewise.
19206         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19208         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19211         file.
19212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19213         file.
19214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19215         file.
19216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19217         file.
19218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19223         new VIS2 routines.
19224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19227         Likewise.
19228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19233         routines to libm-sysdep_routines.
19234         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19237         fdim/fdimf to libm-sysdep_routines.
19238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19239         file.
19240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19242         file.
19243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19246         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19247         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19248         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19249         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19251 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19253         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19254         to optimize copies.
19256         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19261         local variable MPTWO.
19262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19263         Likewise.
19265 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19267         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19268         GLOB_NOESCAPE.
19270 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19272         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19274 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19276         * manual/pattern.texi (glob_t): Document gl_flags.
19277         (glob64_t): Likewise.
19279 2013-01-11  David S. Miller  <davem@davemloft.net>
19281         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19282         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19283         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
19284         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19285         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19286         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19287         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19288         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19289         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19290         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19291         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19292         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19293         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19295         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19296         sparc V9 rather than using V8 code.
19297         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19298         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19300         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19301         Move to...
19302         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19303         Here.
19305 2013-01-11  Roland McGrath  <roland@hack.frob.com>
19307         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19308         not in the main loop.
19309         * configure: Regenerated.
19311 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
19313         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19314         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19315         to just #else.
19316         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
19317         [!__GLIBC_HAVE_LONG_LONG] case.
19318         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19319         condition to just #else.
19320         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19321         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19322         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19323         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19324         unconditional.
19325         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19326         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19327         #elif condition to just #else.
19328         * sysdeps/unix/sysv/linux/sys/sysmacros.h
19329         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19330         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19331         #elif condition to just #else.
19333 2013-01-11  Steve Ellcey  <sellcey@mips.com>
19335         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19336         (EF_MIPS_ARCH_64): Fix value.
19337         (EF_MIPS_ARCH_32R2): New.
19338         (EF_MIPS_ARCH_64R2): New.
19340 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
19342         * Makeconfig (+link-pie-before-libc): New.
19343         (+link-pie-after-libc): Likewise.
19344         (+link-pie-tests): Likewise.
19345         (+link-pie): Rewritten.
19346         (link-before-libc): Remove $(config-LDFLAGS).
19347         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19348         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19349         (config-LDFLAGS): Renamed to ...
19350         (rtld-LDFLAGS): This.
19351         (rtld-tests-LDFLAGS): New macro.
19352         (link-libc-rpath-link): Likewise.
19353         (link-libc-tests-rpath-link): Likewise.
19354         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19355         (link-libc): Prepand $(link-libc-rpath-link).
19356         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19357         (test-program-prefix): New macro.
19358         (test-via-rtld-prefix): Likewise.
19359         (test-program-cmd): Likewise.
19360         (host-test-program-cmd): Likewise.
19361         * Makefile ($(common-objpfx)testrun.sh): Replace
19362         $(run-program-prefix) with $(test-program-prefix).
19363         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19364         $(rtld-LDFLAGS).
19365         ($(common-objpfx)shlib.lds): Likewise.
19366         (build-module-helper): Likewise.
19367         ($(common-objpfx)format.lds): Likewise.
19368         * Rules (binaries-pie-tests): New.
19369         (binaries-pie-notests): Likewise.
19370         (binaries-pie): Rewritten.
19371         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19372         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19373         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19374         (make-test-out): Replace $(host-built-program-cmd) with
19375         $(host-test-program-cmd).
19376         * config.make.in (build-hardcoded-path-in-tests): New variable.
19377         * configure.in (--enable-hardcoded-path-in-tests): New configure
19378         option.
19379         (hardcoded_path_in_tests): New AC_SUBST.
19380         * configure: Regenerated.
19381         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19382         $(built-program-cmd) with $(test-program-cmd).
19383         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19384         (test_program_cmd): This.
19385         * elf/Makefile ($(objpfx)order.out): Run test with
19386         $(test-program-prefix).
19387         ($(objpfx)order2.out): Likewise.
19388         ($(objpfx)tst-initorder.out): Likewise.
19389         ($(objpfx)tst-initorder2.out): Likewise.
19390         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19391         $(test-program-cmd).
19392         ($(objpfx)tst-array1-static.out): Likewise.
19393         ($(objpfx)tst-array2.out): Likewise.
19394         ($(objpfx)tst-array3.out): Likewise.
19395         ($(objpfx)tst-array4.out): Likewise.
19396         ($(objpfx)tst-array5.out): Likewise.
19397         ($(objpfx)tst-array5-static.out): Likewise.
19398         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19399         $(test-program-cmd).
19400         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19401         $(run-program-prefix) with $(test-program-prefix).
19402         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19403         (test_program_prefix): This.
19404         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19405         $(run-program-prefix) with $(test-program-prefix).
19406         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19407         (test_program_prefix): This.
19408         * iconvdata/tst-tables.sh: Likewise.
19409         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19410         $(run-program-prefix) with $(test-program-prefix).
19411         ($(objpfx)tst-translit.out): Likewise.
19412         ($(objpfx)tst-gettext2.out): Likewise.
19413         ($(objpfx)tst-gettext4.out): Likewise.
19414         ($(objpfx)tst-gettext6.out): Likewise.
19415         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19416         (test_program_prefix): This.
19417         * intl/tst-gettext2.sh: Likewise.
19418         * intl/tst-gettext4.sh  Likewise.
19419         * intl/tst-gettext6.sh: Likewise.
19420         * intl/tst-translit.sh: Likewise.
19421         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19422         with $(test-program-cmd).
19423         * libio/Makefile ($(objpfx)test-freopen.out): Replace
19424         $(run-program-prefix) with $(test-program-prefix).
19425         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19426         (test_program_prefix): This.
19427         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19428         $(run-program-prefix) with $(test-program-prefix).
19429         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19430         (test_program_prefix): This.
19431         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19432         * posix/Makefile ($(objpfx)globtest.out): Replace
19433         $(run-via-rtld-prefix) and $(test-wrapper) with
19434         $(test-program-prefix) and $(test-via-rtld-prefix).
19435         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19436         $(test-program-prefix).
19437         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19438         $(host-test-program-cmd).
19439         (tst-spawn-ARGS): Likewise.
19440         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19441         $(test-program-prefix).
19442         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19443         (test_via_rtld_prefix): This.
19444         (test_wrapper): Renamed to ...
19445         (test_program_prefix): This.
19446         (run_program_prefix): Replaced by test_program_prefix.
19447         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19448         (test_program_prefix): This.
19449         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19450         with $(host-test-program-cmd).
19451         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19452         $(run-program-prefix) with $(test-program-prefix).
19453         ($(objpfx)tst-printf.out): Likewise.
19454         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19455         $(test-program-cmd).
19456         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19457         (test_program_prefix): This.
19458         * stdio-common/tst-unbputc.sh: Likewise.
19459         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19460         $(run-program-prefix) with $(test-program-prefix).
19461         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19462         (test_program_prefix): This.
19463         * string/Makefile ($(objpfx)tst-svc.out):  Replace
19464         $(built-program-cmd) with $(test-program-cmd).
19466 2013-01-11  Andreas Jaeger  <aj@suse.de>
19468         [BZ #15003]
19469         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19470         value. Sync with Linux 3.7.
19472 2013-01-10  David S. Miller  <davem@davemloft.net>
19474         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19475         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19476         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19478 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19480         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19481         never set.
19482         * configure: Regenerated.
19484 2013-01-10  David S. Miller  <davem@davemloft.net>
19486         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19487         sparc V9 rather than using V8 code.
19488         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19489         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19491 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19493         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19494         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19495         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19496         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19497         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19498         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19499         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19500         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19501         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19502         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19503         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19504         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19505         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19506         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19507         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19508         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19509         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19510         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19511         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19512         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19513         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19514         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19515         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19516         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19517         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19518         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19519         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19521 2013-01-10  David S. Miller  <davem@davemloft.net>
19523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19525 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19527         * posix/Makefile (tests-static): New variable.
19528         (tests): Add $(tests-static).
19529         (tst-exec-static-ARGS): New variable.
19530         (tst-spawn-static-ARGS): Likewise.
19531         * posix/tst-exec-static.c: New file.
19532         * posix/tst-spawn-static.c: Likewise.
19533         * posix/tst-exec.c: Support run directly.
19534         * posix/tst-spawn.c: Likewise.
19536 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
19538         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19539         long.
19540         * math/bits/mathcalls.h (llrint): Likewise.
19541         (llround): Likewise.
19542         * stdlib/stdlib.h (struct drand48_data): Likewise.
19543         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19544         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19545         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19546         Likewise.
19547         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19548         Likewise.
19549         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19550         (elf_greg_t): Likewise.
19551         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19552         (__jmp_buf): Likewise.
19553         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19554         definitions.
19555         (llrint): Likewise, for all definitions.
19556         (llrintl): Likewise.
19558         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19559         Remove [__GNUC__] condition.
19560         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19561         condition to just [__USE_ISOC99].
19562         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19564 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19566         [BZ #14200]
19567         * sysdeps/unix/sysv/linux/x86/bits/environments.h
19568         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19569         defined.
19570         (_POSIX_V6_ILP32_OFF32): Likewise.
19571         (_XBS5_ILP32_OFF32): Likewise.
19572         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19573         (__ILP32_OFFBIG_LDFLAGS): Likewise.
19575 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19577         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19579         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19580         doubles __mpexp_twomm1.  Adjust usage.
19581         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19582         Remove.
19584 2013-01-10  Andreas Schwab  <schwab@suse.de>
19586         [BZ #14964]
19587         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19588         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19590 2013-01-09  David S. Miller  <davem@davemloft.net>
19592         [BZ #15003]
19593         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19594         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19595         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19596         (TCP_FASTOPEN): Define.
19597         (tcp_repair_opt): New structure.
19598         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19599         enum values.
19600         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19601         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19602         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19603         (tcp_cookie_transactions): New structure.
19605 2013-01-09  Anton Blanchard  <anton@samba.org>
19607         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19608         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19609         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19610         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19612 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
19614         * include/features.h (__USE_ANSI): Remove.
19616 2013-01-09  Roland McGrath  <roland@hack.frob.com>
19618         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19620         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19622 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19624         * sysdeps/s390/fpu/libm-test-ulps: Update.
19626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19628         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19629         (__acr): Likewise.
19630         (__cpy): Likewise.
19631         (norm): Likewise.
19632         (denorm): Likewise.
19633         (__mp_dbl): Likewise.
19634         (__dbl_mp): Likewise.
19635         (add_magnitudes): Likewise.
19636         (sub_magnitudes): Likewise.
19637         (__add): Likewise.
19638         (__sub): Likewise.
19639         (__mul): Likewise.
19640         (__inv): Likewise.
19641         (__dvd): Likewise.
19642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19643         (__acr): Likewise.
19644         (__cpy): Likewise.
19645         (norm): Likewise.
19646         (denorm): Likewise.
19647         (__mp_dbl): Likewise.
19648         (__dbl_mp): Likewise.
19649         (add_magnitudes): Likewise.
19650         (sub_magnitudes): Likewise.
19651         (__add): Likewise.
19652         (__sub): Likewise.
19653         (__mul): Likewise.
19654         (__inv): Likewise.
19655         (__dvd): Likewise.
19656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19657         (__acr): Likewise.
19658         (__cpy): Likewise.
19659         (norm): Likewise.
19660         (denorm): Likewise.
19661         (__mp_dbl): Likewise.
19662         (__dbl_mp): Likewise.
19663         (add_magnitudes): Likewise.
19664         (sub_magnitudes): Likewise.
19665         (__add): Likewise.
19666         (__sub): Likewise.
19667         (__mul): Likewise.
19668         (__inv): Likewise.
19669         (__dvd): Likewise.
19671 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
19673         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19674         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19675         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19676         2 && __USE_EXTERN_INLINES]: Likewise.
19678 2013-01-08  Andreas Jaeger  <aj@suse.de>
19680         [BZ# 14985]
19681         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19682         Remove.
19683         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19684         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19686 2013-01-07  Anton Blanchard  <anton@samba.org>
19688         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19689         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19690         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19691         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19692         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19693         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19694         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19695         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19697         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19698         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19699         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19700         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19701         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19702         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19703         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19704         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19705         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19706         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19707         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19708         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19709         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19710         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19711         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19712         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19713         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19714         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19715         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19716         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19717         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19718         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19720         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19721         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19722         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19723         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19724         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19725         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19726         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19727         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19728         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19729         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19730         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19732 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
19734         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19735         (__MALLOC_PMT): Likewise.
19736         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19737         [__GNUC__], only on [_LIBC].
19738         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19739         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19740         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19741         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19742         forward declaration.
19743         (realloc_hook_ini): Likewise.
19744         (memalign_hook_ini): Likewise.
19745         (__libc_memalign): Do not use __MALLOC_PMT in variable
19746         declaration.
19747         (__libc_valloc): Likewise.
19748         (__libc_pvalloc): Likewise.
19749         (__libc_calloc): Likewise.
19750         (__posix_memalign): Likewise.
19752         [BZ #14996]
19753         * math/s_casinh.c: Include <float.h>.
19754         (__casinh): Do not do computation with squaring and square root
19755         for large arguments.
19756         * math/s_casinhf.c: Include <float.h>.
19757         (__casinhf): Do not do computation with squaring and square root
19758         for large arguments.
19759         * math/s_casinhl.c: Include <float.h>.
19760         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19761         (__casinhl): Do not do computation with squaring and square root
19762         for large arguments.
19763         * math/libm-test.inc (casin_test): Add more tests.
19764         (casinh_test): Likewise.
19765         * sysdeps/i386/fpu/libm-test-ulps: Update.
19766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19768 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
19770         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19771         (__x86_64_raw_data_cache_size): Likewise.
19772         (__x86_64_data_cache_size_half): Likewise.
19773         (__x86_64_raw_data_cache_size_half): Likewise.
19774         (__x86_64_shared_cache_size): Likewise.
19775         (__x86_64_raw_shared_cache_size): Likewise.
19776         (__x86_64_shared_cache_size_half): Likewise.
19777         (__x86_64_raw_shared_cache_size_half): Likewise.
19778         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19779         to ...
19780         (__x86_data_cache_size): This.
19781         (__x86_64_raw_data_cache_size): Renamed to ...
19782         (__x86_raw_data_cache_size): This.
19783         (__x86_64_data_cache_size_half): Renamed to ...
19784         (__x86_data_cache_size_half): This.
19785         (__x86_64_raw_data_cache_size_half): Renamed to ...
19786         (__x86_raw_data_cache_size_half): This.
19787         (__x86_64_shared_cache_size): Renamed to ...
19788         (__x86_shared_cache_size): This.
19789         (__x86_64_raw_shared_cache_size): Renamed to ...
19790         (__x86_raw_shared_cache_size): This.
19791         (__x86_64_shared_cache_size_half): Renamed to ...
19792         (__x86_shared_cache_size_half): This.
19793         (__x86_64_raw_shared_cache_size_half): Renamed to ...
19794         (__x86_raw_shared_cache_size_half): This.
19795         * sysdeps/x86_64/memcpy.S: Updated.
19796         * sysdeps/x86_64/memset.S: Likewise.
19797         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19798         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19799         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19801 2013-01-04  David S. Miller  <davem@davemloft.net>
19803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19805 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
19807         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19808         1 to avoid redefinition warning.
19809         (__USE_GNU): Don't define.
19810         (init_signaling_nan): Protoize.
19812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19814 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19816         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19818         (__cpymn): Likewise.
19819         (norm): Remove commented code.
19820         (denorm): Likewise.
19821         (__mp_dbl): Likewise.
19822         (__inv): Likewise.
19823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19824         (__cpymn): Likewise.
19825         (norm): Remove commented code.
19826         (denorm): Likewise.
19827         (__mp_dbl): Likewise.
19828         (__inv): Likewise.
19830         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19831         mp_no value for 1.0 and 2.0.
19832         (norm): Use RADIXI instead of radixi.d.
19833         (denorm): Likewise.
19834         (__mul): Use 0.0 instead of zero.d.
19835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19836         mp_no value for 1.0 and 2.0.
19837         (norm): Use RADIXI instead of radixi.d.
19838         (denorm): Likewise.
19839         (__mul): Use 0.0 instead of zero.d.
19841 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
19843         [BZ #14994]
19844         * math/s_casinh.c (__casinh): Reduce finite argument to first
19845         quadrant then set signs of results at the end.
19846         * math/s_casinhf.c (__casinhf): Likewise.
19847         * math/s_casinhl.c (__casinhl): Likewise.
19848         * math/libm-test.inc (casin_test): Add more tests.
19849         (casinh_test): Likewise.
19850         * sysdeps/i386/fpu/libm-test-ulps: Update.
19851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19853 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19855         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19857         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19859         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19860         declarations.
19861         (denorm): Likewise.
19862         (__mp_dbl): Likewise.
19863         (__inv): Likewise.
19865         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19866         and adjust the header comment.
19868         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19869         variable name from declaration.
19871 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
19873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19874         Initialize COMMON_CPUID_INDEX_7 element.
19875         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19876         (CPUID_RTM): Likewise.
19877         (HAS_RTM): Likewise.
19878         (COMMON_CPUID_INDEX_7): New enum.
19880 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
19882         [BZ #14981]
19883         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19884         size is zero, record memory as freed.
19886 2013-01-03  Andreas Jaeger  <aj@suse.de>
19888         * po/ia.po: Add new Interlingua translation.
19890 2012-01-03  Allan McRae  <allan@archlinux.org>
19892         * locale/programs/localedef.c: Fix description of '--posix' flag.
19894 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
19896         * NEWS: Update dates in second copyright notice.
19897         * README: Update copyright dates in example.
19898         * manual/libc.texinfo: Update copyright dates.
19899         * scripts/test-installation.pl: Update copyright date in --version
19900         output.
19902         * hurd/ctty-input.c: Fix copyright notice formatting.
19903         * hurd/ctty-output.c: Likewise.
19904         * hurd/dtable.c: Likewise.
19905         * hurd/hurd-raise.c: Likewise.
19906         * hurd/hurdprio.c: Likewise.
19907         * hurd/msgportdemux.c: Likewise.
19908         * misc/sys/file.h: Likewise.
19909         * misc/sys/ioctl.h: Likewise.
19910         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19911         * sysdeps/mach/hurd/chdir.c: Likewise.
19912         * sysdeps/mach/hurd/fchdir.c: Likewise.
19913         * sysdeps/mach/hurd/rename.c: Likewise.
19914         * sysdeps/mach/hurd/rmdir.c: Likewise.
19915         * sysdeps/mach/hurd/seekdir.c: Likewise.
19916         * sysdeps/mach/hurd/setsid.c: Likewise.
19917         * sysdeps/posix/wait3.c: Likewise.
19919         * All files with FSF copyright notices: Update copyright dates
19920         using scripts/update-copyrights.
19921         * intl/plural.c: Regenerated.
19922         * locale/programs/charmap-kw.h: Likewise.
19923         * locale/programs/locfile-kw.h: Likewise.
19925 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19927         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19928         four values.
19930         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19931         calculation loop and add branch prediction.
19933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19934         check access beyond bounds of m1np.
19936         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19937         MPTWO.
19938         (__inv): Remove local variable MPTWO to use the global
19939         constant.
19940         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19941         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19942         variable MPTWO.
19943         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19944         MP3HALFS static const.
19946 2013-01-01  David S. Miller  <davem@davemloft.net>
19948         * po/ca.po: Update from translation team.
19950 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
19952         * scripts/update-copyrights: New file.
19953         * Makeconfig: Reformat copyright notice.
19954         * ctype/ctype.h: Likewise.
19955         * debug/swprintf_chk.c: Likewise.
19956         * elf/dl-cache.c: Likewise.
19957         * elf/dl-debug.c: Likewise.
19958         * elf/dl-object.c: Likewise.
19959         * grp/initgroups.c: Likewise.
19960         * hurd/Makefile: Likewise.
19961         * hurd/hurd/signal.h: Likewise.
19962         * hurd/hurdfault.c: Likewise.
19963         * hurd/hurdioctl.c: Likewise.
19964         * hurd/hurdlookup.c: Likewise.
19965         * hurd/intr-msg.c: Likewise.
19966         * iconv/gconv_open.c: Likewise.
19967         * libio/swprintf.c: Likewise.
19968         * locale/lc-ctype.c: Likewise.
19969         * locale/nl_langinfo.c: Likewise.
19970         * mach/Machrules: Likewise.
19971         * mach/Makefile: Likewise.
19972         * malloc/obstack.h: Likewise.
19973         * manual/Makefile: Likewise.
19974         * manual/tsort.awk: Likewise.
19975         * misc/bits/stab.def: Likewise.
19976         * nis/nis_print_group_entry.c: Likewise.
19977         * nis/nis_table.c: Likewise.
19978         * nis/nss_compat/compat-pwd.c: Likewise.
19979         * nis/nss_compat/compat-spwd.c: Likewise.
19980         * po/Makefile: Likewise.
19981         * posix/fnmatch.c: Likewise.
19982         * posix/regex.h: Likewise.
19983         * resolv/Makefile: Likewise.
19984         * resolv/nss_dns/dns-network.c: Likewise.
19985         * resolv/res_hconf.c: Likewise.
19986         * scripts/gen-sorted.awk: Likewise.
19987         * soft-fp/soft-fp.h: Likewise.
19988         * stdio-common/printf.h: Likewise.
19989         * stdlib/monetary.h: Likewise.
19990         * stdlib/random.c: Likewise.
19991         * stdlib/random_r.c: Likewise.
19992         * sysdeps/generic/Makefile: Likewise.
19993         * sysdeps/gnu/Makefile: Likewise.
19994         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19995         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19996         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19997         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19998         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19999         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20000         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20001         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20002         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20003         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20004         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20005         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20006         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20007         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20008         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20009         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20010         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20011         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20012         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20013         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20014         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20015         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20016         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20017         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20018         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20019         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20020         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20021         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20022         * sysdeps/mach/hurd/errnos.awk: Likewise.
20023         * sysdeps/mach/hurd/fork.c: Likewise.
20024         * sysdeps/mach/hurd/getcwd.c: Likewise.
20025         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20026         * sysdeps/mach/hurd/mmap.c: Likewise.
20027         * sysdeps/mach/hurd/utimes.c: Likewise.
20028         * sysdeps/mach/hurd/xmknod.c: Likewise.
20029         * sysdeps/posix/profil.c: Likewise.
20030         * sysdeps/posix/readdir_r.c: Likewise.
20031         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20032         * sysdeps/powerpc/bits/setjmp.h: Likewise.
20033         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20034         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20036         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20037         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20038         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20039         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20040         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20041         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20042         * sysdeps/pthread/lio_listio.c: Likewise.
20043         * sysdeps/sparc/dl-procinfo.h: Likewise.
20044         * sysdeps/unix/i386/sysdep.S: Likewise.
20045         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20046         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20047         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20048         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20050         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20051         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20052         * sysdeps/unix/sysv/linux/speed.c: Likewise.
20053         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20054         * sysdeps/wordsize-32/divdi3.c: Likewise.
20055         * time/sys/time.h: Likewise.
20056         * wcsmbs/Makefile: Likewise.
20058 2013-01-01  David S. Miller  <davem@davemloft.net>
20060         * po/fr.po: Update from translation team.
20062         * catgets/gencat.c: Update copyright year.
20063         * csu/version.c: Likewise.
20064         * debug/catchsegv.sh: Likewise.
20065         * debug/pcprofiledump.c: Likewise.
20066         * debug/xtrace.sh: Likewise.
20067         * elf/ldconfig.c: Likewise.
20068         * elf/ldd.bash.in: Likewise.
20069         * elf/pldd.c: Likewise.
20070         * elf/sotruss.ksh: Likewise.
20071         * elf/sprof.c: Likewise.
20072         * iconv/iconv_prog.c: Likewise.
20073         * iconv/iconvconfig.c: Likewise.
20074         * locale/programs/locale.c: Likewise.
20075         * locale/programs/localedef.c: Likewise.
20076         * login/programs/pt_chown.c: Likewise.
20077         * malloc/memusage.sh: Likewise.
20078         * malloc/memusagestat.c: Likewise.
20079         * malloc/mtrace.pl: Likewise.
20080         * nscd/nscd.c: Likewise.
20081         * nss/getent.c: Likewise.
20082         * nss/makedb.c: Likewise.
20083         * posix/getconf.c: Likewise.
20085 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20087         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20088         numbers.
20090 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
20092         * math/bits/mathcalls.h (modf): Use __nonnull.
20094 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20096         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20097         (split): Use macro CN instead of the bare value.
20098         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20099         could be used.
20100         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20101         instead of the bare value.
20102         (power1): Likewise.
20104 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20106         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20107         __ATAN_TWOM.
20108         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20110         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20111         their values.
20112         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20113         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20114         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20115         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20117 2012-12-28  Andreas Jaeger  <aj@suse.de>
20119         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
20120         values are from Linux 3.7.
20122         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20123         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
20125 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20127         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20128         TRUE case.
20130         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20131         (norm): Likewise.
20132         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20133         variables with preprocessor constants.
20134         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20135         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20136         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20138 2012-12-27  Bruno Haible  <bruno@clisp.org>
20140         [BZ #14317]
20141         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20142         only if needed.
20144 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20146         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20147         and use variable directly.
20148         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20150         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20151         MPONE.
20152         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20153         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20154         variable MPONE.
20155         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20156         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20157         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20158         include directive.  Remove local variable MPONE.
20159         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20160         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20161         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20163 2012-12-25  David S. Miller  <davem@davemloft.net>
20165         * version.h (RELEASE): Set to "development".
20166         (VERSION): Set to "2.17.90".
20167         * NEWS: Add 2.18 section.
20169 2012-12-21  David S. Miller  <davem@davemloft.net>
20171         * po/hr.po: Update from translation team.
20173 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20175         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20177 2012-12-19  Steve Ellcey  <sellcey@mips.com>
20179         * NEWS:  Mention new memcpy for MIPS.
20181 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20183         * manual/contrib.texi (Contributors): Spelling correction.
20185 2012-12-15  David S. Miller  <davem@davemloft.net>
20187         * po/ru.po: Update from translation team.
20189 2012-12-13  David S. Miller  <davem@davemloft.net>
20191         * NEWS: Mention IFUNC testsuite enhancements.
20193         * po/pl.po: Update from translation team.
20194         * po/bg.po: Likewise.
20196         * manual/contrib.texi (Contributors): Update entries for Hongjiu
20197         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
20199 2012-12-11  David S. Miller  <davem@davemloft.net>
20201         * po/sv.po: Update from translation team.
20203         * po/vi.po: Update from translation team.
20205         * po/cs.po: Update from translation team.
20207         * po/de.po: Update from translation team.
20208         * po/eo.po: Likewise.
20209         * po/nl.po: Likewise.
20211 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20213         [BZ #14246]
20214         * manual/argp.texi (Argp Helper Functions): Move node to follow
20215         Argp Parsing State.
20217         [BZ #14872]
20218         * manual/conf.texi (Limits on File System Capacity): Mention if
20219         terminating null is included in the max size.
20221 2012-12-10  Andreas Jaeger  <aj@suse.de>
20223         * po/cs.po: Update from translation team.
20225 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20227         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20228         void pointer and cast to uintptr_t.
20229         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20230         path.
20231         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20232         * sysdeps/s390/s390-64/memset.S: Likewise.
20234 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
20236         [BZ #14833]
20237         * menual/message.texi (Message Translation): Fix typos.
20238         (Helper programs for gettext): Likewise.
20240 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
20242         [BZ #14898]
20243         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20244         Change to -1.
20246 2012-12-07  David S. Miller  <davem@davemloft.net>
20248         * po/libc.pot: Update.
20250 2012-12-07  Richard Henderson  <rth@redhat.com>
20252         [BZ #10114]
20253         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20254         normal/normal case to before the switch.
20255         (_FP_DIV): Likewise.
20257 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
20258             Mike Frysinger  <vapier@gentoo.org>
20260         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20261         check for __NR_fadvise64_64.
20263 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
20265         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20266         0, not just to plain "0" as a statement.
20267         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20268         with cw.
20270 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
20272         * NEWS: Use sourceware.org in Bugzilla URL.
20274 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20277         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20279         * stdio-common/tst-put-error.c (do_test): Add newline to the
20280         padded test to ensure flush.
20282 2012-12-05  Jeff Law  <law@redhat.com>
20284         * sunrpc/etc.rpc (fedfs_admin): Add entry.
20286 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
20288         * README: Don't refer to ports add-on as distributed separately.
20289         Mention AArch64 in list of systems supported in the ports add-on.
20291         * LICENSES: Add more non-FSF copyright and license notices.
20293         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20294         ((unused)).
20296         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20298         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20299         10000 as width of padded output.
20301 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20303         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20305         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20306         variable LX with __attribute__ ((unused)).
20307         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20308         Likewise.
20309         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20310         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20311         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20312         with __attribute__ ((unused)).
20314 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
20316         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20318 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20320         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20321         (CFLAGS-nldbl-acos.c): New variable.
20322         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20323         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20324         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20325         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20326         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20327         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20328         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20329         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20330         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20331         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20332         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20333         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20334         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20335         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20336         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20337         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20338         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20339         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20340         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20341         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20342         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20343         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20344         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20345         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20346         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20347         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20348         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20349         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20350         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20351         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20352         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20353         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20354         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20355         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20356         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20357         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20358         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20359         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20360         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20361         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20362         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20363         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20364         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20365         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20366         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20367         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20368         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20369         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20370         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20371         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20372         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20373         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20374         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20375         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20376         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20377         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20378         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20379         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20380         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20381         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20382         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20383         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20384         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20385         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20386         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20387         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20388         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20389         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20390         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20391         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20392         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20393         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20394         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20395         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20396         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20397         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20398         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20399         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20400         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20401         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20402         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20403         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20404         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20405         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20406         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20407         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20408         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20409         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20410         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20411         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20412         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20413         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20414         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20415         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20416         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20417         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20418         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20421         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20423         [BZ #14914]
20424         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20425         whole low double instead of just low 47 bits when splitting values
20426         into two parts.
20428 2012-12-03  Allan McRae  <allan@archlinux.org>
20430         * manual/stdio.texi (Predefined Printf Handlers): Remove
20431         @hsep and @vsep usage.
20433 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
20435         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20436         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20438 2012-12-03  Jeff Law  <law@redhat.com>
20440         * time/sys/time.h (settimeofday): Do not mark TV argument
20441         as __nonnull.
20443 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
20445         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20446         when currently writing and seek to current position when not.
20447         * libio/Makefile (tests): Remove bug-fclose1.
20448         * libio/bug-fclose1.c: Delete.
20450 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
20452         * manual/arith.texi (feenableexcept): Fix typo.
20453         (fedisableexcept): Likewise.
20455 2012-11-30  Roland McGrath  <roland@hack.frob.com>
20457         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20458         second, differently-typed declaration, rather than a cast.
20460 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20462         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20463         * include/rpc/svc.h: ... here.
20465 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
20467         [BZ #13013]
20468         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20469         depending n and resplen2 to catch cases where answer
20470         equals answerp2.
20472 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
20474         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20475         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20477 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
20479         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20481 2012-11-29  Roland McGrath  <roland@hack.frob.com>
20483         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20485 2012-11-28  Jeff Law  <law@redhat.com>
20487         [BZ #13761]
20488         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20489         dataset_temporary.  Track alloca usage into alloca_used.
20490         If dataset is large allocate and release it via malloc/free.
20492 2012-06-04  Florian Weimer  <fweimer@redhat.com>
20494         [BZ #14197]
20495         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20497 2012-11-28  David S. Miller  <davem@davemloft.net>
20499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20501 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20503         [BZ #14803]
20504         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20505         of pi/2 rounded to nearest to 64 bits.
20506         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20507         nearest to 64 bits.
20508         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20509         bits.
20511 2012-11-28  Jeff Law <law@redhat.com>
20512             Martin Osvald <mosvald@redhat.com>
20514         [BZ #14889]
20515         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20516         * sunrpc/svc.c: Include time.h.
20517         (__svc_accept_failed): New function.
20518         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20519         any reason other than EINTR, call __svc_accept_failed.
20520         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20521         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20523 2012-11-28  Andreas Schwab  <schwab@suse.de>
20525         * scripts/abilist.awk: Also handle indirect functions in .opd
20526         section.
20528 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20530         [BZ #13881]
20531         * sysdeps/x86/fpu/powl_helper.c: New file.
20532         * sysdeps/x86/fpu/Makefile: Likewise.
20533         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20534         (p3): New object.
20535         (__ieee754_powl): Use __powl_helper for finite arguments except
20536         integer exponents below 8.
20537         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20538         (p3): New object.
20539         (__ieee754_powl): Use __powl_helper for finite arguments except
20540         integer exponents below 8.
20541         * math/libm-test.inc (pow_test): Add more tests and enable some
20542         previously disabled tests.
20543         * sysdeps/i386/fpu/libm-test-ulps: Update.
20544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20546 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20547             Carlos O'Donell  <carlos_odonell@mentor.com>
20549         * nss/makedb.c (is_prime): Assert that input is odd and greater
20550         than 4.  Note that fact in a comment too.
20551         (next_prime): Add 4 to input.
20553 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20555         [BZ #11741]
20556         * libio/Makefile (tests): Add test case tst-fwrite-error.
20557         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20558         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20559         * libio/tst-fwrite-error.c: New test case.
20561 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
20563         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20564         before casting to void *.
20565         * include/libc-internal.h (__pointer_type): New macro.
20566         (__integer_if_pointer_type_sub): Likewise.
20567         (__integer_if_pointer_type): Likewise.
20568         (cast_to_integer): Likewise.
20569         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20570         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20571         before casting to atomic64_t.
20572         (atomic_exchange_acq): Likewise.
20573         (__arch_exchange_and_add_body): Likewise.
20574         (__arch_add_body): Likewise.
20575         (atomic_add_negative): Likewise.
20576         (atomic_add_zero): Likewise.
20578 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
20580         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20581         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20582         (add_fdes): Likewise.
20583         (linear_search_fdes): Likewise.
20584         (binary_search_unencoded_fdes): Likewise.
20586 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
20588         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20590 2012-11-24  Adam Conrad  <adconrad@0c3.net>
20592         * configure.in: Autodetect C++ header directories.
20593         * configure: Regenerated.
20595 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
20597         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20599 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
20601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20603 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
20605         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20606         LDBL_MANT_DIG == 106]: Disable some tests.
20607         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20608         Likewise.
20609         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20610         Likewise.
20612         [BZ #14871]
20613         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20614         input for small inputs.  Return +/- pi/2 for large inputs.
20615         * math/libm-test.inc (atan_test): Add more tests.
20617         * sysdeps/generic/unwind-dw2-fde-glibc.c
20618         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20619         __attribute__ ((unused)).
20621         [BZ #14645]
20622         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20623         x * y if x and y are nonzero and z is zero.
20625         [BZ #14811]
20626         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20627         nonzero exponents with absolute value below 0x1p-117 to +/-
20628         0x1p-117.
20630         [BZ #14869]
20631         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20632         up arguments below 2**-450, not just those below 2**-500.
20633         * math/libm-test.inc (hypot_test): Add another test.
20635         [BZ #14868]
20636         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20637         Return a+b for ratio over 2**120, not 2**60.
20638         * math/libm-test.inc (hypot_test): Add another test.
20640         * math/libm-test.inc (clog_test): Use
20641         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20642         (clog10_test): Likewise.
20644         [BZ #6778]
20645         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20647 2012-11-22  Andreas Schwab  <schwab@suse.de>
20649         * sysdeps/i386/fpu/libm-test-ulps: Update.
20651 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
20653         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20654         printf output with newline.
20656 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
20658         [BZ #14865]
20659         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20660         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20661         -z nodlopen, -z initfirst and -z execstack support.
20662         * configure: Regenerated.
20664         * elf/elf.h (DF_1_NODIRECT): New macro.
20665         (DF_1_IGNMULDEF): Likewise.
20666         (DF_1_NOKSYMS): Likewise.
20667         (DF_1_NOHDR): Likewise.
20668         (DF_1_EDITED): Likewise.
20669         (DF_1_NORELOC): Likewise.
20670         (DF_1_SYMINTPOSE): Likewise.
20671         (DF_1_GLOBAUDIT): Likewise.
20672         (DF_1_SINGLETON): Likewise.
20673         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20674         DT_1_SUPPORTED_MASK bits.
20675         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20677 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
20679         * sysdeps/unix/make-syscalls.sh: Document prefixes.
20681 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
20683         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20684         macro.
20686         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20687         (sendmmsg): Move declarations...
20688         * socket/sys/socket.h: ... here.
20689         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20690         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20691         include it from...
20692         * socket/recvmmsg.c: ... this new file.
20693         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20694         (sendmmsg): Rename to __sendmmsg, create weak alias and make
20695         definition of __sendmmsg hidden.
20696         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20697         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20698         Move ENOSYS stub into and include it from...
20699         * socket/sendmmsg.c: ... this new file.
20700         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20701         (sysdep_routines): Move recvmmsg and sendmmsg...
20702         * socket/Makefile (routines): ... here.
20703         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20704         (GLIBC_PRIVATE): Add __sendmmsg.
20705         * include/sys/socket.h (__sendmmsg): Add declarations.
20706         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20707         sendmmsg.
20709 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
20711         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20712         variable I1 with __attribute__ ((unused)).
20713         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20715 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20717         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20718         DUMMY variables with __attribute__ ((unused)).
20720         * bits/byteswap.h: Include <bits/types.h>.
20721         (__bswap_64): Use __uint64_t instead of unsigned long long int.
20723 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20725         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20726         string_t.  Do not manually set errno.
20727         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20728         length with __strnlen.  Make sure to both set errno and return it on
20729         failure.
20731 2012-11-19  David S. Miller  <davem@davemloft.net>
20733         With help from Joseph Myers.
20734         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20735         very large arguments properly.
20736         * math/libm-test.inc (atan_test): New tests.
20737         (atan2_test): New tests.
20738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20741 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20743         [BZ #14856]
20744         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20745         Define to 3.
20747         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20748         [POSIX] (EADDRNOTAVAIL): Likewise.
20749         [POSIX] (EAFNOSUPPORT): Likewise.
20750         [POSIX] (EALREADY): Likewise.
20751         [POSIX] (ECONNABORTED): Likewise.
20752         [POSIX] (ECONNREFUSED): Likewise.
20753         [POSIX] (ECONNRESET): Likewise.
20754         [POSIX] (EDESTADDRREQ): Likewise.
20755         [POSIX] (EDQUOT): Likewise.
20756         [POSIX] (EHOSTUNREACH): Likewise.
20757         [POSIX] (EIDRM): Likewise.
20758         [POSIX] (EISCONN): Likewise.
20759         [POSIX] (ELOOP): Likewise.
20760         [POSIX] (EMULTIHOP): Likewise.
20761         [POSIX] (ENETDOWN): Likewise.
20762         [POSIX] (ENETUNREACH): Likewise.
20763         [POSIX] (ENOBUFS): Likewise.
20764         [POSIX] (ENODATA): Likewise.
20765         [POSIX] (ENOLINK): Likewise.
20766         [POSIX] (ENOMSG): Likewise.
20767         [POSIX] (ENOPROTOOPT): Likewise.
20768         [POSIX] (ENOSR): Likewise.
20769         [POSIX] (ENOSTR): Likewise.
20770         [POSIX] (ENOTCONN): Likewise.
20771         [POSIX] (ENOTSOCK): Likewise.
20772         [POSIX] (EOPNOTSUPP): Likewise.
20773         [POSIX] (EOVERFLOW): Likewise.
20774         [POSIX] (EPROTO): Likewise.
20775         [POSIX] (EPROTONOSUPPORT): Likewise.
20776         [POSIX] (EPROTOTYPE): Likewise.
20777         [POSIX] (ESTALE): Likewise.
20778         [POSIX] (ETIME): Likewise.
20779         [POSIX] (ETXTBSY): Likewise.
20780         [POSIX] (EWOULDBLOCK): Likewise.
20781         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20782         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20783         [POSIX] (SEEK_CUR): Likewise.
20784         [POSIX] (SEEK_END): Likewise.
20785         [POSIX || UNIX98] (mode_t): Do not require.
20786         [POSIX] (off_t): Likewise.
20787         [POSIX] (pid_t): Likewise.
20788         [POSIX] (sys/stat.h): Do not allow header.
20789         [POSIX] (unistd.h): Likewise.
20790         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20791         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20792         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20793         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20794         require.
20795         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20796         sigevent): Specify elements.
20797         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20798         entry.
20799         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20800         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20802         * conform/data/cpio.h-data [POSIX]: Disable whole file.
20803         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20804         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20805         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20806         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20807         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20808         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20809         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20810         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20811         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20812         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20813         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20814         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20815         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20816         Likewise.
20817         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20818         Likewise.
20819         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20820         Likewise.
20821         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20822         Likewise.
20823         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20824         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20825         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20826         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20827         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20828         Specify lower bound on value.
20829         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20830         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20831         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20832         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20833         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20834         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20835         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20836         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20837         value.
20838         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20839         as optional.
20840         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20841         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20842         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20843         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20844         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20845         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20846         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20847         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20848         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20849         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20850         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20851         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20852         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20853         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20854         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20855         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20856         entry.
20857         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20858         optional.
20859         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20860         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20861         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20862         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20863         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20864         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20865         Likewise.
20866         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20867         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20868         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20869         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20870         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
20871         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20872         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20873         as optional.
20874         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20875         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20876         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20877         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20878         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20879         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20880         specify as optional.
20881         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20882         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20883         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20884         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20885         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20886         [XPG3] (NL_LANGMAX): Likewise.
20887         [POSIX || XPG3] (NL_MSGMAX): Likewise.
20888         [POSIX || XPG3] (NL_NMAX): Likewise.
20889         [POSIX || XPG3] (NL_SETMAX): Likewise.
20890         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20891         [XPG3] (NZERO): Likewise.
20892         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20893         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20894         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20895         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20896         (REG_ERANGE): Expect.
20897         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20898         optional-constant.
20899         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20900         Use (void) in prototype.
20901         [POSIX] (*_t): Allow.
20902         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20903         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20904         (WRDE_BADVAL): Expect.
20906         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20907         expect.
20908         [XPG3 || XPG4] (O_RSYNC): Likewise.
20909         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20910         Likewise.
20911         [XPG3 || XPG4] (pthread_sigmask): Likewise.
20912         [XPG3 || XPG4] (sigqueue): Likewise.
20913         [XPG3 || XPG4] (sigtimedwait): Likewise.
20914         [XPG3 || XPG4] (sigwaitinfo): Likewise.
20915         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20916         [XPG3 || XPG4] (vsnprintf): Likewise.
20917         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20918         Likewise.
20919         [XPG3 || XPG4] (blksize_t): Likewise.
20920         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20921         Likewise.
20922         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20923         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20924         [XPG3 || XPG4] (struct itimerspec): Likewise.
20925         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20926         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20927         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20928         [XPG3 || XPG4] (clockid_t): Likewise.
20929         [XPG3 || XPG4] (timer_t): Likewise.
20930         [XPG3 || XPG4] (clock_getres): Likewise.
20931         [XPG3 || XPG4] (clock_gettime): Likewise.
20932         [XPG3 || XPG4] (clock_settime): Likewise.
20933         [XPG3 || XPG4] (nanosleep): Likewise.
20934         [XPG3 || XPG4] (timer_create): Likewise.
20935         [XPG3 || XPG4] (timer_delete): Likewise.
20936         [XPG3 || XPG4] (timer_gettime): Likewise.
20937         [XPG3 || XPG4] (timer_getoverrun): Likewise.
20938         [XPG3 || XPG4] (timer_settime): Likewise.
20939         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20940         [XPG3 || XPG4] (getlogin_r): Likewise.
20941         [XPG3 || XPG4] (pread): Likewise.
20942         [XPG3 || XPG4] (pthread_atfork): Likewise.
20943         [XPG3 || XPG4] (pwrite): Likewise.
20945         [BZ #14835]
20946         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20947         <bits/siginfo.h>.
20949 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20951         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20952         finalizing MALLSTREAM.
20954         * sysdeps/mach/hurd/syncfs.c: New file.
20956 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20958         [BZ #14719]
20959         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20960         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20961         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20962         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20963         (_nss_dns_gethostbyname4_r): Likewise.
20964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20965         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20967 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
20969         [BZ #13763]
20970         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20972 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
20974         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20975         * elf/cache.c (print_entry): Print ",AArch64" for
20976         FLAG_AARCH64_LIB64
20978         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20979         * elf/cache.c (print_entry): Print ",hard-float" for
20980         FLAG_ARM_LIBHF.
20982 2012-11-18  David S. Miller  <davem@davemloft.net>
20984         With help from Joseph Myers.
20985         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20986         cutoff to 2**-13.
20987         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20988         cutoff to 2**-25.
20989         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20990         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20991         small.
20992         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20993         * math/libm-test.inc (y0_test): New tests.
20994         (y1_test): New tests.
20995         * sysdeps/i386/fpu/libm-test-ulps: Update.
20996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20999 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
21001         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21002         64-bit targets.
21003         * configure: Regenerated.
21005 2012-11-17  David S. Miller  <davem@davemloft.net>
21007         [BZ #14811]
21008         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21009         nonzero exponents with absolute value below 0x1p-128 to +/-
21010         0x1p-128.
21012 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
21014         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21016         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21018         * posix/getconf-speclist.c: New file.
21019         * posix/posix-envs.def: Likewise.
21020         * posix/confstr.c (START_ENV_GROUP): New macro.
21021         (END_ENV_GROUP): Likewise.
21022         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21023         (KNOWN_PRESENT_ENV_STRING): Likewise.
21024         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21025         (UNKNOWN_ENVIRONMENT): Likewise.
21026         (confstr): Include posix-envs.def instead of handling
21027         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21028         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21029         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21030         (END_ENV_GROUP): Likewise.
21031         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21032         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21033         (UNKNOWN_ENVIRONMENT): Likewise.
21034         (__sysconf): Include posix-envs.def instead of handling associated
21035         cases directly here.
21036         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21037         preprocessing getconf-speclist.c rather than running getconf or
21038         generating empty file.
21040 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
21042         * scripts/check-local-headers.sh: Ignore 'mach' headers.
21044 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
21046         [BZ #14672]
21047         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21049 2012-11-16  David S. Miller  <davem@davemloft.net>
21051         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21052         smaller than LDBL_EPSILON/2.0L, just return xm1.
21054 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
21056         * elf/tst-array1.c (init): Set constructor priority to 1000.
21057         (fini): Set destructor priority to 1000.
21058         * elf/tst-array2dep.c: Likewise.
21060 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21062         [BZ #11741]
21063         * libio/fileops.c (_IO_new_file_write): Correctly return error.
21064         (_IO_new_file_xsputn): Also return EOF if none of the input
21065         data was written when overflow failed.
21066         * libio/iopadn.c (_IO_padn): Likewise.
21067         * libio/iowpadn.c (_IO_wpadn): Likewise.
21068         * stdio-common/tst-put-error.c: Add copyright notice.
21069         (do_test): Add case for printing padded string.
21070         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21071         _IO_padn returned error.
21072         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21073         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21074         return EOF.
21076 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21078         * libio/libioP.h: Add comment note that the references to C++
21079         bits are now obsolete.
21081 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21083         * math/libm-test.inc (check_complex): Use asprintf.
21085 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
21087         * debug/pcprofiledump.c (print_version): Update copyright year.
21088         * malloc/memusagestat.c (print_version): Likewise.
21090 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
21092         [BZ #14831]
21093         * elf/Makefile (tests): Add tst-audit8.
21094         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21095         ($(objpfx)tst-audit8.out): New target.
21096         (tst-audit8-ENV): New variable.
21097         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21098         audit if l_reloc_result is NULL.
21099         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21100         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21101         * elf/tst-audit8.c: New file.
21103 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21105         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21106         * misc/Makefile (CFLAGS-select.c): Define.
21107         * posix/Makefile (CFLAGS-pause.c): Define.
21109 2012-11-13  David S. Miller  <davem@davemloft.net>
21111         * crypt/Makefile: Move test targets after toplevel Rules
21112         inclusion.  Grab any necessary sysdep routines when linking.
21113         * crypt/md5.c (md5_process_block): Remove define, we will always
21114         name it __md5_process_block.
21115         (md5_finish_ctx): Update md5_process_block call.
21116         (md5_stream): Likewise.
21117         (md5_process_bytes): Likewise.
21118         (md5_process_block): Rename to __md5_process_block and move to ...
21119         * crypt/md5-block.c: ... here.
21120         * crypt/sha256.c (sha256_process_block): Move to ...
21121         * crypt/sha256-block.c: ... here.
21122         * crypt/sha512.c (sha512_process_block): Move to ...
21123         * crypt/sha512-block.c: ... here.
21124         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21125         path.
21126         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21127         * sysdeps/sparc/sparc64/multiarch/Makefile
21128         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21129         crypt subdir.
21130         (localedef-aux): Add md5 crypto assembler when in locale subdir.
21131         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21132         multiarch changes.
21133         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21134         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21135         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21136         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21137         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21138         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21139         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21140         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21141         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21142         file.
21143         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21144         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21145         file.
21146         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21148 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
21150         * timezone/tzselect.ksh: Update from tzcode git revision
21151         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21152         * timezone/zdump.c: Likewise.
21153         * timezone/zic.c: Likewise.
21154         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21155         in TZVERSION setting, not $(PKGVERSION).
21156         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
21157         REPORT_BUGS_TO settings.
21159         [BZ #14838]
21160         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21161         macro.
21163 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21165         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21166         detection to immediately after _FP_ROUND().
21167         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21168         bits are 0.
21170 2012-11-11  David S. Miller  <davem@davemloft.net>
21172         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21173         inttypes.h
21174         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21175         __close rather than their public counterparts.
21177 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
21179         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21180         file.
21181         [UNIX98] (sem_timedwait): Do not expect.
21182         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21183         [XPG4 || UNIX98] (sockatmark): Do not expect.
21184         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21185         (clock_getcpuclockid): Do not expect.
21186         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21187         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21188         Do not expect.
21189         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21190         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21191         [UNIX98] (vwscanf): Likewise.
21192         [UNIX98] (vswscanf): Likewise.
21194 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
21196         * timezone/version.h: Remove file.
21197         * timezone/README: Do not refer to version.h.
21198         * timezone/Makefile ($(objpfx)zic.o): New dependency on
21199         $(objpfx)version.h.
21200         ($(objpfx)zdump.o): Likewise.
21201         ($(objpfx)version.h): New target.
21203         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21204         2012i.
21205         * timezone/README: Don't mention modification to tzselect.ksh.
21206         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21207         work on unmodified tzselect.ksh.  Substitute version numbers in
21208         tzselect.ksh.
21210         * Makefile (format-me): Remove.
21211         (INSTALL): Adjust indentation.  Use commands directly instead of
21212         using $(format-me).
21214         * aclocal.m4 (ACX_PKGVERSION): New macro.
21215         (ACX_BUGURL): Likewise.
21216         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21217         (PKGVERSION): New AC_DEFINE_UNQUOTED.
21218         (REPORT_BUGS_TO): Likewise.
21219         * configure: Regenerated.
21220         * config.h.in (PKGVERSION): New macro.
21221         (REPORT_BUGS_TO): Likewise.
21222         * config.make.in (PKGVERSION): New variable.
21223         (PKGVERSION_TEXI): Likewise.
21224         (REPORT_BUGS_TO): Likewise.
21225         (REPORT_BUGS_TEXI): Likewise.
21226         * Makefile (format-me): Use -I$(common-objpfx)manual.
21227         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21228         ($(common-objpfx)manual/%): New target.
21229         (manual/%): Remove target.
21230         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21231         (print_version): Use PKGVERSION.
21232         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21233         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21234         and REPORT_BUGS_TO.
21235         ($(objpfx)xtrace): Likewise.
21236         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21237         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21238         (print_version): Use PKGVERSION.
21239         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21240         (do_version): Use PKGVERSION.
21241         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21242         REPORT_BUGS_TO.
21243         (common-ldd-rewrite): Likewise.
21244         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21245         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21246         (print_version): Use PKGVERSION.
21247         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21248         * elf/pldd.c (argp_program_bug_address): Remove variable.
21249         (more_help): New function.
21250         (argp): Use more_help.
21251         (print_version): Use PKGVERSION.
21252         * elf/sln.c (main): Use PKGVERSION.
21253         (usage): Use REPORT_BUGS_TO.
21254         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21255         (top level): Use PKGVERSION.
21256         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21257         (print_version): Use PKGVERSION.
21258         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21259         (print_version): Use PKGVERSION.
21260         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21261         (print_version): Use PKGVERSION.
21262         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21263         (print_version): Use PKGVERSION.
21264         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21265         (print_version): Use PKGVERSION.
21266         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21267         (print_version): Use PKGVERSION.
21268         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21269         and BUGURL.
21270         ($(objpfx)memusage): Likewise.
21271         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21272         (do_version): Use PKGVERSION.
21273         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21274         (print_version): Use PKGVERSION.
21275         * malloc/mtrace.pl ($PACKAGE): Remove variable.
21276         ($PKGVERSION): New variable.
21277         ($REPORT_BUGS_TO): Likewise.
21278         (usage): Use $REPORT_BUGS_TO.
21279         (top level): Use $PKGVERSION.
21280         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21281         ($(objpfx)pkgvers.texi): New rule.
21282         ($(objpfx)stamp-pkgvers): Likewise.
21283         * manual/install.texi: Include pkgvers.texi.
21284         (--with-pkgversion): Document new configure option.
21285         (--with-bugurl): Likewise.
21286         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21287         than necessarily for this particular distribution.  Use
21288         REPORT_BUGS_TO for where to report bugs.
21289         * INSTALL: Regenerated.
21290         * manual/libc.texinfo: Include pkgvers.texi.
21291         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21292         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21293         (print_version): Use PKGVERSION.
21294         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21295         (print_version): Use PKGVERSION.
21296         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21297         (print_version): Use PKGVERSION.
21298         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21299         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21300         macro.
21301         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21302         (print_version): Use PKGVERSION.
21303         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21304         (print_version): Use PKGVERSION.
21305         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21306         and PKGVERSION.
21308         * timezone/checktab.awk: Update from tzcode 2012i.
21309         * timezone/ialloc.c: Likewise.
21310         * timezone/private.h: Likewise.
21311         * timezone/scheck.c: Likewise.
21312         * timezone/tzfile.h: Likewise.
21313         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21314         (TZVERSION): Hardcode tzcode version number.
21315         * timezone/zdump.c: Update from tzcode 2012i.
21316         * timezone/zic.c: Likewise.
21317         * timezone/version.h: New file.
21318         * timezone/README: Describe version.h.  Update upstream location.
21320         [BZ #14824]
21321         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21322         (mktemp): Enable declaration.
21323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21324         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21327         Likewise.
21328         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21329         Likewise.
21330         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21331         Likewise.
21332         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21333         Likewise.
21334         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21335         Likewise.
21336         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21337         Likewise.
21339         [BZ #14821]
21340         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21341         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
21342         for copies of such integer values.
21343         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21344         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21346 2012-11-09  Andreas Jaeger  <aj@suse.de>
21348         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21349         definitions and declarations that are provided by
21350         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21352 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21354         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21355         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21356         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21357         definition.
21359 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21361         * elf/elf.h: Update comment before AArch64 relocations.
21363 2012-11-07  David S. Miller  <davem@davemloft.net>
21365         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21366         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21367         (__start_context): Declare.
21368         (__makecontext_ret): Delete.
21369         (__makecontext): Hook up __start_context instead of
21370         __makecontext_ret.
21371         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21372         (sysdep_routines): Add __start_context when in stdlib.
21374 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21376         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21377         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21378         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
21379         hardcoded "nm".
21380         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
21381         (READELF): New variable.  Use it instead of hardcoded "readelf".
21383 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21385         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21386         * sysdeps/x86/Makefile: Here.
21387         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21388         * sysdeps/x86/tst-xmmymm.sh: This.
21390 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21392         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21393         expectations.
21394         [UNIX98] (pthread_barrier_t): Do not expect.
21395         [UNIX98] (pthread_barrierattr_t): Likewise.
21396         [UNIX98] (pthread_spinlock_t): Likewise.
21397         [UNIX98] (pthread_barrier_destroy): Likewise.
21398         [UNIX98] (pthread_barrier_init): Likewise.
21399         [UNIX98] (pthread_barrier_wait): Likewise.
21400         [UNIX98] (pthread_barrierattr_destroy): Likewise.
21401         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21402         [UNIX98] (pthread_barrierattr_init): Likewise.
21403         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21404         [UNIX98] (pthread_getcpuclockid): Likewise.
21405         [UNIX98] (pthread_mutex_timedlock): Likewise.
21406         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21407         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21408         [UNIX98] (pthread_sigmask): Likewise.
21409         [UNIX98] (pthread_spin_destroy): Likewise.
21410         [UNIX98] (pthread_spin_init): Likewise.
21411         [UNIX98] (pthread_spin_lock): Likewise.
21412         [UNIX98] (pthread_spin_trylock): Likewise.
21413         [UNIX98] (pthread_spin_unlock): Likewise.
21414         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21415         Do not expect.
21416         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21417         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21418         [XPG3 || XPG4] (pthread_cond_t): Likewise.
21419         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21420         [XPG3 || XPG4] (pthread_key_t): Likewise.
21421         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21422         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21423         [XPG3 || XPG4] (pthread_once_t): Likewise.
21424         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21425         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21426         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21427         [XPG3 || XPG4] (pthread_t): Likewise.
21429         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21430         not expect.
21431         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21433         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21434         Change function return type to int.
21436         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21437         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21438         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21439         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21440         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21441         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21442         [!POSIX] (posix_madvise): Likewise.
21443         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21444         && !UNIX98].
21445         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21446         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21447         (mode_t): Likewise.
21448         (posix_mem_offset): Likewise.
21449         (posix_typed_mem_get_info): Likewise.
21450         (posix_typed_mem_open): Likewise.
21452         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21453         Change condition to [XOPEN2K8].
21455         * conform/conformtest.pl: Preprocess allow-header data with -x c
21456         instead of from stdin.
21457         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21458         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21459         [C99-based standards] (cerfc): Likewise.
21460         [C99-based standards] (cexp2): Likewise.
21461         [C99-based standards] (cexpm1): Likewise.
21462         [C99-based standards] (clog10): Likewise.
21463         [C99-based standards] (clog1p): Likewise.
21464         [C99-based standards] (clog2): Likewise.
21465         [C99-based standards] (clgamma): Likewise.
21466         [C99-based standards] (ctgamma): Likewise.
21467         [C99-based standards] (cerff): Likewise.
21468         [C99-based standards] (cerfcf): Likewise.
21469         [C99-based standards] (cexp2f): Likewise.
21470         [C99-based standards] (cexpm1f): Likewise.
21471         [C99-based standards] (clog10f): Likewise.
21472         [C99-based standards] (clog1pf): Likewise.
21473         [C99-based standards] (clog2f): Likewise.
21474         [C99-based standards] (clgammaf): Likewise.
21475         [C99-based standards] (ctgammaf): Likewise.
21476         [C99-based standards] (cerfl): Likewise.
21477         [C99-based standards] (cerfcl): Likewise.
21478         [C99-based standards] (cexp2l): Likewise.
21479         [C99-based standards] (cexpm1l): Likewise.
21480         [C99-based standards] (clog10l): Likewise.
21481         [C99-based standards] (clog1pl): Likewise.
21482         [C99-based standards] (clog2l): Likewise.
21483         [C99-based standards] (clgammal): Likewise.
21484         [C99-based standards] (ctgammal): Likewise.
21485         * conform/data/inttypes.h-data [C99-based standards]: Include
21486         stdint.h-data.  Remove all expectations for stdint.h contents.
21487         [C99-based standards] (PRI*): Do not allow.
21488         [C99-based standards] (SCN*): Likewise.
21489         [C99-based standards] (*_t): Likewise.
21490         [C99-based-standards] (PRId8): Expect macro.
21491         [C99-based-standards] (PRIi8): Likewise.
21492         [C99-based-standards] (PRIo8): Likewise.
21493         [C99-based-standards] (PRIu8): Likewise.
21494         [C99-based-standards] (PRIx8): Likewise.
21495         [C99-based-standards] (PRIX8): Likewise.
21496         [C99-based-standards] (SCNd8): Likewise.
21497         [C99-based-standards] (SCNi8): Likewise.
21498         [C99-based-standards] (SCNo8): Likewise.
21499         [C99-based-standards] (SCNu8): Likewise.
21500         [C99-based-standards] (SCNx8): Likewise.
21501         [C99-based-standards] (PRIdLEAST8): Likewise.
21502         [C99-based-standards] (PRIiLEAST8): Likewise.
21503         [C99-based-standards] (PRIoLEAST8): Likewise.
21504         [C99-based-standards] (PRIuLEAST8): Likewise.
21505         [C99-based-standards] (PRIxLEAST8): Likewise.
21506         [C99-based-standards] (PRIXLEAST8): Likewise.
21507         [C99-based-standards] (SCNdLEAST8): Likewise.
21508         [C99-based-standards] (SCNiLEAST8): Likewise.
21509         [C99-based-standards] (SCNoLEAST8): Likewise.
21510         [C99-based-standards] (SCNuLEAST8): Likewise.
21511         [C99-based-standards] (SCNxLEAST8): Likewise.
21512         [C99-based-standards] (PRIdFAST8): Likewise.
21513         [C99-based-standards] (PRIiFAST8): Likewise.
21514         [C99-based-standards] (PRIoFAST8): Likewise.
21515         [C99-based-standards] (PRIuFAST8): Likewise.
21516         [C99-based-standards] (PRIxFAST8): Likewise.
21517         [C99-based-standards] (PRIXFAST8): Likewise.
21518         [C99-based-standards] (SCNdFAST8): Likewise.
21519         [C99-based-standards] (SCNiFAST8): Likewise.
21520         [C99-based-standards] (SCNoFAST8): Likewise.
21521         [C99-based-standards] (SCNuFAST8): Likewise.
21522         [C99-based-standards] (SCNxFAST8): Likewise.
21523         [C99-based-standards] (PRId16): Likewise.
21524         [C99-based-standards] (PRIi16): Likewise.
21525         [C99-based-standards] (PRIo16): Likewise.
21526         [C99-based-standards] (PRIu16): Likewise.
21527         [C99-based-standards] (PRIx16): Likewise.
21528         [C99-based-standards] (PRIX16): Likewise.
21529         [C99-based-standards] (SCNd16): Likewise.
21530         [C99-based-standards] (SCNi16): Likewise.
21531         [C99-based-standards] (SCNo16): Likewise.
21532         [C99-based-standards] (SCNu16): Likewise.
21533         [C99-based-standards] (SCNx16): Likewise.
21534         [C99-based-standards] (PRIdLEAST16): Likewise.
21535         [C99-based-standards] (PRIiLEAST16): Likewise.
21536         [C99-based-standards] (PRIoLEAST16): Likewise.
21537         [C99-based-standards] (PRIuLEAST16): Likewise.
21538         [C99-based-standards] (PRIxLEAST16): Likewise.
21539         [C99-based-standards] (PRIXLEAST16): Likewise.
21540         [C99-based-standards] (SCNdLEAST16): Likewise.
21541         [C99-based-standards] (SCNiLEAST16): Likewise.
21542         [C99-based-standards] (SCNoLEAST16): Likewise.
21543         [C99-based-standards] (SCNuLEAST16): Likewise.
21544         [C99-based-standards] (SCNxLEAST16): Likewise.
21545         [C99-based-standards] (PRIdFAST16): Likewise.
21546         [C99-based-standards] (PRIiFAST16): Likewise.
21547         [C99-based-standards] (PRIoFAST16): Likewise.
21548         [C99-based-standards] (PRIuFAST16): Likewise.
21549         [C99-based-standards] (PRIxFAST16): Likewise.
21550         [C99-based-standards] (PRIXFAST16): Likewise.
21551         [C99-based-standards] (SCNdFAST16): Likewise.
21552         [C99-based-standards] (SCNiFAST16): Likewise.
21553         [C99-based-standards] (SCNoFAST16): Likewise.
21554         [C99-based-standards] (SCNuFAST16): Likewise.
21555         [C99-based-standards] (SCNxFAST16): Likewise.
21556         [C99-based-standards] (PRId32): Likewise.
21557         [C99-based-standards] (PRIi32): Likewise.
21558         [C99-based-standards] (PRIo32): Likewise.
21559         [C99-based-standards] (PRIu32): Likewise.
21560         [C99-based-standards] (PRIx32): Likewise.
21561         [C99-based-standards] (PRIX32): Likewise.
21562         [C99-based-standards] (SCNd32): Likewise.
21563         [C99-based-standards] (SCNi32): Likewise.
21564         [C99-based-standards] (SCNo32): Likewise.
21565         [C99-based-standards] (SCNu32): Likewise.
21566         [C99-based-standards] (SCNx32): Likewise.
21567         [C99-based-standards] (PRIdLEAST32): Likewise.
21568         [C99-based-standards] (PRIiLEAST32): Likewise.
21569         [C99-based-standards] (PRIoLEAST32): Likewise.
21570         [C99-based-standards] (PRIuLEAST32): Likewise.
21571         [C99-based-standards] (PRIxLEAST32): Likewise.
21572         [C99-based-standards] (PRIXLEAST32): Likewise.
21573         [C99-based-standards] (SCNdLEAST32): Likewise.
21574         [C99-based-standards] (SCNiLEAST32): Likewise.
21575         [C99-based-standards] (SCNoLEAST32): Likewise.
21576         [C99-based-standards] (SCNuLEAST32): Likewise.
21577         [C99-based-standards] (SCNxLEAST32): Likewise.
21578         [C99-based-standards] (PRIdFAST32): Likewise.
21579         [C99-based-standards] (PRIiFAST32): Likewise.
21580         [C99-based-standards] (PRIoFAST32): Likewise.
21581         [C99-based-standards] (PRIuFAST32): Likewise.
21582         [C99-based-standards] (PRIxFAST32): Likewise.
21583         [C99-based-standards] (PRIXFAST32): Likewise.
21584         [C99-based-standards] (SCNdFAST32): Likewise.
21585         [C99-based-standards] (SCNiFAST32): Likewise.
21586         [C99-based-standards] (SCNoFAST32): Likewise.
21587         [C99-based-standards] (SCNuFAST32): Likewise.
21588         [C99-based-standards] (SCNxFAST32): Likewise.
21589         [C99-based-standards] (PRId64): Likewise.
21590         [C99-based-standards] (PRIi64): Likewise.
21591         [C99-based-standards] (PRIo64): Likewise.
21592         [C99-based-standards] (PRIu64): Likewise.
21593         [C99-based-standards] (PRIx64): Likewise.
21594         [C99-based-standards] (PRIX64): Likewise.
21595         [C99-based-standards] (SCNd64): Likewise.
21596         [C99-based-standards] (SCNi64): Likewise.
21597         [C99-based-standards] (SCNo64): Likewise.
21598         [C99-based-standards] (SCNu64): Likewise.
21599         [C99-based-standards] (SCNx64): Likewise.
21600         [C99-based-standards] (PRIdLEAST64): Likewise.
21601         [C99-based-standards] (PRIiLEAST64): Likewise.
21602         [C99-based-standards] (PRIoLEAST64): Likewise.
21603         [C99-based-standards] (PRIuLEAST64): Likewise.
21604         [C99-based-standards] (PRIxLEAST64): Likewise.
21605         [C99-based-standards] (PRIXLEAST64): Likewise.
21606         [C99-based-standards] (SCNdLEAST64): Likewise.
21607         [C99-based-standards] (SCNiLEAST64): Likewise.
21608         [C99-based-standards] (SCNoLEAST64): Likewise.
21609         [C99-based-standards] (SCNuLEAST64): Likewise.
21610         [C99-based-standards] (SCNxLEAST64): Likewise.
21611         [C99-based-standards] (PRIdFAST64): Likewise.
21612         [C99-based-standards] (PRIiFAST64): Likewise.
21613         [C99-based-standards] (PRIoFAST64): Likewise.
21614         [C99-based-standards] (PRIuFAST64): Likewise.
21615         [C99-based-standards] (PRIxFAST64): Likewise.
21616         [C99-based-standards] (PRIXFAST64): Likewise.
21617         [C99-based-standards] (SCNdFAST64): Likewise.
21618         [C99-based-standards] (SCNiFAST64): Likewise.
21619         [C99-based-standards] (SCNoFAST64): Likewise.
21620         [C99-based-standards] (SCNuFAST64): Likewise.
21621         [C99-based-standards] (SCNxFAST64): Likewise.
21622         [C99-based-standards] (PRIdMAX): Likewise.
21623         [C99-based-standards] (PRIiMAX): Likewise.
21624         [C99-based-standards] (PRIoMAX): Likewise.
21625         [C99-based-standards] (PRIuMAX): Likewise.
21626         [C99-based-standards] (PRIxMAX): Likewise.
21627         [C99-based-standards] (PRIXMAX): Likewise.
21628         [C99-based-standards] (SCNdMAX): Likewise.
21629         [C99-based-standards] (SCNiMAX): Likewise.
21630         [C99-based-standards] (SCNoMAX): Likewise.
21631         [C99-based-standards] (SCNuMAX): Likewise.
21632         [C99-based-standards] (SCNxMAX): Likewise.
21633         [C99-based-standards] (PRIdPTR): Likewise.
21634         [C99-based-standards] (PRIiPTR): Likewise.
21635         [C99-based-standards] (PRIoPTR): Likewise.
21636         [C99-based-standards] (PRIuPTR): Likewise.
21637         [C99-based-standards] (PRIxPTR): Likewise.
21638         [C99-based-standards] (PRIXPTR): Likewise.
21639         [C99-based-standards] (SCNdPTR): Likewise.
21640         [C99-based-standards] (SCNiPTR): Likewise.
21641         [C99-based-standards] (SCNoPTR): Likewise.
21642         [C99-based-standards] (SCNuPTR): Likewise.
21643         [C99-based-standards] (SCNxPTR): Likewise.
21644         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21645         allow.
21646         * conform/data/stdint.h-data: Update comments to clarify
21647         requirements.
21648         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
21649         type.
21650         [C99-based standards] (INT8_MAX): Likewise.
21651         [C99-based standards] (INT16_MIN): Likewise.
21652         [C99-based standards] (INT16_MAX): Likewise.
21653         [C99-based standards] (INT32_MIN): Likewise.
21654         [C99-based standards] (INT32_MAX): Likewise.
21655         [C99-based standards] (INT64_MIN): Likewise.
21656         [C99-based standards] (INT64_MAX): Likewise.
21657         [C99-based standards] (UINT8_MAX): Likewise.
21658         [C99-based standards] (UINT16_MAX): Likewise.
21659         [C99-based standards] (UINT32_MAX): Likewise.
21660         [C99-based standards] (UINT64_MAX): Likewise.
21661         [C99-based standards] (INT_LEAST8_MIN): Likewise.
21662         [C99-based standards] (INT_LEAST8_MAX): Likewise.
21663         [C99-based standards] (INT_LEAST16_MIN): Likewise.
21664         [C99-based standards] (INT_LEAST16_MAX): Likewise.
21665         [C99-based standards] (INT_LEAST32_MIN): Likewise.
21666         [C99-based standards] (INT_LEAST32_MAX): Likewise.
21667         [C99-based standards] (INT_LEAST64_MIN): Likewise.
21668         [C99-based standards] (INT_LEAST64_MAX): Likewise.
21669         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21670         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21671         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21672         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21673         [C99-based standards] (INT_FAST8_MIN): Likewise.
21674         [C99-based standards] (INT_FAST8_MAX): Likewise.
21675         [C99-based standards] (INT_FAST16_MIN): Likewise.
21676         [C99-based standards] (INT_FAST16_MAX): Likewise.
21677         [C99-based standards] (INT_FAST32_MIN): Likewise.
21678         [C99-based standards] (INT_FAST32_MAX): Likewise.
21679         [C99-based standards] (INT_FAST64_MIN): Likewise.
21680         [C99-based standards] (INT_FAST64_MAX): Likewise.
21681         [C99-based standards] (UINT_FAST8_MAX): Likewise.
21682         [C99-based standards] (UINT_FAST16_MAX): Likewise.
21683         [C99-based standards] (UINT_FAST32_MAX): Likewise.
21684         [C99-based standards] (UINT_FAST64_MAX): Likewise.
21685         [C99-based standards] (INTPTR_MIN): Likewise.
21686         [C99-based standards] (INTPTR_MAX): Likewise.
21687         [C99-based standards] (UINTPTR_MAX): Likewise.
21688         [C99-based standards] (INTMAX_MIN): Likewise.
21689         [C99-based standards] (INTMAX_MAX): Likewise.
21690         [C99-based standards] (UINTMAX_MAX): Likewise.
21691         [C99-based standards] (PTRDIFF_MIN): Likewise.
21692         [C99-based standards] (PTRDIFF_MAX): Likewise.
21693         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21694         [C99-based standards] (SIZE_MAX): Likewise.
21695         [C99-based standards] (WCHAR_MAX): Likewise.
21696         [C99-based standards] (WINT_MAX): Likewise.
21697         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
21698         constraint on value.
21699         [C99-based standards] (WCHAR_MIN): Likewise.
21700         [C99-based standards] (WINT_MIN): Likewise.
21701         [C99-based standards] (*_t): Allow.
21702         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21703         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21704         Include math.h-data and complex.h-data.  Remove all expectations
21705         of math.h and complex.h contents.
21706         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21707         at end of line.
21708         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21709         (struct tm): Expect tag.
21710         [C99-based-standards] (wcstof): Expect function.
21711         [C99-based-standards] (wcstold): Likewise.
21712         [C99-based-standards] (wcstoll): Likewise.
21713         [C99-based-standards] (wcstoull): Likewise.
21714         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21715         macro-int-constant.  Specify type.
21716         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
21717         constraint on value.
21718         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21719         Specify type.
21720         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21721         Specify value.
21722         [ISO C standards]: Do not allow headers.
21723         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21724         wcs[abcdefghijklmnopqrstuvwxyz]*.
21725         [ISO C standards] (*_t): Do not allow.
21726         * conform/data/wctype.h-data [C99-based standards] (iswblank):
21727         Expect function.
21728         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21729         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21730         Specify type.
21731         [ISO C standards]: Do not allow headers.
21732         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21733         is[abcdefghijklmnopqrstuvwxyz]*.
21734         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21735         to[abcdefghijklmnopqrstuvwxyz]*.
21736         [ISO C standards] (*_t): Do not allow.
21737         * conform/data/stdalign.h-data: New file.
21738         * conform/data/stdbool.h-data: Likewise.
21739         * conform/data/stdnoreturn.h-data: Likewise.
21741 2012-11-07  Roland McGrath  <roland@hack.frob.com>
21743         [BZ #14815]
21744         * manual/filesys.texi (Directory Entries): Typo fix.
21745         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21747 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21749         * elf/elf.h (EM_AARCH64): New macro.
21750         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21751         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21752         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21753         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21754         (R_AARCH64_TLSDESC): Likewise.
21755         (NT_ARM_TLS): Likewise.
21756         (NT_ARM_HW_BREAK): Likewise.
21757         (NT_ARM_HW_WATCH): Likewise.
21759 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21761         [BZ #14811]
21762         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21763         (__ieee754_powl): Saturate nonzero exponents with absolute value
21764         below 0x1p-79 to +/- 0x1p-79.
21765         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21766         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21767         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21768         nonzero exponents with absolute value below 0x1p-32 to +/-
21769         0x1p-32.
21770         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21771         (__ieee754_powl): Saturate nonzero exponents with absolute value
21772         below 0x1p-79 to +/- 0x1p-79.
21773         * math/libm-test.inc (pow_test): Add more tests.
21775 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21777         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21778         _dl_s390_cap_flags with kernel. Increase string length.
21779         (_dl_s390_platforms): Add z196 and zEC12.
21781 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21783         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21784         Change XOPEN21K to XOPEN2K.
21786 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
21788         * string/memmove.c: Use memcpy when possible.
21790 2012-11-06  Andreas Jaeger  <aj@suse.de>
21792         * po/eo.po: Update from translation team.
21794 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
21796         [BZ #14793]
21797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21798         exponent and small x and y exponents, scale x or y up.  Increase
21799         by 2 the exponent used in scaling up.
21800         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21801         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21802         * math/libm-test.inc (fma_test): Add more tests.
21803         (fma_test_towardzero): Likewise.
21804         (fma_test_downward): Likewise.
21805         (fma_test_upward): Likewise.
21807 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
21809         [BZ #14805]
21810         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21811         fenv_t *.
21813         [BZ #14801]
21814         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21815         namespace for names of struct fields.
21816         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21817         fenv_t fields.
21818         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21819         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21821 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21823         [BZ #3665]
21824         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21826 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21828         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21829         PTR_DEMANGLE.
21831         [BZ #5246]
21832         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21833         PTR_DEMANGLE.
21835 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
21837         [BZ #14797]
21838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21839         definitely overflow as x * y not x * y + z.
21840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21841         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21842         * math/libm-test.inc (fma_test): Add more tests.
21843         (fma_test_towardzero): Likewise.
21844         (fma_test_downward): Likewise.
21845         (fma_test_upward): Likewise.
21847 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21849         [BZ #157]
21851         * include/stub-tag.h: Remove file.
21852         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21853         '#include' of it.
21854         * manual/maint.texi (Porting): Don't reference it.
21855         * Makerules ($(objpfx)stubs): Likewise.
21856         * dirent/closedir.c: Don't include <stub-tag.h>.
21857         * dirent/dirfd.c: Likewise.
21858         * dirent/fdopendir.c: Likewise.
21859         * dirent/getdents.c: Likewise.
21860         * dirent/getdents64.c: Likewise.
21861         * dirent/opendir.c: Likewise.
21862         * dirent/readdir.c: Likewise.
21863         * dirent/readdir64.c: Likewise.
21864         * dirent/readdir64_r.c: Likewise.
21865         * dirent/readdir_r.c: Likewise.
21866         * dirent/rewinddir.c: Likewise.
21867         * dirent/seekdir.c: Likewise.
21868         * dirent/telldir.c: Likewise.
21869         * gmon/profil.c: Likewise.
21870         * grp/setgroups.c: Likewise.
21871         * inet/if_index.c: Likewise.
21872         * io/access.c: Likewise.
21873         * io/chdir.c: Likewise.
21874         * io/chmod.c: Likewise.
21875         * io/chown.c: Likewise.
21876         * io/close.c: Likewise.
21877         * io/dup.c: Likewise.
21878         * io/dup2.c: Likewise.
21879         * io/dup3.c: Likewise.
21880         * io/euidaccess.c: Likewise.
21881         * io/faccessat.c: Likewise.
21882         * io/fchdir.c: Likewise.
21883         * io/fchmod.c: Likewise.
21884         * io/fchmodat.c: Likewise.
21885         * io/fchown.c: Likewise.
21886         * io/fchownat.c: Likewise.
21887         * io/fcntl.c: Likewise.
21888         * io/flock.c: Likewise.
21889         * io/fstatfs.c: Likewise.
21890         * io/fstatfs64.c: Likewise.
21891         * io/fstatvfs.c: Likewise.
21892         * io/fstatvfs64.c: Likewise.
21893         * io/futimens.c: Likewise.
21894         * io/fxstat.c: Likewise.
21895         * io/fxstat64.c: Likewise.
21896         * io/fxstatat.c: Likewise.
21897         * io/fxstatat64.c: Likewise.
21898         * io/getcwd.c: Likewise.
21899         * io/isatty.c: Likewise.
21900         * io/lchmod.c: Likewise.
21901         * io/lchown.c: Likewise.
21902         * io/link.c: Likewise.
21903         * io/linkat.c: Likewise.
21904         * io/lseek.c: Likewise.
21905         * io/lseek64.c: Likewise.
21906         * io/lxstat64.c: Likewise.
21907         * io/mkdir.c: Likewise.
21908         * io/mkdirat.c: Likewise.
21909         * io/mkfifo.c: Likewise.
21910         * io/mkfifoat.c: Likewise.
21911         * io/open.c: Likewise.
21912         * io/open64.c: Likewise.
21913         * io/openat.c: Likewise.
21914         * io/openat64.c: Likewise.
21915         * io/pipe.c: Likewise.
21916         * io/pipe2.c: Likewise.
21917         * io/poll.c: Likewise.
21918         * io/posix_fadvise.c: Likewise.
21919         * io/posix_fadvise64.c: Likewise.
21920         * io/posix_fallocate.c: Likewise.
21921         * io/posix_fallocate64.c: Likewise.
21922         * io/read.c: Likewise.
21923         * io/readlink.c: Likewise.
21924         * io/readlinkat.c: Likewise.
21925         * io/rmdir.c: Likewise.
21926         * io/sendfile.c: Likewise.
21927         * io/sendfile64.c: Likewise.
21928         * io/statfs.c: Likewise.
21929         * io/statfs64.c: Likewise.
21930         * io/statvfs.c: Likewise.
21931         * io/statvfs64.c: Likewise.
21932         * io/symlink.c: Likewise.
21933         * io/symlinkat.c: Likewise.
21934         * io/ttyname.c: Likewise.
21935         * io/ttyname_r.c: Likewise.
21936         * io/umask.c: Likewise.
21937         * io/unlink.c: Likewise.
21938         * io/unlinkat.c: Likewise.
21939         * io/utime.c: Likewise.
21940         * io/utimensat.c: Likewise.
21941         * io/write.c: Likewise.
21942         * io/xmknod.c: Likewise.
21943         * io/xmknodat.c: Likewise.
21944         * io/xstat.c: Likewise.
21945         * io/xstat64.c: Likewise.
21946         * login/getpt.c: Likewise.
21947         * login/grantpt.c: Likewise.
21948         * login/unlockpt.c: Likewise.
21949         * math/e_acoshl.c: Likewise.
21950         * math/e_acosl.c: Likewise.
21951         * math/e_asinl.c: Likewise.
21952         * math/e_atan2l.c: Likewise.
21953         * math/e_atanhl.c: Likewise.
21954         * math/e_coshl.c: Likewise.
21955         * math/e_expl.c: Likewise.
21956         * math/e_fmodl.c: Likewise.
21957         * math/e_gammal_r.c: Likewise.
21958         * math/e_hypotl.c: Likewise.
21959         * math/e_j0l.c: Likewise.
21960         * math/e_j1l.c: Likewise.
21961         * math/e_jnl.c: Likewise.
21962         * math/e_lgammal_r.c: Likewise.
21963         * math/e_log10l.c: Likewise.
21964         * math/e_log2l.c: Likewise.
21965         * math/e_logl.c: Likewise.
21966         * math/e_powl.c: Likewise.
21967         * math/e_rem_pio2l.c: Likewise.
21968         * math/e_sinhl.c: Likewise.
21969         * math/e_sqrtl.c: Likewise.
21970         * math/fclrexcpt.c: Likewise.
21971         * math/fedisblxcpt.c: Likewise.
21972         * math/feenablxcpt.c: Likewise.
21973         * math/fegetenv.c: Likewise.
21974         * math/fegetexcept.c: Likewise.
21975         * math/fegetround.c: Likewise.
21976         * math/feholdexcpt.c: Likewise.
21977         * math/fesetenv.c: Likewise.
21978         * math/fesetround.c: Likewise.
21979         * math/feupdateenv.c: Likewise.
21980         * math/fgetexcptflg.c: Likewise.
21981         * math/fraiseexcpt.c: Likewise.
21982         * math/fsetexcptflg.c: Likewise.
21983         * math/ftestexcept.c: Likewise.
21984         * math/k_cosl.c: Likewise.
21985         * math/k_rem_pio2l.c: Likewise.
21986         * math/k_sinl.c: Likewise.
21987         * math/k_tanl.c: Likewise.
21988         * math/s_asinhl.c: Likewise.
21989         * math/s_atanl.c: Likewise.
21990         * math/s_cbrtl.c: Likewise.
21991         * math/s_erfl.c: Likewise.
21992         * math/s_expm1l.c: Likewise.
21993         * math/s_log1pl.c: Likewise.
21994         * math/s_tanhl.c: Likewise.
21995         * misc/acct.c: Likewise.
21996         * misc/brk.c: Likewise.
21997         * misc/chflags.c: Likewise.
21998         * misc/chroot.c: Likewise.
21999         * misc/fchflags.c: Likewise.
22000         * misc/fgetxattr.c: Likewise.
22001         * misc/flistxattr.c: Likewise.
22002         * misc/fremovexattr.c: Likewise.
22003         * misc/fsetxattr.c: Likewise.
22004         * misc/fsync.c: Likewise.
22005         * misc/ftruncate.c: Likewise.
22006         * misc/futimes.c: Likewise.
22007         * misc/futimesat.c: Likewise.
22008         * misc/getdomain.c: Likewise.
22009         * misc/getdtsz.c: Likewise.
22010         * misc/gethostid.c: Likewise.
22011         * misc/gethostname.c: Likewise.
22012         * misc/getloadavg.c: Likewise.
22013         * misc/getpagesize.c: Likewise.
22014         * misc/getsysstats.c: Likewise.
22015         * misc/getxattr.c: Likewise.
22016         * misc/gtty.c: Likewise.
22017         * misc/ioctl.c: Likewise.
22018         * misc/lgetxattr.c: Likewise.
22019         * misc/listxattr.c: Likewise.
22020         * misc/llistxattr.c: Likewise.
22021         * misc/lremovexattr.c: Likewise.
22022         * misc/lsetxattr.c: Likewise.
22023         * misc/lutimes.c: Likewise.
22024         * misc/madvise.c: Likewise.
22025         * misc/mincore.c: Likewise.
22026         * misc/mlock.c: Likewise.
22027         * misc/mlockall.c: Likewise.
22028         * misc/mmap.c: Likewise.
22029         * misc/mprotect.c: Likewise.
22030         * misc/msync.c: Likewise.
22031         * misc/munlock.c: Likewise.
22032         * misc/munlockall.c: Likewise.
22033         * misc/munmap.c: Likewise.
22034         * misc/preadv.c: Likewise.
22035         * misc/preadv64.c: Likewise.
22036         * misc/ptrace.c: Likewise.
22037         * misc/pwritev.c: Likewise.
22038         * misc/pwritev64.c: Likewise.
22039         * misc/readv.c: Likewise.
22040         * misc/reboot.c: Likewise.
22041         * misc/remap_file_pages.c: Likewise.
22042         * misc/removexattr.c: Likewise.
22043         * misc/revoke.c: Likewise.
22044         * misc/select.c: Likewise.
22045         * misc/setdomain.c: Likewise.
22046         * misc/setegid.c: Likewise.
22047         * misc/seteuid.c: Likewise.
22048         * misc/sethostid.c: Likewise.
22049         * misc/sethostname.c: Likewise.
22050         * misc/setregid.c: Likewise.
22051         * misc/setreuid.c: Likewise.
22052         * misc/setxattr.c: Likewise.
22053         * misc/sstk.c: Likewise.
22054         * misc/stty.c: Likewise.
22055         * misc/swapoff.c: Likewise.
22056         * misc/swapon.c: Likewise.
22057         * misc/sync.c: Likewise.
22058         * misc/syncfs.c: Likewise.
22059         * misc/syscall.c: Likewise.
22060         * misc/truncate.c: Likewise.
22061         * misc/ualarm.c: Likewise.
22062         * misc/usleep.c: Likewise.
22063         * misc/ustat.c: Likewise.
22064         * misc/utimes.c: Likewise.
22065         * misc/vhangup.c: Likewise.
22066         * misc/writev.c: Likewise.
22067         * posix/_exit.c: Likewise.
22068         * posix/alarm.c: Likewise.
22069         * posix/execve.c: Likewise.
22070         * posix/fexecve.c: Likewise.
22071         * posix/fork.c: Likewise.
22072         * posix/fpathconf.c: Likewise.
22073         * posix/getaddrinfo.c: Likewise.
22074         * posix/getegid.c: Likewise.
22075         * posix/geteuid.c: Likewise.
22076         * posix/getgid.c: Likewise.
22077         * posix/getgroups.c: Likewise.
22078         * posix/getlogin.c: Likewise.
22079         * posix/getlogin_r.c: Likewise.
22080         * posix/getpgid.c: Likewise.
22081         * posix/getpid.c: Likewise.
22082         * posix/getppid.c: Likewise.
22083         * posix/getresgid.c: Likewise.
22084         * posix/getresuid.c: Likewise.
22085         * posix/getsid.c: Likewise.
22086         * posix/getuid.c: Likewise.
22087         * posix/glob64.c: Likewise.
22088         * posix/nanosleep.c: Likewise.
22089         * posix/pathconf.c: Likewise.
22090         * posix/pause.c: Likewise.
22091         * posix/posix_madvise.c: Likewise.
22092         * posix/pread.c: Likewise.
22093         * posix/pread64.c: Likewise.
22094         * posix/pwrite.c: Likewise.
22095         * posix/pwrite64.c: Likewise.
22096         * posix/sched_getaffinity.c: Likewise.
22097         * posix/sched_getp.c: Likewise.
22098         * posix/sched_gets.c: Likewise.
22099         * posix/sched_primax.c: Likewise.
22100         * posix/sched_primin.c: Likewise.
22101         * posix/sched_rr_gi.c: Likewise.
22102         * posix/sched_setaffinity.c: Likewise.
22103         * posix/sched_setp.c: Likewise.
22104         * posix/sched_sets.c: Likewise.
22105         * posix/sched_yield.c: Likewise.
22106         * posix/setgid.c: Likewise.
22107         * posix/setlogin.c: Likewise.
22108         * posix/setpgid.c: Likewise.
22109         * posix/setresgid.c: Likewise.
22110         * posix/setresuid.c: Likewise.
22111         * posix/setsid.c: Likewise.
22112         * posix/setuid.c: Likewise.
22113         * posix/sleep.c: Likewise.
22114         * posix/spawni.c: Likewise.
22115         * posix/sysconf.c: Likewise.
22116         * posix/times.c: Likewise.
22117         * posix/wait.c: Likewise.
22118         * posix/wait3.c: Likewise.
22119         * posix/wait4.c: Likewise.
22120         * posix/waitpid.c: Likewise.
22121         * resolv/gai_sigqueue.c: Likewise.
22122         * resource/getpriority.c: Likewise.
22123         * resource/getrlimit.c: Likewise.
22124         * resource/getrusage.c: Likewise.
22125         * resource/nice.c: Likewise.
22126         * resource/setpriority.c: Likewise.
22127         * resource/setrlimit.c: Likewise.
22128         * resource/ulimit.c: Likewise.
22129         * rt/aio_cancel.c: Likewise.
22130         * rt/aio_fsync.c: Likewise.
22131         * rt/aio_read.c: Likewise.
22132         * rt/aio_sigqueue.c: Likewise.
22133         * rt/aio_suspend.c: Likewise.
22134         * rt/aio_write.c: Likewise.
22135         * rt/clock_getres.c: Likewise.
22136         * rt/clock_gettime.c: Likewise.
22137         * rt/clock_nanosleep.c: Likewise.
22138         * rt/clock_settime.c: Likewise.
22139         * rt/lio_listio.c: Likewise.
22140         * rt/mq_close.c: Likewise.
22141         * rt/mq_getattr.c: Likewise.
22142         * rt/mq_notify.c: Likewise.
22143         * rt/mq_open.c: Likewise.
22144         * rt/mq_receive.c: Likewise.
22145         * rt/mq_send.c: Likewise.
22146         * rt/mq_setattr.c: Likewise.
22147         * rt/mq_timedreceive.c: Likewise.
22148         * rt/mq_timedsend.c: Likewise.
22149         * rt/mq_unlink.c: Likewise.
22150         * rt/shm_open.c: Likewise.
22151         * rt/shm_unlink.c: Likewise.
22152         * rt/timer_create.c: Likewise.
22153         * rt/timer_delete.c: Likewise.
22154         * rt/timer_getoverr.c: Likewise.
22155         * rt/timer_gettime.c: Likewise.
22156         * rt/timer_settime.c: Likewise.
22157         * setjmp/__longjmp.c: Likewise.
22158         * setjmp/setjmp.c: Likewise.
22159         * signal/kill.c: Likewise.
22160         * signal/killpg.c: Likewise.
22161         * signal/raise.c: Likewise.
22162         * signal/sigaction.c: Likewise.
22163         * signal/sigaltstack.c: Likewise.
22164         * signal/sigblock.c: Likewise.
22165         * signal/sigignore.c: Likewise.
22166         * signal/sigintr.c: Likewise.
22167         * signal/signal.c: Likewise.
22168         * signal/sigpause.c: Likewise.
22169         * signal/sigpending.c: Likewise.
22170         * signal/sigqueue.c: Likewise.
22171         * signal/sigreturn.c: Likewise.
22172         * signal/sigset.c: Likewise.
22173         * signal/sigsetmask.c: Likewise.
22174         * signal/sigstack.c: Likewise.
22175         * signal/sigsuspend.c: Likewise.
22176         * signal/sigtimedwait.c: Likewise.
22177         * signal/sigvec.c: Likewise.
22178         * signal/sigwait.c: Likewise.
22179         * signal/sigwaitinfo.c: Likewise.
22180         * signal/sysv_signal.c: Likewise.
22181         * socket/accept.c: Likewise.
22182         * socket/accept4.c: Likewise.
22183         * socket/bind.c: Likewise.
22184         * socket/connect.c: Likewise.
22185         * socket/getpeername.c: Likewise.
22186         * socket/getsockname.c: Likewise.
22187         * socket/getsockopt.c: Likewise.
22188         * socket/isfdtype.c: Likewise.
22189         * socket/listen.c: Likewise.
22190         * socket/recv.c: Likewise.
22191         * socket/recvfrom.c: Likewise.
22192         * socket/recvmsg.c: Likewise.
22193         * socket/send.c: Likewise.
22194         * socket/sendmsg.c: Likewise.
22195         * socket/sendto.c: Likewise.
22196         * socket/setsockopt.c: Likewise.
22197         * socket/shutdown.c: Likewise.
22198         * socket/sockatmark.c: Likewise.
22199         * socket/socket.c: Likewise.
22200         * socket/socketpair.c: Likewise.
22201         * stdio-common/ctermid.c: Likewise.
22202         * stdio-common/cuserid.c: Likewise.
22203         * stdio-common/remove.c: Likewise.
22204         * stdio-common/rename.c: Likewise.
22205         * stdio-common/renameat.c: Likewise.
22206         * stdio-common/tempname.c: Likewise.
22207         * stdlib/getcontext.c: Likewise.
22208         * stdlib/makecontext.c: Likewise.
22209         * stdlib/setcontext.c: Likewise.
22210         * stdlib/swapcontext.c: Likewise.
22211         * stdlib/system.c: Likewise.
22212         * streams/fattach.c: Likewise.
22213         * streams/fdetach.c: Likewise.
22214         * streams/getmsg.c: Likewise.
22215         * streams/getpmsg.c: Likewise.
22216         * streams/putmsg.c: Likewise.
22217         * streams/putpmsg.c: Likewise.
22218         * sysdeps/unix/bsd/getpt.c: Likewise.
22219         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22220         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22221         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22223         Likewise.
22224         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22225         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22226         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22227         * sysvipc/msgctl.c: Likewise.
22228         * sysvipc/msgget.c: Likewise.
22229         * sysvipc/msgrcv.c: Likewise.
22230         * sysvipc/msgsnd.c: Likewise.
22231         * sysvipc/semctl.c: Likewise.
22232         * sysvipc/semget.c: Likewise.
22233         * sysvipc/semop.c: Likewise.
22234         * sysvipc/semtimedop.c: Likewise.
22235         * sysvipc/shmat.c: Likewise.
22236         * sysvipc/shmctl.c: Likewise.
22237         * sysvipc/shmdt.c: Likewise.
22238         * sysvipc/shmget.c: Likewise.
22239         * termios/tcdrain.c: Likewise.
22240         * termios/tcflow.c: Likewise.
22241         * termios/tcflush.c: Likewise.
22242         * termios/tcgetattr.c: Likewise.
22243         * termios/tcgetpgrp.c: Likewise.
22244         * termios/tcsendbrk.c: Likewise.
22245         * termios/tcsetattr.c: Likewise.
22246         * termios/tcsetpgrp.c: Likewise.
22247         * time/adjtime.c: Likewise.
22248         * time/clock.c: Likewise.
22249         * time/getitimer.c: Likewise.
22250         * time/gettimeofday.c: Likewise.
22251         * time/setitimer.c: Likewise.
22252         * time/settimeofday.c: Likewise.
22253         * time/stime.c: Likewise.
22254         * time/time.c: Likewise.
22256 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
22258         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22259         /usr/old/bin.
22261         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22262         instead of spaces.
22263         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22265 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
22267         [BZ #14796]
22268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22269         FE_TONEAREST before applying Dekker multiplication and Knuth
22270         addition.  Clear inexact exceptions and check for exact zero
22271         results afterwards.
22272         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22273         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22274         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22275         * math/libm-test.inc (fma_test): Add more tests.
22276         (fma_test_towardzero): Likewise.
22277         (fma_test_downward): Likewise.
22278         (fma_test_upward): Likewise.
22279         * sysdeps/generic/math_private.h (default_libc_fesetround): New
22280         function.
22281         (libc_fesetround): New macro.
22282         (libc_fesetroundf): Likewise.
22283         (libc_fesetroundl): Likewise.
22284         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22285         function.
22286         (libc_fesetround_387): Likewise.
22287         (libc_fesetroundf): New macro.
22288         (libc_fesetround): Likewise.
22289         (libc_fesetroundl): Likewise.
22290         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22291         function.
22292         (libc_fesetroundf): New macro.
22293         (libc_fesetround): Likewise.
22294         (libc_fesetroundl): Likewise.
22295         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22296         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22297         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22298         libm_hidden_ver.
22299         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22300         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22301         libm_hidden_def.
22302         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22303         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22304         libm_hidden_ver.
22305         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22306         libm_hidden_def.
22308         [BZ #3439]
22309         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22310         integer constant usable in #if and use that to give value to enum
22311         constant.
22312         (FE_DIVBYZERO): Likewise.
22313         (FE_UNDERFLOW): Likewise.
22314         (FE_OVERFLOW): Likewise.
22315         (FE_INVALID): Likewise.
22316         (FE_INVALID_SNAN): Likewise.
22317         (FE_INVALID_ISI): Likewise.
22318         (FE_INVALID_IDI): Likewise.
22319         (FE_INVALID_ZDZ): Likewise.
22320         (FE_INVALID_IMZ): Likewise.
22321         (FE_INVALID_COMPARE): Likewise.
22322         (FE_INVALID_SOFTWARE): Likewise.
22323         (FE_INVALID_SQRT): Likewise.
22324         (FE_INVALID_INTEGER_CONVERSION): Likewise.
22325         (FE_TONEAREST): Likewise.
22326         (FE_TOWARDZERO): Likewise.
22327         (FE_UPWARD): Likewise.
22328         (FE_DOWNWARD): Likewise.
22329         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22330         (FE_DIVBYZERO): Likewise.
22331         (FE_OVERFLOW): Likewise.
22332         (FE_UNDERFLOW): Likewise.
22333         (FE_INEXACT): Likewise.
22334         (FE_TONEAREST): Likewise.
22335         (FE_DOWNWARD): Likewise.
22336         (FE_UPWARD): Likewise.
22337         (FE_TOWARDZERO): Likewise.
22338         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22339         (FE_UNDERFLOW): Likewise.
22340         (FE_OVERFLOW): Likewise.
22341         (FE_DIVBYZERO): Likewise.
22342         (FE_INVALID): Likewise.
22343         (FE_TONEAREST): Likewise.
22344         (FE_TOWARDZERO): Likewise.
22345         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22346         (FE_OVERFLOW): Likewise.
22347         (FE_UNDERFLOW): Likewise.
22348         (FE_DIVBYZERO): Likewise.
22349         (FE_INEXACT): Likewise.
22350         (FE_TONEAREST): Likewise.
22351         (FE_TOWARDZERO): Likewise.
22352         (FE_UPWARD): Likewise.
22353         (FE_DOWNWARD): Likewise.
22354         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22355         (FE_DIVBYZERO): Likewise.
22356         (FE_OVERFLOW): Likewise.
22357         (FE_UNDERFLOW): Likewise.
22358         (FE_INEXACT): Likewise.
22359         (FE_TONEAREST): Likewise.
22360         (FE_DOWNWARD): Likewise.
22361         (FE_UPWARD): Likewise.
22362         (FE_TOWARDZERO): Likewise.
22364 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
22366         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22368 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
22370         * scripts/cross-test-ssh.sh (command): Use newlines to separate
22371         commands.  Quote $PWD.
22372         (blacklist_exports): Don't use remove_newlines.  Replace "declare
22373         -x" by "export".
22374         (remove_newlines): Remove.
22376 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
22378         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22379         * stdlib/stdlib.h (atof): Moved to ...
22380         * include/bits/stdlib-float.h: Here.  New file.
22381         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22382         * stdlib/bits/stdlib-float.h: New file.
22383         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22384         -mno-sse -mno-mmx.
22385         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22386         <xmmintrin.h>.
22388 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22390         * conform/conformtest.pl (@headers): Add fenv.h.
22391         * conform/data/fenv.h-data: New file.
22392         * include/fenv.h [_ISOMAC]: Disable all contents of file except
22393         include of <math/fenv.h>.
22395         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22396         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22397         && !UNIX98].  Enables tests for XOPEN2K8.
22398         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22399         POSIX2008]: Likewise.
22401         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22402         (struct rusage): Do not expect type or its members.
22404         [BZ #3439]
22405         * math/math.h (FP_NAN): Define macro to integer constant usable in
22406         #if and use that to give value to enum constant.
22407         (FP_INFINITE): Likewise.
22408         (FP_ZERO): Likewise.
22409         (FP_SUBNORMAL): Likewise.
22410         (FP_NORMAL): Likewise.
22412 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
22414         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22415         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22416         arguments.
22418 2012-11-02  Roland McGrath  <roland@hack.frob.com>
22420         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22421         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22422         autoconf-time if not.
22423         * configure.in: Remove AC_PREREQ.
22425 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22427         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22428         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22429         of the internal implementation.
22431 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22433         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22434         except include of <misc/sys/syslog.h>.
22436 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22439         function returns with a NULL context exit with zero.
22441 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22443         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22445 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
22447         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22448         (run_program_cmd): This.
22449         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22450         (tst_langinfo): New variable.  Use it.
22452 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
22454         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22455         floating point opcodes.
22457 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22459         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22460         variable.
22462         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22464         * sysdeps/mach/hurd/powerpc: Remove directory.
22465         * sysdeps/mach/powerpc: Likewise.
22467 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22469         * scripts/check-local-headers.sh: Ignore c++ headers.
22471 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22473         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22474         __libc_cleanup_region_start argument.
22476 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
22478         [BZ #14784]
22479         [BZ #14785]
22480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22481         x * y using scaling, not as x * y + z.
22482         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22483         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22484         * math/libm-test.inc (fma_test): Add more tests.
22485         (fma_test_towardzero): Likewise.
22486         (fma_test_downward): Likewise.
22487         (fma_test_upward): Likewise.
22489 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22491         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22493 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22495         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22496         New variable.
22498 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
22500         * rt/tst-shm.c (worker): Correct checking for mmap failure.
22502 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22505         Fix sort order.
22506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22507         Likewise.
22509 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22512         Fix the order of the list for glibc 2.17.
22513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22514         Likewise.
22516 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22520 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22522         [BZ #14610]
22523         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22524         for low part of x being zero before using __atanl (y).
22525         * math/libm-test.inc (atan2_test): Add another test.
22527         * manual/install.texi (Configuring and compiling): Document
22528         general use of test-wrapper and test-wrapper-env.
22529         * INSTALL: Regenerated.
22531         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22532         (__fma): Do not extract and scale down low bits on after-rounding
22533         systems when result rounded to normal precision would have normal
22534         exponent.
22535         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22536         (__fmal): Do not extract and scale down low bits on after-rounding
22537         systems when result rounded to normal precision would have normal
22538         exponent.
22539         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22540         (__fmal): Do not extract and scale down low bits on after-rounding
22541         systems when result rounded to normal precision would have normal
22542         exponent.
22543         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22544         macro.
22545         (fma_test): Add more tests.
22546         (fma_test_towardzero): Likewise.
22547         (fma_test_downward): Likewise.
22548         (fma_test_upward): Likewise.
22550 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
22552         * sysdeps/i386/tininess.h: Renamed to ...
22553         * sysdeps/x86/tininess.h: This.
22554         * sysdeps/x86_64/tininess.h: Removed.
22556 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22558         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22559         input.  Use $(build-program-cmd).
22560         ($(objpfx)tst-array1-static.out): Likewise.
22561         ($(objpfx)tst-array2.out): Likewise.
22562         ($(objpfx)tst-array3.out): Likewise.
22563         ($(objpfx)tst-array4.out): Likewise.
22564         ($(objpfx)tst-array5.out): Likewise.
22565         ($(objpfx)tst-array5-static.out): Likewise.
22567 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
22569         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22570         if defined.
22572         * nss/nsswitch.h (nss_interface_function): Provide new
22573         macro for use with NSS functions.
22574         * grp/initgroups.c: Use new macro.
22575         * nss/getXXbyYY.c: Likewise.
22576         * nss/getXXbyYY_r.c: Likewise.
22577         * nss/getXXent.c: Likewise.
22578         * nss/getXXent_r.c: Likewise.
22579         * sysdeps/posix/getaddrinfo.c: Likewise.
22581 2012-10-30  Andreas Jaeger  <aj@suse.de>
22583         * po/ru.po: Update Russion translation from translation project.
22585 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22587         [BZ #14152]
22588         [BZ #14783]
22589         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22590         result and shift together with sticky bit instead of replicating
22591         round-to-nearest rounding.
22592         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22593         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22594         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
22595         missing underflow exceptions.
22596         (fma_test_towardzero): Add more tests.
22597         (fma_test_downward): Likewise.
22598         (fma_test_upward): Likewise.
22600         [BZ #14047]
22601         * sysdeps/generic/tininess.h: New file.
22602         * sysdeps/i386/tininess.h: Likewise.
22603         * sysdeps/sh/tininess.h: Likewise.
22604         * sysdeps/x86_64/tininess.h: Likewise.
22605         * stdlib/tst-strtod-underflow.c: Likewise.
22606         * stdlib/tst-tininess.c: Likewise.
22607         * stdlib/strtod_l.c: Include <tininess.h>.
22608         (round_and_return): Do not set errno for exact underflow cases.
22609         Force an underflow exception when setting errno for underflow.
22610         Determine underflow based on rounding to normal precision if
22611         TININESS_AFTER_ROUNDING.
22612         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22613         ERANGE for exact underflow cases.
22614         * stdlib/Makefile (tests): Add tst-tininess and
22615         tst-strtod-underflow.
22616         ($(objpfx)tst-tininess): Use $(link-libm).
22617         ($(objpfx)tst-strtod-underflow): Likewise.
22619 2012-10-30  Andreas Jaeger  <aj@suse.de>
22621         [BZ#14767]
22622         * elf/Makefile (tests): Remove conditional for have-initfini-array
22623         since this is now always required and the variable does not exist
22624         anymore.
22625         (tests-static): Likewise.
22626         (modules-names): Likewise.
22628         * po/eo.po: Add Esperanto translation from translation project.
22630         * elf/tst-array1.c (fini_array): Make writeable so that it can be
22631         merged with constructor/destructor.
22632         (init_array): Likewise.
22633         * elf/tst-array2dep.c (fini_array): Likewise.
22634         (init_array): Likewise.
22636 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
22638         * manual/message.texi: Delete @cartouche tags.
22640 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
22642         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22643         EOPNOTSUPP.
22644         * sysdeps/mach/hurd/fsync.c: Likewise.
22646         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22647         [_POSIX_REALTIME_SIGNALS]: Change condition to
22648         [_POSIX_REALTIME_SIGNALS > 0].
22650 2012-10-27  Andreas Jaeger  <aj@suse.de>
22652         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22653         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22654         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22655         [__WORDSIZE != 64]: Likewise.
22657 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
22659         *  iconvdata/tst-table.sh: Remove ${SHELL}.
22660         *  iconvdata/tst-tables.sh: Likewise.
22662 2012-10-25  David S. Miller  <davem@davemloft.net>
22664         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22665         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22666         of strtoull.
22668         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22669         ifunc-impl-list.c
22670         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22671         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22672         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22673         file.
22675 2012-10-25  Roland McGrath  <roland@hack.frob.com>
22677         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22678         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22679         __getdirentries.
22681 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22682             Jim Blandy  <jimb@codesourcery.com>
22684         * scripts/cross-test-ssh.sh: New file.
22685         * manual/install.texi (Configuring and compiling): Document use of
22686         cross-test-ssh.sh.
22687         * INSTALL: Regenerated.
22689 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
22691         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22692         EOPNOTSUPP.
22694 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22696         * Makeconfig (run-program-prefix): Fix comment.
22698 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22699             Jim Blandy  <jimb@codesourcery.com>
22701         * Makeconfig (test-wrapper): New variable,
22702         (test-wrapper-env): Likewise.
22703         [$(cross-compiling) = yes && $(test-wrapper) != ""]
22704         (run-built-tests): Define to yes.
22705         (run-program-prefix): Use $(test-wrapper).
22706         (built-program-cmd): Likewise.
22707         * Rules (make-test-out): Use $(test-wrapper-env) and
22708         $(host-built-program-cmd).
22709         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22710         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22711         tst-pathopt.sh.
22712         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22713         $(test-wrapper-env) to tst-rtld-load-self.sh.
22714         ($(objpfx)order2.out): Use $(test-wrapper).
22715         ($(objpfx)tst-initorder.out): Likewise.
22716         ($(objpfx)tst-initorder2.out): Likewise.
22717         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22718         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22719         (test_wrapper_env): New variable.  Use it to run ld.so.
22720         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22721         Use it to run ld.so.
22722         (test_wrapper_env): Likewise.
22723         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22724         $(test-wrapper) to run-iconv-test.sh.
22725         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22726         (ICONV): Use $test_wrapper.
22727         * posix/Makefile ($(objpfx)globtest.out): Pass
22728         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22729         globtest.sh, not $(run-program-prefix).
22730         * posix/globtest.sh (run_via_rtld_prefix): New variable.
22731         (test_wrapper): Likewise.
22732         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
22733         set together with run_via_rtld_prefix.
22734         (run_program_prefix): Define in terms of test_wrapper and
22735         run_via_rtld_prefix.
22737 2012-10-24  Roland McGrath  <roland@hack.frob.com>
22739         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22740         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22741         Targets removed.
22743         [BZ #14743]
22744         * include/time.h: Remove librt_hidden_proto (clock_gettime).
22745         Declare __clock_getres, __clock_gettime, __clock_settime,
22746         __clock_nanosleep, and __clock_getcpuclockid.
22747         * rt/clock_gettime.c: Define __clock_gettime as an alias.
22748         Remove librt_hidden_def (clock_gettime).
22749         * sysdeps/unix/clock_gettime.c: Likewise.
22750         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22751         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22752         * rt/clock_getres.c: Define __clock_getres as an alias.
22753         * sysdeps/posix/clock_getres.c: Likewise.
22754         * rt/clock_settime.c: Define __clock_settime as an alias.
22755         * sysdeps/unix/clock_settime.c: Likewise.
22756         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22757         * sysdeps/unix/clock_nanosleep.c: Likewise.
22758         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22759         * rt/clock-compat.c: New file.
22760         * rt/Makefile (librt-routines): Add clock-compat and move
22761         $(clock-routines) to ...
22762         (routines): ... here, new variable.
22763         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22764         Don't add get_clockfreq here.
22765         * rt/Versions (libc: GLIBC_2.17): New version set.
22766         Add clock_* symbols here.
22767         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
22768         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22769         (GLIBC_2.17): Add clock_* symbols.
22770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22772         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22774         Likewise.
22775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22776         Likewise.
22777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22781         * NEWS: Mention the move.
22783         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22784         Use __open, __read, __close rather than their public counterparts.
22785         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22786         (__get_clockfreq_via_cpuinfo): Likewise.
22787         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22788         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22790         * config.h.in (HAVE_IFUNC): New #undef.
22791         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22792         was successful.
22793         * configure: Regenerated.
22795 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22797         * configure.in: Move READELF check to start of file.
22798         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22799         libc_cv_asm_gnu_indirect_function in the process.
22800         * configure: Regenerated.
22802 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22804         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22805         send the output to /dev/null.
22806         (libc_cv_cc_with_libunwind): Likewise.
22807         (libc_cv_as_noexecstack): Likewise.
22808         * configure: Regenerate.
22810 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22812         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22814         * posix/globtest.sh (TMPDIR): Do not set.
22815         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22816         (testout): Likewise.
22818 2012-10-24  Andreas Jaeger  <aj@suse.de>
22820         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22821         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22822         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22823         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22824         posix_fadvise64, posix_fallocate64.
22826         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22827         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22828         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22829         Likewise.
22830         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22831         Likewise.
22832         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22835         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22836         <bits/fcntl-linux.h>.
22837         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22839         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22840         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22841         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22842         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22843         [__WORDSIZE != 64]: Likewise.
22845 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22847         * Makeconfig (run-built-tests): New variable.
22848         * Rules [$(cross-compiling) = yes]: Change condition to
22849         [$(run-built-tests) = no].
22850         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22851         to [$(run-built-tests) = yes].
22852         * elf/Makefile [$(cross-compiling) = no]: Likewise
22853         * grp/Makefile [$(cross-compiling) = no]: Likewise.
22854         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22855         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22856         * intl/Makefile [$(cross-compiling) = no]: Likewise.
22857         * io/Makefile [$(cross-compiling) = no]: Likewise.
22858         * libio/Makefile [$(cross-compiling) = no]: Likewise.
22859         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22860         * misc/Makefile [$(cross-compiling) = no]: Likewise.
22861         * posix/Makefile [$(cross-compiling) = no]: Likewise.
22862         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22863         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22864         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22865         * string/Makefile [$(cross-compiling) = no]: Likewise.
22867         * posix/Makefile ($(objpfx)globtest.out): Pass
22868         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22869         $(rtld-installed-name).
22870         * posix/globtest.sh (elf_objpfx): Remove variable.
22871         (rtld_installed_name): Likewise.
22872         (library_path): Likewise.
22873         (run_program_prefix): New variable.  Use for running globtest
22874         binary.
22876 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
22877             Joseph Myers  <joseph@codesourcery.com>
22879         * Makeconfig (host-built-program-cmd): New variable.
22880         * elf/Makefile (tst-stackguard1-ARGS): Use
22881         $(host-built-program-cmd).
22882         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22883         (tst-spawn-ARGS): Likewise.
22884         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22886 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22887             Jim Blandy  <jimb@codesourcery.com>
22889         * Makeconfig (run-via-rtld-prefix): New variable.
22890         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22891         (built-program-cmd): Likewise.
22893 2012-10-22  Andreas Jaeger  <aj@suse.de>
22895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22896         __O_RSYNC if it exists, otherwise to O_SYNC.
22898 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
22899             Joseph Myers  <joseph@codesourcery.com>
22901         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22902         /dev/null.
22903         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22904         from /dev/null
22905         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22906         /dev/null.
22908 2012-10-22  Andreas Jaeger  <aj@suse.de>
22910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22911         Define always.
22912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22914         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22915         bits/fcntl-linux.h.
22917         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22918         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22921         to __O_LARGEFILE.
22922         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22923         to __O_LARGEFILE.
22925 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
22926             Joseph Myers  <joseph@codesourcery.com>
22928         * config.make.in (NM): New variable.
22930 2012-10-21  Andreas Jaeger  <aj@suse.de>
22932         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22933         definitions and declarations that are provided by
22934         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22936 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22938         [BZ #14683]
22939         * elf/Makefile (tests-static): Add tst-leaks1-static.
22940         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22941         ($(objpfx)tst-leaks1-static): New rule.
22942         ($(objpfx)tst-leaks1-static-mem): Likewise.
22943         (tst-leaks1-static-ENV): New macro.
22944         * elf/dl-open.c (dl_open_worker): Check the main application
22945         only if SHARED is defined.
22946         * elf/tst-leaks1-static.c: New file.
22948 2012-10-20  Andreas Jaeger  <aj@suse.de>
22950         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22951         generic values for Linux.
22952         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22953         and declarations that are provided by <bits/fcntl-linux.h> and
22954         include <bits/fcntl-linux.h>.
22955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22956         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22958 2012-10-20  Roland McGrath  <roland@hack.frob.com>
22960         * io/fcntl.h: Move include of <bits/types.h> to the top and
22961         include it unconditionally.
22963 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22965         * wcsmbs/Makefile (tests-ifunc): New variable.
22966         (tests): Add $(tests-ifunc).
22967         * wcsmbs/test-wcschr-ifunc.c: New file.
22968         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22969         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22970         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22971         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22972         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22974         * string/Makefile (tests-ifunc): New variable.
22975         (tests): Add $(tests-ifunc).
22976         * string/test-memccpy.c (TEST_NAME): New macro.
22977         * string/test-memchr.c (TEST_NAME): Likewise.
22978         * string/test-memcmp.c (TEST_NAME): Likewise.
22979         * string/test-memcpy.c (TEST_NAME): Likewise.
22980         * string/test-memmem.c (TEST_NAME): Likewise.
22981         * string/test-memmove.c (TEST_NAME): Likewise.
22982         * string/test-memset.c (TEST_NAME): Likewise.
22983         * string/test-rawmemchr.c (TEST_NAME): Likewise.
22984         * string/test-stpcpy.c (TEST_NAME): Likewise.
22985         * string/test-stpncpy.c (TEST_NAME): Likewise.
22986         * string/test-strcasecmp.c (TEST_NAME): Likewise.
22987         * string/test-strcasestr.c (TEST_NAME): Likewise.
22988         * string/test-strcat.c (TEST_NAME): Likewise.
22989         * string/test-strchr.c (TEST_NAME): Likewise.
22990         * string/test-strcmp.c(TEST_NAME): Likewise.
22991         * string/test-strcpy.c (TEST_NAME): Likewise.
22992         * string/test-strcspn.c (TEST_NAME): Likewise.
22993         * string/test-strlen.c (TEST_NAME): Likewise.
22994         * string/test-strncasecmp.c (TEST_NAME): Likewise.
22995         * string/test-strncmp.c (TEST_NAME): Likewise.
22996         * string/test-strncpy.c (TEST_NAME): Likewise.
22997         * string/test-strnlen.c (TEST_NAME): Likewise.
22998         * string/test-strpbrk.c (TEST_NAME): Likewise.
22999         * string/test-strrchr.c (TEST_NAME): Likewise.
23000         * string/test-strspn.c (TEST_NAME): Likewise.
23001         * string/test-strstr.c (TEST_NAME): Likewise.
23002         * string/test-bcopy-ifunc.c: New file.
23003         * string/test-bzero-ifunc.c: Likewise.
23004         * string/test-memccpy-ifunc.c: Likewise.
23005         * string/test-memchr-ifunc.c: Likewise.
23006         * string/test-memcmp-ifunc.c: Likewise.
23007         * string/test-memcpy-ifunc.c: Likewise.
23008         * string/test-memmem-ifunc.c: Likewise.
23009         * string/test-memmove-ifunc.c: Likewise.
23010         * string/test-mempcpy-ifunc.c: Likewise.
23011         * string/test-memset-ifunc.c: Likewise.
23012         * string/test-rawmemchr-ifunc.c: Likewise.
23013         * string/test-stpcpy-ifunc.c: Likewise.
23014         * string/test-stpncpy-ifunc.c: Likewise.
23015         * string/test-strcasecmp-ifunc.c: Likewise.
23016         * string/test-strcasestr-ifunc.c: Likewise.
23017         * string/test-strcat-ifunc.c: Likewise.
23018         * string/test-strchr-ifunc.c: Likewise.
23019         * string/test-strchrnul-ifunc.c: Likewise.
23020         * string/test-strcmp-ifunc.c: Likewise.
23021         * string/test-strcpy-ifunc.c: Likewise.
23022         * string/test-strcspn-ifunc.c: Likewise.
23023         * string/test-strlen-ifunc.c: Likewise.
23024         * string/test-strncasecmp-ifunc.c: Likewise.
23025         * string/test-strncat-ifunc.c: Likewise.
23026         * string/test-strncmp-ifunc.c: Likewise.
23027         * string/test-strncpy-ifunc.c: Likewise.
23028         * string/test-strnlen-ifunc.c: Likewise.
23029         * string/test-strpbrk-ifunc.c: Likewise.
23030         * string/test-strrchr-ifunc.c: Likewise.
23031         * string/test-strspn-ifunc.c: Likewise.
23032         * string/test-strstr-ifunc.c: Likewise.
23034         * debug/Makefile (tests-ifunc): New variable.
23035         (tests): Add $(tests-ifunc).
23036         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23037         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23038         * debug/test-stpcpy_chk-ifunc.c: New file.
23039         * debug/test-strcpy_chk-ifunc.c: Likewise.
23041 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23043         [BZ #13601]
23044         * elf/dl-load.c (open_verify): Retry read if the entire ELF
23045         header is not read in.
23047 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
23049         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
23050         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
23051         directly.  Pass built executable to script as
23052         $(built-program-cmd).
23053         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
23054         $testprogram without using LD_LIBRARY_PATH and $ldso.
23056         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23057         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23058         $(rtld-installed-name).
23059         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23060         (rtld_installed_name): Likewise.
23061         (library_path): Likewise.
23062         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
23063         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23064         $(run-program-prefix) to tst-tables.sh.
23065         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
23066         it to run tst-table-from and tst-table-to.
23067         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23068         Pass it to tst-table.sh.
23069         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23070         $(run-program-prefix) to tst-gettext.sh.
23071         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23072         tst-translit.sh.
23073         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23074         tst-gettext2.sh.
23075         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
23076         to run tst-gettext.
23077         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
23078         to run tst-gettext2.
23079         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
23080         to run tst-translit.
23081         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23082         $(run-program-prefix) to tst-mtrace.sh.
23083         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
23084         to run tst-mtrace.
23085         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23086         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23087         $(rtld-installed-name).
23088         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23089         (rtld_installed_name): Likewise.
23090         (run_program_prefix): New variable.  Use it to run wordexp-test.
23092         * Makeconfig (ARCH): Remove all definitions.
23093         (machine): Likewise.
23094         [ARCH]: Remove conditional code.
23095         [!objdir]: Give error.
23096         [!objdir] (objpfx): Remove.
23097         [!objdir] (common-objpfx): Likewise.
23098         [!objdir] (common-objdir): Likewise.
23099         * configure.in (config_makefile): Remove.  Hardcode Makefile in
23100         AC_CONFIG_FILES call.
23101         * configure: Regenerated.
23103         [BZ #13888]
23104         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23105         or TMPDIR.
23106         (testout): Likewise.
23108         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23109         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23110         $(rtld-installed-name).
23111         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23112         (rtld_installed_name): Likwise.
23113         (runit): Remove function.
23114         (run_getconf): New variable,  Use it for running getconf binary.
23116 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
23118         [BZ #14716]
23119         * string/test-memmem.c (check_result): New function.
23120         (do_one_test): Use it.
23121         (check1): New function.
23122         (test_main): Use it.
23124 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
23126         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23128 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
23130         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23131         (_G_LSEEK64): Likewise.
23132         (_G_MMAP64): Likewise.
23133         (_G_FSTAT64): Likewise.
23134         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23135         (_G_LSEEK64): Likewise.
23136         (_G_MMAP64): Likewise.
23137         (_G_FSTAT64): Likewise.
23138         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23139         unconditional.  Call __mmap64 directly.
23140         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23141         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
23142         __lseek64 directly.
23143         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23144         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
23145         __mmap64 directly.
23146         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23147         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23148         __lseek64 directly.
23149         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23150         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23151         __lseek64 directly.
23152         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23153         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
23154         __lseek64 directly.
23155         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23156         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
23157         __fxstat64 directly.
23158         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23159         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23160         unconditional.
23161         (freopen64) [!_G_OPEN64]: Remove conditional code.
23162         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23163         unconditional.
23164         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23165         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23166         unconditional.
23167         (ftello64) [!_G_LSEEK64]: Remove conditional code.
23168         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23169         unconditional.
23170         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23171         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23172         unconditional.
23173         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23174         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23175         unconditional.
23176         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23177         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23178         unconditional.
23179         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23180         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23181         unconditional.
23182         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23184 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23186         [BZ #12140]
23187         * manual/memory.texi (Malloc Tunable Parameters): Add note
23188         about free list pointers overwriting some perturb bytes.
23189         Wording suggested by Roland McGrath.
23191 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
23193         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23194         (lgamma_test): Likewise.
23195         (tgamma_test): Likewise.
23197 2012-10-16  Florian Weimer  <fweimer@redhat.com>
23199         [BZ #14700]
23200         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23201         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23203 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
23205         * NEWS: Mention BZ #14716.
23206         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23207         when removing AVAILABLE1_USES_J macro.
23209 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
23211         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23212         (__bswap_64): __uint64_t for unsigned 64-bit int.
23214 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
23216         * include/string.h (memmem): Declare libc hidden alias.
23217         * string/memmem.c (memmem): Define libc hidden alias.
23218         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23219         __read, __close instead of open, read, close.
23221 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
23223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23224         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23225         global and hidden.
23226         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23227         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23228         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23229         Likewise.
23230         (__rawmemchr_sse2): Likewise.
23231         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23232         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23233         (__strchr_sse2): Likewise.
23234         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23235         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23236         (__strcasecmp_sse2): Likewise.
23237         (__strncasecmp_sse2): Likewise.
23238         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23239         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23240         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23241         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23242         (__strrchr_sse2): Likewise.
23243         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23244         ifunc-impl-list.c.
23245         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23246         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23247         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23248         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23249         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23250         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23251         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23252         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23253         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23254         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23255         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23256         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23257         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23258         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23259         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23260         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23261         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23262         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23263         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23264         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23265         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23266         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23267         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23268         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23269         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23270         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23271         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23272         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23273         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23274         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23276         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23277         global and hidden.
23278         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23279         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23280         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23281         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23282         Likewise.
23283         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23284         Likewise.
23285         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23286         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23287         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23288         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23289         ifunc-impl-list.c.
23290         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23291         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23292         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23293         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23294         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23295         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23296         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23297         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23298         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23299         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23300         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23301         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23302         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23303         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23304         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23305         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23306         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23307         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23308         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23309         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23310         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23311         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23312         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23313         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23314         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23315         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23316         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23317         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23318         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23319         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23320         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23321         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23322         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23323         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23324         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23325         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23326         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23327         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23328         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23329         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23330         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23332         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23333         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23334         * include/ifunc-impl-list.h: New file.
23335         * misc/ifunc-impl-list.c: Likewise.
23336         * misc/Makefile (routines): Add ifunc-impl-list.
23337         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23338         * string/test-string.h: Include <ifunc-impl-list.h>.
23339         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23340         TEST_NAME]: New variables.
23341         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23342         are defined.
23343         (test_init): Call __libc_ifunc_impl_list to initialize
23344         func_list if TEST_IFUNC and TEST_NAME are defined.
23346         * string/Makefile (strop-tests): Add bcopy and bzero.
23347         * string/test-bcopy.c: New file.
23348         * string/test-bzero.c: Likewise.
23349         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23350         defined.
23351         * string/test-memset.c: Support bzero test if TEST_BZERO is
23352         defined.
23353         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23354         __libc_memmove.
23355         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23356         __libc_memset.
23357         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23358         of memset.
23360 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
23362         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23363         * configure: Regenerated.
23365         * Makeconfig (+link-static-before-libc): Don't include
23366         $(link-static-libc).
23368         * libio/libio.h (_IO_pos_t): Remove.
23370 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23372         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
23373         McGrath.
23375 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23377         * crypt/crypt-entry.c: Include fips-private.h.
23378         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23379         * crypt/md5c-test.c (main): Tolerate disabled MD5.
23380         * sysdeps/unix/sysv/linux/fips-private.h: New file.
23381         * sysdeps/generic/fips-private.h: New file, dummy fallback.
23383 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23385         * crypt/crypt-private.h: Include stdbool.h.
23386         (_ufc_setup_salt_r): Return bool.
23387         * crypt/crypt-entry.c: Include errno.h.
23388         (__crypt_r): Return NULL with EINVAL for bad salt.
23389         * crypt/crypt_util.c (bad_for_salt): New.
23390         (_ufc_setup_salt_r): Check that salt is long enough and within
23391         the specified alphabet.
23392         * crypt/badsalttest.c: New file.
23393         * crypt/Makefile (tests): Add it.
23394         ($(objpfx)badsalttest): New.
23396 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
23398         * NEWS: Add entry for BZ #14602.
23400 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23402         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23403         type-generic.
23404         * math/libm-test.inc: Update comment listing what functions and
23405         macros are tested.
23406         (isgreater_test): New function.
23407         (isgreaterequal_test): Likewise.
23408         (isless_test): Likewise.
23409         (islessequal_test): Likewise.
23410         (islessgreater_test): Likewise.
23411         (isunordered_test): Likewise.
23412         (main): Call the new functions.
23414 2012-10-09  Roland McGrath  <roland@hack.frob.com>
23416         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23417         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23418         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23419         * sysdeps/i386/configure: Regenerated.
23420         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23421         * sysdeps/mach/configure: Regenerated.
23422         * sysdeps/mach/hurd/configure: Regenerated.
23423         * sysdeps/powerpc/configure: Regenerated.
23424         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23425         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23426         * sysdeps/s390/s390-32/configure: Regenerated.
23427         * sysdeps/s390/s390-64/configure: Regenerated.
23428         * sysdeps/sh/configure: Regenerated.
23429         * sysdeps/sparc/configure: Regenerated.
23430         * sysdeps/unix/sysv/linux/configure: Regenerated.
23431         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23432         * sysdeps/x86_64/configure: Regenerated.
23434         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23435         defined.  Don't check if MAP is NULL.
23437 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23439         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23440         (_G_stat64): Likewise.
23441         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23442         (_G_stat64): Likewise.
23443         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23444         instead of struct _G_stat64.
23445         * libio/fileops.c (mmap_remap_check): Likewise.
23446         (decide_maybe_mmap): Likewise.
23447         (_IO_new_file_seekoff): Likewise.
23448         (_IO_file_stat): Likewise.
23449         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23450         _G_off64_t.
23451         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23452         instead of struct _G_stat64.
23453         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23455 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
23457         [BZ #14602]
23458         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23459         Replace with ...
23460         (CHECK_EOL): New macro.
23461         (two_way_short_needle): Check beginning of haystack for EOL.  Use
23462         CHECK_EOL.
23463         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23464         Replace with CHECK_EOL.
23465         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23466         Replace with CHECK_EOL.
23468 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
23470         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23471         type-generic.
23472         * math/libm-test.inc: Update comment listing what functions and
23473         macros are tested.
23474         (finite_test): New function.
23475         (isinf_test): Likewise.
23476         (isnan_test): Likewise.
23477         (fpclassify_test): Test subnormal input.
23478         (isfinite_test): Likewise.
23479         (isnormal_test): Likewise.
23480         (main): Call the new functions.
23482 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
23484         [BZ #14660]
23485         * Makerules (%.dynsym): Force C locale when running
23486         $(OBJDUMP) --dynamic-syms.
23488 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
23490         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23491         <stdint.h>.
23493 2012-10-06  David S. Miller  <davem@davemloft.net>
23495         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23496         upper 32-bits of the length value in %o2 since we use branch-on-register
23497         tests which consider the entire 64-bit register.
23499 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
23501         * string/test-strstr.c (check2): Add a test for page boundary.
23503 2012-10-05  David S. Miller  <davem@davemloft.net>
23505         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23506         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23507         file.
23508         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23509         sysdep_routines.
23510         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23511         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23512         and bzero when HWCAP_SPARC_CRYPTO is present.
23514 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
23516         [BZ #14602]
23517         * string/test-strstr.c (check2): New function.
23518         (test_main): Call check2.
23520         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23521         and bug-strchr1.
23522         * string/bug-strcasestr1.c (do_test): Moved to ...
23523         * string/test-strcasestr.c (check1): Here.  New function.
23524         (do_one_test): Break out result checking code into ...
23525         (check_result): This.  New function.
23526         (do_one_test): Call check_result.
23527         (test_main): Call check1.
23528         * string/bug-strchr1.c (do_test): Moved to ...
23529         * string/test-strchr.c (check1): Here.  New function.
23530         (do_one_test): Break out result checking code into ...
23531         (check_result): This.  New function.
23532         (do_one_test): Call check_result.
23533         (test_main): Call check1.
23534         * string/bug-strstr1.c (main): Moved to ...
23535         * string/test-strstr.c (check1): Here.  New function.
23536         (do_one_test): Break out result checking code into ...
23537         (check_result): This.  New function.
23538         (do_one_test): Call check_result.
23539         (test_main): Call check1.
23540         * string/bug-strcasestr1.c: Removed.
23541         * string/bug-strchr1.c: Likewise.
23542         * string/bug-strstr1.c: Likewise.
23544         * elf/Makefile (dl-routines): Add hwcaps.
23545         * elf/dl-support.c (_dl_important_hwcaps): Removed.
23546         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23547         (_dl_important_hwcaps): Moved to ...
23548         * elf/dl-hwcaps.c: Here.  New file.
23549         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23551         [BZ #14557]
23552         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23553         if IS_IN_rtld isn't defined.
23555         * elf/dl-support.c (_dl_sysinfo_map): New.
23556         Include "get-dynamic-info.h" and "setup-vdso.h".
23557         (_dl_non_dynamic_init): Call setup_vdso.
23558         * elf/dynamic-link.h: Don't include <assert.h>.
23559         (elf_get_dynamic_info): Moved to ...
23560         * elf/get-dynamic-info.h: Here.  New file.
23561         * elf/dynamic-link.h: Include "get-dynamic-info.h".
23562         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23563         * elf/setup-vdso.h: Here.  New file.
23564         * elf/rtld.c: Include "setup-vdso.h".
23565         (dl_main): Call setup_vdso.
23567 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
23569         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23570         creal in comment listing functions tested.  List finite, isinf,
23571         isnan, isless, islessequal, isgreater, isgreaterequal,
23572         islessgreater, isunordered, lgamma_r and pow10 as functions and
23573         macros not tested.  Mention which functions not tested are aliases
23574         for other functions.  Fix typo.  Note that signs of NaNs are not
23575         tested.
23577         * scripts/config.guess: Update from config.git.
23578         * scripts/config.sub: Likewise.
23580 2012-10-04  Roland McGrath  <roland@hack.frob.com>
23582         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23583         * misc/madvise.c (madvise): Renamed to __madvise.
23584         Make madvise a weak alias.
23585         * include/sys/mman.h: Declare __madvise.
23586         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23587         * sysdeps/unix/syscalls.list
23588         (madvise): Make __madvise the strong name, and madvise a weak alias.
23589         * sysdeps/unix/sysv/linux/syscalls.list
23590         (madvise, mmap): Remove redundant entries.
23591         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23592         * malloc/malloc.c (mtrim): Likewise.
23593         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23595 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23597         * sysdeps/mach/hurd/dl-cache.c: File removed.
23598         * config.h.in (USE_LDCONFIG): New #undef.
23599         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23600         * configure: Regenerated.
23601         * elf/Makefile (dl-routines): Add dl-cache only under
23602         [$(use-ldconfig) = yes].
23603         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23604         cache on [USE_LDCONFIG].
23605         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23606         [USE_LDCONFIG].
23607         * elf/rtld.c (dl_main): Likewise.
23609 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
23611         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23612         _SC_LEVEL4_CACHE_LINESIZE.
23614 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23616         * sysdeps/unix/bsd/confstr.h: File removed.
23618 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
23620         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23621         sys/sdt-config.h.
23623 2012-10-02  Roland McGrath  <roland@hack.frob.com>
23625         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23626         Make 'mapoff' field ElfW(Off) rather than off_t.
23628 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
23630         * nscd/Makefile: Remove nscd-cflags and all its users.
23631         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23632         (CFLAGS-nonlib): Add compiler flags for nscd modules.
23634         [BZ #10631]
23635         * malloc.c (malloc_printerr): Clarify error message.
23637 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
23639         [BZ #14648]
23640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23641         Set bit_FMA_Usable if FMA is supported.
23642         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23643         macro.
23644         (bit_FMA4_Usable): Updated.
23645         (index_FMA_Usable): New macro.
23646         (CPUID_FMA): Likewise
23647         (HAS_FMA): Defined with bit_FMA_Usable.
23649 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23651         * bits/types.h (__swblk_t): Type removed.
23652         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23653         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23654         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23655         (__SWBLK_T_TYPE): Likewise.
23656         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23657         (__SWBLK_T_TYPE): Likewise.
23658         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23659         (__SWBLK_T_TYPE): Likewise.
23660         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23661         (__SWBLK_T_TYPE): Likewise.
23663 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
23664             Honza Horak <hhorak@redhat.com>
23666         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23667         (xdr_mapname): Use YPMAXMAP as maxsize.
23668         (xdr_peername): Use YPMAXPEER as maxsize.
23669         (xdr_keydat): Use YPAXRECORD as maxsize.
23670         (xdr_valdat): Use YPMAXRECORD as maxsize.
23672 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23674         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23676         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23677         * csu/init-first.c: ... here.
23678         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23679         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23680         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23681         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23682         * sysdeps/i386/init-first.c: File removed.
23683         * sysdeps/sh/init-first.c: File removed.
23685 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
23687         [BZ #14645]
23688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23689         if x * y might underflow to zero and z is zero.
23690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23691         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23692         * math/libm-test.inc (min_subnorm_value): New variable.
23693         (fma_test): Add more tests.
23694         (fma_test_towardzero): Likewise.
23695         (fma_test_downward): Likewise
23696         (fma_test_upward): Likewise.
23697         (initialize): Set min_subnorm_value.
23699 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
23701         [BZ #14638]
23702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23703         0 + 0.
23704         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23705         mode for addition resulting in exact zero.
23706         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23708         exact 0 + 0.
23709         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23710         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23711         * math/libm-test.inc (fma_test): Add more tests.
23712         (fma_test_towardzero): New function.
23713         (fma_test_downward): Likewise.
23714         (fma_test_upward): Likewise.
23715         (main): Call the new functions.
23717 2012-09-28  David S. Miller  <davem@davemloft.net>
23719         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23721 2012-09-28  Roland McGrath  <roland@hack.frob.com>
23723         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23724         instead of SIGALRM.
23726         * sysdeps/gnu/_G_config.h: Moved to ...
23727         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23728         * sysdeps/mach/hurd/_G_config.h: Moved to ...
23729         * sysdeps/generic/_G_config.h: ... here.
23731         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
23733         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23735         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23736         Conditionalize target on [libnss_test1.so-version].
23738         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23740         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23741         (elfobjdir): Move out of conditionals.
23743         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23744         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23745         (__nss_lookup_function): Conditionalize label remove_from_tree on
23746         [!DO_STATIC_NSS || SHARED], matching its only use.
23748 2012-09-28  David S. Miller  <davem@davemloft.net>
23750         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23751         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23752         file.
23753         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23754         sysdep_routines.
23755         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23757         when HWCAP_SPARC_CRYPTO is present.
23759 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23761         * io/tst-mknodat.c: Create a FIFO instead of a socket.
23763 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
23765         [BZ #6530]
23766         * stdio-common/vfprintf.c (process_string_arg): Revert
23767         2000-07-22 change.
23769 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
23771         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23772         for testcase.
23773         * stdio-common/tst-sprintf.c: Include <locale.h>
23774         (main): Test sprintf's handling of incomplete multibyte
23775         characters.
23777 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
23779         * elf/dl-runtime.c (VERSYMIDX): Removed.
23780         * elf/dl-version.c (VERSYMIDX): Likewise.
23781         * elf/do-rel.h (VERSYMIDX): Likewise.
23782         (VALIDX): Likewise.
23783         * elf/dynamic-link.h (VERSYMIDX): Likewise.
23784         * elf/rtld.c (VALIDX): Likewise.
23785         (ADDRIDX): Likewise.
23786         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23787         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23788         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23789         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23790         (VALIDX): Likewise.
23791         (ADDRIDX): Likewise.
23793 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23795         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23797 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
23799         [BZ #11438]
23800         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23801         to global scope.
23802         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23803         addresses are in the same scope as 192.0.2/24.
23804         * posix/gai.conf: Document new scope table defaults.
23806 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23808         [BZ #5298]
23809         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23810         for ftell.  Compute offsets from write pointers instead.
23811         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23813 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23815         [BZ #14543]
23816         * libio/Makefile (tests): New test case tst-fseek.
23817         * libio/tst-fseek.c: New test case to verify that fseek/ftell
23818         combination works in wide mode.
23819         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23820         state when the external buffer state changes.
23822 2012-09-27  David S. Miller  <davem@davemloft.net>
23824         [BZ #14376]
23825         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23826         pass reloc->r_addend in as the 'high' argument to
23827         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23831 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23833         * rt/tst-aio2.c: Include <pthread.h>.
23834         * rt/tst-aio3.c: Likewise.
23836 2012-09-27  Steve Ellcey  <sellcey@mips.com>
23838         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23840 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
23842         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23843         contents on [SHARED].
23845 2012-09-26  Marek Polacek  <polacek@redhat.com>
23847         [BZ #14530]
23848         [BZ #13741]
23849         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23850         for C++ and GCC <4.3 as well as for non GCC compilers.
23852 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23856 2012-09-25  Roland McGrath  <roland@hack.frob.com>
23858         * Makefile.in (all, install): Declare with .PHONY.
23859         Reported by Michael Hope <michael.hope@linaro.org>.
23861 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23863         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23864         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23865         system header.
23866         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23867         Likewise.
23868         (sydep_routines): Add the new and the internal functions.
23869         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23870         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23872         (GLIBC_2.17): Add the new function.
23873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23874         (GLIBC_2.17): Likewise.
23875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23876         (GLIBC_2.17): Likewise.
23877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23878         (GLIBC_2.17): Likewise.
23879         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23881 2012-09-25  Alan Modra  <amodra@gmail.com>
23883         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23884         Add release barrier before setting once_control to say
23885         initialisation is done.  Add hints on lwarx.  Use macro in
23886         place of isync.
23887         (clear_once_control): Add release barrier.
23889 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23891         [BZ #13629]
23892         * math/s_clog.c (__clog): Handle more values close to |z| = 1
23893         specially.
23894         * math/s_clog10.c (__clog10): Likewise.
23895         * math/s_clog10f.c (__clog10f): Likewise.
23896         * math/s_clog10l.c (__clog10l): Likewise.
23897         * math/s_clogf.c (__clogf): Likewise.
23898         * math/s_clogl.c (__clogl): Likewise.
23899         * math/Makefile (libm-calls): Add x2y2m1.
23900         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23901         (__x2y2m1): Likewise.
23902         (__x2y2m1l): Likewise.
23903         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23904         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23905         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23906         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23907         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23908         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23909         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23910         * sysdeps/i386/fpu/libm-test-ulps: Update.
23911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23913         [BZ #14621]
23914         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23915         int as type of variable DEPTH.
23916         (glob): Use size_t instead of int as type of variables NEWCOUNT
23917         and OLD_PATHC.
23919 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23921         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23922         Add s_sincosf-sse2.
23923         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23924         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23925         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23926         macros for using routine as __sincosf_ia32.
23927         Use macro for function declaration and weak_alias.
23928         * sysdeps/i386/fpu/libm-test-ulps: Update.
23930         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23933         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23934         subnormal argument.
23935         * math/s_cexpf.c (__cexpf): Likewise.
23936         * math/s_csinf.c (__csinf): Likewise.
23937         * math/s_csinhf.c (__csinhf): Likewise.
23938         * math/s_ctanf.c (__ctanf): Likewise.
23939         * math/s_ctanhf.c (__ctanhf): Likewise.
23940         * math/s_ccosh.c (__ccoshf): Likewise.
23941         * math/s_cexp.c (__cexpl): Likewise.
23942         * math/s_csin.c (__csin): Likewise.
23943         * math/s_csinh.c (__csinh): Likewise.
23944         * math/s_ctan.c (__ctan): Likewise.
23945         * math/s_ctanh.c (ctanh): Likewise.
23946         * math/s_ccoshl.c (__ccoshl): Likewise.
23947         * math/s_cexpl.c (__cexpl): Likewise.
23948         * math/s_csinl.c (__csinl): Likewise.
23949         * math/s_csinhl.c (__csinhl): Likewise.
23950         * math/s_ctanl.c (__ctanl): Likewise.
23951         * math/s_ctanhl.c (__ctanhl): Likewise.
23953 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23955         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23956         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23957         (_IO_off_t): Define to __off_t, not _G_off_t.
23958         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23959         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23960         (_IO_wint_t): Define to wint_t, not _G_wint_t.
23961         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23962         type of __dummy and __dummy2 fields.
23963         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23964         (_G_ssize_t): Likewise.
23965         (_G_off_t): Likewise.
23966         (_G_pid_t): Likewise.
23967         (_G_uid_t): Likewise.
23968         (_G_wchar_t): Likewise.
23969         (_G_wint_t): Likewise.
23970         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23971         (_G_ssize_t): Likewise.
23972         (_G_off_t): Likewise.
23973         (_G_pid_t): Likewise.
23974         (_G_uid_t): Likewise.
23975         (_G_wchar_t): Likewise.
23976         (_G_wint_t): Likewise.
23977         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23978         (_G_ssize_t): Likewise.
23979         (_G_off_t): Likewise.
23980         (_G_pid_t): Likewise.
23981         (_G_uid_t): Likewise.
23982         (_G_wchar_t): Likewise.
23983         (_G_wint_t): Likewise.
23985 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23987         * malloc/arena.c: Include malloc-sysdep.h.
23988         (shrink_heap): Use check_may_shrink_heap to decide if madvise
23989         is sufficient to shrink the heap or an unmap is needed.
23990         * sysdeps/generic/malloc-sysdep.h: New file.  Define
23991         new function check_may_shrink_heap.
23992         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
23993         new function check_may_shrink_heap.
23995 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23997         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23998         comments.
24000 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
24002         * catgets/test-gencat.sh: Add "set -e".
24003         * elf/tst-pathopt.sh: Likewise.
24004         * grp/tst_fgetgrent.sh: Likewise.
24005         * iconvdata/run-iconv-test.sh: Likewise.
24006         * intl/tst-gettext.sh: Likewise.
24007         * intl/tst-gettext2.sh: Likewise.
24008         * intl/tst-gettext4.sh: Likewise.
24009         * intl/tst-gettext6.sh: Likewise.
24010         * intl/tst-translit.sh: Likewise.
24011         * io/ftwtest-sh: Likewise.
24012         * libio/test-freopen.sh: Likewise.
24013         * malloc/tst-mtrace.sh: Likewise.
24014         * posix/globtest.sh: Likewise.
24015         * posix/tst-getconf.sh: Likewise.
24016         * posix/wordexp-tst.sh: Likewise.
24017         * stdio-common/tst-printf.sh: Likewise.
24018         * stdio-common/tst-unbputc.sh: Likewise.
24019         * stdlib/tst-fmtmsg.sh: Likewise.
24020         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24021         * catgets/Makefile: Do not specify -e option when running
24022         testsuite shell scripts.
24023         * elf/Makefile: Likewise.
24024         * grp/Makefile: Likewise.
24025         * iconvdata/Makefile: Likewise.
24026         * intl/Makefile: Likewise.
24027         * io/Makefile: Likewise.
24028         * libio/Makefile: Likewise.
24029         * malloc/Makefile: Likewise.
24030         * posix/Makefile: Likewise.
24031         * stdio-common/Makefile: Likewise.
24032         * stdlib/Makefile: Likewise.
24033         * sysdeps/x86_64/Makefile: Likewise.
24035         * io/ftwtest-sh: Add copyright header.
24036         * posix/globtest.sh: Likewise.
24037         * posix/tst-getconf.sh: Likewise.
24038         * posix/wordexp-tst.sh: Likewise.
24039         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24041 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
24043         [BZ #13679]
24044         * Makeconfig (+link): Defined as $(+link-static) if
24045         $(build-shared) isn't yes.
24046         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24047         isn't yes.
24048         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24050         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24052         [BZ #14562]
24053         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24054         new chunk size with MALLOC_ALIGN_MASK.
24056 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
24058         [BZ #5044]
24059         * stdio-common/printf_fphex.c: Include <stdbool.h> and
24060         <rounding-mode.h>.
24061         (__printf_fphex): Determine rounding using get_rounding_mode and
24062         round_away.
24063         * stdio-common/tst-printf-round.c (struct hex_test): New
24064         structure.
24065         (hex_tests): New variable.
24066         (test_hex_in_one_mode): New function.
24067         (do_test): Also run tests for hex float output.
24069 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
24071         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24072         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24073         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24074         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24075         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24076         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24077         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24078         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24080 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
24082         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24083         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24084         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24085         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24087 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
24089         [BZ #14579]
24090         * elf/rtld.c (dl_main): Limit the check for self loading to normal
24091         mode only.
24092         * elf/tst-rtld-load-self.sh: New test.
24093         * elf/Makefile: Run it.
24095 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
24097         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24098         (tst-writev-ENV): Remove.
24099         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24101 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
24103         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24105 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
24107         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24108         unconditional.
24109         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24110         Likewise.
24111         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24112         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24113         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24114         Likewise.
24116 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
24118         [BZ #14587]
24119         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24120         * config.make.in (have-cpp-asm-debuginfo): Removed.
24121         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24122         * configure: Regenerated.
24124 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
24126         [BZ #5044]
24127         * stdio-common/printf_fp.c: Include <stdbool.h> and
24128         <rounding-mode.h>.
24129         (___printf_fp): Determine rounding using get_rounding_mode and
24130         round_away.
24131         * stdio-common/tst-printf-round.c: New file.
24132         * stdio-common/Makefile (tests): Add tst-printf-round.
24133         (link-libm): New variable.
24134         ($(objpfx)tst-printf-round): Depend in $(link-libm).
24136 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
24138         [BZ #14576]
24139         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24140         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24141         Likewise.
24142         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24143         Likewise.
24145 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
24147         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24148         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24149         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24150         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24152 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
24154         [BZ #14518]
24155         * include/rounding-mode.h: New file.
24156         * sysdeps/generic/get-rounding-mode.h: Likewise.
24157         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24158         * stdlib/strtod_l.c: Include <rounding-mode.h>.
24159         (MAX_VALUE): New macro.
24160         (MIN_VALUE): Likewise.
24161         (overflow_value): New function.
24162         (underflow_value): Likewise.
24163         (round_and_return): Use overflow_value and underflow_value to
24164         determine return values in overflow and underflow cases.  Use
24165         round_away to determine rounding depending on rounding mode.
24166         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24167         determine return values in overflow and underflow cases.
24168         * stdlib/tst-strtod-round.c: Include <fenv.h>.
24169         (struct test_results): New structure.
24170         (struct test): Use struct test_results to store expected results
24171         for all rounding modes.
24172         (TEST): Include expected results for all rounding modes.
24173         (test_in_one_mode): New function.
24174         (do_test): Use test_in_one_mode to compute and check results.
24175         Check results for all rounding modes.
24176         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24177         $(link-libm).
24179 2012-12-09  Allan McRae  <allan@archlinux.org>
24181         * sysdeps/i386/fpu/libm-test-ulps: Update
24183 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
24185         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24186         (_G_int32_t): Likewise.
24187         (_G_uint16_t): Likewise.
24188         (_G_uint32_t): Likewise.
24189         (_G_HAVE_BOOL): Likewise.
24190         (_G_HAVE_ATEXIT): Likewise.
24191         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24192         (_G_HAVE_IO_FILE_OPEN): Likewise.
24193         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24194         (_G_int32_t): Likewise.
24195         (_G_uint16_t): Likewise.
24196         (_G_uint32_t): Likewise.
24197         (_G_HAVE_BOOL): Likewise.
24198         (_G_HAVE_ATEXIT): Likewise.
24199         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24200         (_G_HAVE_IO_FILE_OPEN): Likewise.
24201         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24202         (_G_int32_t): Likewise.
24203         (_G_uint16_t): Likewise.
24204         (_G_uint32_t): Likewise.
24205         (_G_HAVE_BOOL): Likewise.
24206         (_G_HAVE_ATEXIT): Likewise.
24207         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24208         (_G_HAVE_IO_FILE_OPEN): Likewise.
24210 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
24212         * csu/libc-tls.c: Update copyright years.
24214 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
24216         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24217         [!_G_USING_THUNKS]: Remove conditional code.
24218         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24219         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24221         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24222         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24223         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24224         (_G_VTABLE_LABEL_PREFIX): Likewise.
24225         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24226         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24227         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24228         (_G_VTABLE_LABEL_PREFIX): Likewise.
24229         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24230         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24231         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24232         (_G_VTABLE_LABEL_PREFIX): Likewise.
24233         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24235 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
24237         * libio/Makefile: Include ../Makeconfig before tests.
24238         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24239         only if $(build-shared) is yes.
24241         * iconv/gconv_db.c: Update copyright years.
24243 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24245         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24246         unwind info if defined PIC. Fix special cases description.
24247         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24249         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24250         DP_HI_MASK entry.
24251         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24253 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
24255         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24257         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24258         is NULL.
24260         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24261         (LDLIBS-tst-chk4): This.
24262         (LDFLAGS-tst-chk5): Renamed to ...
24263         (LDLIBS-tst-chk5): This.
24264         (LDFLAGS-tst-chk6): Renamed to ...
24265         (LDLIBS-tst-chk6): This.
24266         (LDFLAGS-tst-lfschk4): Renamed to ...
24267         (LDLIBS-tst-lfschk4): This.
24268         (LDFLAGS-tst-lfschk5): Renamed to ...
24269         (LDLIBS-tst-lfschk5): This.
24270         (LDFLAGS-tst-lfschk6): Renamed to ...
24271         (LDLIBS-tst-lfschk6): This.
24273         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24274         on $(common-objpfx)soversions.mk.
24276 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
24278         [BZ #10014]
24279         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24280         example host name.
24282 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24284         * malloc/arena.c (arena_get_retry): New function that gets
24285         another arena for the caller to try its request on.
24286         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24287         current arena cannot fulfill the request.
24288         (__libc_memalign): Likewise.
24289         (__libc_memalign): Likewise.
24290         (__libc_pvalloc): Likewise.
24291         (__libc_calloc): Likewise.
24293 2012-09-05  John Tobey  <john.tobey@gmail.com>
24295         [BZ #13542]
24296         * manual/arith.texi (Operations on Complex): Fix description
24297         of carg branch cut.
24299 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24301         [BZ #10014]
24302         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24303         host name.
24305         [BZ #10038]
24306         * manual/memory.texi (Memory): Make order of menu items match
24307         order of sections.
24309 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24311         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24312         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
24313         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24315 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24317         * csu/libc-tls.c (static_dtv): Renamed to ...
24318         (_dl_static_dtv): This.  Make it global.
24319         (_dl_initial_dtv): Removed.
24320         (__libc_setup_tls): Updated.
24321         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24322         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24323         DL_INITIAL_DTV.
24325 2012-09-06  Petr Machata  <pmachata@redhat.com>
24327         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24328         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24329         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24330         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24332 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24334         [BZ #14545]
24335         * csu/libc-tls.c (_dl_initial_dtv): New variable.
24336         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24337         freeing dtv[-1].
24339 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24341         [BZ #14544]
24342         * Makeconfig (link-static-before-libc): Replace $(+prector)
24343         with $(+prectorT).
24344         (link-static-after-libc): Replace $(+postctor) with
24345         $(+postctorT).
24346         (link-bounded): Replace $(+prector)/$(+postctor) with
24347         $(+prectorT)/$(+postctorT).
24348         (+prectorT): New macro.
24349         (+postctorT): Likewise.
24351 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24353         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24354         (round_str): Handle values above the maximum for IBM long double
24355         as inexact.
24356         * stdlib/tst-strtod-round.c (tests): Regenerated.
24358 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24360         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24361         assembler flag.
24362         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24363         zarch_nohighgprs around the zarch optimized routines.
24364         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24365         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24366         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24367         for zarch.
24369 2012-09-05  David S. Miller  <davem@davemloft.net>
24371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24373         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24374         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24375         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24376         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24377         entries.
24379 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24381         * malloc/arena.c: Fold copyright years.
24382         * malloc/mcheck.c, malloc/memusage.c: Likewise.
24384 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24386         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24388 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24390         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
24392 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24394         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24395         change internal state upon failure.
24397 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24399         * malloc/mcheck.c (mcheck_check_all): Fix typo.
24400         * malloc/memusage.c (mmap): Likewise.
24401         (mmap64, mremap): Likewise.  Adjust name in comment.
24403 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24405         * libio/fileops.c: Fix typos in comments.
24406         * libio/oldfileops.c: Likewise.
24407         * libio/wfileops.c: Likewise.
24409 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24411         [BZ #1349]
24412         * malloc/Makefile (tests): Add tst-malloc-usable test case.
24413         (tst-malloc-usable-ENV): Set environment for test case.
24414         * malloc/hooks.c (malloc_check_get_size): New function to get
24415         requested size.
24416         * malloc/malloc.c (musable): Use malloc_check_get_size.
24417         * malloc/tst-malloc-usable.c: New test case.
24419 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24421         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24423 2012-09-05  Allan McRae  <allan@archlinux.org>
24425         [BZ #13966]
24426         * configure.in (CXX_SYSINCLUDES): Use compiler output to
24427         determine header location.
24428         * configure: Regenerated.
24430 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24432         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24433         float format.
24434         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24435         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24436         format.
24437         (test): Regenerate.
24439 2012-09-04  David S. Miller  <davem@davemloft.net>
24441         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24442         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24443         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24445 2012-09-04  Florian Weimer  <fweimer@redhat.com>
24447         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24448         failures.
24450         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24452 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
24454         [BZ #9914]
24455         * libio/iogetdelim.c: Include <limits.h>.
24456         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24457         + len + 1 would overflow.
24459 2012-09-03  Andreas Jaeger  <aj@suse.de>
24461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24462         * sysdeps/i386/fpu/libm-test-ulps: Update.
24464 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24466         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24467         Add s_sinf-sse2, s_conf-sse2.
24469         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24470         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24471         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24472         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24474         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24475         for using routine as __sinf_ia32.
24476         Use macro for function declaration and weak_alias.
24477         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24478         for using routine as __cosf_ia32.
24479         Use macro for function declaration and weak_alias.
24481         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24482         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24484         * sysdeps/x86_64/fpu/s_sinf.S: New file.
24485         * sysdeps/x86_64/fpu/s_cosf.S: New file.
24486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24488         * math/libm-test.inc (cos_test): Add more test cases.
24489         (sin_test): Likewise.
24490         (sincos_test): Likewise.
24492 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24494         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24495         (IFUNC_RESOLVE): Make pointers to the specialized implementations
24496         hidden.
24497         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24499 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
24501         [BZ #14538]
24502         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24503         first element of the GOT.
24504         (elf_machine_load_address): Return the difference between
24505         the runtime address of _DYNAMIC and elf_machine_dynamic ().
24507 2012-09-01  Allan McRae  <allan@archlinux.org>
24509         [BZ #13412]
24510         * configure.in (AWK): Require gawk version 3.0 or later.
24511         * configure: Regenerated.
24513 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
24515         * sysdeps/unix/sysv/linux/kernel-features.h
24516         (__ASSUME_POSIX_CPU_TIMERS): Remove.
24517         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24518         [__NR_clock_getres]: Make code unconditional.
24519         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24520         (clock_getcpuclockid): Remove code left unreachable by removal of
24521         conditionals.
24522         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24523         code unconditional.
24524         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24525         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24526         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24527         Make code unconditional.
24528         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24529         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24530         * sysdeps/unix/sysv/linux/clock_settime.c
24531         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24532         conditional code.
24533         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24534         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24536 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
24538         [BZ #14476]
24539         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24540         scripts/test-installation.pl.
24542         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24543         and $ld_so_version if it is set.
24545 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24547         [BZ #14516]
24548         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24549         failure if reading from procfs failed.
24550         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24552 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24554         * sysdeps/unix/sysv/linux/kernel-features.h
24555         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24556         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24557         Remove conditional code.
24558         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24559         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24560         Remove conditional code.
24561         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24562         * sysdeps/unix/sysv/linux/i386/fxstat.c
24563         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24564         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24565         * sysdeps/unix/sysv/linux/i386/fxstatat.c
24566         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24567         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24568         * sysdeps/unix/sysv/linux/i386/lxstat.c
24569         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24570         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24571         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24572         Remove conditional code.
24573         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24574         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24575         Remove conditional code.
24576         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24577         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24578         <kernel-features.h>.
24579         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24580         Remove.
24581         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24582         Remove conditional code.
24583         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24584         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24585         Remove conditional.
24587 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
24589         [BZ #5400]
24590         * NEWS: Add fixed bug number.
24592 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24594         [BZ #14519]
24595         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24596         underflowing exponent in case of negative sign.
24597         * stdlib/tst-strtod-round-data: Add more tests.
24598         * stdlib/tst-strtod-round.c (tests): Regenerated.
24600         [BZ #3479]
24601         * stdlib/strtod_l.c (NDIG): Remove.
24602         (HEXNDIG): Likewise.
24603         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24604         smallest representable value.
24605         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24606         lie within an exact representation of 1/2 ulp of the result.
24607         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24608         unconditionally.
24609         (TENS_P9_IDX): Define unconditionally.
24610         (TENS_P9_SIZE): Likewise.
24611         (TENS_P10_IDX): Likewise.
24612         (TENS_P10_SIZE): Likewise.
24613         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24614         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24615         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24616         entries for 10^2^13 and 10^2^14.
24617         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24618         (TENS_P13_IDX): Define.
24619         (TENS_P13_SIZE): Likewise.
24620         (TENS_P14_IDX): Likewise.
24621         (TENS_P14_SIZE): Likewise.
24622         (_fpioconst_pow10): Change array size to
24623         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
24624         unconditional.
24625         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24626         1024]: Add entries for 10^2^13 and 10^2^14.
24627         [LAST_POW10 > _LAST_POW10]: Remove #error.
24628         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24629         (_fpioconst_pow10): Change array size to
24630         FPIOCONST_POW10_ARRAY_SIZE.
24631         * stdlib/gen-fpioconst.c: New file.
24632         * stdlib/gen-tst-strtod-round.c: Likewise.
24633         * stdlib/tst-strtod-round-data: Likewise.
24634         * stdlib/tst-strtod-round.c: Likewise.
24635         * stdlib/Makefile (tests): Add tst-strtod-round.
24637         [BZ #14459]
24638         * stdlib/strtod_l.c: Include <stdint.h>.
24639         (NDEBUG): Do not define.
24640         (round_and_return): Change EXPONENT parameter to type intmax_t.
24641         Rearrange calculations to avoid internal overflow possibilities.
24642         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24643         Rearrange calculations to avoid internal overflow possibilities.
24644         Assert that number fits inside MPNSIZE limbs.
24645         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24646         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
24647         calculations and add assertions to avoid internal overflow
24648         possibilities.  Add casts to avoid signed/unsigned operations.
24649         * stdlib/tst-strtod-overflow.c: New file.
24650         * stdlib/Makefile (tests): Add tst-strtod-overflow.
24652 2012-08-25  Marek Polacek  <polacek@redhat.com>
24654         * time/time.h: Fix some typos in comments.
24656 2012-08-23  Roland McGrath  <roland@hack.frob.com>
24658         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24659         * posix/tst-rfc3484-2.c: Likewise.
24660         * posix/tst-rfc3484-3.c: Likewise.
24662 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
24664         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24665         (EF_ARM_ABI_FLOAT_HARD): Likewise.
24667 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
24669         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24670         #include of fxstatat64.c.
24672 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24674         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24675         * shadow/getspent_r.c: Likewise.
24676         * shadow/getspnam.c: Likewise.
24677         * shadow/getspnam_r.c: Likewise.
24678         * gshadow/getsgent.c: Likewise.
24679         * gshadow/getsgent_r.c: Likewise.
24680         * gshadow/getsgnam.c: Likewise.
24681         * gshadow/getsgnam_r.c: Likewise.
24682         * inet/getnetbyad.c: Likewise.
24683         * inet/getnetbyad_r.c: Likewise.
24684         * inet/getnetbynm.c: Likewise.
24685         * inet/getnetbynm_r.c: Likewise.
24686         * inet/getnetent.c: Likewise.
24687         * inet/getnetent_r.c: Likewise.
24688         * inet/getproto.c: Likewise.
24689         * inet/getproto_r.c: Likewise.
24690         * inet/getprtent.c: Likewise.
24691         * inet/getprtent_r.c: Likewise.
24692         * inet/getprtname.c: Likewise.
24693         * inet/getprtname_r.c: Likewise.
24694         * inet/getrpcbyname.c: Likewise.
24695         * inet/getrpcbyname_r.c: Likewise.
24696         * inet/getrpcbynumber.c: Likewise.
24697         * inet/getrpcbynumber_r.c: Likewise.
24698         * inet/getrpcent.c: Likewise.
24699         * inet/getrpcent_r.c: Likewise.
24700         * inet/getaliasent.c: Likewise.
24701         * inet/getaliasent_r.c: Likewise.
24702         * inet/getaliasname.c: Likewise.
24703         * inet/getaliasname_r.c: Likewise.
24704         * nscd/getgrgid_r.c: Likewise.
24705         * nscd/getgrnam_r.c: Likewise.
24706         * nscd/gethstbyad_r.c: Likewise.
24707         * nscd/gethstbynm3_r.c: Likewise.
24708         * nscd/getpwnam_r.c: Likewise.
24709         * nscd/getpwuid_r.c: Likewise.
24710         * nscd/getsrvbynm_r.c: Likewise.
24711         * nscd/getsrvbypt_r.c: Likewise.
24712         * nscd/gai.c: Likewise.
24714         * configure.in (build_nscd): New substituted variable, set
24715         by --disable-build-nscd and defaults to $use_nscd.
24716         * configure: Regenerated.
24717         * config.make.in (build-nscd): New substituted variable.
24718         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24719         Change conditional to require [$(build-nscd) = yes] as well.
24720         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24722         [BZ# 13696]
24723         * configure.in (use_nscd): New substituted variable, set by
24724         --disable-nscd.  If enabled, define USE_NSCD.
24725         * configure: Regenerated.
24726         * config.h.in: Add USE_NSCD.
24727         * config.make.in (use-nscd): New substituted variable.
24728         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24729         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24730         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24731         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24732         (CFLAGS-getgrnam_r.c): Likewise.
24733         (CFLAGS-initgroups.c): Likewise.
24734         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24735         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24736         Variables removed.
24737         * inet/getnetgrent_r.c
24738         (nscd_setnetgrent): New function, broken out of ...
24739         (setnetgrent): ... here.  Call it.
24740         (innetgr): Conditionalize nscd bits on [USE_NSCD].
24741         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24742         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24743         * nscd/Makefile (routines, aux): Move definitions after include of
24744         Makeconfig.  Conditionalize on [$(use-nscd) != no].
24745         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24746         Conditionalize on [USE_NSCD].
24747         (is_nscd, nscd_init_cb): Likewise.
24748         (nss_load_library): Conditionalize init callback on [USE_NSCD].
24749         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24750         * nss/nss_db/db-init.c: Likewise.
24751         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24752         [USE_NSCD].
24753         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24754         (make_request): Use it.
24755         (cache_valid_p): New function.
24756         (__check_pf): Use it.
24757         * NEWS: Add item for --disable-nscd.
24759 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
24761         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24762         to support sed >= 4.2.1-20-ga9bf076.
24763         * configure: Regenerated.
24765 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24767         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24768         Conditionalize whole body on [IREL].
24770 2012-08-22  Jeff Law <law@redhat.com>
24772         [BZ #14505]
24773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24774         if the family is PF_UNSPEC.
24776 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
24778         * Makerules (lib-version): Rename from V.
24779         (install-lib-nosubdir): Change V to lib-version.
24781 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
24783         [BZ #14252]
24784         * powerpc32/power6/wcschr.c: New file.
24785         * powerpc32/power6/wcscpy.c: New file.
24786         * powerpc32/power6/wcsrchr.c: New file.
24787         * powerpc64/power6/wcschr.c: New file.
24788         * powerpc64/power6/wcscpy.c: New file.
24789         * powerpc64/power6/wcsrchr.c: New file.
24791 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24793         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24794         (two_way_short_needle): Use it.
24795         * string/strstr.c (AVAILABLE1_USES_J): Define.
24796         * string/strcasestr.c: Likewise.
24798         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24799         array references.
24800         * string/strcasestr.c (TOLOWER): Make side-effect safe.
24802         [BZ #11607]
24803         * NEWS: Add an entry.
24804         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24805         define their defaults.
24806         (two_way_short_needle): Detect end-of-string on-the-fly.
24807         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24808         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24809         * string/bug-strcasestr1.c: New test.
24810         * string/Makefile: Run it.
24812 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24814         [BZ #11607]
24815         * string/str-two-way.h (two_way_short_needle): Optimize matching of
24816         the first character.
24818 2012-08-21  Roland McGrath  <roland@hack.frob.com>
24820         * csu/elf-init.c (__libc_csu_irel): Function removed.
24821         * csu/libc-start.c (apply_irel): New function.
24822         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24824 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
24826         * sysdeps/unix/sysv/linux/kernel-features.h
24827         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24828         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24829         <kernel-features.h>.
24830         [__NR_fadvise64_64]: Make code unconditional.
24831         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24832         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24833         !__NR_fadvise64_64)]: Likewise.
24834         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24835         !__NR_fadvise64_64))]: Likewise.
24836         [__NR_fadvise64]: Make code unconditional.
24837         [!__NR_fadvise64]: Remove conditional code.
24838         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24839         <kernel-features.h>.
24840         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24841         unconditional.
24842         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24843         conditional code.
24844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24845         not include <kernel-features.h>.
24846         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24847         unconditional.
24848         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24849         conditional code.
24850         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24851         include <kernel-features.h>.
24852         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24853         unconditional.
24854         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24855         conditional code.
24857 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24859         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24860         slight instruction rearrangements per scrollpipe analysis.
24861         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24863 2012-08-20  Roland McGrath  <roland@hack.frob.com>
24865         * manual/syslog.texi (syslog; vsyslog, closelog):
24866         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24867         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24869         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24870         DSOCAPS to match condition on defining it.
24872 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
24874         * sysdeps/unix/sysv/linux/kernel-features.h
24875         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24877         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24878         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24880         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24881         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24883         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24884         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24886         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24887         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24889         * sysdeps/unix/sysv/linux/kernel-features.h
24890         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24891         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24892         unconditional.
24893         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24894         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24895         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24896         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24897         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24898         Make code unconditional.
24899         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24900         (__mmap64) [!__NR_mmap2]: Likewise.
24901         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24902         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24903         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24904         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24905         [__NR_mmap2]: Make code unconditional.
24906         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24907         (__mmap64) [!__NR_mmap2]: Likewise.
24909 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24911         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24913 2012-08-18  Andreas Jaeger  <aj@suse.de>
24915         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24917 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24919         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24920         * include/unistd.h (__have_sock_cloexec): Likewise.
24921         (__have_pipe2): Likewise.
24922         (__have_dup3): Likewise.
24924 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24926         [BZ #9685]
24927         * include/unistd.h (__have_pipe2): Change define into an extern int.
24928         (__have_dup3): Likewise.
24929         * socket/have_sock_cloexec.c: Include fcntl.h.
24930         (__have_pipe2): New variable.
24931         (__have_dup3): Likewise.
24933 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
24935         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24937 2012-08-17  Marek Polacek  <polacek@redhat.com>
24939         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24940         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24942 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24944         * configure.in: Add AC_SUBST for sysheaders.
24945         * configure: Regenerated.
24946         * config.make.in (sysheaders): New substituted variable.
24948         * sysdeps/unix/mkfifo.c: Moved ...
24949         * sysdeps/posix/mkfifo.c: ... here.
24950         * sysdeps/unix/mkfifoat.c: Moved ...
24951         * sysdeps/posix/mkfifoat.c: ... here.
24953         * sysdeps/unix/utime.c: Moved ...
24954         * sysdeps/posix/utime.c: ... here.
24956         * sysdeps/unix/time.c: Moved ...
24957         * sysdeps/posix/time.c: ... here.
24958         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24959         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24961         * sysdeps/unix/nice.c: Moved ...
24962         * sysdeps/posix/nice.c: ... here.
24964         * sysdeps/unix/alarm.c: Moved ...
24965         * sysdeps/posix/alarm.c: ... here.
24967         * intl/Makefile ($(codeset_mo)): Depend on the input file.
24969 2012-08-17  Jeff Law <law@redhat.com>
24971         * intl/Makefile (codeset_mo): New variable.
24972         ($(codeset_mo)): New target.
24973         (tst-codeset.out): Depend on that.  Remove explicit rule.
24974         (tst-gettext3.out, tst-gettext5.out): Likewise.
24975         (LOCPATH-ENV, tst-codeset-ENV): New variables.
24976         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24977         * intl/tst-codeset.sh: Remove.
24978         * intl/tst-gettext3.sh: Likewise.
24979         * intl/tst-gettext5.sh: Likewise.
24981 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24983         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
24984         * sysdeps/unix/syscalls.list: ... here.
24986         * sysdeps/posix/getaddrinfo.c
24987         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24988         (gaiconf_init, gaiconf_reload): Use them.
24989         [!_STATBUF_ST_NSEC]
24990         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24991         Define using time_t rather than struct timespec.
24993         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24994         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24995         Macros removed.
24996         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24997         [!NO_THREADS].
24998         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24999         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25000         Likewise.
25002         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25003         __libc_cleanup_push argument.
25005         * bits/param.h: New file.
25006         * misc/sys/param.h: New file.
25007         * include/sys/param.h: New file.
25008         * misc/Makefile (headers): Add bits/param.h.
25009         * sysdeps/generic/sys/param.h: File removed.
25010         * sysdeps/unix/sysv/linux/bits/param.h: New file.
25011         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25012         * sysdeps/mach/hurd/bits/param.h: New file.
25013         * sysdeps/mach/hurd/sys/param.h: File removed.
25015         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25016         last change.
25018         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25019         [_IO_MTSAFE_IO].
25020         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25021         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25022         New macros.
25024         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25025         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25026         rather than -D_IO_MTSAFE_IO conditionally.
25027         * stdio-common/Makefile (CPPFLAGS): Likewise.
25028         * wcsmbs/Makefile (CPPFLAGS): Likewise.
25029         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25030         Use $(libio-mtsafe).
25031         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25032         of -D_IO_MTSAFE_IO.
25033         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25034         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25035         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25036         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25037         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25038         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25039         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25040         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25041         (CFLAGS-fread_u_chk.c): Likewise.
25042         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25043         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25044         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25045         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25046         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25047         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25048         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25049         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25050         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25052         * libio/Makefile: Test [$(libc-reentrant) = yes]
25053         instead of [$(filter %REENTRANT, $(defines)) nonempty].
25055         * Makeconfig
25056         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25057         * sysdeps/pthread/configure: File removed.
25058         * sysdeps/pthread/Makeconfig: New file.
25059         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25060         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25062 2012-08-16  Gary Benson  <gbenson@redhat.com>
25064         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25065         unmapping the first object in a namespace.
25067 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25069         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25070         (__internal_setnetgrent): ... this.  Add internal_function to
25071         definition.  Add libc_hidden_def.
25072         (setnetgrent): Update caller.
25073         (internal_endnetgrent): Renamed to ...
25074         (__internal_endnetgrent): ... this.  Add internal_function to
25075         definition.  Add libc_hidden_def.
25076         (endnetgrent): Update caller.
25077         (internal_getnetgrent_r): Renamed to ...
25078         (__internal_getnetgrent_r): ... this.  Add internal_function to
25079         definition.  Add libc_hidden_def.
25080         (__getnetgrent_r): Update caller.
25081         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
25083 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25085         * stdlib/longlong.h: Update from GCC.
25087 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25089         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25090         on _QL, which is set by umul_ppmm but never used.
25091         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25092         variables, which are set by GMP macros but never used.
25093         * stdio-common/_itowa.c (_itowa): Likewise.
25094         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25095         * stdlib/mod_1.c (mpn_mod_1): Likewise.
25097 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
25099         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25100         struct La_sh_regs is not constant.
25101         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25102         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25103         and struct La_sparc64_regs are not constant.
25105 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25107         * sysdeps/unix/sysv/linux/kernel-features.h
25108         (__ASSUME_POSIX_TIMERS): Remove.
25109         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25110         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25111         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25112         Make code unconditional.
25113         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25114         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25115         Make code unconditional.
25116         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25117         * sysdeps/unix/sysv/linux/clock_nanosleep.c
25118         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25119         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25120         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25121         Make code unconditional.
25122         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25123         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25124         (__libc_missing_posix_timers): Remove.
25126 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25128         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25129         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25131         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25133         * elf/dl-sym.c: Include <stdlib.h>.
25135         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25136         constants, which avoids warnings in 32-bit builds.
25138         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25139         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25141         * misc/lseek.c: File moved to ...
25142         * io/lseek.c: ... here.
25144         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25146         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25147         shifting LEN more than 31 bits at once.
25149 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25151         [BZ #14195]
25152         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25153         segmentation fault for a case of two empty input strings.
25154         * string/test-strncasecmp.c (check1): Renamed to...
25155         (bz12205): ...this.
25156         (bz14195): Add new testcase for two empty input strings and N > 0.
25157         (test_main): Call new testcase, adapt for renamed function.
25159 2012-08-15  Andreas Jaeger  <aj@suse.de>
25161         [BZ #14090]
25162         * crypt/md5test2.c: New test, based on test supplied by Serge
25163         Belyshev <belyshev@depni.sinp.msu.ru>.
25164         * crypt/Makefile (xtests): Add md5test-giant..
25165         * crypt/Makefile ($(objpfx)md5test-giant): Add.
25167 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
25169         [BZ #14090]
25170         * crypt/md5.c (md5_process_block): Don't assume the buffer
25171         length is less than 2**32.
25172         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25173         length is less than 2**64.
25175 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25177         * string/str-two-way.h: Include <sys/param.h>.
25178         (MAX): Macro removed.
25180         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25181         Move #define and #undef of memmove to just before and after
25182         including <string.h>.
25184         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25185         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25186         and after including <string.h>.  Move declarations of
25187         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25188         to before #include "string/memmove.c".
25190         * include/dirent.h: Declare __getdirentries.
25192         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25193         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25195 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
25197         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25198         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25199         * sysdeps/i386/configure: Regenerated.
25200         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25201         STABS_CURRENT_FILE, and STABS_FUN.
25202         (END): Remove call to STABS_FUN_END.
25203         (STABS_CURRENT_FILE1): Delete.
25204         (STABS_CURRENT_FILE): Likewise.
25205         (STABS_FUN): Likewise.
25206         (STABS_FUN_END): Likewise.
25207         (STABS_FUN2): Likewise.
25208         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25209         * sysdeps/x86_64/configure: Regenerated.
25211 2012-08-14  Roland McGrath  <roland@hack.frob.com>
25213         * elf/dl-open.c: Include <atomic.h>.
25214         * elf/dl-lookup.c: Likewise.
25216 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
25218         * sysdeps/unix/sysv/linux/kernel-features.h
25219         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25220         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25221         unconditionally.
25222         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25223         unconditionally.
25224         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25225         condition on __ASSUME_CLONE_THREAD_FLAGS.
25227 2012-08-14  Andreas Jaeger  <aj@suse.de>
25229         * sysdeps/i386/fpu/libm-test-ulps: Update.
25231 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
25233         * include/atomic.h (atomic_exchange_and_add): Split into ...
25234         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25235         New atomic macros.
25237 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
25239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25241 2012-08-13  Jeff Law <law@redhat.com>
25243         * manual/stdio.texi (snprintf): Clarify handling of the trailing
25244         null byte in the output string.
25246 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
25248         * sysdeps/unix/sysv/linux/kernel-features.h
25249         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25250         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25251         (__ASSUME_ARG_MAX_STACK_BASED): Define.
25252         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25253         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25254         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
25255         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25257 2012-08-09  Jeff Law <law@redhat.com>
25259         [BZ #13939]
25260         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25261         When avoid_arena is set, don't retry in the that arena.  Pick the
25262         next one, whatever it might be.
25263         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25264         (arena_lock): Pass in new parameter to arena_get2.
25265         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25266         arena_get2.
25267         (__libc_malloc): Unify retrying after main arena failure with
25268         __libc_memalign version.
25269         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25271 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25273         [BZ #14166]
25274         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25275         to __redirect_strstr.
25276         (__strstr_sse42): Use typeof __redirect_strstr.
25277         (__strstr_ia32): Likewise.
25278         (__libc_strstr): New prototype.
25279         (strstr): Renamed to ...
25280         (__libc_strstr): This.
25281         (strstr): New strong alias of __libc_strstr.
25282         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25283         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25284         __redirect_time.
25285         Include <time.h>.
25286         (__libc_time): New prototype.
25287         (time_ifunc): Replace time with __libc_time.
25288         (time): New strong alias and hidden definition of __libc_time.
25289         (__GI_time): Remove strong alias.
25290         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25291         Include <stddef.h>.
25292         (memmove): Redefined to __redirect_memmove.
25293         (__memmove_sse2): Use typeof __redirect_memmove.
25294         (__memmove_ssse3): Likewise.
25295         (__memmove_ssse3_back): Likewise.
25296         (__libc_memmove): New prototype.
25297         (memmove): Renamed to ...
25298         (__libc_memmove): This.
25299         (memmove): New strong alias of __libc_memmove.
25301 2012-08-08  Mark Salter  <msalter@redhat.com>
25303         * elf/elf.h
25304         (R_MN10300_TLS_GD): Define.
25305         (R_MN10300_TLS_LD): Likewise.
25306         (R_MN10300_TLS_LDO): Likewise.
25307         (R_MN10300_TLS_GOTIE): Likewise.
25308         (R_MN10300_TLS_IE): Likewise.
25309         (R_MN10300_TLS_LE): Likewise.
25310         (R_MN10300_TLS_DTPMOD): Likewise.
25311         (R_MN10300_TLS_DTPOFF): Likewise.
25312         (R_MN10300_TLS_TPOFF): Likewise.
25313         (R_MN10300_SYM_DIFF): Likewise.
25314         (R_MN10300_ALIGN): Likewise.
25315         (R_MN10300_NUM): Update.
25317 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
25319         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25320         Remove.
25322 2012-08-08  Roland McGrath  <roland@hack.frob.com>
25324         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25326         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25327         sysdeps/unix -> sysdeps/posix move.
25328         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25330 2012-08-07      Allan McRae     <allan@archlinux.org>
25332         [BZ #14303]
25333         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25334         (SUNOS_CPP): Likewise.
25335         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25336         not found.
25337         (open_input): Call CPP using execvp.
25339 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25341         * sysdeps/unix/sysv/linux/kernel-features.h
25342         (__ASSUME_PROT_GROWSUPDOWN): Remove.
25343         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25344         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25345         (__ASSUME_WAITID_SYSCALL): Likewise.
25346         * sysdeps/unix/sysv/linux/dl-execstack.c
25347         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25348         code unconditional.
25349         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25350         conditional code.
25351         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25352         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25353         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25354         code.
25355         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25356         unconditional.
25357         [__ASSUME_WAITID_SYSCALL]: Likewise.
25358         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25360 2012-08-07  Roland McGrath  <roland@hack.frob.com>
25362         * sysdeps/unix/closedir.c: Renamed to ...
25363         * sysdeps/posix/closedir.c: ... here.
25364         * sysdeps/unix/dirfd.c: Renamed to ...
25365         * sysdeps/posix/dirfd.c: ... here.
25366         * sysdeps/unix/dirstream.h: Renamed to ...
25367         * sysdeps/posix/dirstream.h: ... here.
25368         * sysdeps/unix/fdopendir.c: Renamed to ...
25369         * sysdeps/posix/fdopendir.c: ... here.
25370         * sysdeps/unix/opendir.c: Renamed to ...
25371         * sysdeps/posix/opendir.c: ... here.
25372         * sysdeps/unix/readdir.c: Renamed to ...
25373         * sysdeps/posix/readdir.c: ... here.
25374         * sysdeps/unix/readdir_r.c: Renamed to ...
25375         * sysdeps/posix/readdir_r.c: ... here.
25376         * sysdeps/unix/rewinddir.c: Renamed to ...
25377         * sysdeps/posix/rewinddir.c: ... here.
25378         * sysdeps/unix/seekdir.c: Renamed to ...
25379         * sysdeps/posix/seekdir.c: ... here.
25380         * sysdeps/unix/telldir.c: Renamed to ...
25381         * sysdeps/posix/telldir.c: ... here.
25382         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25383         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25384         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25385         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25387         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25388         * bits/fcntl.h: ... here.
25390         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25391         not 0.
25392         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25393         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25394         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25395         (struct flock): Move l_start, l_len to the beginning.
25396         Use __pid_t for l_pid.
25397         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25398         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25399         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25400         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25401         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25402         [__USE_LARGEFILE64] (struct flock64): New type.
25403         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25405         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25406         * bits/dirent.h: ... here.
25408         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25409         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25411 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25413         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25414         Change from 2.6.0 to 2.6.16.
25415         * sysdeps/unix/sysv/linux/configure: Regenerated.
25416         * sysdeps/unix/sysv/linux/kernel-features.h
25417         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25418         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25419         version.
25420         (__ASSUME_UTIMES): Likewise.
25421         (__ASSUME_CLONE_STOPPED): Remove.
25422         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25423         architectures, not kernel version.
25424         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25425         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25426         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25427         (__ASSUME_WAITID_SYSCALL): Likewise.
25428         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25429         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25430         * README: State 2.6.16 as minimum Linux kernel version.  Do not
25431         refer to older versions.
25433 2012-08-06  Roland McGrath  <roland@hack.frob.com>
25435         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25436         Define alphasort64 as an alias.
25437         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25438         Define versionsort64 as an alias.
25439         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25440         Define scandir64 as an alias.
25441         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25442         Define scandirat64 as an alias.
25443         * dirent/alphasort64.c (alphasort64):
25444         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25445         * dirent/versionsort64.c: Likewise.
25446         * dirent/scandir64.c: Likewise.
25447         * dirent/scandirat64.c: Likewise.
25448         * sysdeps/wordsize-64/alphasort.c: File removed.
25449         * sysdeps/wordsize-64/alphasort64.c: File removed.
25450         * sysdeps/wordsize-64/scandir.c: File removed.
25451         * sysdeps/wordsize-64/scandir64.c: File removed.
25452         * sysdeps/wordsize-64/scandirat.c: File removed.
25453         * sysdeps/wordsize-64/scandirat64.c: File removed.
25454         * sysdeps/wordsize-64/versionsort.c: File removed.
25455         * sysdeps/wordsize-64/versionsort64.c: File removed.
25456         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25457         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25458         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25459         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25460         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25461         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25462         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25463         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25465         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25467         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25469         [defined __arch64__ || defined __sparcv9]
25470         (__INO_T_MATCHES_INO64_T): New macro.
25471         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25472         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25473         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25474         * sysdeps/unix/sysv/linux/bits/dirent.h
25475         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25476         (_DIRENT_MATCHES_DIRENT64): New macro.
25478         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25479         Define lockf64 as an alias.
25480         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25481         Define fseeko64 as an alias.
25482         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25483         Define ftello64 as an alias.
25484         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25485         Define _IO_fgetpos64 and fgetpos64 as aliases.
25486         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25487         Define _IO_fsetpos64 and fsetpos64 as aliases.
25488         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25489         Conditionalize body on this.
25490         * libio/fseeko64.c: Likewise.
25491         * libio/ftello64.c: Likewise.
25492         * libio/iofgetpos64.c: Likewise.
25493         * libio/iofsetpos64.c: Likewise.
25494         * sysdeps/wordsize-64/lockf.c: File removed.
25495         * sysdeps/wordsize-64/lockf64.c: File removed.
25496         * sysdeps/wordsize-64/fseeko.c: File removed.
25497         * sysdeps/wordsize-64/fseeko64.c: File removed.
25498         * sysdeps/wordsize-64/ftello.c: File removed.
25499         * sysdeps/wordsize-64/ftello64.c: File removed.
25500         * sysdeps/wordsize-64/iofgetpos.c: File removed.
25501         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25502         * sysdeps/wordsize-64/iofsetpos.c: File removed.
25503         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25504         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25505         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25506         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25507         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25508         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25509         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25510         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25511         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25512         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25513         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25515         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25517         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25518         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25519         [defined __arch64__ || defined __sparcv9]
25520         (__OFF_T_MATCHES_OFF64_T): New macro.
25521         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25522         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25523         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25524         (__OFF_T_MATCHES_OFF64_T): New macro.
25526 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25528         * stdlib/secure-getenv.c (__secure_getenv): Replace
25529         GLIBC_2_16 with GLIBC_2_17.
25531 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25533         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25534         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25536 2012-08-03  David S. Miller  <davem@davemloft.net>
25538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25540 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25542         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25543         Remove.
25544         (__ASSUME_CORRECT_SI_PID): Likewise.
25545         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25546         (__ASSUME_TMPFS_NAME): Likewise.
25547         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25548         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25549         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25550         (HAVE_AUX_SECURE): Make definition unconditional.
25551         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25552         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25554 2012-08-03  Roland McGrath  <roland@hack.frob.com>
25556         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25557         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25558         * sysdeps/mach/hurd/eloop-threshold.h: New file.
25559         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25560         __eloop_threshold instead of SYMLOOP_MAX.
25562         * sysdeps/generic/eloop-threshold.h: New file.
25563         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25564         of MAXSYMLINKS.
25565         * elf/chroot_canon.c (chroot_canon): Likewise.
25567 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25569         [BZ #13717]
25570         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25571         Change to 2.6.0 everywhere.
25572         * sysdeps/unix/sysv/linux/configure: Regenerated.
25573         * sysdeps/unix/sysv/linux/kernel-features.h
25574         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25575         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25576         kernel versions.
25577         (__ASSUME_POSIX_TIMERS): Define unconditionally.
25578         (__ASSUME_FUTEX_REQUEUE): Remove.
25579         (__ASSUME_STATFS64): Define unconditionally.
25580         (__ASSUME_AT_SECURE): Likewise.
25581         (__ASSUME_CORRECT_SI_PID): Likewise.
25582         (__ASSUME_TGKILL): Define without depending on kernel version for
25583         i386.
25584         (__ASSUME_UTIMES): Likewise.
25585         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25586         kernel version.
25587         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25588         (__ASSUME_TMPFS_NAME): Likewise.
25589         * README: Update reference to Linux kernel versions.
25591 2012-08-02  Marek Polacek  <polacek@redhat.com>
25593         [BZ# 14150]
25594         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
25595         libc_cv_asm_type_prefix with %.
25596         * configure: Regenerated.
25597         * include/libc-symbols.h: Remove comment about
25598         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25599         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25600         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25601         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25602         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25603         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25604         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25605         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25606         * elf/tst-unique2mod1.c: Likewise.
25607         * elf/tst-unique1mod2.c: Likewise.
25608         * elf/tst-unique1mod1.c: Likewise.
25609         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25610         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25611         Replace ASM_TYPE_DIRECTIVE with .type.
25612         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25613         * sysdeps/i386/sysdep.h: Likewise.
25614         * sysdeps/x86_64/sysdep.h: Likewise.
25615         * sysdeps/sh/sysdep.h: Likewise.
25616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25617         Do not define ASM_TYPE_DIRECTIVE.
25618         * sysdeps/powerpc/sysdep.h: Likewise.
25619         * sysdeps/powerpc/powerpc32/sysdep.h:
25620         Replace ASM_TYPE_DIRECTIVE with .type.
25621         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25622         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25623         * sysdeps/i386/fpu/e_powf.S: Likewise.
25624         * sysdeps/i386/fpu/e_expl.S: Likewise.
25625         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25626         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25627         * sysdeps/i386/fpu/e_pow.S: Likewise.
25628         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25629         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25630         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25631         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25632         * sysdeps/i386/fpu/e_log2.S: Likewise.
25633         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25634         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25635         * sysdeps/i386/fpu/e_powl.S: Likewise.
25636         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25637         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25638         * sysdeps/i386/fpu/e_logl.S: Likewise.
25639         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25640         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25641         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25642         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25643         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25644         * sysdeps/i386/fpu/e_log.S: Likewise.
25645         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25646         * sysdeps/i386/fpu/e_logf.S: Likewise.
25647         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25648         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25649         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25650         * sysdeps/i386/fpu/e_log10.S: Likewise.
25651         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25652         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25653         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25654         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25655         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25656         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25657         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25658         * sysdeps/i386/i686/strtok.S: Likewise.
25659         * sysdeps/i386/i386-mcount.S: Likewise.
25660         * sysdeps/i386/strtok.S: Likewise.
25661         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25662         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25663         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25664         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25665         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25666         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25667         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25668         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25669         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25670         * sysdeps/x86_64/_mcount.S: Likewise.
25671         * sysdeps/x86_64/strtok.S: Likewise.
25672         * sysdeps/sh/_mcount.S: Likewise.
25674 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25676         * libio/iofopen.c: Include <fcntl.h>.
25677         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25678         (_IO_fopen64, fopen64): Define as aliases.
25679         * libio/iofopen64.c: Include <fcntl.h>.
25680         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25681         Conditionalize body on this.
25682         * sysdeps/wordsize-64/iofopen.c: File removed.
25683         * sysdeps/wordsize-64/iofopen64.c: File removed.
25685 2012-08-01  Marek Polacek  <polacek@redhat.com>
25687         * libc/Makeconfig: Use elf in place of binfmt-subdir.
25688         Use dlfcn directly instead of a variable.
25689         (binfmt-subdir): Do not define.
25690         (dlfcn): Likewise.
25692 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
25694         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25695         Remove all definitions.
25696         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25697         <kernel-features.h>.
25698         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25699         (miss_F_GETOWN_EX): Remove all definitions.
25700         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25701         macro definition.
25702         [!__ASSUME_FCNTL64]: Remove conditional code.
25703         [__ASSUME_FCNTL64]: Make code unconditional.
25704         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25705         <kernel-features.h>.
25706         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25707         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25708         (lockf64) [__NR_fcntl64]: Make code unconditional.
25709         (lockf64) [__ASSUME_FCNTL64]: Likewise.
25711         * sysdeps/unix/sysv/linux/kernel-features.h
25712         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25713         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25714         Make code unconditional.
25715         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25716         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25718         [__NR_vfork]: Make code unconditional.
25719         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25720         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25722         [__NR_vfork]: Make code unconditional.
25723         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25724         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25726 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25728         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25729         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25731         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25732         Define mkstemp64 as an alias.
25733         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25734         Define mkstemps64 as an alias.
25735         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25736         Define mkostemp64 as an alias.
25737         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25738         Define mkostemps64 as an alias.
25739         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25740         Conditionalize body on this.
25741         * misc/mkostemp64.c: Likewise.
25742         * misc/mkostemps64.c: Likewise.
25743         * misc/mkstemps64.c: Likewise.
25744         * sysdeps/wordsize-64/mkstemp64.c: File removed.
25745         * sysdeps/wordsize-64/mkostemp64.c: File removed.
25746         * sysdeps/wordsize-64/mkostemp.c: File removed.
25747         * sysdeps/wordsize-64/mkstemp.c: File removed.
25748         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25749         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25750         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25751         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25753         [BZ #14138]
25754         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25755         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25756         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25757         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25759         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25760         compat_symbol macros from <shlib-compat.h> rather than the underlying
25761         default_symbol_version and symbol_version macros, so that DEFAULT
25762         lines in shlib-versions are respected.
25763         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25765 2012-08-01  Florian Weimer  <fweimer@redhat.com>
25767         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25768         Declare with warn_unused_result.
25769         (setgid, setregid, setegid, setresgid): Likewise.
25770         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25771         Likewise.
25772         * WUR-REPORT: Remove set*id functions.
25774 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
25776         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25778 2012-07-31  Roland McGrath  <roland@hack.frob.com>
25780         [BZ #10191]
25781         * include/sys/socket.h (__libc_accept, __libc_accept4):
25782         Add attribute_hidden.
25783         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25785         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25786         use of PTR_MANGLE.
25787         * inet/getnetgrent_r.c (setup): Likewise.
25789         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25791 2012-07-31  David S. Miller  <davem@davemloft.net>
25793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25795 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
25797         [BZ #13629]
25798         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25799         value between 1.0 and 2.0 and smaller part has absolute value less
25800         than 1.0.
25801         * math/s_clog10.c (__clog10): Likewise.
25802         * math/s_clog10f.c (__clog10f): Likewise.
25803         * math/s_clog10l.c (__clog10l): Likewise.
25804         * math/s_clogf.c (__clogf): Likewise.
25805         * math/s_clogl.c (__clogl): Likewise.
25806         * math/libm-test.inc (clog_test): Add more tests.
25807         (clog10_test): Likewise.
25808         * sysdeps/i386/fpu/libm-test-ulps: Update.
25809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25811 2012-07-31  Florian Weimer  <fweimer@redhat.com>
25813         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25814         Exit with zero in case no suitable GID is found, and write a
25815         message to standard error.
25817 2012-07-30  Roland McGrath  <roland@hack.frob.com>
25819         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25820         rather than to 1.
25821         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25822         (MAXPATHLEN): Removed.
25823         (NOGROUP, NODEV): New macros.
25824         (setbit, clrbit, isset, isclr): New macros.
25825         (howmany, roundup, powerof2): New macros.
25826         (DEV_BSIZE): New macro.
25828         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25829         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25831         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25832         definition on [!__NO_LONG_DOUBLE_MATH].
25834         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25835         PTR_MANGLE and PTR_DEMANGLE.
25837         * socket/accept4.c (accept4): Rename to __libc_accept4.
25838         Define accept4 as a weak alias.
25840         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25841         on [_DIRENT_HAVE_D_TYPE].
25842         * io/ftw.c (ftw_dir): Likewise.
25844         * io/xmknod.c (__xmknod): Don't check PATH for being null.
25846         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25848         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25849         Use the BSD numbers rather than the arbitrary ones we had.
25850         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25851         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25852         (SIGXCPU, SIGXFSZ): New macros.
25853         (_NSIG): Now 32.
25855         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25856         initializer on [_LIBC_REENTRANT].
25858         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25859         definitions inside [_POSIX_MAPPED_FILES].
25861         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25863         * dirent/opendir.c: Include <fcntl.h>.
25865         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25866         (__libc_getspecific): Likewise.
25867         (__libc_key_create): Likewise.
25869         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25870         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25871         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25872         (tmpfile64): Define as alias.
25873         * sysdeps/wordsize-64/tmpfile.c: File removed.
25874         * sysdeps/wordsize-64/tmpfile64.c: File removed.
25875         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25876         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25878         * stdio-common/vfscanf.c: Include <stdbool.h>.
25879         * nss/makedb.c: Likewise.
25880         * stdio-common/_i18n_number.h: Likewise.
25881         * argp/argp-help.c: Likewise.
25882         * posix/wordexp.c: Likewise.
25883         * sysdeps/posix/spawni.c: Likewise.
25884         * nss/nss_files/files-initgroups.c: Likewise.
25885         * stdio-common/reg-modifier.c: Include <stdlib.h>.
25886         * nss/nss_files/files-initgroups.c: Likewise.
25887         * nss/nss_db/db-netgrp.c: Likewise.
25888         * nss/nss_db/db-initgroups.c: Likewise.
25889         * io/fchmodat.c: Include <sys/stat.h>.
25891         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25892         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25894         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25895         [HAVE_MMAP].
25897         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25898         Add multiple inclusion protection.
25900 2012-07-27  David S. Miller  <davem@davemloft.net>
25902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25904 2012-07-27  Gary Benson  <gbenson@redhat.com>
25906         [BZ #14298]
25907         * elf/rtld.c: Include <stap-probe.h>.
25908         (dl_main): Added static probes "init_start" and "init_complete".
25909         * elf/dl-load.c: Include <stap-probe.h>.
25910         (lose): Take new parameter "nsid".
25911         Added static probe "map_failed".
25912         (_dl_map_object_from_fd): Pass namespace id to lose.
25913         Added static probe "map_start".
25914         (open_verify): Pass namespace id to lose.
25915         * elf/dl-open.c: Include <stap-probe.h>.
25916         (dl_open_worker) Added static probes "map_complete", "reloc_start"
25917         and "reloc_complete".
25918         * elf/dl-close.c: Include <stap-probe.h>.
25919         (_dl_close_worker): Added static probes "unmap_start" and
25920         "unmap_complete".
25921         * elf/rtld-debugger-interface.txt: New file documenting the above.
25923 2012-07-26  Roland McGrath  <roland@hack.frob.com>
25925         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25926         rather than a string variable.
25927         * sunrpc/rpc_main.c (h_output): Likewise.
25928         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25930 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
25932         * inet/check_native.c: New file.
25934 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
25936         [BZ #13629]
25937         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25938         if larger part has absolute value 1.0.
25939         * math/s_clog10.c (__clog10): Likewise.
25940         * math/s_clog10f.c (__clog10f): Likewise.
25941         * math/s_clog10l.c (__clog10l): Likewise.
25942         * math/s_clogf.c (__clogf): Likewise.
25943         * math/s_clogl.c (__clogl): Likewise.
25944         * math/libm-test.inc (clog_test): Add more tests.
25945         (clog10_test): Likewise.
25946         * sysdeps/i386/fpu/libm-test-ulps: Update.
25947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25949         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25950         (pltexit): Likewise.
25951         (La_regs): Likewise.
25952         (La_retval): Likewise.
25953         (int_retval): Likewise.
25954         Update #error for removed macros to refer only to definitions in
25955         tst-audit.h.
25956         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25957         macro.
25958         (pltexit): Likewise.
25959         (La_regs): Likewise.
25960         (La_retval): Likewise.
25961         (int_retval): Likewise.
25962         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25963         macro.
25964         (pltexit): Likewise.
25965         (La_regs): Likewise.
25966         (La_retval): Likewise.
25967         (int_retval): Likewise.
25968         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25969         macro.
25970         (pltexit): Likewise.
25971         (La_regs): Likewise.
25972         (La_retval): Likewise.
25973         (int_retval): Likewise.
25974         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25975         macro.
25976         (pltexit): Likewise.
25977         (La_regs): Likewise.
25978         (La_retval): Likewise.
25979         (int_retval): Likewise.
25980         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25981         macro.
25982         (pltexit): Likewise.
25983         (La_regs): Likewise.
25984         (La_retval): Likewise.
25985         (int_retval): Likewise.
25986         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25987         macro.
25988         (pltexit): Likewise.
25989         (La_regs): Likewise.
25990         (La_retval): Likewise.
25991         (int_retval): Likewise.
25992         * sysdeps/generic/tst-audit.h: Update comment to refer only to
25993         macro definitions in tst-audit.h.
25994         * sysdeps/i386/tst-audit.h: New file.
25995         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25996         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25997         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25998         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25999         * sysdeps/sh/tst-audit.h: Likewise.
26000         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26001         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26002         * sysdeps/x86_64/tst-audit.h: Likewise.
26004 2012-07-26  Andreas Jaeger  <aj@suse.de>
26006         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26007         ptrace.
26009         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26010         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26011         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26012         PTRACE_O_MASK.
26013         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26014         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26015         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26017         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26018         value.
26020         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26021         _sigsys.
26022         (si_call_addr, si_syscall, si_arch): Define new macro.
26023         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26024         _sigsys.
26025         (si_call_addr, si_syscall, si_arch): Define new marcro.
26026         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26027         _sigsys.
26028         (si_call_addr, si_syscall, si_arch): Define new macro.
26029         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26030         _sigsys.
26031         (si_call_addr, si_syscall, si_arch): Define new macro.
26033 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26035         [BZ #13717]
26036         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26037         Change to 2.4.21 where previously 2.4.1.
26038         * sysdeps/unix/sysv/linux/configure: Regenerated.
26039         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26040         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26041         Linux kernel version.
26042         (__ASSUME_STD_AUXV): Remove.
26043         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26044         kernel version.
26045         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26046         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26047         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26048         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26049         (__ASSUME_NETLINK_SUPPORT): Likewise.
26050         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26051         (__no_netlink_support): Remove conditional definition.
26052         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26053         Remove.
26054         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26055         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26056         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26057         (if_nameindex_ioctl): Remove.
26058         (if_nameindex_netlink): Do not handle __no_netlink_support.
26059         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26060         code.
26061         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26062         Remove conditional code.
26063         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26064         code.
26065         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26066         unconditional.
26067         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26068         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26069         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26070         Remove.
26071         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26072         [!__ASSUME_STD_AUXV]: Remove conditional code.
26073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26074         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26075         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26077         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26078         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26079         code.
26080         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26082         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26083         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26084         conditional code.
26085         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26087         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26088         code.
26089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26090         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26091         conditional code.
26092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26093         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26094         code unconditional.
26095         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26096         conditional code.
26097         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26098         unconditional.
26099         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26100         conditional code.
26101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26102         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26103         unconditional.
26104         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26105         conditional code.
26106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26107         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26108         code unconditional.
26109         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26110         conditional code.
26111         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26112         unconditional.
26113         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26114         conditional code.
26115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26116         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26117         code unconditional.
26118         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26119         conditional code.
26120         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26121         unconditional.
26122         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26123         conditional code.
26125 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
26127         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26128         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26129         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26130         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26131         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26132         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26133         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26134         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26135         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26136         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26137         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26138         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26139         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26140         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26141         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26142         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26143         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26144         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26145         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26147         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26148         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26149         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26151 2012-07-25  Florian Weimer  <fweimer@redhat.com>
26153         * Versions.def: Add GLIBC_2.17.
26154         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26155         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26156         Introduce __libc_secure_getenv.
26157         * stdlib/Versions (2.17): Add secure_getenv
26158         (GLIBC_PRIVATE): Add __libc_secure_getenv.
26159         * stdlib/secure-getenv.c: Rename __secure_getenv to
26160         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
26161         symbol __secure_getenv for GLIBC_2.0.
26162         * stdlib/tst-secure-getenv.c: New.
26163         * stdlib/Makefile (tests): Add testcase.
26164         * manual/startup.texi (Environment Access): Document
26165         secure_getenv.
26166         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26167         __libc_secure_getenv.
26168         * inet/ruserpass.c (ruserpass): Likewise.
26169         * malloc/mtrace.c (mtrace): Likewise.
26170         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26171         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26172         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26173         * sysdeps/posix/tempname.c: Likewise.  Evaluate
26174         HAVE_SECURE_GETENV.
26175         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26176         __secure_getenv to __libc_secure_getenv.
26177         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26179         Likewise.
26180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26181         Likewise.
26182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26184         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26190 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26192         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26193         (struct La_i86_retval): Likewise.
26194         (struct La_x86_64_regs): Likewise.
26195         (struct La_x86_64_retval): Likewise.
26196         (struct La_x32_regs): Likewise.
26197         (struct La_x32_retval): Likewise.
26198         (struct La_ppc32_regs): Likewise.
26199         (struct La_ppc32_retval): Likewise.
26200         (struct La_ppc64_regs): Likewise.
26201         (struct La_ppc64_retval): Likewise.
26202         (struct La_sh_regs): Likewise.
26203         (struct La_sh_retval): Likewise.
26204         (struct La_s390_32_regs): Likewise.
26205         (struct La_s390_32_retval): Likewise.
26206         (struct La_s390_64_regs): Likewise.
26207         (struct La_s390_64_retval): Likewise.
26208         (struct La_sparc32_regs): Likewise.
26209         (struct La_sparc32_retval): Likewise.
26210         (struct La_sparc64_regs): Likewise.
26211         (struct La_sparc64_retval): Likewise.
26212         (struct audit_ifaces): Remove architecture-specific pltenter and
26213         pltexit members.
26214         * sysdeps/i386/ldsodefs.h: New file.
26215         * sysdeps/powerpc/ldsodefs.h: Likewise.
26216         * sysdeps/s390/ldsodefs.h: Likewise.
26217         * sysdeps/sh/ldsodefs.h: Likewise.
26218         * sysdeps/sparc/ldsodefs.h: Likewise.
26219         * sysdeps/x86_64/ldsodefs.h: Likewise.
26221 2012-07-25  Marek Polacek  <polacek@redhat.com>
26223         [BZ #6808]
26224         * math/libm-test.inc (yn_test): Add another test.
26225         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26226         to ERANGE when the result is +-Inf.
26227         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26228         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26229         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26230         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26232 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
26234         * conform/data/time.h-data (NULL): Use macro-constant.  Require
26235         equal to 0.
26236         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
26237         clock_t.
26238         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
26240 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
26242         * configure.in <sysdeps resolving>: Correct printing
26243         Implies_before.
26244         * configure: Regenerate.
26246 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
26248         * math/w_ilogb.c: Include <limits.h>.
26249         * math/w_ilogbl.c: Likewise.
26251 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26253         * manual/lang.texi (__va_copy): Document primarily as ISO C99
26254         va_copy.  Document allowing for unavailable va_copy only as
26255         pre-C99 compatibility.
26256         * manual/string.texi (Copying and Concatenation): Use va_copy
26257         instead of __va_copy in concat example.
26259 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
26261         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26262         (__sendto): Use create_address_port.  Initialize APORT and deallocate
26263         it if not null.
26265         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26266         with O_NOLINK passed to __file_name_lookup.
26268         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26269         with O_NOLINK passed to __file_name_lookup.
26271         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26272         negative N or less than NGIDS.
26274         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26275         type to string_t.  Set ERANGE as errno and return it if NAME is not big
26276         enough.  Use memcpy instead of strncpy.
26278 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26280         * elf/Makefile (check-data): Remove.
26281         (localplt.data): New vpath directive.
26282         ($(objpfx)check-localplt.out): Use localplt.data from vpath
26283         instead of $(check-data).
26284         * scripts/data/localplt-generic.data: Move to ...
26285         * sysdeps/generic/localplt.data: ... here.
26286         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26287         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26288         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26290         ... here.
26291         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26293         ... here.
26294         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26296         ... here.
26297         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26299         ... here.
26300         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26302         ... here.
26303         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26305         ... here.
26307 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26309         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26310         PPC32 and PPC64 files.
26311         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26312         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26314 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26316         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26317         __makecontext_ret to ...
26318         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26319         ... here and call exit if uc_link is NULL.  New file.
26320         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26321         __makecontext_ret.S.
26322         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26323         __makecontext_ret to ...
26324         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26325         ... here and call exit if uc_link is NULL.  New file.
26326         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26327         __makecontext_ret.S.
26329 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26331         * elf/elf.h (R_390_IRELATIVE): New definition.
26332         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26333         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
26334         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26335         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26336         (elf_machine_lazy_rel): Likewise.
26337         * sysdeps/s390/dl-irel.h: New file.
26338         * sysdeps/s390/s390-64/memcpy.S: New asm code.
26339         * sysdeps/s390/s390-64/memset.S: New asm code.
26340         * sysdeps/s390/s390-64/memcmp.S: New asm code.
26341         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26342         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26343         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26344         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26345         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26346         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26347         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26348         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26349         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26350         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26351         * sysdeps/s390/s390-32/memcpy.S: New asm code.
26352         * sysdeps/s390/s390-32/memset.S: New asm code.
26353         * sysdeps/s390/s390-32/memcmp.S: New asm code.
26355 2012-07-17  Marek Polacek  <polacek@redhat.com>
26357         [BZ #14349]
26358         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26359         * sysdeps/s390/s390-64/configure.in: Likewise.
26360         * sysdeps/sparc/configure.in: Likewise.
26361         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26362         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26363         * sysdeps/i386/configure.in: Likewise.
26364         * sysdeps/x86_64/configure.in: Likewise.
26365         * sysdeps/sh/configure.in: Likewise.
26366         * sysdeps/s390/s390-32/configure: Regenerated.
26367         * sysdeps/s390/s390-64/configure: Likewise.
26368         * sysdeps/x86_64/configure: Likewise.
26369         * sysdeps/sh/configure: Likewise.
26370         * sysdeps/powerpc/powerpc64/configure: Likewise.
26371         * sysdeps/powerpc/powerpc32/configure: Likewise.
26372         * sysdeps/sparc/configure: Likwise.
26373         * sysdeps/i386/configure: Likewise.
26375         * elf/dl-open.c: Comment fixes.
26377 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
26379         * Makefile [CXX] (check-data): Remove.
26380         [CXX] (c++-types.data): New vpath directive.
26381         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26382         vpath.  Do not allow for C++ type data being missing.
26383         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26384         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26385         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26386         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26387         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26388         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26389         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26391         ... here.
26392         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26394         ... here.
26395         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26397         ... here.
26398         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26400         ... here.
26401         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26403         ... here.
26404         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26406         ... here.
26407         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26409         ... here.
26410         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26413         * elf/tls-macros.h (TLS_LE): Move architecture-specific
26414         definitions to architecture-specific files.
26415         (TLS_IE): Likewise.
26416         (TLS_LD): Likewise.
26417         (TLS_GD): Likewise.
26418         * sysdeps/i386/tls-macros.h: New file.
26419         * sysdeps/powerpc/tls-macros.h: Likewise.
26420         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26421         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26422         * sysdeps/sh/tls-macros.h: Likewise.
26423         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26424         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26425         * sysdeps/x86_64/tls-macros.h: Likewise.
26427 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26429         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26430         zero value for regular exit case.
26432         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26433         (__start_context): Preserve zero value for regular exit case.
26435 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26436             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26438         * manual/setjmp.texi (setcontext): Clarify normal process
26439         termination when uc_link is the null pointer.
26440         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26441         exit call.
26443 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
26445         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26446         preprocessor.  Test for each exception mask separately.
26448 2012-07-16  Andreas Jaeger  <aj@suse.de>
26450         * po/ru.po: Update from translation team.
26452 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
26454         * conform/data/string.h-data (NULL): Use macro-constant.  Require
26455         equal to 0.
26456         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26457         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26458         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26459         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26460         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26462 2012-07-13  Andreas Jaeger  <aj@suse.de>
26464         * po/fr.po: Update from translation team.
26466 2012-07-12  Marek Polacek  <polacek@redhat.com>
26468         [BZ #14173]
26469         * math/libm-test.inc (yn_test): Add test for BZ #14173.
26470         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26471         loop condition.
26473 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
26475         [BZ #13717]
26476         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26477         Change to 2.4.1 where previously 2.4.0.
26478         * sysdeps/unix/sysv/linux/configure: Regenerated.
26479         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26480         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26481         version.
26482         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26483         (__ASSUME_AT_CLKTCK): Remove.
26484         (__ASSUME_AT_PAGESIZE): Likewise.
26485         (__ASSUME_AT_XID): Likewise.
26486         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26487         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26488         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26489         unconditionally.
26490         (HAVE_AUX_PAGESIZE): Likewise.
26491         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26492         [__ASSUME_AT_CLKTCK]: Make code unconditional.
26493         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26495 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
26497         [BZ #14307]
26498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26499         the temporary buffer used to invoke __gethostbyname2_r,
26500         __gethostbyaddr_r and gethostbyname4_r to make room for struct
26501         host_data / struct gaih_addrtuple.
26502         * resolv/nss_dns/dns-host.c (global scope): Move definition of
26503         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26504         header file nss/nsswitch.h.
26505         * nss/nsswitch.h (global scope): Add definition of implementation
26506         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26507         resolv/nss_dns/dns-host.c).
26509 2012-07-11  Andreas Jaeger  <aj@suse.de>
26511         * po/fr.po: Update from translation team.
26513         * po/sv.po: Update from translation team
26514         * po/fr.po: Another update from translation team.
26516 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26518         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26519         for subnormals or multiply small sinh result by itself.
26520         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26523 2012-07-11  David S. Miller  <davem@davemloft.net>
26525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26527 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
26529         [BZ #14347]
26530         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26531         (INTERNAL_MARK): Shift it here.
26533 2012-07-10  Marek Polacek  <polacek@redhat.com>
26535         [BZ #14151]
26536         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
26537         libc_cv_asm_global_directive with .globl.
26538         * configure: Regenerated.
26539         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26540         with .globl.
26541         * sysdeps/i386/configure: Regenerated.
26542         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26543         with .globl.
26544         * sysdeps/x86_64/configure: Regenerated.
26545         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26546         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26547         * elf/tst-unique2mod2.c: Likewise.
26548         * elf/tst-unique2mod1.c: Likewise.
26549         * elf/tst-unique1mod2.c: Likewise.
26550         * elf/tst-unique1mod1.c: Likewise.
26551         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26552         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26553         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26554         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26555         * sysdeps/mach/sysdep.h: Likewise.
26556         * sysdeps/i386/sysdep.h: Likewise.
26557         * sysdeps/i386/i386-mcount.S: Likewise.
26558         * sysdeps/x86_64/_mcount.S: Likewise.
26559         * sysdeps/x86_64/sysdep.h: Likewise.
26560         * sysdeps/sh/_mcount.S: Likewise.
26561         * sysdeps/sh/sysdep.h: Likewise.
26562         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26563         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26564         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26565         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26566         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26567         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26568         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26569         * locale/localeinfo.h: Likewise.
26570         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26571         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26573 2012-07-09  Roland McGrath  <roland@hack.frob.com>
26575         [BZ #14336]
26576         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26577         system".
26578         * manual/message.texi (The Uniforum approach): Likewise.
26579         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26580         (glibc iconv Implementation): Likewise.
26582 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
26584         [BZ #14337]
26585         * math/s_clog.c (__clog): Avoid scaling a value down where that
26586         could result in underflow.
26587         * math/s_clog10.c (__clog10): Likewise.
26588         * math/s_clog10f.c (__clog10f): Likewise.
26589         * math/s_clog10l.c (__clog10l): Likewise.
26590         * math/s_clogf.c (__clogf): Likewise.
26591         * math/s_clogl.c (__clogl): Likewise.
26592         * math/libm-test.inc (clog_test): Add more tests.
26593         (clog10_test): Likewise.
26594         * sysdeps/i386/fpu/libm-test-ulps: Update.
26595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26597 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
26599         [BZ #14283]
26600         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26601         by 7 not 8 to examine high bit of fractional part.
26603         [BZ #14042]
26604         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26605         for call to __mcount_internal.
26606         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26607         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26608         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26610 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
26612         [BZ #14154]
26613         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26614         approximation for values within 0x1p-13f of an odd multiple of
26615         pi/4.
26616         * math/libm-test.inc (tan_test): Do not allow spurious underflow
26617         exception.  Add more tests.
26618         * sysdeps/i386/fpu/libm-test-ulps: Update.
26620         [BZ #6778]
26621         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26622         inputs and return -1 for them.  Do not check for +Inf in case not
26623         reachable for +Inf.
26624         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26625         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26626         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26627         and return -1 for them.  Do not check for +Inf in case not
26628         reachable for +Inf.
26629         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26630         define.
26631         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26632         and return -1 for them.  Do not check for +Inf in case not
26633         reachable for +Inf.
26634         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
26635         spurious underflow.
26636         * sysdeps/i386/fpu/libm-test-ulps: Update.
26637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26639 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
26641         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26643 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
26645         [BZ #14157]
26646         [BZ #14331]
26647         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26648         could result in spurious underflow.  Scale down values above
26649         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26650         * math/s_csqrtf.c (__csqrtf): Likewise.
26651         * math/s_csqrtl.c (__csqrtl): Likewise.
26652         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
26653         spurious underflow.
26654         * sysdeps/i386/fpu/libm-test-ulps: Update.
26655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26657 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
26659         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26660         xopen-msg.sed.
26661         * catgets/xopen-msg.awk: New file.
26662         * catgets/xopen-msg.sed: Removed.
26664         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26665         po2text.sed.
26666         * intl/po2test.awk: New file.
26667         * intl/po2test.sed: Removed.
26669 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
26671         [BZ #14328]
26672         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26673         or multiply small sinh result by itself.
26674         * math/s_ctanf.c (__ctanf): Likewise.
26675         * math/s_ctanh.c (__ctanh): Likewise.
26676         * math/s_ctanhf.c (__ctanhf): Likewise.
26677         * math/s_ctanhl.c (__ctanhl): Likewise.
26678         * math/s_ctanl.c (__ctanl): Likewise.
26679         * math/libm-test.inc (ctan_test_tonearest): New function.
26680         (ctan_test_towardzero): Likewise.
26681         (ctan_test_downward): Likewise.
26682         (ctan_test_upward): Likewise.
26683         (ctanh_test_tonearest): Likewise.
26684         (ctanh_test_towardzero): Likewise.
26685         (ctanh_test_downward): Likewise.
26686         (ctanh_test_upward): Likewise.
26687         (main): Call these new functions.
26688         * sysdeps/i386/fpu/libm-test-ulps: Update.
26689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26691 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
26693         * .gitignore: Delete /ports entry.
26695 2012-07-03  Andreas Jaeger  <aj@suse.de>
26697         * po/bg.po: Update from translation team.
26698         * po/cs.po: Likewise.
26699         * po/de.po: Likewise.
26700         * po/hr.po: Likewise.
26701         * po/nl.pl: Likewise.
26702         * po/pl.po: Likewise.
26703         * po/vi.po: Likewise.
26705 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
26707         * Makeconfig [!+link] (+link-before-libc): New variable.
26708         [!+link] (+link-after-libc): Likewise.
26709         [!+link] (+link-tests): Likewise.
26710         [!+link] (+link): Define in terms of $(+link-before-libc) and
26711         $(+link-after-libc).
26712         [!+link-static] (+link-static-before-libc): New variable.
26713         [!+link-static] (+link-static-after-libc): Likewise.
26714         [!+link-static] (+link-static-tests): Likewise.
26715         [!+link-static] (+link-static): Define in terms of
26716         $(+link-static-before-libc) and $(+link-static-after-libc).
26717         [build-shared] (link-libc-before-gnulib): New variable.
26718         [build-shared] (link-libc-tests): Likewise.
26719         [build-shared] (link-libc): Define in terms of
26720         $(link-libc-before-gnulib).
26721         [!build-shared] (link-libc-tests): New variable.
26722         (link-libc-static-tests): New variable.
26723         [!gnulib] (gnulib-arch): New variable.
26724         [!gnulib] (gnulib-tests): Likewise.
26725         [!gnulib] (static-gnulib-arch): Likewise.
26726         [!gnulib] (static-gnulib-tests): Likewise.
26727         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
26728         Define with "=" instead of ":=".
26729         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
26730         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
26731         * Rules (binaries-all-notests): New variable.
26732         (binaries-all-tests): Likewise.
26733         (binaries-static-notests): Likewise.
26734         (binaries-static-tests): Likewise.
26735         (binaries-all): Define using $(binaries-all-notests) and
26736         $(binaries-all-tests).
26737         (binaries-static): Define using $(binaries-static-notests) and
26738         $(binaries-static-tests).
26739         (binaries-shared-tests): New variable.
26740         (binaries-shared-notests): Likewise.
26741         (binaries-shared): Remove variable.
26742         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26743         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26744         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26745         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26746         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26747         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26748         * elf/Makefile (sln-modules): New variable.
26749         (extra-objs): Add $(sln-modules:=.o).
26750         (ldconfig-modules): Add static-stubs.
26751         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26752         * elf/static-stubs.c: New file.
26754         [BZ #14283]
26755         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26756         by 7 not 8 to examine high bit of fractional part.  Use volatile
26757         variables when splitting into final array of floats if
26758         __FLT_EVAL_METHOD__ != 0.
26759         * math/libm-test.inc (cos_test): Add another test.
26760         (sin_test): Likewise.
26761         * sysdeps/i386/fpu/libm-test-ulps: Update.
26763         [BZ #14273]
26764         * math/libm-test.inc (cosh_test): Add more tests.
26766         * version.h (RELEASE): Set to "development".
26767         (VERSION): Set to "2.16.90".
26769 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
26771         * NEWS: Update copyright. Remove last-updated date.
26772         Mention math library bug fixes and timezone data changes.
26773         * README: Mention GNU/Hurd, x32, and HPPA support status.
26775 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
26777         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26779 2012-06-27  Andreas Jaeger  <aj@suse.de>
26781         * manual/contrib.texi (Contributors): Add Samuel Thibault.
26783 2012-06-25  Andreas Jaeger  <aj@suse.de>
26785         * sysdeps/s390/fpu/libm-test-ulps: Update.
26787 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
26788             Thomas Schwinge  <thomas@codesourcery.com>
26790         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26791         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26792         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26793         fanotify_mark.
26795 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
26797         * sysdeps/mach/start.c: Remove file.
26798         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26799         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26800         * sysdeps/sh/init-first.c: Likewise.
26802         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26803         registers for frame unwinding purposes, add CFI directives.
26804         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26805         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26806         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26807         Likewise.
26809         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26810         __fortify_fail returning.
26811         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26813         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26814         sysdeps/sh/____longjmp_chk.S.
26815         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26816         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26817         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26818         (gen-as-const-headers): Append sigaltstack-offsets.sym.
26820         * sysdeps/sh/abort-instr.h: New file.
26821         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26822         process in case exit returns.
26824         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26825         initialize the GOT register before use.
26827         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26828         calculation of ARGC > 4.
26830         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26831         meaningful names to some local labels.
26833 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26834             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26836         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26837         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26838         (__arch_compare_and_exchange_val_16_acq): Likewise.
26839         (__arch_compare_and_exchange_val_32_acq): Likewise.
26840         (atomic_exchange_and_add): Fix gUSA sequence.
26841         (atomic_add): Likewise.
26842         (atomic_add_negative): Likewise.
26843         (atomic_add_zero): Likewise.
26844         (atomic_bit_test_set): Likewise.
26846 2012-06-22  Andreas Schwab  <schwab@redhat.com>
26848         [BZ #13579]
26849         * include/link.h (struct link_map): Add l_free_initfini.
26850         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26851         l_initfini.
26852         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26853         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26854         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26855         set.
26857 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
26859         * configure.in: Use AC_LANG_SOURCE.
26860         * configure: Regenerate.
26862 2012-06-22  Roland McGrath  <roland@hack.frob.com>
26864         * configure.in (libc_cv_localstatedir): New substituted variable.
26865         * configure: Regenerated.
26866         * config.make.in (localstatedir): New variable, substituted from
26867         libc_cv_localstatedir.
26868         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26869         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26870         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26871         * sysdeps/gnu/configure: Regenerated.
26873 2012-06-21  Jeff Law  <law@redhat.com>
26875         [BZ #14277]
26876         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26877         free.  Simplify list management for _LIBC case.
26879 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
26881         [BZ #14273]
26882         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26883         Clear sign bit of 64-bit integer value before comparing against
26884         overflow value.
26886         * sysdeps/mach/configure: Regenerated.
26888 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
26890         [BZ #14278]
26891         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26893 2012-06-21  Jeff Law  <law@redhat.com>
26895         [BZ #13882]
26896         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
26897         uint16_t for elements in the "seen" array to avoid char overflows.
26898         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26899         * elf/dl-open.c (dl_open_worker): Likewise.
26901 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
26903         * scripts/list-sources.sh: Scan PORTS for translations.
26904         * po/libc.pot: Regenerated.
26906 2012-06-21  Andreas Jaeger  <aj@suse.de>
26908         [BZ #12194]
26909         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26910         warning.
26911         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26912         * bits/byteswap-16.h (__bswap_16): Likewise.
26913         * bits/byteswap.h (__bswap_constant_16): Likewise.
26915 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
26917         [BZ #14117]
26918         * sysdeps/i386/fpu_control.h: Removed.
26919         * sysdeps/x86_64/fpu_control.h: Moved to ...
26920         * sysdeps/x86/fpu_control.h: Here.
26922         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26923         (_FPU_SETCW): Likewise.
26925 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
26927         [BZ #14117]
26928         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26929         * sysdeps/x86/fpu/bits/mathinline.h: This.
26930         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26932         [BZ #14050]
26933         [BZ #14117]
26934         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26935         functions if __x86_64__ is defined.
26937 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
26939         * string/endian.h: Add !__ASSEMBLER__ condition for including
26940         conversion interfaces.
26942 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
26944         [BZ #14241]
26945         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26946         of ABS(x) in calculating zero to negative powers other than odd
26947         integers.
26948         * math/libm-test.inc (pow_test): Add more tests.
26950 2012-06-15  Andreas Jaeger  <aj@suse.de>
26952         * manual/contrib.texi (Contributors): Update entry of Liubov
26953         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26954         Machado Filho.
26956 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
26958         * string/string.h: Add __wur to GNU version of strerror_r.
26960 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
26962         [BZ #14229]
26963         * string/Makefile (tests): Add tst-strtok_r.
26964         * string/tst-strtok_r.c: New file.
26965         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26966         RAX_LP/RDX_LP on SAVE_PTR.
26968 2012-06-14  Roland McGrath  <roland@hack.frob.com>
26970         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26972 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
26974         * libm_test.inc (csqrt_test): Allow more spurious underflow
26975         exceptions.
26976         (j0_test): Likewise.
26977         (j1_test): Likewise.
26978         (y0_test): Likewise.
26979         (y1_test): Likewise.
26981 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
26983         * po/Makefile (libc.pot): Use UTF-8 charset.
26985 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
26987         [BZ #14210]
26988         Suppress sign-conversion warning from FD_SET.
26989         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26990         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26991         not unsigned long int.
26992         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26994 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
26996         [BZ #14050]
26997         [BZ #14117]
26998         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26999         __extern_always_inline instead of __extern_inline.
27000         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27001         (__signbit): Likewise.
27002         (__signbitl): Support C++ namespace.
27003         (lrintf): New inline function.
27004         (lrint): Likewise.
27005         (llrintf): Likewise.
27006         (llrint): Likewise.
27007         (fmaxf): Likewise.
27008         (fmax): Likewise.
27009         (fminf): Likewise.
27010         (fmin): Likewise.
27011         (rint): Likewise.
27012         (rintf): Likewise.
27013         (ceil): Likewise.
27014         (ceilf): Likewise.
27015         (floor): Likewise.
27016         (floorf): Likewise.
27017         (nearbyint): Likewise.
27018         (nearbyintf): Likewise.
27020 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
27022         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27023         non-default versions.
27025 2012-06-11  Roland McGrath  <roland@hack.frob.com>
27027         [BZ #14218]
27028         * manual/argp.texi (Argp): Reword argp_parse description slightly.
27030 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
27032         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27033         (FE_UPWARD, FE_DOWNWARD): Don't define.
27034         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27035         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27037         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27038         reading it.
27039         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27040         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27042 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27044         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27045         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27046         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27047         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27049 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
27051         [BZ #14117]
27052         * sysdeps/i386/fpu/bits/fenv.h: Removed.
27053         * sysdeps/i386/fpu/Implies: New file.
27054         * sysdeps/x86_64/fpu/Implies: Likewise.
27055         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27056         * sysdeps/x86/fpu/bits/fenv.h: This.
27058         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27059         __SSE_MATH__.
27061 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27063         [BZ #14134]
27064         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27065         character 0xffff that matches the last element of the
27066         conversion table.
27068 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27070         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27071         fmodl commit.
27073 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27075         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27076         values higher than 25.6283.
27078 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27080         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27081         subnormal exponent extraction and add some __builtin_expect.
27082         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27083         Fix for subnormal mantissa calculation.
27085 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
27087         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27088         cpu2 is -1 and errno is not ENOSYS.
27090 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
27092         [BZ #14117]
27093         * sysdeps/i386/i486/bits/string.h: Renamed to ...
27094         * sysdeps/x86/bits/string.h: This.
27095         * sysdeps/x86_64/bits/string.h: Removed.
27097         * sysdeps/i386/i486/bits/string.h: Define inline functions only
27098         if not compiling for x86-64, but compiling for >= i486.
27100         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27101         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27103         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27104         New macro from Linux kernel 3.4.0.
27105         (FP_XSTATE_MAGIC2): Likewise.
27106         (FP_XSTATE_MAGIC2_SIZE): Likewise.
27107         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27108         (struct _fpx_sw_bytes): New struct.
27109         (struct _xsave_hdr): Likewise.
27110         (struct _ymmh_state): Likewise.
27111         (struct _xstate): Likewise.
27113         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27114         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27115         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27116         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27117         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27118         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27120         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27121         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27122         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27123         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27124         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27125         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27127 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27129         [BZ #13743]
27130         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27131         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27132         (sysdep_headers): Include sys/platform/ppc.h.
27133         * sysdeps/powerpc/test-gettimebase.c: Test for
27134         __ppc_get_timebase() to catch future ISA opcode/insn changes.
27135         * manual/Makefile (appendices): Include platform.texi.
27136         * manual/contrib.texi (Contributors): Update @node pointers.
27137         * manual/maint.texi (Maintenance): Likewise.
27138         (Platform): New node.
27139         * manual/platform.texi: New file.  Document the new features.
27141 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27142             Jakub Jelinek  <jakub@redhat.com>
27144         [BZ #14188]
27145         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27146         where __builtin_expect is unavailable.
27148 2012-06-03  David S. Miller  <davem@davemloft.net>
27150         * stdlib/longlong.h: Updated from GCC.
27152 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
27154         [BZ #14042]
27155         * sysdeps/powerpc/powerpc32/mcount.c: New file.
27156         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27157         __mcount_internal.
27158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27159         (GLIBC_2.16): Likewise.
27161 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27163         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27165 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27168         (default-abi): New variable.
27169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27170         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27171         variable.
27172         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27173         Likewise.
27174         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27175         Likewise.
27176         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27177         Likewise.
27179         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27180         definition.  Document in comment.
27182 2012-06-01  David S. Miller  <davem@davemloft.net>
27184         * stdlib/longlong.h: Updated from GCC.
27186 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27188         [BZ #14117]
27189         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27190         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27191         sys/debugreg.h sys/io.h here.
27192         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27193         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27194         sys/io.h.
27195         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27196         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27197         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27198         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27199         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27200         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27202         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27203         Define only if __x86_64__ is defined.
27205 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27207         [BZ #14048]
27208         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27209         Use int64_t for variable i.
27210         * math/libm-test.inc (fmod_test): Add more tests.
27212         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27213         z computation is not scheduled after fetestexcept.
27214         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27215         Use math_force_eval instead of asm to ensure calculation scheduled
27216         before exception test.
27217         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27218         Ensure a1 + u.d computation is not scheduled after fetestexcept.
27220 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
27222         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27223         computation is not scheduled after fetestexcept.
27225 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27227         [BZ #14117]
27228         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27229         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27231 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27233         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27234         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27236 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27238         [BZ #14117]
27239         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27240         <bits/wordsize.h>.
27241         (__WCHAR_MIN): Support __WORDSIZE == 64.
27242         (__WCHAR_MAX): Likewise.
27244         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27245         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27247         [BZ #14183]
27248         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27249         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27251         [BZ #14117]
27252         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27253         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27255         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27256         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27258         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27259         Defined to 1 if __x86_64__ isn't defined.
27260         (_STAT_VER_LINUX_OLD): New.
27261         (st_atime): Remove duplicate.
27262         (st_mtime): Likewise.
27263         (st_ctime): Likewise.
27265 2012-05-31  David S. Miller  <davem@davemloft.net>
27267         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27268         entries.
27270 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
27272         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27273         gen-libm-test.pl.
27275         [BZ #14132]
27276         * elf/dl-reloc.c: Include <_itoa.h>.
27277         (_dl_reloc_bad_type): Remove use of INTUSE.
27278         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27279         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27280         * stdio-common/psiginfo.c (psiginfo): Likewise.
27281         * stdio-common/psignal.c (psignal): Likewise.
27282         * string/strsignal.c (strsignal): Likewise.
27283         * include/signal.h (_sys_siglist): Declare hidden proto.
27284         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
27285         INTVARDEF with libc_hidden_data_def.
27286         * stdio-common/itoa-udigits.c: Likewise.
27287         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27288         (_itoa_lower_digits_internal): Remove declaration.
27289         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27290         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27291         (_sys_sigabbrev_internal): Remove aliases.
27292         (_sys_siglist): Define hidden alias.
27294 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
27296         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27297         bits/sysctl.h.
27299 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27301         [BZ #14117]
27302         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27303         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27305         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27306         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27307         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27308         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27309         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27310         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27312         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27313         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27314         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27316         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27317         with __addr.
27318         (insw): Likewise.
27319         (insl): Likewise.
27320         (outsb): Likewise.
27321         (outsw): Likewise.
27322         (outsl): Likewise.
27324         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27325         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27326         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27328         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27329         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27330         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27331         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27332         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27333         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27335         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27336         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27338         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27339         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27341         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27342         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27343         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27345         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27346         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27347         to ...
27348         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27350         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27351         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27352         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27354         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27355         for x86-64.
27356         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27358 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
27360         * math/math.h (M_El): Use two more decimal places.
27361         (M_LOG2El): Likewise.
27362         (M_LOG10El): Likewise.
27363         (M_LN2l): Likewise.
27364         (M_LN10l): Likewise.
27365         (M_PIl): Likewise.
27366         (M_PI_2l): Likewise.
27367         (M_PI_4l): Likewise.
27368         (M_1_PIl): Likewise.
27369         (M_2_PIl): Likewise.
27370         (M_2_SQRTPIl): Likewise.
27371         (M_SQRT2l): Likewise.
27372         (M_SQRT1_2l): Likewise.
27374 2012-05-31  David S. Miller  <davem@davemloft.net>
27376         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27377         values between float registers.
27378         * sysdeps/sparc/sparc64/memset.S: Likewise.
27379         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27381 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
27383         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27384         -D_FORTIFY_SOURCE=1.
27385         (CPPFLAGS-tst-longjmp_chk.c): Define.
27386         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27387         (CPPFLAGS-tst-longjmp_chk2.c): Define.
27388         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27389         CFLAGS-tst-wchar-h.c.
27391 2012-05-31  Marek Polacek  <polacek@redhat.com>
27393         [BZ #14132]
27394         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27395         __endmntent_internal): Remove declaration.
27396         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27397         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27398         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27400 2012-05-30  David S. Miller  <davem@davemloft.net>
27402         * sysdeps/sparc/sparc32/soft-fp/q_util.c
27403         (___Q_simulate_exceptions): Use real FP ops rather than writing
27404         into the %fsr.
27405         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27406         Likewise.
27408 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27410         [BZ #14117]
27411         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27412         * sysdeps/x86/bits/xtitypes.h: This.
27414         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27415         * sysdeps/x86/bits/wordsize.h: This.
27417         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27418         * sysdeps/x86/bits/huge_vall.h: This.
27420         * sysdeps/i386/bits/select.h: Removed.
27421         * sysdeps/x86_64/bits/select.h: Renamed to ...
27422         * sysdeps/x86/bits/select.h: This.
27424         * sysdeps/i386/bits/setjmp.h: Removed.
27425         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27426         * sysdeps/x86/bits/setjmp.h: This.
27428         * sysdeps/i386/bits/mathdef.h: Removed.
27429         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27430         * sysdeps/x86/bits/mathdef.h: This.
27432 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
27434         [BZ #14132]
27435         * include/sys/socket.h (__connect_internal)
27436         (__libc_sa_len_internal): Remove declaration.
27437         (__connect, __libc_sa_len): Declare hidden_proto.
27438         (SA_LEN): Remove use of INTUSE.
27439         * socket/connect.c: Add libc_hidden_def.
27440         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27441         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27442         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27443         alias.
27444         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27445         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27446         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27447         of adding _internal alias.
27449 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27451         [BZ #14117]
27452         * sysdeps/i386/bits/link.h: Removed.
27453         * sysdeps/i386/bits/linkmap.h: Likewise.
27454         * sysdeps/x86_64/bits/link.h: Renamed to ...
27455         * sysdeps/x86/bits/link.h: This.
27456         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27457         * sysdeps/x86/bits/linkmap.h: This.
27459         * sysdeps/i386/bits/endian.h: Removed.
27460         * sysdeps/x86_64/bits/endian.h: Renamed to ...
27461         * sysdeps/x86/bits/endian.h: This.
27463         * sysdeps/i386/bits/byteswap.h: Removed.
27464         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27465         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27466         * sysdeps/x86/bits/byteswap.h: This.
27467         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27468         * sysdeps/x86/bits/byteswap-16.h: This.
27469         * sysdeps/i386/Implies: Add x86.
27470         * sysdeps/x86_64/Implies: Likewise.
27472 2012-05-30  David S. Miller  <davem@davemloft.net>
27474         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27475         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27476         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27477         (FP_TRAPPING_EXCEPTIONS): Define.
27478         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27479         (FP_TRAPPING_EXCEPTIONS): Define.
27480         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27481         subnormals only when inexact has been signalled or underflow
27482         exceptions are enabled.
27483         (_FP_PACK_CANONICAL): Likewise.
27485 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27487         [BZ #14183]
27488         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27489         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27491 2012-05-30  Richard Henderson  <rth@twiddle.net>
27493         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27494         with #ifndef NOT_IN_libc.
27496         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
27497         marked to avoid plt entry.
27499 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27501         [BZ #14112]
27502         * Makeconfig (default-abi): New macro.
27503         (abi-includes): Likewise.
27504         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
27505         $(abi-$(default-abi)-lib-soname) for soname if defined.
27506         ($(common-objpfx)gnu/lib-names.stmp): Generate from
27507         abi-variants.
27508         * Makefile (installed-stubs): Likewise.
27509         * include/stubs-biarch.h: Removed.
27510         * scripts/lib-names.awk: Only handle one library at a time.
27511         * scripts/soversions.awk: Remove WORDSIZE support.
27512         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27513         entries.
27514         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27515         Removed.
27516         (syscall-list-default-condition): Likewise.
27517         (syscall-list-default-condition): Likewise.
27518         (syscall-list-includes): Likewise.
27519         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27520         syscall-list-* with abi-*.  Handle undefined abi-variants.
27521         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27522         * sysdeps/unix/sysv/linux/i386/Implies: New file.
27523         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27524         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27525         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27526         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27527         Removed.
27528         (syscall-list-32-options): Likewise.
27529         (syscall-list-32-condition): Likewise.
27530         (syscall-list-64-options): Likewise.
27531         (syscall-list-64-condition): Likewise.
27532         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27533         macro.
27534         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27535         Renamed to ...
27536         (abi-*): This.
27537         (abi-64-ld-soname): New macro.
27538         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27539         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27540         Renamed to ...
27541         (abi-*): This.
27542         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27543         * sysdeps/x86_64/x32/shlib-versions: Likewise.
27545 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
27547         * sysdeps/unix/sysv/linux/kernel-features.h
27548         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27549         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27550         include <kernel-features.h>.
27551         [!__NR_ftruncate64]: Remove conditional code.
27552         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27553         [__NR_ftruncate64]: Make code unconditional.
27554         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27555         * sysdeps/unix/sysv/linux/truncate64.c: Do not
27556         include <kernel-features.h>.
27557         [!__NR_ftruncate64]: Remove conditional code.
27558         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27559         [__NR_ftruncate64]: Make code unconditional.
27560         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27562         include <kernel-features.h>.
27563         [!__NR_ftruncate64]: Remove conditional code.
27564         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27565         [__NR_ftruncate64]: Make code unconditional.
27566         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27568         include <kernel-features.h>.
27569         [!__NR_ftruncate64]: Remove conditional code.
27570         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27571         [__NR_ftruncate64]: Make code unconditional.
27572         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27574         * configure.in (libc_cv_fpie): Weaken to a compile test using
27575         LIBC_TRY_CC_OPTION.
27576         * configure: Regenerated.
27578 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27584         Refreshed.
27585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27591         Refreshed.
27593 2012-05-27  David S. Miller  <davem@davemloft.net>
27595         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27596         (___Q_zero): New.
27597         (__Q_simulate_exceptions): Return void.  Change to simulate
27598         exceptions by writing into the %fsr.
27599         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27600         (__Qp_handle_exceptions): Likewise.
27601         (numbers): Delete.
27602         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27603         __Qp_handle_exceptions.
27604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27605         __Qp_handle_exceptions.
27606         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27607         as unused and give dummy FP_RND_NEAREST initializer.
27608         (FP_INHIBIT_RESULTS): Define.
27609         (___Q_simulate_exceptions): Update declaration.
27610         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27611         formatting.
27612         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27613         as unused and give dummy FP_RND_NEAREST initializer.
27614         (__Qp_handle_exceptions): Update declaration.
27615         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27616         formatting.
27618 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
27620         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27621         the temporary FPU control word.
27622         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27623         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27624         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27625         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27626         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27627         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27628         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27629         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27630         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27631         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27632         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27634 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27636         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27637         fields.
27639 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
27641         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27642         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27643         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27644         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27645         Likewise.
27646         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27647         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27648         Likewise.
27650 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
27652         * po/h.po: Update from translation team.
27654 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
27656         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27658         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27659         handling of denormals.
27660         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27661         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27662         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27663         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27664         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27665         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27666         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27667         Likewise.
27669 2012-05-26  Marek Polacek  <polacek@redhat.com>
27671         [BZ #14152]
27672         * math/libm-test.inc (fma_test): Don't always expect underflow
27673         exception.
27675 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27677         [BZ #12416]
27678         * elf/tst-execstack.c: Include stackinfo.h.
27679         (do_test): Adjust test case to ensure that pthread_getattr_np
27680         behaviour remains the same after marking stack executable.
27682 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27684         * sysdeps/unix/sysv/linux/kernel-features.h
27685         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27686         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27687         kernel-features.h.
27688         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27689         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27690         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27691         kernel-features.h.
27692         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27693         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27695 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
27697         * configure.in: Define the default includes to being none.
27698         * configure: Regenerated.
27700 2012-05-25  Roland McGrath  <roland@hack.frob.com>
27702         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27703         * sysdeps/x86_64/setjmp.S: Likewise.
27704         * sysdeps/i386/bsd-setjmp.S: Likewise.
27705         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27706         * sysdeps/i386/setjmp.S: Likewise.
27707         * sysdeps/i386/__longjmp.S: Likewise.
27708         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27709         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27711         * include/stap-probe.h: New file.
27712         * configure.in: Handle --enable-systemtap.
27713         * configure: Regenerated.
27714         * config.h.in (USE_STAP_PROBE): New #undef.
27715         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27716         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27717         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27719 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27721         [BZ #13717]
27722         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27723         to 2.4.0 where earlier.
27724         * sysdeps/unix/sysv/linux/configure: Regenerated.
27725         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27726         <kernel-features.h>.
27727         [__ASSUME_32BITUIDS]: Make code unconditional.
27728         [!__ASSUME_32BITUIDS]: Remove conditional code.
27729         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27730         <kernel-features.h>.
27731         [__ASSUME_32BITUIDS]: Make code unconditional.
27732         [!__ASSUME_32BITUIDS]: Remove conditional code.
27733         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27734         [__ASSUME_32BITUIDS]: Make code unconditional.
27735         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27736         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27737         <kernel-features.h>.
27738         [__ASSUME_32BITUIDS]: Make code unconditional.
27739         [!__ASSUME_32BITUIDS]: Remove conditional code.
27740         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27741         <kernel-features.h>.
27742         [__ASSUME_32BITUIDS]: Make code unconditional.
27743         [!__ASSUME_32BITUIDS]: Remove conditional code.
27744         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27745         <kernel-features.h>.
27746         [__ASSUME_32BITUIDS]: Make code unconditional.
27747         [!__ASSUME_32BITUIDS]: Remove conditional code.
27748         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27749         <kernel-features.h>.
27750         [__ASSUME_32BITUIDS]: Make code unconditional.
27751         [!__ASSUME_32BITUIDS]: Remove conditional code.
27752         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27753         <kernel-features.h>.
27754         [__ASSUME_32BITUIDS]: Make code unconditional.
27755         [!__ASSUME_32BITUIDS]: Remove conditional code.
27756         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27757         <kernel-features.h>.
27758         [__ASSUME_32BITUIDS]: Make code unconditional.
27759         [!__ASSUME_32BITUIDS]: Remove conditional code.
27760         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27761         <kernel-features.h>.
27762         [__ASSUME_32BITUIDS]: Make code unconditional.
27763         [!__ASSUME_32BITUIDS]: Remove conditional code.
27764         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27765         <kernel-features.h>.
27766         [__ASSUME_32BITUIDS]: Make code unconditional.
27767         [!__ASSUME_32BITUIDS]: Remove conditional code.
27768         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27769         <kernel-features.h>.
27770         [__ASSUME_32BITUIDS]: Make code unconditional.
27771         [!__ASSUME_32BITUIDS]: Remove conditional code.
27772         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27773         <kernel-features.h>.
27774         [__ASSUME_32BITUIDS]: Make code unconditional.
27775         [!__ASSUME_32BITUIDS]: Remove conditional code.
27776         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27777         <kernel-features.h>.
27778         [__NR_setresgid] (__setresgid): Do not declare.
27779         [__ASSUME_32BITUIDS]: Make code unconditional.
27780         [!__ASSUME_32BITUIDS]: Remove conditional code.
27781         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27782         <kernel-features.h>.
27783         [__NR_setresuid] (__setresuid): Do not declare.
27784         [__ASSUME_32BITUIDS]: Make code unconditional.
27785         [!__ASSUME_32BITUIDS]: Remove conditional code.
27786         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27787         <kernel-features.h>.
27788         [__ASSUME_32BITUIDS]: Make code unconditional.
27789         [!__ASSUME_32BITUIDS]: Remove conditional code.
27790         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27791         <kernel-features.h>.
27792         [__ASSUME_32BITUIDS]: Make code unconditional.
27793         [!__ASSUME_32BITUIDS]: Remove conditional code.
27794         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27795         <kernel-features.h>.
27796         [__ASSUME_32BITUIDS]: Make code unconditional.
27797         [!__ASSUME_32BITUIDS]: Remove conditional code.
27798         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27799         <kernel-features.h>.
27800         [__ASSUME_32BITUIDS]: Make code unconditional.
27801         [!__ASSUME_32BITUIDS]: Remove conditional code.
27802         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27803         <kernel-features.h>.
27804         [__ASSUME_32BITUIDS]: Make code unconditional.
27805         [!__ASSUME_32BITUIDS]: Remove conditional code.
27806         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27807         <kernel-features.h>.
27808         [__ASSUME_32BITUIDS]: Make code unconditional.
27809         [!__ASSUME_32BITUIDS]: Remove conditional code.
27810         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27811         <kernel-features.h>.
27812         [__ASSUME_32BITUIDS]: Make code unconditional.
27813         [!__ASSUME_32BITUIDS]: Remove conditional code.
27814         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27815         <kernel-features.h>.
27816         [__ASSUME_32BITUIDS]: Make code unconditional.
27817         [!__ASSUME_32BITUIDS]: Remove conditional code.
27818         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27819         <kernel-features.h>.
27820         [__ASSUME_32BITUIDS]: Make code unconditional.
27821         [!__ASSUME_32BITUIDS]: Remove conditional code.
27822         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27823         <kernel-features.h>.
27824         [__ASSUME_32BITUIDS]: Make code unconditional.
27825         [!__ASSUME_32BITUIDS]: Remove conditional code.
27826         * sysdeps/unix/sysv/linux/kernel-features.h
27827         (__ASSUME_SETRESUID_SYSCALL): Remove.
27828         (__ASSUME_SETRESGID_SYSCALL): Likewise.
27829         (__ASSUME_32BITUIDS): Likewise.
27830         (__ASSUME_LDT_WORKS): Likewise.
27831         (__ASSUME_O_DIRECTORY): Likewise.
27832         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27833         architecture but not kernel version.
27834         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27835         (__ASSUME_MMAP2_SYSCALL): Likewise.
27836         (__ASSUME_STAT64_SYSCALL): Likewise.
27837         (__ASSUME_IPC64): Likewise.
27838         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27839         <kernel-features.h>.
27840         [__ASSUME_32BITUIDS]: Make code unconditional.
27841         [!__ASSUME_32BITUIDS]: Remove conditional code.
27842         * sysdeps/unix/sysv/linux/opendir.c: Do not include
27843         <kernel-features.h>.
27844         [__ASSUME_O_DIRECTORY]: Make code unconditional.
27845         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27846         132096]: Remove conditional code.
27847         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27848         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27849         <kernel-features.h>.
27850         [__ASSUME_32BITUIDS]: Make code unconditional.
27851         [!__ASSUME_32BITUIDS]: Remove conditional code.
27852         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27853         <kernel-features.h>.
27854         [__ASSUME_32BITUIDS]: Make code unconditional.
27855         [!__ASSUME_32BITUIDS]: Remove conditional code.
27856         * sysdeps/unix/sysv/linux/setegid.c: Do not include
27857         <kernel-features.h>.
27858         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27859         unconditional.
27860         (__setresgid): Do not declare.
27861         [__ASSUME_32BITUIDS]: Make code unconditional.
27862         [!__ASSUME_32BITUIDS]: Remove conditional code.
27863         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27864         <kernel-features.h>.
27865         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27866         unconditional.
27867         (__setresuid): Do not declare.
27868         [__ASSUME_32BITUIDS]: Make code unconditional.
27869         [!__ASSUME_32BITUIDS]: Remove conditional code.
27870         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27871         <kernel-features.h>.
27872         [__ASSUME_32BITUIDS]: Make code unconditional.
27873         [!__ASSUME_32BITUIDS]: Remove conditional code.
27874         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27875         <kernel-features.h>.
27876         [__ASSUME_32BITUIDS]: Make code unconditional.
27877         [!__ASSUME_32BITUIDS]: Remove conditional code.
27879 2012-05-25  Richard Henderson  <rth@twiddle.net>
27881         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27882         dl_hwcap to ifunc resolver.
27883         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27884         elf_ifunc_invoke.
27885         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27886         dl_hwcap to ifunc resolver.
27887         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27889 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27891         [BZ #14153]
27892         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27893         for |x| <= 2**-26, not 2**-57.
27894         * math/libm-test.inc (acos_test): Do not allow spurious underflow
27895         exception.
27897 2012-05-24  Jeff Law  <law@redhat.com>
27899         * stdio-common/Makefile (tests): Add bug25.
27900         * stdio-common/bug25.c: New test.
27902 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27904         [BZ #13576]
27905         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27906         multiple of MALLOC_ALIGNMENT in size.
27907         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27909 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27911         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27912         Require >= 256.
27913         (FILENAME_MAX): Use macro-int-constant.
27914         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
27915         (_IOFBF): Use macro-int-constant.
27916         (_IOLBF): Likewise.
27917         (_IONBF): Likewise.
27918         (SEEK_CUR): Likewise.
27919         (SEEK_END): Likewise.
27920         (SEEK_SET): Likewise.
27921         (TMP_MAX): Likewise.
27922         (EOF): Use macro-int-constant.  Require < 0.
27923         (NULL): Use macro-constant.  Require == 0.
27924         (stdin): Require type to be FILE *.
27925         (stdout): Likewise.
27926         (stderr): Likewise.
27927         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27928         macro-int-constant.
27929         (EXIT_SUCCESS): Likewise.
27930         (NULL): Use macro-constant.  Require == 0.
27931         (RAND_MAX): Use macro-int-constant.
27932         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27933         [C99-based standards] (strtof): Require function.
27934         [C99-based standards] (strtold): Likewise.
27935         [C99-based standards] (strtoll): Likewise.
27936         [C99-based standards] (strtoull): Likewise.
27937         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27938         [ISO || ISO99 || ISO11] (limits.h): Likewise.
27939         [ISO || ISO99 || ISO11] (math.h): Likewise.
27940         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27941         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27942         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27944 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
27946         [BZ #14132]
27947         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27948         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27949         * intl/dgettext.c (DCGETTEXT): Likewise.
27950         * intl/gettext.c (DCGETTEXT): Likewise.
27951         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27952         * posix/regex_internal.h (gettext): Likewise.
27953         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27954         Remove declaration.
27955         * include/argz.h (__argz_count_internal)
27956         (__argz_stringify_internal): Remove declaration.
27957         (__argz_count, __argz_stringify): Declare hidden proto.
27958         * intl/dcgettext.c: Remove use of INTDEF.
27959         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27960         * string/argz-stringify.c: Likewise.
27961         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27962         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27963         Declare hidden proto.
27964         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27965         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27966         Declare hidden proto.
27967         * include/stdio.h (__asprintf_internal): Don't declare.
27968         (__asprintf): Don't define as macro.  Declare hidden proto.
27969         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27970         (__fsetlocking): Declare hidden proto.
27971         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27972         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27973         hidden proto.
27974         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27975         (_IO_setlinebuf): Remove use of INTUSE.
27976         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27977         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27978         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27979         Remove declaration.
27980         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27981         (_IO_do_flush): Remove use of INTUSE.
27982         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27983         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27984         (_IO_adjust_column, _IO_least_wmarker)
27985         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27986         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27987         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27988         (_IO_default_doallocate, _IO_wdefault_doallocate)
27989         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27990         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27991         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27992         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27993         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27994         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27995         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27996         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27997         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27998         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27999         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28000         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28001         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28002         proto.
28003         (_IO_flush_all_internal, _IO_adjust_column_internal)
28004         (_IO_default_uflow_internal, _IO_default_finish_internal)
28005         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28006         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28007         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28008         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28009         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28010         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28011         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28012         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28013         (_IO_file_close_internal, _IO_file_close_it_internal)
28014         (_IO_file_underflow_internal, _IO_file_overflow_internal)
28015         (_IO_file_init_internal, _IO_file_attach_internal)
28016         (_IO_file_fopen_internal, _IO_file_read_internal)
28017         (_IO_file_sync_internal, _IO_file_seek_internal)
28018         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28019         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28020         (_IO_str_underflow_internal, _IO_str_overflow_internal)
28021         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28022         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28023         (_IO_list_all_internal, _IO_link_in_internal)
28024         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28025         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28026         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28027         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28028         (_IO_do_write_internal, _IO_padn_internal)
28029         (_IO_getline_info_internal, _IO_getline_internal)
28030         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28031         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28032         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28033         (_IO_vfscanf_internal, _IO_vfprintf_internal)
28034         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28035         (_IO_init_internal, _IO_un_link_internal): Don't declare.
28036         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28037         with libc_hidden_ver, remove use of INTUSE.
28038         * libio/genops.c: Likewise.
28039         * libio/freopen.c: Likewise.
28040         * libio/freopen64.c: Likewise.
28041         * libio/iofclose.c: Likewise.
28042         * libio/iofdopen.c: Likewise.
28043         * libio/iofflush.c: Likewise.
28044         * libio/iofflush_u.c: Likewise.
28045         * libio/iofgets.c: Likewise.
28046         * libio/iofgets_u.c: Likewise.
28047         * libio/iofopen.c: Likewise.
28048         * libio/iofopncook.c: Likewise.
28049         * libio/iofread.c: Likewise.
28050         * libio/iofread_u.c: Likewise.
28051         * libio/ioftell.c: Likewise.
28052         * libio/iofwrite.c: Likewise.
28053         * libio/iogetline.c: Likewise.
28054         * libio/iogets.c: Likewise.
28055         * libio/iogetwline.c: Likewise.
28056         * libio/iopadn.c: Likewise.
28057         * libio/iopopen.c: Likewise.
28058         * libio/ioseekoff.c: Likewise.
28059         * libio/ioseekpos.c: Likewise.
28060         * libio/iosetbuffer.c: Likewise.
28061         * libio/iosetvbuf.c: Likewise.
28062         * libio/ioungetc.c: Likewise.
28063         * libio/ioungetwc.c: Likewise.
28064         * libio/iovdprintf.c: Likewise.
28065         * libio/iovsprintf.c: Likewise.
28066         * libio/iovsscanf.c: Likewise.
28067         * libio/memstream.c: Likewise.
28068         * libio/obprintf.c: Likewise.
28069         * libio/oldfileops.c: Likewise.
28070         * libio/oldiofclose.c: Likewise.
28071         * libio/oldiofdopen.c: Likewise.
28072         * libio/oldiofopen.c: Likewise.
28073         * libio/oldiopopen.c: Likewise.
28074         * libio/oldstdfiles.c: Likewise.
28075         * libio/putc.c: Likewise.
28076         * libio/setbuf.c: Likewise.
28077         * libio/setlinebuf.c: Likewise.
28078         * libio/stdfiles.c: Likewise.
28079         * libio/strops.c: Likewise.
28080         * libio/vasprintf.c: Likewise.
28081         * libio/vscanf.c: Likewise.
28082         * libio/vsnprintf.c: Likewise.
28083         * libio/vswprintf.c: Likewise.
28084         * libio/wfiledoalloc.c: Likewise.
28085         * libio/wfileops.c: Likewise.
28086         * libio/wgenops.c: Likewise.
28087         * libio/wmemstream.c: Likewise.
28088         * libio/wstrops.c: Likewise.
28089         * libio/__fpurge.c: Likewise.
28090         * libio/__fsetlocking.c: Likewise.
28091         * assert/assert.c: Likewise.
28092         * debug/fgets_chk.c: Likewise.
28093         * debug/fgets_u_chk.c: Likewise.
28094         * debug/fread_chk.c: Likewise.
28095         * debug/fread_u_chk.c: Likewise.
28096         * debug/gets_chk.c: Likewise.
28097         * debug/obprintf_chk.c: Likewise.
28098         * debug/vasprintf_chk.c: Likewise.
28099         * debug/vdprintf_chk.c: Likewise.
28100         * debug/vsnprintf_chk.c: Likewise.
28101         * debug/vsprintf_chk.c: Likewise.
28102         * malloc/mtrace.c: Likewise.
28103         * misc/error.c: Likewise.
28104         * misc/syslog.c: Likewise.
28105         * stdio-common/asprintf.c: Likewise.
28106         * stdio-common/fxprintf.c: Likewise.
28107         * stdio-common/getw.c: Likewise.
28108         * stdio-common/isoc99_fscanf.c: Likewise.
28109         * stdio-common/isoc99_scanf.c: Likewise.
28110         * stdio-common/isoc99_vfscanf.c: Likewise.
28111         * stdio-common/isoc99_vscanf.c: Likewise.
28112         * stdio-common/isoc99_vsscanf.c: Likewise.
28113         * stdio-common/printf-prs.c: Likewise.
28114         * stdio-common/printf_fp.c: Likewise.
28115         * stdio-common/printf_fphex.c: Likewise.
28116         * stdio-common/printf_size.c: Likewise.
28117         * stdio-common/putw.c: Likewise.
28118         * stdio-common/scanf.c: Likewise.
28119         * stdio-common/sprintf.c: Likewise.
28120         * stdio-common/tmpfile.c: Likewise.
28121         * stdio-common/vfprintf.c: Likewise.
28122         * stdio-common/vfscanf.c: Likewise.
28123         * stdlib/strfmon_l.c: Likewise.
28124         * sunrpc/openchild.c: Likewise.
28125         * sunrpc/xdr_stdio.c: Likewise.
28126         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28127         * sysdeps/mach/hurd/tmpfile.c: Likewise.
28129 2012-05-24  Roland McGrath  <roland@hack.frob.com>
28131         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28133         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28134         in the third column, to generate for the shared library an IFUNC
28135         that uses _dl_vdso_vsym.
28136         * Makerules (COMPILE.c, compile-stdin.c): New variables.
28137         * Makeconfig (object-suffixes-noshared): New variable.
28139         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28140         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28141         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28142         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28144         [BZ #14132]
28145         * include/sys/time.h (__gettimeofday): Remove macro.
28146         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28147         * time/gettimeofday.c (__gettimeofday): Remove #undef.
28148         Remove INTDEF.
28149         (__gettimeofday): Add libc_hidden_def.
28150         (gettimeofday): Add libc_hidden_weak.
28151         * sysdeps/mach/gettimeofday.c: Likewise.
28152         * sysdeps/posix/gettimeofday.c: Likewise.
28153         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28154         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28155         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28156         (__gettimeofday_internal): Remove strong_alias.
28157         (__gettimeofday): Add libc_hidden_def.
28158         (gettimeofday): Add libc_hidden_weak.
28159         * sysdeps/unix/syscalls.list (gettimeofday):
28160         Remove __gettimeofday_internal alias.
28162 2012-05-24  Daniel Jacobowitz  <drow@false.org>
28163             H.J. Lu  <hongjiu.lu@intel.com>
28165         [BZ #12495]
28166         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28167         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28168         (largebin_index_32_big): New.
28169         (largebin_index): Use it for 16-byte alignment.
28170         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
28171         correction with front_misalign.
28173 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28177         Likewise.
28178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28179         Likewise.
28180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28181         Likewise.
28182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28183         Likewise.
28184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28185         Likewise.
28186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28187         Likewise.
28188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28189         Likewise.
28190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28191         Likewise.
28192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28193         Likewise.
28194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28195         Likewise.
28196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28197         Likewise.
28198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28199         Likewise.
28201         * scripts/data/c++-types-x32-linux-gnu.data: New file.
28202         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28204 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28206         [BZ #10846]
28207         [BZ #14036]
28208         * math/libm-test.inc (exp_test): Add test from bug 14036.
28209         (pow_test): Add test from bug 10846.
28211         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28212         and other flags.
28213         (special_function): Do not include flags in test name.
28214         (parse_args): Likewise.
28215         * sysdeps/i386/fpu/libm-test-ulps: Update.
28216         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28217         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28218         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28221         * math/gen-libm-test.pl (%beautify): Add entries for underflow
28222         exceptions.
28223         * math/libm-test.inc ("Philosophy"): Update comment about
28224         exception testing.
28225         (UNDERFLOW_EXCEPTION): New macro.
28226         (UNDERFLOW_EXCEPTION_OK): Likewise.
28227         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28228         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28229         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28230         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28231         (INVALID_EXCEPTION_OK): Update value.
28232         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28233         (OVERFLOW_EXCEPTION_OK): Likewise.
28234         (IGNORE_ZERO_INF_SIGN): Likewise.
28235         (test_exceptions): Handle underflow exceptions.
28236         (acos_test): Update for underflow exception expectations.
28237         (cexp_test): Likewise.
28238         (clog_test): Likewise.
28239         (clog10_test): Likewise.
28240         (csqrt_test): Likewise.
28241         (ctan_test): Likewise.
28242         (ctanh_test): Likewise.
28243         (exp_test): Likewise.
28244         (exp10_test): Likewise.
28245         (exp2_test): Likewise.
28246         (expm1_test): Likewise.
28247         (fma_test): Likewise.
28248         (j0_test): Likewise.
28249         (jn_test): Likewise.
28250         (nexttoward_test): Likewise.
28251         (pow_test): Likewise.
28252         (scalbn_test): Likewise.
28253         (scalbln_test): Likewise.
28254         (tan_test): Likewise.
28255         (y1_test): Likewise.
28256         * sysdeps/i386/fpu/libm-test-ulps: Update.
28257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28259 2012-05-23  David S. Miller  <davem@davemloft.net>
28261         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28262         (__libc_sigaction): Remove unused local variables.
28264 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28266         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28268 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
28270         mktime: avoid signed integer overflow
28271         * time/mktime.c (__mktime_internal): Do not mishandle the case
28272         where diff == INT_MIN.
28274         mktime: simplify computation of average
28275         * time/mktime.c (ranged_convert): Use new time_t_avg function
28276         instead of rolling our own (probably-slower) code.
28278         mktime: do not assume signed right shift propagates sign bit
28279         * time/mktime.c (isdst_differ): New static function.
28280         (__mktime_internal): No need to normalize tm_isdst now.
28281         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28282         tm_isdst values.
28284         mktime: merge another wrapv change from gnulib
28285         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28286         from some compilers.
28288         mktime: remove incorrect attempt at unusual arithmetics
28289         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28290         The code didn't really work on such machines anyway.
28291         (TYPE_MINIMUM): Assume two's complement.
28292         (twos_complement_arithmetic): Verify that long_int and time_t
28293         are two's complement (or unsigned, in the latter case).
28295         mktime: check signed shifts on long_int and time_t, too
28296         * time/mktime.c (SHR): Check that shifts work as desired
28297         on the types long_int and time_t too, as SHR is used on
28298         such types.
28300         mktime: do not assume 'long' is wide enough
28301         * time/mktime.c (verify): Move decl up.
28302         (long_int): New type.
28303         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28304         to remove assumption in the code that 'long' is wide enough to
28305         store year values.  This assumption is not true on x32 and on
28306         some non-glibc platforms.
28308         mktime: merge wrapv change from gnulib
28309         * time/mktime.c (WRAPV): New macro.
28310         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28311         (guess_time_tm, __mktime_internal): Do not assume that signed
28312         integer overflow wraps around; modern compilers generate code
28313         where this assumption is no longer valid.
28315 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28317         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28318         Replace "jmp L(pseudo_end)" with "ret".
28319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28320         Likewise.
28322 2012-05-23  Andreas Jaeger  <aj@suse.de>
28324         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28325         * sysdeps/unix/sysv/linux/poll.c: Remove file.
28327 2012-05-23  Andreas Jaeger  <aj@suse.de>
28328             Maximilian Attems  <max@stro.at>
28330         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28331         New macros.
28333 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28335         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28336         code so that pseudo_end is just ret and the stack pointer is
28337         correct also for static library in error case.
28339 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
28341         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28342         move to syscalls.list.
28343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28348         * manual/install.texi (Running make install): Do not mention Linux
28349         kernel version for which pt_chown is not needed.
28350         (Linux): Do not mention problems with nscd with 2.0 kernels.
28351         * INSTALL: Regenerated.
28353 2012-05-23  Andreas Jaeger  <aj@suse.de>
28355         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28356         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28357         macro.
28358         * sysdeps/unix/sysv/linux/s390/bits/mman.h
28359         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28360         * sysdeps/unix/sysv/linux/sh/bits/mman.h
28361         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28362         * sysdeps/unix/sysv/linux/i386/bits/mman.h
28363         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28364         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28365         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28366         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28367         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28368         * sysdeps/unix/sysv/linux/bits/in.h
28369         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28371 2012-05-22  Roland McGrath  <roland@hack.frob.com>
28373         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28374         (PREPARE_VERSION): Just use assert instead, it will be elided
28375         under [NDEBUG] anyway.
28377 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28379         * sysdeps/unix/sysv/linux/Makefile: Include
28380         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28381         (sysdep_routines): Remove sysctl.
28382         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28383         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28384         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28385         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28386         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28388 2012-05-22  Andreas Jaeger  <aj@suse.de>
28390         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28391         that pseudo_end is just ret and the stack pointer is correct also
28392         for static library in error case.
28394 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28396         [BZ #14122]
28397         * nss/nsswitch.c (defconfig_entries): New variable.
28398         (__nss_database_lookup): Don't leak defconfig entries.
28399         (nss_parse_service_list): Don't leak on error paths.
28400         (free_database_entries): New function.
28401         (free_defconfig): New function.
28402         (free_mem): Move common code to free_database_entries.
28404 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28406         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28407         Add arch_prctl.
28408         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28410         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28411         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28412         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28413         New macro.
28414         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28415         (INTERNAL_SYSCALL_TYPES): Likewise.
28416         (LOAD_ARGS_TYPES_[1-6]): Likewise.
28417         (LOAD_REGS_TYPES_[1-6]): Likewise.
28418         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28419         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28421 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28423         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28424         copysignl for GLIBC_2_0.
28425         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28426         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28427         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28428         logbl for GLIBC_2_0.
28429         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28430         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28432 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28434         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28435         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28437         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28438         Use "neg %eax".
28440         * time/mktime.c: Update copyright years.
28442 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28444         mktime: merge comment-quoting-style change from gnulib
28445         * time/mktime.c: Quote 'like this' in comments.
28446         The GNU coding standards suggest that we no longer quote `like this',
28447         as "`" and "'" are typically rendered asymmetrically nowadays.
28448         The typical gnulib style is to quote 'like this' when quoting
28449         code, and "like this" when quoting English.
28451         * time/mktime.c (compile-command): Add "-I.".
28453         mktime: merge mktime-internal.h change from gnulib
28454         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28456         mktime: merge time_r change from gnulib
28457         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28459         mktime: merge DEBUG change from gnulib
28460         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28461         case system <time.h> has a #define.
28463         mktime: merge <sys/types.h> change from gnulib
28464         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28465         since <time.t> is now guaranteed to define time_t.
28467         mktime: merge HAVE_CONFIG_H change from gnulib
28468         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28470 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28472         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28473         Use "neg %eax".
28475         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28476         __rlim_t cast.
28477         (struct rusage): Use anonymous union to pad each field to
28478         __syscall_slong_t.
28480 2012-05-21  David S. Miller  <davem@davemloft.net>
28482         * Makefules (o-iterator): Remove .s cases.
28483         (compile-command.s): Delete.
28484         (COMPILE.s): Delete.
28485         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28487 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
28489         * configure.in (libc_cv_predef_stack_protector): Only consider
28490         "foobar" and "__stack_chk_fail" lines in libc_undefs.
28491         * configure: Regenerated.
28493 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28495         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28496         New macro.  Use R*LP on int and pointer.
28497         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28498         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28499         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28500         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28502         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28503         [__WORDSIZE_TIME64_COMPAT32] instead of
28504         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28505         (struct utmp): Likewise.
28506         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28507         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28508         Renamed to ...
28509         (__WORDSIZE_TIME64_COMPAT32): This.
28510         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28511         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28512         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28513         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28514         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28515         (__WORDSIZE_TIME64_COMPAT32): New macro.
28517 2012-05-21  Andreas Jaeger  <aj@suse.de>
28519         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28520         only if [SHARED]. Add prototype for __wcschr_ia32.
28522 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28524         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28525         of %rbp unmolested in the jmp_buf while mangling the low bits.
28526         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28527         unmolested high bits of %rbp while demangling the low bits.
28528         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28530 2012-05-21  Andreas Jaeger  <aj@suse.de>
28532         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28533         * sunrpc/svc_simple.c: Use it for registerrpc.
28534         * sunrpc/xcrypt.c: Use it for passwd2des.
28536         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28538 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28540         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28541         Don't define if [__SYSCALL_WORDSIZE != 32].
28542         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28543         New macro.
28545 2012-05-21  Bruno Haible  <bruno@clisp.org>
28546             Andreas Jaeger  <aj@suse.de>
28548         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28549         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28550         inptr and inend for must_buffer_ch.
28551         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28552         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28553         * stdio-common/Makefile (tests): Remove bug15.
28554         (bug15-ENV): Remove macro.
28555         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28556         anymore.
28558 2012-05-19  Andreas Jaeger  <aj@suse.de>
28559             Roland McGrath  <roland@hack.frob.com>
28561         * manual/contrib.texi: Completely rewritten. It contains now an
28562         alphabetical list of contributors and their contributions.
28564 2012-05-21  Richard Henderson  <rth@twiddle.net>
28566         * misc/getauxval.c (__getauxval): Use unsigned long int.
28567         * misc/sys/auxv.h: Include <sys/cdefs.h>.
28568         (getauxval): Use unsigned long int.
28570 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28572         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28574 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28576         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28577         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28578         __alignof__ (long double).
28580 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28584 2012-05-20  Richard Henderson  <rth@twiddle.net>
28586         * misc/getauxval.c: New file.
28587         * misc/sys/auxv.h: New file.
28588         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28589         (routines): Add getauxval.
28590         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28591         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28592         * elf/dl-sysdep.c (_dl_auxv): Remove.
28593         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28594         * elf/dl-support.c (_dl_auxv): New variable.
28595         (_dl_aux_init): Initialize it.
28596         * manual/startup.texi (Auxiliary Vector): New node.
28597         * sysdeps/generic/bits/hwcap.h: New file.
28598         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28599         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
28600         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28601         * sysdeps/sparc/sysdep.h: ... here.  Include it.
28602         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28603         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28605         Update.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28609         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28615 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28619 2012-05-19  David S. Miller  <davem@davemloft.net>
28621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28623 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28625         [BZ #14123]
28626         * math/s_ccosh.c: Include <float.h>
28627         (__ccosh): Avoid internal overflow calculating sinh and cosh
28628         values before multiplying by sin and cos values.
28629         * math/s_ccoshf.c: Likewise.
28630         * math/s_ccoshl.c: Likewise.
28631         * math/s_csin.c: Likewise.
28632         * math/s_csinf.c: Likewise.
28633         * math/s_csinl.c: Likewise.
28634         * math/s_csinh.c: Likewise.
28635         * math/s_csinhf.c: Likewise.
28636         * math/s_csinhl.c: Likewise.
28637         * math/libm-test.inc (ccos_test): Add more tests.
28638         (ccosh_test): Likewise.
28639         (csin_test): Likewise.
28640         (csinh_test): Likewise.
28641         * sysdeps/i386/fpu/libm-test-ulps: Update.
28642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28644 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
28646         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28647         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28649         * sysdeps/x86_64/x32/_itoa.h: Add comment.
28651 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28653         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28654         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28655         * sysdeps/powerpc/soft-fp/Versions: Likewise.
28656         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28657         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28658         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28659         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28660         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28661         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28662         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28663         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28664         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28665         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28666         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28667         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28668         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28669         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28670         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28671         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28672         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28673         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28674         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28675         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28676         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28677         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28678         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28679         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28680         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28681         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28682         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28683         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28685 2012-05-18  Andreas Jaeger  <aj@suse.de>
28687         * csu/.gitignore: Delete.
28689 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28691         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28692         (timex): Use __syscall_slong_t.
28694 2012-05-18  Andreas Jaeger  <aj@suse.de>
28695             Carlos O'Donell  <carlos_odonell@mentor.com>
28697         * manual/install.texi (Configuring and compiling): Update
28698         description about files modified in the source directory.
28699         * INSTALL: Regenerated.
28701 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28703         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28704         value.  Use "or" to set return value to -1.
28705         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28706         negate return value.
28708 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28710         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28711         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28712         failure if the compiler has Graphite support disabled.
28713         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28714         Likewise.
28715         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28716         (CFLAGS-memmove.c): Likewise.
28717         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28718         Likewise.
28720 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28722         * sysdeps/x86_64/x32/_itoa.h: New file.
28724         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28725         getdents system call only if kernel and user dirents have the
28726         same d_ino and d_off.
28728         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28729         LLONG_MAX != LONG_MAX.
28730         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28731         (_fitoa_word): Likewise.
28733         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28734         years.
28735         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28736         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28737         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28739         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28740         include <bits/wordsize.h>.  Check __x86_64__ instead of
28741         __WORDSIZE.
28742         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28743         if __x86_64__ is defined.  Use anonymous union on fpstate.
28745         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28746         anonymous union.
28748 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
28750         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28751         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28752         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28753         Refer to _rtld_local_ro instead of _rtld_global_ro.
28754         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28755         Likewise.
28756         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28757         Likewise.
28758         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28759         Likewise.
28760         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28761         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28762         of _rtld_global, and rtld_progname instead of _dl_argv[0].
28764         * sysdeps/powerpc/powerpc32/dl-machine.c
28765         (__elf_machine_runtime_setup) [PROF]: Don't reference
28766         _dl_prof_resolve.
28768 2012-05-18  Andreas Jaeger  <aj@suse.de>
28770         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28771         function only available for GCCs before 3.4 since GCC 3.4
28772         introduced a builtin.
28773         (lrint): Likewise.
28774         (llrintf): Likewise.
28775         (llrint): Likewise.
28776         (fmaxf): Likewise.
28777         (fmax): Likewise.
28778         (fminf): Likewise.
28779         (fmin): Likewise.
28780         (rint): Likewise.
28781         (rintf): Likewise.
28782         (nearbyint): Likewise.
28783         (nearbyintf): Likewise.
28784         (ceil): Likewise.
28785         (ceilf): Likewise.
28786         (floor): Likewise.
28787         (floorf): Likewise.
28789 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28791         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28792         on both fields and cast pointer to __syscall_ulong_t.
28794         * bits/types.h (__fsword_t): New type.
28795         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28796         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28798         (__FSWORD_T_TYPE): Likewise.
28799         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28800         (__FSWORD_T_TYPE): Likewise.
28801         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28802         (__FSWORD_T_TYPE): Likewise.
28803         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28804         (__FSWORD_T_TYPE): Likewise.
28805         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28806         __SWORD_TYPE with __fsword_t.
28807         (statfs64): Likewise.
28809 2012-05-17  David S. Miller  <davem@davemloft.net>
28811         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28813 2012-05-17  Andreas Jaeger  <aj@suse.de>
28815         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28816         warning.
28818 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28820         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28822 2012-05-17  Andreas Jaeger  <aj@suse.de>
28824         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28825         when it is used.
28827 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28829         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28831 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28833         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28834         * sysdeps/x86_64/tst-mallocalign1.c: New file.
28836 2012-05-17  Andreas Jaeger  <aj@suse.de>
28837             Carlos O'Donell  <carlos_odonell@mentor.com>
28839         [BZ #14059]
28840         * sysdeps/x86_64/multiarch/init-arch.h
28841         (bit_YMM_Usable): Rename to...
28842         (bit_AVX_Usable): ... this.
28843         (bit_FMA4_Usable): New macro.
28844         (bit_XMM_state): New macro.
28845         (bit_YMM_state): New macro.
28846         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28847         [__ASSEMBLER__] (index_AVX_Usable): ... this.
28848         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28849         (CPUID_OSXSAVE): New macro.
28850         (CPUID_AVX): New macro.
28851         (CPUID_FMA4): New macro.
28852         (index_YMM_Usable): Rename to...
28853         (index_AVX_Usable): ... this.
28854         (HAS_AVX): Use HAS_ARCH_FEATURE.
28855         (HAS_FMA4): Likewise.
28856         (HAS_YMM_USABLE): Remove.
28857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28858         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28859         are present.
28860         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28861         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28862         * sysdeps/x86_64/multiarch/Makefile: Likewise.
28863         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28864         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28866 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28868         * math/libm-test.c: Support platforms without multiple rounding modes.
28869         * math/bug-nextafter.c: Support platforms without FP exceptions.
28870         * math/bug-nexttoward.c: Likewise.
28871         * math/test-fenv.c: Likewise.
28872         * math/test-misc.c: Likewise.
28873         * stdlib/bug-getcontext.c: Likewise.
28875 2012-05-17  Andreas Jaeger  <aj@suse.de>
28877         * manual/examples/search.c (critter_cmp): Change signature to
28878         avoid warnings.
28879         * manual/string.texi (Collation Functions): Likewise.
28881 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28883         * bits/types.h: Fold copyright years.
28884         * bits/typesizes.h: Likewise.
28885         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28886         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28887         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28888         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28889         * time/time.h: Likewise.
28891 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
28893         [BZ #208]
28894         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28895         in instead of returning them.  Return void.
28896         (__libc_mallinfo): Accumulate over all arenas.
28897         (__malloc_stats): Adjust for change in int_mallinfo interface.
28899 2012-05-16  Roland McGrath  <roland@hack.frob.com>
28901         [BZ #10375]
28902         * configure.in (NM): Add AC_CHECK_TOOL for it.
28903         (libc_extra_cflags): New substituted variable.
28904         Check for -fstack-protector being used implicitly.
28905         * configure: Regenerated.
28906         * config.make.in (config-extra-cflags): New variable,
28907         gets @libc_extra_cflags@.
28908         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28910         [BZ #10375]
28911         * configure.in: Check for _FORTIFY_SOURCE being predefined.
28912         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28913         * configure: Regenerated.
28914         * config.make.in (CPPUNDEFS): New substituted variable.
28915         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28916         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28917         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28919 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28921         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28922         (mq_attr): Use __syscall_slong_t.
28924 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28926         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28927         Check __x86_64__ instead of __WORDSIZE.
28928         (_STAT_VER_LINUX): Likewise.
28929         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
28930         __syscall_ulong_t and __syscall_slong_t.
28931         (stat64): Likewise.
28933 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28935         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28937 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28939         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28941 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28943         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28944         __syscall_ulong_t.
28946         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28947         include <bits/wordsize.h>.  Check __x86_64__ instead of
28948         __WORDSIZE.
28949         (greg_t): Use "__extension__ long long int" if __x86_64__ is
28950         defined.
28951         (mcontext_t): Replace "unsigned long" with "unsigned long long".
28953         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28954         include <bits/wordsize.h>.  Check __x86_64__ instead of
28955         __WORDSIZE.
28956         (user_regs_struct): Use "__extension__ unsigned long long"
28957         instead of "unsigned long" if __x86_64__ is defined.
28958         (user): Likewise.  Pad after pointer field if __ILP32__ is
28959         defined.
28961 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
28963         * configure.in (makeinfo): Require version 4.5 or later.  Allow
28964         versions 5 to 9.
28965         * configure: Regenerated.
28966         * manual/install.texi (texinfo): Increase version requirement to
28967         4.5 or later.
28968         * INSTALL: Regenerated.
28970         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28972 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28974         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28976         * sysdeps/x86_64/x32/ffs.c: New file.
28978         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28979         __syscall_ulong_t.
28980         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28981         defined.  Use __syscall_ulong_t.
28982         (shminfo): Use __syscall_ulong_t.
28983         (shm_info): Likewise.
28985         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28986         __syscall_ulong_t.
28988         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28989         <bits/wordsize.h>.
28990         (msgqnum_t): Use __syscall_ulong_t.
28991         (msglen_t): Likewise.
28992         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
28993         __syscall_ulong_t.
28995         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28996         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28998         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29000         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29001         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29003         * sysvipc/sys/msg.h (msgbuf): Replace long int with
29004         __syscall_slong_t.
29006         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29007         include <bits/wordsize.h>.  Check __x86_64__ instead of
29008         __WORDSIZE.
29010         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29011         "unsigned long long int" if __x86_64__ is defined.
29012         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29014         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29015         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29016         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29018         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29019         <stdint.h>.
29020         (GET_PC): Cast to uintptr_t first.
29021         (GET_FRAME): Likewise.
29022         (GET_STACK): Likewise.
29024         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29025         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29026         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29027         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29028         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29029         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29030         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29031         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29032         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29033         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29034         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29035         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29036         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29037         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29038         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29039         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29040         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29041         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29042         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29043         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29044         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29045         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29046         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29047         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29048         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29049         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29050         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29051         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29052         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29054 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
29056         * Makerules (+depfiles): Also collect depfiles from .oS in
29057         $(extra-objs).
29058         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29059         .oS, $(libnldbl-routines)).
29061         * Makerules (native-compile-mkdep-flags): Define.
29062         * sunrpc/Makefile (extra-objs): Add $(addprefix
29063         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29064         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29065         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
29066         calling $(make-target-directory).
29068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29070         * bits/types.h (__snseconds_t): Removed.
29071         * time/time.h (struct timespec): Replace __snseconds_t with
29072         __syscall_slong_t.
29073         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29074         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29075         Likewise.
29076         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29077         (__SNSECONDS_T_TYPE): Likewise.
29078         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29079         (__SNSECONDS_T_TYPE): Likewise.
29080         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29081         (__SNSECONDS_T_TYPE): Likewise.
29083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29085         * sysdeps/mach/hurd/bits/typesizes.h
29086         (__SYSCALL_SLONG_TYPE): New macro.
29087         (__SYSCALL_ULONG_TYPE): Likewise.
29089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29091         * bits/types.h (__syscall_slong_t): New type.
29092         (__syscall_ulong_t): Likewise.
29094         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29095         (__SYSCALL_ULONG_TYPE): Likewise.
29096         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29097         (__SYSCALL_SLONG_TYPE): Likewise.
29098         (__SYSCALL_ULONG_TYPE): Likewise.
29099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29100         (__SYSCALL_SLONG_TYPE): Likewise.
29101         (__SYSCALL_ULONG_TYPE): Likewise.
29102         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29103         (__SYSCALL_SLONG_TYPE): Likewise.
29104         (__SYSCALL_ULONG_TYPE): Likewise.
29106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29108         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29109         Add sigaltstack-offsets.sym.
29110         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29111         <sigaltstack-offsets.h>.
29112         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
29113         longjmp_msg pointer.
29114         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
29115         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29116         signal stack.
29117         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29119 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29121         * elf/stackguard-macros.h: Remove file.
29122         * sysdeps/generic/stackguard-macros.h: New file.
29123         * sysdeps/i386/stackguard-macros.h: Likewise.
29124         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29125         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29126         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29127         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29128         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29129         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29130         * sysdeps/x86_64/stackguard-macros.h: Likewise.
29131         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29132         <elf/stackguard-macros.h>.
29134         [BZ #14109]
29135         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29136         __aligned__ in attribute.
29137         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29138         (gregset_t): Likewise.
29140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29142         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29143         * sysdeps/x86_64/64/Implies-after: Here.  New file.
29144         * sysdeps/x86_64/x32/Implies-after: New file.
29146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29148         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29149         and access return value for _dl_profile_fixup.  Use R10_LP to
29150         load frame size.
29152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29154         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29158         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29159         * sysdeps/x86_64/x32/sysdep.h: New file.
29161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29163         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29164         * sysdeps/x86_64/setjmp.S: Likewise.
29166 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29168         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29169         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29170         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29171         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29172         remove unused global constant.
29174 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
29176         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29177         include of <not-cancel.h>.
29179 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29181         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29183 2012-05-15  Jeff Law  <law@redhat.com>
29184             Andreas Jaeger  <aj@suse.de>
29186         [BZ #13594]
29187         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29188         out from...
29189         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29190         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29191         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29192         code changing __hst_map_handle.map.
29194 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29196         * configure.in (sysnames): Look for Implies-before and Implies-after
29197         files.
29198         * configure: Regenerated.
29200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29202         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29203         8-byte data alignment with LP_SIZE alignment.
29205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29207         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29208         into R10_LP.
29210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29212         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29216         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29217         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29218         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29219         Likewise.
29220         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29224         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29225         (stackinfo_sub_sp): Likewise.
29227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29229         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29230         RAX_LP.
29232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29234         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29235         into R*_LP.
29237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29239         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29240         sizes into R*_LP.
29242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29244         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29248         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29249         into R11_LP and load __x86_64_shared_cache_size_half into
29250         R8_LP.
29252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29254         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29255         R8_LP.
29257 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29259         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29260         logb for POWER7.
29261         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29262         logbf for POWER7.
29263         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29264         logbl for POWER7.
29265         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29266         powerpc32/power7/fpu/s_logb.c via #include.
29267         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29268         powerpc32/power7/fpu/s_logbf.c via #include.
29269         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29270         powerpc32/power7/fpu/s_logbl.c via #include.
29272 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29274         * README.libm: Remove file.
29276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29278         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29279         count for x32.  Use R*_LP and omit operand-size suffix.
29281 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29283         * shlib-versions: Move x86_64-.*-linux.* entries to ...
29284         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
29285         * sysdeps/x86_64/x32/shlib-versions: New file.
29287 2012-05-14  Roland McGrath  <roland@hack.frob.com>
29289         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29290         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29291         Use _dl_fatal_printf instead.
29293 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29295         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29296         set if not set by the user.  Do not allow for being unset.
29297         * sysdeps/unix/sysv/linux/configure: Regenerated.
29299 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29301         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29302         the `q' suffix from lea and replace .quad with ASM_ADDR.
29304 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29307         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
29308         instead of $17.
29309         (PTR_DEMANGLE): Likewise.
29311 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29313         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29314         (LP_OP): Likewise.
29315         (ASM_ADDR): Likewise.
29316         (RAX_LP): Likewise.
29317         (RBP_LP): Likewise.
29318         (RBX_LP): Likewise.
29319         (RCX_LP): Likewise.
29320         (RDI_LP): Likewise.
29321         (RSI_LP): Likewise.
29322         (RSP_LP): Likewise.
29323         (R8_LP): Likewise.
29324         (R9_LP): Likewise.
29325         (R10_LP): Likewise.
29326         (R10_LP): Likewise.
29327         (R11_LP): Likewise.
29328         (R12_LP): Likewise.
29329         (R13_LP): Likewise.
29330         (R14_LP): Likewise.
29331         (R15_LP): Likewise.
29333 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29335         * sysdeps/x86_64/x32/dl-machine.h: New file.
29337 2012-05-14  Andreas Jaeger  <aj@suse.de>
29339         * manual/Makefile (subdir): Remove export of subdir.
29340         (all): Remove target.
29341         (.PHONY): Remove all from list.
29342         (mkinstalldirs): Remove.
29343         (.PHONY): Remove installdirs from list.
29344         ($(inst_infodir)/libc.info): Use make-target-directory.
29345         (installdirs): Remove.
29346         (subdir_%): Remove.
29347         (glibc-targets): Remove.
29348         (lib): Remove.
29349         (stubs): Remove.
29350         ($(objpfx)stubs ../po/manual.pot): Remove.
29351         ($(objpfx)stamp%): Remove.
29352         (make-target-directory): Remove.
29353         (subdir_install): Remove.
29354         (routines): Remove.
29355         (aux): Remove.
29356         (sources): Remove.
29357         (objects): Remove.
29358         (headers): Remove.
29360         [BZ #13750]
29361         * manual/.gitignore: Remove, it's not needed anymore.
29362         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29363         all files in it.
29364         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29365         directory.
29366         (texis): Renamed to $(objpfx)texis.
29367         (texis-path): New, contains path to generated files.
29368         (chapters.%): Use texis-path for complete path, add extra argument
29369         libc-texinfo.sh.
29370         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29371         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29372         (summary,texi, stamp-summary): Use complete path of
29373         files. Generate files in build dir.
29374         (dir-add.texi): Build in build dir.
29375         (libm-err.texi,stamp-libm-err): Likewise.
29376         (version.texi, stamp-version): Likewise.
29377         (.%c.texi): Likewise.
29378         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29379         (mostlyclean): Remove target.
29380         (realclean): Remove target.
29381         (generated): Add new variable with contents from mostlyclean and
29382         realclean, remove entries duplicated in common-mostlyclean, add
29383         stamp-libm-err and stamp-version.
29384         (generated-dirs): Add libc directory.
29385         ($(inst_infodir)/libc.info): Install files from build dir.
29387         * manual/install.texi (Configuring and compiling): Adjust since
29388         the info files are not part of the tar ball anymore.
29390 2012-05-14  Andreas Jaeger  <aj@suse.de>
29392         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29393         variable.
29395 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29397         [BZ #13717]
29398         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29399         to 2.2.0 where earlier.
29400         * sysdeps/unix/sysv/linux/configure: Regenerated.
29401         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29402         Remove conditional code.
29403         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29404         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29405         Remove conditional code.
29406         [!__NR_lchown]: Likewise.
29407         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29408         [__NR_lchown]: Likewise.
29409         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29410         comment referencing __ASSUME_LCHOWN_SYSCALL.
29411         * sysdeps/unix/sysv/linux/i386/sigaction.c
29412         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29413         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29414         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29415         Remove conditional code.
29416         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29417         (__protocol_available): Remove #if 0 code.
29418         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29419         conditional code.
29420         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29421         * sysdeps/unix/sysv/linux/kernel-features.h
29422         (__ASSUME_GETCWD_SYSCALL): Don't define.
29423         (__ASSUME_REALTIME_SIGNALS): Likewise.
29424         (__ASSUME_PREAD_SYSCALL): Likewise.
29425         (__ASSUME_PWRITE_SYSCALL): Likewise.
29426         (__ASSUME_POLL_SYSCALL): Likewise.
29427         (__ASSUME_LCHOWN_SYSCALL): Likewise.
29428         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29429         non-SPARC.
29430         (__ASSUME_SIOCGIFNAME): Don't define.
29431         (__ASSUME_MSG_NOSIGNAL): Likewise.
29432         (__ASSUME_SENDFILE): Define unconditionally.
29433         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29434         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29435         conditional code.
29436         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29437         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29438         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29439         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29440         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29441         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29442         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29444         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29445         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29447         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29448         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29450         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29451         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29453         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29454         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29456         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29457         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29459         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29462         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29463         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29465         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29467         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29468         Remove conditional code.
29469         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29470         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29471         Remove conditional code.
29472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29473         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29474         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29475         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29476         Remove conditional code.
29477         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29478         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29479         Remove conditional code.
29480         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29481         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29482         Remove conditional code.
29483         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29484         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29485         Remove conditional code.
29486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29487         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29488         Remove conditional code.
29489         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29490         * sysdeps/unix/sysv/linux/sh/pwrite64.c
29491         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29493         * sysdeps/unix/sysv/linux/sigaction.c
29494         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29495         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29496         * sysdeps/unix/sysv/linux/sigpending.c
29497         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29498         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29499         * sysdeps/unix/sysv/linux/sigprocmask.c
29500         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29501         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29502         * sysdeps/unix/sysv/linux/sigsuspend.c
29503         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29504         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29505         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29506         (__libc_missing_rt_sigs): Remove.
29507         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29508         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29509         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29510         Remove conditional code.
29511         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29512         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29513         return 1.
29514         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29515         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29516         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29517         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29519 2012-05-14  Andreas Jaeger  <aj@suse.de>
29521         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29522         it's not used in glibc.
29523         (__coshm1): Likewise.
29524         (__acosh1p): Likewise.
29525         (__sgn): Likewise.
29527         * manual/string.texi (Copying and Concatenation): Add missing
29528         variable in concat example.
29529         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29531 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29533         [BZ #14103]
29534         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29535         __builtin_clzl with __builtin_clzll.
29537 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29539         [BZ #14104]
29540         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29541         libc_freeres_ptr.
29543 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29545         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29546         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29547         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29548         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29550 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
29552         * NEWS: Update ia64 info.
29554 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
29556         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29557         used as bcopy.
29559 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
29561         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29562         * sysdeps/unix/syscalls.list (dup3): Likewise.
29563         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29564         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29566 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29568         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29569         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29571 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29573         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29574         thread pointer.
29575         (TLS_IE): Use mov/add instead of movq/addq to load thread
29576         pointer.
29577         (TLS_GD_PREFIX): New.
29578         (TLS_GD): Use it.
29580 2012-05-11  David S. Miller  <davem@davemloft.net>
29582         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29583         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29584         (_FPU_SETCW): Likewise.
29586 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29588         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29589         is 32-byte aligned.
29591 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
29593         [BZ #11837]
29594         * iconvdata/gb18030.c: Update tables.
29595         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
29596         characters specially.
29597         (BODY for TO_LOOP): Add encoding of missing ranges.
29599 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
29601         [BZ #13673]
29602         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29603         * sysdeps/mach/hurd/dup3.c: Likewise.
29604         * sysdeps/mach/hurd/readlinkat.c: Likewise.
29605         * sysdeps/powerpc/memmove.c:: Likewise.
29607 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29609         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29610         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29612 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29614         * elf/elf.h (R_X86_64_RELATIVE64): New.
29615         (R_X86_64_NUM): Updated.
29616         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29617         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
29618         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29619         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29620         tst-quad1pie tst-quad2pie
29621         (modules-names): Add tst-quadmod1 tst-quadmod2.
29622         ($(objpfx)tst-quad1): New dependency.
29623         ($(objpfx)tst-quad2): Likewise.
29624         ($(objpfx)tst-quad1pie): Likewise.
29625         ($(objpfx)tst-quad2pie): Likewise.
29626         * sysdeps/x86_64/tst-quad1.c: New file.
29627         * sysdeps/x86_64/tst-quad1pie.c: New file.
29628         * sysdeps/x86_64/tst-quad2.c: Likewise.
29629         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29630         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29631         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29632         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29633         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29637         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29638         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29639         * streams/stropts.h (t_scalar_t): Define type.
29641         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29642         (_PATH_PRESERVE): Set to "/var/lib".
29643         (_PATH_RWHODIR): Set to "/var/spool/rwho".
29645         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29646         instead of int.
29648         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29649         if __dir_mkfile succeeded.
29651         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29652         checking for _hurd_dtablesize.  Unlock it right after having
29653         finished _hurd_dtable allocation.
29655 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29657         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29658         * sysdeps/mach/hurd/configure: Regenerated.
29659         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29660         special-casing to...
29661         * sysdeps/gnu/configure.in: ... this new file.
29662         * sysdeps/unix/sysv/linux/configure: Regenerated.
29663         * sysdeps/gnu/configure: New generated file.
29665         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29666         for Linux: use nsec instead of usec, as well as:
29667         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29668         members of type struct timespec.
29669         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29670         New macros.
29671         (struct stat64): Likewise.
29672         (_STATBUF_ST_NSEC): New macro.
29673         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29675         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29676         __strtoul_internal rather than strtoul.
29678 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29680         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29681         and reject them.
29683 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29685         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29686         which preserves existing values.
29687         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29689 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29691         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29692         TIMEOUT values.  Return EINVAL for NFDS values either negative or
29693         greater than FD_SETSIZE.
29695 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29697         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29698         allocated, call __vm_protect to finish enabling the existing space, and
29699         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29700         allocate the remainder.
29702 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29704         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29705         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
29707 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29709         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29710         sysdeps/mach/hurd/readlink.c.
29712         * posix/tst-sysconf.c (posix_options): Only use
29713         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29714         _POSIX_SYNCHRONIZED_IO when they are defined
29715         * sysdeps/mach/hurd/bits/posix_opt.h:
29716         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29717         (_XOPEN_REALTIME): Undefine macro.
29718         (_XOPEN_REALTIME_THREADS): Undefine macro.
29719         (_XOPEN_SHM): Undefine macro.
29720         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29721         macro to -1.
29722         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29723         macro to -1.
29724         (_POSIX_ASYNC_IO): Undefine macro.
29725         (_POSIX_PRIORITIZED_IO): Undefine macro.
29726         (_POSIX_SPIN_LOCKS): Define macro to -1.
29728         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29729         SA_NODEFER, SA_RESETHAND.
29730         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29731         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29732         F_DUPFD_CLOEXEC.
29734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29736         * elf/Makefile (pldd-modules): Define unconditionally.
29738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29740         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29744         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29745         Return ENOENT when name is empty.
29746         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29748 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29750         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29752         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29754 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29756         Fix mlock in all cases except non-readable pages.
29757         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29758         instead of VM_PROT_ALL as parameter to __vm_wire function.
29760         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29761         (__mkdir): When path is `/', just fail with EEXIST.
29762         * sysdeps/mach/hurd/mkdirat.c: Likewise.
29764 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29766         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29767         <sys/uio.h> (for writev).
29768         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29769         and <sys/param.h> (for MIN).
29771 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29773         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29774         REQUESTED_TIME.  Properly set the remaining time and return EINTR
29775         if interrupted.
29777 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29779         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29780         Depend on against $(link-rpcuserlibs).
29782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29784         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29785         (__libc_stack_end): Do not use attribute_relro.
29786         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29787         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29788         to libthread-provided value.
29789         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29790         attribute_relro.
29792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29794         [BZ #3748]
29795         * bits/libc-lock.h (__libc_once_get): New macro.
29796         * sysdeps/mach/bits/libc-lock.h: Likewise.
29797         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29798         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29799         instead of using implementation details.
29801         * libio/fileops.c: Unconditionally include <kernel-features.h>.
29802         * libio/freopen.c: Likewise.
29803         * libio/freopen64.c: Likewise.
29804         * misc/syslog.c: Likewise.
29805         * nscd/connections.c: Likewise.
29806         * nscd/netgroupcache.c: Likewise.
29807         * sysdeps/posix/getcwd.c: Likewise.
29809 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29811         * math/w_ilogbf.c: Add #include <limits.h>.
29813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29815         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29816         path instead of returning without unlocking.
29818         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29819         immediate-write ioctls.
29820         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29824         * sysdeps/mach/hurd/i386/init-first.c (init): Use
29825         __builtin_frame_address instead of making assumptions about the
29826         location of the return address relative to DATA.  Force early load of
29827         the return address.
29828         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29829         __builtin_frame_address.
29831         dup3 for GNU Hurd.
29832         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29833         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
29834         implement dup3 and do some further code clean-ups.
29835         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29836         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29840         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29842         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29843         HURD_CRITICAL_END around holding _hurd_dtable_lock.
29844         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29845         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29846         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29847         d->port.lock.
29849         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29850         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
29851         when handler == SIG_ERR, not when handler != SIG_ERR.
29853 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29855         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29856         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29857         definitions.
29859         accept4 for GNU Hurd.
29860         * include/sys/socket.h (__libc_accept4): New prototype.
29861         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
29862         to implement __libc_accept4.
29863         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29864         __libc_accept4.
29865         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29867         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29868         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29869         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29870         signal-defines.sym.
29872 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29874         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29876 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29878         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29879         assertion on O_CLOEXEC flag.
29880         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29881         * hurd/intern-fd.c: Likewise.
29882         * hurd/port2fd.c: Likewise.
29884 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29886         [BZ #3906]
29887         * bits/in.h (IPV6_PKTINFO): Define new macro.
29888         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29890 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29892         [BZ #13954]
29893         [BZ #13955]
29894         [BZ #13956]
29895         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29896         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29897         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29898         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29899         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29900         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29901         * math/libm-test.inc (logb_test) : Additional logb tests.
29903 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
29904             Andreas Jaeger  <aj@suse.de>
29906         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29907         * configure: Regenerated.
29908         * config.h.in (LINK_OBSOLETE_RPC): New macro.
29909         * config.make.in (link-obsolete-rpc): New substituted variable.
29910         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29911         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29912         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29913         (shared-only-routines): Don't set it under [link-obsolete-rpc],
29914         so that libc.a contains the symbols.
29915         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29916         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29917         * sunrpc/auth_none.c: Likewise.
29918         * sunrpc/auth_unix.c: Likewise.
29919         * sunrpc/authdes_prot.c: Likewise.
29920         * sunrpc/authuxprot.c: Likewise.
29921         * sunrpc/clnt_gen.c: Likewise.
29922         * sunrpc/clnt_perr.c: Likewise.
29923         * sunrpc/clnt_raw.c: Likewise.
29924         * sunrpc/clnt_simp.c: Likewise.
29925         * sunrpc/clnt_tcp.c: Likewise.
29926         * sunrpc/clnt_udp.c: Likewise.
29927         * sunrpc/clnt_unix.c: Likewise.
29928         * sunrpc/des_crypt.c: Likewise.
29929         * sunrpc/des_soft.c: Likewise.
29930         * sunrpc/get_myaddr.c: Likewise.
29931         * sunrpc/key_call.c: Likewise.
29932         * sunrpc/key_prot.c: Likewise.
29933         * sunrpc/netname.c: Likewise.
29934         * sunrpc/pm_getmaps.c: Likewise.
29935         * sunrpc/pm_getport.c: Likewise.
29936         * sunrpc/pmap_clnt.c: Likewise.
29937         * sunrpc/pmap_prot.c: Likewise.
29938         * sunrpc/pmap_prot2.c: Likewise.
29939         * sunrpc/pmap_rmt.c: Likewise.
29940         * sunrpc/publickey.c: Likewise.
29941         * sunrpc/rpc_cmsg.c: Likewise.
29942         * sunrpc/rpc_common.c: Likewise.
29943         * sunrpc/rpc_dtable.c: Likewise.
29944         * sunrpc/rpc_prot.c: Likewise.
29945         * sunrpc/rpc_thread.c: Likewise.
29946         * sunrpc/rtime.c: Likewise.
29947         * sunrpc/svc.c: Likewise.
29948         * sunrpc/svc_auth.c: Likewise.
29949         * sunrpc/svc_raw.c: Likewise.
29950         * sunrpc/svc_run.c: Likewise.
29951         * sunrpc/svc_tcp.c: Likewise.
29952         * sunrpc/svc_udp.c: Likewise.
29953         * sunrpc/svc_unix.c: Likewise.
29954         * sunrpc/svcauth_des.c: Likewise.
29955         * sunrpc/xcrypt.c: Likewise.
29956         * sunrpc/xdr.c: Likewise.
29957         * sunrpc/xdr_array.c: Likewise.
29958         * sunrpc/xdr_float.c: Likewise.
29959         * sunrpc/xdr_intXX_t.c: Likewise.
29960         * sunrpc/xdr_mem.c: Likewise.
29961         * sunrpc/xdr_rec.c: Likewise.
29962         * sunrpc/xdr_ref.c: Likewise.
29963         * sunrpc/xdr_sizeof.c: Likewise.
29964         * sunrpc/xdr_stdio.c: Likewise.
29966 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29968         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29969         change.  Update copyright years.
29971 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29973         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29975 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
29976             Joseph Myers  <joseph@codesourcery.com>
29977             Paul Pluzhnikov  <ppluzhnikov@google.com>
29979         [BZ #14012]
29980         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29981         requiring rpcgen.
29982         [cross-compiling] (extra-libs): Likewise.
29983         [cross-compiling] (extra-libs-others): Likewise.
29984         [cross-compiling] (librpcsvc-routines): Likewise.
29985         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29986         [cross-compiling] (omit-deps): Likewise.
29987         (sunrpc-CPPFLAGS): New variable.
29988         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29989         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29990         (cross-rpcgen-objs): New variable.
29991         (extra-objs): Append $(cross-rpcgen-objs).
29992         ($(cross-rpcgen-objs)): New rule.
29993         ($(objpfx)cross-rpcgen): Likewise.
29994         (rpcgen-cmd): Define to use $(built-program-file).  Expand
29995         comment.
29996         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29997         ($(objpfx)x%.stmp): Likewise.
29998         * sunrpc/proto.h [IS_IN_build] (_): Define.
29999         [IS_IN_build] (_libc_intl_domainname): Likewise.
30001 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30003         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30004         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30005         and R_X86_64_TPOFF64.
30007 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
30009         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30010         sysdeps/unix/sysv/syscalls.list.
30011         (stime): Likewise.
30012         (utime): Likewise.
30013         * sysdeps/unix/sysv/syscalls.list: Remove file.
30015 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
30017         [BZ #3440]
30018         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30019         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30020         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30021         (__LC_IDENTIFICATION): Make these macros useful in #if
30022         expressions, as required by C99.
30024 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
30026         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30027         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
30028         after this.
30030 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
30032         * stdlib/longlong.h: Updated from GCC.
30034 2012-05-09  Andreas Jaeger  <aj@suse.de>
30036         * nscd/nscd.c (run_modes): Make named enum, reorder so that
30037         default is first entry.
30038         (run_mode): Set type.
30039         (main): Remove informal message about syslog.
30040         (options): Fix typo.
30042         [BZ #14053]
30043         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30044         to asm.
30045         (lrint): Likewise.
30046         (llrintf): Likewise.
30047         (llrint): Likewise.
30048         (rint): Likewise.
30049         (rintf): Likewise.
30050         (nearbyint): Likewise.
30051         (nearbyintf): Likewise.
30053 2012-05-09  Andreas Jaeger  <aj@suse.de>
30054             Pedro Alves  <palves@redhat.com>
30056         * nscd/nscd.c (run_mode): Use enum.
30057         (main): Cleanup coding style issue.
30059 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
30060             Andreas Jaeger  <aj@suse.de>
30062         * nscd/nscd.c (go_background): Replaced with...
30063         (run_mode): ... this.
30064         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30065         (options): Add -F --foreground.
30066         (main): Implement it.
30067         (parse_opt): Parse it.
30069 2012-05-09  Andreas Jaeger  <aj@suse.de>
30071         [BZ #14083]
30072         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30073         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30074         -Wconversion warning.
30075         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30076         Likewise.
30078 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
30080         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
30081         == 0.
30082         (LC_ALL): Use macro-int-constant.
30083         (LC_COLLATE): Likewise.
30084         (LC_CTYPE): Likewise.
30085         (LC_MESSAGES): Likewise.
30086         (LC_MONETARY): Likewise.
30087         (LC_NUMERIC): Likewise.
30088         (LC_TIME): Likewise.
30089         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30090         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30091         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30092         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30093         Specify type.
30094         [C99-based standards] (float_t): Expect type.
30095         [C99-based standards] (double_t): Expect type.
30096         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
30097         type.
30098         [C99-based standards] (HUGE_VALL): Likewise.
30099         [C99-based standards] (INFINITY): Likewise.
30100         [C99-based standards] (NAN): Likewise.
30101         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30102         [C99-based standards] (FP_NAN): Likewise.
30103         [C99-based standards] (FP_NORMAL): Likewise.
30104         [C99-based standards] (FP_SUBNORMAL): Likewise.
30105         [C99-based standards] (FP_ZERO): Likewise.
30106         [C99-based standards] (FP_FAST_FMA): Use
30107         optional-macro-int-constant.  Specify type.  Require == 1.
30108         [C99-based standards] (FP_FAST_FMAF): Likewise.
30109         [C99-based standards] (FP_FAST_FMAL): Likewise.
30110         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30111         [C99-based standards] (FP_ILOGBNAN): Likewise.
30112         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30113         Specify type.
30114         [C99-based standards] (MATH_ERREXCEPT): Likewise.
30115         [C99-based standards] (math_errhandling): Specify type.
30116         [ISO99 || ISO11] (signgam): Do not allow.
30117         [non-C99-based standards] (copysignf): Do not allow.
30118         [non-C99-based standards] (exp2f): Likewise.
30119         [non-C99-based standards] (log2f): Likewise.
30120         [non-C99-based standards] (modff): Allow.
30121         [non-C99-based standards] (erff): Do not allow.
30122         [non-C99-based standards] (erfcf): Likewise.
30123         [non-C99-based standards] (gammaf): Likewise.
30124         [non-C99-based standards] (hypotf): Likewise.
30125         [non-C99-based standards] (j0f): Likewise.
30126         [non-C99-based standards] (j1f): Likewise.
30127         [non-C99-based standards] (jnf): Likewise.
30128         [non-C99-based standards] (lgammaf): Likewise.
30129         [non-C99-based standards] (tgammaf): Likewise.
30130         [non-C99-based standards] (y0f): Likewise.
30131         [non-C99-based standards] (y1f): Likewise.
30132         [non-C99-based standards] (ynf): Likewise.
30133         [non-C99-based standards] (isnanf): Likewise.
30134         [non-C99-based standards] (acoshf): Likewise.
30135         [non-C99-based standards] (asinhf): Likewise.
30136         [non-C99-based standards] (atanhf): Likewise.
30137         [non-C99-based standards] (cbrtf): Likewise.
30138         [non-C99-based standards] (expm1f): Likewise.
30139         [non-C99-based standards] (ilogbf): Likewise.
30140         [non-C99-based standards] (log1pf): Likewise.
30141         [non-C99-based standards] (logbf): Likewise.
30142         [non-C99-based standards] (nextafterf): Likewise.
30143         [non-C99-based standards] (remainderf): Likewise.
30144         [non-C99-based standards] (rintf): Likewise.
30145         [non-C99-based standards] (scalbf): Likewise.
30146         [non-C99-based standards] (copysignl): Likewise.
30147         [non-C99-based standards] (exp2l): Likewise.
30148         [non-C99-based standards] (log2l): Likewise.
30149         [non-C99-based standards] (modfl): Allow.
30150         [non-C99-based standards] (erfl): Do not allow.
30151         [non-C99-based standards] (erfcl): Likewise.
30152         [non-C99-based standards] (gammal): Likewise.
30153         [non-C99-based standards] (hypotl): Likewise.
30154         [non-C99-based standards] (j0l): Likewise.
30155         [non-C99-based standards] (j1l): Likewise.
30156         [non-C99-based standards] (jnl): Likewise.
30157         [non-C99-based standards] (lgammal): Likewise.
30158         [non-C99-based standards] (tgammal): Likewise.
30159         [non-C99-based standards] (y0l): Likewise.
30160         [non-C99-based standards] (y1l): Likewise.
30161         [non-C99-based standards] (ynl): Likewise.
30162         [non-C99-based standards] (isnanl): Likewise.
30163         [non-C99-based standards] (acoshl): Likewise.
30164         [non-C99-based standards] (asinhl): Likewise.
30165         [non-C99-based standards] (atanhl): Likewise.
30166         [non-C99-based standards] (cbrtl): Likewise.
30167         [non-C99-based standards] (expm1l): Likewise.
30168         [non-C99-based standards] (ilogbl): Likewise.
30169         [non-C99-based standards] (log1pl): Likewise.
30170         [non-C99-based standards] (logbl): Likewise.
30171         [non-C99-based standards] (nextafterl): Likewise.
30172         [non-C99-based standards] (remainderl): Likewise.
30173         [non-C99-based standards] (rintl): Likewise.
30174         [non-C99-based standards] (scalbl): Likewise.
30175         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30176         [non-C99-based standards] (FP_*): Do not allow.
30177         [C99-based standards] (FP_*): Change to
30178         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30179         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30180         allow.
30181         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30182         (SIG_ERR): Likewise.
30183         [X/Open-based standards] (SIG_HOLD): Likewise.
30184         (SIG_IGN): Likewise.
30185         (SIGABRT): Use macro-int-constant.  Specify type.  Require
30186         positive value.
30187         (SIGFPE): Likewise.
30188         (SIGILL): Likewise.
30189         (SIGINT): Likewise.
30190         (SIGSEGV): Likewise.
30191         (SIGTER): Likewise.
30192         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30193         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30194         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30195         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30196         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30197         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30198         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30199         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30200         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30201         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30202         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30203         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30204         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30205         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30206         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30207         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30208         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30209         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30210         [X/Open-based standards] (SIGTRAP): Likewise.
30211         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30212         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30213         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30214         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30215         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30216         allow.
30218 2012-05-08  Ian Wienand  <ianw@vmware.com>
30220         [BZ #14080]
30221         * time/tzset.c (__tzset_parse_tz): Update default rules for
30222         daylight time changes in the Energy Policy Act of 2005.
30224 2012-05-09  Andreas Jaeger  <aj@suse.de>
30226         [BZ #13983]
30227         * elf/ldconfig.c (parse_conf): Change string to make clear that
30228         ldconfig only issued a warning if ld.so.conf does not exist.
30230 2012-05-08  David S. Miller  <davem@davemloft.net>
30232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30233         movxtod instead of popping the value on the stack.
30235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30237 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
30239         * config.h.in: Add HAVE_ARM_PCS_VFP.
30241 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
30243         [BZ #13979]
30244         * include/features.h: Warn if user requests __FORTIFY_SOURCE
30245         checking but the checks are disabled for any reason.
30247 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
30249         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30250         and ELF64_R_TYPE with ELFW(R_TYPE).
30252 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
30254         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30255         (ulimit): Likewise.
30257         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30258         (settimeofday): Likewise.
30260 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
30262         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
30263         a struct th_u2 inside the union, and move tu_block/tu_code into
30264         a new th_u3 union of tu_block/tu_code inside of that.  Move
30265         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
30266         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
30267         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30268         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30269         (th_stuff): Change to th_u1.tu_stuff.
30270         (th_data): Define.
30271         (th_msg): Change to th_u1.th_u2.tu_data.
30273 2012-05-07  David S. Miller  <davem@davemloft.net>
30275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30277         [BZ #14074]
30278         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30279         (SETUP_PIC_REG): Use it.
30280         (SETUP_PIC_REG_LEAF): Use it.
30282 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
30284         [BZ #13885]
30285         [BZ #13923]
30286         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30287         USE_AS_EXPM1L.
30288         (EXPL_FINITE): Likewise.
30289         (FLDLOG): Likewise.
30290         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30291         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30292         e_expl.S.
30293         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30294         USE_AS_EXPM1L.
30295         (EXPL_FINITE): Likewise.
30296         (FLDLOG): Likewise.
30297         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30298         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30299         e_expl.S.
30300         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
30301         test of -max_value argument for long double.
30302         * sysdeps/i386/fpu/libm-test-ulps: Update.
30303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30305 2012-05-06  David S. Miller  <davem@davemloft.net>
30307         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30308         quad soft-float symbols whose references which are compiler
30309         generated.
30310         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30312 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
30314         [BZ #13884]
30315         [BZ #13914]
30316         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30317         USE_AS_EXP10L.
30318         (EXPL_FINITE): Likewise.
30319         (FLDLOG): Likewise.
30320         (c0): Likewise.
30321         (c1): Likewise.
30322         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30323         Adjust comments for base varying.
30324         (__expl_finite): Change alias to EXPL_FINITE.
30325         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30326         e_expl.S.
30327         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30328         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30329         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30330         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30331         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30332         USE_AS_EXP10L.
30333         (EXPL_FINITE): Likewise.
30334         (FLDLOG): Likewise.
30335         (c0): Likewise.
30336         (c1): Likewise.
30337         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30338         Adjust comments for base varying.
30339         (__expl_finite): Change alias to EXPL_FINITE.
30340         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
30341         tests for bugs.
30342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30344         [BZ #14064]
30345         * math/libm-test.inc (check_float_internal): Correct ulp
30346         calculation for subnormal expected results.
30348 2012-05-06  Andreas Jaeger  <aj@suse.de>
30350         * Makeconfig (+math-flags): New, set to -frounding-math.
30351         (+cflags): Add +math-flags so that all of glibc gets compiled with
30352         it.
30354         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30356 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
30358         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30359         Disable one test.
30361         [BZ #13787]
30362         [BZ #13922]
30363         [BZ #14036]
30364         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30365         (__ieee754_expl): Allow for and saturate large arguments.
30366         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30367         (u_threshold): Likewise.
30368         (__exp): Call __ieee754_exp before checking for overflow and
30369         underflow.
30370         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30371         (u_threshold): Likewise.
30372         (__expf): Call __ieee754_expf before checking for overflow and
30373         underflow.
30374         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30375         (u_threshold): Likewise.
30376         (__expl): Call __ieee754_expl before checking for overflow and
30377         underflow.
30378         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30379         (__ieee754_expl): Allow for and saturate large arguments.
30380         * math/libm-test.inc (exp_test): Add another test.  Do not allow
30381         missing overflow exception on overflow.
30382         (expm1_test): Do not allow missing overflow exception on overflow.
30384         * sysdeps/i386/fpu/e_expl.c: Move to ...
30385         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
30386         rather than using inline asm.
30387         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30388         * sysdeps/x86_64/fpu/e_expl.S: Copy from
30389         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30391         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30392         (nice): Likewise.
30393         (poll): Likewise.
30394         (signal): Likewise.
30395         (time): Likewise.
30396         (times): Likewise.
30398 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30400         * sysdeps/unix/syscalls.list (adjtime): Add entry from
30401         sysdeps/unix/common/syscalls.list.
30402         (fchmod): Likewise.
30403         (fchown): Likewise.
30404         (ftruncate): Likewise.
30405         (getrusage): Likewise.
30406         (gettimeofday): Likewise.
30407         (setpgid): Likewise.
30408         (setregid): Likewise.
30409         (setreuid): Likewise.
30410         (sigaction): Likewise.
30411         (truncate): Likewise.
30412         (vhangup): Likewise.
30413         * sysdeps/unix/common/syscalls.list: Remove file.
30414         * sysdeps/unix/bsd/Implies: Don't include unix/common.
30415         * sysdeps/unix/sysv/linux/Implies: Likewise.
30417 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
30419         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30421         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30422         Moved to ...
30423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30424         Here.
30425         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30426         to ...
30427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30428         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30429         to ...
30430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30431         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30432         to ...
30433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30434         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30435         to ...
30436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30437         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30438         to ...
30439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30440         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30441         to ...
30442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30443         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30444         to ...
30445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30446         Here.
30447         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30448         to ...
30449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30450         Here.
30451         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30452         to ...
30453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30454         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30455         Moved to ...
30456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30457         Here.
30458         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30459         to ...
30460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30462 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30464         * sysdeps/unix/common/bits/dirent.h: Remove file.
30465         * sysdeps/unix/common/bits/fcntl.h: Likewise.
30467         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30468         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30469         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30470         * sysdeps/unix/bsd/isatty.c: Likewise.
30471         * sysdeps/unix/bsd/tcdrain.c: Likewise.
30472         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30473         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30475 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30477         [BZ #13563]
30478         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30479         long double comparison inaccuracies.
30480         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30483 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
30485         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30486         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30488 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30490         [BZ #14049]
30491         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30492         nonzero digits before rounding a hex value.
30493         * stdlib/tst-strtod.c (tests): Add another test.
30495 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30497         * sysdeps/s390/fpu/libm-test-ulps: Update.
30499 2012-05-03  Andreas Jaeger  <aj@suse.de>
30501         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30502         does not get optimized out.
30503         (malloc_opt_barrier): New.
30505 2012-05-03  Andreas Jaeger  <aj@suse.de>
30506             Roland McGrath  <roland@hack.frob.com>
30508         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30509         intermediate file deletion.
30510         (generated): Add .symlist files.
30512 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
30514         [BZ #13775]
30515         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30516         Redirect under this condition.
30517         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30518         [__USE_GNU] (__dprintf_chk): Not under this condition.
30519         [__USE_GNU] (__vdprintf_chk): Likewise.
30520         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30521         under this condition.
30522         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30523         [__USE_XOPEN2K8] (dprintf): Define under this condition.
30524         [__USE_XOPEN2K8] (vdprintf): Likewise.
30525         [__USE_GNU] (__dprintf_chk): Not under this condition.
30526         [__USE_GNU] (__vdprintf_chk): Likewise.
30527         [__USE_GNU] (dprintf): Likewise.
30528         [__USE_GNU] (vdprintf): Likewise.
30530 2012-05-03  Roland McGrath  <roland@hack.frob.com>
30532         * elf/Makefile (common-generated): Set this instead of generated for
30533         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
30534         $(all-built-dso)-derived lists.
30536 2012-05-03  Andreas Jaeger  <aj@suse.de>
30538         * sysdeps/i386/fpu/libm-test-ulps: Update.
30540         * FAQ: Removed.
30541         * FAQ.in: Likewise.
30542         * scripts/gen-FAQ.pl: Likewise.
30543         * manual/install.texi (Installation): Point to online location of
30544         FAQ.
30545         * Makefile (files-for-dist): Remove FAQ.
30546         (FAQ): Remove.
30548 2012-05-02  Allan McRae  <allan@archlinux.org>
30550         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30551         (LDFLAGS-reldepmod5.so): Likewise.
30552         (LDFLAGS-reldep6mod1.so): Likewise.
30553         (LDFLAGS-reldep6mod4.so): Likewise.
30554         (LDFLAGS-reldep8mod3.so): Likewise.
30555         (LDFLAGS-unload4mod1.so): Likewise.
30556         (LDFLAGS-unload4mod2.so): Likewise.
30557         (LDFLAGS-tst-initorder): Likewise.
30558         (LDFLAGS-tst-initordera2.so): Likewise.
30559         (LDFLAGS-tst-initordera3.so): Likewise.
30560         (LDFLAGS-tst-initordera4.so): Likewise.
30561         (LDFLAGS-tst-initorderb2.so): Likewise.
30562         (LDFLAGS-noload): Likewise.
30563         (LDFLAGS-next): Likewise.
30564         (LDFLAGS-order2mod1.so): Likewise.
30565         (LDFLAGS-order2mod2.so): Likewise.
30566         (LDFLAGS-tst-initorder2): Likewise.
30567         (LDFLAGS-tst-initorder2a.so): Likewise.
30568         (LDFLAGS-tst-initorder2b.so): Likewise.
30569         (LDFLAGS-tst-initorder2c.so): Likewise.
30570         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30572 2012-05-02  David S. Miller  <davem@davemloft.net>
30574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30576 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30578         [BZ #14055]
30579         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30581 2012-05-02  Andreas Jaeger  <aj@suse.de>
30583         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30584         since we manipulate rounding mode.
30585         (CPPFLAGS-test-idouble.c): Likewise.
30586         (CPPFLAGS-test-ifloat.c): Likewise.
30587         (CFLAGS-test-ldouble.c): Likewise.
30588         (CFLAGS-test-double.c): Likewise.
30589         (CFLAGS-test-float.c): Likewise.
30590         (CFLAGS-test-misc.c): Likewise.
30591         (CFLAGS-test-test-fenv.c): Likewise.
30593 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30595         [BZ #2550]
30596         [BZ #2570]
30597         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30598         comparisons to determine direction to adjust input.
30600 2012-05-01  Roland McGrath  <roland@hack.frob.com>
30602         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30603         output to the target.
30605         * scripts/localplt.awk: New file.
30606         * elf/Makefile ($(objpfx)check-localplt): Target removed.
30607         (check-localplt-CFLAGS): Variable removed.
30608         ($(all-built-dso:=.jmprel)): New static pattern rule.
30609         (generated): Add those targets.
30610         (localplt-built-dso): New variable.
30611         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30613         * elf/check-localplt.c: File removed.
30615         * scripts/check-execstack.awk: New file.
30616         * elf/Makefile ($(objpfx)check-execstack): Target removed.
30617         (check-execstack-CFLAGS): Variable removed.
30618         ($(objpfx)check-execstack.h): Target removed.
30619         ($(objpfx)execstack-default): New target.
30620         (generated): Add that instead of check-execstack.h.
30621         ($(all-built-dso:=.phdr)): New static pattern rule.
30622         (generated): Add those targets.
30623         * elf/check-execstack.c: File removed.
30625         * scripts/check-textrel.awk: New file.
30626         * elf/Makefile ($(objpfx)check-textrel): Target removed.
30627         (check-textrel-CFLAGS): Variable removed.
30628         (all-built-dso): Use := to define.o
30629         ($(all-built-dso:=.dyn)): New static pattern rule.
30630         (generated): Add those targets.
30631         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30632         * config.make.in (READELF): New substituted variable.
30633         * elf/check-textrel.c: File removed.
30635 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30637         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30638         allow.
30639         * conform/data/ctype.h-data [C99-based standards] (isblank):
30640         Expect function.
30641         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30642         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30643         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30644         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30645         Specify type.  Require positive value.
30646         (EILSEQ): Likewise.
30647         (ERANGE): Likewise.
30648         [ISO || POSIX] (EILSEQ): Do not expect.
30649         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30650         Specify type.  Require positive value.
30651         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30652         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30653         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30654         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30655         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30656         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30657         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30658         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30659         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30660         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30661         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30662         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30663         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30664         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30665         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30666         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30667         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30668         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30669         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30670         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30671         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30672         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30673         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30674         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30675         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30676         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30677         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30678         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30679         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30680         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30681         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30682         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30683         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30684         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30685         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30686         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30687         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30688         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30689         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30690         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30691         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30692         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30693         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30694         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30695         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30696         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30697         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30698         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30699         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30700         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30701         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30702         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30703         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30704         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30705         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30706         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30707         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30708         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30709         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30710         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30711         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30712         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30713         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30714         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30715         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30716         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30717         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30718         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30719         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30720         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30721         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30722         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30723         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30724         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30725         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30726         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30727         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30728         Require >= 2.
30729         (FLT_ROUNDS): Expect as macro, not constant.
30730         (FLT_MANT_DIG): Use macro-int-constant.
30731         (DBL_MANT_DIG): Likewise.
30732         (LDBL_MANT_DIG): Likewise.
30733         (FLT_DIG): Likewise.
30734         (DBL_DIG): Likewise.
30735         (LDBL_DIG): Likewise.
30736         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
30737         (DBL_MIN_EXP): Likewise.
30738         (LDBL_MIN_EXP): Likewise.
30739         (FLT_MAX_EXP): Use macro-int-constant.
30740         (DBL_MAX_EXP): Likewise.
30741         (LDBL_MAX_EXP): Likewise.
30742         (FLT_MAX_10_EXP): Likewise.
30743         (DBL_MAX_10_EXP): Likewise.
30744         (LDBL_MAX_10_EXP): Likewise.
30745         (FLT_MAX): Use macro-constant.
30746         (DBL_MAX): Likewise.
30747         (LDBL_MAX): Likewise.
30748         (FLT_EPSILON): Use macro-constant.  Give upper bound.
30749         (DBL_EPSILON): Likewise.
30750         (LDBL_EPSILON): Likewise.
30751         (FLT_MIN): Likewise.
30752         (DBL_MIN): Likewise.
30753         (LDBL_MIN): Likewise.
30754         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30755         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30756         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30757         [ISO11] (FLT_HAS_SUBNORM): Likewise.
30758         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30759         [ISO11] (DBL_DECIMAL_DIG): Likewise.
30760         [ISO11] (FLT_DECIMAL_DIG): Likewise.
30761         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30762         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30763         [ISO11] (FLT_TRUE_MIN): Likewise.
30764         [ISO11] (LDBL_TRUE_MIN): Likewise.
30765         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30766         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30767         (SCHAR_MIN): Use macro-int-constant.  Specify type.
30768         (SCHAR_MAX): Likewise.
30769         (UCHAR_MAX): Likewise.
30770         (CHAR_MIN): Likewise.
30771         (CHAR_MAX): Likewise.
30772         (MB_LEN_MAX): Use macro-int-constant.
30773         (SHRT_MIN): Use macro-int-constant.  Specify type.
30774         (SHRT_MAX): Likewise.
30775         (USHRT_MAX): Likewise.
30776         (INT_MAX): Likewise.
30777         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
30778         bound negative.
30779         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30780         bound with "U".
30781         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30782         bound with "L".
30783         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
30784         bound negative.  Suffix upper bound with "L".
30785         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30786         bound with "UL".
30787         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30788         Specify type.
30789         [C99-based standards] (LLONG_MAX): Likewise.
30790         [C99-based standards] (ULLONG_MAX): Likewise.
30791         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
30792         == 0.
30793         [ISO11] (max_align_t): Require type.
30794         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30796         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30797         from $CFLAGS, without defining away __attribute__ calls.
30798         (checknamespace): Use $CFLAGS_namespace.
30800         * conform/conformtest.pl (@keywords): Only include C99 keywords
30801         for standards based on C99 or C11.
30803         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30804         Disable tests.
30805         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30806         UNIX98]: Likewise.
30808         * conform/conformtest.pl: Handle "macro-int-constant" and test for
30809         usability of symbols in #if.
30811         * conform/conformtest.pl: If macro or constant types start
30812         "promoted:", expect the symbol to be of the following type
30813         promoted by the integer promotions.
30815         * conform/conformtest.pl: Parse all "constant" and "macro" lines
30816         in one place.  Also handle "macro-constant".
30818         * conform/conformtest.pl: Only accept expected macro values with
30819         "==".  Parse all "macro" lines in one place.
30820         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30822         * conform/conformtest.pl: Handle braced types on "constant" lines
30823         instead of handling "typed-constant".
30824         * conform/data/signal.h-data: Use "constant" instead of
30825         "typed-constant".
30827         * conform/conformtest.pl: Handle "optional-" at start of lines in
30828         one place rather than duplicating several cases.  Handle each
30829         format of "macro" line with initial "optional-".
30831         * conform/conformtest.pl: Only accept expected constant or
30832         optional-constant values with "==".  Parse all "constant" lines in
30833         one place.  Parse all "optional-constant" lines in one place.
30834         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30835         * conform/data/fmtmsg.h-data: Likewise.
30836         * conform/data/netinet/in.h-data: Likewise.
30837         * conform/data/tar.h-data: Likewise.
30838         * conform/data/limits.h-data: Use "==" form on "constant" and
30839         "optional-constant" lines.
30841         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30842         Use -std=c99 for XOPEN2K.
30843         (@knownproblems): Remove.
30844         (newtoken): Don't check %isknown.
30846         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30847         Do not expect macro.
30848         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30849         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30850         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30851         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30852         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30853         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30854         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30855         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30856         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30857         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30858         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30859         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30860         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30861         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30862         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30863         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30864         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30865         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30866         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30867         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30868         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30869         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30870         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30871         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30872         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30873         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30874         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30875         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30876         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30877         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30878         [XPG3] (acosh): Likewise.
30879         [XPG3] (asinh): Likewise.
30880         [XPG3] (atanh): Likewise.
30881         [XPG3] (cbrt): Likewise.
30882         [XPG3] (expm1): Likewise.
30883         [XPG3] (ilogb): Likewise.
30884         [XPG3] (log1p): Likewise.
30885         [XPG3] (logb): Likewise.
30886         [XPG3] (nextafter): Likewise.
30887         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30888         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30889         [XPG3] (remainder): Likewise.
30890         [XPG3] (rint): Likewise.
30891         [XPG3 || XPG4 || UNIX98] (round): Likewise.
30892         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30893         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30894         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30895         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30896         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30897         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30898         [UNIX98 || XOPEN2K] (scalb): Expect.
30899         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30900         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30901         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30902         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30903         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30904         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30905         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30906         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30907         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30908         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30909         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30910         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30911         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30912         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30913         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30914         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30915         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30916         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30917         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30918         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30919         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30920         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30921         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30922         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30923         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30924         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30925         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30926         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30927         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30928         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30929         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30930         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30931         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30932         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30933         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30934         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30935         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30936         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30937         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30938         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30939         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30940         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30941         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30942         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30943         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30944         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30945         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30946         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30947         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30948         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30949         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30950         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30951         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30952         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30953         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30954         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30955         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30956         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30957         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30958         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30959         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30960         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30961         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30962         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30963         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30964         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30965         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30966         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30967         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30968         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30969         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30970         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30971         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30972         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30973         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30974         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30975         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30976         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30977         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30978         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30979         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30980         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30981         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30982         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30983         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30984         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30985         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30986         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30987         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30988         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30989         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30990         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30991         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30992         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30993         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30994         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30995         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30996         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30997         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30998         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30999         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31000         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31001         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31002         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31003         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31004         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31005         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31006         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31007         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31008         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31009         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31010         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31011         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31012         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31013         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31014         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31015         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31016         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31017         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31018         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31019         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31020         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31021         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31022         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31023         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31024         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31025         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31026         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31027         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31028         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31029         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31030         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31031         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31032         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31033         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31034         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31035         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31037         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31038         _XOPEN_SOURCE_EXTENDED for XPG4.
31040         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31042         * Makeconfig (localtime): Remove variable.
31043         (inst_localtime-file): Likewise.
31045 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31048         Update.
31049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31050         Update.
31051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31052         Update.
31053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31054         Update.
31055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31056         Update.
31057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31058         Update.
31059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31060         Update.
31061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31062         Update.
31063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31064         Update.
31066 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31068         [BZ #2550]
31069         [BZ #2570]
31070         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31071         comparisons to determine direction to adjust input.
31072         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31073         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31074         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31075         Likewise.
31076         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31077         Likewise.
31078         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31079         Likewise.
31080         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31081         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31082         Likewise.
31083         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31084         Likewise.
31085         * math/libm-test.inc (nexttoward_test): Add more tests.
31087 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31089         [BZ #14040]
31090         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31091         in version GLIBC_2.1, not GLIBC_2.0.
31092         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31093         Likewise.
31095 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
31097         [BZ #13942]
31098         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31099         (1 - x) * (1 + x).
31100         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31101         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31102         * math/libm-test.inc (acos_test): Add more tests.
31103         (asin_test): Likewise.
31104         * sysdeps/i386/fpu/libm-test-ulps: Update.
31105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31107         [BZ #14034]
31108         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31109         of square root.
31110         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31111         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31112         * math/libm-test.inc (acos_test_tonearest): New function.
31113         (acos_test_towardzero): Likewise.
31114         (acos_test_downward): Likewise.
31115         (acos_test_upward): Likewise.
31116         (asin_test_tonearest): Likewise.
31117         (asin_test_towardzero): Likewise.
31118         (asin_test_downward): Likewise.
31119         (asin_test_upward): Likewise.
31120         (main): Call the new functions.
31121         * sysdeps/i386/fpu/libm-test-ulps: Update.
31122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31124         [BZ #13884]
31125         [BZ #13924]
31126         * math/e_exp10.c: Include <float.h>.
31127         (__ieee754_exp10): Handle underflow here rather than multiplying
31128         large negative argument by M_LN10.
31129         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31130         of __ieee754_expf.
31131         * math/e_exp10l.c: Include <float.h>.
31132         (__ieee754_exp10l): Handle underflow here rather than multiplying
31133         large negative argument by M_LN10l.
31134         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
31135         spurious overflow exception on underflow.
31137 2012-04-29  Marek Polacek  <polacek@redhat.com>
31139         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31140         (__fortify_function): New macro.
31141         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31142         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31143         __extern_always_inline.
31144         * libio/bits/stdio2.h: Likewise.
31145         * libio/bits/stdio.h: Likewise.
31146         * string/string.h: Likewise.
31147         * string/bits/string3.h: Likewise.
31148         * include/stdio.h: Likewise.
31149         * stdlib/bits/stdlib.h: Likewise.
31150         * stdlib/stdlib.h: Likewise.
31151         * rt/bits/mqueue2.h: Likewise.
31152         * rt/mqueue.h: Likewise.
31153         * posix/bits/unistd.h: Likewise.
31154         * posix/unistd.h: Likewise.
31155         * io/bits/poll2.h: Likewise.
31156         * io/bits/fcntl2.h: Likewise.
31157         * io/fcntl.h: Likewise.
31158         * io/sys/poll.h: Likewise.
31159         * misc/bits/syslog.h: Likewise.
31160         * misc/bits/syslog-ldbl.h: Likewise.
31161         * misc/sys/syslog.h: Likewise.
31162         * socket/bits/socket2.h: Likewise.
31163         * socket/sys/socket.h: Likewise.
31164         * debug/tst-chk1.c: Likewise.
31165         * wcsmbs/bits/wchar2.h: Likewise.
31166         * wcsmbs/bits/wchar-ldbl.h: Likewise.
31167         * wcsmbs/wchar.h: Likewise.
31169 2012-04-29  Andreas Jaeger  <aj@suse.de>
31171         * Makerules (tests): Remove enable-check-abi protection.
31172         (check-abi-warn): Remove.
31173         (check-abi-%): Remove check-abi-warn usage.
31175         * configure.in: Remove check-abi configure option.
31176         * configure: Regenerated.
31177         * config.make.in (enable-check-abi): Remove.
31179 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
31181         [BZ #14033]
31182         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31183         double functions to double *_finite functions.
31185         [BZ #13941]
31186         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31187         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31188         LDBL_MIN_EXP.
31189         * stdio-common/Makefile (tests): Add tst-sprintf3.
31190         * stdio-common/tst-sprintf3.c: New file.
31192         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31193         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31195 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31197         * conform/conformtest.pl: Remove duplicate typed-constant
31198         handling.
31200 2012-04-28  David S. Miller  <davem@davemloft.net>
31202         * Makerules (%.abilist): Add vpath on sysdep_dirs.
31203         (check-abi-%): Remove AWK script prerequisite and explicit
31204         abilist directory.
31205         (check-abi): Rewrite to just diff the symlist with the abilist.
31206         (config-tls, config-abi-config): Delete, no longer used.
31207         (update-abi-%): Remove AWK script and explicit abilist directory.
31208         (update-abi): Rewrite to simply compare and conditionally copy the
31209         symlist and the sysdep abilist file.  Remove update-abi-config
31210         checks.
31211         * abilist/ld.abilist: Remove.
31212         * abilist/libBrokenLocale.abilist: Remove.
31213         * abilist/libanl.abilist: Remove.
31214         * abilist/libcrypt.abilist: Remove.
31215         * abilist/libdl.abilist: Remove.
31216         * abilist/librt.abilist: Remove.
31217         * abilist/libthread_db.abilist: Remove.
31218         * abilist/libutil.abilist: Remove.
31219         * scripts/extract-abilist.awk: Remove.
31220         * scripts/merge-abilist.awk: Remove.
31221         * sysdeps/generic/libcidn.abilist: New file.
31222         * sysdeps/generic/libnss_compat.abilist: New file.
31223         * sysdeps/generic/libnss_db.abilist: New file.
31224         * sysdeps/generic/libnss_dns.abilist: New file.
31225         * sysdeps/generic/libnss_files.abilist: New file.
31226         * sysdeps/generic/libnss_hesiod.abilist: New file.
31227         * sysdeps/generic/libnss_nis.abilist: New file.
31228         * sysdeps/generic/libnss_nisplus.abilist: New file.
31229         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31230         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31231         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31232         file.
31233         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31234         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31235         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31236         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31237         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31238         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31239         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31240         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31241         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31242         file.
31243         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31244         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31245         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31246         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31247         file.
31248         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31249         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31250         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31251         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31252         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31253         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31254         file.
31255         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31256         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31257         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31258         file.
31259         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31261         New file.
31262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31263         New file.
31264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31265         New file.
31266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31267         New file.
31268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31269         New file.
31270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31271         New file.
31272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31273         New file.
31274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31275         New file.
31276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31277         New file.
31278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31279         New file.
31280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31281         New file.
31282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31283         New file.
31284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31285         New file.
31286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31287         file.
31288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31289         New file.
31290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31291         New file.
31292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31293         file.
31294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31295         New file.
31296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31297         New file.
31298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31299         file.
31300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31301         New file.
31302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31303         New file.
31304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31305         New file.
31306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31307         New file.
31308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31309         New file.
31310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31311         New file.
31312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31314         file.
31315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31316         New file.
31317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31318         file.
31319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31320         file.
31321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31322         file.
31323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31324         file.
31325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31326         file.
31327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31328         New file.
31329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31330         file.
31331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31332         file.
31333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31334         New file.
31335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31336         file.
31337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31339         file.
31340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31341         New file.
31342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31343         file.
31344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31345         file.
31346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31347         file.
31348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31349         file.
31350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31351         file.
31352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31353         New file.
31354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31355         file.
31356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31357         file.
31358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31359         New file.
31360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31361         file.
31362         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31363         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31364         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31365         file.
31366         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31367         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31368         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31369         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31370         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31371         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31372         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31373         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31374         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31375         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31378         file.
31379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31380         New file.
31381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31382         file.
31383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31384         file.
31385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31386         file.
31387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31388         file.
31389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31390         file.
31391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31392         New file.
31393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31394         New file.
31395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31396         file.
31397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31398         New file.
31399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31400         file.
31401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31403         file.
31404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31405         New file.
31406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31407         file.
31408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31409         file.
31410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31411         file.
31412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31413         file.
31414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31415         file.
31416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31417         New file.
31418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31419         New file.
31420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31421         file.
31422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31423         New file.
31424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31425         file.
31427 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31429         * conform/conformtest.pl: Fix typo in handling typed-constant from
31430         allow-header.
31432 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31434         * README: Cut down references to pre-2.6 Linux kernels and
31435         Linuxthreads.  Update lists of configurations in libc and ports
31436         and sort alphabetically.  Say "or newer" with Linux kernel version
31437         requirements.
31439         * config.h.in [IS_IN_build]: Allow compiling without optimization.
31441 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31443         [BZ #887]
31444         * math/libm-test.inc (logb_test_downward): New test to expose
31445         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31446         rounding mode.
31448 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31450         [BZ #14027]
31451         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31452         to be done.
31453         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31454         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31456 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
31458         * sysdeps/unix/i386/brk.S: Remove file.
31459         * sysdeps/unix/i386/dl-brk.S: Likewise.
31460         * sysdeps/unix/i386/pipe.S: Likewise.
31461         * sysdeps/unix/i386/sigreturn.S: Likewise.
31462         * sysdeps/unix/i386/syscall.S: Likewise.
31463         * sysdeps/unix/i386/vfork.S: Likewise.
31464         * sysdeps/unix/i386/wait.S: Likewise.
31466         * sysdeps/unix/common/tcsendbrk.c: Move to ...
31467         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31469         * configure.in (arm*-none*): Do not allow without
31470         --enable-hacker-mode.
31471         (netbsd*): Remove case setting base_os.
31472         (386bsd*): Likewise.
31473         (freebsd*): Likewise.
31474         (bsdi*): Likewise.
31475         (osf*): Likewise.
31476         (sunos*): Likewise.
31477         (ultrix*): Likewise.
31478         (newsos*): Likewise.
31479         (dynix*): Likewise.
31480         (*bsd*): Likewise.
31481         (sysv*): Likewise.
31482         (isc*): Likewise.
31483         (esix*): Likewise.
31484         (sco*): Likewise.
31485         (minix*): Likewise.
31486         (irix4*): Likewise.
31487         (irix6*): Likewise.
31488         (solaris[2-9]*): Likewise.
31489         (none): Likewise.
31490         * configure: Regenerated.
31492 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31494         [BZ #11521]
31495         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31496         overflow or cancellation in calculating denominator.
31497         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31498         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31499         down expression to avoid unexpected rounding in newer GCCs.
31500         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31502 2012-04-26  David S. Miller  <davem@davemloft.net>
31504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31505         long-double compat symbols.
31506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31520 2012-04-25  David S. Miller  <davem@davemloft.net>
31522         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31523         HWCAP_* values only after the memory barriers have been defined.
31524         (atomic_full_barrier): Define.
31525         (atomic_read_barrier): Define.
31526         (atomic_write_barrier): Define.
31528 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31530         * shlib-versions: Add libgcc_s version information.
31531         * sysdeps/generic/libgcc_s.h: Remove.
31532         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31533         libgcc_s.h.
31534         * sysdeps/gnu/unwind-resume.c: Likewise.
31535         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31537 2012-04-25  David S. Miller  <davem@davemloft.net>
31539         * sysdeps/unix/sparc/brk.S: Delete.
31540         * sysdeps/unix/sparc/dl-brk.S: Delete.
31541         * sysdeps/unix/sparc/pipe.S: Delete.
31542         * sysdeps/unix/sparc/sysdep.S: Delete.
31543         * sysdeps/unix/sparc/sysdep.h: Delete.
31544         * sysdeps/unix/sparc/vfork.S: Delete.
31545         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31546         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31547         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31548         (ret_ERRVAL, r0, r1, MOVE): Define.
31549         (JUMPTARGET): Remove.
31550         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31551         sysdeps/unix/sparc/sysdep.h
31552         (ENTRY, END): Remove.
31553         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31555 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
31557         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31558         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31559         -DIS_IN_build.
31561         * timezone/README: Update upstream location and email address for
31562         tzcode and tzdata.
31563         * timezone/zdump.c: Update from tzcode 2012b.
31564         * timezone/zic.c: Likewise.
31566         * configure.in (libc_cv_as_needed): Remove test.
31567         * configure: Regenerated.
31568         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31569         conditional definition.
31570         [$(have-as-needed) != yes] (no-as-needed): Likewise.
31571         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31572         * config.make.in (have-as-needed): Remove variable.
31574 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31575             Paul Pluzhnikov  <ppluzhnikov@google.com>
31577         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31578         strings correctly.
31580 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
31582         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31583         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31584         * sysdeps/sh/strlen.S: Likewise.
31586 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31588         * sysdeps/unix/fork.S: Remove file.
31589         * sysdeps/unix/i386/fork.S: Likewise.
31590         * sysdeps/unix/sparc/fork.S: Likewise.
31592         * sysdeps/unix/system.c: Remove file.
31593         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31595         * sysdeps/unix/getegid.S: Remove file.
31596         * sysdeps/unix/geteuid.S: Likewise.
31598 2012-04-24  Roland McGrath  <roland@hack.frob.com>
31600         * scripts/check-localplt.awk: New file.
31601         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31602         of diff.
31603         * scripts/data/localplt-generic.data: Add a comment.
31605         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31606         NODE when __dir_mkfile failed.
31607         * sysdeps/mach/hurd/symlinkat.c: Likewise.
31608         Reported by Ludovic Courtès <ludo@gnu.org>.
31610 2012-04-24  Andreas Jaeger  <aj@suse.de>
31612         * Makerules (common-clean): Also remove gen-as-const-headers
31613         files.
31615 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31617         * Makerules (native-compile): Do not change working directory for
31618         build.  Use $(OUTPUT_OPTION) in command.
31619         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31621 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31623         [BZ #13886]
31624         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31625         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31626         * math/libm-test.inc (floor_test): Add more tests.
31627         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31629 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31631         * sysdeps/unix/getdents.c: Remove file.
31632         * sysdeps/unix/sysv/getdents.c: Likewise.
31633         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31635         * sysdeps/unix/syscalls.list (madvise): Add syscall from
31636         sysdeps/unix/mman/syscalls.list.
31637         (mmap): Likewise.
31638         (mprotect): Likewise.
31639         (msync): Likewise.
31640         (munmap): Likewise.
31641         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31642         * sysdeps/unix/mman/syscalls.list: Remove.
31643         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31645         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31646         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31647         * configure: Regenerated.
31648         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31649         $(libgcc_s_suffix).
31650         * config.make.in (libgcc_s_suffix): Remove variable.
31652 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
31654         * sysdeps/unix/sysv/gethostname.c: Move to ...
31655         * sysdeps/posix/gethostname.c: ... here.
31657         * sysdeps/unix/execve.S: Remove file.
31659         * sysdeps/unix/_exit.S: Remove file.
31661 2012-04-23  Andreas Jaeger  <aj@suse.de>
31663         [BZ #13739]
31664         * manual/Makefile: Remove make dist support, there's no
31665         need for a stand-alone documentation tar ball.
31666         (TEXI2DVI): Define always, it's not in Makeconfig.
31667         (dist): Removed.
31668         (tar-it): Removed.
31669         (edition): Removed.
31670         (glibc-doc-$(edition).tar): Removed
31671         (%.Z): Removed.
31672         (%.gz): Removed.
31673         (%.uu): Removed.
31674         (ETAGS): Remove, it's in Makeconfig.
31675         (move-if-change): Remove, it's in Makeconfig.
31677 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
31679         [BZ #13970]
31680         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31681         (strtod, strtof, strtold, strtol, strtoul, strtoq)
31682         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31683         (strtod_l, strtof_l, strtold_l): Remove __wur.
31684         It is not necessarily an error to ignore strtol's return value.
31685         One can reliably look at the stored endptr to decide whether
31686         the number had valid syntax.
31688 2012-04-21  Andreas Jaeger  <aj@suse.de>
31690         [BZ #13739]
31691         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31693 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
31695         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31696         * sysdeps/unix/sysv/Versions: Remove file.
31698 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
31700         [BZ #13927]
31701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31703 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
31705         [BZ #7064]
31706         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31707         version from __vm86.
31709 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
31711         * sysdeps/unix/common/lxstat.c: Remove file.
31712         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31714         * sysdeps/unix/sysv/Makefile: Remove file.
31716         * sysdeps/unix/sysv/direct.h: Remove file.
31718         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31719         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31720         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31721         * sysdeps/unix/sysv/bits/signum.h: Likewise.
31722         * sysdeps/unix/sysv/bits/stat.h: Likewise.
31723         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31724         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31726         * sysdeps/unix/sysv/setrlimit.c: Remove file.
31728         * sysdeps/unix/xmknod.c: Remove file.
31729         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31731         * sysdeps/unix/sysv/settimeofday.c: Remove file.
31733         * sysdeps/unix/sysv/i386/time.S: Remove file.
31735         * sysdeps/unix/fxstat.c: Remove file.
31736         * sysdeps/unix/xstat.c: Likewise.
31737         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31739         * sysdeps/unix/sysv/sigaction.c: Remove file.
31741         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31742         (sysdep_headers): Remove variable.
31743         [termio.h not in sysdep_headers] (generated): Likewise.
31744         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31745         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31746         * sysdeps/unix/sysv/tcdrain.c: Likewise.
31747         * sysdeps/unix/sysv/tcflow.c: Likewise.
31748         * sysdeps/unix/sysv/tcflush.c: Likewise.
31749         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31750         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31751         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31752         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31753         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31755         * sysdeps/unix/siglist.c: Remove file.
31757         * sysdeps/unix/getppid.S: Remove file.
31759         * sysdeps/unix/mkdir.c: Remove file.
31760         * sysdeps/unix/rmdir.c: Likewise.
31762 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
31764         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31765         ERR_MAX value.
31766         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31767         errlist-compat value.
31769 2012-04-18  David S. Miller  <davem@davemloft.net>
31771         * sysdeps/generic/memcopy.h (reg_char): Delete.
31772         * debug/strcat_chk.c: Use char, not reg_char.
31773         * debug/strcpy_chk.c: Likewise.
31774         * debug/strncat_chk.c: Likewise.
31775         * debug/strncpy_chk.c: Likewise.
31776         * string/memchr.c: Likewise.
31777         * string/memrchr.c: Likewise.
31778         * string/rawmemchr.c: Likewise.
31779         * string/strcat.c: Likewise.
31780         * string/strchr.c: Likewise.
31781         * string/strchrnul.c: Likewise.
31782         * string/strcmp.c: Likewise.
31783         * string/strcpy.c: Likewise.
31784         * string/strncat.c: Likewise.
31785         * string/strncmp.c: Likewise.
31786         * string/strncpy.c: Likewise.
31788 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31790         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31791         __builtin_memcopy is called when src and dest ranges are known to not
31792         overlap.
31794 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31796         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31797         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31798         fwd_align_merge macro call.
31799         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31800         bwd_align_merge macro call.
31801         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31803 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31805         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31806         bwd_align_merge macros.
31807         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31808         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31809         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31811 2012-04-18  David S. Miller  <davem@davemloft.net>
31813         * sysdeps/sparc/sparc64/memcopy.h: Delete.
31815 2012-04-18  Andreas Jaeger  <aj@suse.de>
31817         [BZ# 6794]
31818         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31819         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31820         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31822         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31823         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31824         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31826         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31827         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31828         Adjust for changed ldbl-128 files.
31830         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31831         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31832         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31834 2012-04-17  David S. Miller  <davem@davemloft.net>
31836         * sysdeps/sparc/sparc32/memcopy.h: Delete.
31838 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
31840         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31841         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31842         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31843         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31844         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31845         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31847 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31849         [BZ #6794]
31850         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31851         * math/libm-test.inc: Add ilogb errno and exception tests.
31852         * math/w_ilogb.c: New file: ilogb wrapper.
31853         * math/w_ilogbf.c: New file: ilogbf wrapper.
31854         * math/w_ilogbl.c: New file: ilogbl wrapper.
31855         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31856         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31857         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31858         exception being thrown with 0.0 as argument.
31859         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31860         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31861         exception being thrown with 0.0 as argument.
31862         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31863         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31864         exception being thrown with 0.0 as argument.
31865         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31866         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31867         exception being thrown with 0.0 as argument.
31868         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31869         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31870         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31871         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31872         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31873         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31874         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31875         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31876         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31878 2012-04-17  Petr Baudis  <pasky@ucw.cz>
31880         * include/sys/uio.h: Change __vector to __iovec to avoid clash
31881         with altivec.
31883 2012-04-16  Marek Polacek  <polacek@redhat.com>
31885         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31887 2012-04-16  Marek Polacek  <polacek@redhat.com>
31889         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31890         operands of fdivp instruction.
31892 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31894         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31895         * elf/tst-auditmod3b.c: Likewise.
31896         * elf/tst-auditmod4b.c: Likewise.
31897         * elf/tst-auditmod5b.c: Likewise.
31898         * elf/tst-auditmod6b.c: Likewise.
31899         * elf/tst-auditmod6c.c: Likewise.
31900         * elf/tst-auditmod7b.c: Likewise.
31901         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31902         * sysdeps/x86_64/preconfigure.in: Likewise.
31903         * sysdeps/x86_64/preconfigure: Regenerated.
31905 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31907         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31908         __ILP32__.
31910 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
31912         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31913         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31915 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
31917         [BZ #13973]
31918         * locale/iso-639.def: Fix gl language name. Spotted by
31919         Yaron Shahrabani.
31921 2012-04-12  Roland McGrath  <roland@hack.frob.com>
31923         [BZ #2074]
31924         * libio/libio.h (__io_write_fn): Update comment.
31926 2012-04-12  Petr Baudis  <pasky@ucw.cz>
31928         [BZ #2074]
31929         * stdio.texi (Hook Functions): The user provided writer function
31930         is not allowed to return -1.
31932 2012-04-11  David S. Miller  <davem@davemloft.net>
31934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31936 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
31938         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31939         Add a leading slash to rtkaio.
31941 2012-04-11  Jim Meyering  <meyering@redhat.com>
31943         [BZ #11959]
31944         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31945         It is not necessarily an error to ignore fwrite's return
31946         value.  One can reliably use ferror to test for errors after
31947         the fact.
31949 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31951         * bits/types.h (__snseconds_t): New type.
31952         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31954         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31955         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31956         (__SNSECONDS_T_TYPE): Likewise.
31957         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31958         (__SNSECONDS_T_TYPE): Likewise.
31959         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31960         (__SNSECONDS_T_TYPE): Likewise.
31962 2012-04-10  Andreas Jaeger  <aj@suse.de>
31964         [BZ #2636]
31965         * manual/time.texi (Processor Time): Return type of times is
31966         elapsed real time since an arbitrary point in the past.
31967         (CPU Time): Move CLK_TCK from here...
31968         (Processor Time): ...to here.  Correct description.
31969         * manual/conf.texi (Constants for Sysconf): Correct description of
31970         _SC_CLK_TCK.
31972 2012-04-10  David S. Miller  <davem@davemloft.net>
31974         [BZ #13967]
31975         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31976         where the is a gap between DT_REL(A) and DT_JMPREL.
31978 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31980         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31981         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31982         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31984 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31986         * elf/dl-support.c (_dl_inhibit_cache): New variable.
31987         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31988         (dl_main): Handle --inhibit-cache.
31989         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31990         _dl_inhibit_cache.
31991         * elf/dl-load.c (_dl_map_object): Use it.
31992         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31994 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31996         [BZ #13872]
31997         * sysdeps/i386/fpu/e_powl.S (p78): New object.
31998         (__ieee754_powl): Saturate large exponents rather than testing for
31999         overflow of y*log2(x).
32000         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32001         * math/libm-test.inc (pow_test): Do not permit spurious overflow
32002         exceptions.
32004         [BZ #11521]
32005         * math/s_ctan.c: Include <float.h>.
32006         (__ctan): Avoid internal overflow or cancellation in calculating
32007         denominator.
32008         * math/s_ctanf.c: Likewise.
32009         * math/s_ctanl.c: Likewise.
32010         * math/s_ctanh.c: Likewise.
32011         * math/s_ctanhf.c: Likewise.
32012         * math/s_ctanhl.c: Likewise.
32013         * math/libm-test.inc (ctan_test): Add more tests.
32014         (ctanh_test): Likewise.
32015         * sysdeps/i386/fpu/libm-test-ulps: Update.
32016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32018 2012-04-09  Andreas Jaeger  <aj@suse.de>
32020         [BZ #6894]
32021         * manual/filesys.texi (Directory Entries): Mention that d_namlen
32022         is an optional BSD extension.
32024         [BZ #10254]
32025         * manual/stdio.texi (Opening Streams): Document additional fopen
32026         parameters.
32028 2012-04-09  Roland McGrath  <roland@hack.frob.com>
32030         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32031         %eax without telling the compiler.
32033 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
32035         [BZ # 13963]
32036         * manual/install.texi: Use sourceware.org.
32038 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
32040         [BZ #13873]
32041         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32042         (__ieee754_pow): Generate overflow and underflow using huge*huge
32043         and tiny*tiny rather than just returning constant infinity or zero
32044         for large exponents.
32045         * math/libm-test.inc (pow_test): Require overflow exceptions for
32046         applicable cases of large exponents.
32048         [BZ #706]
32049         * sysdeps/i386/fpu/e_pow.S (p10): New object.
32050         (__ieee754_pow): Use iterative multiplication algorithm only for
32051         integer exponents with absolute value below 1024.  Check for odd
32052         integer exponents when using algorithm for real exponents.
32053         * math/libm-test.inc (pow_test): Add more tests.
32054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32056 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
32058         [BZ #13705]
32059         * math/libm-test.inc (exp_test): Do not allow overflow exception
32060         on underflow test.
32062 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
32064         [BZ #13705]
32065         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32066         instead of __kernel_standard_f.
32068 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
32070         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32071         * sysdeps/x86_64/memset_chk.S: Likewise.
32073 2012-04-08  Andreas Jaeger  <aj@suse.de>
32075         [BZ #10153]
32076         * manual/startup.texi (Environment Access): Describe return value
32077         for putenv and setenv.
32079         [BZ #6895]
32080         * manual/filesys.texi (Directory Entries): Add description for
32081         DT_LNK.
32083         [BZ #6890]
32084         * manual/filesys.texi (Directory Entries): Clarify that it's file
32085         system not operating system in the description of DT_UNKNOWN.
32087         [BZ #6578]
32088         * manual/syslog.texi (closelog): Fix reference, it's openlog.
32090 2012-04-08  Stephen Compall  <s11@member.fsf.org>
32092         [BZ #6649]
32093         * manual/llio.texi (Opening and Closing Files): Add cross
32094         reference to explain mode argument.
32096 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
32098         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32099         * sysdeps/x86_64/memset_chk.S: Likewise.
32101 2012-04-07  David S. Miller  <davem@davemloft.net>
32103         * elf/elf.h (R_SPARC_WDISP10): Define.
32104         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32105         R_SPARC_SIZE32.
32106         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32107         R_SPARC_SIZE64 and R_SPARC_H34.
32109 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
32111         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32112         conditions and remove no longer applicable assertion.
32114 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32116         * bits/byteswap.h: Include <features.h>.
32117         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32118         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32120 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32122         * bits/byteswap.h (__bswap_16): Removed.
32123         Include <bits/byteswap-16.h> to get __bswap_16.
32124         * sysdeps/i386/bits/byteswap.h: Likewise.
32125         * sysdeps/s390/bits/byteswap.h: Likewise.
32126         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32127         * bits/byteswap-16.h: New file.
32128         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32129         * sysdeps/s390/bits/byteswap-16.h: Likewise.
32130         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32131         * string/Makefile (headers): Add bits/byteswap-16.h.
32133 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32135         [BZ #13895]
32136         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32137         extra indirection.
32138         * nss/Makefile (tests-static, tests): Add tst-nss-static.
32139         * nss/tst-nss-static.c: New.
32141 2012-04-06  Robert Millan  <rmh@gnu.org>
32143         [BZ #6486]
32144         * manual/llio.texi (File Position Primitive): lseek
32145         refers to WHENCE when it really means OFFSET.
32147 2012-04-06  Andreas Jaeger  <aj@suse.de>
32149         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32150         strncmp declarations.
32152         * abilist/libc.abilist: Add __poll and __ppoll.
32154 2012-04-05  David S. Miller  <davem@davemloft.net>
32156         * scripts/check-local-headers.sh: Accept a host triplet in the
32157         path matched by the exclude regexp.
32159         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32160         definition.
32161         * sysdeps/powerpc/powerpc32/dl-machine.h
32162         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32163         * sysdeps/s390/s390-32/dl-machine.h
32164         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32165         * sysdeps/sparc/sparc32/dl-machine.h
32166         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32167         * sysdeps/sparc/sparc64/dl-machine.h
32168         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32170         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32171         lazy binding.
32172         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32173         undefined symbol errors.
32175         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32176         DT_NEEDED entries.
32178 2012-04-05  Michael Matz  <matz@suse.de>
32180         [BZ #13592]
32181         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32183 2012-04-05  Andreas Jaeger  <aj@suse.de>
32185         [BZ #13908]
32186         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32187         comment.
32189 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32191         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32192         which ROUND is no valid rounding mode.
32194 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32196         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32197         read again.
32198         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32200 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32202         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32203         an exception using FPU order intentionally.
32205 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32207         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32208         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32209         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32210         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32212 2012-04-05  Simon Josefsson  <simon@josefsson.org>
32214         [BZ #12340]
32215         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32216         EINVAL when BUFLEN is too smal.
32218 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32220         [BZ #13553]
32221         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32222         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32224 2012-04-03  Andreas Jaeger  <aj@suse.de>
32226         [BZ #13938]
32227         * manual/setjmp.texi (System V contexts): Fix sentence.
32229         [BZ #13926]
32230         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32231         New macro for this case.
32232         [!__GNUC__] (__bswap_64): New inline function for this case.
32233         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32234         * bits/byteswap.h: Likewise.
32235         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32236         ull, guard with __GLIBC_HAVE_LONG_LONG.
32238         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32239         __GLIBC_HAVE_LONG_LONG.
32241         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32242         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32244 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32246         [BZ #13691]
32247         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32248         inptr and inend, rather than using last_ch.
32250 2012-04-02  David S. Miller  <davem@davemloft.net>
32252         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32253         * stdio-common/printf-parse.h (read_int): Change return type to
32254         'int', return -1 on INT_MAX overflow.
32255         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32256         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
32257         overflows INT_MAX.  Check for overflow of in-format-string precision
32258         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
32259         SIZE_MAX not INT_MAX for integer overflow test.
32260         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32261         skip the construct in the format string but do not record anything.
32262         * stdio-common/bug22.c: Adjust to test both width/prevision
32263         INT_MAX overflow as well as total length INT_MAX overflow.  Check
32264         explicitly for proper errno values.
32266 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32268         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32269         CHAR_MAX.
32270         * string/test-strcmp.c [! WIDE]: Likewise.
32271         * time/tst-mktime2.c: Likewise for INT_MAX.
32272         * string/test-string.h: #include <sys/param.h> for MIN.
32274         * csu/init-first.c (__libc_init_first): Call __ctype_init.
32275         * sysdeps/i386/init-first.c (init): Likewise.
32276         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32277         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32278         * sysdeps/sh/init-first.c (init): Likewise.
32280 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
32282         * po/ru.po: Update from translation team.
32283         * po/vi.po: Likewise.
32285 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32287         * resolv/nss_dns/dns-host.c: Merge copyright years.
32289 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32291         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32292         Optimize memcpy with prefetch if
32293         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
32294         src, dst pointers have unequal 16 byte alignments.
32296 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32298         [BZ #13928]
32299         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32300         from a CNAME entry and return the minimum ttl for the query.
32301         (gaih_getanswer_slice): Likewise.
32303 2012-03-30  Jeff Law  <law@redhat.com>
32305         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32306         due to long keys.
32307         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32308         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32310         * resolv/nss_dns/dns-host.c: Update copyright year.
32312 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
32314         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32315         requests to save a system call.  Fix check that all bytes are sent.
32317         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32318         comments for sendmmsg.
32320 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32322         [BZ #13691]
32323         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32324         with only 1 character between 0x0041 and 0x01b0.
32325         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32326         * wcsmbs/tst-mbsnrtowcs.c: New file.
32328 2012-03-29  David S. Miller  <davem@davemloft.net>
32330         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32331         small copies by hand.
32333 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32335         [BZ #13761]
32336         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32337         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32338         group memberships.
32340 2012-03-28  David S. Miller  <davem@davemloft.net>
32342         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32343         that branches into memcpy.
32344         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32345         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32346         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32347         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32348         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32349         bits.
32350         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32351         implementation too.
32352         * sysdeps/sparc/mempcpy.S: New file.
32354         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32355         the IFUNC routine in the libc case.
32356         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32358         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32359         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32360         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32361         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32362         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32363         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32364         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32365         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32367         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32368         loop to 256 bytes instead of 64 bytes and fix test signedness.
32370         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32371         * sysdeps/sparc/sparc32/Makefile: rather than here...
32372         * sysdeps/sparc/sparc64/Makefile: and here.
32374 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
32376         * malloc/mallocbug.c: Avoid warnings about unused variables.
32378 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32380         [BZ #13760]
32381         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32382         in the right place. Discard and retry query if response is
32383         larger than input buffer size.
32385 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
32387         [BZ #369]
32388         [BZ #2678]
32389         [BZ #3866]
32390         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32391         x for large integer exponent.
32392         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32393         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
32394         sign of result as needed afterwards.
32395         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32396         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32397         result for underflowing pow the same as for overflow.
32398         (__kernel_standard_l): Handle powl overflow and underflow here
32399         rather than calling __kernel_standard.
32400         * math/libm-test.inc (pow_test): Add more tests.
32402         [BZ #3868]
32403         [BZ #13879]
32404         [BZ #13910]
32405         [BZ #13911]
32406         [BZ #13912]
32407         [BZ #13913]
32408         [BZ #13915]
32409         [BZ #13916]
32410         [BZ #13917]
32411         [BZ #13918]
32412         [BZ #13919]
32413         [BZ #13920]
32414         [BZ #13921]
32415         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32416         * sysdeps/ieee754/k_standard.c: Include <float.h>.
32417         (__kernel_standard_l): New function.
32418         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32419         __kernel_standard.
32420         * math/w_acosl.c (__acosl): Likewise.
32421         * math/w_asinl.c (__asinl): Likewise.
32422         * math/w_atan2l.c (__atan2l): Likewise.
32423         * math/w_atanhl.c (__atanhl): Likewise.
32424         * math/w_coshl.c (__coshl): Likewise.
32425         * math/w_exp10l.c (__exp10l): Likewise.
32426         * math/w_exp2l.c (__exp2l): Likewise.
32427         * math/w_fmodl.c (__fmodl): Likewise.
32428         * math/w_hypotl.c (__hypotl): Likewise.
32429         * math/w_j0l.c (__j0l, __y0l): Likewise.
32430         * math/w_j1l.c (__j1l, __y1l): Likewise.
32431         * math/w_jnl.c (__jnl, __ynl): Likewise.
32432         * math/w_lgammal.c (__lgammal): Likewise.
32433         * math/w_log10l.c (__log10l): Likewise.
32434         * math/w_log2l.c (__log2l): Likewise.
32435         * math/w_logl.c (__logl): Likewise.
32436         * math/w_powl.c (__powl): Likewise.
32437         * math/w_remainderl.c (__remainderl): Likewise.
32438         * math/w_scalbl.c (sysv_scalbl): Likewise.
32439         * math/w_sinhl.c (__sinhl): Likewise.
32440         * math/w_sqrtl.c (__sqrtl): Likewise.
32441         * math/w_tgammal.c (__tgammal): Likewise.
32442         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32443         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32444         * math/libm-test.inc (acos_test): Add more tests.
32445         (acosh_test): Likewise.
32446         (asin_test): Likewise.
32447         (atanh_test): Likewise.
32448         (exp_test): Likewise.
32449         (exp10_test): Likewise.
32450         (exp2_test): Likewise.
32451         (expm1_test): Likewise.
32452         (lgamma_test): Likewise.
32453         (log_test): Likewise.
32454         (log10_test): Likewise.
32455         (log1p_test): Likewise.
32456         (log2_test): Likewise.
32457         (pow_test): Do not allow some spurious overflow exceptions.
32458         (sqrt_test): Add more tests.
32459         (tgamma_test): Likewise.
32460         (y0_test): Likewise.
32461         (y1_test): Likewise.
32462         (yn_test): Likewise.
32464 2012-03-27  Anton Blanchard  <anton@samba.org>
32466         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32467         MAP_HUGETLB.
32468         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32469         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32470         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32472 2012-03-27  David S. Miller  <davem@davemloft.net>
32474         * conform/Makefile: Run run-conformtest.sh using $(BASH).
32476         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32477         have-as-vis3 check.
32479 2012-03-27  Andreas Jaeger  <aj@suse.de>
32481         * sysdeps/x86_64/elf/configure.in: Moved to ...
32482         * sysdeps/x86_64/configure.in: ... here.
32483         * sysdeps/x86_64/elf/start.S: Moved to ...
32484         * sysdeps/x86_64/start.S: ... here.
32485         * sysdeps/x86_64/elf/configure: Delete.
32487         * sysdeps/x86_64/configure.in: Merge contents from
32488         sysdeps/i386/configure.in (without i686 check).
32490         * sysdeps/i386/elf/Versions: Merge into ...
32491         * sysdeps/i386/Versions: ... this.
32492         * sysdeps/i386/elf/Versions: Delete file.
32493         * sysdeps/i386/elf/start.S: Moved to ...
32494         * sysdeps/i386/start.S: ...here.
32495         * sysdeps/i386/elf/configure.in: Merge into...
32496         * sysdeps/i386/configure.in: ...here.
32497         * sysdeps/i386/elf/configure.in: Delete file.
32498         * sysdeps/i386/elf/configure: Delete file.
32500         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32501         * debug/backtracesyms.c: ... here.
32502         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32503         * debug/backtracesymsfd.c: ... here.
32504         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32505         * sysdeps/generic/ifunc-sel.h: ... here.
32507         * sysdeps/unix/i386/start.c: Delete file.
32508         * sysdeps/unix/sparc/start.c: Delete file.
32509         * sysdeps/unix/start.c: Delete file.
32511         * sysdeps/sh/elf/configure.in: Moved to ...
32512         * sysdeps/sh/configure.in: ... here.
32513         * sysdeps/sh/elf/start.S: Moved to ...
32514         * sysdeps/sh/start.S: ... here.
32515         * sysdeps/sh/elf/configure: Delete file.
32517         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32518         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32519         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32520         * sysdeps/powerpc/powerpc64/entry.h: ... here.
32521         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32522         * sysdeps/powerpc/powerpc64/start.S: here.
32523         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32524         * sysdeps/powerpc/powerpc64/Makefile: ... this.
32525         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32526         * sysdeps/powerpc/powerpc64/configure.in: ... this.
32527         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32529         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32530         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32531         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32532         * sysdeps/powerpc/powerpc32/start.S: ... here.
32533         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32534         * sysdeps/powerpc/powerpc32/configure.in: ... this.
32535         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32537         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32538         * sysdeps/powerpc/ifunc-sel.h: ... here.
32539         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32540         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32542         * sysdeps/sparc/elf/configure.in: Moved to ...
32543         * sysdeps/sparc/configure.in: ... here.
32544         * sysdeps/sparc/elf/configure: Delete file.
32545         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32546         * sysdeps/sparc/sparc32/start.S: ... here.
32547         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32548         * sysdeps/sparc/sparc64/start.S: ... here.
32549         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32550         * sysdeps/sparc/sparc32/Makefile: ... this.
32551         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32552         * sysdeps/sparc/sparc64/Makefile: ... this.
32554         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32555         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32556         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32557         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32558         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32559         * sysdeps/s390/s390-32/setjmp.S: ... here.
32560         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32561         * sysdeps/s390/s390-32/configure.in: ... here.
32562         * sysdeps/s390/s390-32/elf/configure: Delete file.
32563         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32564         * sysdeps/s390/s390-32/start.S: ... here.
32566         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32567         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32568         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32569         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32570         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32571         * sysdeps/s390/s390-64/setjmp.S: ... here.
32572         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32573         * sysdeps/s390/s390-64/configure.in: ... here
32574         * sysdeps/s390/s390-64/elf/configure: Delete file.
32575         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32576         * sysdeps/s390/s390-64/start.S: ... here.
32577         * sysdeps/s390/s390-64/elf/configure: Delete.
32579         * configure.in: Remove support for elf directories in sysdeps.
32581         * configure: Regenerated.
32582         * sysdeps/i386/configure: Regenerated.
32583         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32584         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32585         * sysdeps/s390/s390-32/configure: Regenerated.
32586         * sysdeps/s390/s390-64/configure: Regenerated.
32587         * sysdeps/sh/configure: Regenerated.
32588         * sysdeps/sparc/configure: Regenerated.
32589         * sysdeps/x86_64/configure: Regenerated.
32591 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
32593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32595         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32596         denormal result into account.
32598 2012-03-25  Roland McGrath  <roland@hack.frob.com>
32600         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32601         Reported by Allan McRae <allan@archlinux.org>.
32603 2012-03-23  Jeff Law  <law@redhat.com>
32605         * nss/getnssent.c (__nss_getent): Fix typo.
32607 2012-03-23  David S. Miller  <davem@davemloft.net>
32609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32611 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
32613         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32614         to pad to uint64_t for each field.
32615         (dl_tls_index): Replace unsigned long with uint64_t.
32617 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
32618         Paul Pluzhnikov  <ppluzhnikov@google.com>
32620         [BZ #6528]
32621         * grp/Makefile (otherlibs): Don't set it.
32622         * inet/Makefile (otherlibs): Likewise.
32623         * login/Makefile (otherlibs): Likewise.
32624         * nscd/Makefile (otherlibs): Likewise.
32625         * posix/Makefile (otherlibs): Likewise.
32626         * pwd/Makefile (otherlibs): Likewise.
32627         * rt/Makefile (otherlibs): Likewise.
32628         * sunrpc/Makefile (otherlibs): Likewise.
32629         * nss/Makefile (otherlibs): Likewise.
32630         Add libnss_files to routines and static-only-routines.
32631         ($(objpfx)getent): Remove rule.
32632         * resolv/Makefile: Add libnss_dns and libresolv to routines and
32633         static-only-routines.
32635 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32637         [BZ #13892]
32638         * math/s_cexp.c: Include <float.h>.
32639         (__cexp): Handle exp result overflowing not necessarily
32640         overflowing both real and imaginary parts of result.
32641         * math/s_cexpf.c: Likewise.
32642         * math/s_cexpl.c: Likewise.
32643         * math/libm-test.inc (cexp_test): Add more tests.
32644         * sysdeps/i386/fpu/libm-test-ulps: Update.
32645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32647 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32649         * include/link.h (ELFW): New macro.
32650         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32651         Replace ELF64_R_TYPE with ELFW(R_TYPE).
32653 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32655         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32656         with uint64_t.
32658 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32660         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32661         declaration.
32662         (struct La_x32_retval): Likewise.
32664 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32666         * sysdeps/x86_64/preconfigure.in: New file.
32667         * sysdeps/x86_64/preconfigure: New generated file.
32669 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32671         [BZ #13824]
32672         * math/e_exp2l.c: Include <float.h>.
32673         (__ieee754_exp2l): Handle overflow and underflow cases
32674         separately.  Only pass fractional part of argument to
32675         __ieee754_expl.
32676         * math/libm-test.inc (exp2_test): Add more tests.
32678         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32679         negating x to take absolute value.
32680         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32681         Likewise.
32682         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32683         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32684         Likewise.
32685         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32686         computing low part if x was negated.
32687         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32689 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32691         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32692         la_x32_gnu_pltexit.
32693         (pltexit): Cast int_retval to ptrdiff_t.
32694         * elf/tst-auditmod3b.c: Likewise.
32695         * elf/tst-auditmod4b.c: Likewise.
32696         * elf/tst-auditmod5b.c: Likewise.
32697         * elf/tst-auditmod6b.c: Likewise.
32698         * elf/tst-auditmod6c.c: Likewise.
32699         * elf/tst-auditmod7b.c: Likewise.
32701         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32702         and x32_gnu_pltexit.
32704         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32705         __ELF_NATIVE_CLASS.
32706         (La_x32_regs): New macro.
32707         (La_x32_retval): Likewise.
32708         (la_x32_gnu_pltenter): New function prototype.
32709         (la_x32_gnu_pltexit): Likewise.
32711 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
32713         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32714         exponent.
32716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32718         * configure.in (libc_cv_cc_nofma): Check for option to disable
32719         generation of FMA instructions.
32720         * configure: Regenerate.
32721         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32722         * sysdeps/ieee754/dbl-64/Makefile: New file.
32723         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32724         Remove brandred-fma4.
32725         (CFLAGS-brandred-fma4.c): Remove.
32726         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32727         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32728         define.
32729         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32730         define.
32732 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32734         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32735         LLONG_MAX != LONG_MAX.
32736         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32737         (_fitoa_word): Likewise.
32738         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32739         LLONG_MAX != LONG_MAX.
32740         * stdio-common/_itowa.h: Include <_itoa.h>.
32741         (_itowa_word): Use _ITOA_WORD_TYPE on value.
32742         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
32743         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
32744         only if not defined.
32745         (_ITOA_WORD_TYPE): Likewise.
32746         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32747         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32749 2012-03-21  David S. Miller  <davem@davemloft.net>
32751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32753 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32755         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32756         of x86_64 when setting libc_cv_slibdir, libdir and
32757         libc_cv_localedir.
32758         * sysdeps/unix/sysv/linux/configure: Regenerated.
32760 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32762         * manual/lang.texi (Old Varargs): Remove section.
32763         (How Variadic): Update menu.
32764         (va_start): Do not mention varargs.h.
32766 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32767             Joseph Myers  <joseph@codesourcery.com>
32769         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32770         link test.
32771         * configure: Regenerated.
32773 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32775         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32776         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32777         conformtest.pl
32779 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32781         * NOTES: Remove.
32782         * Makefile (files-for-dist): Remove NOTES.
32783         (NOTES): Remove rule.
32784         * README: Don't refer to NOTES.
32785         * manual/creature.texi: Don't include macros.texi.
32786         * manual/intro.texi (creature.texi): Remove comment referring to
32787         NOTES.
32789         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32790         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32791         * configure: Regenerated.
32792         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32793         LIBC_TRY_CC_OPTION.
32794         (libc_cv_as_i686): Likewise.
32795         (libc_cv_cc_avx): Likewise.
32796         (libc_cv_cc_sse2avx): Likewise.
32797         (libc_cv_cc_fma4): Likewise.
32798         (libc_cv_cc_novzeroupper): Likewise.
32799         * sysdeps/i386/configure: Regenerated.
32801         [BZ #13883]
32802         * sysdeps/i386/fpu/s_cexp.S: Remove.
32803         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32804         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32805         * math/libm-test.inc (cexp_test): Add more tests.
32806         * sysdeps/i386/fpu/libm-test-ulps: Update.
32807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32809 2012-03-21  Allan McRae  <allan@archlinux.org>
32811         * timezone/Makefile: Do not install iso3166.tab and zone.tab
32813 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32815         [BZ #13871]
32816         * math/w_exp2.c: Do not include <float.h>.
32817         (o_threshold, u_threshold): Remove.
32818         (__exp2): Calculate result before checking finiteness and calling
32819         __kernel_standard.
32820         * math/w_exp2f.c: Likewise.
32821         * math/w_exp2l.c: Likewise.
32822         * math/libm-test.inc (exp2_test): Require overflow exception for
32823         1e6 input.
32825         [BZ #3866]
32826         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32827         range of signed 64-bit integers before using fistpll.  Remove
32828         checks for whether integers fit in mantissa bits.
32829         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32830         the range of signed 32-bit integers before using fistpl.  Remove
32831         checks for whether integers fit in mantissa bits.
32832         * sysdeps/i386/fpu/e_powl.S (p64): New object.
32833         (__ieee754_powl): Test for y outside the range of signed 64-bit
32834         integers before using fistpll.  Reduce 64-bit values to 63-bit
32835         ones as needed.
32836         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32837         divide-by-zero is raised for zero to large negative powers.
32838         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32839         (__ieee754_powl): Test for y outside the range of signed 64-bit
32840         integers before using fistpll.  Reduce 64-bit values to 63-bit
32841         ones as needed.
32842         * math/libm-test.inc (pow_test): Add more tests.
32844 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32846         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32847         <stdio-common/_itoa.h>.
32848         * debug/segfault.c: Likewise.
32849         * elf/dl-cache.c: Likewise.
32850         * elf/dl-minimal.c: Likewise.
32851         * elf/dl-misc.c: Likewise.
32852         * elf/dl-sysdep.c: Likewise.
32853         * elf/dl-version.c: Likewise.
32854         * elf/rtld.c: Likewise.
32855         * hurd/hurdsock.c: Likewise.
32856         * hurd/lookup-retry.c: Likewise.
32857         * malloc/malloc.c: Likewise.
32858         * malloc/mtrace.c: Likewise.
32859         * nscd/nscd_getgr_r.c: Likewise.
32860         * nscd/nscd_getpw_r.c: Likewise.
32861         * nscd/nscd_getserv_r.c: Likewise.
32862         * posix/getopt_init.c: Likewise.
32863         * posix/wordexp.c: Likewise.
32864         * stdio-common/_itoa.c: Likewise.
32865         * stdio-common/printf_fphex.c: Likewise.
32866         * stdio-common/vfprintf.c: Likewise.
32867         * string/_strerror.c: Likewise.
32868         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32869         * sysdeps/i386/i686/hp-timing.h: Likewise.
32870         * sysdeps/mach/_strerror.c: Likewise.
32871         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32872         * sysdeps/mach/hurd/sethostid.c: Likewise.
32873         * sysdeps/mach/hurd/xmknodat.c: Likewise.
32874         * sysdeps/mach/xpg-strerror.c: Likewise.
32875         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32876         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32877         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32878         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32879         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32880         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32881         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32882         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32883         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32884         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32885         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32886         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32887         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32888         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32889         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32890         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32891         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32892         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32893         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32894         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32895         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32897         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32899         * stdio-common/_itoa.h: Moved to ...
32900         * sysdeps/generic/_itoa.h: Here.
32902         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32904         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32905         instead of "_itoa.h" and "_itowa.h".
32906         * stdio-common/vfprintf.: Likewise.
32908 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32910         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32911         <bits/wordsize.h>.
32912         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32913         (__signbit): Likwise.
32914         (llrintf): Likwise.
32915         (llrint): Likwise.
32917 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32919         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32920         __WORDSIZE != 64.
32922 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
32924         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32925         OVERFLOW_EXCEPTION_OK.
32926         * math/libm-test.inc ("Philosophy"): Update comment about
32927         exception testing.
32928         (OVERFLOW_EXCEPTION): Define.
32929         (OVERFLOW_EXCEPTION_OK): Likewise.
32930         (INVALID_EXCEPTION_OK): Renumber.
32931         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32932         (IGNORE_ZERO_INF_SIGN): Likewise.
32933         (test_exceptions): Handle FE_OVERFLOW.
32934         (exp10_test): Expect overflow exceptions.
32935         (exp2_test): Likewise.
32936         (expm1_test): Likewise.
32937         (nextafter_test): Likewise.
32938         (pow_test): Likewise.
32939         (scalbn_test): Likewise.
32940         (scalbln_test): Likewise.
32942 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32944         * sysdeps/x86_64/bits/atomic.h
32945         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32946         64bit integer.
32947         (atomic_exchange_acq): Likewise.
32948         (__arch_exchange_and_add_body): Likewise.
32949         (__arch_add_body): Likewise.
32950         (atomic_add_negative): Likewise.
32951         (atomic_add_zero): Likewise.
32953 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32955         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32956         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32958 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32960         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32961         Check __x86_64__ instead of __WORDSIZE.
32963 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32965         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32967 2012-03-19  David S. Miller  <davem@davemloft.net>
32969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32971         * sysdeps/sparc/fpu/fenv_private.h: New file.
32972         * sysdeps/sparc/fpu/math_private.h: Use it.
32973         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32974         Remove.
32975         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
32976         (libc_feholdexcept_setroundl): Remove.
32977         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32978         Remove.
32979         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32980         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32982 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32984         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32985         int64_t instead of long int.
32986         (INSERT_WORDS64): Likwise.
32988 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32990         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32991         _Unwind_GetCFA return to _Unwind_Ptr first.
32993 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
32995         [BZ #13629]
32996         * math/s_clog.c: Include <float.h>.
32997         (__clog): Scale large or subnormal inputs.
32998         * math/s_clogf.c: Likewise.
32999         * math/s_clogl.c: Likewise.
33000         * math/s_clog10.c: Include <float.h>.
33001         (M_LOG10_2): Define.
33002         (__clog10): Scale large or subnormal inputs.
33003         * math/s_clog10f.c: Likewise.
33004         * math/s_clog10l.c: Likewise.
33005         * math/libm-test.inc (clog_test): Add more tests.
33006         (clog10_test): Likewise.
33007         * sysdeps/i386/fpu/libm-test-ulps: Update.
33008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33010         [BZ #11451]
33011         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33012         x and y.
33013         * math/libm-test.inc (atan2_test): Add another test.
33015         * Makerules (common-objdir-compile): Remove.
33016         * sysdeps/unix/Makefile (config-generated): Do not add
33017         $(unix-generated) to variable.
33018         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33019         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33020         Remove rule.
33021         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33022         Likewise.
33023         [generic bits/local_lim.h] (before-compile): Do not append to
33024         variable.
33025         [generic bits/local_lim.h] (common-generated): Likewise.
33026         [generic sys/param.h] (before-compile): Do not append to variable.
33027         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33028         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33029         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33030         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33031         include.
33032         [generic sys/param.h] (sys/param.h-includes): Remove variable.
33033         [generic sys/param.h] (sys/param.h-includes): Remove rule.
33034         [generic sys/param.h] ($(addprefix
33035         $(common-objpfx),$(sys/param.h-includes))): Likewise.
33036         [generic sys/param.h] (common-generated): Do not append to
33037         variable.
33038         [generic sys/param.h] (sysdep_headers): Likewise.
33039         [generic bits/errno.h] (before-compile): Do not append to
33040         variable.
33041         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33042         rule.
33043         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33044         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33045         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33046         [generic bits/errno.h] (common-generated): Do not append to
33047         variable.
33048         [generic bits/ioctls.h] (before-compile): Do not append to
33049         variable.
33050         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33051         rule.
33052         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33053         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33054         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33055         rule.
33056         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33057         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33058         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33059         [generic bits/ioctls.h] (common-generated): Do not append to
33060         variable.
33061         [generic sys/syscall.h] (syscall.h): Remove variable.
33062         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33063         rule.
33064         [generic sys/syscall.h] (before-compile): Do not append to
33065         variable.
33066         [generic sys/syscall.h] (common-generated): Likewise.
33067         * sysdeps/unix/errnos-tmpl.c: Remove file.
33068         * sysdeps/unix/errnos.awk: Likewise.
33069         * sysdeps/unix/ioctls-tmpl.c: Likewise.
33070         * sysdeps/unix/ioctls.awk: Likewise.
33071         * sysdeps/unix/mk-local_lim.c: Likewise.
33072         * sysdeps/unix/snarf-ioctls: Likewise.
33074 2012-03-19  Richard Henderson  <rth@twiddle.net>
33076         * sysdeps/i386/fpu/fenv_private.h: New file.
33077         * sysdeps/i386/fpu/math_private.h: Use it.
33078         (math_opt_barrier, math_force_eval): Remove.
33079         (libc_feholdexcept_setround_53bit): Remove.
33080         (libc_feupdateenv_53bit): Remove.
33081         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33082         (math_opt_barrier, math_force_eval): Remove.
33083         (libc_feholdexcept): Remove.
33084         (libc_feholdexcept_setround): Remove.
33085         (libc_fetestexcept, libc_fesetenv): Remove.
33086         (libc_feupdateenv_test): Remove.
33087         (libc_feupdateenv, libc_feholdsetround): Remove.
33088         (libc_feresetround): Remove.
33090         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33091         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33093         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33094         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33095         (libc_feupdateenv_testl): New.
33096         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33097         (libc_feupdateenv_testf): New.
33098         (libc_feupdateenv): Use libc_feupdateenv_test.
33099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33100         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33102         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33103         (libc_feholdsetroundf, libc_feholdsetroundl): New.
33104         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33105         (libc_feresetround_noex): New.
33106         (libc_feresetround_noexf): New.
33107         (libc_feresetround_noexl): New.
33108         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33109         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33110         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33111         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33112         SET_RESTORE_ROUND.
33113         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33114         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33115         (__cos): Likewise.
33116         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33117         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33118         SET_RESTORE_ROUND_NOEX.
33119         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33120         SET_RESTORE_ROUND_NOEXF.
33121         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33122         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33123         (libc_feholdsetroundf): New.
33124         (libc_feresetround, libc_feresetroundf): New.
33126         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33127         (libc_feholdexcept_setround_53bit): Convert from macro to function.
33128         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
33130         * sysdeps/generic/math_private.h: Include <fenv.h>.
33131         (default_libc_feholdexcept): New.
33132         (default_libc_feholdexcept_setround): New.
33133         (default_libc_fesetenv, default_libc_feupdateenv): New.
33134         (libc_feholdexcept): Only define if undefined.
33135         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33136         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33137         (libc_feholdexcept_setroundl): Likewise.
33138         (libc_feholdexcept_setround_53bit): Likewise.
33139         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33140         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33141         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33142         (libc_feupdateenv_53bit): Likewise.
33143         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33144         (libc_feholdexcept): Convert from macro to inline function.
33145         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33146         (libc_fesetenv, libc_feupdateenv): Likewise.
33148         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33149         not previously defined.
33150         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33151         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33152         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33153         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33154         * sysdeps/ieee754/flt-32/math_private.h: New file.
33155         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33156         math_private.h below SET_FLOAT_WORD.
33157         (__isnan, __isinf_ns, __finite): Remove.
33158         (__isnanf, __isinf_nsf, __finitef): Remove.
33160 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
33162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33164 2012-03-17  David S. Miller  <davem@davemloft.net>
33166         [BZ #6471]
33167         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33168         for 2.16.
33170 2012-03-16  David S. Miller  <davem@davemloft.net>
33172         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33173         warnings.
33175         [BZ #6471]
33176         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33177         properly.
33178         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33179         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33180         sysdep_routines when subdir is sysvipc.
33181         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33182         __getshmlba helper.
33184         * sysdeps/sparc/fpu/libm-test/ulps: Update.
33186 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33188         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33189         [__LP64__].
33191 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33193         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33194         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33195         (__lround): Renamed to ...
33196         (__llround): This.  Replace long int with long long int.
33197         Define lround functions as aliases of llround functions.
33198         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33200 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33202         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33203         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
33204         adresses to uintptr_t.  Replace "long int" and "unsigned long
33205         int" with "greg_t" on va_arg.
33207 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33209         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33210         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33212         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33213         Move e_machine check before EI_CLASS check.  Handle x32
33214         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33215         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33216         SKIP_EM_IA_64 and include
33217         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33219         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33220         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33221         (add_system_dir): New macro.
33223         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33224         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33226 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33228         [BZ #2551]
33229         [BZ #2552]
33230         [BZ #2553]
33231         [BZ #2554]
33232         [BZ #2562]
33233         [BZ #2563]
33234         [BZ #2565]
33235         [BZ #2566]
33236         [BZ #2576]
33237         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33238         (y0): Likewise.
33239         * math/w_j0f.c (j0f): Likewise.
33240         (y0f): Likewise.
33241         * math/w_j0l.c (__j0l): Likewise.
33242         (__y0l): Likewise.
33243         * math/w_j1.c (j1): Likewise.
33244         (y1): Likewise.
33245         * math/w_j1f.c (j1f): Likewise.
33246         (y1f): Likewise.
33247         * math/w_j1l.c (__j1l): Likewise.
33248         (__y1l): Likewise.
33249         * math/w_jn.c (jn): Likewise.
33250         (yn): Likewise.
33251         * math/w_jnf.c (jnf): Likewise.
33252         (ynf): Likewise.
33253         * math/w_jnl.c (__jnl): Likewise.
33254         (__ynl): Likewise.
33255         * math/libm-test.inc (j0_test): Add more tests.
33256         (j1_test): Likewise.
33257         (jn_test): Likewise.  Add trailing semicolon to existing test.
33258         (y0_test): Likewise.
33259         (y1_test): Likewise.
33260         * sysdeps/i386/fpu/libm-test-ulps: Update.
33261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33263         [BZ #13851]
33264         [BZ #13854]
33265         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33266         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33267         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33268         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33269         (__tanl): Set errno for infinite argument.
33270         * sysdeps/i386/fpu/mptan.c: Remove.
33271         * sysdeps/i386/fpu/s_tan.S: Likewise.
33272         * sysdeps/i386/fpu/s_tanl.S: Likewise.
33273         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33274         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33275         * math/libm-test.inc (tan_test): Add more tests and enable more
33276         tests for double and long double.
33277         * sysdeps/i386/fpu/libm-test-ulps: Update.
33278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33280 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
33282         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33283         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33285 2012-03-16  Roland McGrath  <roland@hack.frob.com>
33287         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33288         * configure.in: Use it for both main tree and add-ons.
33289         * configure: Regenerated.
33291 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33293         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33295 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33297         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33298         in comment.
33300         [BZ #13851]
33301         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33302         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33303         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33304         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33305         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33306         infinite argument.
33307         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33308         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33309         != 0 for prec == 2.
33310         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33311         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33312         * sysdeps/i386/fpu/s_cosl.S: Likewise.
33313         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33314         * sysdeps/i386/fpu/s_sinl.S: Likewise.
33315         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33316         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33317         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33318         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33319         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33320         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33321         * math/libm-test.inc (cos_test): Add more tests and enable more
33322         tests for long double.
33323         (sin_test): Likewise.
33324         (sincos_test): Likewise.
33325         * sysdeps/i386/fpu/libm-test-ulps: Update.
33326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33328 2012-03-16  David S. Miller  <davem@davemloft.net>
33330         * sysdeps/sparc/fpu/math_private.h: New file.
33332 2012-03-15  David S. Miller  <davem@davemloft.net>
33334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33335         file.
33336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33338         file.
33339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33344         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33345         sysdep routines.
33346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33348         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33349         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33351         * sysdeps/sparc/sparc-ifunc.h: New file.
33352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33353         sparc-ifunc.h
33354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33356         Likewise.
33357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33358         Likewise.
33359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33363         Likewise.
33364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33369         Likewise.
33370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33371         Likewise.
33372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33376         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33378         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33379         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33380         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33381         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33387         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33388         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33389         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33390         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33391         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33392         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33393         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33394         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33395         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33397 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33399         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33400         scaling.
33401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33403 2012-03-15  Andreas Jaeger  <aj@suse.de>
33405         [BZ #13852]
33406         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33407         ieee754/flt-32 implementation for sin, cos and sincos.
33408         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33409         * sysdeps/i386/fpu/s_cosf.S: Likewise.
33410         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33411         * sysdeps/i386/fpu/s_sinf.S: Likewise.
33412         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33413         ieee754/flt-32 implementation for tan.
33415         * math/libm-test.inc (cos_test): Enable some large input tests for
33416         float as well
33417         (sin_test): Likewise.
33418         (sincos_test): Likewise.
33419         (tan_test): Add tests for large input.
33421         * sysdeps/i386/fpu/libm-test-ulps: Update.
33423 2012-03-15  Andreas Jaeger  <aj@suse.de>
33425         [BZ #13658]
33426         * math/libm-test.inc (cos_test): Add more test cases.
33427         (sin_test): Likewise.
33428         (sincos_test): Likewise.
33430 2012-03-15  Andreas Jaeger  <aj@suse.de>
33432         [BZ #13837]
33433         * math/libm-test.inc (cos_test): Add a test case for large input
33434         value.
33435         (sin_test): Likewise.
33436         (sincos_test): Likewise.
33438 2012-03-15  Andreas Jaeger  <aj@suse.de>
33439             Joseph Myers  <joseph@codesourcery.com>
33441         [BZ #13658]
33442         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33443         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33444         * sysdeps/i386/fpu/branred.c: Likewise.
33445         * sysdeps/i386/fpu/dosincos.c: Likewise.
33446         * sysdeps/i386/fpu/mpa.c: Likewise.
33447         * sysdeps/i386/fpu/s_cos.S: Likewise.
33448         * sysdeps/i386/fpu/s_sin.S: Likewise.
33449         * sysdeps/i386/fpu/s_sincos.S: Likewise.
33450         * sysdeps/i386/fpu/sincos32.c: Likewise.
33452         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33453         Define.
33454         (libc_feupdateenv_53bit): Define.
33455         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33456         Define.
33457         (libc_feupdateenv_53bit): Define.
33459         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33460         53 bit (without extend i386 double precision).
33462         * math/libm-test.inc (sincos_test): Add tests for large input.
33463         (sin): Likewise.
33464         (cos): Likewise.
33466         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33468 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33472 2012-03-15  David S. Miller  <davem@davemloft.net>
33474         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33475         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33476         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33477         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33490         file.
33491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33493         file.
33494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33496         file.
33497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33499         file.
33500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33501         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33502         fmin/fmax sysdep routines.
33503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33505 2012-03-14  David S. Miller  <davem@davemloft.net>
33507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33511         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33512         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33513         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33514         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33515         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33516         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33517         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33527         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33528         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33529         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33530         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33531         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33532         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33533         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33534         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33536         routines.
33537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33538         file.
33539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33541         file.
33542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33544         file.
33545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33547         file.
33548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33550         file.
33551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33553         file.
33554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33555         file.
33556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33557         file.
33558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33559         file.
33560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33561         New file.
33562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33563         file.
33564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33565         file.
33566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33568         file.
33569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33571         file.
33572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33574         file.
33575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33577         VIS3 routines.
33579         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33580         New file.
33582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33584         * sysdeps/sparc/configure.in: New file.
33585         * sysdeps/sparc/configure: Generate.
33586         * configure.in (libc_cv_sparc_as_vis3): Substitute.
33587         * configure: Regenerate.
33588         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33589         * config.make.in (have-as-vis3): New.
33590         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33591         available use -Av9d instead of -Av9a.
33592         * sysdeps/sparc/sparc64/Makefile: Likewise.
33593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33595         New file.
33596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33597         file.
33598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33599         New file.
33600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33601         file.
33602         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33603         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33604         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33605         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33608         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33609         fzeros/fnegs to load 0x80000000 into a float register instead of
33610         using the stack.
33611         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33613 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33615         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33616         bits/syscall.h.
33617         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33618         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33619         ($(inst_includedir)/bits/syscall.h): Remove rule.
33620         ($(objpfx)bits/syscall.d): Include instead of
33621         $(objpfx)syscall-list.d.
33622         (generated): Change syscall-list.h and syscall-list.d to
33623         bits/syscall.h and bits/syscall.d.
33625 2012-03-14  Roland McGrath  <roland@hack.frob.com>
33627         [BZ #13846]
33628         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33630 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33632         [BZ #13841]
33633         * math/s_csqrt.c: Include <float.h>.
33634         (__csqrt): Scale large or subnormal inputs.
33635         * math/s_csqrtf.c: Likewise.
33636         * math/s_csqrtl.c: Likewise.
33637         * math/libm-test.inc (csqrt_test): Add more tests.
33638         * sysdeps/i386/fpu/libm-test-ulps: Update.
33639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33641         [BZ #13840]
33642         * math/libm-test.inc (hypot_test): Add more tests.
33644 2012-03-13  David S. Miller  <davem@davemloft.net>
33646         [BZ #13840]
33647         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33648         double-precision for the calculation instead of scaling.
33650 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
33652         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33653         manipulate bits before adding and subtracting TWO52[sx].
33654         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33655         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33656         Likewise.
33657         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33659 2012-03-13  David S. Miller  <davem@davemloft.net>
33661         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33662         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33664         rtld-global-offsets.h
33665         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33667         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33668         large parameters.
33670         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33672         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33673         'err' in the ifdef scope in which it is actually used.
33675         * nss/nss_db/db-init.c: Include string.h
33677 2012-03-12  David S. Miller  <davem@davemloft.net>
33679         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33680         masking out of the most significant byte of random value used.
33681         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33682         Fix coding style in previous change.
33684         * sysdeps/unix/sysv/linux/kernel-features.h
33685         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33686         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33687         expression.
33688         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33689         later.
33691 2012-03-11  David S. Miller  <davem@davemloft.net>
33693         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33694         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33695         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33696         for 'resultvar' otherwise things get truncated on 64-bit.
33698         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33699         Fix masking out of the most significant byte of random value used.
33701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33703 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
33705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33707 2012-03-09  David S. Miller  <davem@davemloft.net>
33709         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33710         variables with appropriate CPP guards.
33711         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33712         from the frame pointer, not the stack pointer.  Correct layout
33713         comments.  Fix test on resulting framesize and the management of
33714         the outregs buffer for pltexit.  Preserve floating point return
33715         values across _dl_call_pltexit call.
33716         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33717         framesize and the management of the outregs buffer for pltexit.
33718         Preserve floating point return values across _dl_call_pltexit
33719         call.
33720         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33721         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33722         (la_sparc64_gnu_pltexit): New functions.
33723         (print_exit): Fix format string for return register value.
33725 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
33727         * sunrpc/Makefile (others): Add rpcgen.
33728         ($(objpfx)rpcgen): Remove special build rule and dependency on
33729         libc.
33730         * sunrpc/rpcgen.c: New file.
33732 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
33734         [BZ #13673]
33735         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33736         * stdio-common/bug-vfprintf-nargs.c: Likewise.
33737         * sysdeps/i386/crti.S: Likewise.
33738         * sysdeps/i386/crtn.S: Likewise.
33739         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33740         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33741         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33742         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33743         * sysdeps/sh/crti.S: Likewise.
33744         * sysdeps/sh/crtn.S: Likewise.
33745         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33747         [BZ #13673]
33748         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33749         with URL.
33750         * locale/programs/locfile-kw.gperf: Likewise.
33751         * locale/programs/charmap-kw.h: Regenerated.
33752         * locale/programs/locfile-kw.h: Likewise.
33754         [BZ #13673]
33755         * intl/plural.y: Replace FSF snail mail address with URL.
33756         * intl/plural.c: Regenerated.
33758 2012-03-09  Richard Henderson  <rth@twiddle.net>
33760         * include/math_private.h: Remove file.
33761         * math/math_private.h: Move file ...
33762         * sysdeps/generic/math_private.h: ... here.
33764         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33765         * sysdeps/powerpc/fpu/math_private.h: Likewise.
33766         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33768         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33769         and <math_private.h>.
33770         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33771         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33772         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33773         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33774         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33775         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33776         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33777         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33778         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33779         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33780         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33781         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33782         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33783         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33784         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33785         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33786         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33787         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33788         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33789         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33790         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33791         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33792         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33793         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33794         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33795         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33796         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33797         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33798         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33799         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33800         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33801         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33802         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33803         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33804         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33805         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33806         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33807         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33808         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33809         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33810         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33811         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33812         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33813         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33814         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33815         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33816         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33817         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33818         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33819         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33820         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33821         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33822         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33823         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33824         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33825         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33826         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33827         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33828         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33829         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33830         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33831         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33832         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33833         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33834         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33835         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33836         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33837         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33838         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33839         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33840         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33841         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33842         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33844         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33845         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33847         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33848         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33849         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33850         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33851         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33852         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33853         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33854         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33855         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33856         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33857         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33858         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33859         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33860         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33861         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33862         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33863         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33864         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33865         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33866         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33867         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33868         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33869         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33870         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33871         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33872         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33873         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33874         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33875         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33876         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33877         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33878         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33879         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33880         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33881         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33882         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33883         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33884         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33885         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33886         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33887         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33888         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33889         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33890         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33891         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33892         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33893         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33894         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33895         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33896         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33897         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33898         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33899         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33900         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33901         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33902         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33903         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33904         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33905         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33906         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33907         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33908         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33909         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33910         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33911         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33912         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33913         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33914         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33915         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33916         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33917         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33918         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33919         * sysdeps/ieee754/k_standard.c: Likewise.
33920         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33921         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33922         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33923         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33924         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33925         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33926         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33927         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33928         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33929         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33930         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33931         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33932         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33933         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33934         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33935         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33936         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33937         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33938         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33939         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33940         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33941         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33942         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33943         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33944         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33945         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33946         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33947         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33948         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33949         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33950         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33951         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33952         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33953         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33954         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33955         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33956         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33957         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33958         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33959         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33960         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33961         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33962         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33963         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33964         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33965         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33966         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33967         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33968         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33969         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33970         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33971         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33972         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33973         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33974         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33975         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33976         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33977         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33978         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33979         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33980         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33981         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33982         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33983         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33984         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33985         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33986         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33987         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33988         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33989         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33990         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33991         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33992         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33993         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33994         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33995         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33996         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33997         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33998         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33999         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34000         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34001         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34002         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34003         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34004         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34005         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34006         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34007         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34008         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34010         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34011         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34012         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34013         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34014         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34015         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34016         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34017         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34018         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34019         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34020         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34021         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34022         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34023         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34024         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34025         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34026         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34027         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34028         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34029         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34030         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34031         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34032         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34033         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34034         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34035         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34036         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34037         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34038         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34039         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34040         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34041         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34042         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34043         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34044         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34045         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34046         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34047         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34048         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34049         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34050         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34051         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34052         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34053         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34054         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34055         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34056         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34057         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34058         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34059         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34060         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34061         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34062         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34063         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34064         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34065         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34066         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34067         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34068         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34069         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34070         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34071         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34072         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34073         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34074         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34075         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34076         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34077         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34078         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34079         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34080         * sysdeps/ieee754/s_lib_version.c: Likewise.
34081         * sysdeps/ieee754/s_matherr.c: Likewise.
34082         * sysdeps/ieee754/s_signgam.c: Likewise.
34083         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34084         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34085         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34086         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34087         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34088         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34089         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34090         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34091         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34092         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34093         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34094         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34095         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34096         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34097         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34098         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34099         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34100         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34101         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34102         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34103         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34105 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34107         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34108         * sunrpc/rpc_main.c: Likewise.
34109         * sunrpc/rpc_svcout.c: Likewise.
34111 2012-03-09  David S. Miller  <davem@davemloft.net>
34113         * include/math_private.h: New file.
34115 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34117         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34118         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34119         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34120         from <bits/socket_type.h>.
34121         (enum __socket_type): Don't define here.
34122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34124         bits/socket_type.h.
34126         [BZ #13566]
34127         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34128         checking __USE_GNU.
34130         * Makerules ($(inst_includedir)/%.h): New rule.
34131         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34132         (install-others): Remove variable setting.
34133         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34135 2012-03-08  Richard Henderson  <rth@twiddle.net>
34137         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34138         from macro to inline function; merge with the
34139         !__LIBC_INTERNAL_MATH_INLINES version.
34140         (__ieee754_sqrtf): Likewise.
34142         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34143         to inline function.
34144         (__rintf, __floor, __floorf): Likewise.
34146         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34147         macro to inline function.
34148         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34150         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34151         not <math/math_private.h>.
34153 2012-03-08  David S. Miller  <davem@davemloft.net>
34155         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34156         copyright year.
34157         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34159 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
34161         * resolv/gai_misc.c (handle_requests): Fix struct timespec
34162         normalization.
34163         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34164         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34166 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
34168         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
34169         be defined individually, they must be defined as a block.  Define
34170         S for printing a string instead of hidint the different by using a
34171         macro for adding the 'l'.
34172         * stdio-common/tst-fphex-wide.c: Adjust.
34174 2012-03-07  Marek Polacek  <polacek@redhat.com>
34176         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34178 2012-03-08  Marek Polacek  <polacek@redhat.com>
34180         [BZ #13806]
34181         * stdio-common/Makefile (tests): Add tst-fphex-wide.
34182         * stdio-common/tst-fphex.c: Define a few macros to make the
34183         test reusable.  Use them.
34184         * stdio-common/tst-fphex-wide.c: New file.
34186 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
34188         [BZ #6911]
34189         * manual/macros.texi (gnusystems): New macro.
34190         (nongnusystems): Likewise.
34191         (gnulinuxhurdsystems): Likewise.
34192         (gnuhurdsystems): Likewise..
34193         (gnulinuxsystems): Likewise.
34194         * manual/charset.texi: Use new macros or @theglibc{} to refer to
34195         variants of the GNU system, not "GNU system".
34196         * manual/conf.texi: Likewise.
34197         * manual/errno.texi: Likewise.  Update example of errno macro
34198         expansion.
34199         * manual/filesys.texi: Likewise.
34200         (getumask): Document as specific to GNU/Hurd.
34201         * manual/install.texi: Likewise.  Reword some references to
34202         GNU/Linux.
34203         * manual/intro.texi: Likewise.
34204         * manual/io.texi: Likewise.
34205         (File Name Portability): Detail which constraints are inapplicable
34206         to all GNU systems and which are only inapplicable to GNU/Hurd.
34207         * manual/job.texi: Likewise.
34208         * manual/llio.texi: Likewise.
34209         (O_NOCTTY): Document as present on GNU/Linux.
34210         * manual/maint.texi: Likewise.
34211         * manual/memory.texi: Likewise.
34212         * manual/pattern.texi: Likewise.
34213         * manual/pipe.texi: Likewise.
34214         * manual/process.texi: Likewise.
34215         * manual/resource.texi: Likewise.
34216         (RUSAGE_CHILDREN): Remove statement about specifying a particular
34217         child on GNU/Hurd.
34218         * manual/setjmp.texi: Likewise.
34219         * manual/signal.texi: Likewise.
34220         * manual/startup.texi: Likewise.
34221         * manual/stdio.texi: Likewise.
34222         * manual/terminal.texi: Likewise.
34223         (ONLCR): Document as POSIX.
34224         (OXTABS): Document availability on GNU/Linux as XTABS.
34225         (ONOEOT): Document availability separately from other bits.
34226         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34227         * manual/time.texi: Likewise.
34228         * manual/users.texi: Likewise.
34229         * INSTALL: Regenerated.
34230         * sysdeps/gnu/errlist.c: Regenerated.
34232         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34233         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34234         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
34235         puts.
34236         * configure: Regenerated.
34238 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
34240         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34241         default includes instead of AC_HEADER_CHECK.
34242         * sysdeps/i386/configure: Regenerated.
34244         [BZ #10716]
34245         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34246         * math/s_cacoshf.c (__cacoshf): Likewise.
34247         * math/s_cacoshl.c (__cacoshl): Likewise.
34248         * math/s_casinh.c (__casinh): Set signs of result from argument.
34249         * math/s_casinhf.c (__casinhf): Likewise.
34250         * math/s_casinhl.c (__casinhl): Likewise.
34251         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34252         (casinh_test): Add more tests.
34253         * sysdeps/i386/fpu/libm-test-ulps: Update.
34254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34256 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
34258         * po/zh_TW.po: Update from translation team.
34260         * login/Makefile (distribute): Remove variable.
34261         * catgets/Makefile: Likewise.
34262         * mach/Makefile: Likewise.
34263         * malloc/Makefile: Likewise.
34264         * misc/Makefile: Likewise.
34265         * iconv/Makefile: Likewise.
34266         * nscd/Makefile: Likewise.
34267         * hurd/Makefile: Likewise.
34268         * manual/Makefile: Likewise.
34269         * locale/Makefile: Likewise.
34270         * intl/Makefile: Likewise.
34271         * conform/Makefile: Likewise.
34272         * nss/Makefile: Likewise.
34273         * time/Makefile: Likewise.
34274         * soft-fp/Makefile: Likewise.
34275         * dirent/Makefile: Likewise.
34276         * gmon/Makefile: Likewise.
34277         * po/Makefile: Likewise.
34278         * rt/Makefile: Likewise.
34279         * socket/Makefile: Likewise.
34280         * math/Makefile: Likewise.
34281         * signal/Makefile: Likewise.
34282         * debug/Makefile: Likewise.
34283         * elf/Makefile: Likewise.
34284         * timezone/Makefile: Likewise.
34285         * stdlib/Makefile: Likewise.
34286         * iconvdata/Makefile: Likewise.
34287         * sunrpc/Makefile: Likewise.
34288         * io/Makefile: Likewise.
34289         * argp/Makefile: Likewise.
34290         * inet/Makefile: Likewise.
34291         * hesiod/Makefile: Likewise.
34292         * grp/Makefile: Likewise.
34293         * csu/Makefile: Likewise.
34294         * wctype/Makefile: Likewise.
34295         * crypt/Makefile: Likewise.
34296         * libio/Makefile: Likewise.
34297         * string/Makefile: Likewise.
34298         * nis/Makefile: Likewise.
34299         * resolv/Makefile: Likewise.
34300         * stdio-common/Makefile: Likewise.
34301         * wcsmbs/Makefile: Likewise.
34302         * dlfcn/Makefile: Likewise.
34303         * posix/Makefile: Likewise.
34305         [BZ #6959]
34306         * timezone/Makefile: Don't install timezone files, just the programs
34307         and scripts.
34309 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
34311         * nss/databases.def: Add missing gshadow entry.
34313         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
34315 2012-03-06  Marek Polacek  <polacek@redhat.com>
34317         [BZ #13726]
34318         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34319         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34320         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34321         * stdio-common/tst-long-dbl-fphex.c: New file.
34323 2012-03-06  David S. Miller  <davem@davemloft.net>
34325         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34326         (set_obp_int): New function.
34327         (get_obp_int): New function.
34328         (__get_clockfreq_via_dev_openprom): Likewise.
34329         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34330         Avoid unused variable warnings on 'val' and use builtin_expect.
34331         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34332         __builtin_expect.
34333         (INLINE_CLONE_SYSCALL): Likewise.
34335 2012-03-05  David S. Miller  <davem@davemloft.net>
34337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34339 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
34341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34343         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34344         only for |x| >= 40.
34345         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34347 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34349         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34350         Replace gettimeofday with __vdso_gettimeofday.
34352         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34353         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34354         __vdso_clock_gettime and __vdso_getcpu.
34356         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34357         time with __vdso_time.
34359 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34361         * manual/lang.texi (size_t): Note types to which size_t may be
34362         equivalent with the GNU C Library, but do not describe when
34363         differences between them are significant.
34365 2012-03-05  Andreas Jaeger  <aj@suse.de>
34367         * sysdeps/i386/fpu/libm-test-ulps: Update.
34369 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34371         [BZ #3976]
34372         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34373         (__ieee754_pow): Save and restore rounding mode and use
34374         round-to-nearest for main computations.
34375         * math/libm-test.inc (pow_test_tonearest): New function.
34376         (pow_test_towardzero): Likewise.
34377         (pow_test_downward): Likewise.
34378         (pow_test_upward): Likewise.
34379         (main): Call the new functions.
34380         * sysdeps/i386/fpu/libm-test-ulps: Update.
34381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34383         [BZ #3976]
34384         * math/libm-test.inc (cosh_test_tonearest): New function.
34385         (cosh_test_towardzero): Likewise.
34386         (cosh_test_downward): Likewise.
34387         (cosh_test_upward): Likewise.
34388         (sinh_test_tonearest): Likewise.
34389         (sinh_test_towardzero): Likewise.
34390         (sinh_test_downward): Likewise.
34391         (sinh_test_upward): Likewise.
34392         (main): Call the new functions.
34393         * sysdeps/i386/fpu/libm-test-ulps: Update.
34394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34396 2012-03-05  Tom de Vries  <tom@codesourcery.com>
34398         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34399         default stack guard is set in last bytes.
34400         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34402 2012-03-05  Kees Cook  <keescook@chromium.org>
34404         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34406         [BZ #13656]
34407         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34408         possibly allocate from heap instead of stack.
34409         * stdio-common/bug-vfprintf-nargs.c: New file.
34410         * stdio-common/Makefile (tests): Add nargs overflow test.
34412 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
34414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34416 2012-03-03  Marek Polacek  <polacek@redhat.com>
34418         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34419         * math/math_private.h: Likewise.
34420         * stdlib/tst-strtod.c: Likewise.
34421         * sysdeps/i386/i486/bits/atomic.h: Likewise.
34422         * sysdeps/x86_64/bits/atomic.h: Likewise.
34424 2012-03-02  David S. Miller  <davem@davemloft.net>
34426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34430         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34431         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34432         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34433         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34435 2012-03-02  Roland McGrath  <roland@hack.frob.com>
34437         [BZ #13792]
34438         * manual/examples/README: New file, says the example source files
34439         can be used under GPL>=2.
34440         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34441         line containing just "*/".
34442         * manual/examples/add.c: Add copyright header (GPL>=2).
34443         * manual/examples/argp-ex1.c: Likewise.
34444         * manual/examples/argp-ex2.c: Likewise.
34445         * manual/examples/argp-ex3.c: Likewise.
34446         * manual/examples/argp-ex4.c: Likewise.
34447         * manual/examples/atexit.c: Likewise.
34448         * manual/examples/db.c: Likewise.
34449         * manual/examples/dir.c: Likewise.
34450         * manual/examples/dir2.c: Likewise.
34451         * manual/examples/execinfo.c: Likewise.
34452         * manual/examples/filecli.c: Likewise.
34453         * manual/examples/filesrv.c: Likewise.
34454         * manual/examples/fmtmsgexpl.c: Likewise.
34455         * manual/examples/genpass.c: Likewise.
34456         * manual/examples/inetcli.c: Likewise.
34457         * manual/examples/inetsrv.c: Likewise.
34458         * manual/examples/isockad.c: Likewise.
34459         * manual/examples/longopt.c: Likewise.
34460         * manual/examples/memopen.c: Likewise.
34461         * manual/examples/memstrm.c: Likewise.
34462         * manual/examples/mkfsock.c: Likewise.
34463         * manual/examples/mkisock.c: Likewise.
34464         * manual/examples/mygetpass.c: Likewise.
34465         * manual/examples/pipe.c: Likewise.
34466         * manual/examples/popen.c: Likewise.
34467         * manual/examples/rprintf.c: Likewise.
34468         * manual/examples/search.c: Likewise.
34469         * manual/examples/select.c: Likewise.
34470         * manual/examples/setjmp.c: Likewise.
34471         * manual/examples/sigh1.c: Likewise.
34472         * manual/examples/sigusr.c: Likewise.
34473         * manual/examples/stpcpy.c: Likewise.
34474         * manual/examples/strdupa.c: Likewise.
34475         * manual/examples/strftim.c: Likewise.
34476         * manual/examples/strncat.c: Likewise.
34477         * manual/examples/subopt.c: Likewise.
34478         * manual/examples/swapcontext.c: Likewise.
34479         * manual/examples/termios.c: Likewise.
34480         * manual/examples/testopt.c: Likewise.
34481         * manual/examples/testpass.c: Likewise.
34482         * manual/examples/timeval_subtract.c: Likewise.
34484         [BZ #13792]
34485         * manual/time.texi (Elapsed Time): Move timeval_subtract example
34486         function to ...
34487         * manual/timeval_subtract.c.texi: ... here, new file.
34489 2012-03-02  David S. Miller  <davem@davemloft.net>
34491         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34493 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
34495         [BZ #3976]
34496         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34497         (__sin): Save and restore rounding mode and use round-to-nearest
34498         for all computations.
34499         (__cos): Save and restore rounding mode and use round-to-nearest
34500         for all computations.
34501         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34502         <fenv.h>.
34503         (tan): Save and restore rounding mode and use round-to-nearest for
34504         all computations.
34505         * math/libm-test.inc (cos_test_tonearest): New function.
34506         (cos_test_towardzero): Likewise.
34507         (cos_test_downward): Likewise.
34508         (cos_test_upward): Likewise.
34509         (sin_test_tonearest): Likewise.
34510         (sin_test_towardzero): Likewise.
34511         (sin_test_downward): Likewise.
34512         (sin_test_upward): Likewise.
34513         (tan_test_tonearest): Likewise.
34514         (tan_test_towardzero): Likewise.
34515         (tan_test_downward): Likewise.
34516         (tan_test_upward): Likewise.
34517         (main): Call the new functions.
34518         * sysdeps/i386/fpu/libm-test-ulps: Update.
34519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34521         [BZ #10135]
34522         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34523         small n, then large n, before computing and testing k+n.
34524         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34525         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34526         Likewise.
34527         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34528         Likewise.
34529         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34530         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34531         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34532         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34533         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34534         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34535         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34536         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34537         * math/libm-test.inc (scalbn_test): Add more tests.
34538         (scalbln_test): Likewise.
34540         * manual/filesys.texi (mode_t): Describe constraints on size and
34541         signedness, not exact equivalence to a particular type.
34542         (ino_t): Likewise.
34543         (ino64_t): Likewise.
34544         (dev_t): Likewise.
34545         (nlink_t): Likewise.
34546         (blkcnt_t): Likewise.
34547         (blkcnt64_t): Likewise.
34548         * manual/llio.texi (off_t): Likewise.
34550         [BZ #3976]
34551         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34552         (__ieee754_exp): Save and restore rounding mode and use
34553         round-to-nearest for all computations.
34554         * math/libm-test.inc (exp_test_tonearest): New function.
34555         (exp_test_towardzero): Likewise.
34556         (exp_test_downward): Likewise.
34557         (exp_test_upward): Likewise.
34558         (main): Call the new functions.
34559         * sysdeps/i386/fpu/libm-test-ulps: Update.
34560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34562 2012-03-01  Chris Demetriou  <cgd@google.com>
34564         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34565         have predictable order.
34567 2012-03-01  David S. Miller  <davem@davemloft.net>
34569         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34571         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34572         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34573         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34574         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34576         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34577         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34578         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34580         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34581         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34582         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34583         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34584         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34588         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34589         * sysdeps/sparc/fpu/libm-test-ulps: to here.
34590         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34592         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34593         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34594         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34595         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34596         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34597         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34598         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34599         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34600         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34601         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34602         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34603         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34604         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34605         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34606         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34608         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34609         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34610         * sysdeps/sparc/elf/configure: Regenerated.
34612 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
34614         * configure.in (AS, LD): Require binutils 2.20 or later.
34615         * configure: Regenerated.
34616         * manual/install.texi (Tools for Compilation): Give binutils 2.20
34617         as required minimum version.
34618         * INSTALL: Regenerated.
34620         [BZ #2541]
34621         [BZ #4108]
34622         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34623         before squaring exponent.
34624         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34625         bottom long double and 27 bits of top long double before squaring
34626         exponent.
34627         * math/libm-test.inc (erfc_test): Add more tests.
34628         * sysdeps/i386/fpu/libm-test-ulps: Update.
34629         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34632 2012-03-01  Kai Tietz  <ktietz@redhat.com>
34634         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34635         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34636         containing bit-fields.
34637         * soft-fp/extended.h (_FP_UNION_E): Likewise.
34638         * soft-fp/single.h (_FP_UNION_S): Likewise.
34639         * soft-fp/double.h (_FP_UNION_D): Likewise.
34641 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34643         [BZ #13786]
34644         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34645         not include ../strcmp.S.
34646         [USE_AS_STRNCASECMP_L]: Likewise.
34647         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34648         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34649         * sysdeps/i386/i686/multiarch/strncase_l-c.c
34650         (__strncasecmp_l_ia32): Define as alias to
34651         __strncasecmp_l_nonascii.
34653         [BZ #5794]
34654         * math/libm-test.inc (expm1_test): Add test for bug 5794.
34655         * sysdeps/i386/fpu/libm-test-ulps: Update.
34656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34658         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34661 2012-02-29  Jeff Law  <law@redhat.com>
34663         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34664         out of bounds read.
34666 2012-02-29  Marek Polacek  <polacek@redhat.com>
34668         [BZ #13706]
34669         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34670         * elf/Makefile: Add rules to run tst-unused-dep.out.
34672 2012-02-28  David S. Miller  <davem@davemloft.net>
34674         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34675         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34676         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34677         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34678         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34679         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34681 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34683         * math/libm-test.inc (llround_test): Move one test from
34684         lround_test.  Use TEST_f_L in moved test.
34685         (lround_test): Move misplaced test to llround_test.  Add testcase
34686         from bug 2561.
34688 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
34690         * sysdeps/x86_64/fpu/e_expf.S: New file.
34691         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34693 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
34695         [BZ #13637]
34696         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34697         of remain_len that may cause incomplete multi-byte character and
34698         false match.
34699         * posix/bug-regex33.c: New file.
34700         * posix/Makefile (tests): Add bug-regex33.
34702 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
34704         * manual/macros.texi: New file.
34705         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34706         * manual/libc.texinfo: Include macros.texi.
34707         * manual/creatute.texi: Likewise.
34708         * manual/install.texi: Likewise.
34709         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34710         @glibcadj{} in references to the GNU C Library.
34711         * manual/charset.texi: Likewise.
34712         * manual/conf.texi: Likewise.
34713         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
34714         when not using those macros.
34715         * manual/creature.texi: Likewise.
34716         * manual/crypt.texi: Likewise.
34717         * manual/errno.texi: Likewise.
34718         * manual/filesys.texi: Likewise.
34719         * manual/header.texi: Likewise.
34720         * manual/install.texi: Likewise.
34721         * manual/intro.texi: Likewise.
34722         * manual/io.texi: Likewise.
34723         * manual/job.texi: Likewise.
34724         * manual/lang.texi: Likewise.
34725         * manual/libc.texiinfo: Likewise.
34726         * manual/llio.texi: Likewise.
34727         * manual/locale.texi: Likewise.
34728         * manual/maint.texi: Likewise.
34729         * manual/math.texi: Likewise.
34730         * manual/memory.texi: Likewise.
34731         * manual/message.texi: Likewise.
34732         * manual/nss.texi: Likewise.
34733         * manual/pattern.texi: Likewise.
34734         * manual/process.texi: Likewise.
34735         * manual/resource.texi: Likewise.
34736         * manual/search.texi: Likewise.
34737         * manual/setjmp.texi: Likewise.
34738         * manual/signal.texi: Likewise.
34739         * manual/socket.texi: Likewise.
34740         * manual/startup.texi: Likewise.
34741         * manual/stdio.texi: Likewise.
34742         * manual/string.texi: Likewise.
34743         * manual/sysinfo.texi: Likewise.
34744         * manual/syslog.texi: Likewise.
34745         * manual/terminal.texi: Likewise.
34746         * manual/time.texi: Likewise.
34747         * manual/users.texi: Likewise.
34748         * INSTALL: Regenerated.
34749         * NOTES: Regenerated.
34750         * sysdeps/gnu/errlist.c: Regenerated.
34752 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
34754         * include/dirent.h: Include <dirstream.h> before
34755         <dirent/dirent.h>.
34757 2012-02-28  David S. Miller  <davem@davemloft.net>
34759         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34760         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34761         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34762         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34764 2012-02-27  David S. Miller  <davem@davemloft.net>
34766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34768         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34769         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34772         frame pointer instead of stack pointer relative arg slot.
34773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34774         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34775         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34777 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
34779         [BZ #3992]
34780         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34782 2012-02-27  David S. Miller  <davem@davemloft.net>
34784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34788         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34789         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34790         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34791         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34793 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34795         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34796         later.  Allow versions 5-9.
34797         * configure: Regenerated.
34798         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34799         required minimum version and 4.6 as recommended version.  Do not
34800         mention bugs in GCC 2.7 and 2.8.
34801         * INSTALL: Regenerated.
34803 2012-02-27  David S. Miller  <davem@davemloft.net>
34805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34809         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34810         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34811         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34812         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34814         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34815         manipulate bits before adding and subtracting TWO112[sx].
34816         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34818 2012-02-27  Roland McGrath  <roland@hack.frob.com>
34820         [BZ #13775]
34821         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34822         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34823         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34824         being in POSIX, because they are in 1003.1-2008.
34826         * rt/tst-aio.c: Include <fcntl.h>.
34827         * rt/tst-aio7.c: Likewise.
34828         * rt/tst-aio64.c: Likewise.
34830         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34832 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34834         * manual/install.texi (--with-headers): Describe headers as
34835         interface headers, not private headers.
34836         (Specific advice for GNU/Linux systems): Describe use of headers
34837         from "make headers_install", not private headers from older
34838         kernels.
34839         * INSTALL: Regenerated.
34840         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34841         Change to 2.6.19.
34842         * sysdeps/unix/sysv/linux/configure: Regenerated.
34844         * manual/llio.texi (fclean): Remove documentation.
34846         * manual/Makefile (libc-texi-generated): New variable.  Include
34847         version.texi.
34848         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34849         $(libc-texi-generated), not duplicated list of files.
34850         (version.texi, stamp-version): New rules.
34851         (realclean): Remove $(libc-texi-generated), not individual files
34852         from that list.  Do not remove dir-add.texinfo.
34853         * manual/libc.texinfo: Comment out uses of edition numbers and
34854         references to printed manual.  Remove last-updated dates.
34855         (EDITION): Comment out.
34856         (ISBN): Likewise.
34857         (VERSION, UPDATED): Remove.
34858         (version.texi): Include.
34860 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
34862         * sysdeps/posix/spawni.c: Include <signal.h>.
34863         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34864         * sysdeps/pthread/aio_fsync.c: Likewise.
34866 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
34868         * conform/Makefile (tests): Run only when not cross-compiling and
34869         when fast-check is not defined.
34871         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34872         * conform/data/limits.h-data: Fixes for POSIX2008.
34873         * conform/run-conformtest.sh: Run all tests.
34874         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34875         headers.
34876         * include/bits/dlfcn.h: Likewise.
34877         * include/langinfo.h: Likewise.
34878         * include/monetary.h: Likewise.
34879         * include/sys/poll.h: Likewise.
34881         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34882         for __USE_GNU.
34883         * posix/spawn.h: Define __need_sigset_t.
34884         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34885         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34886         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
34887         to get sigevent_t only.
34888         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34889         only for __USE_GNU.
34890         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34891         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34892         process_vm_writev only for __USE_GNU.
34893         * termios/termios.h: Declare tcgetsid also for POSIX2008.
34895         * conform/Makefile: For now ignore errors from run-conformtest.
34896         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
34897         POSIX to avoid namespace pollution.  Don't prepend headers.
34898         * conform/data/aio.h-data: Fixes for POSIX testing.
34899         * conform/data/fcntl.h-data: Likewise.
34900         * conform/data/glob.h-data: Likewise.
34901         * conform/data/grp.h-data: Likewise.
34902         * conform/data/pthread.h-data: Likewise.
34903         * conform/data/pwd.h-data: Likewise.
34904         * conform/data/signal.h-data: Likewise.
34905         * conform/data/spawn.h-data: Likewise.
34906         * conform/data/stdio.h-data: Likewise.
34907         * conform/data/stdlib.h-data: Likewise.
34908         * conform/data/stropts.h-data: Likewise.
34909         * conform/data/sys/mman.h-data: Likewise.
34910         * conform/data/sys/stat.h-data: Likewise.
34911         * conform/data/sys/types.h-data: Likewise.
34912         * conform/data/sys/wait.h-data: Likewise.
34913         * conform/data/time.h-data: Likewise.
34914         * conform/data/unistd.h-data: Likewise.
34915         * conform/data/utime.h-data: Likewise.
34917         * io/sys/stat.h: fchmod was always in POSIX.
34918         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34919         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34920         * rt/aio.h: Define __need_timespec before including <time.h>.
34921         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34922         struct.  Add forward declaration of pthread_attr_t and use it in
34923         sigevent.
34924         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34925         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34926         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34927         always remove CLK_TCK definition.
34929 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
34931         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34933 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
34935         * conform/run-conformtest.sh: New file.
34936         * conform/Makefile: Run run-conformtest for tests.
34937         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
34938         support.
34940         * conform/data/uchar.h-data: New file.
34941         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34942         * conform/data/arpa/inet.h-data: Likewise.
34943         * conform/data/assert.h-data: Likewise.
34944         * conform/data/complex.h-data: Likewise.
34945         * conform/data/cpio.h-data: Likewise.
34946         * conform/data/ctype.h-data: Likewise.
34947         * conform/data/dirent.h-data: Likewise.
34948         * conform/data/dlfcn.h-data: Likewise.
34949         * conform/data/errno.h-data: Likewise.
34950         * conform/data/fcntl.h-data: Likewise.
34951         * conform/data/float.h-data: Likewise.
34952         * conform/data/fmtmsg.h-data: Likewise.
34953         * conform/data/fnmatch.h-data: Likewise.
34954         * conform/data/ftw.h-data: Likewise.
34955         * conform/data/glob.h-data: Likewise.
34956         * conform/data/grp.h-data: Likewise.
34957         * conform/data/iconv.h-data: Likewise.
34958         * conform/data/inttypes.h-data: Likewise.
34959         * conform/data/langinfo.h-data: Likewise.
34960         * conform/data/libgen.h-data: Likewise.
34961         * conform/data/limits.h-data: Likewise.
34962         * conform/data/locale.h-data: Likewise.
34963         * conform/data/math.h-data: Likewise.
34964         * conform/data/monetary.h-data: Likewise.
34965         * conform/data/mqueue.h-data: Likewise.
34966         * conform/data/ndbm.h-data: Likewise.
34967         * conform/data/net/if.h-data: Likewise.
34968         * conform/data/netdb.h-data: Likewise.
34969         * conform/data/netinet/in.h-data: Likewise.
34970         * conform/data/nl_types.h-data: Likewise.
34971         * conform/data/poll.h-data: Likewise.
34972         * conform/data/pthread.h-data: Likewise.
34973         * conform/data/pwd.h-data: Likewise.
34974         * conform/data/regex.h-data: Likewise.
34975         * conform/data/sched.h-data: Likewise.
34976         * conform/data/search.h-data: Likewise.
34977         * conform/data/semaphore.h-data: Likewise.
34978         * conform/data/setjmp.h-data: Likewise.
34979         * conform/data/signal.h-data: Likewise.
34980         * conform/data/spawn.h-data: Likewise.
34981         * conform/data/stdarg.h-data: Likewise.
34982         * conform/data/stdio.h-data: Likewise.
34983         * conform/data/stdlib.h-data: Likewise.
34984         * conform/data/string.h-data: Likewise.
34985         * conform/data/strings.h-data: Likewise.
34986         * conform/data/stropts.h-data: Likewise.
34987         * conform/data/sys/ipc.h-data: Likewise.
34988         * conform/data/sys/mman.h-data: Likewise.
34989         * conform/data/sys/msg.h-data: Likewise.
34990         * conform/data/sys/resource.h-data: Likewise.
34991         * conform/data/sys/select.h-data: Likewise.
34992         * conform/data/sys/sem.h-data: Likewise.
34993         * conform/data/sys/shm.h-data: Likewise.
34994         * conform/data/sys/socket.h-data: Likewise.
34995         * conform/data/sys/stat.h-data: Likewise.
34996         * conform/data/sys/statvfs.h-data: Likewise.
34997         * conform/data/sys/time.h-data: Likewise.
34998         * conform/data/sys/timeb.h-data: Likewise.
34999         * conform/data/sys/times.h-data: Likewise.
35000         * conform/data/sys/types.h-data: Likewise.
35001         * conform/data/sys/uio.h-data: Likewise.
35002         * conform/data/sys/un.h-data: Likewise.
35003         * conform/data/sys/utsname.h-data: Likewise.
35004         * conform/data/sys/wait.h-data: Likewise.
35005         * conform/data/syslog.h-data: Likewise.
35006         * conform/data/tar.h-data: Likewise.
35007         * conform/data/termios.h-data: Likewise.
35008         * conform/data/utime.h-data: Likewise.
35009         * conform/data/utmpx.h-data: Likewise.
35010         * conform/data/varargs.h-data: Likewise.
35011         * conform/data/wchar.h-data: Likewise.
35012         * conform/data/wctype.h-data: Likewise.
35013         * conform/data/wordexp.h-data: Likewise.
35015         * include/stropts.h: New file.
35016         * include/uchar.h: New file.
35017         * include/aio.h: Changes to allow conformtest.pl to use the headers.
35018         * include/assert.h: Likewise.
35019         * include/ctype.h: Likewise.
35020         * include/dirent.h: Likewise.
35021         * include/dlfcn.h: Likewise.
35022         * include/fcntl.h: Likewise.
35023         * include/fnmatch.h: Likewise.
35024         * include/glob.h: Likewise.
35025         * include/grp.h: Likewise.
35026         * include/libio.h: Likewise.
35027         * include/locale.h: Likewise.
35028         * include/math.h: Likewise.
35029         * include/net/if.h: Likewise.
35030         * include/netdb.h: Likewise.
35031         * include/netinet/in.h: Likewise.
35032         * include/pthread.h: Likewise.
35033         * include/pwd.h: Likewise.
35034         * include/regex.h: Likewise.
35035         * include/sched.h: Likewise.
35036         * include/search.h: Likewise.
35037         * include/setjmp.h: Likewise.
35038         * include/signal.h: Likewise.
35039         * include/stdio.h: Likewise.
35040         * include/stdlib.h: Likewise.
35041         * include/string.h: Likewise.
35042         * include/sys/cdefs.h: Likewise.
35043         * include/sys/mman.h: Likewise.
35044         * include/sys/msg.h: Likewise.
35045         * include/sys/resource.h: Likewise.
35046         * include/sys/select.h: Likewise.
35047         * include/sys/socket.h: Likewise.
35048         * include/sys/stat.h: Likewise.
35049         * include/sys/statvfs.h: Likewise.
35050         * include/sys/time.h: Likewise.
35051         * include/sys/times.h: Likewise.
35052         * include/sys/uio.h: Likewise.
35053         * include/sys/utsname.h: Likewise.
35054         * include/sys/wait.h: Likewise.
35055         * include/termios.h: Likewise.
35056         * include/time.h: Likewise.
35057         * include/ulimit.h: Likewise.
35058         * include/unistd.h: Likewise.
35059         * include/utime.h: Likewise.
35060         * include/wchar.h: Likewise.
35061         * include/wctype.h: Likewise.
35062         * include/wordexp.h: Likewise.
35064         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35066         * time/time.h: TIME_UTC must be a macro.
35067         Make timespec_get available for ISO C11 only as well.
35069 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
35071         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35072         Reported by Peng Haitao <penght@cn.fujitsu.com>.
35074 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35076         * configure.in: Use -o not -a in test for unsupported multi-arch.
35078 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35080         * manual/texinfo.tex: Update to version 2012-01-19.16.
35082 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35084         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35086 2012-02-24  Roland McGrath  <roland@hack.frob.com>
35088         [BZ #13738]
35089         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35090         * manual/fdl-1.3.texi: New file.
35091         * manual/fdl-1.1.texi: File removed.
35093         [BZ #13738]
35094         * manual/libc.texinfo (FDL_VERSION): New @set.
35095         Use it for mention of FDL in cover text.
35096         (Documentation License): Use it in @include file name.
35098 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35099             Roland McGrath  <roland@hack.frob.com>
35101         [BZ #5461]
35102         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35103         (not LONG_LONG_MAX and LONG_LONG_MIN.
35104         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35105         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
35106         name.
35107         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35109 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35111         [BZ #2547]
35112         [BZ #11365]
35113         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35114         manipulate bits before adding and subtracting TWO23[sx].
35115         * math/libm-test.inc (nearbyint_test): Add more tests.
35117 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35119         [BZ #2548]
35120         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35121         bits before adding and subtracting TWO23[sx].
35122         * math/libm-test.inc (rint_test): Add more tests.
35123         (rint_test_tonearest): Likewise.
35124         (rint_test_towardzero): Likewise.
35125         (rint_test_downward): Likewise.
35126         (rint_test_upward: Likewise.
35128 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35130         [BZ #10110]
35131         * include/stdc-predef.h: New file.  Extracted from features.h.
35132         * include/features.h: Include stdc-predef.h.
35133         * Makefile (headers): Add stdc-predef.h.
35134         * CONFORMANCE (Compiler limitations): Update.
35136 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35138         * manual/libc.texinfo (VERSION, UPDATED): Revert.
35140 2012-02-21  David S. Miller  <davem@davemloft.net>
35142         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35143         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35145 2012-02-20  David S. Miller  <davem@davemloft.net>
35147         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35148         using a normal save/restore sequence, rather than allocating a
35149         dummy stack frame just to store a frame pointer and restore.
35150         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35152 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35154         * manual/install.texi: Fix stray word in line-wrapped comment.
35156 2012-02-20  David S. Miller  <davem@davemloft.net>
35158         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35159         both binutils and gcc support GOTDATA.
35161         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35162         "rd %pc" in the PIC register setup sequences.
35164         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35165         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35166         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35167         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35168         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35170         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35171         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35172         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35173         (SYSCALL_ERROR_HANDLER): Likewise.
35174         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35175         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35177         (SYSCALL_ERROR_HANDLER): Likewise.
35179         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35180         (HAVE_GCC_GOTDATA): New.
35181         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35182         relocation support in both binutils and gcc.
35183         * sysdeps/sparc/elf/configure: Regenerate.
35185         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35186         * sysdeps/sparc/sparc32/elf/configure: Delete.
35187         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35188         * sysdeps/sparc/sparc64/elf/configure: Delete.
35189         * sysdeps/sparc/elf/configure.in: New file.
35190         * sysdeps/sparc/elf/configure: Generate.
35192         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35193         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35194         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35195         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35196         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35198 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35200         * manual/install.texi: Do not mention specific glibc version
35201         numbers.
35202         * manual/libc.texinfo (VERSION, UPDATED): Update.
35203         (@copying): Use @copyright{} and range of years.
35205 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35207         [BZ #13695]
35208         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35209         [crti.S not in sysdirs] (generated): Do not append.
35210         [crti.S not in sysdirs] (omit-deps): Likewise.
35211         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35212         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35213         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35214         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35215         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35216         Likewise.
35217         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35218         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35219         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35220         * csu/defs.awk: Remove file.
35221         * sysdeps/generic/initfini.c: Likewise.
35222         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35223         variable.
35224         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35225         Likewise.
35227 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35229         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35230         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35231         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35232         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35233         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35234         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35235         <bits/epoll.h>.
35236         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35237         (__EPOLL_PACKED): Define to empty if not defined by
35238         <bits/epoll.h>.
35239         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35240         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35241         bits/epoll.h.
35243 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35245         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35246         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35247         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35248         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35249         <bits/timerfd.h>.
35250         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35251         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35252         bits/timerfd.h.
35254 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35256         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35257         in C locale.
35258         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35259         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35260         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35263 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
35265         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35266         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35268 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
35270         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35271         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35272         defined.
35273         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35274         Likewise.
35275         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35276         entry for 2.16.
35278 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
35280         * math/w_acos.c: Use non-signaling floating-point comparisons.
35281         * math/w_acosf.c: Likewise.
35282         * math/w_acosh.c: Likewise.
35283         * math/w_acoshf.c: Likewise.
35284         * math/w_acoshl.c: Likewise.
35285         * math/w_acosl.c: Likewise.
35286         * math/w_asin.c: Likewise.
35287         * math/w_asinf.c: Likewise.
35288         * math/w_asinl.c: Likewise.
35289         * math/w_atanh.c: Likewise.
35290         * math/w_atanhf.c: Likewise.
35291         * math/w_atanhl.c: Likewise.
35292         * math/w_exp2.c: Likewise.
35293         * math/w_exp2f.c: Likewise.
35294         * math/w_exp2l.c: Likewise.
35295         * math/w_j0.c: Likewise.
35296         * math/w_j0f.c: Likewise.
35297         * math/w_j0l.c: Likewise.
35298         * math/w_j1.c: Likewise.
35299         * math/w_j1f.c: Likewise.
35300         * math/w_j1l.c: Likewise.
35301         * math/w_jn.c: Likewise.
35302         * math/w_jnf.c: Likewise.
35303         * math/w_log.c: Likewise.
35304         * math/w_log10.c: Likewise.
35305         * math/w_log10f.c: Likewise.
35306         * math/w_log10l.c: Likewise.
35307         * math/w_log2.c: Likewise.
35308         * math/w_log2f.c: Likewise.
35309         * math/w_log2l.c: Likewise.
35310         * math/w_logf.c: Likewise.
35311         * math/w_logl.c: Likewise.
35312         * math/w_sqrt.c: Likewise.
35313         * math/w_sqrtf.c: Likewise.
35314         * math/w_sqrtl.c: Likewise.
35315         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35316         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35317         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35318         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35319         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35321 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35323         [BZ #9739]
35324         * manual/string.texi (strnlen): Use correct parameter name in
35325         equivalent expression.
35327 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35329         [BZ #11174]
35330         * manual/users.texi (seteuid): Consistently use neweuid for
35331         argument name.
35333 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35335         [BZ #13704]
35336         * manual/nss.texi (Services in the NSS configuration): Correct
35337         list of services in example configuration file.
35339 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
35341         [BZ #11322]
35342         * manual/arith.texi: Remove statements about negative zero
35343         behaving identically to zero.
35345 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35347         [BZ #5993]
35348         * manual/install.texi: Do not document upgrading from libc5.
35350 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35352         [BZ #4596]
35353         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35355 2012-02-18  David S. Miller  <davem@davemloft.net>
35357         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35358         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35359         %o7 across the call.
35360         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35361         instead.
35362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35363         SETUP_PIC_REG_LEAF.
35364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35365         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35366         * sysdeps/sparc/crtn.S: Likewise.
35368 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
35370         * aout/Makefile: Remove.
35372 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
35374         [BZ #13058]
35375         * manual/examples/argp-ex1.c (main): Format definition in GNU
35376         style.
35377         * manual/examples/argp-ex2.c (main): Likewise.
35378         * manual/examples/argp-ex3.c (main): Likewise.
35379         * manual/examples/argp-ex4.c (main): Likewise.
35380         * manual/examples/longopt.c (main): Use new-style prototype
35381         definition.
35382         * manual/examples/strncat.c (main): Specify return type and use
35383         (void) for arguments.
35384         * manual/examples/subopt.c (main): Use char **argv argument.
35386 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35388         [BZ #5077]
35389         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35390         rounding modes.
35392 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
35394         [BZ #6907]
35395         * manual/string.texi (strchr): Change when strchrnul is
35396         recommended.
35398 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
35400         [BZ #174]
35401         * manual/locale.texi (setlocale): Document LOCPATH.
35403 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35405         [BZ #10210]
35406         * manual/process.texi (execle): Move @dots{} before last argument.
35408 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
35410         [BZ #12047]
35411         * manual/charset.texi (Generic Charset Conversion): Fix typo
35412         (LC_TYPE -> LC_CTYPE).
35414 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
35416         [BZ #5805]
35417         * manual/arith.texi (scalbn): Use @var{} on parameter names.
35418         (scalbnf): Likewise.
35419         (scalbnl): Likewise.
35420         (scalbln): Likewise.
35421         (scalblnf): Likewise.
35422         (scalblnl): Likewise.
35423         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35424         (vwarnx): Likewise.
35425         (verr): Likewise.
35426         (verrx): Likewise.
35427         * manual/filesys.texi (telldir): Use braces around return type.
35428         * manual/llio.texi (mmap): Add space after comma.
35429         (mmap64): Likewise.
35430         * manual/math.texi (jn): Use @var{} on parameter names.
35431         (jnf): Likewise.
35432         (jnl): Likewise.
35433         (yn): Likewise.
35434         (ynf): Likewise.
35435         (ynl): Likewise.
35436         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35437         line.
35438         * manual/resource.texi (ulimit): Use @dots{} instead of literal
35439         "...".
35440         (sched_get_priority_min): Remove semicolon on @deftypefun line.
35441         (sched_get_priority_max): Likewise.
35442         * manual/signal.texi (sigvec): Add space after comma.
35443         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35444         names.
35445         (if_indextoname): Likewise.
35446         (if_freenameindex): Likewise.
35447         (sendto): Use ',' instead of '.' in prototype.
35448         * manual/startup.texi (syscall): Use @dots{} instead of literal
35449         "...".
35450         * manual/stdio.texi (__fpending): Separate initial words of
35451         paragraph from @deftypefun line.
35452         * manual/syslog.texi (syslog): Use @dots{} instead of literal
35453         "...".
35454         (vsyslog): Use @var{} on parameter names.
35455         * manual/terminal.texi (stty): Use @var{} on parameter names.
35456         * manual/users.texi (getutmp): Use @var{} on parameter names.
35457         (getutmpx): Likewise.
35459 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35461         [BZ #6884]
35462         * manual/stdio.texi (fopen): Fix typos in description of
35463         ",ccs=STRING".
35465 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
35467         [BZ #4026]
35468         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35469         get clock_id definition.
35471 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
35473         [BZ #4822]
35474         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35475         (madvise): Cast every argument to void on its own.
35477 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35479         [BZ #9902]
35480         * manual/startup.texi (Exit Status): Fix typo.
35482 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35484         [BZ #10140]
35485         * manual/examples/argp-ex1.c: Include <stdlib.h>.
35486         * manual/examples/argp-ex2.c: Likewise.
35487         * manual/examples/argp-ex3.c: Likewise.
35489 2012-02-16  Richard Henderson  <rth@redhat.com>
35491         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35492         * sysdeps/s390/s390-32/initfini.c: Remove.
35493         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35494         * sysdeps/s390/s390-64/initfini.c: Remove.
35496 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35498         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35499         compiler output for sysdeps/generic/initfini.c.
35500         * sysdeps/sh/elf/initfini.c: Remove file.
35502 2012-02-16  David S. Miller  <davem@davemloft.net>
35504         [BZ #11494]
35505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35507         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35508         * sysdeps/sparc/crti.S: New file.
35509         * sysdeps/sparc/crtn.S: New file.
35510         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35511         * sysdeps/sparc/sparc64/Makefile: Likewise.
35513 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
35515         [BZ #3335]
35516         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35518 2012-02-15  Roland McGrath  <roland@hack.frob.com>
35520         [BZ #4822]
35521         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35523         * mach/devstream.c (cookie_io_functions_t): Macro removed.
35524         (write, read, close): Likewise.
35525         Patch by Aurelien Jarno <aurelien@aurel32.net>.
35527 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
35529         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35530         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35531         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35532         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35533         <bits/signalfd.h>.
35534         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35535         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35536         bits/signalfd.h.
35538 2012-02-14  Marek Polacek  <polacek@redhat.com>
35540         * sysdeps/x86_64/crti.S: New file.
35541         * sysdeps/x86_64/crtn.S: New file.
35542         * sysdeps/x86_64/elf/initfini.c: Remove file.
35544 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35546         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35547         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35548         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35549         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35550         <bits/inotify.h>.
35551         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35553         bits/inotify.h.
35555 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35557         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35558         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35559         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35560         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35561         <bits/eventfd.h>.
35562         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35563         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35564         bits/eventfd.h.
35566 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
35568         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35569         __feraiseexcept instead of feraiseexcept.
35571         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35572         nanosleep invocations.
35573         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35574         strings, and add error checking for a nanosleep invocations.
35576 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
35578         Replace FSF snail mail address with URLs, as per GNU coding standards.
35579         Most of the snail mail addresses were wrong anyway, and omitting
35580         them makes the source code easier to maintain.  Almost all of the
35581         changes are to license notices and to locale LC_IDENTIFICATION
35582         addresses, except for this one:
35583         * manual/libc.texinfo: In "Published by", give the FSF's URL,
35584         not its snail mail address.
35586 2012-02-09  Richard Henderson  <rth@twiddle.net>
35588         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35589         of kernel-features.h.
35591         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35593 2012-02-08  Marek Polacek  <polacek@redhat.com>
35595         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35596         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35597         * sysdeps/gnu/_G_config.h: Likewise.
35598         * sysdeps/generic/_G_config.h: Likewise.
35600 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
35602         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35603         tests.
35604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35606         * sysdeps/powerpc/powerpc32/crti.S: New file.
35607         * sysdeps/powerpc/powerpc32/crtn.S: New file.
35608         * sysdeps/powerpc/powerpc64/crti.S: New file.
35609         * sysdeps/powerpc/powerpc64/crtn.S: New file.
35611         * Makeconfig (have-initfini): Don't set.
35612         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35613         * configure.in (nopic_initfini): Don't substitute.
35614         * config.h.in (HAVE_INITFINI): Don't #undef.
35615         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35616         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35618 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
35620         Support crti.S and crtn.S provided directly by architectures.
35621         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35622         [crti.S in sysdirs] (omit-deps): Likewise.
35623         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35624         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35625         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35626         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35627         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35628         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35629         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35630         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35631         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35632         compiler output for sysdeps/generic/initfini.c.
35633         * sysdeps/i386/elf/Makefile: Remove file.
35634         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35636 2012-02-07  Marek Polacek  <polacek@redhat.com>
35638         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35639         * sysdeps/gnu/_G_config.h: Likewise.
35640         * sysdeps/mach/hurd/_G_config.h: Likewise.
35642 2012-02-07  Marek Polacek  <polacek@redhat.com>
35644         * math/Makefile (tests): Add tst-CMPLX2.
35645         * math/tst-CMPLX2.c: New file.
35647 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
35649         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35651         * math/libm-test.inc (jn_test): Add missing L suffix.
35653 2012-02-06  Marek Polacek  <polacek@redhat.com>
35655         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35656         * sysdeps/i386/fpu/e_powf.S: Likewise.
35657         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35658         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35659         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35660         * sysdeps/i386/fpu/e_pow.S: Likewise.
35661         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35662         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35663         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35664         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35665         * sysdeps/i386/fpu/e_log2.S: Likewise.
35666         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35667         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35668         * sysdeps/i386/fpu/e_powl.S: Likewise.
35669         * sysdeps/i386/fpu/s_log1p.S: Likewise.
35670         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35671         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35672         * sysdeps/i386/fpu/e_logl.S: Likewise.
35673         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35674         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35675         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35676         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35677         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35678         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35679         * sysdeps/i386/fpu/e_log.S: Likewise.
35680         * sysdeps/i386/fpu/s_cexp.S: Likewise.
35681         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35682         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35683         * sysdeps/i386/fpu/e_logf.S: Likewise.
35684         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35685         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35686         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35687         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35688         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35689         * sysdeps/i386/fpu/e_log10.S: Likewise.
35690         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35691         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35692         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35693         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35694         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35695         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35696         * sysdeps/i386/asm-syntax.h: Likewise.
35697         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35698         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35699         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35700         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35701         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35702         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35703         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35704         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35705         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35706         * sysdeps/powerpc/sysdep.h: Likewise.
35707         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35708         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35710 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35712         [BZ #411]
35713         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35715 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35717         * sysdeps/i386/sysdep.h: Include <features.h>.
35718         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35719         version.
35721 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
35723         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35724         Define.
35725         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35726         LOAD_PIC_REG_STR.
35728 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35730         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35731         (SETUP_PIC_REG): Use GET_PC_THUNK.
35732         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35733         macro.
35735 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35737         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35738         for non-PIC compilation.
35739         (SETUP_PIC_REG): Add .p2align directive.
35740         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35741         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35742         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35743         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35744         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35745         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35746         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35747         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35748         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35749         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35750         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35751         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35752         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35753         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35754         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35755         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35756         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35757         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35758         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35759         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35760         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35761         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35762         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35763         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35764         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35766         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35767         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35768         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35769         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35770         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35771         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35772         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35773         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35774         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35775         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35776         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35777         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35778         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35779         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35780         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35782 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35784         * math/tst-CMPLX.c: Include <stdio.h>.
35786 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
35788         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35789         float.
35790         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35791         * sysdeps/sparc/bits/mathdef.h: Likewise.
35793 2012-01-31  Marek Polacek  <polacek@redhat.com>
35795         * libio/libio.h: Don't define _PARAMS.
35796         * locale/programs/config.h: Don't define PARAMS.
35797         * stdlib/strtol_l.c: Likewise.
35798         (__strtol_l): Remove PARAMS from the prototype.
35800 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
35802         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
35803         names.  Just use the correct names.  Remove unnecessary wrapper
35804         functions.
35805         * malloc/arena.c: Likewise.
35806         * malloc/hooks.c: Likewise.
35808         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35809         ARENA_TEST says not to.  Simplify test for creation of a new arena.
35810         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35812 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
35814         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35815         into tail calls.
35816         (update_get_addr): New function.
35817         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35818         GET_ADDR_MODULE parameter.
35820 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35822         * crypt/cert.c: Remove __STDC__ conditionals.
35823         * crypt/crypt-entry.c: Likewise.
35824         * crypt/crypt_util.c: Likewise.
35825         * libio/filedoalloc.c: Likewise.
35826         * libio/fileops.c: Likewise.
35827         * libio/genops.c: Likewise.
35828         * libio/iofclose.c: Likewise.
35829         * libio/iofdopen.c: Likewise.
35830         * libio/iofopen.c: Likewise.
35831         * libio/iofopen64.c: Likewise.
35832         * libio/iogetdelim.c: Likewise.
35833         * libio/iopopen.c: Likewise.
35834         * libio/obprintf.c: Likewise.
35835         * libio/oldfileops.c: Likewise.
35836         * libio/oldiofclose.c: Likewise.
35837         * libio/oldiofdopen.c: Likewise.
35838         * libio/oldiofopen.c: Likewise.
35839         * libio/oldiopopen.c: Likewise.
35840         * libio/wfiledoalloc.c: Likewise.
35841         * libio/wgenops.c: Likewise.
35842         * locale/programs/xmalloc.c: Likewise.
35843         * misc/syslog.c: Likewise.
35844         * stdio-common/xbug.c: Likewise.
35845         * string/memchr.c: Likewise.
35846         * string/memcmp.c: Likewise.
35847         * string/memrchr.c: Likewise.
35848         * string/rawmemchr.c: Likewise.
35849         * sysdeps/posix/getcwd.c: Likewise.
35850         * time/strftime_l.c: Likewise.
35852 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35854         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35855         * config.make.in (config-cflags-sse2avx): Define.
35856         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35857         Fix typo.
35859 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
35861         * scripts/config.guess: Update from upstream config git repository.
35862         * scripts/config.sub: Likewise.
35864 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
35866         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35867         (EM_NUM): Update.
35868         (R_TILEPRO_*, R_TILEGX_*): New macros.
35870         * scripts/firstversions.awk: Fix bug in version range handling.
35872         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35874         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35876         * include/sys/epoll.h: New file.
35877         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35878         libc_hidden_def.
35880 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
35882         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35883         Avoid unnecessary __WORDSIZE == 64 test.
35884         (fmaxf): Use VEX format if possible.
35885         (fmax): Likewise.
35886         (fminf): Likewise.
35887         (fmin): Likewise.
35889         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35890         * math/math_private.h: Remove libc_fegetround* and
35891         libc_fesetround*.
35892         * sysdeps/i386/configure.in: Check for -msse2avx.
35893         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35894         also if SSE2AVX is defined.
35895         Remove libc_fegetround* and libc_fesetround*.
35896         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35897         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
35898         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35899         of HAS_YMM_USABLE.
35900         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35901         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35902         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35903         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35904         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35906         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35908 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35910         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35911         size is not set.
35912         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35914 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
35916         [BZ #13618]
35917         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35918         relocation.
35919         * Makeconfig (libm): Define.
35920         * elf/Makefile: Add rules to build and run tst-relsort1.
35921         * elf/tst-relsort1.c: New file.
35922         * elf/tst-relsort1mod1.c: New file.
35923         * elf/tst-relsort1mod2.c: New file.
35925 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
35927         * math/s_ldexp.c: Remove __STDC__ conditionals.
35928         * math/s_ldexpf.c: Likewise.
35929         * math/s_ldexpl.c: Likewise.
35930         * math/s_nextafter.c: Likewise.
35931         * math/s_nexttowardf.c: Likewise.
35932         * math/s_significand.c: Likewise.
35933         * math/s_significandf.c: Likewise.
35934         * math/s_significandl.c: Likewise.
35935         * math/w_jnl.c: Likewise.
35936         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35937         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35938         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35939         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35940         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35941         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35942         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35943         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35944         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35945         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35946         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35947         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35948         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35949         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35950         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35951         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35952         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35953         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35955         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35956         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35957         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35958         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35959         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35960         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35961         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35962         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35963         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35964         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35965         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35966         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35967         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35968         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35969         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35970         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35971         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35972         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35973         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35974         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35975         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35976         * sysdeps/ieee754/k_standard.c: Likewise.
35977         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35978         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35979         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35980         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35981         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35982         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35983         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35984         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35985         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35986         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35987         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35988         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35989         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35990         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35991         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35992         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35993         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35994         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35995         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35996         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35997         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35998         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35999         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36000         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36001         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36002         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36004         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36005         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36007         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36008         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36009         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36010         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36012         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36013         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36014         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36015         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36016         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36017         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36018         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36019         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36020         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36021         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36022         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36024         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36025         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36026         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36027         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36028         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36030         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36031         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36032         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36033         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36034         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36035         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36036         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36037         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36038         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36039         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36040         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36041         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36042         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36043         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36044         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36045         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36046         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36047         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36048         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36049         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36050         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36051         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36052         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36053         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36054         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36055         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36056         * sysdeps/ieee754/s_matherr.c: Likewise.
36057         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36058         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36059         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36060         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36062 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
36064         * crypt/md5.h: Remove __STDC__ conditionals.
36065         * libio/libioP.h: Likewise.
36066         * locale/programs/config.h: Likewise.
36067         * sysdeps/generic/sysdep.h: Likewise.
36068         * sysdeps/i386/asm-syntax.h: Likewise.
36069         * sysdeps/s390/asm-syntax.h: Likewise.
36070         * sysdeps/unix/sysdep.h: Likewise.
36071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36074 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
36076         * libio/libio.h: Remove __STDC__ conditionals.
36077         * malloc/obstack.h: Likewise.
36078         * math/complex.h: Likewise.
36079         * math/math.h: Likewise.
36080         * sysdeps/generic/_G_config.h: Likewise.
36081         * sysdeps/gnu/_G_config.h: Likewise.
36082         * sysdeps/mach/hurd/_G_config.h: Likewise.
36083         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36084         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36085         * sysdeps/sparc/bits/mathdef.h: Likewise.
36087 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
36089         [BZ #13583]
36090         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36091         Clean up HAS_* macros.
36092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36093         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36094         possible.
36095         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36096         HAS_AVX.
36097         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36098         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36099         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36100         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36101         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36103 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
36105         * elf/tst-unique3.cc (gets): Remove declaration.
36106         * elf/tst-unique3lib.cc (gets): Likewise.
36107         * elf/tst-unique3lib2.cc (gets): Likewise.
36108         * elf/tst-unique4.cc (gets): Likewise.
36110 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
36112         * include/stdio.h: Add C++ protection.  Add gets declarations and
36113         definitions.
36114         * debug/tst-chk1.c: Don't declare gets here.
36115         * stdio-common/tst-gets.c: Likewise.
36117 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36119         * posix/glob: Remove directory.
36121 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36123         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36125 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
36127         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36128         of the non-standard EPFNOSUPPORT.
36130 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36132         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36133         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36134         ANYWHERE set to 1 only on KERN_NO_SPACE error.
36136 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
36138         * wcsmbs/uchar.h: Test __STDC_VERSION__.
36140 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
36142         * nscd/aicache.c (addhstaiX): Do not cache negative results of
36143         transient errors.
36144         * nscd/grpcache.c (cache_addgr): Likewise.
36145         * nscd/hstcache.c (cache_addhst): Likewise.
36146         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36147         * nscd/pwdcache.c (cache_addpw): Likewise.
36148         * nscd/servicescache.c (cache_addserv): Likewise.
36150 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
36152         * malloc/malloc.c: Various cleanups.
36153         * malloc/hooks.c: Likewise.
36155         * stdlib/Makefile (tests): Add bug-fmtmsg1.
36156         * stdlib/bug-fmtmsg1.c: New file.
36158         * stdlib/fmtmsg.c (init): Add missing unlock.
36159         Patch by Peng Haitao <penght@cn.fujitsu.com>.
36161 2012-01-12  Marek Polacek  <polacek@redhat.com>
36163         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36164         and _GNU_SOURCE.
36166 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
36168         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36169         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36170         macro to ensure uniqueness of label name.
36171         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36172         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36174 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
36176         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36178         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36179         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36180         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36181         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36183 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
36185         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36187         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36188         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36189         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36191         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36193         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36194         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36195         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36198         * math/bits/math-finite.h: Add ldexp support.
36200 2012-01-10  Marek Polacek  <polacek@redhat.com>
36202         * locale/programs/localedef.h (show_archive_content): Add noreturn
36203         attribute.
36205 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
36207         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36209 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36211         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36213         * io/Makefile (headers): Add bits/poll2.h.
36215 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
36217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36218         typo #include statement.
36220 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36222         * include/sys/cdefs.h: Define __attribute_alloc_size.
36223         * catgets/gencat.c: Add alloc_size attribute and apply consistently
36224         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36225         * elf/pldd.c: Likewise.
36226         * iconv/iconv_charmap.c: Likewise.
36227         * iconv/iconvconfig.c: Likewise.
36228         * iconv/strtab.c: Likewise.
36229         * locale/programs/locale.c: Likewise.
36230         * locale/programs/localedef.h: Likewise.
36231         * locale/programs/simple-hash.c: Likewise.
36232         * nscd/nscd.h: Likewise.
36233         * nss/makedb.c: Likewise.
36234         * sysdeps/generic/ldconfig.h: Likewise.
36235         * locale/programs/localedef.c: Remove xmalloc prototype.
36236         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36238 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36240         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36241         appropriate.
36243 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36245         * math/Makefile (tests): Add tst-CMPLX.
36246         * math/tst-CMPLX.c: New file.
36248         * math/complex.h (CMPLXL): Fix typo.
36250         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36251         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36252         GLIBC_2.16.
36253         * debug/tst-chk1.c: Add poll and ppoll tests.
36254         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36255         * include/sys/poll.h: Add hidden proto for ppoll.
36256         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36257         * sysdeps/mach/hurd/ppoll.c: Likewise.
36258         * io/ppoll.c: Likewise.
36259         * debug/poll_chk.c: New file.
36260         * debug/ppoll_chk.c: New file.
36261         * include/bits/poll2.h: New file.
36262         * io/bits/poll2.h: New file.
36264         [BZ #1350]
36265         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36267         * configure.in: static is always set to yes.  Remove.
36268         * config.make.in: Don't set build-static.
36269         * Makeconfig: Remove use of build-static.
36270         * dlfcn/Makefile: Likewise.
36271         * elf/Makefile: Likewise.
36272         * math/Makefile: Likewise.
36273         * misc/Makefile: Likewise.
36274         * nptl/Makefile: Likewise.
36275         * sysdeps/mach/hurd/Makefile: Likewise.
36277         * configure.in: PWD_P is not used anymore.
36278         * config.make.in: Remove PWD_P entry.
36280         * configure.in: Remove last remnants of RANLIB.
36281         No need to check for signed size_t anymore.
36282         Don't set libc_commonpagesize and libc_relro_required here for Alpha
36283         and IA-64.
36284         Remove __builtin_expect test because we require at least gcc 3.4.
36285         * aclocal.m4: Likewise.
36287         * wcsmbs/mbrtoc16.c: Implement using towc function.
36288         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36289         * wcsmbs/wcsmbsload.c: Likewise.
36290         * iconv/gconv_simple.c: Likewise.
36291         * iconv/gconv_int.h: Likewise.
36292         * iconv/gconv_builtin.h: Likewise.
36293         * iconv/iconv_prog.c: Remove CHAR16 handling.
36295         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36297         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36299         * configure.in: Remove --with-elf and --enable-bounded options.
36300         Dont set base_machine for ia64.  More non-ELF conditions removed.
36301         Remove testing and setting of leading underscore information.
36302         * config.make.in (build-bounded): Set to no.
36303         * config.h.in: Remove NO_UNDERSCORES entry.
36304         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
36305         them.
36306         * csu/start.c: Remove !NO_UNDERSCORE code.
36307         * locale/localeinfo.h: Likewise.
36308         * sysdeps/generic/machine-gmon.h: Likewise.
36309         * sysdeps/generic/sysdep.h: Likewise.
36310         * sysdeps/i386/sysdep.h: Likewise.
36311         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36312         * sysdeps/mach/sysdep.h: Likewise.
36313         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36314         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36315         * sysdeps/sh/sysdep.h: Likewise.
36316         * sysdeps/sparc/sparc32/alloca.S: Likewise.
36317         * sysdeps/unix/i386/sysdep.S: Likewise.
36318         * sysdeps/unix/sparc/start.c: Likewise.
36319         * sysdeps/unix/sparc/sysdep.S: Likewise.
36320         * sysdeps/unix/sparc/sysdep.h: Likewise.
36321         * sysdeps/unix/start.c: Likewise.
36322         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36323         * sysdeps/x86_64/sysdep.h: Likewise.
36325 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
36327         [BZ #13553]
36328         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36329         for non-gcc.
36330         * argp/argp-fmtstream.h: Use const instead __const.
36331         * argp/argp.h: Likewise.
36332         * assert/assert.h: Likewise.
36333         * bits/fenv.h: Likewise.
36334         * bits/sched.h: Likewise.
36335         * bits/sigset.h: Likewise.
36336         * bits/sigthread.h: Likewise.
36337         * catgets/nl_types.h: Likewise.
36338         * conform/data/pthread.h-data: Likewise.
36339         * crypt/crypt-private.h: Likewise.
36340         * crypt/crypt.h: Likewise.
36341         * crypt/crypt_util.c: Likewise.
36342         * ctype/ctype.h: Likewise.
36343         * debug/execinfo.h: Likewise.
36344         * debug/mbsnrtowcs_chk.c: Likewise.
36345         * debug/mbsrtowcs_chk.c: Likewise.
36346         * debug/wcsnrtombs_chk.c: Likewise.
36347         * debug/wcsrtombs_chk.c: Likewise.
36348         * debug/wcstombs_chk.c: Likewise.
36349         * dirent/dirent.h: Likewise.
36350         * dlfcn/dlfcn.h: Likewise.
36351         * elf/neededtest4.c: Likewise.
36352         * grp/grp.h: Likewise.
36353         * gshadow/gshadow.h: Likewise.
36354         * iconv/gconv.h: Likewise.
36355         * iconv/gconv_int.h: Likewise.
36356         * iconv/gconv_simple.c: Likewise.
36357         * iconv/iconv.h: Likewise.
36358         * iconv/loop.c: Likewise.
36359         * iconv/skeleton.c: Likewise.
36360         * include/aio.h: Likewise.
36361         * include/aliases.h: Likewise.
36362         * include/argz.h: Likewise.
36363         * include/arpa/inet.h: Likewise.
36364         * include/assert.h: Likewise.
36365         * include/dirent.h: Likewise.
36366         * include/dlfcn.h: Likewise.
36367         * include/execinfo.h: Likewise.
36368         * include/fcntl.h: Likewise.
36369         * include/fenv.h: Likewise.
36370         * include/glob.h: Likewise.
36371         * include/grp.h: Likewise.
36372         * include/libintl.h: Likewise.
36373         * include/mntent.h: Likewise.
36374         * include/netdb.h: Likewise.
36375         * include/pwd.h: Likewise.
36376         * include/rpc/netdb.h: Likewise.
36377         * include/sched.h: Likewise.
36378         * include/search.h: Likewise.
36379         * include/shadow.h: Likewise.
36380         * include/signal.h: Likewise.
36381         * include/stdio.h: Likewise.
36382         * include/stdlib.h: Likewise.
36383         * include/string.h: Likewise.
36384         * include/sys/socket.h: Likewise.
36385         * include/sys/stat.h: Likewise.
36386         * include/sys/statfs.h: Likewise.
36387         * include/sys/statvfs.h: Likewise.
36388         * include/sys/syslog.h: Likewise.
36389         * include/sys/time.h: Likewise.
36390         * include/sys/uio.h: Likewise.
36391         * include/time.h: Likewise.
36392         * include/unistd.h: Likewise.
36393         * include/utmp.h: Likewise.
36394         * include/wchar.h: Likewise.
36395         * include/wctype.h: Likewise.
36396         * inet/aliases.h: Likewise.
36397         * inet/arpa/inet.h: Likewise.
36398         * inet/netinet/ether.h: Likewise.
36399         * inet/netinet/in.h: Likewise.
36400         * intl/libintl.h: Likewise.
36401         * io/bits/fcntl2.h: Likewise.
36402         * io/fcntl.h: Likewise.
36403         * io/ftw.h: Likewise.
36404         * io/sys/poll.h: Likewise.
36405         * io/sys/stat.h: Likewise.
36406         * io/sys/statfs.h: Likewise.
36407         * io/sys/statvfs.h: Likewise.
36408         * io/utime.h: Likewise.
36409         * libio/bits/stdio.h: Likewise.
36410         * libio/bits/stdio2.h: Likewise.
36411         * libio/libio.h: Likewise.
36412         * libio/libioP.h: Likewise.
36413         * libio/stdio.h: Likewise.
36414         * locale/lc-ctype.c: Likewise.
36415         * locale/locale.h: Likewise.
36416         * login/utmp.h: Likewise.
36417         * malloc/arena.c: Likewise.
36418         * malloc/malloc.c: Likewise.
36419         * malloc/malloc.h: Likewise.
36420         * malloc/mcheck.c: Likewise.
36421         * malloc/mtrace.c: Likewise.
36422         * math/bits/mathcalls.h: Likewise.
36423         * math/fenv.h: Likewise.
36424         * math/math_private.h: Likewise.
36425         * misc/bits/error.h: Likewise.
36426         * misc/bits/syslog.h: Likewise.
36427         * misc/err.h: Likewise.
36428         * misc/error.h: Likewise.
36429         * misc/fstab.h: Likewise.
36430         * misc/mntent.h: Likewise.
36431         * misc/regexp.h: Likewise.
36432         * misc/search.h: Likewise.
36433         * misc/sgtty.h: Likewise.
36434         * misc/sys/mman.h: Likewise.
36435         * misc/sys/syslog.h: Likewise.
36436         * misc/sys/uio.h: Likewise.
36437         * misc/sys/xattr.h: Likewise.
36438         * misc/ttyent.h: Likewise.
36439         * nis/rpcsvc/ypclnt.h: Likewise.
36440         * nss/nss.h: Likewise.
36441         * posix/bits/unistd.h: Likewise.
36442         * posix/fnmatch.h: Likewise.
36443         * posix/glob.h: Likewise.
36444         * posix/sched.h: Likewise.
36445         * posix/spawn.h: Likewise.
36446         * posix/sys/wait.h: Likewise.
36447         * posix/unistd.h: Likewise.
36448         * posix/wordexp.h: Likewise.
36449         * pwd/pwd.h: Likewise.
36450         * resolv/netdb.h: Likewise.
36451         * resource/sys/resource.h: Likewise.
36452         * rt/aio.h: Likewise.
36453         * rt/bits/mqueue2.h: Likewise.
36454         * rt/mqueue.h: Likewise.
36455         * shadow/shadow.h: Likewise.
36456         * signal/signal.h: Likewise.
36457         * socket/send.c: Likewise.
36458         * socket/sendto.c: Likewise.
36459         * socket/sys/socket.h: Likewise.
36460         * stdio-common/printf.h: Likewise.
36461         * stdlib/bits/stdlib.h: Likewise.
36462         * stdlib/fmtmsg.h: Likewise.
36463         * stdlib/monetary.h: Likewise.
36464         * stdlib/stdlib.h: Likewise.
36465         * stdlib/ucontext.h: Likewise.
36466         * streams/stropts.h: Likewise.
36467         * string/argz.h: Likewise.
36468         * string/bits/string2.h: Likewise.
36469         * string/string.h: Likewise.
36470         * string/strings.h: Likewise.
36471         * sunrpc/rpc/auth.h: Likewise.
36472         * sunrpc/rpc/auth_des.h: Likewise.
36473         * sunrpc/rpc/clnt.h: Likewise.
36474         * sunrpc/rpc/netdb.h: Likewise.
36475         * sunrpc/rpc/pmap_clnt.h: Likewise.
36476         * sunrpc/rpc/xdr.h: Likewise.
36477         * sysdeps/generic/inttypes.h: Likewise.
36478         * sysdeps/generic/net/if.h: Likewise.
36479         * sysdeps/generic/sys/swap.h: Likewise.
36480         * sysdeps/gnu/net/if.h: Likewise.
36481         * sysdeps/gnu/utmpx.h: Likewise.
36482         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36483         * sysdeps/i386/i486/bits/string.h: Likewise.
36484         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36485         * sysdeps/s390/bits/string.h: Likewise.
36486         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36487         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36488         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36489         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36490         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36491         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36492         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36493         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36494         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36495         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36496         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36497         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36498         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36499         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36500         * sysdeps/unix/sysv/linux/readv.c: Likewise.
36501         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36502         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36503         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36504         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36505         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36506         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36507         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36508         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36509         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36510         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36511         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36512         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36513         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36514         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36515         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36516         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36517         * sysvipc/sys/ipc.h: Likewise.
36518         * sysvipc/sys/msg.h: Likewise.
36519         * sysvipc/sys/sem.h: Likewise.
36520         * sysvipc/sys/shm.h: Likewise.
36521         * termios/termios.h: Likewise.
36522         * time/sys/time.h: Likewise.
36523         * time/time.h: Likewise.
36524         * wcsmbs/bits/wchar2.h: Likewise.
36525         * wcsmbs/uchar.h: Likewise.
36526         * wcsmbs/wchar.h: Likewise.
36527         * wctype/wctype.h: Likewise.
36529         [BZ #13551]
36530         * Makeconfig: Remove all but ELF support including AIX support.
36531         * Makerules: Likewise.
36532         * config.h.in: Likewise.
36533         * config.make.in: Likewise.
36534         * configure: Likewise.
36535         * configure.in: Likewise.
36536         * csu/Makefile: Likewise.
36537         * csu/version.c: Likewise.
36538         * debug/Makefile: Likewise.
36539         * dlfcn/Makefile: Likewise.
36540         * elf/Makefile: Likewise.
36541         * extra-lib.mk: Likewise.
36542         * iconv/Makefile: Likewise.
36543         * include/libc-symbols.h: Likewise.
36544         * include/shlib-compat.h: Likewise.
36545         * resolv/Makefile: Likewise.
36546         * resolv/res_libc.c: Likewise.
36547         * rt/Makefile: Likewise.
36548         * sysdeps/i386/asm-syntax.h: Likewise.
36549         * sysdeps/i386/sysdep.h: Likewise.
36550         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36551         * sysdeps/mach/sysdep.h: Likewise.
36552         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36553         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36554         * sysdeps/s390/asm-syntax.h: Likewise.
36555         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36556         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36557         * sysdeps/sh/sysdep.h: Likewise.
36558         * sysdeps/unix/sparc/sysdep.h: Likewise.
36559         * sysdeps/wordsize-32/divdi3.c: Likewise.
36560         * sysdeps/x86_64/sysdep.h: Likewise.
36562         * argp/Versions: Remove _argp_unlock_xxx.
36564         [BZ #13559]
36565         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
36566         * abilist/libBrokenLocale.abilist: Likewise.
36567         * abilist/libanl.abilist: Likewise.
36568         * abilist/libc.abilist: Likewise.
36569         * abilist/libcrypt.abilist: Likewise.
36570         * abilist/libdl.abilist: Likewise.
36571         * abilist/libm.abilist: Likewise.
36572         * abilist/libnsl.abilist: Likewise.
36573         * abilist/libpthread.abilist: Likewise.
36574         * abilist/libresolv.abilist: Likewise.
36575         * abilist/librt.abilist: Likewise.
36576         * abilist/libthread_db.abilist: Likewise.
36577         * abilist/libutil.abilist: Likewise.
36578         * abilist/libnss_db.abilist: New file.
36580         * scripts/abilist.awk: Add support for indirect functions.
36582         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36584         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36586         * shlib-versions: Remove entries for ports architectures.
36588         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
36589         files in ports.
36590         * elf/stackguard-macros.h: Remove support for IA-64.
36591         * elf/tst-auditmod1.c: Likewise.
36592         * sysdeps/generic/ldsodefs.h: Likewise.
36594         * sysdeps/unix/sysv/linux/configure.in: Ports should define
36595         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36596         configure files.
36598         [BZ #13552]
36599         * configure.in: Remove --enable-omitfp support.
36600         * FAQ.in: Adjust.
36601         * config.make.in: Likewise.
36602         * Makeconfig: Likewise.
36603         * manual/install.texi: Likewise.
36605         In case anyone cares, the IA-64 architecture could move to ports.
36606         * sysdeps/ia64/*: Removed.
36607         * sysdeps/unix/sysv/linux/ia64/*: Removed.
36608         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36610         [BZ #13555]
36611         * configure.in: Remove entries for unsupported architectures.
36613         [BZ #13533]
36614         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36615         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
36616         routines.
36617         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36618         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36619         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
36620         fall back to using wcrtomb.
36621         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36622         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
36623         renaming.
36624         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36625         * wcsmbs/tst-c16c32-1.c: New file.
36627         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36628         local variable.
36630         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36632         * elf/tst-unique3.cc: Add explicit declaration of gets.
36633         * elf/tst-unique3lib.cc: Likewise.
36634         * elf/tst-unique3lib2.cc: Likewise.
36635         * elf/tst-unique4.cc: Likewise.
36637         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36639 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
36641         [BZ #13566]
36642         * assert/assert.h (static_assert): Don't define for C++.
36643         * libio/stdio.h (gets): Do declare for C++ <= C++11.
36644         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36646 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
36648         * iconv/loop.c (single loop): Fix assertion in storing of
36649         remaining bytes.
36651         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36653 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
36655         * posix/getconf.c: Update copyright year.
36656         * nss/getent.c: Likewise.
36657         * nss/makedb.c: Likewise.
36658         * iconv/iconvconfig.c: Likewise.
36659         * iconv/iconv_prog.c: Likewise.
36660         * elf/ldconfig.c: Likewise.
36661         * elf/pldd.c: Likewise.
36662         * elf/sotruss.ksh: Likewise.
36663         * catgets/gencat.c: Likewise.
36664         * csu/version.c: Likewise.
36665         * elf/ldd.bash.in: Likewise.
36666         * elf/sprof.c (print_version): Likewise.
36667         * locale/programs/locale.c: Likewise.
36668         * locale/programs/localedef.c: Likewise.
36669         * login/programs/pt_chown.c: Likewise.
36670         * nscd/nscd.c (print_version): Likewise.
36671         * debug/xtrace.sh: Likewise.
36672         * malloc/memusage.sh: Likewise.
36673         * malloc/mtrace.pl: Likewise.
36674         * debug/catchsegv.sh: Likewise.
36676 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
36678         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36679         pure attribute.
36681 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
36683         [BZ #13533]
36684         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36685         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36686         transformations.
36687         * iconv/gconv_int.h: Likewise.
36688         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36689         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36690         from libc for GLIBC_2.16.
36691         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36692         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36693         * wcsmbs/uchar.h: Really define mbstate_t.
36694         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36695         * wcsmbs/c16rtomb.c: New file.
36696         * wcsmbs/mbrtoc16.c: New file.
36697         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36698         for C/POSIX locale.
36699         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36700         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36702         * wcsmbs/wchar.h: Add missing __restrict.
36704 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36706         [BZ #13532]
36707         * time/Makefile (routines): Add timespec_get.
36708         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36709         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
36710         timespec for ISO C11.
36711         * time/timespec_get.c: New file.
36712         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36713         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36715         [BZ #13531]
36716         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36717         * stdlib/stdlib.h: Declare aligned_alloc.
36718         * Versions.def: Add GLIBC_2.16 for libc.
36719         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36721         [BZ 13527]
36722         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36723         ISO C11.
36725         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36726         code.
36728         [BZ #13528]
36729         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36731         [BZ #13529]
36732         * assert/assert.h (static_assert): Define.
36734         * version.h: Update for 2.16 development version.
36736         [BZ #13526]
36737         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36738         _ISOC11_SOURCE.
36740         * version.h (RELEASE): Bump for 2.15 release.
36741         * include/features.h (__GLIBC_MINOR__): Bump to 15.
36743         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36744         Patch by Marek Polacek <mpolacek@redhat.com>.
36746         * bits/byteswap.h: Protect long long constants with __extension__.
36747         * sysdeps/i386/bits/byteswap.h: Likewise.
36748         * sysdeps/ia64/bits/byteswap.h: Likewise.
36749         * sysdeps/s390/bits/byteswap.h: Likewise.
36750         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36752 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36754         [BZ #13540]
36755         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36756         destination buffer.
36757         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36759 2011-12-23  Marek Polacek  <polacek@redhat.com>
36761         * elf/dl-addr.c (determine_info): Add inline keyword.
36762         * elf/tst-auditmod4b.c (check_avx): Likewise.
36763         * elf/tst-auditmod6b.c (check_avx): Likewise.
36764         * elf/tst-auditmod6c.c (check_avx): Likewise.
36765         * elf/tst-auditmod7b.c (check_avx): Likewise.
36767 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36769         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36770         !__SSE_MATH__.
36772 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36774         [BZ #13540]
36775         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36776         processing for last bytes.
36778 2011-08-06  Bruno Haible  <bruno@clisp.org>
36780         [BZ #13061]
36781         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36782         U+0385, not to U+1FEE.
36784         [BZ #13062]
36785         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36786         entry for U+00A5 U+0301.
36788 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36790         [BZ #13166]
36791         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36792         buffer for the output is too small.
36794         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36795         optimization.
36797         [BZ #13185]
36798         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36799         SSE flags if possible.
36801 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36803         [BZ #13540]
36804         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36805         processing for last bytes.
36807 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
36809         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36810         (syscall-list-default-options, syscall-list-default-condition)
36811         (syscall-list-includes): Define.
36812         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36813         list of ABIs and options and #if conditions for each ABI.  Do not
36814         handle common syscalls between ABIs specially.
36815         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36816         Remove.
36817         (syscall-list-variants, syscall-list-32bit-options)
36818         (syscall-list-32bit-condition, syscall-list-64bit-options)
36819         (syscall-list-64bit-condition): Define.
36820         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36821         (syscall-list-variants, syscall-list-32bit-options)
36822         (syscall-list-32bit-condition, syscall-list-64bit-options)
36823         (syscall-list-64bit-condition): Define.
36824         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36825         Remove.
36826         (syscall-list-variants, syscall-list-32bit-options)
36827         (syscall-list-32bit-condition, syscall-list-64bit-options)
36828         (syscall-list-64bit-condition): Define.
36829         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36830         Remove.
36831         (syscall-list-variants, syscall-list-32bit-options)
36832         (syscall-list-32bit-condition, syscall-list-64bit-options)
36833         (syscall-list-64bit-condition): Define.
36835 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36837         * locale/iso-639.def: Add brx entry.
36839         [BZ #13328]
36840         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36841         Proposed by Mariusz_Cukr <marcukr@op.pl>.
36843         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36844         __feraiseexcept_renamed.
36846 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36848         [BZ #13538]
36849         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36850         EPOLLET with unsigned values.
36851         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36852         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36854         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36855         to large cancellation.
36856         * math/s_cacoshf.c: Likewise.
36857         * math/s_cacoshl.c: Likewise.
36859 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
36861         [BZ #13305]
36862         [BZ #12786]
36863         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36864         * math/s_cacoshf.c: Likewise.
36865         * math/s_cacoshl.c: Likewise.
36867 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36869         [BZ #13439]
36870         * iconv/gconv.h: Define __GCONV_SWAP.
36871         * iconvdata/unicode.c: The swap bit must be stored in __flags.
36872         * iconvdata/utf-16.c: Likewise.
36873         * iconvdata/utf-32.c: Likewise.
36875 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36877         [BZ #13524]
36878         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36879         numerator after shifting it by one limb.
36881 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
36883         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36884         under [__USE_EXTERN_INLINES].
36886 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36888         [BZ #13446]
36889         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36891 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36893         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36894         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36895         optimized code.
36896         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36897         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36898         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36899         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36900         for strncasecmp/strncasecmp_l compilation.
36901         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36902         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36904 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
36906         [BZ #13484]
36907         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36908         of __asm__.
36910 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36912         [BZ #13506]
36913         * time/tzfile.c (__tzfile_read): Check values from file header.
36915 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36917         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36918         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36919         * powerpc/powerpc32/dl-start.S: Likewise.
36920         * powerpc/powerpc32/elf/start.S: Likewise.
36921         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36922         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36923         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36924         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36925         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36926         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36927         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36928         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36929         * powerpc/powerpc32/fpu/s_round.S: Likewise.
36930         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36931         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36932         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36933         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36934         * powerpc/powerpc32/memset.S: Likewise.
36935         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36936         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36937         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36938         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36939         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36940         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36941         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36942         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36943         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36944         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36945         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36946         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36947         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36949 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36951         * math/libm-test.inc: Added more nearbyint tests.
36952         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36953         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36954         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36955         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36957 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
36959         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36960         FD_CLOEXEC.
36962 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36964         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36965         Add wcscpy-ssse3 wcscpy-c.
36966         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36967         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36968         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36969         * sysdeps/x86_64/wcschr.S: New file.
36970         * sysdeps/x86_64/wcsrchr.S: New file.
36971         * string/test-strcmp.c: Remove checking of wcscmp function for
36972         wrong alignments.
36973         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36974         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36975         wcsrchr-sse2 wcsrchr-c.
36976         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36977         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36978         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36979         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36980         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36981         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36982         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36983         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36984         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36985         * wcsmbc/wcschr.c (WCSCHR): New macro.
36987 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36989         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36990         * wcsmbs/test-wcsrchr.c: New file.
36991         * string/test-strrchr.c: Add wcsrchr support.
36992         (WIDE): New macro.
36993         * wcsmbs/test-wcscpy.c: New file.
36994         * string/test-strcpy.c: Add wcscpy support.
36995         (WIDE): New macro.
36997 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
36999         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37000         the inner loop.
37002 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
37004         [BZ #13472]
37005         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37007 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
37009         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37010         Minor optimizations.
37012         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37013         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37014         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37016 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
37018         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37019         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37020         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37021         for gcc to avoid warnings.
37022         * inet/Makefile (tests): Add tst-checks.
37023         * inet/tst-checks.c: New file.
37025         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37026         warning.
37028         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37029         __wmemcmp_sse2.
37031         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37032         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37034         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37036 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
37038         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37039         problem.
37041         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37043 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
37045         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37046         conditional on GCC version.
37047         (__arch_compare_and_exchange_val_8_acq)
37048         (__arch_compare_and_exchange_val_16_acq)
37049         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37050         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37051         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37053 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
37055         * sysdeps/sh/backtrace.c: New file.
37057 2011-12-02  Andreas Schwab  <schwab@redhat.com>
37059         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
37060         parenthesis.
37062 2011-12-01  Andreas Schwab  <schwab@redhat.com>
37064         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37065         falling back to utime.
37067 2011-11-30  Andreas Schwab  <schwab@redhat.com>
37069         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37070         expectations for float.
37072 2011-11-29  Andreas Schwab  <schwab@redhat.com>
37074         * locale/weight.h (findidx): Add parameter len.
37075         * locale/weightwc.h (findidx): Likewise.
37076         * posix/fnmatch_loop.c (FCT): Adjust caller.
37077         * posix/regcomp.c (build_equiv_class): Likewise.
37078         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37079         * posix/regexec.c (check_node_accept_bytes): Likewise.
37080         * string/strcoll_l.c (STRCOLL): Likewise.
37081         * string/strxfrm_l.c (STRXFRM): Likewise.
37083 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
37085         * Makefile.in: Remove CVSOPT handling.
37086         * configure.in: Remove use of AC_REVISION.
37087         * iconvdata/Makefile (distribute): No need to filter out CVS.
37088         * scripts/list-sources.sh: Remove CVS, subversion and monotone
37089         handling.
37091 2011-11-16  Andreas Schwab  <schwab@redhat.com>
37093         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37094         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37095         [USE_AS_STRNCASECMP_L]: Likewise.
37096         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37097         NO_TLS_DIRECT_SEG_REFS.
37098         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37099         Fix argument offsets for non-PIC.
37100         [USE_AS_STRNCASECMP_L]: Likewise.
37101         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37102         NO_TLS_DIRECT_SEG_REFS.
37104 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37106         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37107         O_CLOEXEC.
37108         * locale/loadlocale.c (_nl_load_locale): Likewise.
37110 2011-11-15  Andreas Schwab  <schwab@redhat.com>
37112         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37113         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37114         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37115         (SYSCALL_GETTIME): Set errno on error.
37117         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37118         count references to noai6ai_cached.
37120 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37122         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37124         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37125         FD_CLOEXEC for /proc/self/maps.
37127         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37128         FD_CLOEXEC for /proc/meminfo.
37130         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37131         gai.conf.
37133         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
37134         FD_CLOEXEC for given file.
37136         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37138         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37139         FD_CLOEXEC for /etc/hosts.
37140         (_gethtent): Likewise.
37142         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37144         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37145         cancellation and set FD_CLOEXEC for /etc/netgroup.
37147         * nss/nss_files/files-key.c (search): Don't allow cancellation when
37148         reading /etc/publickey.
37150         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37151         allow cancellation when reading /etc/group.
37153         * nss/nss_files/files-alias.c (internal_setent): Don't allow
37154         cancellation.
37155         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
37157         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37158         when using data file.
37160         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37162         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37163         (write_nis_obj): Use "c" and "e" in fopen.
37165         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37167         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37169         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37171         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37173         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37174         locale.alias.
37176         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37178         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37180         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37182         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37183         file parsing and set FD_CLOEXEC.
37185 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37187         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37189 2011-11-14  Andreas Schwab  <schwab@redhat.com>
37191         * malloc/arena.c (arena_get2): Don't call reused_arena when
37192         _int_new_arena failed.
37194 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37196         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37197         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37198         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37199         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37200         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37201         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37202         to compile strcasecmp and strncasecmp.
37203         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37204         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37206         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37208 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
37210         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37211         locale-defines.sym to gen-as-const-headers.
37212         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37213         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37214         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37215         to compile strcasecmp and strncasecmp.
37216         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37217         strcasecmp_l and strncasecmp_l.
37218         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37219         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37220         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37221         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37222         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37223         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37224         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37225         * sysdeps/i386/i686/multiarch/strncase.S: New file.
37226         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37227         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37228         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37230 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
37232         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37233         result of SYSDEP_GETTIME_CPU to retval.
37234         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37235         parameter list to macro.  Remove trailing semicolon.  Adjust users.
37237         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37238         variable.
37240         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37241         mantissa words.
37242         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37244         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37245         from unused variable.
37247         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37248         DWARF definitions.
37249         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37250         for assembling.
37252         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37253         over namespaces.
37255         * sunrpc/rpc_prot.c (rejected): Fix case value.
37257         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37258         unsigned long long int to avoid warnings in shift.
37260         * posix/regex_internal.c (re_string_reconstruct): Actually use result
37261         of use of trans.
37262         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37263         variable tmp.
37265         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37266         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37267         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37269         * nis/nis_table.c (nis_list): Use variable of correct type for
37270         result of __follow_path call.
37272 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37274         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37275         of math functions ceil, trunc, floor, round, and sqrt, when
37276         avaliable on the platform.
37277         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37278         name clash.
37279         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37280         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37281         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37283 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
37285         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37286         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37288 2011-11-11  Roland McGrath  <roland@hack.frob.com>
37290         * include/unistd.h: Fix __readlink return type.
37291         Reported by Chris Metcalf <cmetcalf@tilera.com>.
37293 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
37295         * stdlib/ucontext.h: Undo last change for makecontext.
37297 2011-11-11  Andreas Schwab  <schwab@redhat.com>
37299         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37301         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37302         * setjmp/setjmp.h: Mark functions as non-leaf.
37303         * setjmp/bits/setjmp2.h: Likewise.
37304         * stdlib/ucontext.h: Likewise.
37306 2011-11-10  Andreas Schwab  <schwab@redhat.com>
37308         * malloc/arena.c (_int_new_arena): Don't increment narenas.
37309         (reused_arena): Don't check arena limit.
37310         (arena_get2): Atomically check arena limit.
37312 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
37314         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37315         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37317         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37318         instructions.
37320 2011-11-07  Andreas Schwab  <schwab@redhat.com>
37322         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37323         handler when locking.
37325         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37326         Fix size of allocated buffer.
37328 2011-11-04  Andreas Schwab  <schwab@redhat.com>
37330         [BZ #10103]
37331         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37332         declarations for long double functions.
37333         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37335         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37337 2011-11-03  Andreas Schwab  <schwab@redhat.com>
37339         * nscd/nscd.c (main): Don't start AVC thread until credentials are
37340         installed.
37342         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37343         is disabled.
37345 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37347         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37349 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37351         * include/alloca.h (stackinfo_alloca_round): Define.
37352         (extend_alloca): Use it.
37353         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37354         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37355         here.
37357         * scripts/check-local-headers.sh: Ignore libaudit.h.
37359         * nscd/Makefile (extra-objs): Make recursively expanded.
37361 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
37363         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37364         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37366         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37367         * posix/tst-rfc3484-2.c: Likewise.
37368         * posix/tst-rfc3484-3.c: Likewise.
37370         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37371         process_vm_writev.
37372         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37373         process_vm_writev.
37374         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37375         process_vm_writev from libc using GLIBC_2.15 version.
37377         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37379 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
37381         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37382         stack usage.
37384 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
37386         [BZ #13367]
37387         * nss/getent.c (initgroups_keys): Show error message in case no group
37388         names are given.
37390         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37391         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37392         __bump_nl_timestamp.
37393         * nscd/connections (nscd_init): When host database is served open
37394         netlink socket and request notification about configuration changes.
37395         (main_loop_poll): Track netlink file descriptor and bump timestamp
37396         in case data becomes available.
37397         (main_loop_epoll): Likewise.
37398         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37399         (database_pers_head): Add extra_data fileds.
37400         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37401         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37402         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37403         Adjust caller.
37404         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37405         in6ai data, call __free_in6ai.
37406         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37407         Add -DHAVE_NETLINK.
37408         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
37409         interface information.  Reuse previous data if netlink timestamp
37410         is not changed.
37411         (__bump_nl_timestamp): New function.
37412         (__free_in6ai): New function.
37414 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
37416         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37417         close_not_cancel_no_status here.
37418         (__check_pf): Reorganize code a bit to not call close twice if OOM.
37420 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37422         [BZ #13276]
37423         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37424         return value.
37426         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37427         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37428         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37430 2011-07-03  Andreas Jaeger  <aj@suse.de>
37432         [BZ #10709]
37433         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37434         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37435         * math/libm-test.inc (sin_test): Add test case.
37437 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37439         [BZ #13337]
37440         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37441         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37443         * elf/chroot_canon.c (chroot_canon): Cleanups.
37445         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37447         [BZ #13335]
37448         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37449         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37451         * string/test-strchr.c: Make usable for strchrnul testing.
37452         * string/test-strchrnul.c: New file.
37453         * string/Makefile (strop-tests): Add strchrnul.
37455         * po/it.po: Update from translation team.
37456         * po/es.po: Likewise.
37458 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
37460         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37461         the three constants needed as parameters.  Drop the others.
37462         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37463         __m128i_strloadu_tolower.
37464         Create and initialize variable zero and use it in all the places
37465         where _mm_setzero_si128 was used.
37467         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37468         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37469         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37470         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37471         anymore.
37472         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37473         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37474         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37475         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37476         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37477         __mpranred, __mptan.
37478         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37479         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37480         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37481         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37482         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37483         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37484         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37485         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37486         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37488 2011-10-28  Andreas Schwab  <schwab@redhat.com>
37490         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37491         redefine if SHARED.
37492         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37494         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37495         wide char related routines to wcsmbs subdir.
37497 2011-10-27  Andreas Schwab  <schwab@redhat.com>
37499         [BZ #13344]
37500         * misc/sys/cdefs.h (__THROWNL): Define.
37501         * posix/unistd.h: Use __THREADNL instead of __THREAD
37502         for memory synchronization functions.
37504 2011-10-26  Roland McGrath  <roland@hack.frob.com>
37506         [BZ #13349]
37507         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37508         doesn't exist.
37509         * manual/stdio.texi (Obstack Streams): Node removed.
37511 2011-10-26  Andreas Schwab  <schwab@redhat.com>
37513         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37514         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37515         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37517         * math/math_private.h (math_force_eval): Allow non-addressable
37518         arguments.
37519         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37521 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37523         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37524         file is not needed.
37526         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37527         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37528         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37529         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37530         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37531         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37532         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37533         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37534         Add AVX variants.
37535         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37536         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37537         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37538         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37539         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37540         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37541         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37542         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37543         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37544         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37545         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37546         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37547         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37548         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37549         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37550         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37551         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37552         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37553         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37555         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37556         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
37558         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37559         place.  Use VEX encoding when compiling for AVX.
37561 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37563         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37564         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37566         * string/test-strchr.c (do_test): Don't generate NUL bytes.
37568 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37570         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37571         useless if() expression.
37572         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37573         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37574         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37575         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37576         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37577         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37578         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37579         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37580         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37581         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37582         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37583         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37584         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37585         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37586         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37587         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37588         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37589         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37590         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37592         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37594 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37596         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37597         condition.
37598         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37600 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37602         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37603         .text section.  Avoid duplicate constants.
37604         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37606         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37607         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37608         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37611         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37612         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37613         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37614         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37615         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37616         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37617         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37618         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37619         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37620         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37621         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37622         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37623         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37624         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37625         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37626         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37627         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37628         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37629         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37630         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37631         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37632         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37633         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37634         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37635         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37636         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37637         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37638         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37639         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37640         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37641         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37642         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37643         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37644         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37645         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37646         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37647         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37648         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37650 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
37652         * sysdeps/x86_64/dla.h: Move to ...
37653         * sysdeps/x86_64/fpu/dla.h: ...here.
37654         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37655         situations.  Use __builtin_fma only for gcc 4.6 and up.
37657         * config.make.in: Add have-mfma4 entry.
37658         * configure.in: Substitute libc_cv_cc_fma4.
37659         * math/Makefile (dbl-only-routines): Add sincostab.
37660         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37661         Use __sincostab not sincos.
37662         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37663         name is a macro.
37664         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37665         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37666         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37667         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
37668         using __copysign.
37669         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
37670         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
37671         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37672         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37673         and __inv.
37674         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37675         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37676         __copysign.
37677         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
37678         define aliases when function name is a macro.
37679         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37680         sysdeps/ieee754/dbl-64/sincos.tbl.
37681         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37682         fma4-enabled routines.
37683         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37684         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37685         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37686         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37687         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37688         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37689         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37690         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37691         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37692         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37693         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37694         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37695         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37696         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37697         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37698         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37699         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37700         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37701         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37702         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37703         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37704         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37705         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37706         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37707         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37708         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37709         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37710         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37711         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37712         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37714         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37715         rename.
37716         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37718         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37719         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37720         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37721         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37722         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37723         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37725 2011-10-24  Andreas Schwab  <schwab@redhat.com>
37727         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37729 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37731         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37733         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37734         prediction.
37735         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37737         * string/strnlen.c: Don't define STRNLEN, reverse logic.
37738         Remove unused variable magic_bits.
37739         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37741         * string/strnlen.c: Define and use STRNLEN macro.
37742         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37743         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37744         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37745         * wcsmbs/wcslen.c: Define and use WCSLEN.
37746         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37747         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37748         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37749         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37750         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37751         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37752         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37754 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37757         strnlen-sse2-no-bsf.
37758         Rename strlen-no-bsf to strlen-sse2-no-bsf.
37759         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37760         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37761         Add strnlen support.
37762         (USE_AS_STRNLEN): New macro.
37763         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37764         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37765         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37766         * sysdeps/x86_64/wcslen.S: New file.
37768 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
37770         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37771         XMM-moves are used for copying on small sizes.
37773 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37775         * wcsmbs/Makefile (strop-tests): Add wcschr.
37776         * wcsmbs/test-wcschr.c: New file.
37777         * string/test-strchr.c: Update.
37778         Add wcschr support.
37779         (WIDE): New macro.
37781 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37783         * wcsmbs/Makefile (strop-tests): Add wcslen.
37784         * wcsmbs/test-wcslen.c: New file.
37785         * string/test-strlen.c: Update.
37786         Add wcslen support.
37787         (WIDE): New macro.
37789 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37791         * po/it.po: Update from translation team.
37793 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37795         * sysdeps/x86_64/wcscmp.S: Update.
37796         Fix wrong comparison semantics.
37797         wcscmp shall use signed comparison not unsigned.
37798         Don't use substraction to avoid overflow bug.
37799         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37800         * wcsmbc/wcscmp.c: Likewise.
37801         * string/test-strcmp.c: Likewise.
37802         Add new tests to check cases with negative values.
37804 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37806         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37807         * sysdeps/x86_64/dla.h: ...here.  New file.
37808         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37809         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37810         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37811         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37813         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37814         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37815         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37816         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37818 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
37820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37821         __ynl_finite aliases.
37823 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37827         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37828         define DLA_FMA.
37829         [DLA_FMA] (EMULV): Use DLA_FMA.
37830         [DLA_FMA] (MUL12): Use EMULV.
37831         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37832         that are not needed.
37833         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37835         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37837         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37838         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37839         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37841 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
37843         * math/s_nan.c: Undef __nan.
37844         * math/s_nanf.c: Undef __nanf.
37845         * math/s_nanl.c: Undef __nanl.
37846         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37847         "math_private.h".
37849 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37851         * math/s_catan.c: Add branch predictions.
37852         * math/s_catanf.c: Likewise.
37853         * math/s_catanh.c: Likewise.
37854         * math/s_catanhf.c: Likewise.
37855         * math/s_catanhl.c: Likewise.
37856         * math/s_catanl.c: Likewise.
37857         * math/s_cexp.c: Likewise.
37858         * math/s_cexpf.c: Likewise.
37859         * math/s_cexpl.c: Likewise.
37860         * math/s_clog.c: Likewise.
37861         * math/s_clog10.c: Likewise.
37862         * math/s_clog10f.c: Likewise.
37863         * math/s_clog10l.c: Likewise.
37864         * math/s_clogf.c: Likewise.
37865         * math/s_clogl.c: Likewise.
37866         * math/s_csqrt.c: Likewise.
37867         * math/s_csqrtf.c: Likewise.
37868         * math/s_csqrtl.c: Likewise.
37869         * math/s_ctanf.c: Likewise.
37870         * math/s_ctanh.c: Likewise.
37871         * math/s_ctanhf.c: Likewise.
37872         * math/s_ctanhl.c: Likewise.
37873         * math/s_ctanl.c: Likewise.
37875         * math/math_private.h: Define __nan, __nanf, __nanl.
37876         * math/s_cacosh.c: Include <math_private.h>.
37877         * math/s_cacoshl.c: Likewise.
37878         * math/s_casinh.c: Likewise.
37879         * math/s_casinhf.c: Likewise.
37880         * math/s_casinhl.c: Likewise.
37881         * math/s_ccos.c: Rely entire on ccosh.
37882         * math/s_ccosf.c: Rely entire on ccoshf.
37883         * math/s_ccosl.c: Rely entirely on ccoshl.
37884         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
37885         Remove tests for FE_INVALID.
37886         * math/s_ccoshf.c: Likewise.
37887         * math/s_ccoshl.c: Likewise.
37888         * math/s_csin.c: Likewise.
37889         * math/s_csinf.c: Likewise.
37890         * math/s_csinh.c Likewise.
37891         * math/s_csinhf.c: Likewise.
37892         * math/s_csinhl.c: Likewise.
37893         * math/s_csinl.c: Likewise.
37894         * math/s_ctan.c: Likewise.
37895         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37896         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37897         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37899 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
37901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37902         compilation problems.
37904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37905         __builtin_expect.
37907 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
37909         * sysdeps/i386/configure.in: Test for -mfma4 option.
37910         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37911         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37912         COMMON_CPUID_INDEX_80000001.
37913         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37914         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37915         use it if FMA3 is not supported.
37916         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37918         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37919         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37921 2011-10-20  Andreas Schwab  <schwab@redhat.com>
37923         [BZ #12892]
37924         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37925         it would create a cycle with a link time dependency.
37927 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
37929         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37930         instruction.
37931         * string/Makefile (strop-tests): Add rawmemchr.
37932         * string/test-rawmemchr.c: New file.
37934         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37935         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
37936         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
37937         when compiling str{,n}casecmp and when AVX is available.  Hook up
37938         new optimized code in initializers.
37940 2011-10-19  Andreas Schwab  <schwab@redhat.com>
37942         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37943         __feraiseexcept instead of feraiseexcept.
37945 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
37947         * math/math_private.h: Define defaults for libc_fetestexcept and
37948         libc_feupdateenv.
37949         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37950         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37951         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37952         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37953         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37954         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37955         libc_fetestexcept and libc_feupdateenv.
37957         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37958         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37959         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37960         * sysdeps/x86_64/fpu/math_private.h: Define special version of
37961         libc_feholdexcept_setround.
37963         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37964         Add s_nearbyint-c and s_nearbyintf-c.
37965         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37966         nearbyintf inlines.
37967         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37968         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37969         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37970         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37972         * math/math_private.h: Define defaults for libc_fegetround,
37973         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37974         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37975         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37976         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37977         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37978         standard functions.
37979         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37980         Remove comments and hacks for old compiler versions.
37981         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37982         libc_fegetround, libc_fesetround, libc_feholdexcept, and
37983         libc_feholdexceptl.
37985 2011-10-18  Andreas Schwab  <schwab@redhat.com>
37987         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37988         (__feraiseexcept_renamed): Add __NTH.
37989         (feraiseexcept): Add __NTH.  Rename local variables to fix
37990         namespace violations.
37992 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
37994         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37996         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37998         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37999         recently added interfaces.
38000         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38002         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38003         about macro parameter expansion.
38005         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38006         __NO_MATH_INLINES is defined.  Cleanups.
38008         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38009         and __floorf is target has SSE4.1.
38010         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38011         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38012         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38013         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38015         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38016         name.
38017         (floorf): Likewise.
38019         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38021 2011-10-17  Andreas Schwab  <schwab@redhat.com>
38023         * misc/sys/cdefs.h: Fix last change.
38025         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38026         database lookup.
38028 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
38030         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38032         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38033         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38034         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38035         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38036         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38037         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38038         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38039         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38040         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38041         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38042         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38043         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38044         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38045         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38046         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38047         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38048         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38049         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38050         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38051         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38052         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38053         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38055         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38056         ceil, ceilf, floor, floorf.
38058         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38059         Perform IRELATIVE relocations last.
38061         * elf/do-rel.h: Add another parameter nrelative, replacing the
38062         local variable with the same name.  Change name of the function
38063         to end in Rel or Rela (uppercase).
38064         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38065         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
38066         elf_dynamic_do_##reloc function.
38068 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38070         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38071         is sufficient, at least on modern CPUs.
38073         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38075         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38076         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38078         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38079         __expl_finite.
38080         * math/bits/math-finite.h: Add entries for exp.
38081         * math/e_expl.c: Add __*_finite alias.
38082         * sysdeps/i386/fpu/e_exp.S: Likewise.
38083         * sysdeps/i386/fpu/e_expf.S: Likewise.
38084         * sysdeps/i386/fpu/e_expl.c: Likewise.
38085         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38086         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38087         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38089         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38090         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38091         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38093         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38094         is sufficient, at least on modern CPUs.
38096         * ctype/ctype-info.c (__ctype_init): Define.
38097         * include/ctype.h (__ctype_init): Declare.
38098         (__ctype_b_loc): The variable is always initialized.
38099         (__ctype_toupper_loc): Likewise.
38100         (__ctype_tolower_loc): Likewise.
38101         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38102         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38104 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
38106         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38108         * configure.in: Also look in $cxxmachine/include for C++ system
38109         headers.
38111 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38113         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38114         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38115         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38116         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
38117         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38118         (USE_AS_WMEMCMP): New macro.
38119         Fixing indents.
38120         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38121         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38122         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38123         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38124         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38125         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38126         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38127         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38128         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38129         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38130         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38131         (USE_AS_WMEMCMP): New macro.
38132         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38133         * sysdeps/string/test-memcmp.c: Update.
38134         Fix simple_wmemcmp.
38135         Add new tests.
38136         * wcsmbs/wmemcmp.c: Update.
38137         (WMEMCMP): New macro.
38138         Fix overflow bug.
38140 2011-10-12  Andreas Jaeger  <aj@suse.de>
38142         [BZ #13268]
38143         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38145 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38147         * libio/iofwide.c (do_length): Avoid warning.
38149         * ctype/ctype.h (__isctype_f): Add missing __THROW.
38151 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
38153         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38155         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38156         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38157         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38158         * sysdeps/i386/i686/fpu/e_log.S: New file.
38159         * sysdeps/i386/i686/fpu/e_logf.S: New file.
38160         * sysdeps/i386/i686/fpu/e_logl.S: New file.
38162         * ctype/ctype.h: Add support for inlined isXXX functions when
38163         compiling C++ code.
38165 2011-10-14  Andreas Schwab  <schwab@redhat.com>
38167         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38169         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38171 2011-10-13  Roland McGrath  <roland@hack.frob.com>
38173         [BZ #13291]
38174         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38176 2011-10-13  Andreas Schwab  <schwab@redhat.com>
38178         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38179         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38180         feraiseexcept.
38182         * sysdeps/x86_64/memrchr.S: Check for zero size.
38184         * string/stratcliff.c: Add memrchr tests.
38186 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38188         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38189         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38190         rawmemchr-sse2 rawmemchr-sse2-bsf.
38191         * sysdeps/i386/i686/multiarch/memchr.S: New file.
38192         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38193         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38194         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38195         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38196         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38197         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38198         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38199         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38200         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38201         * string/memrchr.c (MEMRCHR): New macro.
38203 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
38205         Add integration with gcc's -ffinite-math-only and optimize wrapper
38206         functions in libm.
38207         * Versions.def: Define GLIBC_2.15 version for libm.
38208         * math/Makefile (headers): Add bits/math-finite.h.
38209         * math/bits/math-finite.h: New file.
38210         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38211         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38212         * math/e_acoshl.c: Add __*_finite alias.
38213         * math/e_acosl.c: Likewise.
38214         * math/e_asinl.c: Likewise.
38215         * math/e_atan2l.c: Likewise.
38216         * math/e_atanhl.c: Likewise.
38217         * math/e_coshl.c: Likewise.
38218         * math/e_exp10.c: Likewise.
38219         * math/e_exp10f.c: Likewise.
38220         * math/e_exp10l.c: Likewise.
38221         * math/e_exp2l.c: Likewise.
38222         * math/e_fmodl.c: Likewise.
38223         * math/e_gammal_r.c: Likewise.
38224         * math/e_hypotl.c: Likewise.
38225         * math/e_j0l.c: Likewise.
38226         * math/e_j1l.c: Likewise.
38227         * math/e_jnl.c: Likewise.
38228         * math/e_lgammal_r.c: Likewise.
38229         * math/e_log10l.c: Likewise.
38230         * math/e_log2l.c: Likewise.
38231         * math/e_logl.c: Likewise.
38232         * math/e_powl.c: Likewise.
38233         * math/e_sinhl.c: Likewise.
38234         * math/e_sqrtl.c: Likewise.
38235         * math/e_scalb.c: Completely rewritten and optimized.
38236         * math/e_scalbf.c: Likewise.
38237         * math/e_scalbl.c: Likewise.
38238         * math/w_acos.c: Likewise.
38239         * math/w_acosf.c: Likewise.
38240         * math/w_acosl.c: Likewise.
38241         * math/w_acosh.c: Likewise.
38242         * math/w_acoshf.c: Likewise.
38243         * math/w_acoshl.c: Likewise.
38244         * math/w_asin.c: Likewise.
38245         * math/w_asinf.c: Likewise.
38246         * math/w_asinl.c: Likewise.
38247         * math/w_atan2.c: Likewise.
38248         * math/w_atan2f.c: Likewise.
38249         * math/w_atan2l.c: Likewise.
38250         * math/w_atanh.c: Likewise.
38251         * math/w_atanhf.c: Likewise.
38252         * math/w_atanhl.c: Likewise.
38253         * math/w_exp10.c: Likewise.
38254         * math/w_exp10f.c: Likewise.
38255         * math/w_exp10l.c: Likewise.
38256         * math/w_fmod.c: Likewise.
38257         * math/w_fmodf.c: Likewise.
38258         * math/w_fmodl.c: Likewise.
38259         * math/w_j0.c: Likewise.
38260         * math/w_j0f.c: Likewise.
38261         * math/w_j0l.c: Likewise.
38262         * math/w_j1.c: Likewise.
38263         * math/w_j1f.c: Likewise.
38264         * math/w_j1l.c: Likewise.
38265         * math/w_jn.c: Likewise.
38266         * math/w_jnf.c: Likewise.
38267         * math/w_log.c: Likewise.
38268         * math/w_logf.c: Likewise.
38269         * math/w_logl.c: Likewise.
38270         * math/w_log10.c: Likewise.
38271         * math/w_log10f.c: Likewise.
38272         * math/w_log10l.c: Likewise.
38273         * math/w_log2.c: Likewise.
38274         * math/w_log2f.c: Likewise.
38275         * math/w_log2l.c: Likewise.
38276         * math/w_pow.c: Likewise.
38277         * math/w_powf.c: Likewise.
38278         * math/w_powl.c: Likewise.
38279         * math/w_remainder.c: Likewise.
38280         * math/w_remainderf.c: Likewise.
38281         * math/w_remainderl.c: Likewise.
38282         * math/w_scalb.c: Likewise.
38283         * math/w_scalbf.c: Likewise.
38284         * math/w_scalbl.c: Likewise.
38285         * math/w_sqrt.c: Likewise.
38286         * math/w_sqrtf.c: Likewise.
38287         * math/w_sqrtl.c: Likewise.
38288         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38289         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
38290         used.
38291         * math/math_private.h: Declare __kernel_standard_f.
38292         * math/w_cosh.c: Remove cruft and optimize a bit.
38293         * math/w_coshf.c: Likewise.
38294         * math/w_coshl.c: Likewise.
38295         * math/w_exp2.c: Likewise.
38296         * math/w_exp2f.c: Likewise.
38297         * math/w_exp2l.c: Likewise.
38298         * math/w_hypot.c: Likewise.
38299         * math/w_hypotf.c: Likewise.
38300         * math/w_hypotl.c: Likewise.
38301         * math/w_lgamma.c: Likewise.
38302         * math/w_lgamma_r.c: Likewise.
38303         * math/w_lgammaf.c: Likewise.
38304         * math/w_lgammaf_r.c: Likewise.
38305         * math/w_lgammal.c: Likewise.
38306         * math/w_lgammal_r.c: Likewise.
38307         * math/w_sinh.c: Likewise.
38308         * math/w_sinhf.c: Likewise.
38309         * math/w_sinhl.c: Likewise.
38310         * math/w_tgamma.c: Likewise.
38311         * math/w_tgammaf.c: Likewise.
38312         * math/w_tgammal.c: Likewise.
38313         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38314         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38315         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38316         Minor optimizations.  Pretty printing.  Remove cruft.
38317         * sysdeps/i386/fpu/e_acosf.S: Likewise.
38318         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38319         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38320         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38321         * sysdeps/i386/fpu/e_acosl.c: Likewise.
38322         * sysdeps/i386/fpu/e_asin.S: Likewise.
38323         * sysdeps/i386/fpu/e_asinf.S: Likewise.
38324         * sysdeps/i386/fpu/e_atan2.S: Likewise.
38325         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38326         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38327         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38328         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38329         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38330         * sysdeps/i386/fpu/e_exp10.S: Likewise.
38331         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38332         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38333         * sysdeps/i386/fpu/e_exp2.S: Likewise.
38334         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38335         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38336         * sysdeps/i386/fpu/e_fmod.S: Likewise.
38337         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38338         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38339         * sysdeps/i386/fpu/e_hypot.S: Likewise.
38340         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38341         * sysdeps/i386/fpu/e_log.S: Likewise.
38342         * sysdeps/i386/fpu/e_log10.S: Likewise.
38343         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38344         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38345         * sysdeps/i386/fpu/e_log2.S: Likewise.
38346         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38347         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38348         * sysdeps/i386/fpu/e_logf.S: Likewise.
38349         * sysdeps/i386/fpu/e_logl.S: Likewise.
38350         * sysdeps/i386/fpu/e_pow.S: Likewise.
38351         * sysdeps/i386/fpu/e_powf.S: Likewise.
38352         * sysdeps/i386/fpu/e_powl.S: Likewise.
38353         * sysdeps/i386/fpu/e_remainder.S: Likewise.
38354         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38355         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38356         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38357         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38358         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38359         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38360         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38361         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38362         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38363         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38364         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38365         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38366         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38367         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38368         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38369         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38370         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38371         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38372         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38373         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38374         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38375         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38376         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38377         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38378         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38379         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38380         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38381         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38382         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38383         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38384         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38385         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38386         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38387         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38388         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38389         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38390         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38391         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38392         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38393         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38394         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38395         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38396         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38397         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38398         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38399         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38400         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38401         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38402         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38403         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38404         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38405         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38406         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38407         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38408         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38409         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38410         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38411         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38412         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38413         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38414         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38415         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38416         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38417         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38418         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38419         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38420         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38421         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38422         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38423         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38424         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38425         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38426         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38427         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38428         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38429         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38430         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38432         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38433         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38434         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38435         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38436         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38437         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38438         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38439         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38440         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38441         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38442         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38443         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38444         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38445         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38446         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38447         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38448         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38449         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38450         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38451         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38452         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38453         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38454         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38455         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38456         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38457         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38458         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38459         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38460         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38461         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38462         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38463         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38464         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38465         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38466         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38467         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38468         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38469         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38470         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38471         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38472         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
38473         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38474         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38475         (__isnanf): Likewise.
38476         (__isinf_ns): Likewise.
38477         (__isinf_nsf): Likewise.
38478         (__finite): Likewise.
38479         (__finitef): Likewise.
38480         (__ieee754_sqrt): Define as macro.
38481         (__ieee754_sqrtf): Define as macro.
38482         (__ieee754_sqrtl): Define as macro.
38483         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38484         inlined copy.
38485         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38486         __FINITE_MATH_ONLY__ consistent.
38487         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38489 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
38491         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38492         of rawmemchr.
38494         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38496 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
38498         * po/ja.po: Update from translation team.
38500 2011-10-08  Roland McGrath  <roland@hack.frob.com>
38502         * locale/programs/locarchive.c (prepare_address_space): New function.
38503         (create_archive, enlarge_archive, open_archive): Use it.
38505         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38506         inside [SHARED], where it is used.
38508         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38510         * nss/getent.c (netgroup_keys): Remove unused variable.
38511         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38513 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
38515         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38516         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38517         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38518         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38519         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38520         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38521         * math/Makefile (libm-calls): Add s_isinf_ns.
38522         * math/divtc3.c: Use __isinf_nsl instead of isinf.
38523         * math/multc3.c: Likewise.
38524         * math/s_casin.c: Likewise.
38525         * math/s_casinf.c: Likewise.
38526         * math/s_casinl.c: Likewise.
38527         * math/s_ccos.c: Likewise.
38528         * math/s_ccosf.c: Likewise.
38529         * math/s_ccosl.c: Likewise.
38530         * math/s_ctan.c: Likewise.
38531         * math/s_ctanf.c: Likewise.
38532         * math/s_ctanh.c: Likewise.
38533         * math/s_ctanhf.c: Likewise.
38534         * math/s_ctanhl.c: Likewise.
38535         * math/s_ctanl.c: Likewise.
38536         * math/w_fmod.c: Likewise.
38537         * math/w_fmodf.c: Likewise.
38538         * math/w_fmodl.c: Likewise.
38539         * math/w_remainder.c: Likewise.
38540         * math/w_remainderf.c: Likewise.
38541         * math/w_remainderl.c: Likewise.
38542         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38543         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38544         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38545         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38546         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38547         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38548         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38549         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38551         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38552         of the number.
38553         * stdio-common/printf_fphex.c: Likewise.
38554         * stdio-common/printf_size.c: Likewise.
38556         * math/e_exp10.c: Include math_private.h using <...> not "...".
38557         * math/e_exp10f.c: Likewise.
38558         * math/e_exp10l.c: Likewise.
38559         * math/e_exp2l.c: Likewise.
38560         * math/e_j0l.c: Likewise.
38561         * math/e_j1l.c: Likewise.
38562         * math/e_jnl.c: Likewise.
38563         * math/e_lgammal_r.c: Likewise.
38564         * math/e_rem_pio2l.c: Likewise.
38565         * math/e_scalb.c: Likewise.
38566         * math/e_scalbf.c: Likewise.
38567         * math/e_scalbl.c: Likewise.
38568         * math/k_cosl.c: Likewise.
38569         * math/k_sinl.c: Likewise.
38570         * math/k_tanl.c: Likewise.
38571         * math/s_cacoshf.c: Likewise.
38572         * math/s_catan.c: Likewise.
38573         * math/s_catanf.c: Likewise.
38574         * math/s_catanh.c: Likewise.
38575         * math/s_catanhf.c: Likewise.
38576         * math/s_catanhl.c: Likewise.
38577         * math/s_catanl.c: Likewise.
38578         * math/s_ccosh.c: Likewise.
38579         * math/s_ccoshf.c: Likewise.
38580         * math/s_ccoshl.c: Likewise.
38581         * math/s_cexp.c: Likewise.
38582         * math/s_cexpf.c: Likewise.
38583         * math/s_cexpl.c: Likewise.
38584         * math/s_clog.c: Likewise.
38585         * math/s_clog10.c: Likewise.
38586         * math/s_clog10f.c: Likewise.
38587         * math/s_clog10l.c: Likewise.
38588         * math/s_clogf.c: Likewise.
38589         * math/s_clogl.c: Likewise.
38590         * math/s_csin.c: Likewise.
38591         * math/s_csinf.c: Likewise.
38592         * math/s_csinh.c: Likewise.
38593         * math/s_csinhf.c: Likewise.
38594         * math/s_csinhl.c: Likewise.
38595         * math/s_csinl.c: Likewise.
38596         * math/s_csqrt.c: Likewise.
38597         * math/s_csqrtf.c: Likewise.
38598         * math/s_csqrtl.c: Likewise.
38599         * math/s_ctan.c: Likewise.
38600         * math/s_ctanf.c: Likewise.
38601         * math/s_ctanh.c: Likewise.
38602         * math/s_ctanhf.c: Likewise.
38603         * math/s_ctanhl.c: Likewise.
38604         * math/s_ctanl.c: Likewise.
38605         * math/s_ldexp.c: Likewise.
38606         * math/s_ldexpf.c: Likewise.
38607         * math/s_ldexpl.c: Likewise.
38608         * math/s_significand.c: Likewise.
38609         * math/s_significandf.c: Likewise.
38610         * math/s_significandl.c: Likewise.
38611         * math/w_acos.c: Likewise.
38612         * math/w_acosf.c: Likewise.
38613         * math/w_acosh.c: Likewise.
38614         * math/w_acoshf.c: Likewise.
38615         * math/w_acoshl.c: Likewise.
38616         * math/w_acosl.c: Likewise.
38617         * math/w_asin.c: Likewise.
38618         * math/w_asinf.c: Likewise.
38619         * math/w_asinl.c: Likewise.
38620         * math/w_atan2.c: Likewise.
38621         * math/w_atan2f.c: Likewise.
38622         * math/w_atan2l.c: Likewise.
38623         * math/w_atanh.c: Likewise.
38624         * math/w_atanhf.c: Likewise.
38625         * math/w_atanhl.c: Likewise.
38626         * math/w_cosh.c: Likewise.
38627         * math/w_coshf.c: Likewise.
38628         * math/w_coshl.c: Likewise.
38629         * math/w_dremf.c: Likewise.
38630         * math/w_exp10.c: Likewise.
38631         * math/w_exp10f.c: Likewise.
38632         * math/w_exp10l.c: Likewise.
38633         * math/w_exp2.c: Likewise.
38634         * math/w_exp2f.c: Likewise.
38635         * math/w_fmod.c: Likewise.
38636         * math/w_fmodf.c: Likewise.
38637         * math/w_fmodl.c: Likewise.
38638         * math/w_hypot.c: Likewise.
38639         * math/w_hypotf.c: Likewise.
38640         * math/w_hypotl.c: Likewise.
38641         * math/w_j0.c: Likewise.
38642         * math/w_j0f.c: Likewise.
38643         * math/w_j0l.c: Likewise.
38644         * math/w_j1.c: Likewise.
38645         * math/w_j1f.c: Likewise.
38646         * math/w_j1l.c: Likewise.
38647         * math/w_jn.c: Likewise.
38648         * math/w_jnf.c: Likewise.
38649         * math/w_jnl.c: Likewise.
38650         * math/w_lgamma.c: Likewise.
38651         * math/w_lgamma_r.c: Likewise.
38652         * math/w_lgammaf.c: Likewise.
38653         * math/w_lgammaf_r.c: Likewise.
38654         * math/w_lgammal.c: Likewise.
38655         * math/w_lgammal_r.c: Likewise.
38656         * math/w_log.c: Likewise.
38657         * math/w_log10.c: Likewise.
38658         * math/w_log10f.c: Likewise.
38659         * math/w_log10l.c: Likewise.
38660         * math/w_log2.c: Likewise.
38661         * math/w_log2f.c: Likewise.
38662         * math/w_log2l.c: Likewise.
38663         * math/w_logf.c: Likewise.
38664         * math/w_logl.c: Likewise.
38665         * math/w_pow.c: Likewise.
38666         * math/w_powf.c: Likewise.
38667         * math/w_powl.c: Likewise.
38668         * math/w_remainder.c: Likewise.
38669         * math/w_remainderf.c: Likewise.
38670         * math/w_remainderl.c: Likewise.
38671         * math/w_scalb.c: Likewise.
38672         * math/w_scalbf.c: Likewise.
38673         * math/w_scalbl.c: Likewise.
38674         * math/w_sinh.c: Likewise.
38675         * math/w_sinhf.c: Likewise.
38676         * math/w_sinhl.c: Likewise.
38677         * math/w_sqrt.c: Likewise.
38678         * math/w_sqrtf.c: Likewise.
38679         * math/w_sqrtl.c: Likewise.
38680         * math/w_tgamma.c: Likewise.
38681         * math/w_tgammaf.c: Likewise.
38682         * math/w_tgammal.c: Likewise.
38684         * po/ja.po: Update from translation team.
38686 2011-09-29  Andreas Jaeger  <aj@suse.de>
38688         [BZ #13179]
38689         * sunrpc/netname.c (netname2host): Fix logic.
38691         [BZ #6779]
38692         [BZ #6783]
38693         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38694         correctly.
38695         * math/w_remainder.c (__remainder): Likewise.
38696         * math/w_remainderf.c (__remainderf): Likewise.
38697         * math/libm-test.inc (remainder_test): Add test cases.
38699 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38701         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
38702         sdiv_qrnnd.
38704 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38706         * string/test-memcmp.c: Avoid unncessary #defines.
38707         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38709 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38711         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38712         Use new sse2 version for core i3 - i7 as it's faster
38713         than sse42 version.
38714         (bit_Prefer_PMINUB_for_stringop): New.
38715         * sysdeps/x86_64/rawmemchr.S: Update.
38716         Replace with faster SSE2 version.
38717         * sysdeps/x86_64/memrchr.S: New file.
38718         * sysdeps/x86_64/memchr.S: Update.
38719         Replace with faster SSE2 version.
38721 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
38723         * elf/dl-load.c (lose): Add cast to avoid warning.
38725 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38727         * po/ca.po: Update from translation team.
38729         * inet/getnetgrent_r.c: Hook up nscd.
38730         * nscd/Makefile (routines): Add nscd_netgroup.
38731         (nscd-modules): Add netgroupcache.
38732         (CFLAGS-netgroupcache.c): Define.
38733         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38734         (cache_search): Add const to second parameter.
38735         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38736         INNETGR.
38737         (dbs): Add netgrdb entry.
38738         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38739         (verify_persistent_db): Handle netgrdb.
38740         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38741         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38742         GETFDNETGR.
38743         (netgroup_response_header): Define.
38744         (innetgroup_response_header): Define.
38745         (datahead): Add netgroup_response_header and innetgroup_response_header
38746         elements.
38747         * nscd/nscd.conf: Add entries for netgroup cache.
38748         * nscd/nscd.h (dbtype): Add netgrdb.
38749         (_PATH_NSCD_NETGROUP_DB): Define.
38750         (netgroup_iov_disabled): Declare.
38751         (xmalloc, xcalloc, xrealloc): Move declarations here.
38752         (cache_search): Adjust prototype.
38753         Add netgroup-related prototypes.
38754         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38755         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38756         (__nscd_innetgr): Declare.
38757         * nscd/selinux.c (perms): Use access_vector_t as element type and
38758         add netgroup-related initializers.
38759         * nscd/netgroupcache.c: New file.
38760         * nscd/nscd_netgroup.c: New file.
38761         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38762         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38763         For four parameters use innetgr.
38764         * nss/nss_files/files-init.c: Add definition and callback for netgr.
38765         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38766         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38767         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38769         * nscd/connections.c (register_traced_file): Don't register file
38770         for disabled databases.
38772 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
38774         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38776         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38777         from tree and freeing node.
38779 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
38781         * nss/nsswitch.c (__nss_database_lookup): Handle
38782         nss_parse_service_list out of memory case.
38784 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
38786         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38787         out of memory case.
38789 2011-10-04  Andreas Schwab  <schwab@redhat.com>
38791         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38792         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38793         pass it down.
38794         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38795         elf_machine_rela, elf_machine_lazy_rel.
38796         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38797         (ELF_DYNAMIC_DO_REL): Likewise.
38798         (ELF_DYNAMIC_DO_RELA): Likewise.
38799         (ELF_DYNAMIC_RELOCATE): Likewise.
38800         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38801         to ELF_DYNAMIC_DO_REL.
38802         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38803         (dl_main): In trace mode always set __RTLD_NOIFUNC.
38804         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38805         elf_machine_rela.
38806         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38807         skip_ifunc, don't call ifunc function if non-zero.
38808         (elf_machine_rela): Likewise.
38809         (elf_machine_lazy_rel): Likewise.
38810         (elf_machine_lazy_rela): Likewise.
38811         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38812         (elf_machine_lazy_rel): Likewise.
38813         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38814         Likewise.
38815         (elf_machine_lazy_rel): Likewise.
38816         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38817         Likewise.
38818         (elf_machine_lazy_rel): Likewise.
38819         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38820         (elf_machine_lazy_rel): Likewise.
38821         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38822         (elf_machine_lazy_rel): Likewise.
38823         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38824         (elf_machine_lazy_rel): Likewise.
38825         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38826         (elf_machine_lazy_rel): Likewise.
38827         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38828         (elf_machine_lazy_rel): Likewise.
38829         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38830         (elf_machine_lazy_rel): Likewise.
38832 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
38834         * nss/nss_files/files-init.c (_nss_files_init): Use static
38835         initialization for all the *_traced_file variables.
38837 2011-09-28  Andreas Schwab  <schwab@redhat.com>
38839         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38841 2011-09-27  Roland McGrath  <roland@hack.frob.com>
38843         [BZ #13226]
38844         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38846 2011-09-27  Andreas Schwab  <schwab@redhat.com>
38848         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38849         Reread the line before reparsing it.
38851 2011-09-26  Andreas Schwab  <schwab@redhat.com>
38853         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38855 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
38856             Maxim Kuvyrkov  <maxim@codesourcery.com>
38857             Joseph Myers  <joseph@codesourcery.com>
38859         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38860         if needed for __stack_chk_guard.
38862 2011-09-19  Roland McGrath  <roland@hack.frob.com>
38864         * sysdeps/posix/spawni.c (script_execute): Always define it.
38865         It will be optimized away if unused.
38866         (maybe_script_execute): New function.
38867         (__spawni): Call it.
38869         * Makerules: Don't include tls.make.
38870         (config-tls): Always set to thread.
38871         * tls.make.c: File removed.
38873 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
38875         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38876         * config.make.in (CPPFLAGS-config): New substituted variable.
38878 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38880         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38882         [BZ #13192]
38883         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38884         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38886 2011-09-15  Roland McGrath  <roland@hack.frob.com>
38888         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38889         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38890         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38891         (CALL_FAIL): Likewise.
38892         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38893         (CALL_FAIL): Macro removed.
38894         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38896 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38898         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38899         for __FINITE_MATH_ONLY__ == 1.
38901 2011-09-15  Andreas Schwab  <schwab@redhat.com>
38903         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38904         __ieee754_sqrt instead of sqrt.
38905         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38906         __ieee754_sqrtf instead of sqrtf.
38907         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38908         __floorf instead of floorf.
38909         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38910         __floorf, __truncf instead of floorf, truncf.
38912 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
38914         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38916         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38917         __extern_always_inline.
38918         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38919         32-bit.
38921 2011-09-14  Andreas Schwab  <schwab@redhat.com>
38923         * elf/rtld.c (dl_main): Also relocate in dependency order when
38924         doing symbol dependency testing.
38926 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
38928         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38929         Always define `refsym'.
38931 2011-09-13  Andreas Schwab  <schwab@redhat.com>
38933         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38934         (__FD_ELT): Renamed from __FDELT.
38935         * misc/bits/select2.h (__FD_ELT): Likewise.
38936         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38937         __FD_MASK instead of __FDELT, __FDMASK.
38938         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38939         Likewise.
38940         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38941         Likewise.
38943         * elf/Makefile (gen-ldd): Fix pattern.
38945         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38946         (init_tls): Likewise.
38948 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
38950         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38952 2011-09-12  Andreas Schwab  <schwab@redhat.com>
38954         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38955         `struct cmsghdr *' instead of `void *'.
38956         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38957         Likewise.
38959 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
38961         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38962         if non-absolute.
38963         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38964         ldd_rewrite_script.
38966 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
38968         * configure.in: Remove --with-tls option.
38969         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38970         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38971         out in case it is missing.
38972         * sysdeps/ia64/elf/configure.in: Likewise.
38973         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38974         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38975         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38976         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38977         * sysdeps/sh/elf/configure.in: Likewise.
38978         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38979         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38980         * sysdeps/x86_64/elf/configure.in: Likewise.
38981         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38982         * sysdeps/mach/hurd/tls.h: Likewise.
38984         [BZ #13067]
38985         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38987         [BZ #13090]
38988         * configure.in: Fix use of AC_INIT.
38990         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38992 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
38994         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38995         __set_errno.
38996         * malloc/hooks.c: Likewise.
38998         [BZ #11929]
38999         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
39000         variables statically.
39001         (narenas): Initialize.
39002         (list_lock): Initialize.
39003         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
39004         initializtion of main_arena and list_lock.  Small cleanups.
39005         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39006         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
39007         Add initializers to main_arena and mp_.
39008         (malloc_state): Remove pagesize member.  Change all users to use
39009         GLRO(dl_pagesize).
39011         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39012         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
39013         is always initialized.
39015         * malloc/malloc.c: Removed unused configurations and dead code.
39016         * malloc/arena.c: Likewise.
39017         * malloc/hooks.c: Likewise.
39018         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39020         * include/tls.h: Removed.  USE___THREAD must always be defined.
39021         * bits/libc-tsd.h: Don't handle !USE___THREAD.
39022         * elf/dl-libc.c: Likewise.
39023         * elf/dl-tsd.c: Likewise.
39024         * include/errno.h: Likewise.
39025         * include/netdb.h: Likewise.
39026         * include/resolv.h: Likewise.
39027         * inet/herrno-loc.c: Likewise.
39028         * inet/herrno.c: Likewise.
39029         * malloc/arena.c: Likewise.
39030         * malloc/hooks.c: Likewise.
39031         * malloc/malloc.c: Likewise.
39032         * resolv/res-state.c: Likewise.
39033         * resolv/res_libc.c: Likewise.
39034         * sysdeps/i386/dl-machine.h: Likewise.
39035         * sysdeps/ia64/dl-machine.h: Likewise.
39036         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39037         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39038         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39039         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39040         * sysdeps/sh/dl-machine.h: Likewise.
39041         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39042         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39043         * sysdeps/unix/i386/sysdep.S: Likewise.
39044         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39045         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39046         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39048         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39049         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39050         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39051         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39052         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39054         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39055         * sysdeps/x86_64/dl-machine.h: Likewise.
39056         * tls.make.c: Likewise.
39058         * configure.in: Remove --with-__thread option.  Make tests for
39059         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39060         tls_model attribute fail if no support is available.  Remove
39061         USE_IN_LIBIO.
39062         * Makeconfig: Adjust for dropped configure option.  All features are
39063         now mandatory.
39064         * Makerules: Likewise.
39065         * Versions.def: Likewise.
39066         * argp/argp-fmtstream.c: Likewise.
39067         * argp/argp-fmtstream.h: Likewise.
39068         * argp/argp-help.c: Likewise.
39069         * assert/assert.c: Likewise.
39070         * config.h.in: Likewise.
39071         * config.make.in: Likewise.
39072         * configure: Likewise.
39073         * configure.in: Likewise.
39074         * csu/Versions: Likewise.
39075         * csu/init.c: Likewise.
39076         * elf/tst-audit2.c: Likewise.
39077         * elf/tst-tls10.c: Likewise.
39078         * elf/tst-tls10.h: Likewise.
39079         * elf/tst-tls11.c: Likewise.
39080         * elf/tst-tls12.c: Likewise.
39081         * elf/tst-tls14.c: Likewise.
39082         * elf/tst-tlsmod11.c: Likewise.
39083         * elf/tst-tlsmod12.c: Likewise.
39084         * elf/tst-tlsmod13.c: Likewise.
39085         * elf/tst-tlsmod13a.c: Likewise.
39086         * elf/tst-tlsmod14a.c: Likewise.
39087         * elf/tst-tlsmod15b.c: Likewise.
39088         * elf/tst-tlsmod16a.c: Likewise.
39089         * elf/tst-tlsmod16b.c: Likewise.
39090         * elf/tst-tlsmod7.c: Likewise.
39091         * elf/tst-tlsmod8.c: Likewise.
39092         * elf/tst-tlsmod9.c: Likewise.
39093         * gmon/gmon.c: Likewise.
39094         * grp/fgetgrent_r.c: Likewise.
39095         * grp/putgrent.c: Likewise.
39096         * hurd/fopenport.c: Likewise.
39097         * include/libc-symbols.h: Likewise.
39098         * include/tls.h: Likewise.
39099         * intl/gettextP.h: Likewise.
39100         * intl/loadinfo.h: Likewise.
39101         * locale/global-locale.c: Likewise.
39102         * locale/localeinfo.h: Likewise.
39103         * mach/devstream.c: Likewise.
39104         * malloc/arena.c: Likewise.
39105         * malloc/set-freeres.c: Likewise.
39106         * misc/err.c: Likewise.
39107         * misc/getttyent.c: Likewise.
39108         * misc/mntent_r.c: Likewise.
39109         * posix/getopt.c: Likewise.
39110         * posix/wordexp.c: Likewise.
39111         * pwd/fgetpwent_r.c: Likewise.
39112         * resolv/Versions: Likewise.
39113         * resolv/res_hconf.c: Likewise.
39114         * shadow/fgetspent_r.c: Likewise.
39115         * shadow/putspent.c: Likewise.
39116         * stdio-common/printf_fphex.c: Likewise.
39117         * stdio-common/tmpfile.c: Likewise.
39118         * stdlib/abort.c: Likewise.
39119         * stdlib/fmtmsg.c: Likewise.
39120         * sunrpc/auth_unix.c: Likewise.
39121         * sunrpc/clnt_perr.c: Likewise.
39122         * sunrpc/clnt_tcp.c: Likewise.
39123         * sunrpc/clnt_udp.c: Likewise.
39124         * sunrpc/clnt_unix.c: Likewise.
39125         * sunrpc/openchild.c: Likewise.
39126         * sunrpc/svc_simple.c: Likewise.
39127         * sunrpc/svc_tcp.c: Likewise.
39128         * sunrpc/svc_udp.c: Likewise.
39129         * sunrpc/svc_unix.c: Likewise.
39130         * sunrpc/xdr.c: Likewise.
39131         * sunrpc/xdr_array.c: Likewise.
39132         * sunrpc/xdr_rec.c: Likewise.
39133         * sunrpc/xdr_ref.c: Likewise.
39134         * sunrpc/xdr_stdio.c: Likewise.
39136 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39138         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39140 2011-07-03  Andreas Jaeger  <aj@suse.de>
39142         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39143         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39144         regenerate with gen-libm-tests.pl.
39146 2010-05-12  Petr Baudis  <pasky@suse.cz>
39148         [BZ #11589]
39149         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39150         around j0() zero points by switching to j1().
39151         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39152         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39153         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39154         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39156 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39158         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39159         instead of 0.
39160         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39161         instead of 0.
39162         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39163         Patch in part by Pavel Roskin <proski@gnu.org>.
39165         [BZ #13138]
39166         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39167         realloc.
39168         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
39169         Free memory block if necessary.
39171         [BZ #12847]
39172         * libio/genops.c (INTDEF): For string streams the _lock pointer can
39173         be NULL.  Don't lock in this case.
39175 2011-09-09  Roland McGrath  <roland@hack.frob.com>
39177         * elf/elf.h (ELFOSABI_GNU): New macro.
39178         (ELFOSABI_LINUX): Define to that.
39180 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
39182         * string/strncat.c (strncat): Undef the symbol in case it has been
39183         defined in bits/string.h.
39185 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39187         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39189         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39190         link map.
39192 2011-08-17  Andreas Jaeger  <aj@suse.de>
39194         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39196 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39197             Ian Lance Taylor  <iant@google.com>
39199         * math/libm-test.inc (lround_test): New testcase.
39200         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39202 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
39204         * Makefile: Remove support for automatic cvs check-ins.
39205         * Makerules: Likewise.
39206         * config.make.in: Likewise.
39207         * configure.in: Likewise.
39208         * intl/Makefile: Likewise.
39209         * locale/Makefile: Likewise.
39210         * po/Makefile: Likewise.
39211         * posix/Makefile: Likewise.
39212         * sysdeps/gnu/Makefile: Likewise.
39213         * sysdeps/mach/hurd/Makefile: Likewise.
39214         * sysdeps/sparc/sparc32/Makefile: Likewise.
39216         [BZ #13118]
39217         * posix/Makefile (bug-regex32-ENV): Define.
39218         Patch by John Stanley <jpsinthemix@verizon.net>.
39220         * misc/Makefile (headers): Add bits/select2.h.
39221         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39222         * misc/bits/select2.h: New file.
39223         * include/bits/select2.h: New file.
39224         * debug/Makefile (routines): Add fdelt_chk.
39225         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39226         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39227         FD_ISSET.
39228         * debug/fdelt_chk.c: New file.
39230         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
39231         * wcsmbs/test-wmemcmp.c: Likewise.
39232         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39233         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39235 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39237         * string/Makefile (strop-tests): Add memcmp.
39238         * string/test-wmemcmp.c: New file.
39239         * string/test-memcmp.c: Add wmemcmp support.
39241 2011-09-08  Roland McGrath  <roland@hack.frob.com>
39243         [BZ #13153]
39244         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39245         2011-07-19 change.
39247         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39248         garbage value in a __mach_port_mod_refs call in the cases of the
39249         task-self and thread-self ports.
39251 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39253         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39255 2011-09-08  Andreas Schwab  <schwab@redhat.com>
39257         * elf/dl-load.c (lose): Check for non-null L.
39259 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39261         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39263         * elf/dl-libc.c (dlerror_run): Pass back error code from
39264         dl_catch_error.
39266         [BZ #13123]
39267         * elf/dl-load.c (lose): Free l_origin if it is valid.
39269         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39270         names.
39271         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39272         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39273         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39274         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39275         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39276         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39278 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39280         * sysdeps/powerpc/fpu/e_hypot.c: New file.
39281         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39282         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39283         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39284         * sysdeps/powerpc/fpu/k_cosf.c: New file.
39285         * sysdeps/powerpc/fpu/k_sinf.c: New file.
39286         * sysdeps/powerpc/fpu/s_cosf.c: New file.
39287         * sysdeps/powerpc/fpu/s_sinf.c: New file.
39288         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39289         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39291 2011-08-15  Alan Modra  <amodra@gmail.com>
39293         [BZ #13092]
39294         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39295         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39296         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
39297         ppc_mcount to static-only-routines.
39298         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39299         __mcount_internal.
39300         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39301         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
39303 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
39305         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39306         for finite and infinity parameters.
39308 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39310         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39311         and add nop instructions for throughput optimization.
39312         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39314 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
39316         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39317         aligned copy for power7 with vector-scalar instructions.
39318         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39320 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
39322         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39323         AVX check.
39325 2011-09-07  Andreas Schwab  <schwab@redhat.com>
39327         [BZ #13144]
39328         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39329         last change.
39331 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39333         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39334         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39335         syscall wrapper around clock_gettime in __vdso_clock_gettime.
39336         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39337         clock_gettime.
39339 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39341         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39342         Forgot to demangle the pointer.
39344         * sysdeps/i386/sysdep.h: Define atom_text_section.
39345         * sysdeps/x86_64/sysdep.h: Likewise.
39346         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39347         section with atom_text_section.
39348         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39349         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39350         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39351         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39352         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39354         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39355         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39356         already be defined.  Change to take two parameters and don't assign
39357         result to variable.  Adjust all users.
39358         Define INTERNAL_GETTIME if not already defined.
39359         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39360         call.
39361         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39362         HAVE_CLOCK_GETTIME_VSYSCALL.
39363         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39365         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39366         gettimeofday vsyscall, just use time.
39368 2011-09-06  Andreas Schwab  <schwab@redhat.com>
39370         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39371         <errno.h>.
39373 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39375         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39376         syscall on x86-64.
39377         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39378         syscall.
39379         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39380         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39381         syscall if possible.
39383 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39385         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39386         e_ident.  Don't pass to find_mapsXX.
39387         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39389 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39392         strchr-sse2-no-bsf strrchr-sse2-no-bsf
39393         * sysdeps/x86_64/multiarch/strchr.S: Update.
39394         Check bit_slow_BSF bit.
39395         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39396         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39397         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39399 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39401         [BZ #13134]
39402         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39403         before glibc 2.15.
39404         (tryshell): Define.
39405         (__spawni): Change last parameter to be flag.  Test
39406         SPAWN_XFLAGS_USE_PATH flag to use path or not.
39407         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39408         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39409         * posix/spawni.c: Likewise.
39410         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39411         * posix/spawnp.c: Likewise.  Change normal version to use
39412         SPAWN_XFLAGS_USE_PATH.
39413         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39414         SPAWN_XFLAGS_TRY_SHELL.
39416         [BZ #13150]
39417         * posix/glob.h: Remove gcc 1.x support.
39419         [BZ #13068]
39420         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39422 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39424         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39425         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39426         strrchr-sse2-bsf
39427         * sysdeps/i386/i686/multiarch/strchr.S: New file.
39428         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39429         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39430         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39431         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39432         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39434 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39436         * sysdeps/x86_64/wcscmp.S: New file.
39438         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39439         wcscmp-c wcscmp-sse2
39440         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39441         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39442         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39443         * wcsmbs/wcscmp.c: Allow renaming.
39445 2011-09-05  David S. Miller  <davem@davemloft.net>
39447         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39448         stack slot, rather than the struct return pointer slot.
39449         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39450         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39452         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39454 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39456         * po/ja.po: Update from translation team.
39458         [BZ #13144]
39459         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39460         kernel in 64-bit binaries.
39462 2011-09-01  David S. Miller  <davem@davemloft.net>
39464         * elf/elf.h (HWCAP_SPARC_*): Move to..
39465         * sysdeps/sparc/sysdep.h: this new file and add new values.
39466         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39467         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39468         _DL_HWCAP_COUNT to 24.
39469         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39470         entries.
39471         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39472         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39473         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39474         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39475         instead of magic constants.
39476         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39478 2011-08-31  David S. Miller  <davem@davemloft.net>
39480         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39482         Reimplement to do errno handling inline.
39483         (SYSCALL_ERROR_HANDLER): New macro.
39484         (__SYSCALL_STRING): Do not do errno handling in asm.
39485         (__CLONE_SYSCALL_STRING): Delete.
39486         (__INTERNAL_SYSCALL_STRING): Delete.
39487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39488         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39489         (PSEUDO): Reimplement to do errno handling inline.
39490         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39491         (SYSCALL_ERROR_HANDLER): New macro.
39492         (__SYSCALL_STRING): Do not do errno handling in asm.
39493         (__CLONE_SYSCALL_STRING): Delete.
39494         (__INTERNAL_SYSCALL_STRING): Delete.
39495         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39496         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39497         i386.
39498         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39499         (inline_syscall*): Add 'err' argument.
39500         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39501         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39502         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39503         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39505         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39506         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39508 2011-08-30  Andreas Schwab  <schwab@redhat.com>
39510         * elf/rtld.c (dl_main): Relocate objects in dependency order.
39512 2011-08-29  Jiri Olsa <jolsa@redhat.com>
39514         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39515         directive.
39517 2011-08-24  David S. Miller  <davem@davemloft.net>
39519         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39521 2011-08-24  Andreas Schwab  <schwab@redhat.com>
39523         * elf/Makefile: Add rules to build and run unload8 test.
39524         * elf/unload8.c: New file.
39525         * elf/unload8mod1.c: New file.
39526         * elf/unload8mod1x.c: New file.
39527         * elf/unload8mod2.c: New file.
39528         * elf/unload8mod3.c: New file.
39530         * elf/dl-close.c (_dl_close_worker): Reset private search list if
39531         it wasn't used.
39533 2011-08-23  David S. Miller  <davem@davemloft.net>
39535         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39536         subtract stack bias.
39537         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39538         %sp not %fp in calculations.
39539         (_JMPBUF_UNWINDS_ADJ): Likewise.
39541         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39542         (aio_suspend): Call it to force an exception region around the
39543         AIO_MISC_WAIT() invocation.
39545 2011-08-23  Andreas Schwab  <schwab@redhat.com>
39547         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39548         backslash.
39550 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
39552         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39553         protection macro.
39554         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39555         and <dl-machine.h>.
39556         (Elf64_FuncDesc): Remove.
39558 2011-08-22  David S. Miller  <davem@davemloft.net>
39560         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39561         sigaltstack check, add missing cfi directives.
39562         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39563         missing cfi directives, and sigaltstack handling.
39565 2011-08-16  Andreas Schwab  <schwab@redhat.com>
39567         [BZ #11724]
39568         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39569         object is seen twice.
39570         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39572         * elf/Makefile (distribute): Add tst-initorder2.c.
39573         (tests): Add tst-initorder2.
39574         (modules-names): Add tst-initorder2a tst-initorder2b
39575         tst-initorder2c tst-initorder2d.  Add rules to build them.
39576         ($(objpfx)tst-initorder2.out): New rule.
39577         * elf/tst-initorder2.c: New file.
39578         * elf/tst-initorder2.exp: New file.
39580 2011-08-22  Andreas Schwab  <schwab@redhat.com>
39582         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39584         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39585         dependencies back to end of function.
39587         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39588         $(elfobjdir)/ld.so.
39590 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
39592         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39593         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39594         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39595         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39596         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39597         of __vdso_gettimeofday.
39598         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39599         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
39600         attribute_hidden.
39601         (_libc_vdso_platform_setup): Remove initialization of
39602         __vdso_gettimeofday and __vdso_time.
39604 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39606         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39607         and fgetc_unlocked.
39608         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39609         getc_unlocked.
39611         * elf/dl-open.c (add_to_global): Report additions to the global scope
39612         for LD_DEBUG=scopes.
39613         (dl_open_worker): Also print scope of newly loaded dependencies.
39614         (_dl_show_scope): Indicate if there is no scope.
39616         [BZ #13114]
39617         * stdio-common/Makefile (tests): Add bug24.
39618         * stdio-common/bug24.c: New file.
39620 2011-08-19  Andreas Jaeger  <aj@suse.de>
39622         [BZ #13114]
39623         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39624         non-existant file when using close-on-exec mode.
39626 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39628         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39629         the very first instruction.
39631         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39632         the CFI state in the end.
39633         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39634         inclusion of dl-trampoline.h.
39635         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39637 2011-08-19  Andreas Schwab  <schwab@redhat.com>
39639         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39640         expectations for long double.
39642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39643         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39645 2011-08-14  David S. Miller  <davem@davemloft.net>
39647         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39648         artificual limit depends upon the system page size.
39650 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39652         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39653         * resolv/Makefile: Define CFLAGS-libresolv.
39655 2011-08-17  Andreas Schwab  <schwab@redhat.com>
39657         * nss/makedb.c (compute_tables): Make variables used in nested
39658         function static.
39660 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39662         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39663         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39664         if buffer was too small.
39666         * elf/pldd.c (main): Attach to all threads in the process.
39667         Rewrite /proc handling to use *at functions.
39669 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
39671         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39672         specifies first scope to show.
39673         (dl_open_worker): Update callers.  Move printing scope of new
39674         object to before the relocation.
39675         * elf/rtld.c (dl_main): Update _dl_show_scope call.
39676         * sysdeps/generic/ldsodefs.h: Update declaration.
39678         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39679         string for the scope number.
39681 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
39683         * nscd/servicescache.c (cache_addserv): Make sure written is always
39684         initialized.
39686 2011-08-14  Roland McGrath  <roland@hack.frob.com>
39688         * sysdeps/i386/i486/bits/atomic.h
39689         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39690         statement expression, so as to suppress "set but not used" warning.
39691         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39693         * string/strncat.c (STRNCAT): Use prototype definition.
39695         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39696         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39697         -Iprograms here.
39698         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39699         (localedef-modules): Add localedef.
39700         (locale-modules): Add locale.
39702         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39703         * elf/rtld.c (dl_main): Invert order of assignment in last change,
39704         to avoid a warning.
39706 2011-08-14  David S. Miller  <davem@davemloft.net>
39708         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39709         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39711 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
39713         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39714         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39715         * elf/rtld.c (dl_main): Set l_name of vDSO.
39716         Call _dl_show_scope when DL_DEBUG_SCOPES.
39717         (process_dl_debug): Recognize scopes flag and also set it for all.
39718         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39719         Declare _dl_show_scope.
39721         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39722         (do_dlopen): Pass caller_dlopen to dl_open.
39723         (__libc_dlopen_mode): Initialize caller_dlopen.
39725         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39726         of libc.  Make tolower call locale-independent.  Optimize a bit by
39727         using isdigit instead of isalnum.
39728         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39730 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
39732         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39733         was a dependency or dynamically loaded.
39735 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
39737         * intl/l10nflist.c: Allow architecture-specific pop function.
39738         * sysdeps/x86_64/l10nflist.c: New file.
39740         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39741         classification.
39743 2011-08-10  Andreas Schwab  <schwab@redhat.com>
39745         * include/dirent.h: Add libc_hidden_proto for scandirat and
39746         scandirat64.  Don't declare __scandirat64.
39747         * dirent/scandirat.c: Add libc_hidden_def.
39748         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39749         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39751 2011-08-10  David S. Miller  <davem@davemloft.net>
39753         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39754         enum.
39755         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39756         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39757         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39759 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
39761         * Versions.def [libc]: Add GLIBC_2.15.
39762         * dirent/Makefile (routines): Add scandirat and scandirat64.
39763         * dirent/Versions [libc]: Export scandirat and scandirat64 for
39764         GLIBC_2.15.
39765         * dirent/dirent.h: Declare scandirat and scandirat64.
39766         * dirent/scandirat.c: New file.
39767         * dirent/scandirat64.c: New file.
39768         * sysdeps/wordsize-64/scandirat.c: New file.
39769         * sysdeps/wordsize-64/scandirat64.c: New file.
39770         * dirent/opendir.c: Define opendirat.
39771         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
39772         using scandirat.
39773         * dirent/scandir64.c: Adjust for scandir.c change.
39774         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
39775         __scandirat64, and __scandir_cancel_handler.
39776         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
39777         additional parameter and use openat instead of open (outside of ld.so).
39778         Add new __opendir as wrapper around __opendirat.
39779         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39780         here without requiring old scandirat implementation.
39782 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
39784         * dirent/scandir.c (cancel_handler): Renamed to
39785         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
39786         defined.  Adjust users.
39787         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39788         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39790 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
39792         * string/test-string.h (IMPL): Use __STRING to expand name and then
39793         stringify it.
39795         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
39796         of cleanups.
39798 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39800         * string/Makefile: Update.
39801         (strop-tests): Append strncat.
39802         * string/test-wcscmp.c: New file.
39803         New comprehensive test for wcscmp.
39804         * string/test-strcmp.c: Update.
39805         (WIDE): New define.
39807 2011-07-22  Andreas Schwab  <schwab@redhat.com>
39809         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39810         line.
39812 2011-07-26  Andreas Schwab  <schwab@redhat.com>
39814         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39815         encoding to ACE if AI_IDN.
39817 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
39819         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39820         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39822 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39824         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39825         Fix overflow bug in strncat.
39826         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39828         * string/test-strncat.c: Update.
39829         Add new tests for checking overflow bugs.
39831 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39833         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39834         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39835         * sysdeps/i386/i686/multiarch/strcat.S: New file.
39836         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39837         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39838         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39839         * sysdeps/i386/i686/multiarch/strncat.S: New file.
39840         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39841         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39843         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39844         (USE_AS_STRCAT): Define.
39845         Add strcat and strncat support.
39846         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39848 2011-07-25  Andreas Schwab  <schwab@redhat.com>
39850         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39851         __n bigger than INT_MAX+1.
39852         (__strncmp_g): Likewise.
39854 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
39856         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39857         * libio/stido.h: Likewise.
39859         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39860         (AF_NFC): Define.
39861         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39862         (AF_NFC): Define.
39864         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39865         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39866         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39867         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39868         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39870         [BZ #13021]
39871         * scripts/test-installation.pl: Don't expect libnss_test1 to be
39872         installed.
39874         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39875         typo.
39876         (_dl_x86_64_save_sse): Likewise.
39878 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
39880         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39881         OSXSAVE.
39882         (_dl_x86_64_save_sse): Likewise.
39884         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39886         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39888 2011-07-21  Andreas Schwab  <schwab@redhat.com>
39890         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39891         change.
39892         (_dl_x86_64_save_sse): Use correct AVX check.
39894 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39896         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39897         bug in strncpy/strncat.
39898         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39900 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
39902         * string/tester.c (test_strcat): Add tests for different alignments
39903         of source and destination.
39904         (test_strncat): Likewise.
39906 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39908         [BZ #12852]
39909         * posix/glob.c (glob): Check passed in values before using them in
39910         expressions to avoid some overflows.
39911         (glob_in_dir): Likewise.
39913         [BZ #13007]
39914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39915         check for AVX enablement so that we don't crash with old kernels and
39916         new hardware.
39917         * elf/tst-audit4.c: Add same checks here.
39918         * elf/tst-audit6.c: Likewise.
39920         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39922 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
39924         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39926 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39928         * po/cs.po: Update from translation team.
39929         * po/bg.po: Likewise.
39931 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
39933         * misc/sys/cdefs.h: Add support for const attribute.
39934         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39935         to gnu_dev_{major,minor,makedev} functions.
39937 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
39939         * intl/dcigettext.c (get_output_charset): Add missing bracket.
39941 2011-07-20  Andreas Schwab  <schwab@redhat.com>
39943         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39944         strlen results.
39946 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39949         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39950         register in order to avoid conflicts with the soft frame pointer
39951         being held in r11 when necessary.
39952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39953         (INTERNAL_VSYSCALL_NCS): Likewise.
39955 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
39957         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39958         * elf/dl-fini.c (_dl_fini): Adjust caller.
39959         * elf/dl-close.c (_dl_close_worker): Likewise.
39960         * sysdeps/generic/ldsodefs.h: Adjust declaration.
39962 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39964         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39965         "aux_cache->nlibs < 0".
39967         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39968         in the reload-count case.
39970 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39973         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39974         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39975         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39976         * sysdeps/x86_64/multiarch/strcat.S: New file.
39977         * sysdeps/x86_64/multiarch/strncat.S: New file.
39978         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39979         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39980         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39981         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39982         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39983         (USE_AS_STRCAT): Define.
39984         Add strcat and strncat support.
39985         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39986         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39987         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39988         * string/strncat.c: Update.
39989         (USE_AS_STRNCAT): Define.
39990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39991         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39992         and i7.
39993         * sysdeps/x86_64/multiarch/init-arch.h
39994         (bit_Prefer_PMINUB_for_stringop): New.
39995         (index_Prefer_PMINUB_for_stringop): Likewise.
39996         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39997         bit_Prefer_PMINUB_for_stringop.
39999 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
40001         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40002         buffer64.
40003         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40004         of casting of buffer.
40005         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40006         buffer32 and buffer64.
40007         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40008         writes instead of casting of buffer.
40009         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40010         buffer32.
40011         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40012         casting of buffer.
40014 2011-07-19  Andreas Schwab  <schwab@redhat.com>
40016         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40018 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
40020         * nscd/nscd.c (termination_handler): Don't do anything for a database
40021         if it has not yet been initialized.
40023 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
40025         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40027 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
40029         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40031 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
40033         * po/nl.po: Update from translation team.
40034         * po/sv.po: Likewise.
40036 2011-07-16  Roland McGrath  <roland@hack.frob.com>
40038         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40039         now disallowed by GCC.
40041         * configure.in (use-default-link): Default to yes if a test -shared
40042         link meets our qualifications.
40043         * configure: Regenerated.
40045         * config.make.in (output-format): New variable.
40046         * configure.in: Check for ld --print-output-format support.
40047         * configure: Regenerated.
40048         * Makerules ($(common-objpfx)format.lds)
40049         [$(output-format) != unknown]: Just use $(output-format),
40050         instead of the linker-script munging.
40052 2011-07-14  Roland McGrath  <roland@hack.frob.com>
40054         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40055         of $(common-objpfx)shlib.lds.
40056         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40058         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40059         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40061         * configure.in (-z relro check): Adjust test code to add a large
40062         writable data section after it.
40063         * configure: Regenerated.
40065 2011-07-11  Roland McGrath  <roland@hack.frob.com>
40067         * configure.in (-z relro check): Fix test code to make the variable
40068         truly const.
40069         * configure: Regenerated.
40071 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
40073         * nscd/nscd.h (struct traced_file): Define.
40074         (struct database_dyn): Remove inotify_descr, reset_res, and filename
40075         elements.  Add traced_files.
40076         (inotify_fd): Declare.
40077         (register_traced_file): Declare.
40078         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40079         (inotify_fd): Export.
40080         (resolv_conf_descr): Remove.
40081         (nscd_init): Move inotify descriptor creation to main.
40082         Don't register files for notification here.
40083         (register_traced_file): New function.
40084         (invalidate_cache): Don't use reset_res to determine whether to call
40085         res_init, go through the list of registered files.
40086         (main_loop_poll): The inotify descriptors are now stored in the
40087         structures for the traced files.
40088         (main_loop_epoll): Likewise
40089         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
40090         to __nss_disable_nscd.
40091         * nscd/cache.c (prune_cache): There is no single inotify descriptor
40092         for a database anymore.  Check the records for all the registered
40093         files instead.
40094         * nss/Makefile (libnss_files-routines): Add files-init.
40095         (libnss_db-routines): Add db-init.
40096         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40097         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40098         * nss/nss_db/db-init.c: New file.
40099         * nss/nss_files/files-init.c: New file.
40100         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
40101         __nss_lookup_function.
40102         (__nss_lookup_function): Call nss_load_library.
40103         (nss_load_all_libraries): New function.
40104         (__nss_disable_nscd): Take parameter with callback function for files
40105         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
40106         used for the cached services.
40107         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40108         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40109         options for features to all the files in nscd.
40111         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40113 2011-07-10  Roland McGrath  <roland@hack.frob.com>
40115         * csu/elf-init.c (__libc_csu_init): Comment typo.
40117 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
40119         * po/pl.po: Update from translation team.
40120         * po/ja.po: Likewise.
40121         * po/ru.po: Likewise.
40122         * po/ko.po: Likewise.
40123         * po/fr.po: Likewise.
40125 2011-07-09  Roland McGrath  <roland@hack.frob.com>
40127         * configure.in (.ctors/.dtors header and trailer check):
40128         Use an empirical test on a built program.
40129         * configure: Regenerated.
40131         * configure.in (-z relro check): Use an empirical test on a built DSO.
40132         Detect, but do not require, on ia64.
40133         * configure: Regenerated.
40135         * configure.in (READELF): Find it with AC_CHECK_TOOL.
40136         Update tests that use readelf to use $READELF instead.
40137         * configure: Regenerated.
40139 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
40141         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40142         if the result is not used.
40144 2011-07-05  Andreas Jaeger  <aj@suse.de>
40146         [BZ#9696]
40147         * stdlib/tst-strtod.c: Add testcase.
40149 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
40151         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40152         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40153         The latter has a higher limit.  Take additional parameter to pass to
40154         the new function.
40155         (__pathconf): Pass file to __statfs_link_max.
40156         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40157         __statfs_link_max.
40158         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40159         __statfs_link_max.
40161         [BZ #12868]
40162         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40163         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40164         Handle Lustre.
40165         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40166         (__statfs_filesize_max): Likewise.
40167         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40169 2011-07-05  Andreas Jaeger  <aj@suse.de>
40171         * resolv/res_comp.c (dn_skipname): Remove unused variable.
40173 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
40175         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40176         `status' variable.
40177         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40178         Likewise.
40180 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
40182         * Makefile (strop-tests): Add strncat.
40183         * string/test-strncat.c: New file.
40185 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
40187         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40189 2011-06-21  Andreas Jaeger  <aj@suse.de>
40191         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40192         Copy rule from iconvdata/Makefile.
40194 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40196         [BZ #12922]
40197         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40198         but no long options are defined, just return 'W'.
40200 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
40202         [BZ #9696]
40203         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40205 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40207         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40208         netgroups to read.
40209         (innetgr): Likewise.
40211 2011-07-05  Roland McGrath  <roland@hack.frob.com>
40213         * config.make.in (install_root): Default to $(DESTDIR).
40215 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
40217         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40219 2011-07-02  Roland McGrath  <roland@hack.frob.com>
40221         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40223         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40224         containing directory rather than embedding absolute directory names.
40226         * scripts/check-local-headers.sh: Rewritten using awk.
40227         Match by word, not by line.  Print error messages for matches.
40228         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40230         * Makerules [shlib-lds-flags empty]:
40231         ($(common-objpfx)libc_pic.opts): New target.
40232         ($(common-objpfx)libc_pic.os.clean): New target.
40233         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40235         * config.make.in (OBJCOPY): New variable.
40236         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40237         * configure: Regenerated.
40239         * config.make.in (use-default-link): New variable.
40240         * configure.in (use_default_link): Grok --with-default-link to set it.
40241         * configure: Regenerated.
40242         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40243         (shlib-lds, shlib-lds-flags): Define to empty.
40245         * Makerules (shlib-lds): New variable.
40246         (shlib-lds-flags): New variable.
40247         (build-shlib, build-moduile, build-module-asneeded): Use it.
40248         ($(common-objpfx)libc.so): Use $(shlib-lds).
40249         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40250         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40252         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40253         DT_FLAGS/DT_FLAGS_1 with zero flags.
40255         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40256         linker script munging.
40258 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
40260         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40261         as 128-bit value.
40262         * crypt/sha512.c (sha512_process_block): Perform total addition using
40263         128-bit if possible.
40264         (__sha512_finish_ctx): Likewise.
40265         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40266         as 64-bit value.
40267         * crypt/sha256.c (SWAP64): Define.
40268         (sha256_process_block): Perform total addition using 64-bit if
40269         possible.
40270         (__sha256_finish_ctx): Likewise.
40272 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
40274         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
40275         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40276         * nscd/hstcache.c (cache_addhst): Likewise.
40277         * nscd/grpcache.c (cache_addgr): Likewise.
40278         * nscd/aicache.c (addhstaiX): Likewise
40279         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40281 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
40283         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40284         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40285         * nscd/hstcache.c (cache_addhst): Likewise.
40286         * nscd/grpcache.c (cache_addgr): Likewise.
40287         * nscd/aicache.c (addhstaiX): Likewise
40289 2011-07-01  Andreas Schwab  <schwab@redhat.com>
40291         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40292         domain only when needed.
40294 2011-06-30  Andreas Schwab  <schwab@redhat.com>
40296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40297         is always restored.
40299 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
40301         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40302         are re-adding the entry.
40303         * nscd/servicescache.c (cache_addserv): Likewise.
40305 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
40307         * sysdeps/generic/dl-irel.h: fix protection against multiple
40308         inclusions.
40309         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40311 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
40313         [BZ #12935]
40314         * malloc/memusage.sh: Fix quoting in message.
40315         * debug/xtrace.sh: Likewise.
40317         * configure.in: Remove support for --experimental-malloc option, make
40318         it the default.
40319         * config.make.in: Likewise.
40320         * malloc/Makefile: Likewise.
40322 2011-06-27  Andreas Schwab  <schwab@redhat.com>
40324         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40325         two-byte characters.
40327 2011-06-27  Roland McGrath  <roland@hack.frob.com>
40329         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40330         AC_CACHE_CHECK invocation.
40331         * configure: Regenerated.
40333         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40335 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
40337         [BZ #12350]
40338         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
40339         bit from old_res_options.
40341         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40343         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40344         value type for setfct.
40346 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
40348         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40349         __gettimeofday instead of gettimeofday.
40351 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
40353         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40355 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
40357         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40359         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40360         info.
40362 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40365         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40366         strcpy-sse2-unaligned strncpy-sse2-unaligned
40367         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40368         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40369         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40370         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40371         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40372         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40373         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40374         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40375         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40376         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40377         (STRCPY): Support SSE2 and SSSE3 versions.
40379 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
40381         [BZ #12874]
40382         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40383         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40384         kernels which artificially limit size of requests.
40386 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40388         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40389         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40390         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40391         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40392         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40393         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40394         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40395         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40396         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40397         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40398         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40399         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40400         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40401         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40402         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40404         Enable unaligned load optimization for Intel Core i3, i5 and i7
40405         processors.
40406         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40407         Define.
40408         (index_Fast_Unaligned_Load): Define.
40409         (HAS_FAST_UNALIGNED_LOAD): Define.
40411 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
40413         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40415 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40417         [BZ #12907]
40418         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40419         until it is clear that the information is realy needed.
40420         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40422 2011-06-22  Andreas Schwab  <schwab@redhat.com>
40424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40426 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40428         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40429         /sys/devices/system/cpu/online if it is usable.
40431         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40432         reading the information from the /proc filesystem to once a second.
40434 2011-06-21  Andreas Jaeger  <aj@suse.de>
40436         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40437         NULL after inclusion of kernel headers.
40439 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
40441         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40442         calls to internal_setent.
40444         [BZ #12885]
40445         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40446         addresses using gethostbyname4_r ignore IPv4 addresses.
40448         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40449         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
40451         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40453 2011-06-20  David S. Miller  <davem@davemloft.net>
40455         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40456         inclusions.
40457         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40459         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40460         (elf_irel): Use it.
40461         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40462         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40463         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40464         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40465         * sysdeps/x86_64/dl-irel.h: Likewise.
40467         * elf/dl-runtime.c: Use elf_ifunc_invoke.
40468         * elf/dl-sym.c: Likewise.
40470 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40472         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
40473         need to dereference resplen2.
40475 2011-06-14  Andreas Schwab  <schwab@redhat.com>
40477         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40479 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40481         * Makeconfig: Define vardbdir and inst_vardbdir.
40482         * nss/Makefile: Add rules to install db-Makefile.
40484         * nss/nss_db/db-XXX.c: Cleanup.
40486         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40487         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40488         GLIBC_PRIVATE.
40489         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40490         * nss/makedb.c: Implement -g option to specify that value strings
40491         are generated and should not be added to table iterated over for
40492         get*ent calls.
40493         * nss/nss_db/db-initgroups.c: New file.
40495         * nss/getent.c: Add support for initgroups lookups through getgrouplist
40496         interface.
40498         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40499         (internal_getgrouplist): Adjust to name change.
40500         Update use_initgroups_entry if this is not the first call.
40501         * nss/databases.def: Add initgroups entry.
40503         * nss/makedb.c (compute_tables): Check result of multiple hash table
40504         sizes to minimize maximum chain length.
40506 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
40508         * Versions.def: Add entry for libnss_db.
40509         * shlib-versions: Likewise.
40510         * nss/Makefile: Add rules to build libnss_db.
40511         * nss/Versions: Add libnss_db information.  Organize libnss_files
40512         entries better.
40513         * nss/db-Makefile: Add gshadow support.  Change rules for the new
40514         makedb progra.  Some minor improvements to generate smaller files.
40515         * nss/nss_db/nss_db.h: Move NSS database header data structures to
40516         here from...
40517         * nss/makedb.c: ...here.
40518         Improve database format to be smaller and require less memory at
40519         runtime.
40520         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
40521         db anymore.
40522         * nss/nss_db/db-netgrp.c: Likewise.
40523         * nss/nss_db/db-open.c: Likewise.
40524         * nss/nss_files/flies-XXX.x: Adjust comments.
40525         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40526         * nss/nss_files/files-grp.c: Likewise.
40527         * nss/nss_files/files-hosts.c: Likewise.
40528         * nss/nss_files/files-network.c: Likewise.
40529         * nss/nss_files/files-proto.c: Likewise.
40530         * nss/nss_files/files-pwd.c: Likewise.
40531         * nss/nss_files/files-rpc.c: Likewise.
40532         * nss/nss_files/files-service.c: Likewise.
40533         * nss/nss_files/files-sgrp.c: Likewise.
40534         * nss/nss_files/files-spwd.c: Likewise.
40535         * nss/nss_db/db-alias.c: Removed.
40536         * nss/nss_db/dummy-db.h: Removed.
40538 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
40540         * nss/makedb.c: Rewritten to not use database library.
40541         * nss/Makefile: Update to build new makedb program.
40543 2011-06-14  Andreas Jaeger  <aj@suse.de>
40545         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40546         memset declaration.
40548 2011-06-10  Andreas Schwab  <schwab@redhat.com>
40550         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40551         tmpbuf.
40553 2011-06-10  Roland McGrath  <roland@hack.frob.com>
40555         * Makerules (shlib.lds): Fail if the linker script comes out empty.
40556         * elf/Makefile ($(objpfx)ld.so): Likewise.
40558         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40559         Don't list ld.so twice in dependencies.
40561         * posix/bug-regex31.c: Include <stdlib.h>.
40563         * nscd/hstcache.c (cache_addhst): Remove unused variable.
40565         * nis/nss_compat/compat-spwd.c
40566         (getspent_next_nss_netgr): Remove unused variable.
40567         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40569         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40570         nonmembers" output to use the right array.
40572         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40574         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40576         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40577         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40578         * catgets/gencat.c (read_input_file): Likewise.
40579         * locale/programs/locarchive.c (enlarge_archive): Likewise.
40581         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40582         variable definition inside #if's controlling its use.
40584         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40586         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40588         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40590         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40591         unreachable code.
40593         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40595         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40596         * configure: Regenerated.
40598         * Makerules: Revert last change.
40599         * elf/Makefile: Likewise.
40601 2011-06-09  Roland McGrath  <roland@hack.frob.com>
40603         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40604         * elf/Makefile ($(objpfx)librtld.os): Likewise.
40605         (reloc-link): Likewise.
40607 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
40609         * elf/Makefile: Add rules to build pldd.
40610         * elf/pldd.c: New file.
40611         * elf/pldd-xx.c: New file.
40613 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
40615         * version.h: Update for 2.15 development version.
40617 2011-06-07  David S. Miller  <davem@davemloft.net>
40619         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40620         ifuncs.
40621         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40622         elf_machine_lazy_rel): Likewise.
40623         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40624         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40625         elf_machine_lazy_rel): Likewise.
40626         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40627         dl_hwcap via passed in argument.
40628         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40629         Likewise.
40631 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40633         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
40635 2011-06-06  Roland McGrath  <roland@hack.frob.com>
40637         [BZ #12849]
40638         * manual/fdl-1.1.texi: New file, verbatim from:
40639         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40640         * manual/lgpl-2.1.texi: New file, verbatim from:
40641         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40642         * manual/Makefile (licenses): New variable, list those new file names.
40643         (texis): Use it.
40644         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40646         * manual/fdl.texi: File removed.
40647         * manual/lesser.texi: File removed.
40648         * manual/libc.texinfo (Copying, Documentation License):
40649         Use new @include file names, put @appendix directive before @include.
40651 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
40653         [BZ #12841]
40654         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40655         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40656         (mq_open): Add __NTH.
40658 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
40660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40661         Assume Intel Core i3/i5/i7 processor if AVX is available.
40663 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40665         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40666         typo.
40668 2011-05-31  Andreas Schwab  <schwab@redhat.com>
40670         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40671         memory.  Use alloca_account.  Fix memory leak when retrying.
40673 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40675         * version.h (RELEASE): Bump for 2.14 release.
40676         * include/features.h (__GLIBC_MINOR__): Bump to 14.
40678         * config.make.in (RANLIB): Remove entry.
40680 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
40682         * po/Makefile (po-sed-cmd): Add ksh to extensions.
40683         (libc.pot): Work around missing support for .ksh extension in xgettext.
40685         [BZ #12684]
40686         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40687         if both request failed.
40688         (send_dg): In case of server errors clear resplen or *resplen2.
40690         [BZ #12454]
40691         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40692         when there are multiple maps.
40693         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40694         (_dl_fini): Remove test here.
40696         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40698 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
40700         [BZ #12350]
40701         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40702         bit from old_res_options.
40703         (gaih_inet): Likewise.
40705         [BZ #11099]
40706         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40707         as signed.
40709         * resolv/res_init.c (res_setoptions): Make the code more compact.
40711         [BZ #11558]
40712         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40713         set RES_USEVC.
40715         [BZ #11634]
40716         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40718         * malloc/malloc.h: Mark malloc hook variables as deprecated.
40720         [BZ #11781]
40721         * malloc/malloc.h: Declare malloc hook variables as volatile.
40723         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40724         in last patch.
40726         [BZ #11799]
40727         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40728         raise in the comment.
40729         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40730         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40731         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40733 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
40735         [BZ #12811]
40736         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40737         grow the buffers more if it already has to be sufficient.
40738         (build_wcs_upper_buffer): Likewise.
40739         * posix/regexec.c (check_matching): Likewise.
40740         (clean_state_log_if_needed): Likewise.
40741         (extend_buffers): Don't enlarge buffers beyond size of the input
40742         buffer.
40743         Patches mostly by Emil Wojak <emil@wojak.eu>.
40744         * posix/bug-regex32.c: New file.
40745         * posix/Makefile (tests): Add bug-regex32.
40747         * locale/findlocale.c (_nl_find_locale): Return right away if
40748         _nl_explode_name failed.
40749         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40751         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40753         * debug/xtrace.sh: Unify messages.
40754         * malloc/memusage.sh: Likewise.
40756         [BZ #12813]
40757         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40758         time symbol from vDSO.  Substitute with vsyscall if not available.
40759         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40760         __vdso_time.
40762         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40763         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40764         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40765         Add sendmmsg and internal_sendmmsg.
40766         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40767         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40768         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40770         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40771         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40772         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40774 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
40776         [BZ #12813]
40777         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40778         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
40779         available.
40780         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40781         __vdso_getcpu.
40783         [BZ #12814]
40784         * iconvdata/Makefile (tests): Add bug-iconv9.
40785         * iconvdata/bug-iconv9.c: New file.
40787 2011-05-27  Andreas Schwab  <schwab@redhat.com>
40789         [BZ #12814]
40790         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40792 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
40794         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40795         (struct user_regs_struct): Change intcs field back to cs.
40797 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
40799         * po/ja.po: Update from translation team.
40801 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
40803         [BZ #12795]
40804         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40805         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40807 2011-05-20  Andreas Schwab  <schwab@redhat.com>
40809         * stdlib/longlong.h: Update from GCC.
40811 2011-05-23  Andreas Schwab  <schwab@redhat.com>
40813         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40814         parameter name.
40815         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40816         Add parameter name.
40817         (__sysconf): Pass it down.
40819 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
40821         [BZ #12671]
40822         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40823         some situations.
40824         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40825         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40826         add in in __libc_use_alloca calls.  Adjust callers.
40827         (glob): Use malloc in some situations.
40829         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40830         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40831         pltexit.
40833 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
40835         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40836         and CLOCK_BOOTTIME_ALARM.
40838         [BZ #12782]
40839         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40840         is returned.
40842         * string/_strerror.c (__strerror_r): Print negative errors as signed
40843         numbers.
40845         [BZ #12777]
40846         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40847         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40848         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40850         * configure.in: Fix typo in redirection and correct removal of test
40851         files in two cases.
40853         [BZ #12788]
40854         * locale/setlocale.c (new_composite_name): Fix test to check for
40855         identical name of all categories.
40857         [BZ #12792]
40858         * libio/filedoalloc.c (local_isatty): New function.
40859         (_IO_file_doallocate): Use local_isatty.
40860         * stdio-common/perror.c (perror): In case a new stream is used
40861         forward the stream error.
40862         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40863         error flag.
40865 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
40867         [BZ #11869]
40868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40869         alloca.
40870         * include/alloca.h (extend_alloca_account): Define.
40872         [BZ #11857]
40873         * posix/regex.h: Fix comments with documentation of user-accessible
40874         fields after compilation and describe correct free'ing of pattern
40875         after re_compile_pattern.
40876         Patch by Reuben Thomas <rrt@sc3d.org>.
40878 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
40880         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40881         and -mno-altivec to prevent the compiler from using Altivec and/or
40882         VSX instructions when the corresponding registers are not available.
40884 2011-05-19  Andreas Schwab  <schwab@redhat.com>
40886         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40888 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
40890         * libio/freopen.c (freopen): Use __dup2, not dup2.
40891         * libio/freopen64.c (freopen64): Likewise.
40893 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40895         [BZ #12775]
40896         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40897         * math/Makefile (tests): Add test-powl.
40898         (CFLAGS-test-powl.c): Define.
40899         * math/test-powl.c: New file.
40901 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40903         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40905 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
40907         [BZ #11837]
40908         * iconvdata/gb18030.c: Update to GB18020-2005.
40910 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
40912         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40913         RE_SYNTAX_POSIX_AWK): Update to match recent development.
40914         Patch by Aharon Robbins <arnold@skeeve.com>.
40916         [BZ #11892]
40917         * stdlib/putenv.c (putenv): Don't always create copy of the variable
40918         on the stack.
40920         [BZ #11895]
40921         * misc/pselect.c (__pselect): Handle timeout value errors hidden
40922         through underflows.
40924         [BZ #12766]
40925         * misc/error.c (error_at_line): Ensure file_name and old_file_name
40926         point to strings before performing equality test for error_one_per_line
40927         mode.
40929         [BZ #11697]
40930         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40932         [BZ #11820]
40933         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40934         (struct user_fpregs_struct): Avoid __uint*_t types.
40936         [BZ #6420]
40937         * malloc/mtrace.c (tr_where): Add additional parameter to point to
40938         symbol info.  Use it instead of calling _dl_addr locally.
40939         (lock_and_info): New function.
40940         (tr_freehook): Call lock_and_info and pass symbol info as additional
40941         parameter to tr_where.
40942         (tr_mallochook): Likewise.
40943         (tr_reallochook): Likewise.
40944         (tr_memalignhook): Likewise.
40946         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
40947         used and couldn't be at all thread-safe.
40949 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
40951         * libio/freopen.c (freopen): Don't close old file descriptor
40952         before the new one is opened.  Instead dup the new file descriptor
40953         to the old one after the new stream is created.
40954         * libio/freopen64.c (freopen64): Likewise.
40955         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40956         * libio/fileops.c (_IO_new_file_close_it): Handle new
40957         _IO_FLAGS2_NOCLOSE flag.
40958         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40959         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40960         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40961         _IO_FLAGS2_NOCLOSE flag.
40962         * include/unistd.h: Add hidden_proto for dup3.
40963         Define __have_dup3.
40964         * io/dup3.c: Define hidden symbol.
40965         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40967         [BZ #7101]
40968         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40969         when an incomplete long option is used.
40970         * posix/tst-getopt_long1.c: New file.
40971         * posix/Makefile (tests): Add tst-getopt_long1.
40973         [BZ #10138]
40974         * scripts/config.guess: Update from autoconf-2.68.
40975         * scripts/config.sub: Likewise.
40977         [BZ #10157]
40978         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40979         tests into ...
40980         (has_cpuclock): ...this.  New function.
40981         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40982         macro here based on has_cpuclock code.
40984         [BZ #10149]
40985         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40986         First byte (not low byte) is now always NUL.
40987         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40990         Use non-cancelable interfaces.
40992         [BZ #9809]
40993         * locale/iso-639.def: Add entry for Sorani.
40995         [BZ #11901]
40996         * include/stdlib.h: Move include protection to the right place.
40997         Define abort_msg_s.  Declare __abort_msg with it.
40998         * stdlib/abort.c (__abort_msg): Adjust type.
40999         * assert/assert.c (__assert_fail_base): New function.  Majority
41000         of code from __assert_fail.  Allocate memory for __abort_msg with
41001         mmap.
41002         (__assert_fail): Now call __assert_fail_base.
41003         * assert/assert-perr.c: Remove bulk of implementation.  Use
41004         __assert_fail_base.
41005         * include/assert.hL Declare __assert_fail_base.
41006         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41007         mmap.
41008         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41010 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
41012         [BZ #11952]
41013         [BZ #12453]
41014         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41015         until all modules are registered in the DTV.
41016         * elf/Makefile: Add rules to build and run tst-tls19.
41017         * elf/tst-tls19.c: New file.
41018         * elf/tst-tls19mod1.c: New file.
41019         * elf/tst-tls19mod2.c: New file.
41020         * elf/tst-tls19mod3.c: New file.
41021         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41023         [BZ #12083]
41024         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41025         correctly.
41027         [BZ #12601]
41028         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41029         two-byte sequence errors.
41030         * iconvdata/Makefile (tests): Add bug-iconv8.
41031         * iconvdata/bug-iconv8.c: New file.
41033         [BZ #12626]
41034         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41035         buf2 definition.
41037         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41039         [BZ #12432]
41040         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41041         (dummy_getcfa): New function.
41042         (init): Get _Unwind_GetCFA address, use dummy if not found.
41043         (backtrace_helper): In recursion check, also check whether CFA changes.
41044         (__backtrace): Completely initialize arg.
41046         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41047         storing incomplete byte sequence in state object.  Avoid testing for
41048         guaranteed too small input if we know there is enough data available.
41050 2011-05-11  Andreas Schwab  <schwab@redhat.com>
41052         * Makeconfig (+link-pie): Indent.
41053         * Rules (binaries-pie): Define if $(have-fpie) and
41054         $(build-shared).
41055         (binaries-shared): Also filter out $(binaries-pie).
41056         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41057         * nscd/Makefile (others-pie): Add nscd.
41058         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41059         ($(objpfx)nscd): Remove command override.
41060         * login/Makefile (others-pie): Add pt_chown.
41061         ($(objpfx)pt_chown): Remove command override.
41062         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41063         remove command overrides.
41065 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
41067         * libio/tst_putwc.c: Fix error messages.
41069         [BZ #12724]
41070         * libio/fileops.c (_IO_new_file_close_it): Always flush when
41071         currently writing and seek to current position when not.
41072         * libio/Makefile (tests): Add bug-fclose1.
41073         * libio/bug-fclose1.c: New file.
41075 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
41077         [BZ #12511]
41078         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41079         don't set DF_1_NODELETE here.
41080         (do_lookup_x): When entering new entry test for copy relocation
41081         and if necessary set DF_1_NODELETE flag.
41082         * elf/tst-unique4.cc: New file.
41083         * elf/tst-unique4.h: New file.
41084         * elf/tst-unique4lib.cc: New file.
41085         * elf/Makefile: Add rules to build and run tst-unique4.
41086         Patch by Piotr Bury <pbury@goahead.com>.
41088 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
41090         [BZ #12052]
41091         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41093         [BZ #12625]
41094         * misc/mntent_r.c (addmntent): Flush the stream after the output
41096         [BZ #12393]
41097         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41098         (is_trusted_path_normalize): Skip initial colon.  Append slash
41099         to empty buffer.  Duplicate is_trusted_path code but allow
41100         constructed patch to be prefix.
41101         (is_dst): Allow $ORIGIN followed by /.
41102         (_dl_dst_substitute): Correct clearing of check_for_trusted.
41103         Correct testing of result of is_trusted_path_normalize
41104         (decompose_rpath): Fix warning.
41106 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
41108         [BZ #11257]
41109         * grp/initgroups.c (internal_getgrouplist): When we found the service
41110         list through the initgroups entry in nsswitch.conf do not always
41111         continue on a successful lookup.  Don't always use the
41112         __nss_group_database value if it is set.
41113         * nss/nsswitch.conf (initgroups): Change action for successful db
41114         lookup to continue for compatibility.
41116 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
41118         [BZ #11532]
41119         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41120         and CP774 modules.
41121         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41122         and CP774 modules.
41123         * iconvdata/tst-tables.sh: Likewise.
41124         * iconvdata/cp770.c: New file.
41125         * iconvdata/cp771.c: New file.
41126         * iconvdata/cp772.c: New file.
41127         * iconvdata/cp773.c: New file.
41128         * iconvdata/cp774.c: New file.
41129         * iconvdata/testdata/CP770: New file.
41130         * iconvdata/testdata/CP770..UTF8: New file.
41131         * iconvdata/testdata/CP771: New file.
41132         * iconvdata/testdata/CP771..UTF8: New file.
41133         * iconvdata/testdata/CP772: New file.
41134         * iconvdata/testdata/CP772..UTF8: New file.
41135         * iconvdata/testdata/CP773: New file.
41136         * iconvdata/testdata/CP773..UTF8: New file.
41137         * iconvdata/testdata/CP774: New file.
41138         * iconvdata/testdata/CP774..UTF8: New file.
41140         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41141         END CHARMAP line.
41142         * iconvdata/gen-8bit-gap.sh: Likewise.
41143         * iconvdata/gen-8bit.sh: Likewise.
41145         * locale/iso-639.def: Add ary entry.
41147         [BZ #11258]
41148         * locale/C-translit.h.in: Add U20A1 transliteration.
41150         [BZ #12178]
41151         * locale/iso-639.def: Add wae entry.
41152         Patch by Kevin Bortis <bortis@translate-wae.ch>.
41154         [BZ #12545]
41155         * locale/programs/localedef.c (construct_output_path): Use ssize_t
41156         for n.
41158         [BZ #12711]
41159         * locale/C-translit.h.in: Add entry for U20B9.
41160         Patch by pravin.d.s@gmail.com.
41162 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
41164         [BZ #12713]
41165         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41166         ENAMETOOLONG use generic getcwd.
41167         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
41168         in rtld.  Use *stat64.
41169         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41170         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41171         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41172         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41173         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41174         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41175         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41176         __fstatat64 macros.
41177         * include/dirent.h: Add libc_hidden_proto for rewinddir.
41178         * dirent/rewinddir.c: Add libc_hidden_def.
41179         * sysdeps/mach/hurd/rewinddir.c: Likewise.
41180         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
41182         * include/dirent.h (__alloc_dir): Add flags parameter.
41183         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41184         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41185         __alloc_dir.
41186         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
41187         from fdopendir if O_CLOEXEC is already set.
41189 2011-03-15  Alan Modra  <amodra@gmail.com>
41191         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41192         l_tls_firstbyte_offset non-zero.  Save padding offset in
41193         l_tls_firstbyte_offset for later use.
41194         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41195         freeing static tls block.
41197 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
41199         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41200         where #ifdef was intended.  The intent is to prevent ARG_MAX from
41201         being defined by the kernel headers.
41203 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
41205         [BZ #12734]
41206         * resolv/resolv.h: Define RES_NOTLDQUERY.
41207         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41208         no-tld-query and set RES_NOTLDQUERY.
41209         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41210         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41211         modern BIND to search name as TLD unless forbidden.
41213 2011-05-07  Petr Baudis  <pasky@suse.cz>
41214             Ulrich Drepper  <drepper@gmail.com>
41216         [BZ #12393]
41217         * elf/dl-load.c (fillin_rpath): Move trusted path check...
41218         (is_trusted_path): ...to here.
41219         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41220         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41221         using is_trusted_path_normalize() in setuid scripts.
41223 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41225         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41226         __BEGIN/__END_DECLS.
41228 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
41230         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41231         NSS_STATUS_NOTFOUND if no record was found.
41233 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41235         * sunrpc/Makefile (headers): Add rpc/netdb.h.
41236         (headers-not-in-tirpc): Remove rpc/netdb.h
41237         * resolv/netdb.h: Revert last change.
41239 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41241         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41242         circular dependency between libgcc.a and libc.a.
41244 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41246         * resolv/netdb.h: Don't include <rpc/netdb.h>.
41247         * nis/Makefile: Don't install rpcsvc/*.
41248         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41249         instead of <rpc/types.h>.
41250         (MAXHOSTNAMELEN): Define.
41252 2011-05-03  Andreas Schwab  <schwab@redhat.com>
41254         * elf/ldconfig.c (add_dir): Don't crash on empty path.
41256 2011-04-28  Maciej Babinski  <mbabinski@google.com>
41258         [BZ #12714]
41259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41260         gethostbyname4_r when IPv6 results are possible.
41262 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
41264         [BZ #12723]
41265         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41266         _PC_PIPE_BUF handling.
41268 2011-04-30  Bruno Haible  <bruno@clisp.org>
41270         [BZ #12717]
41271         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41272         * resolv/netdb.h (getnameinfo): Change type of flags parameter
41273         to 'int'.
41274         * inet/getnameinfo.c (getnameinfo): Likewise.
41276 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
41278         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41279         to groups setting in database lookup.
41280         * nss/nsswitch.conf: Add initgroups entry.
41282 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
41284         [BZ #12685]
41285         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41286         mode string.
41287         Patch by Eric Blake <eblake@redhat.com>.
41289 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
41291         * sunrpc/Makefile (need-export-routines): Add svc_run.
41292         (routines): Remove svc_run.
41293         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41294         * sunrpc/clnt_perr.c (clnt_perrno): Export.
41295         * sunrpc/svc_run.c (svc_run): Likewise.
41296         * sunrpc/svc_udp.c (svcudp_create): Likewise.
41298 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
41300         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41301         problem in reallocation in last patch.
41303 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
41305         * sunrpc/Makefile: Move inclusion of Rules.
41307 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41309         * nss/nss_files/files-initgroups.c: New file.
41310         * nss/Makefile (libnss_files-routines): Add files-initgroups.
41311         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41312         _nss_files_initgroups_dyn.
41314 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
41316         * elf/elf.h (R_ARM_IRELATIVE): Define.
41318 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41320         * po/ru.po: Update from translation team.
41322 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41324         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41325         dependencies.
41327 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
41329         [BZ #12653]
41330         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41331         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41332         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41333         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41334         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41336 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
41338         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41339         differing bytes.
41340         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41342         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41344 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41346         [BZ #12420]
41347         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41348         storing it.
41349         * stdlib/bug-getcontext.c: New file.
41350         * stdlib/Makefile: Add rules to build and run bug-getcontext.
41352 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41354         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41355         instructions into .machine "z9-109".
41356         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41357         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41359 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41361         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41362         between environment variables and auxiliary vector.
41364 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
41366         * Makefile: Add rules to build linkobj/libc.so.
41367         * include/libc-symbols.h: Define libc_hidden_nolink.
41368         * include/rpc/auth.h: Mark functions which are to be hidden.
41369         * include/rpc/auth_des.h: Likewise.
41370         * include/rpc/auth_unix.h: Likewise.
41371         * include/rpc/clnt.h: Likewise.
41372         * include/rpc/des_crypt.h: Likewise.
41373         * include/rpc/key_prot.h: Likewise.
41374         * include/rpc/pmap_clnt.h: Likewise.
41375         * include/rpc/pmap_prot.h: Likewise.
41376         * include/rpc/pmap_rmt.h: Likewise.
41377         * include/rpc/rpc_msg.h: Likewise.
41378         * include/rpc/svc.h: Likewise.
41379         * include/rpc/svc_auth.h: Likewise.
41380         * include/rpc/xdr.h: Likewise.
41381         * nis/Makefile: Link all DSOs against linkobj/libc.so.
41382         * nss/Makefile: Likewise.
41383         * sunrpc/Makefile: Don't install headers.  Build library with normal
41384         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
41385         * sunrpc/auth_des.c: Hide exported symbols by default, export some
41386         for the compat linking library.  Remove use of INTDEF/INTUSE.
41387         * sunrpc/auth_none.c: Likewise.
41388         * sunrpc/auth_unix.c: Likewise.
41389         * sunrpc/authdes_prot.c: Likewise.
41390         * sunrpc/authuxprot.c: Likewise.
41391         * sunrpc/clnt_gen.c: Likewise.
41392         * sunrpc/clnt_perr.c: Likewise.
41393         * sunrpc/clnt_raw.c: Likewise.
41394         * sunrpc/clnt_simp.c: Likewise.
41395         * sunrpc/clnt_tcp.c: Likewise.
41396         * sunrpc/clnt_udp.c: Likewise.
41397         * sunrpc/clnt_unix.c: Likewise.
41398         * sunrpc/des_crypt.c: Likewise.
41399         * sunrpc/des_soft.c: Likewise.
41400         * sunrpc/get_myaddr.c: Likewise.
41401         * sunrpc/key_call.c: Likewise.
41402         * sunrpc/key_prot.c: Likewise.
41403         * sunrpc/netname.c: Likewise.
41404         * sunrpc/pm_getmaps.c: Likewise.
41405         * sunrpc/pm_getport.c: Likewise.
41406         * sunrpc/pmap_clnt.c: Likewise.
41407         * sunrpc/pmap_prot.c: Likewise.
41408         * sunrpc/pmap_prot2.c: Likewise.
41409         * sunrpc/pmap_rmt.c: Likewise.
41410         * sunrpc/publickey.c: Likewise.
41411         * sunrpc/rpc_cmsg.c: Likewise.
41412         * sunrpc/rpc_common.c: Likewise.
41413         * sunrpc/rpc_dtable.c: Likewise.
41414         * sunrpc/rpc_prot.c: Likewise.
41415         * sunrpc/rpc_thread.c: Likewise.
41416         * sunrpc/rtime.c: Likewise.
41417         * sunrpc/svc.c: Likewise.
41418         * sunrpc/svc_auth.c: Likewise.
41419         * sunrpc/svc_authux.c: Likewise.
41420         * sunrpc/svc_raw.c: Likewise.
41421         * sunrpc/svc_run.c: Likewise.
41422         * sunrpc/svc_simple.c: Likewise.
41423         * sunrpc/svc_tcp.c: Likewise.
41424         * sunrpc/svc_udp.c: Likewise.
41425         * sunrpc/svc_unix.c: Likewise.
41426         * sunrpc/svcauth_des.c: Likewise.
41427         * sunrpc/xcrypt.c: Likewise.
41428         * sunrpc/xdr.c: Likewise.
41429         * sunrpc/xdr_array.c: Likewise.
41430         * sunrpc/xdr_float.c: Likewise.
41431         * sunrpc/xdr_intXX_t.c: Likewise.
41432         * sunrpc/xdr_mem.c: Likewise.
41433         * sunrpc/xdr_rec.c: Likewise.
41434         * sunrpc/xdr_ref.c: Likewise.
41435         * sunrpc/xdr_sizeof.c: Likewise.
41436         * sunrpc/xdr_stdio.c: Likewise.
41438 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
41440         [BZ #12650]
41441         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41442         * sysdeps/ia64/dl-tls.h: Likewise.
41443         * sysdeps/powerpc/dl-tls.h: Likewise.
41444         * sysdeps/s390/dl-tls.h: Likewise.
41445         * sysdeps/sh/dl-tls.h: Likewise.
41446         * sysdeps/sparc/dl-tls.h: Likewise.
41447         * sysdeps/x86_64/dl-tls.h: Likewise.
41448         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41450 2011-03-14  Andreas Schwab  <schwab@redhat.com>
41452         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41453         rpath element also skip the following colon.
41454         (expand_dynamic_string_token): Add is_path parameter and pass
41455         down to DL_DST_REQUIRED and _dl_dst_substitute.
41456         (decompose_rpath): Call expand_dynamic_string_token with
41457         non-zero is_path.  Ignore empty rpaths.
41458         (_dl_map_object_from_fd): Call expand_dynamic_string_token
41459         with zero is_path.
41461 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
41463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41464         Make cancelable.
41466 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
41468         [BZ #12655]
41469         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41470         Patch by Filipe David Manana <fdmanana@apache.org>.
41472 2011-04-07  Andreas Schwab  <schwab@redhat.com>
41474         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41475         Maintain aligned stack.
41476         (CHECK_RSP): Remove unused macro.
41478 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
41480         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41481         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41483 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
41485         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41487         * include/features.h: Mention __USE_XOPEN2K8 in comment.
41489 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
41491         [BZ #12518]
41492         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41493         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41494         * sysdeps/x86_64/memmove.c: New file.
41495         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41496         (memcpy): Renamed to ...
41497         (__new_memcpy): This.
41498         (memcpy): Provide GLIBC_2_14 memcpy.
41499         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41500         (memcpy): Provide GLIBC_2_2_5 memcpy.
41502 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41504         [BZ #12631]
41505         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41507 2011-03-30  Andreas Schwab  <schwab@redhat.com>
41509         * misc/syncfs.c: New file.
41510         * misc/Makefile (routines): Add syncfs.
41511         * posix/unistd.h: Declare syncfs.
41512         * sysdeps/unix/syscalls.list: Add syncfs.
41514 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41516         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41517         open_by_handle_at.
41518         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41519         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41520         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41521         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41522         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41523         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41524         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41526 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41528         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41529         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41530         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41531         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41532         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41533         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41534         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41536         * io/Makefile: Compile fallocate.c, fallocate64.c, and
41537         sync_file_range.c with -fexceptions.
41538         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41539         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41540         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41541         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41542         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41543         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41544         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41545         sync_file_range as cancellation point
41546         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
41547         now a wrapper around __call_sync_file_range with cancellation handling.
41548         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41549         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
41550         function name to __call_sync_file_range.
41551         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41552         Add call_sync_file_range.
41554 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41557         bits/timex.h.
41559 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41561         * iconv/iconv.h: Fix typo in comment.
41562         * io/fcntl.h: Likewise.
41563         * libio/stdio.h: Likewise.
41564         * posix/spawn.h: Likewise.
41565         * posix/unistd.h: Likewise.
41566         * stdlib/stdlib.h: Likewise.
41567         * time/time.h: Likewise.
41568         * wcsmbs/wchar.h: Likewise.
41570         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41571         open_by_handle): Add.
41572         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41573         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
41574         Augment a few comments.
41575         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41577         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41579         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41580         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41581         open_by_handle.
41583         * io/fcntl.h (AT_EMPTY_PATH): Define.
41585 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
41587         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41588         * sysdeps/unix/sysv/linux/bits/time.h: New file.
41589         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41590         to...
41591         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
41592         * Versions.def: Add GLIBC_2.14.
41593         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41594         Export.
41596 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
41598         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41599         round counter.
41600         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41602 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41604         [BZ #12597]
41605         * string/test-strncmp.c (do_page_test): New function.
41606         (check2): Likewise.
41607         (test_main): Call check2.
41608         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41610 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
41612         [BZ #12587]
41613         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41614         Handle cache information in CPU leaf 4.
41615         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41617 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
41619         [BZ #12583]
41620         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41621         character representation.
41622         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41624 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
41626         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41627         END(__isnan) to END(__isnanf) to match function entry point/label
41628         EALIGN(__isnanf,...).
41630 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
41632         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41634 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
41636         [BZ #12510]
41637         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41638         copy from the symbol referenced in the relocation to initialize the
41639         used variable.
41640         Patch by Piotr Bury <pbury@goahead.com>.
41641         * elf/Makefile: Add rules to build and tst-unique3.
41642         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41643         * elf/tst-unique3.cc: New file.
41644         * elf/tst-unique3.h: New file.
41645         * elf/tst-unique3lib.cc: New file.
41646         * elf/tst-unique3lib2.cc: New file.
41648         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41650 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
41652         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41653         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
41654         to _start.
41656 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
41658         * elf/dl-load.c (_dl_map_object): If we are looking for the first
41659         to-be-loaded object along a path to loader is ld.so.
41661 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41662             Ulrich Drepper  <drepper@gmail.com>
41664         * sysdeps/x86_64/memset.S: After aligning destination, code
41665         branches to different locations depending on the value of
41666         misalignment, when multiarch is enabled. Fix this.
41668 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41670         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41671         Set _x86_64_preferred_memory_instruction for AMD processsors.
41672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41673         Set bit_Prefer_SSE_for_memop for AMD processors.
41675 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
41677         * libio/fmemopen.c (fmemopen): Optimize a bit.
41679 2011-03-03  Andreas Schwab  <schwab@redhat.com>
41681         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41683 2011-03-03  Roland McGrath  <roland@redhat.com>
41685         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41687 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
41689         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41690         __bzero_ultra1 instead of __memset_ultra1.
41692 2011-02-23  Andreas Schwab  <schwab@redhat.com>
41693             Ulrich Drepper  <drepper@gmail.com>
41695         [BZ #12509]
41696         * include/link.h (struct link_map): Add l_orig_initfini.
41697         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41698         returning unsuccessfully.
41699         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41700         close of a file loaded at startup, restore the original l_initfini
41701         list.
41702         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41703         list, store the pointer.
41704         * elf/Makefile ($(objpfx)noload-mem): New rule.
41705         (noload-ENV): Define.
41706         (tests): Add $(objpfx)noload-mem.
41707         * elf/noload.c: Include <memcheck.h>.
41708         (main): Call mtrace.  Close all opened handles.
41710 2011-02-17  Andreas Schwab  <schwab@redhat.com>
41712         [BZ #12454]
41713         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41714         dependencies are missing.
41716 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41718         Fix __if_freereq crash: Unlike the generic version which uses free,
41719         Hurd needs munmap.
41720         * sysdeps/mach/hurd/ifreq.h: New file.
41722 2011-01-27  Petr Baudis  <pasky@suse.cz>
41723             Ulrich Drepper  <drepper@gmail.com>
41725         [BZ 12445]#
41726         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41727         to extend_alloca().
41728         * stdio-common/bug23.c: New file.
41729         * stdio-common/Makefile (tests): Add bug23.
41731 2010-09-28  Andreas Schwab  <schwab@redhat.com>
41732             Ulrich Drepper  <drepper@gmail.com>
41734         [BZ #12489]
41735         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41736         before performing relro protection.  At old place add assertion
41737         to make sure nothing changed.
41739 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
41740             Glauber de Oliveira Costa  <glommer@gmail.com>
41742         * elf/elf.h: Add new ARM TLS relocs.
41744 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
41746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41747         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41748         cast from r3.
41749         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
41750         'tests' variable.
41751         * sysdeps/wordsize-64/tst-writev.c: New file.
41753 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
41755         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41756         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41757         insns in _dl_start to prevent a TOC reference before relocs are
41758         resolved.
41760 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
41762         [BZ #12469]
41763         * Makeconfig: Remove RANLIB definition.
41764         * Makerules: Don't use RANLIB.
41765         * aclocal.m4: Remove ranlib test.
41766         * configure.in: No need to check for ranlib.
41767         * elf/rtld-Rules: Don't use RANLIB.
41769 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41771         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41772         protection macro.
41773         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41774         inclusion protection macro.
41776         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41777         SIGRTMIN and SIGRTMAX and print information in that case only when
41778         SIGRTMIN is defined.
41780 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
41782         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41783         arginfo fn returning -1.
41785         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41786         and thousands string is zero terminated.
41788 2011-02-03  Andreas Schwab  <schwab@redhat.com>
41790         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41791         sysdeps/unix/sysv/linux/bits/socket.h.
41793 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41795         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41796         (__CPU_COUNT): Remove old macros.
41797         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41798         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41799         (__CPU_ALLOC, __CPU_FREE): Add macros.
41800         (__sched_cpualloc, __sched_cpufree): Add declarations.
41802 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
41804         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41805         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41806         * nscd/aicache.c (addhstaiX): Return timeout of added value.
41807         (readdhstai): Return value of addhstaiX call.
41808         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41809         (addgrbyX): Return value returned by cache_addgr.
41810         (readdgrbyname): Return value returned by addgrbyX.
41811         (readdgrbygid): Likewise.
41812         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41813         (addpwbyX): Return value returned by cache_addpw.
41814         (readdpwbyname): Return value returned by addhstbyX.
41815         (readdpwbyuid): Likewise.
41816         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41817         (addservbyX): Return value returned by cache_addserv.
41818         (readdservbyname): Return value returned by addservbyX:
41819         (readdservbyport): Likewise.
41820         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41821         (addhstbyX): Return value returned by cache_addhst.
41822         (readdhstbyname): Return value returned by addhstbyX.
41823         (readdhstbyaddr): Likewise.
41824         (readdhstbynamev6): Likewise.
41825         (readdhstbyaddrv6): Likewise.
41826         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41827         (readdinitgroups): Return value returned by addinitgroupsX.
41828         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41829         (prune_cache): Keep track of timeout value of re-added entries.
41830         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41831         * nscd/nscd.h: Adjust prototypes of readd* functions.
41833 2011-02-04  Roland McGrath  <roland@redhat.com>
41835         * nis/nis_server.c (nis_servstate): Use the right name for 0.
41836         (nis_stats): Likewise.
41837         * nis/nis_modify.c (nis_modify): Likewise.
41838         * nis/nis_remove.c (nis_remove): Likewise.
41839         * nis/nis_add.c (nis_add): Likewise.
41841         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41843         * posix/fnmatch_loop.c: Add some consts.
41845         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41847 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
41849         [BZ #12460]
41850         * config.make.in (config-cflags-novzeroupper): Define.
41851         * configure.in: Substitute libc_cv_cc_novzeroupper.
41852         * elf/Makefile (AVX-CFLAGS): Define.
41853         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41854         (CFLAGS-tst-auditmod4a.c): Likewise.
41855         (CFLAGS-tst-auditmod4b.c): Likewise.
41856         (CFLAGS-tst-auditmod6b.c): Likewise.
41857         (CFLAGS-tst-auditmod6c.c): Likewise.
41858         (CFLAGS-tst-auditmod7b.c): Likewise.
41859         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41861 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
41863         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41864         function to the callback.
41865         Patch partly by Jiri Olsa <jolsa@redhat.com>.
41867 2011-02-02  Andreas Schwab  <schwab@redhat.com>
41869         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41870         of errno.
41872 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
41874         [BZ #11724]
41875         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41876         of constructors.
41877         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41878         of destructors.
41879         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41881         [BZ #11724]
41882         * elf/Makefile: Add rules to build and run new test.
41883         * elf/tst-initorder.c: New file.
41884         * elf/tst-initorder.exp: New file.
41885         * elf/tst-initordera1.c: New file.
41886         * elf/tst-initordera2.c: New file.
41887         * elf/tst-initordera3.c: New file.
41888         * elf/tst-initordera4.c: New file.
41889         * elf/tst-initorderb1.c: New file.
41890         * elf/tst-initorderb2.c: New file.
41891         * elf/tst-order-a1.c: New file.
41892         * elf/tst-order-a2.c: New file.
41893         * elf/tst-order-a3.c: New file.
41894         * elf/tst-order-a4.c: New file.
41895         * elf/tst-order-b1.c: New file.
41896         * elf/tst-order-b2.c: New file.
41897         * elf/tst-order-main.c: New file.
41898         New test case by George Gensure <werkt0@gmail.com>.
41900 2010-10-01  Andreas Schwab  <schwab@redhat.com>
41902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41903         decoding ACE if AI_CANONIDN.
41905 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
41907         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41909 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
41911         * version.h (RELEASE): Bump for 2.13 release.
41912         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41914         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41916         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41917         MADV_NOHUGEPAGE.
41918         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41919         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41920         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41921         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41922         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41923         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41925         * posix/getconf.c: Update copyright year.
41926         * catgets/gencat.c: Likewise.
41927         * csu/version.c: Likewise.
41928         * debug/catchsegv.sh: Likewise.
41929         * debug/xtrace.sh: Likewise.
41930         * elf/ldconfig.c: Likewise.
41931         * elf/ldd.bash.in: Likewise.
41932         * elf/sprof.c (print_version): Likewise.
41933         * iconv/iconv_prog.c: Likewise.
41934         * iconv/iconvconfig.c: Likewise.
41935         * locale/programs/locale.c: Likewise.
41936         * locale/programs/localedef.c: Likewise.
41937         * malloc/memusage.sh: Likewise.
41938         * malloc/mtrace.pl: Likewise.
41939         * nscd/nscd.c (print_version): Likewise.
41940         * nss/getent.c: Likewise.
41942         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41943         PF_CAIF, and PF_ALG.
41944         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41946 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
41948         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41949         (modules-names): Use them.
41950         (ifunc-test-modules, ifunc-pie-tests): Define.
41951         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41952         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41953         (test-extras): Likewise.
41954         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41955         $(compile-command.c).
41956         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41957         (all-built-dso): Define.
41958         (check-textrel.out, check-execstack.out): Depend on it.
41960         * configure.in: Don't override --enable-multi-arch.
41962 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
41964         [BZ #6812]
41965         * nscd/hstcache.c (tryagain): Define.
41966         (cache_addhst): Return tryagain not notfound for temporary errors.
41967         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41968         failed.
41970 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
41972         [BZ #10563]
41973         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41974         to make the syscall.
41975         * sysdeps/unix/sysv/linux/setgroups.c: New file.
41977         [BZ #12378]
41978         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41979         and fall back to matching as normal character if the string ends before
41980         the matching ']' is found.  This is what POSIX requires.
41981         * posix/testfnm.c: Adjust test result.
41982         * posix/globtest.sh: Adjust test result.  Add new test.
41983         * posix/tst-fnmatch.input: Likewise.
41984         * posix/tst-fnmatch2.c: Add new test.
41986 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
41988         * elf/Makefile (check-execstack): Revert last change.  Depend on
41989         check-execstack.h.
41990         (check-execstack.h): New target.
41991         (generated): Add check-execstack.h.
41992         * elf/check-execstack.c: Include "check-execstack.h".
41993         (main): Revert last change.
41994         (handle_file): Return zero if GNU_STACK is absent and
41995         DEFAULT_STACK_PERMS doesn't include PF_X.
41997 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
41999         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42000         in child fails because the descriptor is already closed.
42001         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42002         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42003         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42005         [BZ #12397]
42006         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42007         syscall.
42009         [BZ #10484]
42010         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42011         temporary buffer used to handle multi lookups locally.
42012         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42014 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42016         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42017         loader is ld.so.
42019 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
42021         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42022         alignment for SSE2.
42024 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42026         [BZ #12394]
42027         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42028         characters.  When rounding increased number of integer digits recompute
42029         number of groups.
42030         * stdio-common/tst-grouping.c: New file.
42031         * stdio-common/Makefile: Add rules to build and run tst-grouping.
42033 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
42035         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42036         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
42038         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42039         void.
42040         * bits/select.h: Likewise.
42042 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
42044         * po/ja.po: Update from translation team.
42046 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
42048         [BZ #11155]
42049         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42050         implementation just like for lxstat, fxstatat, et al.
42052 2010-12-27  Jim Meyering  <meyering@redhat.com>
42054         [BZ #12348]
42055         * posix/regexec.c (build_trtable): Return failure indication upon
42056         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
42058 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
42060         [BZ #12201]
42061         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42062         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42063         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42064         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42066         [BZ #12207]
42067         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42069         [BZ #12204]
42070         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42071         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42073 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
42075         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42076         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42077         script has SORT_BY_INIT_PRIORITY.
42078         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42079         NO_CTORS_DTORS_SECTIONS is defined.
42080         * elf/soinit.c: Likewise.
42081         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42082         NO_CTORS_DTORS_SECTIONS is defined.
42083         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42084         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42085         * sysdeps/sh/init-first.c: Likewise.
42086         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42088 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
42090         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42091         always use the slow path.
42093 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
42095         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42096         similar rule which adds the sysdep directories to the header search in
42097         order to pick up the correct platform stackinfo.h.
42098         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42099         perform test if it is, otherwise return successfully without testing.
42100         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42101         DEFAULT_STACK_PERMS define in stackinfo.h.
42102         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42103         defined in stackinfo.h.
42104         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42105         DEFAULT_STACK_PERMS defined in stackinfo.h.
42106         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42107         * sysdeps/ia64/stackinfo.h: Likewise.
42108         * sysdeps/s390/stackinfo.h: Likewise.
42109         * sysdeps/sh/stackinfo.h: Likewise.
42110         * sysdeps/sparc/stackinfo.h: Likewise.
42111         * sysdeps/x86_64/stackinfo.h: Likewise.
42112         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42113         PF_X for powerpc64.  Retain PF_X for powerpc32.
42115 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
42117         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42118         accurately.
42119         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42120         GETDENTS_64BIT_ALIGNED.
42122 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
42124         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42126 2010-12-10  Andreas Schwab  <schwab@redhat.com>
42128         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42129         _GNU_SOURCE.
42131         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42132         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42133         Remove __restrict.
42134         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42135         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42137 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
42139         [BZ #11655]
42140         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42141         are initialized.
42143 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
42145         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42147 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
42149         * po/it.po: Update from translation team.
42151 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
42153         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42154         unused codes.
42156 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
42158         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42160 2010-11-24  Andreas Schwab  <schwab@redhat.com>
42162         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42163         specially.
42164         (gaih_getanswer_slice): Likewise.
42166 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
42168         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42170 2010-05-31  Petr Baudis  <pasky@suse.cz>
42172         [BZ #11149]
42173         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42174         silently even in the chroot mode.
42176 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
42178         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42179         last patch a bit.  Pretty printing
42181 2010-05-31  Petr Baudis <pasky@suse.cz>
42183         [BZ #10085]
42184         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42185         initialization of skip_initgroups_dyn.
42187 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
42189         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42190         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42192 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
42194         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42196 2010-11-11  Andreas Schwab  <schwab@redhat.com>
42198         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42199         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42200         (tst-fnmatch-ENV): Set MALLOC_TRACE.
42201         ($(objpfx)tst-fnmatch-mem): New rule.
42202         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42203         * posix/tst-fnmatch.c (main): Call mtrace.
42205 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
42207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42208         Support Intel processor model 6 and model 0x2c.
42210 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
42212         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42213           signed comparison.
42215 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
42217         [BZ #12205]
42218         * string/test-strncasecmp.c (check_result): New function.
42219         (do_one_test): Use it.
42220         (check1): New function.
42221         (test_main): Use it.
42222         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42223         Support strcasecmp and strncasecmp.
42225 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
42227         [BZ #12194]
42228         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42229         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42231 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42233         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42234         IFUNC support.
42235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42236         memset-x86-64.
42237         * sysdeps/x86_64/multiarch/bzero.S: New file.
42238         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42239         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42240         * sysdeps/x86_64/multiarch/memset.S: New file.
42241         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42243         Set bit_Prefer_SSE_for_memop for Intel processors.
42244         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42245         Define.
42246         (index_Prefer_SSE_for_memop): Define.
42247         (HAS_PREFER_SSE_FOR_MEMOP): Define.
42249 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
42251         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42252         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42254 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
42256         [BZ #12191]
42257         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42258         (__x86_64_raw_data_cache_size_half): Likewise.
42259         (__x86_64_raw_shared_cache_size): Likewise.
42260         (__x86_64_raw_shared_cache_size_half): Likewise.
42262         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42263         (__x86_64_raw_data_cache_size_half): Likewise.
42264         (__x86_64_raw_shared_cache_size): Likewise.
42265         (__x86_64_raw_shared_cache_size_half): Likewise.
42266         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42267         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42268         and __x86_64_raw_shared_cache_size_half.  Round
42269         __x86_64_data_cache_size_half, __x86_64_data_cache_size
42270         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42271         to multiple of 256 bytes.
42273 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
42275         [BZ #12167]
42276         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42277         of inacessible symlinks.  Verify result of symlink before returning it.
42278         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42279         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42281 2010-10-28  Erich Ritz  <erichritz@gmail.com>
42283         * math/math.h (isinf): Fix typo in comment.
42285 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
42287         * po/da.po: Update from translation team.
42289 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
42291         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42292         is added to the list.
42294 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42295             Ulrich Drepper  <drepper@gmail.com>
42297         * elf/dl-object.c (_dl_new_object): Don't append the new object to
42298         the global list here.  Move code to...
42299         (_dl_add_to_namespace_list): ...here.  New function.
42300         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42301         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42302         * elf/dl-load.c (lose): Don't remove the element from the list.
42303         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42304         (_dl_map_object): Likewise.
42306 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
42308         [BZ #12159]
42309         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42310         into all bytes of SSE register.
42311         Patch by Richard Li <richardpku@gmail.com>.
42313 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
42315         [BZ #12140]
42316         * malloc/malloc.c (_int_free): Fill correct number of bytes when
42317         perturbing.
42319 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
42321         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42322         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42323         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42324         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42326         submachine.
42327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42329 2010-10-22  Andreas Schwab  <schwab@redhat.com>
42331         * include/dlfcn.h (__RTLD_SECURE): Define.
42332         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
42333         mode & __RTLD_SECURE instead.
42334         (open_path): Rename preloaded parameter to secure.
42335         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42336         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42337         * elf/dl-deps.c (openaux): Likewise.
42338         * elf/rtld.c (struct map_args): Remove is_preloaded.
42339         (map_doit): Don't use it.
42340         (dl_main): Likewise.
42341         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42342         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42344 2010-09-09  Andreas Schwab  <schwab@redhat.com>
42346         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42347         (sysd-rules-targets): Remove duplicates.
42348         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42349         rtld-%.$o dependency.
42351 2010-10-18  Andreas Schwab  <schwab@redhat.com>
42353         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42354         _dl_map_object do it.
42356 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
42358         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42359         fast fma builtins, define the macros in the C99 standard.
42360         (FP_FAST_FMAF): Likewise.
42361         (FP_FAST_FMAL): Likewise.
42362         * sysdeps/x86_64/bits/mathdef.h: Likewise.
42364         * bits/mathdef.h: Update copyright year.
42365         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42367 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
42369         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42370         builtins, define the macros in the C99 standard.
42371         (FP_FAST_FMAF): Likewise.
42372         (FP_FAST_FMAL): Likewise.
42373         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42374         multiply/add.
42375         (FP_FAST_FMAF): Likewise.
42377 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
42379         [BZ #3268]
42380         * math/libm-test.inc (fma_test): Some new testcases.
42381         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42382         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42383         y and infinite z.  Do multiplication by C already in long double.
42384         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42386         y and infinite z.  Do bitwise or of inexact bit into u.d.
42387         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42388         * sysdeps/i386/fpu/s_fmaf.S: Removed.
42389         * sysdeps/i386/fpu/s_fma.S: Removed.
42390         * sysdeps/i386/fpu/s_fmal.S: Removed.
42392 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
42394         [BZ #3268]
42395         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42396         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42397         computation is not scheduled after fetestexcept.  Fix value
42398         of minimum denormal long double.
42400 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
42402         [BZ #3268]
42403         * math/libm-test.inc (fma_test): Add some more tests.
42404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42405         correctly.
42407 2010-10-15  Andreas Schwab  <schwab@redhat.com>
42409         * scripts/data/localplt-s390-linux-gnu.data: New file.
42410         * scripts/data/localplt-s390x-linux-gnu.data: New file.
42412 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
42414         [BZ #3268]
42415         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42416         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42417         instead of dbl-64.
42418         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42419         inlines.
42420         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42422         if one of x and y is very large and the other is subnormal.
42423         * sysdeps/s390/fpu/s_fmaf.c: New file.
42424         * sysdeps/s390/fpu/s_fma.c: New file.
42425         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42426         * sysdeps/powerpc/fpu/s_fma.S: New file.
42427         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42428         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42429         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42431 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
42433         [BZ #3268]
42434         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42435         fma tests.
42436         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42437         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42438         * sysdeps/i386/i686/multiarch/s_fma.c: Include
42439         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42440         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42441         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42442         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42444 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
42446         [BZ #12078]
42447         * posix/regcomp.c (parse_branch): One more memory leak plugged.
42448         * posix/bug-regex31.input: Add test case.
42450 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42452         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42453         * posix/bug-regex31.input: New file.
42455         [BZ #12078]
42456         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42457         (parse_sub_exp): Fix last change, use postorder.
42459         * posix/bug-regex31.c: New file.
42460         * posix/Makefile: Add rules to build and run bug-regex31.
42462         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42464         [BZ #12078]
42465         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42467         [BZ #12108]
42468         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42469         to have entries in sys_siglist.
42471         [BZ #12093]
42472         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42473         be NULL.
42475 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
42477         [BZ #3268]
42478         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42479         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42480         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42481         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42482         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42483         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42484         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42485         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42486         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42487         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42488         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42489         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42490         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42491         * math/ftestexcept.c (fetestexcept): Likewise.
42492         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42493         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42494         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42495         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42496         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42497         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42498         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42500 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42502         [BZ #12107]
42503         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42504         newline.
42506 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
42508         * string/bug-strstr1.c: New file.
42509         * string/Makefile: Add rules to build and run bug-strstr1.
42511 2010-10-05  Eric Blake  <eblake@redhat.com>
42513         [BZ #12092]
42514         * string/str-two-way.h (two_way_long_needle): Always clear memory
42515         when skipping input due to the shift table.
42517 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
42519         [BZ #12005]
42520         * malloc/mcheck.c: Handle large requests.
42522         [BZ #12077]
42523         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42524         for strncmp and strncasecmp.
42525         * string/stratcliff.c: Add tests for strcmp and strncmp.
42526         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42528 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42530         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42531         __set_fpscr.
42533 2010-09-30  Andreas Jaeger  <aj@suse.de>
42535         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42536         (CGROUP_SUPER_MAGIC): Define.
42537         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42538         Handle btrfs and cgroup file systems.
42539         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42540         Likewise.
42542 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
42544         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42545         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42547 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42549         [BZ #12067]
42550         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42551         trying to locate the ELF header.
42553 2010-09-27  Andreas Schwab  <schwab@redhat.com>
42555         [BZ #11611]
42556         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42557         Mask out sign-bit copies when constructing f_fsid.
42559 2010-09-24  Petr Baudis <pasky@suse.cz>
42561         * debug/stack_chk_fail_local.c: Add missing licence exception.
42562         * debug/warning-nop.c: Likewise.
42564 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
42566         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42567         implementing getdents64 using getdents syscall, set d_type if
42568         __ASSUME_GETDENTS32_D_TYPE.
42570 2010-09-16  Andreas Schwab  <schwab@redhat.com>
42572         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42573         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42575 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
42577         [BZ #12037]
42578         * posix/unistd.h: Undo change of feature selection for ftruncate from
42579         2010-01-11.
42581 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
42583         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42584         detection.
42586 2010-09-20  Andreas Schwab  <schwab@redhat.com>
42588         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42589         fanotify_mark.
42590         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42592 2010-09-14  Andreas Schwab  <schwab@redhat.com>
42594         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42595         variables after CHECK_SP call.
42596         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42598 2010-09-13  Andreas Schwab  <schwab@redhat.com>
42599             Ulrich Drepper  <drepper@redhat.com>
42601         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42602         re-relocationg ld.so.
42603         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42604         _dl_init_paths call.
42605         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
42606         here anymore.
42608 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
42610         * resolv/res_init.c (__res_vinit): Count the default server we added.
42612 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
42613             Ulrich Drepper  <drepper@redhat.com>
42615         [BZ #11968]
42616         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42617         (____longjmp_chk): Use %ebx for saving value across system call.
42618         Add unwind info.
42620 2010-09-06  Andreas Schwab  <schwab@redhat.com>
42622         * manual/Makefile: Don't mix pattern rules with normal rules.
42624 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42626         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42627         operation.
42628         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42629         * libio/iofopncook.c (_IO_cookie_init): Likewise.
42630         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42631         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42632         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42633         Likewise.
42635 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
42637         [BZ #11979]
42638         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42639         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42641 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
42643         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42644         * sysdeps/x86_64/addmul_1.S: Likewise.
42645         * sysdeps/x86_64/lshift.S: Likewise.
42646         * sysdeps/x86_64/mul_1.S: Likewise.
42647         * sysdeps/x86_64/rshift.S: Likewise.
42648         * sysdeps/x86_64/sub_n.S: Likewise.
42649         * sysdeps/x86_64/submul_1.S: Likewise.
42651 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42653         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42654         Define __sched_param instead of SCHED_* and sched_param when
42655         <bits/sched.h> is included with __need_schedparam defined.
42656         * bits/sched.h [__need_schedparam]
42657         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42658         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42659         (__defined_schedparam): Define to 1.
42660         (__sched_param): New structure, identical to sched_param.
42661         (__need_schedparam): Undefine.
42663 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
42665         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42666         (epoll_create1): Declare.
42668         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42670 2010-08-31  Andreas Schwab  <schwab@redhat.com>
42672         [BZ #7066]
42673         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42674         shifting retval into place.
42676 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
42678         * nis/rpcsvc/nis.h: Update copyright notice.
42679         * nis/rpcsvc/nis.x: Likewise.
42680         * nis/rpcsvc/nis_callback.h: Likewise.
42681         * nis/rpcsvc/nis_callback.x: Likewise.
42682         * nis/rpcsvc/nis_object.x: Likewise.
42683         * nis/rpcsvc/nis_tags.h: Likewise.
42684         * nis/rpcsvc/yp.h: Likewise.
42685         * nis/rpcsvc/yp.x: Likewise.
42686         * nis/rpcsvc/ypupd.h: Likewise.
42687         * nis/yp_xdr.c: Likewise.
42688         * nis/ypupdate_xdr.c: Likewise.
42690         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
42691         mainly the body of pmap_getport.  Add parameters to specify timeouts.
42692         (pmap_getport): Use __libc_rpc_getport.
42693         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42694         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42695         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42697 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
42699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42700         fanotify_mark.
42702 2010-08-27  Roland McGrath  <roland@redhat.com>
42704         * sysdeps/i386/i686/multiarch/Makefile
42705         (CFLAGS-varshift.c): New variable.
42707 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
42709         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42710         * sysdeps/i386/i686/multiarch/varshift.c: New file.
42712         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42714         * sysdeps/x86_64/strlen.S: Minimal code improvement.
42716 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
42718         * sysdeps/x86_64/strlen.S: Unroll the loop.
42719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42720         strlen-sse2 strlen-sse2-bsf.
42721         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42722         __strlen_no_bsf if bit_Slow_BSF is set.
42723         (__strlen_sse42): Removed.
42724         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42725         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42727 2010-08-25  Roland McGrath  <roland@redhat.com>
42729         * sysdeps/x86_64/multiarch/varshift.S: File removed.
42730         * sysdeps/x86_64/multiarch/varshift.c: New file.
42731         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42732         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42733         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42734         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42736 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
42738         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42739         strlen-sse2 strlen-sse2-bsf.
42740         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42741         __strlen_sse2_bsf if bit_Slow_BSF is unset.
42742         (__strlen_sse2): Removed.
42743         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42744         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42746         bit_Slow_BSF for Atom.
42747         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42748         (index_Slow_BSF): Define.
42749         (HAS_SLOW_BSF): Define.
42751 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
42753         [BZ #10851]
42754         * resolv/res_init.c (__res_vinit): When no server address at all
42755         is given default to loopback.
42757 2010-08-24  Roland McGrath  <roland@redhat.com>
42759         * configure.in: Remove config-name.h generation.
42760         * configure: Regenerated.
42761         * config-name.in: File removed.
42762         * scripts/config-uname.sh: New file.
42763         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42764         ($(objdir)config-name.h): New target.
42766         * sunrpc/rpc_parse.h: Avoid nested comment.
42768 2010-08-24  Richard Henderson  <rth@redhat.com>
42769             Ulrich Drepper  <drepper@redhat.com>
42770             H.J. Lu  <hongjiu.lu@intel.com>
42772         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42774         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42775         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
42776         _mm_alignr_epi8 with _mm_loadu_si128.
42777         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42778         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42779         (__m128i_shift_right): Removed.
42780         * sysdeps/i386/i686/multiarch/varshift.h: New file.
42781         * sysdeps/i386/i686/multiarch/varshift.S: New file.
42782         * sysdeps/x86_64/multiarch/varshift.h: New file.
42783         * sysdeps/x86_64/multiarch/varshift.S: New file.
42785 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
42787         * configure.in: Move assembler checks to before sysdep dir checking.
42789 2010-08-20  Petr Baudis  <pasky@suse.cz>
42791         * LICENSES: Sync the sunrpc license.
42793 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
42795         * sunrpc/auth_des.c: Update copyright notice once again.
42796         * sunrpc/auth_none.c: Likewise.
42797         * sunrpc/auth_unix.c: Likewise.
42798         * sunrpc/authdes_prot.c: Likewise.
42799         * sunrpc/authuxprot.c: Likewise.
42800         * sunrpc/bindrsvprt.c: Likewise.
42801         * sunrpc/clnt_gen.c: Likewise.
42802         * sunrpc/clnt_perr.c: Likewise.
42803         * sunrpc/clnt_raw.c: Likewise.
42804         * sunrpc/clnt_simp.c: Likewise.
42805         * sunrpc/clnt_tcp.c: Likewise.
42806         * sunrpc/clnt_udp.c: Likewise.
42807         * sunrpc/clnt_unix.c: Likewise.
42808         * sunrpc/des_crypt.c: Likewise.
42809         * sunrpc/des_soft.c: Likewise.
42810         * sunrpc/get_myaddr.c: Likewise.
42811         * sunrpc/getrpcport.c: Likewise.
42812         * sunrpc/key_call.c: Likewise.
42813         * sunrpc/key_prot.c: Likewise.
42814         * sunrpc/openchild.c: Likewise.
42815         * sunrpc/pm_getmaps.c: Likewise.
42816         * sunrpc/pm_getport.c: Likewise.
42817         * sunrpc/pmap_clnt.c: Likewise.
42818         * sunrpc/pmap_prot.c: Likewise.
42819         * sunrpc/pmap_prot2.c: Likewise.
42820         * sunrpc/pmap_rmt.c: Likewise.
42821         * sunrpc/rpc/auth.h: Likewise.
42822         * sunrpc/rpc/auth_unix.h: Likewise.
42823         * sunrpc/rpc/clnt.h: Likewise.
42824         * sunrpc/rpc/des_crypt.h: Likewise.
42825         * sunrpc/rpc/key_prot.h: Likewise.
42826         * sunrpc/rpc/netdb.h: Likewise.
42827         * sunrpc/rpc/pmap_clnt.h: Likewise.
42828         * sunrpc/rpc/pmap_prot.h: Likewise.
42829         * sunrpc/rpc/pmap_rmt.h: Likewise.
42830         * sunrpc/rpc/rpc.h: Likewise.
42831         * sunrpc/rpc/rpc_des.h: Likewise.
42832         * sunrpc/rpc/rpc_msg.h: Likewise.
42833         * sunrpc/rpc/svc.h: Likewise.
42834         * sunrpc/rpc/svc_auth.h: Likewise.
42835         * sunrpc/rpc/types.h: Likewise.
42836         * sunrpc/rpc/xdr.h: Likewise.
42837         * sunrpc/rpc_clntout.c: Likewise.
42838         * sunrpc/rpc_cmsg.c: Likewise.
42839         * sunrpc/rpc_common.c: Likewise.
42840         * sunrpc/rpc_cout.c: Likewise.
42841         * sunrpc/rpc_dtable.c: Likewise.
42842         * sunrpc/rpc_hout.c: Likewise.
42843         * sunrpc/rpc_main.c: Likewise.
42844         * sunrpc/rpc_parse.c: Likewise.
42845         * sunrpc/rpc_parse.h: Likewise.
42846         * sunrpc/rpc_prot.c: Likewise.
42847         * sunrpc/rpc_sample.c: Likewise.
42848         * sunrpc/rpc_scan.c: Likewise.
42849         * sunrpc/rpc_scan.h: Likewise.
42850         * sunrpc/rpc_svcout.c: Likewise.
42851         * sunrpc/rpc_tblout.c: Likewise.
42852         * sunrpc/rpc_util.c: Likewise.
42853         * sunrpc/rpc_util.h: Likewise.
42854         * sunrpc/rpcinfo.c: Likewise.
42855         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42856         * sunrpc/rpcsvc/key_prot.x: Likewise.
42857         * sunrpc/rpcsvc/klm_prot.x: Likewise.
42858         * sunrpc/rpcsvc/mount.x: Likewise.
42859         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42860         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42861         * sunrpc/rpcsvc/rex.x: Likewise.
42862         * sunrpc/rpcsvc/rstat.x: Likewise.
42863         * sunrpc/rpcsvc/rusers.x: Likewise.
42864         * sunrpc/rpcsvc/sm_inter.x: Likewise.
42865         * sunrpc/rpcsvc/spray.x: Likewise.
42866         * sunrpc/rpcsvc/yppasswd.x: Likewise.
42867         * sunrpc/rtime.c: Likewise.
42868         * sunrpc/svc.c: Likewise.
42869         * sunrpc/svc_auth.c: Likewise.
42870         * sunrpc/svc_authux.c: Likewise.
42871         * sunrpc/svc_raw.c: Likewise.
42872         * sunrpc/svc_run.c: Likewise.
42873         * sunrpc/svc_simple.c: Likewise.
42874         * sunrpc/svc_tcp.c: Likewise.
42875         * sunrpc/svc_udp.c: Likewise.
42876         * sunrpc/svc_unix.c: Likewise.
42877         * sunrpc/svcauth_des.c: Likewise.
42878         * sunrpc/xcrypt.c: Likewise.
42879         * sunrpc/xdr.c: Likewise.
42880         * sunrpc/xdr_array.c: Likewise.
42881         * sunrpc/xdr_float.c: Likewise.
42882         * sunrpc/xdr_mem.c: Likewise.
42883         * sunrpc/xdr_rec.c: Likewise.
42884         * sunrpc/xdr_ref.c: Likewise.
42885         * sunrpc/xdr_sizeof.c: Likewise.
42886         * sunrpc/xdr_stdio.c: Likewise.
42888         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42889         handling.
42891 2010-08-19  Andreas Schwab  <schwab@redhat.com>
42893         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42895 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
42897         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42898         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42899         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42900         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42901         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42902         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42903         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42904         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42905         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42906         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42907         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42908         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42909         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42910         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42912 2010-07-26  Anton Blanchard  <anton@samba.org>
42914         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42915         * malloc/arena.c (heap_trim): Likewise.
42917 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
42919         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42920         here.  Not...
42921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42922         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42924 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42926         * sysdeps/i386/elf/Makefile: New file.
42928 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42930         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42931         from fanotify_init.
42932         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42933         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42935 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
42937         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42938         of strncasecmp_l.
42939         * sysdeps/multiarch/strcmp.S: Likewise.
42941 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
42943         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42944         strncase_l-nonascii.
42945         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42946         Add strncase_l-ssse3.
42947         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42948         * sysdeps/x86_64/strcmp.S: Likewise.
42949         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42950         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42951         * sysdeps/x86_64/strncase.S: New file.
42952         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42953         * sysdeps/x86_64/strncase_l.S: New file.
42954         * string/Makefile (strop-tests): Add strncasecmp.
42955         * string/test-strncasecmp.c: New file.
42957         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42958         warning.
42960         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42961         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42963 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42965         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42967 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
42969         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42970         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42971         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42973 2010-05-01  Alan Modra  <amodra@gmail.com>
42975         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42976         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42977         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42978         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42979         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42980         tidying.  Don't tail-call __sigjmp_save for static lib.
42981         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42982         save location.
42983         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42984         (CALL_MCOUNT): Add eh info, and nop after bl.
42985         (TAIL_CALL_SYSCALL_ERROR): New macro.
42986         (PSEUDO_RET): Use it.
42987         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42988         Correct save location of integer regs and cr.
42989         (_dl_profile_resolve): Correct cr save location.  Delete nops
42990         after bl when SHARED.  Reduce cfi size a little by better
42991         placement of cfi directives.
42992         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42993         make a stack frame.  Instead use parm save area as a temp.
42994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42995         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
42996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42997         Don't make a stack frame for parent, use parm save area.
42998         Increase child stack frame to 112 bytes.  Don't save unused reg,
42999         and adjust reg usage.  Set up cfi on error recovery and
43000         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43002         (__makecontext): Add dummy nop after jump to exit.
43003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43004         Use correct parm save area and cr save, reduce stack frame.
43005         Correct cfi for possible PSEUDO_RET frame setup.
43006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43007         Branch to local label emitted by PSEUDO_RET rather than
43008         __syscall_error.
43010 2010-08-12  Andreas Schwab  <schwab@redhat.com>
43012         [BZ #11904]
43013         * locale/programs/locale.c (print_assignment): New function.
43014         (show_locale_vars): Use it.
43016 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
43018         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43019         field.
43020         (struct statfs64): Likewise.
43021         (_STATFS_F_FLAGS): Define.
43022         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43023         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43024         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43025         (ST_VALID): Define locally.
43026         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43027         __statvfs_getflags, use the provided value.
43028         * sysdeps/unix/sysv/linux/kernel-features.h: Define
43029         __ASSUME_STATFS_F_FLAGS.
43031         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43033         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43034         Add sys/fanotify.h.
43035         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43036         fanotify_mask for GLIBC_2.13.
43037         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43038         fanotify_init and fanotify_mark.
43039         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43040         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43042         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43043         Add prlimit.
43044         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43045         prlimit64 for GLIBC_2.13.
43046         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43047         prlimit64.
43048         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43049         syscall.
43050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43051         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43052         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43053         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43054         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
43055         add prlimit alias.
43056         * sysdeps/unix/sysv/linux/prlimit.c: New file.
43058         [BZ #11903]
43059         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43060         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43062         * nss/Makefile: Add rules to build and run tst-nss-test1.
43063         * shlib-versions: Add entry for libnss_test1.
43064         * nss/nss_test1.c: New file.
43065         * nss/tst-nss-test1.c: New file.
43067         * nss/nsswitch.c (__nss_database_custom): Define new variable.
43068         (__nss_configure_lookup): Set appropriate entry in
43069         __nss_configure_lookup to true.
43070         * nss/nsswitch.h: Define enum with indeces of databases in
43071         databases and __nss_database_custom arrays.  Declare
43072         __nss_database_custom.
43073         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43074         to avoid using nscd when custom rules are installed.
43075         * nss/getXXbyYY_r.c: Likewise.
43076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43078         * nss/nss_files/files-parse.c: Whitespace fixes.
43080 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
43082         [BZ #11883]
43083         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43084         * posix/fnmatch_loop.c: Likewise.
43086 2010-07-17  Andi Kleen  <ak@linux.intel.com>
43088         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43089         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43090         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43091         * Versions.def [GLIBC_2.13]: Add.
43093 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
43095         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43096         Also fail if tpwd after pwuid call is NULL.
43098 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43100         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43101         when converting to ms.
43103 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43105         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43106         EOPNOTSUPP errors with ENOTTY.
43107         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43108         EOPNOTSUPP errors with ENOTTY.
43110 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
43112         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43113         Add strcasecmp_l-ssse3.
43114         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43115         strcasecmp.
43116         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43117         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43118         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43120 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
43122         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43124         * string/Makefile (strop-tests): Add strcasecmp.
43125         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43126         strcasecmp_l-nonascii.
43127         (gen-as-const-headers): Add locale-defines.sym.
43128         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43129         * sysdeps/x86_64/strcasecmp.S: New file.
43130         * sysdeps/x86_64/strcasecmp_l.S: New file.
43131         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43132         * sysdeps/x86_64/locale-defines.sym: New file.
43133         * string/test-strcasecmp.c: New file.
43135         * string/test-strcasestr.c: Test both ends of the range of characters.
43136         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43138 2010-07-29  Roland McGrath  <roland@redhat.com>
43140         [BZ #11856]
43141         * manual/locale.texi (Yes-or-No Questions): Fix example code.
43143 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
43145         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43146         for ld.so.
43148 2010-07-27  Andreas Schwab  <schwab@redhat.com>
43150         * manual/memory.texi (Malloc Tunable Parameters): Document
43151         M_PERTURB.
43153 2010-07-26  Roland McGrath  <roland@redhat.com>
43155         [BZ #11840]
43156         * configure.in (-fgnu89-inline check): Set and substitute
43157         gnu89_inline, not libc_cv_gnu89_inline.
43158         * configure: Regenerated.
43159         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43161 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
43163         * string/test-strnlen.c: New file.
43164         * string/Makefile (strop-tests): Add strnlen.
43165         * string/tester.c (test_strnlen): Add a few more test cases.
43166         * string/tst-strlen.c: Better error reporting.
43168         * sysdeps/x86_64/strnlen.S: New file.
43170 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
43172         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43173         lower-latency instructions.
43175 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
43177         * string/test-strcasestr.c: New file.
43178         * string/test-strstr.c: New file.
43179         * string/Makefile (strop-tests): Add strstr and strcasestr.
43180         * string/str-two-way.h: Don't undefine MAX.
43181         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43183 2010-07-21  Andreas Schwab  <schwab@redhat.com>
43185         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43186         strcasestr-nonascii.
43187         (CFLAGS-strcasestr-nonascii.c): Define.
43188         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43189         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43190         Remove unused attribute.
43192 2010-07-20  Roland McGrath  <roland@redhat.com>
43194         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43195         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
43196         ld.so.cache was broken.  With it, there is no way to disable dsocaps
43197         like LD_HWCAP_MASK can disable hwcaps.
43199 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43201         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43203 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
43205         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43206         call in strcasestr.
43207         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43208         __strcasestr_sse42_nonascii.
43209         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43210         strcasestr-nonascii.c.
43211         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43213 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
43215         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43216         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43217         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43218         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43220 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
43222         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43223         fcntl.
43225 2010-07-06  Andreas Schwab  <schwab@redhat.com>
43227         [BZ #11577]
43228         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43229         dl_signal_cerror.
43231 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
43233         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43234         _PC_PIPE_BUF using F_GETPIPE_SZ.
43236 2010-07-05  Roland McGrath  <roland@redhat.com>
43238         * manual/arith.texi (Rounding Functions): Fix rint description
43239         implicit in round description.
43241 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
43243         * elf/Makefile: Fix linking for a few tests to make recent linker
43244         happy.
43246 2010-06-30  Andreas Schwab  <schwab@redhat.com>
43248         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43249         $(common-objpfx)libc_nonshared.a.
43251 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
43253         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43254         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43255         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43256         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43257         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43258         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43259         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43260         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43275         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43276         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43277         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43278         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43279         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43280         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43281         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43282         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43283         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43284         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43285         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43286         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43302 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
43304         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43305         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
43306         * string/memmove.c (memmove): Renamed to ...
43307         (MEMMOVE): ...this.  Default to memmove.
43308         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43309         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43310         (END_CHK): Define.
43311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43312         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43313         mempcpy-ssse3-back memmove-ssse3-back.
43314         * sysdeps/x86_64/multiarch/bcopy.S: New file .
43315         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43317         * sysdeps/x86_64/multiarch/memcpy.S: New file.
43318         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43319         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43320         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43321         * sysdeps/x86_64/multiarch/memmove.c: New file.
43322         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43323         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43324         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43325         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43326         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43327         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43328         Define.
43329         (index_Fast_Copy_Backward): Define.
43330         (HAS_ARCH_FEATURE): Define.
43331         (HAS_FAST_REP_STRING): Define.
43332         (HAS_FAST_COPY_BACKWARD): Define.
43334 2010-06-21  Andreas Schwab  <schwab@redhat.com>
43336         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43337         Restore proper fallback handling.
43339 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
43341         [BZ #11701]
43342         * posix/group_member.c (__group_member): Correct checking loop.
43344         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43345         OOM in getpwuid_r correctly.  Return error number when the caller
43346         should return, otherwise -1.
43347         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43348         call returning > 0 value.
43349         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43351 2010-06-07  Andreas Schwab  <schwab@redhat.com>
43353         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43354         libc_nonshared.a from targets in modules-names.
43356 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
43358         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43359         requires it.
43361 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
43363         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43364         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43365         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43366         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43368 2010-06-02  Andreas Schwab  <schwab@redhat.com>
43370         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43372 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
43374         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43375         and F_GETPIPE_SZ.
43376         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43377         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43379         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43380         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43381         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43383 2010-06-14  Roland McGrath  <roland@redhat.com>
43385         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43387 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
43389         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43390         __REDIRECT followed by __THROW.
43391         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43392         * posix/getopt.h (getopt): Likewise.
43394 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43396         * hurd/lookup-at.c (__file_name_lookup_at): Accept
43397         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
43398         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43399         in AT_FLAGS.
43400         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43401         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43403 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
43405         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43407 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
43409         [BZ #11640]
43410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43411         Properly check family and model.
43413 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
43415         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43417 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
43419         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43421 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
43423         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43424         symbol reference.
43426 2010-05-19  Andreas Schwab  <schwab@redhat.com>
43428         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43429         symbol reference.
43431 2010-05-21  Andreas Schwab  <schwab@redhat.com>
43433         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43434         and internal_recvmmsg.
43435         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43436         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43437         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43438         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43440         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43441         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43442         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43444 2010-05-20  Andreas Schwab  <schwab@redhat.com>
43446         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43448 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
43450         POWER7 optimizations.
43451         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43452         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43454 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
43456         * version.h: Update for 2.13 development version.
43458 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
43460         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43461         exceptions.  Return 0.
43463 2010-05-07  Roland McGrath  <roland@redhat.com>
43465         * elf/ldconfig.c (main): Add a const.
43467 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
43469         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43470         (args_options): Add no-idn option.
43471         (ahosts_keys_int): Add idn_flags to ai_flags.
43472         (parse_option): Handle 'i' option to clear idn_flags.
43474         * malloc/malloc.c (_int_free): Possible race in the most recently
43475         added check.  Only act on the data if no current modification
43476         happened.
43478 See ChangeLog.17 for earlier changes.