Fix -Wundef for _UTSNAME_DOMAIN_LENGTH.
[glibc.git] / ChangeLog
blobe9e707ab9fe0cecc05808d3cf7cf1279fb1f0dec
1 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7         [BZ# 16922]
8         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9         (LONG_SUB): Ditto.
10         (PTR_SUB): Ditto.
12 2014-05-07  Andreas Schwab  <schwab@suse.de>
14         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15         when skipping over non-matching result from nscd.
17 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19         [BZ #16876]
20         * nptl/sockperf.c (client): Check socket return value.
22         [BZ #16877]
23         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
24         nscd security class.
26 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29         * sysdeps/arm/unwind.h: ... here.
31 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33         [BZ# 16916]
34         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35         Define.
37 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
40         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41         multiarch strncpy for PPC64.
42         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
43         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
44         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45         multiarch optimizations.
46         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47         (__libc_ifunc_impl_list): Likewise.
48         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
49         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
50         multiarch stpncpy for PPC64.
51         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
54 2014-05-06  Andreas Schwab  <schwab@suse.de>
56         [BZ #16912]
57         * gmon/mcount.c (_MCOUNT_DECL): Use
58         atomic_compare_and_exchange_bool_acq instead of
59         catomic_compare_and_exchange_bool_acq.
61 2014-05-05  Roland McGrath  <roland@hack.frob.com>
63         * elf/Makefile (others, install-bin): Remove pldd.
64         (pldd-modules): Variable removed.
65         ($(objpfx)pldd): Target removed.
66         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
67         (others, install-bin): Append pldd here.
68         ($(objpfx)pldd): New target.
70         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
71         to 0, so the first #if test emitted later doesn't see it undefined.
72         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
73         * sysdeps/gnu/errlist.c: Regenerated.
75 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
78         [libc_hidden_builtin_def]: Define to empty value.
79         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
80         [libc_hidden_builtin_def]: Likewise.
81         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
82         [libc_hidden_builtin_def]: Likewise.
83         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
84         [libc_hidden_builtin_def]: Likewise.
85         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
86         __redirect_memcpy and define ifunc as default hidden symbol.
87         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
88         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
90 2014-05-04  Adam Conrad  <adconrad@0c3.net>
92         * locale/iso-4217.def: Reintroduce XDR currency.
94 2014-05-04  Allan McRae  <allan@archlinux.org>
96         * po/eo.po: Update Esperanto translation from translation project.
98 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
100         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
101         and FEATURE_INDEX_MAX to 1.
102         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
104 2014-05-01  Steve Ellcey  <sellcey@mips.com>
106         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
107         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
108         * iconvdata/big5.c (ONE_DIRECTION): Define.
109         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
110         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
111         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
112         * iconvdata/cp932.c (ONE_DIRECTION): Define.
113         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
114         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
115         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
116         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
117         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
118         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
119         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
120         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
121         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
122         * iconvdata/gbk.c (ONE_DIRECTION): Define.
123         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
124         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
125         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
126         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
127         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
128         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
129         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
130         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
131         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
132         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
133         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
134         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
135         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
136         * iconvdata/iso646.c (ONE_DIRECTION): Define.
137         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
138         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
139         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
140         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
141         * iconvdata/johab.c (ONE_DIRECTION): Define.
142         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
143         * iconvdata/sjis.c (ONE_DIRECTION): Define.
144         * iconvdata/t.61.c (ONE_DIRECTION): Define.
145         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
146         * iconvdata/tscii.c (ONE_DIRECTION): Define.
147         * iconvdata/uhc.c (ONE_DIRECTION): Define.
148         * iconvdata/unicode.c (ONE_DIRECTION): Define.
149         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
150         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
151         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
153 2014-05-01  Roland McGrath  <roland@hack.frob.com>
155         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
156         (_IO_JUMPS_OFFSET): Define to 0.
158         * nptl/sysdeps/pthread/bits/libc-lock.h
159         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
160         (__libc_lock_define_initialized_recursive): Always define using
161         initializer.  Modern compilers treat uninitialized (implicit zero) and
162         explicit zero initializers the same (i.e. put the datum in bss).
164 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
166         * nscd/nscd-client.h: Include <string.h>.
168 2014-05-01  David S. Miller  <davem@davemloft.net>
170         [BZ #16885]
171         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
172         multiple zero bytes exist at the end of a string.
173         Reported by Aurelien Jarno <aurelien@aurel32.net>
175         * string/test-strcmp.c (check): Add explicit test for situations where
176         there are multiple zero bytes after the first.
178 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
180         [BZ #16890]
181         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
182         when compiling wprintf.
183         * stdio-common/tstdiomisc.c (t3): New function.
184         (main): Call it.
186 2014-05-01  Steve Ellcey  <sellcey@mips.com>
188         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
189         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
190         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
191         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
193 2014-05-01  Steve Ellcey  <sellcey@mips.com>
195         * stdlib/longlong.h: Updated from GCC.
197 2014-05-01  Will Newton  <will.newton@linaro.org>
198             Bernard Ogden  <bernie.ogden@linaro.org>
200         * NEWS: Update fixed bug list.
202         [BZ #15119]
203         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
205 2014-04-30  David S. Miller  <davem@davemloft.net>
207         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
208         (libc_feholdexcept_setround_sparc_ctx): New function.
209         (libc_fesetenv_sparc_ctx): Likewise.
210         (libc_feupdateenv_sparc_ctx): Likewise.
211         (libc_feholdsetround_sparc_ctx): Likewise.
212         (libc_feholdexcept_setround_ctx): Define.
213         (libc_feholdexcept_setroundf_ctx): Likewise.
214         (libc_feholdexcept_setroundl_ctx): Likewise.
215         (libc_fesetenv_ctx): Likewise.
216         (libc_fesetenvf_ctx): Likewise.
217         (libc_fesetenvl_ctx): Likewise.
218         (libc_feupdateenv_ctx): Likewise.
219         (libc_feupdateenvf_ctx): Likewise.
220         (libc_feupdateenvl_ctx): Likewise.
221         (libc_feresetround_ctx): Likewise.
222         (libc_feresetroundf_ctx): Likewise.
223         (libc_feresetroundl_ctx): Likewise.
224         (libc_feholdsetround_ctx): Likewise.
225         (libc_feholdsetroundf_ctx): Likewise.
226         (libc_feholdsetroundl_ctx): Likewise.
228         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
229         with __USE_GNU instead of XOPEN cpp guards.
231         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
232         0.
234         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
235         with XOPEN cpp guards.
237 2014-04-30  Julian Brown  <julian@codesourcery.com>
239         [BZ #16888]
240         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
241         handling.
243 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
245         [BZ #9894]
246         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
247         Change to 2.6.32.
248         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
249         * sysdeps/unix/sysv/linux/configure: Regenerated.
250         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
251         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
252         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
253         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
254         * README: Update reference to required Linux kernel version.
255         * manual/install.texi (Linux): Update reference to required Linux
256         kernel headers version.
257         * INSTALL: Regenerated.
259         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
260         header inclusion.
261         [POSIX] (limits.h): Likewise.
262         [POSIX] (math.h): Likewise.
263         [POSIX] (sys/wait.h): Likewise.
264         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
265         function.
266         [POSIX] (stddef.h): Do not allow header inclusion.
268 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
270         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
272 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
274         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
275         Return immediately after lll_futex_wake.
277 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
279         [BZ #16791]
280         * nscd/nscd-client.h (datahead_init_common): Initialize entire
281         structure.
282         (datahead_init_pos): Call datahead_init_common early.
283         (datahead_init_neg): Likewise.
285         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
286         datahead_init_neg): New functions.
287         * nscd/aicache.c (addhstaiX): Use them.
288         * nscd/grpcache.c (cache_addgr): Likewise.
289         * nscd/hstcache.c (cache_addhst): Likewise.
290         * nscd/initgrcache.c (addinitgroupsX): Likewise.
291         * nscd/netgroupcache.c (do_notfound): Likewise.
292         (addgetnetgrentX): Likewise.
293         (addinnetgrX): Likewise.
294         * nscd/pwdcache.c (cache_addpw): Likewise.
295         * nscd/servicescache.c (cache_addserv): Likewise.
297 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
298             Atsushi Onoe  <atsushi@onoe.org>
300         [BZ #14308]
301         [BZ #12994]
302         [BZ #13651]
303         * resolv/res_query.c (__libc_res_nsearch): Return if at least
304         one response is valid.
305         * resolv/res_send.c (send_dg): Check for validity of other
306         response if the current response is a referral.
308 2014-04-29  Steve Ellcey  <sellcey@mips.com>
310         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
312 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
314         [BZ #16823]
315         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
316         Always divide by positive zero when computing -Inf result.
317         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
318         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
320 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
322         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
323         FPSCR if value do not change.
324         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
325         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
326         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
327         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
328         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
329         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
330         function.
332 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
334         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
335         * sysdeps/unix/sysv/linux/hppa: Move directory from
336         ports/systeps/unix/sysv/linux/hppa.
337         * README: Update listing for hppa-*-linux-gnu.
339 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
341         [BZ #16754]
342         * manual/stdio.texi (Hook functions): Fix types of stream hook
343         functions.
344         [BZ #16854]
345         * socket/sys/socket.h: Fix typo in comment.
347 2014-04-28  Wilco  <wdijkstr@arm.com>
349         * sysdeps/arm/fenv_private.h: New file.
350         * sysdeps/arm/math_private.h: New file.
351         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
353 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
355         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
356         with __int128_t.
357         (La_x86_64_retval): Likewise.
359 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
361         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
362         fpsr if value didn't change.
363         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
364         to fpcr if value didn't change.
365         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
366         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
367         fpsr or fpcr if value didn't change.
368         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
369         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
370         fpcr if value didn't change.
371         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
372         to fpsr if value didn't change.
374 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
376         * nptl/tst-sem3.c: Use test-skeleton.c
377         (main): Rename to do_test.  Use return instead of
378         exit.
379         * nptl/tst-sem4.c: Use test-skeleton.c
380         (main): Rename to do_test.
382 2014-04-22  David S. Miller  <davem@davemloft.net>
384         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
385         (struct sigaction): New struct member __glibc_reserved0, change
386         type of sa_flags to int.
388 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
390         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
391         (COUNT_LEADING_ZEROS_0): Define for AArch64.
393 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
395         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
396         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
398 2014-04-22  Will Newton  <will.newton@linaro.org>
399             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
401         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
402         (__longjmp): Add longjmp and longjmp_target SystemTap
403         probes.
404         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
405         (__sigsetjmp): Add setjmp SystemTap probe.
407 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
409         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
410         match manual order.
412 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
414         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
416         * sysdeps/powerpc/fpu/fenv_private.h
417         (libc_feholdexcept_setroundl_ctx): Define to
418         libc_feholdexcept_setround_ppc_ctx.
419         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
420         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
421         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
422         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
424 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
426         * sysdeps/aarch64/math-tests.h: New file.
428 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
430         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
431         New.
432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
433         Check and set bit_AVX2_Usable.
434         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
435         macro.
436         (bit_AVX2): Likewise.
437         (index_AVX2_Usable): Likewise.
438         (CPUID_AVX2): Likewise.
439         (HAS_AVX2): Likewise.
441 2014-04-17  Will Newton  <will.newton@linaro.org>
443         * manual/setjmp.texi (System V contexts): Add note that
444         calling setcontext on a context created by a call to a
445         signal handler is undefined.  Update text to note that
446         setcontext from a signal handler is possible but not
447         recommended.
449         [BZ #16629]
450         * stdlib/tst-setcontext.c: Include signal.h.
451         (main): Check that the signal stack before and
452         after swapcontext is the same.
454         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
455         Re-implement to restore registers in user code and avoid
456         rt_sigreturn system call.
458 2014-04-17  Wilco  <wdijkstr@arm.com>
460         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
461         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
462         * math/test-fenv.c: Skip exception trap tests on targets which only
463         support non-stop mode.
465 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
466             Wilco Dijkstra  <wilco.dijkstra@arm.com>
468         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
469         (libc_feholdsetround_aarch64_ctx)
470         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
471         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
472         (libc_feresetround_ctx, libc_feresetroundf_ctx)
473         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
474         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
475         (libc_feresetround_noexl_ctx): Define.
477 2014-04-16  Richard Henderson  <rth@redhat.com>
479         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
481         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
482         unwind tables.
484         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
485         const from the non-libc, non-ldso copy.
487         * sysdeps/alpha/libm-test-ulps: Regenerate.
489 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
490             Wilco Dijkstra  <wilco.dijkstra@arm.com>
492         * sysdeps/aarch64/fpu/math_private.h: New file.
494 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
496         * sysdeps/aarch64/libm-test-ulps: Regenerate.
498 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
500         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
501         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
502         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
503         Intel MPX bound registers before _dl_profile_fixup.
504         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
505         registers after _dl_profile_fixup.  Save and restore bound
506         registers bnd0/bnd1 when calling _dl_call_pltexit.
507         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
508         (LR_BND_OFFSET): Likewise.
509         (LRV_BND0_OFFSET): Likewise.
510         (LRV_BND1_OFFSET): Likewise.
512 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
514         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
515         to...
516         * sysdeps/mach/hurd/i386/tls.h: ... here.
517         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
518         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
519         fields.
521 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
523         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
525 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
527         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
529 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
531         [BZ #14770]
532         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
533         * sysdeps/s390/configure: Regenerate.
535         [BZ #16824]
536         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
537         Set round-to-nearest internally to reduce error accumulation.
539 2014-04-16  Alan Modra  <amodra@gmail.com>
541         [BZ #16740]
542         [BZ #16619]
543         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
544         * math/libm-test.inc (frexp_test_data): Add tests.
545         * NEWS: Update fixed bug list.
547 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
549         * benchtests/Makefile: Depend on libraries in build directory.
550         (bench-math): Separate out math tests.
551         (bench-pthread): Separate out pthread tests.
552         (bench): Include math and pthread tests.
554 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
556         [BZ #16831]
557         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
558         _dl_debug_initialize.
560         * configure.ac: Remove SELinux header check.
561         * configure: Regenerate.
562         * nscd/selinux.c (perms): Array of const char* to permission names.
563         (nscd_request_avc_has_perm): Call security_deny_unknown to find
564         default policy. Call string_to_security_class and string_to_av_perm to
565         translate strings. Enforce default policy and call avs_has_perm with
566         results of translated strings.
568 2014-04-13  David S. Miller  <davem@davemloft.net>
570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
572 2014-04-12  Allan McRae  <allan@archlinux.org>
574         [BZ #16838]
575         * manual/string.texi (Collation Functions): Fix qsort argument
576         order in example.
577         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
579 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
581         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
582         Make the test a no-op if there are no exceptions defined.
584 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
586         * elf/Makefile (tests): make tst-dlopen-aout conditional on
587         enable-hardcoded-path-in-tests
589 2014-04-11  Will Newton  <will.newton@linaro.org>
591         * benchtests/Makefile (extra-objs): Add json-lib.o.
592         (bench-func): Tidy up JSON output.
593         * benchtests/bench-skeleton.c: Include json-lib.h.
594         (main): Use JSON library functions to do output of
595         benchmark results.
596         * benchtests/bench-timing-type.c (main): Output the
597         timing type simply, leaving formatting to the user.
598         * benchtests/json-lib.c: New file.
599         * benchtests/json-lib.h: Likewise.
601 2014-04-11  Torvald Riegel  <triegel@redhat.com>
603         [BZ #15215]
604         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
605         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
606         memory barriers.  Add comments.
607         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
608         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
609         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
610         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
611         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
612         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
614 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
616         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
617         * sysdeps/s390/s390-64/configure.ac: ... this ...
618         * sysdeps/s390/configure.ac: ... to here.
619         * sysdeps/s390/s390-32/configure: Delete file.
620         * sysdeps/s390/s390-64/configure: Delete file.
621         * sysdeps/s390/configure: Regenerate.
623 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
625         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
627 2014-04-11  Will Newton  <will.newton@linaro.org>
629         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
630         to zero if it is not defined elsewhere.  (mtrim): Test
631         the value of MALLOC_DEBUG with #if rather than #ifdef.
633 2014-04-10 Torvald Riegel  <triegel@redhat.com>
635         * benchtests/pthread_once-inputs: New file.
636         * benchtests/pthread_once-source.c: New file.
637         * benchtests/README: Update documentation.
639 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
640             H.J. Lu  <hongjiu.lu@intel.com>
642         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
643         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
644         * sysdeps/x86_64/configure: Regenerated.
645         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
646         macro.
647         (REGISTER_SAVE_RAX): Likewise.
648         (REGISTER_SAVE_RCX): Likewise.
649         (REGISTER_SAVE_RDX): Likewise.
650         (REGISTER_SAVE_RSI): Likewise.
651         (REGISTER_SAVE_RDI): Likewise.
652         (REGISTER_SAVE_R8): Likewise.
653         (REGISTER_SAVE_R9): Likewise.
654         (REGISTER_SAVE_BND0): Likewise.
655         (REGISTER_SAVE_BND1): Likewise.
656         (REGISTER_SAVE_BND2): Likewise.
657         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
658         bound registers when calling _dl_fixup.
660 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
662         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
663         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
664         of its definition.
665         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
666         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
667         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
668         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
669         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
670         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
671         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
673 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
675         [BZ #15514]
676         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
677         pathconf(_PC_NAME_MAX).
679 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
681         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
682         Remove macro usage.
683         (__PTHREAD_SPINS): Move definition to ...
684         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
685         (__PTHREAD_SPINS): ... here.
686         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
687         (__PTHREAD_SPIN): Likewise.
688         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
689         (__PTHREAD_SPIN): Likewise.
690         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
691         (__PTHREAD_SPIN): Likewise.
692         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
693         (__PTHREAD_SPIN): Likewise.
694         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
695         (__PTHREAD_SPIN): Likewise.
696         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
697         (__PTHREAD_SPIN): Likewise.
698         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
699         (__PTHREAD_SPIN): Likewise.
700         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
701         (__PTHREAD_SPIN): Likewise.
702         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
703         (__PTHREAD_SPIN): Likewise.
704         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
705         (__PTHREAD_SPIN): Likewise.
706         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
707         (__PTHREAD_SPIN): Likewise.
708         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
709         (__PTHREAD_SPIN): Likewise.
711         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
712         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
713         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
714         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
715         imply folder.
716         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
717         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
718         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
719         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
720         correct imply path.
721         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
722         strlen symbol for non multi-arch builds.
723         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
724         missing hidden_def and weak_alias.
726 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
728         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
730 2014-04-07  Will Newton  <will.newton@linaro.org>
732         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
733         and contents.  [!_LIBC] Remove #ifndef and contents.
734         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
735         * string/memccpy.c (__memccpy): Use ANSI prototype.
736         * string/memfrob.c (memfrob): Likewise.
737         * string/strcoll.c (STRCOLL): Likewise.
738         * string/strlen.c (strlen): Likewise.
739         * string/strtok.c (STRTOK): Likewise.
740         * string/strcat.c: Remove unused #include of memcopy.h.
741         (strcat): Use ANSI prototype.
742         * string/strchr.c: Remove unused #include of memcopy.h.
743         (strchr): Use ANSI prototype.
744         * string/strcmp.c: Remove unused #include of memcopy.h.
745         (strcmp): Use ANSI prototype.
746         * string/strcpy.c: Remove unused #include of memcopy.h.
747         (strcpy): Use ANSI prototype.
749 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
751         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
752         * config.make.in (config-extra-cppflags): Set it from
753         libc_extra_cppflags.
754         * configure.ac (libc_extra_cflags): Make it accumulate over
755         configure fragments.
756         (libc_extra_cppflags): New flag.
757         * configure. Regenerate.
758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
759         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
760         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
763         [BZ #16815]
764         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
765         result for FE_DOWNWARD rounding mode.
766         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
767         Likewise.
768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
770 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
772         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
773         in function argument name.
775 2014-04-03  David Svoboda  <svoboda@cert.org>
777         [BZ #5666]
778         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
779         explicitly.
781 2014-04-03  Roland McGrath  <roland@hack.frob.com>
783         * elf/dl-unmap-segments.h: New file.
784         * sysdeps/generic/ldsodefs.h
785         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
786         * elf/dl-close.c: Include <dl-unmap-segments.h>.
787         * elf/dl-fptr.c: Likewise.
788         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
789         * sysdeps/aarch64/tlsdesc.c: Likewise.
790         * sysdeps/arm/tlsdesc.c: Likewise.
791         * sysdeps/i386/tlsdesc.c: Likewise.
792         * sysdeps/tile/dl-runtime.c: Likewise.
793         * sysdeps/x86_64/tlsdesc.c: Likewise.
794         * elf/dl-load.h: New file.
795         * elf/dl-load.c: Include it.
796         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
797         Macros moved to dl-load.h.
798         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
799         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
800         Use _dl_unmap_segments in place of __munmap.
801         Break out segment-mapping loop into ...
802         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
804 2014-04-03  Will Newton  <will.newton@linaro.org>
806         * elf/dl-lookup.c (do_lookup_x): Remove comment
807         referring to nested function and move variable
808         declarations down to before first use.
810 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
812         [BZ #16799]
813         [BZ #16800]
814         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
815         with 0 numerator.
816         * math/s_catanf.c (__catanf): Likewise.
817         * math/s_catanh.c (__catanh): Likewise.
818         * math/s_catanhf.c (__catanhf): Likewise.
819         * math/s_catanhl.c (__catanhl): Likewise.
820         * math/s_catanl.c (__catanl): Likewise.
821         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
822         by positive zero when computing -Inf result.
823         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
824         (catanh_test): Likewise.
825         * sysdeps/i386/fpu/libm-test-ulps: Update.
826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
828         [BZ #16789]
829         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
830         instead of using underflowing value in computing result.
831         * math/s_clog10.c (__clog10): Likewise.
832         * math/s_clog10f.c (__clog10f): Likewise.
833         * math/s_clog10l.c (__clog10l): Likewise.
834         * math/s_clogf.c (__clogf): Likewise.
835         * math/s_clogl.c (__clogl): Likewise.
836         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
837         (clog10_test): Likewise.
838         * sysdeps/i386/fpu/libm-test-ulps: Update.
839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
841 2014-04-02  Alan Modra  <amodra@gmail.com>
843         [BZ #16739]
844         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
845         output when value is near a power of two.  Use int64_t for lx and
846         remove casts.  Use decimal rather than hex exponent constants.
847         Don't use long double multiplication when double will suffice.
848         * math/libm-test.inc (nextafter_test_data): Add tests.
849         * NEWS: Add 16739 and 16786 to bug list.
851         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
853         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
855 2014-04-01  Will Newton  <will.newton@linaro.org>
857         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
858         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
860 2014-04-01  Florian Weimer  <fweimer@redhat.com>
862         [BZ #13347]
863         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
864         * nptl/tst-setuid2.c: New file.
865         * nptl/Makefile (xtests): Add tst-setuid2.
867 2014-04-01  Alan Modra  <amodra@gmail.com>
869         [BZ #16786]
870         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
872 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
874         [BZ #6803]
875         [BZ #6804]
876         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
877         set errno as appropriate.
878         * math/w_scalbf.c (__scalbf): Likewise.
879         * math/w_scalbl.c (__scalbl): Likewise.
880         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
881         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
882         * math/libm-test.inc (scalb_test_data): Add errno expectations.
883         Add more NaN tests.
885         [BZ #16349]
886         * math/w_atan2.c: Include <errno.h>.
887         (__atan2): Set errno for result underflowing to zero.
888         * math/w_atan2f.c: Include <errno.h>.
889         (__atan2f): Set errno for result underflowing to zero.
890         * math/w_atan2l.c: Include <errno.h>.
891         (__atan2l): Set errno for result underflowing to zero.
892         * math/auto-libm-test-in: Don't allow missing errno for some atan2
893         tests.
894         * math/auto-libm-test-out: Regenerated.
896 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
898         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
899         Encode instruction correctly in little endian.
900         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
901         Likewise.
902         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
903         Likewise.
904         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
905         Likewise.
906         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
907         Likewise.
909 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
911         [BZ #9894]
912         * sysdeps/unix/sysv/linux/kernel-features.h
913         [__sparc__ && !__arch64__ && !__sparc_v9__]
914         (__ASSUME_SET_ROBUST_LIST): Do not define.
915         [__sparc__ && !__arch64__ && !__sparc_v9__]
916         (__ASSUME_FUTEX_LOCK_PI): Likewise.
917         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
918         Likewise.
919         * sysdeps/unix/sysv/linux/arm/kernel-features.h
920         (__ASSUME_FUTEX_LOCK_PI): Undefine.
921         (__ASSUME_REQUEUE_PI): Likewise.
922         (__ASSUME_SET_ROBUST_LIST): Likewise.
923         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
924         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
925         Undefine.
926         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
927         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
928         Likewise.
929         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
930         Likewise.
931         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
932         Likewise.
933         * sysdeps/unix/sysv/linux/mips/kernel-features.h
934         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
935         Undefine.
936         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
937         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
938         Likewise.
940         [BZ #16648]
941         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
942         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
943         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
945 2014-03-31  Will Newton  <will.newton@linaro.org>
947         * benchtests/Makefile (bench): Add ffs and ffsll to list
948         of tests.
949         * benchtests/ffs-inputs: New file.
950         * benchtests/ffsll-inputs: Likewise.
952 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
954         [BZ #16770]
955         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
956         too large before casting to int.
957         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
958         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
959         * math/libm-test.inc (scalb_test_data): Add more tests.
961 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
963         * benchtests/Makefile (DETAILED_OPT): New make option.
964         (bench-func): Run benchmark program with -d if DETAILED_OPT is
965         set.
966         * benchtests/bench-skeleton.c: Include stdbool.h.
967         (main): Store and print timings per input.
968         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
969         member to each argument value.
970         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
971         (_print_arg_data): Initialize per-input timing to 0.
973         * benchtests/Makefile (timing-type): New binary.
974         (bench-clean): Also remove bench-timing-type.
975         (bench): New target for timing-type.
976         (bench-func): Print output in JSON format.
977         * benchtests/bench-skeleton.c (main): Print output in JSON
978         format.
979         * benchtests/bench-timing-type.c: New file.
980         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
981         (TIMING_PRINT_STATS): Remove.
982         * benchtests/scripts/bench.py (_print_arg_data): Store variant
983         name separately.
985         * benchtests/bench-modf.c: Remove.
986         * benchtests/modf-inputs: New inputs file.
988 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
990         [BZ #16362]
991         * math/s_clog10.c (M_PI_LOG10E): New macro.
992         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
993         imaginary parts are 0.
994         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
995         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
996         imaginary parts are 0.
997         * math/s_clog10l.c (M_PI_LOG10El): New macro.
998         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
999         imaginary parts are 0.
1000         * math/libm-test.inc (clog10_test_data): Update expected results
1001         for when real and imaginary parts are 0.
1003 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
1005         * elf/dl-load.c: Finish conversion of __builtin_expect into
1006         __glibc_{un}likely.
1008 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
1010         [BZ #16348]
1011         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1012         1+x for argument with exponent below -67.
1013         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1014         Likewise.
1015         * math/auto-libm-test-in: Add more tests of exp.
1016         * math/auto-libm-test-out: Regenerated.
1018 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1020         [BZ #16759]
1021         * inet/getnetgrent_r.c (get_nonempty_val): New function.
1022         (nscd_getnetgrent): Use it.
1024         [BZ #16760]
1025         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1026         of stpcpy.
1028 2014-03-27  Andi Kleen  <ak@linux.intel.com>
1030         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1031         (lll_robust_lock, lll_cond_lock, lll_timedlock)
1032         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1033         (lll_robust_unlock): Remove out of line section. Use cfi
1034         intrinsics.
1035         (LLL_STUB_UNWIND_INFO*): Remove.
1036         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1037         (lll_robust_lock, lll_cond_lock, lll_timedlock)
1038         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1039         (lll_robust_unlock): Remove out of line section. Use cfi
1040         intrinsics.
1041         (LLL_STUB_UNWIND_INFO*): Remove.
1043 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1045         [BZ #16758]
1046         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1047         blank values.
1049 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
1051         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1053 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
1055         [BZ #16198]
1056         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1057         fnstenv.
1058         * math/test-fenv-preserve.c: New file.
1059         * math/Makefile (tests): Add test-fenv-preserve.
1061 2014-03-26  Will Newton <will.newton@linaro.org>
1063         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1065 2014-03-25  Roland McGrath  <roland@hack.frob.com>
1067         * scripts/versionlist.awk: Partition the version sets and emit all
1068         GLIBC_* (sorted) before all others (sorted).
1070 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
1072         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1073         GLIBC_2.2.5 version.
1075 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1077         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1078         calls.
1080         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1081         previous change.
1083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1085 2014-03-25  Andreas Schwab  <schwab@suse.de>
1087         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1088         label to be used after in6ailist is initialized.
1090 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1092         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1093         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1095 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
1097         [BZ #16357]
1098         [BZ #16599]
1099         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1100         min_plus_half.
1101         (fp_formats): Update initializers.
1102         (init_fp_formats): Initialize new field.
1103         (output_for_one_input_case): Allow underflow for results up to
1104         min_plus_half.
1105         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1106         * math/auto-libm-test-in: Don't mark some underflows from asin and
1107         atanh as spurious.
1108         * math/auto-libm-test-out: Regenerated.
1109         * sysdeps/i386/fpu/libm-test-ulps: Update.
1110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1112 2014-03-25  Andreas Schwab  <schwab@suse.de>
1114         * libio/Makefile (tst-ftell-partial-wide-ENV)
1115         (tst-ftell-active-handler-ENV): Define.
1117 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
1119         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1121 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1123         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1125 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
1127         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1128         * sysdeps/x86_64/fpu/multiarch/e_exp.c
1129         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1131 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1133         [BZ #16634]
1134         * elf/dl-load.c (open_verify): Add mode parameter.
1135         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1136         (open_path): Change from boolean 'secure' to complete flag 'mode'
1137         (_dl_map_object): Adjust.
1138         * elf/Makefile (tests): Add tst-dlopen-aout.
1139         * elf/tst-dlopen-aout.c: New test.
1141 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
1143         [BZ #16714]
1144         * sysdeps/unix/sysv/linux/s390/bits/stat.h
1145         (struct stat): Rename member pad0 to __glibc_reserved0.
1147         [BZ #16712]
1148         * sysdeps/s390/s390-32/bits/wordsize.h
1149         (__WORDSIZE32_SIZE_ULONG): New define.
1150         * sysdeps/s390/s390-64/bits/wordsize.h
1151         (__WORDSIZE32_SIZE_ULONG): Likewise.
1152         * sysdeps/generic/stdint.h (SIZE_MAX):
1153         Define as UL if __WORDSIZE32_SIZE_ULONG.
1155         [BZ #16713]
1156         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1157         (__glibc_reserved0): New variable.
1158         (sa_flags): Change type to int.
1160         * posix/Makefile (before-compile): Use += before-compile instead
1161         of a :=.
1163         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1164         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1166 2014-03-20  Andreas Schwab  <schwab@suse.de>
1168         [BZ #16743]
1169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1170         non-matching result from nscd.
1172 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1174         * scripts/bench.py: Moved to ...
1175         * benchtests/scripts/bench.py: ... here.
1176         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1178 2014-03-24  Andreas Schwab  <schwab@suse.de>
1180         [BZ #16002]
1181         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1182         alloca_account and account alloca use for struct in6ailist.
1184 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
1186         [BZ #16284]
1187         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1188         rounding mode to recompute results that overflow to infinity or
1189         underflow to zero.
1190         * math/auto-libm-test-in: Don't mark tests as expected to fail for
1191         bug 16284.
1192         * math/auto-libm-test-out: Regenerated.
1193         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1194         (ccosh_test): Likewise.
1195         (csin_test_data): Use plus_oflow.
1196         (csin_test): Use ALL_RM_TEST.
1197         (csinh_test_data): Use plus_oflow.
1198         (csinh_test): Use ALL_RM_TEST.
1199         * sysdeps/i386/fpu/libm-test-ulps: Update.
1200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
1204         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1205         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1206         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1208         [BZ #16731]
1209         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1210         when x - 1 is zero.
1211         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1212         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1213         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1214         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1215         argument is 1.
1216         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1217         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1218         zero.
1219         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1220         * sysdeps/i386/fpu/libm-test-ulps: Update.
1221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1223 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1225         * scripts/bench.pl: Remove file.
1226         * scripts/bench.py: New benchmark script.
1227         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1228         * benchtests/README: Mention python dependency.
1229         * scripts/pylintrc: New file.
1230         * scripts/pylint: New file.
1232         * bits/mathdef.h: Use #ifdef instead of #if.
1233         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1234         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1235         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1236         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1237         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1238         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1240 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1241             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1243         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1245         and strpbrk-ppc64 objects.
1246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1247         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1248         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1249         multiarch strpbrk for POWER7.
1250         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1251         multiarch strpbrk for PPC64.
1252         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1253         ifunc selector.
1254         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1255         strpbrk for POWER7.
1257 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1259         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1260         (atan_test): Likewise.
1261         (atanh_test_data): Use NO_TEST_INLINE for two tests.
1262         (atanh_test): Use ALL_RM_TEST.
1263         (atan2_test_data): Likewise.
1264         (cabs_test): Likewise.
1265         (cacosh_test): Likewise.
1266         (carg_test): Likewise.
1267         (casin_test): Likewise.
1268         (casinh_test): Likewise.
1269         (cbrt_test): Likewise.
1270         (csqrt_test): Likewise.
1271         (erf_test): Likewise.
1272         (erfc_test): Likewise.
1273         (pow10_test): Likewise.
1274         (exp2_test): Likewise.
1275         (hypot_test): Likewise.
1276         (j0_test): Likewise.
1277         (j1_test): Likewise.
1278         (lgamma_test): Likewise.
1279         (gamma_test): Likewise.
1280         (sincos_test): Likewise.
1281         (tanh_test): Likewise.
1282         (y0_test): Likewise.
1283         (y1_test): Likewise.
1284         * sysdeps/i386/fpu/libm-test-ulps: Update.
1285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1287 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1289         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1291         and strcspn-ppc64 objects.
1292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1293         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1294         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1295         multiarch strcspn for POWER7.
1296         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1297         multiarch strcspn for PPC64.
1298         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1299         ifunc selector.
1300         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1301         strcspn for POWER7.
1303 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1305         * math/gen-libm-test.pl (generate_testfile): Expect only function
1306         name as argument to AUTO_TESTS_* and pass results for all rounding
1307         modes to parse_args.
1308         (parse_auto_input): Separate inputs of automatic tests from
1309         outputs before storing in %auto_tests.
1310         * math/libm-test.inc (acos_test_data): Update call to
1311         AUTO_TESTS_f_f.
1312         (acos_test): Use ALL_RM_TEST.
1313         (acos_tonearest_test_data): Remove.
1314         (acos_test_tonearest): Likewise.
1315         (acos_towardzero_test_data): Likewise.
1316         (acos_test_towardzero): Likewise.
1317         (acos_downward_test_data): Likewise.
1318         (acos_test_downward): Likewise.
1319         (acos_upward_test_data): Likewise.
1320         (acos_test_upward): Likewise.
1321         (acosh_test_data): Update call to AUTO_TESTS_f_f.
1322         (asin_test_data): Likewise.
1323         (asin_test): Use ALL_RM_TEST.
1324         (asin_tonearest_test_data): Remove.
1325         (asin_test_tonearest): Likewise.
1326         (asin_towardzero_test_data): Likewise.
1327         (asin_test_towardzero): Likewise.
1328         (asin_downward_test_data): Likewise.
1329         (asin_test_downward): Likewise.
1330         (asin_upward_test_data): Likewise.
1331         (asin_test_upward): Likewise.
1332         (asinh_test_data): Update call to AUTO_TESTS_f_f.
1333         (atan_test_data): Likewise.
1334         (atanh_test_data): Likewise.
1335         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1336         (cabs_test_data): Update call to AUTO_TESTS_c_f.
1337         (carg_test_data): Likewise.
1338         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1339         (ccos_test_data): Update call to AUTO_TESTS_c_c.
1340         (ccosh_test_data): Likewise.
1341         (cexp_test_data): Likewise.
1342         (clog_test_data): Likewise.
1343         (clog10_test_data): Likewise.
1344         (cos_test_data): Update call to AUTO_TESTS_f_f.
1345         (cos_test): Use ALL_RM_TEST.
1346         (cos_tonearest_test_data): Remove.
1347         (cos_test_tonearest): Likewise.
1348         (cos_towardzero_test_data): Likewise.
1349         (cos_test_towardzero): Likewise.
1350         (cos_downward_test_data): Likewise.
1351         (cos_test_downward): Likewise.
1352         (cos_upward_test_data): Likewise.
1353         (cos_test_upward): Likewise.
1354         (cosh_test_data): Update call to AUTO_TESTS_f_f.
1355         (cosh_test): Use ALL_RM_TEST.
1356         (cosh_tonearest_test_data): Remove.
1357         (cosh_test_tonearest): Likewise.
1358         (cosh_towardzero_test_data): Likewise.
1359         (cosh_test_towardzero): Likewise.
1360         (cosh_downward_test_data): Likewise.
1361         (cosh_test_downward): Likewise.
1362         (cosh_upward_test_data): Likewise.
1363         (cosh_test_upward): Likewise.
1364         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1365         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1366         (ctan_test_data): Likewise.
1367         (ctan_test): Use ALL_RM_TEST.
1368         (ctan_tonearest_test_data): Remove.
1369         (ctan_test_tonearest): Likewise.
1370         (ctan_towardzero_test_data): Likewise.
1371         (ctan_test_towardzero): Likewise.
1372         (ctan_downward_test_data): Likewise.
1373         (ctan_test_downward): Likewise.
1374         (ctan_upward_test_data): Likewise.
1375         (ctan_test_upward): Likewise.
1376         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1377         (ctanh_test): Use ALL_RM_TEST.
1378         (ctanh_tonearest_test_data): Remove.
1379         (ctanh_test_tonearest): Likewise.
1380         (ctanh_towardzero_test_data): Likewise.
1381         (ctanh_test_towardzero): Likewise.
1382         (ctanh_downward_test_data): Likewise.
1383         (ctanh_test_downward): Likewise.
1384         (ctanh_upward_test_data): Likewise.
1385         (ctanh_test_upward): Likewise.
1386         (erf_test_data): Update call to AUTO_TESTS_f_f.
1387         (erfc_test_data): Likewise.
1388         (exp_test_data): Likewise.
1389         (exp_test): Use ALL_RM_TEST.
1390         (exp_tonearest_test_data): Remove.
1391         (exp_test_tonearest): Likewise.
1392         (exp_towardzero_test_data): Likewise.
1393         (exp_test_towardzero): Likewise.
1394         (exp_downward_test_data): Likewise.
1395         (exp_test_downward): Likewise.
1396         (exp_upward_test_data): Likewise.
1397         (exp_test_upward): Likewise.
1398         (exp10_test_data): Update call to AUTO_TESTS_f_f.
1399         (exp10_test): Use ALL_RM_TEST.
1400         (exp10_tonearest_test_data): Remove.
1401         (exp10_test_tonearest): Likewise.
1402         (exp10_towardzero_test_data): Likewise.
1403         (exp10_test_towardzero): Likewise.
1404         (exp10_downward_test_data): Likewise.
1405         (exp10_test_downward): Likewise.
1406         (exp10_upward_test_data): Likewise.
1407         (exp10_test_upward): Likewise.
1408         (exp2_test_data): Update call to AUTO_TESTS_f_f.
1409         (expm1_test_data): Likewise.
1410         (expm1_test): Use ALL_RM_TEST.
1411         (expm1_tonearest_test_data): Remove.
1412         (expm1_test_tonearest): Likewise.
1413         (expm1_towardzero_test_data): Likewise.
1414         (expm1_test_towardzero): Likewise.
1415         (expm1_downward_test_data): Likewise.
1416         (expm1_test_downward): Likewise.
1417         (expm1_upward_test_data): Likewise.
1418         (expm1_test_upward): Likewise.
1419         (fma_test_data): Update call to AUTO_TESTS_fff_f.
1420         (fma_test): Use ALL_RM_TEST.
1421         (fma_towardzero_test_data): Remove.
1422         (fma_test_towardzero): Likewise.
1423         (fma_downward_test_data): Likewise.
1424         (fma_test_downward): Likewise.
1425         (fma_upward_test_data): Likewise.
1426         (fma_test_upward): Likewise.
1427         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1428         (j0_test_data): Update call to AUTO_TESTS_f_f.
1429         (j1_test_data): Likewise.
1430         (jn_test_data): Update call to AUTO_TESTS_if_f.
1431         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1432         (log_test_data): Update call to AUTO_TESTS_f_f.
1433         (log10_test_data): Likewise.
1434         (log1p_test_data): Likewise.
1435         (log2_test_data): Likewise.
1436         (pow_test_data): Update call to AUTO_TESTS_ff_f.
1437         (pow_tonearest_test_data): Likewise.
1438         (sin_test_data): Update call to AUTO_TESTS_f_f.
1439         (sin_test): Use ALL_RM_TEST.
1440         (sin_tonearest_test_data): Remove.
1441         (sin_test_tonearest): Likewise.
1442         (sin_towardzero_test_data): Likewise.
1443         (sin_test_towardzero): Likewise.
1444         (sin_downward_test_data): Likewise.
1445         (sin_test_downward): Likewise.
1446         (sin_upward_test_data): Likewise.
1447         (sin_test_upward): Likewise.
1448         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1449         (sinh_test_data): Update call to AUTO_TESTS_f_f.
1450         (sinh_test): Use ALL_RM_TEST.
1451         (sinh_tonearest_test_data): Remove.
1452         (sinh_test_tonearest): Likewise.
1453         (sinh_towardzero_test_data): Likewise.
1454         (sinh_test_towardzero): Likewise.
1455         (sinh_downward_test_data): Likewise.
1456         (sinh_test_downward): Likewise.
1457         (sinh_upward_test_data): Likewise.
1458         (sinh_test_upward): Likewise.
1459         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1460         (sqrt_test): Use ALL_RM_TEST.
1461         (sqrt_tonearest_test_data): Remove.
1462         (sqrt_test_tonearest): Likewise.
1463         (sqrt_towardzero_test_data): Likewise.
1464         (sqrt_test_towardzero): Likewise.
1465         (sqrt_downward_test_data): Likewise.
1466         (sqrt_test_downward): Likewise.
1467         (sqrt_upward_test_data): Likewise.
1468         (sqrt_test_upward): Likewise.
1469         (tan_test_data): Update call to AUTO_TESTS_f_f.
1470         (tan_test): Use ALL_RM_TEST.
1471         (tan_tonearest_test_data): Remove.
1472         (tan_test_tonearest): Likewise.
1473         (tan_towardzero_test_data): Likewise.
1474         (tan_test_towardzero): Likewise.
1475         (tan_downward_test_data): Likewise.
1476         (tan_test_downward): Likewise.
1477         (tan_upward_test_data): Likewise.
1478         (tan_test_upward): Likewise.
1479         (tanh_test_data): Update call to AUTO_TESTS_f_f.
1480         (tgamma_test_data): Likewise.
1481         (y0_test_data): Likewise.
1482         (y1_test_data): Likewise.
1483         (yn_test_data): Update call to AUTO_TESTS_if_f.
1484         (main): Do not call removed functions.
1486 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
1488         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1489         (ldexp_test_data): Remove.
1490         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
1491         scalbn_test_data.
1492         (scalb_test): Use ALL_RM_TEST.
1494 2014-03-19  Andreas Schwab  <schwab@suse.de>
1496         * nscd/nscd.service: Also invalidate netgroup cache on reload.
1498 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
1500         [BZ #16649]
1501         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1502         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1503         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1504         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1505         (__ASSUME_PREADV): Undefine.
1506         (__ASSUME_PWRITEV): Likewise.
1508 2014-03-18  Roland McGrath  <roland@hack.frob.com>
1510         * bits/mman-linux.h: Add comment about non-Linux use.
1511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1512         bits/mman-linux.h resting place.
1514         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1515         * bits/mman-linux.h: ... here.
1517 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1519         * conform/conformtest.pl: Add standard definition when calling C
1520         preprocessor on data files.
1521         (checknamespace): Remove unused variable.
1523 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
1525         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1526         minus_oflow, plus_uflow and minus_uflow in expected results.
1527         * math/libm-test.inc (scalbn_test_data): Add more tests of
1528         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
1529         minus_uflow.
1530         (scalbn_test): Use ALL_RM_TEST.
1531         (scalbln_test_data): Add more tests of negative arguments.  Use
1532         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1533         (scalbln_test): Use ALL_RM_TEST.
1535 2014-03-18  Roland McGrath  <roland@hack.frob.com>
1537         * scripts/abilist.awk: Ignore symbols marked with .hidden.
1539 2014-03-18  Will Newton  <will.newton@linaro.org>
1541         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1542         inaccurate comment.
1544 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
1546         * Makerules [!subdir] (check-abi): Exit with error status if a
1547         test failed.
1549 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1551         * math/libm-test.inc (nearbyint_test_data): Include all tests used
1552         for rint.  Include results for all rounding modes.
1553         (nearbyint_test): Use ALL_RM_TEST.
1554         (rint_test_data): Include all tests used for nearbyint.
1556 2014-03-17  Will Newton  <will.newton@linaro.org>
1558         * nptl/sysdeps/pthread/pthread.h: Revert previous
1559         change.
1561         * sysdeps/generic/ldsodefs.h: Revert previous
1562         change.
1564         * libio/genops.c: Revert previous change.
1565         * libio/libioP.h: Likewise.
1566         * stdio-common/vfprintf.c: Likewise.
1568         * sysdeps/generic/math_private.h: Revert previous
1569         change.
1571         * sysdeps/generic/math_private.h: Check whether
1572         HAVE_RM_CTX is defined with #ifdef rather
1573         than #if.
1575         * argp/argp-fmtstream.h: Check whether
1576         __STRICT_ANSI__ is defined with #ifdef rather
1577         than #if.
1578         * argp/argp.h: Likewise.
1580         * libio/genops.c: Check whether
1581         _IO_JUMPS_OFFSET is defined with #ifdef rather
1582         than #if.
1583         * libio/libioP.h: Likewise.
1584         * stdio-common/vfprintf.c: Likewise.
1586         * sysdeps/generic/ldsodefs.h: Check whether
1587         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1588         than #if.
1590         * nptl/sysdeps/pthread/pthread.h: Check
1591         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1592         its value.
1594 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1596         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1597         setting O_APPEND.
1598         * libio/tst-ftell-active-handler.c (do_append_test): Add a
1599         test case.
1601         [BZ #16680]
1602         * libio/fileops.c (_IO_file_open): Seek to end of file but
1603         don't cache the offset.
1604         (get_file_offset): Remove function.
1605         (do_ftell): Use cached offset when available.
1606         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1607         don't cache the offset.
1608         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1609         case.
1610         (do_one_test): Call it.
1611         (do_ftell_test): Fix up expected old offset for a+ mode.
1612         * libio/wfileops.c (do_ftell_wide): Used cached offset when
1613         available.
1615         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1616         up test status with function return status.
1617         (do_write_test): Likewise.
1618         (do_append_test): Likewise.
1620         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1621         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1622         Remove.
1624 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1626         * math/gen-libm-test.pl (parse_args): Handle results specified for
1627         each rounding mode separately.
1628         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1629         tests and results from lrint_tonearest_test_data,
1630         lrint_towardzero_test_data, lrint_downward_test_data and
1631         lrint_upward_test_data.
1632         (lrint_test): Use ALL_RM_TEST.
1633         (lrint_tonearest_test_data): Remove.
1634         (lrint_test_tonearest): Likewise.
1635         (lrint_towardzero_test_data): Likewise.
1636         (lrint_test_towardzero): Likewise.
1637         (lrint_downward_test_data): Likewise.
1638         (lrint_test_downward): Likewise.
1639         (lrint_upward_test_data): Likewise.
1640         (lrint_test_upward): Likewise.
1641         (llrint_test_data): Merge in per-rounding-mode tests and results
1642         from llrint_tonearest_test_data, llrint_towardzero_test_data,
1643         llrint_downward_test_data and llrint_upward_test_data.
1644         (llrint_test): Use ALL_RM_TEST.
1645         (llrint_tonearest_test_data): Remove.
1646         (llrint_test_tonearest): Likewise.
1647         (llrint_towardzero_test_data): Likewise.
1648         (llrint_test_towardzero): Likewise.
1649         (llrint_downward_test_data): Likewise.
1650         (llrint_test_downward): Likewise.
1651         (llrint_upward_test_data): Likewise.
1652         (llrint_test_upward): Likewise.
1653         (rint_test_data): Merge in per-rounding-mode tests and results
1654         from rint_tonearest_test_data, rint_towardzero_test_data,
1655         rint_downward_test_data and rint_upward_test_data.  Add
1656         per-rounding-mode results for tests not in those arrays.
1657         (rint_test): Use ALL_RM_TEST.
1658         (rint_tonearest_test_data): Remove.
1659         (rint_test_tonearest): Likewise.
1660         (rint_towardzero_test_data): Likewise.
1661         (rint_test_towardzero): Likewise.
1662         (rint_downward_test_data): Likewise.
1663         (rint_test_downward): Likewise.
1664         (rint_upward_test_data): Likewise.
1665         (rint_test_upward): Likewise.
1666         (main): Don't call removed functions.
1668 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1670         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1671         "Compiled on ..." crapola.  It is anti-useful.
1673 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
1675         * scripts/evaluate-test.sh: Handle fourth argument to determine
1676         whether test run should stop on failure.
1677         * Makeconfig (stop-on-test-failure): New variable.
1678         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1679         $(stop-on-test-failure).
1680         * Makefile (tests): Give a summary of results from testing and
1681         exit with failure status if they include an ERROR or FAIL.
1682         (xtests): Likewise.
1683         * manual/install.texi (Configuring and compiling): Mention
1684         stop-on-test-failure=y.
1685         * INSTALL: Regenerated.
1687 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1689         * scripts/versionlist.awk: New file.
1690         * Makerules [$(build-shared) = yes]
1691         (postclean-generated): Add Versions.def, not Versions.def.v and
1692         Versions.def.v.i.
1693         ($(common-objpfx)Versions.def.v.i): Target removed.
1694         ($(common-objpfx)Versions.def): New target.
1695         ($(common-objpfx)Versions.all): Depend on that rather that
1696         $(common-objpfx)Versions.def.v.
1697         * Versions.def: File removed.
1699         * Makeconfig (+gccwarn): Add -Wundef.
1700         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1701         a dl-sysdep.h breaking its contract.
1702         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1703         * include/stackinfo.h: New file.
1704         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1705         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1706         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1707         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1708         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1709         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1710         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1711         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1712         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1713         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1714         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1715         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1716         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1717         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1718         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1720 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1722         [BZ #16707]
1723         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1724         implementation.
1725         * math/libm-test.inc (round_test_data): Add more tests.
1727         [BZ #16706]
1728         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1729         implementation.
1730         * math/libm-test.inc (nearbyint_test_data): Add more tests.
1732         [BZ #16701]
1733         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1734         implementation.
1735         * math/libm-test.inc (ceil_test_data): Add more tests.
1737         * math/libm-test.inc (trunc_test_data): Add more tests related to
1738         BZ#16414.
1740 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1742         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1743         with #if rather than #ifdef.
1744         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1746 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
1748         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1749         first.  Disable AVX-512 GCC support if assembler doesn't support
1750         it.
1751         * sysdeps/x86_64/configure: Regenerated.
1753 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
1755         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1756         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1757         (__old_pthread_attr_setstack): Likewise.
1758         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1759         [!_STACK_GROWS_DOWN]: Likewise.
1761 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1763         * config.make.in (have-bash2): Delete.
1764         * configure.ac (libc_cv_have_bash2): Delete.
1765         * configure: Regenerate.
1766         * elf/Makefile (common-ldd-rewrite): Rename to ...
1767         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
1768         (sh-ldd-rewrite): Delete.
1769         (bash-ldd-rewrite): Delete.
1770         (have-bash2): Delete checks.
1771         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1772         ldd-rewrite.
1774         * config.make.in (have-ksh): Delete.
1775         (KSH): Delete.
1776         * configure.ac (libc_cv_have_ksh): Delete.
1777         * configure: Regenerate.
1779         * elf/Makefile: Delete $(have-ksh) check.
1780         ($(objpfx)sotruss): Change KSH to BASH.
1781         * elf/sotruss.ksh: Rename to ...
1782         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
1783         function style to match POSIX.  Drop ksh vim mode setting.
1785         * manual/time.texi (Specifying the Time Zone with TZ): Change
1786         Tuesday to Thursday.
1788         * debug/tst-longjmp_chk2.c: Update header comment.
1789         (stackoverflow_handler): Add comment.  Call assert on pass value.
1791 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
1793         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1794         (HAVE_AVX512_ASM_SUPPORT): Likewise.
1795         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1796         (La_x86_64_vector): Add zmm.
1797         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1798         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1799         ($(objpfx)tst-audit10): New target.
1800         ($(objpfx)tst-audit10.out): Likewise.
1801         (tst-audit10-ENV): New.
1802         (AVX512-CFLAGS): Likewise.
1803         (CFLAGS-tst-audit10.c): Likewise.
1804         (CFLAGS-tst-auditmod10a.c): Likewise.
1805         (CFLAGS-tst-auditmod10b.c): Likewise.
1806         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1807         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1808         * sysdeps/x86_64/configure: Regenerated.
1809         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1810         AVX-512 zmm register support.
1811         (_dl_x86_64_save_sse): Likewise.
1812         (_dl_x86_64_restore_sse): Likewise.
1813         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1814         size vector registers.
1815         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1816         (ZMM_SIZE): Likewise.
1817         * sysdeps/x86_64/tst-audit10.c: New file.
1818         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1819         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1821 2014-03-13  Roland McGrath  <roland@hack.frob.com>
1823         * configure.ac (HAVE_EHDR_START): New check.
1824         * configure: Regenerated.
1825         * config.h.in (HAVE_EHDR_START): New #undef.
1826         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1827         assuming the lowest-addressed segment maps the start of the file.
1829 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
1831         * INSTALL: Regenerated.
1833 2014-03-13  Will Newton  <will.newton@linaro.org>
1835         * manual/setjmp.texi (System V contexts): Improve
1836         clarity and grammar of documentation.
1838 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1840         [BZ #16381]
1841         * elf/Makefile (tests): Add tst-pie2.
1842         (tests-pie): Add tst-pie2.
1843         * elf/tst-pie2.c: New file.
1844         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1845         for ET_EXEC.
1846         * elf/rtld.c (map_doit): Load executable as lt_executable.
1847         (dl_main): Likewise.
1849 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
1851         [BZ #16642]
1852         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1853         (__ASSUME_PSELECT): Undefine.
1855 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1857         [BZ #16689]
1858         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1859         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1860         static build.
1861         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1862         selector for static builds.
1864 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1866         [BZ #16695]
1867         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1868         key in the buffer.
1870 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1872         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1873         IFUNC selector for static builds.
1875 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
1877         * sysdeps/mips/math_private.h [__mips_hard_float]
1878         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1879         libc_feresetround_mips_ctx.
1880         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1881         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1882         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1884         [BZ #16677]
1885         * math/s_nextafter.c (__nextafter): Do not return value from
1886         overflowing computation.
1887         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1888         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1889         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1890         Likewise.
1891         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1892         Likewise.
1893         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1894         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1896 2014-03-11  Roland McGrath  <roland@hack.frob.com>
1898         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1899         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1900         Move sfi_sp use from the load-multiple (that no longer sets sp) to
1901         the new mov targetting sp.
1903 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1905         [BZ #16683]
1906         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1907         Define it for static builds as well.
1908         (NO_BZERO_IMPL): Likewise.
1910 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1912         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1913         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1914         multiarch strspn for PPC64.
1915         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1916         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1918         (__libc_ifunc_impl_list): Likewise.
1919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1920         multiarch optimizations
1921         * string/strspn.c (strspn): Using macro to redefine symbol name.
1923 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1924             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1926         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1927         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1928         multiarch strncat for PPC64.
1929         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1930         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1932         (__libc_ifunc_impl_list): Likewise.
1933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1934         multiarch optimizations
1936 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1938         [BZ #16639]
1939         * nscd/nscd.service: Make service type forking.
1941 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1943         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1944         sign in non default rounding modes.
1945         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1947 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
1949         * math/libm-test.inc (ALL_RM_TEST): New macro.
1950         (ceil_test): Use ALL_RM_TEST.
1951         (cimag_test): Likewise.
1952         (conj_test): Likewise.
1953         (copysign_test): Likewise.
1954         (cproj_test): Likewise.
1955         (creal_test): Likewise.
1956         (fabs_test): Likewise.
1957         (floor_test): Likewise.
1958         (fmax_test): Likewise.
1959         (fmin_test): Likewise.
1960         (fmod_test): Likewise.
1961         (fpclassify_test): Likewise.
1962         (frexp_test): Likewise.
1963         (ilogb_test): Likewise.
1964         (isfinite_test): Likewise.
1965         (finite_test): Likewise.
1966         (isgreater_test): Likewise.
1967         (isgreaterequal_test): Likewise.
1968         (isinf_test): Likewise.
1969         (isless_test): Likewise.
1970         (islessequal_test): Likewise.
1971         (islessgreater_test): Likewise.
1972         (isnan_test): Likewise.
1973         (isnormal_test): Likewise.
1974         (issignaling_test): Likewise.
1975         (isunordered_test): Likewise.
1976         (logb_test): Likewise.
1977         (logb_downward_test_data): Remove.
1978         (logb_test_downward): Likewise.
1979         (lround_test): Use ALL_RM_TEST.
1980         (llround_test): Likewise.
1981         (modf_test): Likewise.
1982         (nexttoward_test): Likewise.
1983         (remainder_test): Likewise.
1984         (drem_test): Likewise.
1985         (remainder_tonearest_test_data): Likewise.
1986         (remainder_test_tonearest): Likewise.
1987         (drem_test_tonearest): Likewise.
1988         (remainder_towardzero_test_data): Likewise.
1989         (remainder_test_towardzero): Likewise.
1990         (drem_test_towardzero): Likewise.
1991         (remainder_downward_test_data): Likewise.
1992         (remainder_test_downward): Likewise.
1993         (drem_test_downward): Likewise.
1994         (remainder_upward_test_data): Likewise.
1995         (remainder_test_upward): Likewise.
1996         (drem_test_upward): Likewise.
1997         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
1998         (round_test): Use ALL_RM_TEST.
1999         (signbit_test): Likewise.
2000         (trunc_test): Likewise.
2001         (significand_test): Likewise.
2002         (main): Don't call removed functions.
2004 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2006         [BZ #16674]
2007         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2008         || __USE_XOPEN2K8].
2009         (ILL_ILLOPN): Likewise.
2010         (ILL_ILLADR): Likewise.
2011         (ILL_ILLTRP): Likewise.
2012         (ILL_PRVOPC): Likewise.
2013         (ILL_PRVREG): Likewise.
2014         (ILL_COPROC): Likewise.
2015         (ILL_BADSTK): Likewise.
2016         (FPE_INTDIV): Likewise.
2017         (FPE_INTOVF): Likewise.
2018         (FPE_FLTDIV): Likewise.
2019         (FPE_FLTOVF): Likewise.
2020         (FPE_FLTUND): Likewise.
2021         (FPE_FLTRES): Likewise.
2022         (FPE_FLTINV): Likewise.
2023         (FPE_FLTSUB): Likewise.
2024         (SEGV_MAPERR): Likewise.
2025         (SEGV_ACCERR): Likewise.
2026         (BUS_ADRALN): Likewise.
2027         (BUS_ADRERR): Likewise.
2028         (BUS_OBJERR): Likewise.
2029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2030         (TRAP_TRACE): Likewise.
2031         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2032         __USE_XOPEN2K8].
2033         (CLD_KILLED): Likewise.
2034         (CLD_DUMPED): Likewise.
2035         (CLD_TRAPPED): Likewise.
2036         (CLD_STOPPED): Likewise.
2037         (CLD_CONTINUED): Likewise.
2038         (POLL_IN): Likewise.
2039         (POLL_OUT): Likewise.
2040         (POLL_MSG): Likewise.
2041         (POLL_ERR): Likewise.
2042         (POLL_PRI): Likewise.
2043         (POLL_HUP): Likewise.
2044         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2045         Likewise.
2046         (ILL_ILLOPN): Likewise.
2047         (ILL_ILLADR): Likewise.
2048         (ILL_ILLTRP): Likewise.
2049         (ILL_PRVOPC): Likewise.
2050         (ILL_PRVREG): Likewise.
2051         (ILL_COPROC): Likewise.
2052         (ILL_BADSTK): Likewise.
2053         (FPE_INTDIV): Likewise.
2054         (FPE_INTOVF): Likewise.
2055         (FPE_FLTDIV): Likewise.
2056         (FPE_FLTOVF): Likewise.
2057         (FPE_FLTUND): Likewise.
2058         (FPE_FLTRES): Likewise.
2059         (FPE_FLTINV): Likewise.
2060         (FPE_FLTSUB): Likewise.
2061         (SEGV_MAPERR): Likewise.
2062         (SEGV_ACCERR): Likewise.
2063         (BUS_ADRALN): Likewise.
2064         (BUS_ADRERR): Likewise.
2065         (BUS_OBJERR): Likewise.
2066         (BUS_MCEERR_AR): Likewise.
2067         (BUS_MCEERR_AO): Likewise.
2068         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2069         (TRAP_TRACE): Likewise.
2070         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2071         __USE_XOPEN2K8].
2072         (CLD_KILLED): Likewise.
2073         (CLD_DUMPED): Likewise.
2074         (CLD_TRAPPED): Likewise.
2075         (CLD_STOPPED): Likewise.
2076         (CLD_CONTINUED): Likewise.
2077         (POLL_IN): Likewise.
2078         (POLL_OUT): Likewise.
2079         (POLL_MSG): Likewise.
2080         (POLL_ERR): Likewise.
2081         (POLL_PRI): Likewise.
2082         (POLL_HUP): Likewise.
2083         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2084         (ILL_ILLOPN): Likewise.
2085         (ILL_ILLADR): Likewise.
2086         (ILL_ILLTRP): Likewise.
2087         (ILL_PRVOPC): Likewise.
2088         (ILL_PRVREG): Likewise.
2089         (ILL_COPROC): Likewise.
2090         (ILL_BADSTK): Likewise.
2091         (FPE_INTDIV): Likewise.
2092         (FPE_INTOVF): Likewise.
2093         (FPE_FLTDIV): Likewise.
2094         (FPE_FLTOVF): Likewise.
2095         (FPE_FLTUND): Likewise.
2096         (FPE_FLTRES): Likewise.
2097         (FPE_FLTINV): Likewise.
2098         (FPE_FLTSUB): Likewise.
2099         (SEGV_MAPERR): Likewise.
2100         (SEGV_ACCERR): Likewise.
2101         (BUS_ADRALN): Likewise.
2102         (BUS_ADRERR): Likewise.
2103         (BUS_OBJERR): Likewise.
2104         (BUS_MCEERR_AR): Likewise.
2105         (BUS_MCEERR_AO): Likewise.
2106         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2107         (TRAP_TRACE): Likewise.
2108         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2109         __USE_XOPEN2K8].
2110         (CLD_KILLED): Likewise.
2111         (CLD_DUMPED): Likewise.
2112         (CLD_TRAPPED): Likewise.
2113         (CLD_STOPPED): Likewise.
2114         (CLD_CONTINUED): Likewise.
2115         (POLL_IN): Likewise.
2116         (POLL_OUT): Likewise.
2117         (POLL_MSG): Likewise.
2118         (POLL_ERR): Likewise.
2119         (POLL_PRI): Likewise.
2120         (POLL_HUP): Likewise.
2121         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2122         Likewise.
2123         (ILL_ILLOPN): Likewise.
2124         (ILL_ILLADR): Likewise.
2125         (ILL_ILLTRP): Likewise.
2126         (ILL_PRVOPC): Likewise.
2127         (ILL_PRVREG): Likewise.
2128         (ILL_COPROC): Likewise.
2129         (ILL_BADSTK): Likewise.
2130         (ILL_BADIADDR): Likewise.
2131         (ILL_BREAK): Likewise.
2132         (FPE_INTDIV): Likewise.
2133         (FPE_INTOVF): Likewise.
2134         (FPE_FLTDIV): Likewise.
2135         (FPE_FLTOVF): Likewise.
2136         (FPE_FLTUND): Likewise.
2137         (FPE_FLTRES): Likewise.
2138         (FPE_FLTINV): Likewise.
2139         (FPE_FLTSUB): Likewise.
2140         (FPE_DECOVF): Likewise.
2141         (FPE_DECDIV): Likewise.
2142         (FPE_DECERR): Likewise.
2143         (FPE_INVASC): Likewise.
2144         (FPE_INVDEC): Likewise.
2145         (SEGV_MAPERR): Likewise.
2146         (SEGV_ACCERR): Likewise.
2147         (SEGV_PSTKOVF): Likewise.
2148         (BUS_ADRALN): Likewise.
2149         (BUS_ADRERR): Likewise.
2150         (BUS_OBJERR): Likewise.
2151         (BUS_MCEERR_AR): Likewise.
2152         (BUS_MCEERR_AO): Likewise.
2153         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2154         (TRAP_TRACE): Likewise.
2155         (TRAP_BRANCH): Likewise.
2156         (TRAP_HWBKPT): Likewise.
2157         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2158         __USE_XOPEN2K8].
2159         (CLD_KILLED): Likewise.
2160         (CLD_DUMPED): Likewise.
2161         (CLD_TRAPPED): Likewise.
2162         (CLD_STOPPED): Likewise.
2163         (CLD_CONTINUED): Likewise.
2164         (POLL_IN): Likewise.
2165         (POLL_OUT): Likewise.
2166         (POLL_MSG): Likewise.
2167         (POLL_ERR): Likewise.
2168         (POLL_PRI): Likewise.
2169         (POLL_HUP): Likewise.
2170         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2171         (ILL_ILLOPN): Likewise.
2172         (ILL_ILLADR): Likewise.
2173         (ILL_ILLTRP): Likewise.
2174         (ILL_PRVOPC): Likewise.
2175         (ILL_PRVREG): Likewise.
2176         (ILL_COPROC): Likewise.
2177         (ILL_BADSTK): Likewise.
2178         (FPE_INTDIV): Likewise.
2179         (FPE_INTOVF): Likewise.
2180         (FPE_FLTDIV): Likewise.
2181         (FPE_FLTOVF): Likewise.
2182         (FPE_FLTUND): Likewise.
2183         (FPE_FLTRES): Likewise.
2184         (FPE_FLTINV): Likewise.
2185         (FPE_FLTSUB): Likewise.
2186         (SEGV_MAPERR): Likewise.
2187         (SEGV_ACCERR): Likewise.
2188         (BUS_ADRALN): Likewise.
2189         (BUS_ADRERR): Likewise.
2190         (BUS_OBJERR): Likewise.
2191         (BUS_MCEERR_AR): Likewise.
2192         (BUS_MCEERR_AO): Likewise.
2193         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2194         (TRAP_TRACE): Likewise.
2195         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2196         __USE_XOPEN2K8].
2197         (CLD_KILLED): Likewise.
2198         (CLD_DUMPED): Likewise.
2199         (CLD_TRAPPED): Likewise.
2200         (CLD_STOPPED): Likewise.
2201         (CLD_CONTINUED): Likewise.
2202         (POLL_IN): Likewise.
2203         (POLL_OUT): Likewise.
2204         (POLL_MSG): Likewise.
2205         (POLL_ERR): Likewise.
2206         (POLL_PRI): Likewise.
2207         (POLL_HUP): Likewise.
2208         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2209         (ILL_ILLOPN): Likewise.
2210         (ILL_ILLADR): Likewise.
2211         (ILL_ILLTRP): Likewise.
2212         (ILL_PRVOPC): Likewise.
2213         (ILL_PRVREG): Likewise.
2214         (ILL_COPROC): Likewise.
2215         (ILL_BADSTK): Likewise.
2216         (FPE_INTDIV): Likewise.
2217         (FPE_INTOVF): Likewise.
2218         (FPE_FLTDIV): Likewise.
2219         (FPE_FLTOVF): Likewise.
2220         (FPE_FLTUND): Likewise.
2221         (FPE_FLTRES): Likewise.
2222         (FPE_FLTINV): Likewise.
2223         (FPE_FLTSUB): Likewise.
2224         (SEGV_MAPERR): Likewise.
2225         (SEGV_ACCERR): Likewise.
2226         (BUS_ADRALN): Likewise.
2227         (BUS_ADRERR): Likewise.
2228         (BUS_OBJERR): Likewise.
2229         (BUS_MCEERR_AR): Likewise.
2230         (BUS_MCEERR_AO): Likewise.
2231         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2232         (TRAP_TRACE): Likewise.
2233         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2234         __USE_XOPEN2K8].
2235         (CLD_KILLED): Likewise.
2236         (CLD_DUMPED): Likewise.
2237         (CLD_TRAPPED): Likewise.
2238         (CLD_STOPPED): Likewise.
2239         (CLD_CONTINUED): Likewise.
2240         (POLL_IN): Likewise.
2241         (POLL_OUT): Likewise.
2242         (POLL_MSG): Likewise.
2243         (POLL_ERR): Likewise.
2244         (POLL_PRI): Likewise.
2245         (POLL_HUP): Likewise.
2246         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2247         (ILL_ILLOPN): Likewise.
2248         (ILL_ILLADR): Likewise.
2249         (ILL_ILLTRP): Likewise.
2250         (ILL_PRVOPC): Likewise.
2251         (ILL_PRVREG): Likewise.
2252         (ILL_COPROC): Likewise.
2253         (ILL_BADSTK): Likewise.
2254         (FPE_INTDIV): Likewise.
2255         (FPE_INTOVF): Likewise.
2256         (FPE_FLTDIV): Likewise.
2257         (FPE_FLTOVF): Likewise.
2258         (FPE_FLTUND): Likewise.
2259         (FPE_FLTRES): Likewise.
2260         (FPE_FLTINV): Likewise.
2261         (FPE_FLTSUB): Likewise.
2262         (SEGV_MAPERR): Likewise.
2263         (SEGV_ACCERR): Likewise.
2264         (BUS_ADRALN): Likewise.
2265         (BUS_ADRERR): Likewise.
2266         (BUS_OBJERR): Likewise.
2267         (BUS_MCEERR_AR): Likewise.
2268         (BUS_MCEERR_AO): Likewise.
2269         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2270         (TRAP_TRACE): Likewise.
2271         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2272         __USE_XOPEN2K8].
2273         (CLD_KILLED): Likewise.
2274         (CLD_DUMPED): Likewise.
2275         (CLD_TRAPPED): Likewise.
2276         (CLD_STOPPED): Likewise.
2277         (CLD_CONTINUED): Likewise.
2278         (POLL_IN): Likewise.
2279         (POLL_OUT): Likewise.
2280         (POLL_MSG): Likewise.
2281         (POLL_ERR): Likewise.
2282         (POLL_PRI): Likewise.
2283         (POLL_HUP): Likewise.
2284         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2285         (ILL_ILLOPN): Likewise.
2286         (ILL_ILLADR): Likewise.
2287         (ILL_ILLTRP): Likewise.
2288         (ILL_PRVOPC): Likewise.
2289         (ILL_PRVREG): Likewise.
2290         (ILL_COPROC): Likewise.
2291         (ILL_BADSTK): Likewise.
2292         (ILL_DBLFLT): Likewise.
2293         (ILL_HARDWALL): Likewise.
2294         (FPE_INTDIV): Likewise.
2295         (FPE_INTOVF): Likewise.
2296         (FPE_FLTDIV): Likewise.
2297         (FPE_FLTOVF): Likewise.
2298         (FPE_FLTUND): Likewise.
2299         (FPE_FLTRES): Likewise.
2300         (FPE_FLTINV): Likewise.
2301         (FPE_FLTSUB): Likewise.
2302         (SEGV_MAPERR): Likewise.
2303         (SEGV_ACCERR): Likewise.
2304         (BUS_ADRALN): Likewise.
2305         (BUS_ADRERR): Likewise.
2306         (BUS_OBJERR): Likewise.
2307         (BUS_MCEERR_AR): Likewise.
2308         (BUS_MCEERR_AO): Likewise.
2309         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2310         (TRAP_TRACE): Likewise.
2311         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2312         __USE_XOPEN2K8].
2313         (CLD_KILLED): Likewise.
2314         (CLD_DUMPED): Likewise.
2315         (CLD_TRAPPED): Likewise.
2316         (CLD_STOPPED): Likewise.
2317         (CLD_CONTINUED): Likewise.
2318         (POLL_IN): Likewise.
2319         (POLL_OUT): Likewise.
2320         (POLL_MSG): Likewise.
2321         (POLL_ERR): Likewise.
2322         (POLL_PRI): Likewise.
2323         (POLL_HUP): Likewise.
2324         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2325         (ILL_ILLOPN): Likewise.
2326         (ILL_ILLADR): Likewise.
2327         (ILL_ILLTRP): Likewise.
2328         (ILL_PRVOPC): Likewise.
2329         (ILL_PRVREG): Likewise.
2330         (ILL_COPROC): Likewise.
2331         (ILL_BADSTK): Likewise.
2332         (FPE_INTDIV): Likewise.
2333         (FPE_INTOVF): Likewise.
2334         (FPE_FLTDIV): Likewise.
2335         (FPE_FLTOVF): Likewise.
2336         (FPE_FLTUND): Likewise.
2337         (FPE_FLTRES): Likewise.
2338         (FPE_FLTINV): Likewise.
2339         (FPE_FLTSUB): Likewise.
2340         (SEGV_MAPERR): Likewise.
2341         (SEGV_ACCERR): Likewise.
2342         (BUS_ADRALN): Likewise.
2343         (BUS_ADRERR): Likewise.
2344         (BUS_OBJERR): Likewise.
2345         (BUS_MCEERR_AR): Likewise.
2346         (BUS_MCEERR_AO): Likewise.
2347         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2348         (TRAP_TRACE): Likewise.
2349         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2350         __USE_XOPEN2K8].
2351         (CLD_KILLED): Likewise.
2352         (CLD_DUMPED): Likewise.
2353         (CLD_TRAPPED): Likewise.
2354         (CLD_STOPPED): Likewise.
2355         (CLD_CONTINUED): Likewise.
2356         (POLL_IN): Likewise.
2357         (POLL_OUT): Likewise.
2358         (POLL_MSG): Likewise.
2359         (POLL_ERR): Likewise.
2360         (POLL_PRI): Likewise.
2361         (POLL_HUP): Likewise.
2362         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2363         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2365         [BZ #16670]
2366         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2367         before #include of <time.h>.
2368         [!__USE_XOPEN2K] (__need_timespec): Likewise.
2369         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2370         (test-xfail-UNIX98/sched.h/conform): Likewise.
2372 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2374         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2375         error absence of trapping exception support.
2376         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2378 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2380         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2381         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2382         * timezone/Makefile (testdata): Move definition above include of
2383         Rules.
2384         (test-zones): New variable.
2385         (tests-special): Add zone files.
2386         (build-testdata): Use $(evaluate-test).
2388         * elf/Makefile (tests-special): Rename tests to end with .out.
2389         ($(objpfx)noload-mem): Likewise.
2390         ($(objpfx)tst-leaks1-mem): Likewise.
2391         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2392         * iconv/Makefile (xtests-special): Change test-iconvconfig to
2393         $(objpfx)test-iconvconfig.out.
2394         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
2395         set -e inside subshell and redirect output to file.
2396         * iconvdata/Makefile (generated): Rename tests to end with .out.
2397         Correct type.
2398         (tests-special): Rename tests to end with .out.
2399         ($(objpfx)mtrace-tst-loading): Likewise.
2400         * intl/Makefile (generated): Likewise.
2401         (tests-special): Likewise.
2402         ($(objpfx)mtrace-tst-gettext): Likewise.
2403         * misc/Makefile (generated): Likewise.
2404         (tests-special): Likewise.
2405         ($(objpfx)tst-error1-mem): Likewise.
2406         * nptl/Makefile (tests-special): Likewise.
2407         ($(objpfx)tst-stack3-mem): Likewise.
2408         (generated): Likewise.
2409         * posix/Makefile (generated): Likewise.
2410         (tests-special): Likewise.
2411         (xtests-special): Likewise.
2412         ($(objpfx)tst-fnmatch-mem): Likewise.
2413         ($(objpfx)bug-regex2-mem): Likewise.
2414         ($(objpfx)bug-regex14-mem): Likewise.
2415         ($(objpfx)bug-regex21-mem): Likewise.
2416         ($(objpfx)bug-regex31-mem): Likewise.
2417         ($(objpfx)tst-vfork3-mem): Likewise.
2418         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2419         ($(objpfx)tst-pcre-mem): Likewise.
2420         ($(objpfx)tst-boost-mem): Likewise.
2421         ($(objpfx)bug-ga2-mem): Likewise.
2422         ($(objpfx)bug-glob2-mem): Likewise.
2423         * resolv/Makefile (generate): Likewise.
2424         (tests-special): Likewise.
2425         (xtests-special): Likewise.
2426         (generated): Likewise.
2427         ($(objpfx)mtrace-tst-leaks): Likewise.
2428         ($(objpfx)mtrace-tst-leaks2): Likewise.
2430         * scripts/merge-test-results.sh: New file.
2431         * Makefile (tests-special-notdir): New variable.
2432         (tests): Run merge-test-results.sh.
2433         (xtests): Likewise.
2434         * Rules (tests-special-notdir): New variable.
2435         (xtests-special-notdir): Likewise.
2436         (tests): Run merge-test-results.sh
2437         (xtests): Likewise.
2439         * Makeconfig (test-xfail-name): New variable.
2440         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2441         compute variable name for expected failures.
2442         * conform/Makefile (conformtest-headers-data): New variable.
2443         (conformtest-standards): Likewise.
2444         (conformtest-headers-ISO): Likewise.
2445         (conformtest-headers-ISO99): Likewise.
2446         (conformtest-headers-ISO11): Likewise.
2447         (conformtest-headers-POSIX): Likewise.
2448         (conformtest-headers-XPG3): Likewise.
2449         (conformtest-headers-XPG4): Likewise.
2450         (conformtest-headers-UNIX98): Likewise.
2451         (conformtest-headers-XOPEN2K): Likewise.
2452         (conformtest-headers-POSIX2008): Likewise.
2453         (conformtest-headers-XOPEN2K8): Likewise.
2454         (conformtest-header-list-base): Likewise.
2455         (conformtest-header-list-tests): Likewise.
2456         (conformtest-header-base): Likewise.
2457         (conformtest-header-tests): Likewise.
2458         (tests-special): Add $(conformtest-header-list-tests).  If
2459         [$(fast-check) && !$(cross-compiling)], add
2460         $(conformtest-header-tests) instead of
2461         $(objpfx)run-conformtest.out.
2462         (generated): Add $(conformtest-header-list-base).  If
2463         [$(fast-check) && !$(cross-compiling)], add
2464         $(conformtest-header-base).  Remove previous setting.
2465         ($(conformtest-header-list-tests)): New target.
2466         (test-xfail-run-conformtest): Remove variable.
2467         ($(objpfx)run-conformtest.out): Remove target.
2468         (test-xfail-ISO11/complex.h/conform): New variable.
2469         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2470         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2471         (test-xfail-XPG3/varargs.h/conform): Likewise.
2472         (test-xfail-XPG4/varargs.h/conform): Likewise.
2473         (test-xfail-UNIX98/varargs.h/conform): Likewise.
2474         (test-xfail-XPG4/ndbm.h/conform): Likewise.
2475         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2476         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2477         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2478         (test-xfail-XPG3/fcntl.h/conform): Likewise.
2479         (test-xfail-XPG3/ftw.h/conform): Likewise.
2480         (test-xfail-XPG3/grp.h/conform): Likewise.
2481         (test-xfail-XPG3/langinfo.h/conform): Likewise.
2482         (test-xfail-XPG3/limits.h/conform): Likewise.
2483         (test-xfail-XPG3/pwd.h/conform): Likewise.
2484         (test-xfail-XPG3/search.h/conform): Likewise.
2485         (test-xfail-XPG3/signal.h/conform): Likewise.
2486         (test-xfail-XPG3/stdio.h/conform): Likewise.
2487         (test-xfail-XPG3/stdlib.h/conform): Likewise.
2488         (test-xfail-XPG3/string.h/conform): Likewise.
2489         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2490         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2491         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2492         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2493         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2494         (test-xfail-XPG3/sys/types.h/conform): Likewise.
2495         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2496         (test-xfail-XPG3/termios.h/conform): Likewise.
2497         (test-xfail-XPG3/time.h/conform): Likewise.
2498         (test-xfail-XPG3/unistd.h/conform): Likewise.
2499         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2500         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2501         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2502         (test-xfail-XPG4/netdb.h/conform): Likewise.
2503         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2504         (test-xfail-XPG4/signal.h/conform): Likewise.
2505         (test-xfail-XPG4/stdio.h/conform): Likewise.
2506         (test-xfail-XPG4/stdlib.h/conform): Likewise.
2507         (test-xfail-XPG4/stropts.h/conform): Likewise.
2508         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2509         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2510         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2511         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2512         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2513         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2514         (test-xfail-XPG4/sys/time.h/conform): Likewise.
2515         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2516         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2517         (test-xfail-XPG4/termios.h/conform): Likewise.
2518         (test-xfail-XPG4/ucontext.h/conform): Likewise.
2519         (test-xfail-XPG4/unistd.h/conform): Likewise.
2520         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2521         (test-xfail-POSIX/sched.h/conform): Likewise.
2522         (test-xfail-POSIX/signal.h/conform): Likewise.
2523         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2524         (test-xfail-POSIX/tar.h/conform): Likewise.
2525         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2526         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2527         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2528         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2529         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2530         (test-xfail-UNIX98/sched.h/conform): Likewise.
2531         (test-xfail-UNIX98/signal.h/conform): Likewise.
2532         (test-xfail-UNIX98/stdio.h/conform): Likewise.
2533         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2534         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2535         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2536         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2537         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2538         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2539         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2540         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2541         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2542         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2543         (test-xfail-UNIX98/unistd.h/conform): Likewise.
2544         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2545         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2546         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2547         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2548         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2549         (test-xfail-XOPEN2K/math.h/conform): Likewise.
2550         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2551         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2552         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2553         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2554         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2555         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2556         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2557         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2558         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2559         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2560         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2561         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2562         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2563         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2564         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2565         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2566         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2567         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2568         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2569         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2570         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2571         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2572         (test-xfail-POSIX2008/signal.h/conform): Likewise.
2573         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2574         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2575         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2576         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2577         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2578         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2579         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2580         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2581         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2582         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2583         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2584         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2585         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2586         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2587         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2588         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2589         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2590         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2591         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2592         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2593         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2594         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2595         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2596         (conformtest-cc-flags): Likewise.
2597         ($(conformtest-header-tests): New target.
2598         * conform/check-header-lists.sh: New file.
2599         * conform/run-conformtest.sh: Remove.
2601         * conform/conformtest.pl: Allow ' and \ in values given for
2602         constants.
2603         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2604         inclusion.
2605         [POSIX] (sys/types.h): Likewise.
2606         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2607         inclusion.
2608         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2609         inclusion.
2610         * conform/data/signal.h-data (SIGIO): Remove expectation.
2611         [XPG3] (SIGBUS): Do not expect.
2612         [POSIX || XPG3] (SIGPOLL): Likewise.
2613         [POSIX || XPG3] (SIGPROF): Likewise.
2614         [POSIX || XPG3] (SIGSYS): Likewise.
2615         [XPG3] (SIGTRAP): Likewise.
2616         [POSIX || XPG3] (SIGURG): Likewise.
2617         [POSIX || XPG3] (SIGVTALRM): Likewise.
2618         [POSIX || XPG3] (SIGXCPU): Likewise.
2619         [POSIX || XPG3] (SIGXFSZ): Likewise.
2620         [POSIX] (SA_SIGINFO): Expect.
2621         [XPG3] (siginfo_t): Do not expect type or contents.
2622         [POSIX] (si_pid): Do not expect element.
2623         [POSIX] (si_uid): Likewise.
2624         [POSIX] (si_addr): Likewise.
2625         [POSIX] (si_status): Likewise.
2626         [POSIX] (si_band): Likewise.
2627         [XPG4] (si_value): Likewise.
2628         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2629         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2630         [POSIX || XPG3] (ILL_ILLADR): Likewise.
2631         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2632         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2633         [POSIX || XPG3] (ILL_PRVREG): Likewise.
2634         [POSIX || XPG3] (ILL_COPROC): Likewise.
2635         [POSIX || XPG3] (ILL_BADSTK): Likewise.
2636         [POSIX || XPG3] (FPE_INTDIV): Likewise.
2637         [POSIX || XPG3] (FPE_INTOVF): Likewise.
2638         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2639         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2640         [POSIX || XPG3] (FPE_FLTUND): Likewise.
2641         [POSIX || XPG3] (FPE_FLTRES): Likewise.
2642         [POSIX || XPG3] (FPE_FLTINV): Likewise.
2643         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2644         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2645         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2646         [POSIX || XPG3] (BUS_ADRALN): Likewise.
2647         [POSIX || XPG3] (BUS_ADRERR): Likewise.
2648         [POSIX || XPG3] (BUS_OBJERR): Likewise.
2649         [POSIX || XPG3] (CLD_EXITED): Likewise.
2650         [POSIX || XPG3] (CLD_KILLED): Likewise.
2651         [POSIX || XPG3] (CLD_DUMPED): Likewise.
2652         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2653         [POSIX || XPG3] (CLD_STOPPED): Likewise.
2654         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2655         [POSIX || XPG3] (POLL_IN): Likewise.
2656         [POSIX || XPG3] (POLL_OUT): Likewise.
2657         [POSIX || XPG3] (POLL_MSG): Likewise.
2658         [POSIX || XPG3] (POLL_ERR): Likewise.
2659         [POSIX || XPG3] (POLL_PRI): Likewise.
2660         [POSIX || XPG3] (POLL_HUP): Likewise.
2661         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2662         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2663         (SIG*): Do not allow.
2664         [XPG3] (si_*): Likewise.
2665         [XPG3] (SI_*): Likewise.
2666         [XPG3 || XPG4] (sigev_*): Likewise.
2667         [XPG3 || XPG4] (SIGEV_*): Likewise.
2668         [XPG3 || XPG4] (sival_*): Likewise.
2669         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2670         [POSIX || XPG3] (BUS_*): Likewise.
2671         [POSIX || XPG3] (CLD_*): Likewise.
2672         [POSIX || XPG3] (FPE_*): Likewise.
2673         [POSIX || XPG3] (ILL_*): Likewise.
2674         [POSIX || XPG3] (POLL_*): Likewise.
2675         [POSIX || XPG3] (SEGV_*): Likewise.
2676         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2677         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2678         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2679         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2680         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2681         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2682         Specify type and value.
2683         (TVERSLEN): Likewise.
2684         (REGTYPE): Likewise.
2685         (AREGTYPE): Likewise.
2686         (LNKTYPE): Likewise.
2687         (SYMTYPE): Likewise.
2688         (CHRTYPE): Likewise.
2689         (BLKTYPE): Likewise.
2690         (DIRTYPE): Likewise.
2691         (FIFOTYPE): Likewise.
2692         (CONTTYPE): Likewise.
2693         (TSUID): Likewise.
2694         (TSGID): Likewise.
2695         (TSVTX): Likewise.
2696         (TUREAD): Likewise.
2697         (TUWRITE): Likewise.
2698         (TUEXEC): Likewise.
2699         (TGREAD): Likewise.
2700         (TGWRITE): Likewise.
2701         (TGEXEC): Likewise.
2702         (TOREAD): Likewise.
2703         (TOWRITE): Likewise.
2704         (TOEXEC): Likewise.
2705         [POSIX] (TSVTX): Expect constant.
2707 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
2709         * Makefile (tests): Change dependencies to ....
2710         (tests-special): ... additions to this variable.
2711         (tests): Depend on $(tests-special).
2712         * Makerules (check-abi-list): New variable.
2713         (check-abi): Depend on $(check-abi-list).
2714         [$(subdir) = elf] (tests-special): Add
2715         $(objpfx)check-abi-libc.out.
2716         [$(build-shared) = yes && subdir] (tests-special): Add
2717         $(check-abi-list).
2718         [$(build-shared) = yes && subdir] (tests): Do not depend on
2719         check-abi.
2720         * Rules (tests): Depend on $(tests-special).
2721         (xtests): Depend on $(xtests-special).
2722         * catgets/Makefile (tests): Change dependencies to ....
2723         (tests-special): ... additions to this variable.
2724         * conform/Makefile (tests): Change dependencies to ....
2725         (tests-special): ... additions to this variable.
2726         * elf/Makefile (tests): Change dependencies to ....
2727         (tests-special): ... additions to this variable.
2728         * grp/Makefile (tests): Change dependencies to ....
2729         (tests-special): ... additions to this variable.
2730         * iconv/Makefile (xtests): Change dependencies to ....
2731         (xtests-special): ... additions to this variable.
2732         * iconvdata/Makefile (tests): Change dependencies to ....
2733         (tests-special): ... additions to this variable.
2734         * intl/Makefile (tests): Change dependencies to ....
2735         (tests-special): ... additions to this variable.  Also add
2736         $(objpfx)tst-gettext.out.
2737         * io/Makefile (tests): Change dependencies to ....
2738         (tests-special): ... additions to this variable.
2739         * libio/Makefile (tests): Change dependencies to ....
2740         (tests-special): ... additions to this variable.
2741         * malloc/Makefile (tests): Change dependencies to ....
2742         (tests-special): ... additions to this variable.
2743         * misc/Makefile (tests): Change dependencies to ....
2744         (tests-special): ... additions to this variable.
2745         * nptl/Makefile (tests): Change dependencies to ....
2746         (tests-special): ... additions to this variable.
2747         * nptl_db/Makefile (tests): Change dependencies to ....
2748         (tests-special): ... additions to this variable.
2749         * posix/Makefile (tests): Change dependencies to ....
2750         (tests-special): ... additions to this variable.
2751         (xtests): Change dependencies to ....
2752         (xtests-special): ... additions to this variable.
2753         * resolv/Makefile (tests): Change dependencies to ....
2754         (tests-special): ... additions to this variable.
2755         (xtests): Change dependencies to ....
2756         (xtests-special): ... additions to this variable.
2757         * stdio-common/Makefile (tests): Change dependencies to ....
2758         (tests-special): ... additions to this variable.
2759         (do-tst-unbputc): Remove target.
2760         (do-tst-printf): Likewise.
2761         * stdlib/Makefile (tests): Change dependencies to ....
2762         (tests-special): ... additions to this variable.
2763         * string/Makefile (tests): Change dependencies to ....
2764         (tests-special): ... additions to this variable.
2765         * sysdeps/x86/Makefile (tests): Change dependencies to ....
2766         (tests-special): ... additions to this variable.
2768         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2769         whole file.
2770         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2771         whole file.
2772         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2773         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2775         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2776         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2777         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2778         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2779         * conform/data/libgen.h-data [XPG3]: Likewise.
2780         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2781         * conform/data/ndbm.h-data [XPG3]: Likewise.
2782         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2783         * conform/data/netdb.h-data [XPG3]: Likewise.
2784         * conform/data/netinet/in.h-data [XPG3]: Likewise.
2785         * conform/data/poll.h-data [XPG3]: Likewise.
2786         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2787         * conform/data/strings.h-data [XPG3]: Likewise.
2788         * conform/data/stropts.h-data [XPG3]: Likewise.
2789         * conform/data/sys/mman.h-data [XPG3]: Likewise.
2790         * conform/data/sys/resource.h-data [XPG3]: Likewise.
2791         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2792         Likewise.
2793         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2794         * conform/data/sys/time.h-data [XPG3]: Likewise.
2795         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2796         * conform/data/sys/uio.h-data [XPG3]: Likewise.
2797         * conform/data/sys/un.h-data [XPG3]: Likewise.
2798         * conform/data/syslog.h-data [XPG3]: Likewise.
2799         * conform/data/ucontext.h-data [XPG3]: Likewise.
2800         * conform/data/utmpx.h-data [XPG3]: Likewise.
2801         * conform/data/varargs.h-data [UNIX98]: Enable file.
2803         * manual/Makefile (INSTALL_INFO): Remove variable setting.
2805         * math/libm-test.inc (struct test_f_f_data): Move expected results
2806         into structure for each rounding mode.
2807         (struct test_ff_f_data): Likewise.
2808         (struct test_ff_f_data_nexttoward): Likewise.
2809         (struct test_fi_f_data): Likewise.
2810         (struct test_fl_f_data): Likewise.
2811         (struct test_if_f_data): Likewise.
2812         (struct test_fff_f_data): Likewise.
2813         (struct test_c_f_data): Likewise.
2814         (struct test_f_f1_data): Likewise.
2815         (struct test_fF_f1_data): Likewise.
2816         (struct test_ffI_f1_data): Likewise.
2817         (struct test_c_c_data): Likewise.
2818         (struct test_cc_c_data): Likewise.
2819         (struct test_f_i_data): Likewise.
2820         (struct test_ff_i_data): Likewise.
2821         (struct test_f_l_data): Likewise.
2822         (struct test_f_L_data): Likewise.
2823         (struct test_fFF_11_data): Likewise.
2824         (RM_): New macro.
2825         (RM_FE_DOWNWARD): Likewise.
2826         (RM_FE_TONEAREST): Likewise.
2827         (RM_FE_TOWARDZERO): Likewise.
2828         (RM_FE_UPWARD): Likewise.
2829         (RUN_TEST_LOOP_f_f): Update references to expected results.
2830         (RUN_TEST_LOOP_2_f): Likewise.
2831         (RUN_TEST_LOOP_fff_f): Likewise.
2832         (RUN_TEST_LOOP_c_f): Likewise.
2833         (RUN_TEST_LOOP_f_f1): Likewise.
2834         (RUN_TEST_LOOP_fF_f1): Likewise.
2835         (RUN_TEST_LOOP_fI_f1): Likewise.
2836         (RUN_TEST_LOOP_ffI_f1): Likewise.
2837         (RUN_TEST_LOOP_c_c): Likewise.
2838         (RUN_TEST_LOOP_cc_c): Likewise.
2839         (RUN_TEST_LOOP_f_i): Likewise.
2840         (RUN_TEST_LOOP_f_i_tg): Likewise.
2841         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2842         (RUN_TEST_LOOP_f_b): Likewise.
2843         (RUN_TEST_LOOP_f_b_tg): Likewise.
2844         (RUN_TEST_LOOP_f_l): Likewise.
2845         (RUN_TEST_LOOP_f_L): Likewise.
2846         (RUN_TEST_LOOP_fFF_11): Likewise.
2847         * math/gen-libm-test.pl (parse_args): Output four copies of
2848         expected results for each test.
2850         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2851         (__ASSUME_UTIMES): Remove.
2852         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2853         (__ASSUME_UTIMES): Likewise.
2855         * math/gen-auto-libm-tests.c: Update comment on output format.
2856         (output_for_one_input_case): Generate before-rounding and
2857         after-rounding information as conditions on output flags not
2858         floating-point format.
2859         * math/auto-libm-test-out: Regenerated.
2860         * math/gen-libm-test.pl (cond_value): New function.
2861         (or_cond_value): Use cond_value.
2862         (generate_testfile): Handle conditional exceptions.
2864 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
2866         * math/libm-test.inc (max_valid_error): New variable.
2867         (init_max_error): Take new argument specifying whether function
2868         results are exactly determined.  Set max_valid_error and bound
2869         other variables for errors based on this argument.
2870         (set_max_error): Do not record results above max_valid_error.
2871         (check_float_internal): Only accept errors of up to 0.5ulps if
2872         also at most max_valid_error.
2873         (START): Take new argument EXACT and pass it to init_max_error.
2874         (acos_test): Update call to START.
2875         (acos_test_tonearest): Likewise.
2876         (acos_test_towardzero): Likewise.
2877         (acos_test_downward): Likewise.
2878         (acos_test_upward): Likewise.
2879         (acosh_test): Likewise.
2880         (asin_test): Likewise.
2881         (asin_test_tonearest): Likewise.
2882         (asin_test_towardzero): Likewise.
2883         (asin_test_downward): Likewise.
2884         (asin_test_upward): Likewise.
2885         (asinh_test): Likewise.
2886         (atan_test): Likewise.
2887         (atanh_test): Likewise.
2888         (atan2_test): Likewise.
2889         (cabs_test): Likewise.
2890         (cacos_test): Likewise.
2891         (cacosh_test): Likewise.
2892         (carg_test): Likewise.
2893         (casin_test): Likewise.
2894         (casinh_test): Likewise.
2895         (catan_test): Likewise.
2896         (catanh_test): Likewise.
2897         (cbrt_test): Likewise.
2898         (ccos_test): Likewise.
2899         (ccosh_test): Likewise.
2900         (ceil_test): Likewise.
2901         (cexp_test): Likewise.
2902         (cimag_test): Likewise.
2903         (clog_test): Likewise.
2904         (clog10_test): Likewise.
2905         (conj_test): Likewise.
2906         (copysign_test): Likewise.
2907         (cos_test): Likewise.
2908         (cos_test_tonearest): Likewise.
2909         (cos_test_towardzero): Likewise.
2910         (cos_test_downward): Likewise.
2911         (cos_test_upward): Likewise.
2912         (cosh_test): Likewise.
2913         (cosh_test_tonearest): Likewise.
2914         (cosh_test_towardzero): Likewise.
2915         (cosh_test_downward): Likewise.
2916         (cosh_test_upward): Likewise.
2917         (cpow_test): Likewise.
2918         (cproj_test): Likewise.
2919         (creal_test): Likewise.
2920         (csin_test): Likewise.
2921         (csinh_test): Likewise.
2922         (csqrt_test): Likewise.
2923         (ctan_test): Likewise.
2924         (ctan_test_tonearest): Likewise.
2925         (ctan_test_towardzero): Likewise.
2926         (ctan_test_downward): Likewise.
2927         (ctan_test_upward): Likewise.
2928         (ctanh_test): Likewise.
2929         (ctanh_test_tonearest): Likewise.
2930         (ctanh_test_towardzero): Likewise.
2931         (ctanh_test_downward): Likewise.
2932         (ctanh_test_upward): Likewise.
2933         (erf_test): Likewise.
2934         (erfc_test): Likewise.
2935         (exp_test): Likewise.
2936         (exp_test_tonearest): Likewise.
2937         (exp_test_towardzero): Likewise.
2938         (exp_test_downward): Likewise.
2939         (exp_test_upward): Likewise.
2940         (exp10_test): Likewise.
2941         (exp10_test_tonearest): Likewise.
2942         (exp10_test_towardzero): Likewise.
2943         (exp10_test_downward): Likewise.
2944         (exp10_test_upward): Likewise.
2945         (pow10_test): Likewise.
2946         (exp2_test): Likewise.
2947         (expm1_test): Likewise.
2948         (expm1_test_tonearest): Likewise.
2949         (expm1_test_towardzero): Likewise.
2950         (expm1_test_downward): Likewise.
2951         (expm1_test_upward): Likewise.
2952         (fabs_test): Likewise.
2953         (fdim_test): Likewise.
2954         (floor_test): Likewise.
2955         (fma_test): Likewise.
2956         (fma_test_towardzero): Likewise.
2957         (fma_test_downward): Likewise.
2958         (fma_test_upward): Likewise.
2959         (fmax_test): Likewise.
2960         (fmin_test): Likewise.
2961         (fmod_test): Likewise.
2962         (fpclassify_test): Likewise.
2963         (frexp_test): Likewise.
2964         (hypot_test): Likewise.
2965         (ilogb_test): Likewise.
2966         (isfinite_test): Likewise.
2967         (finite_test): Likewise.
2968         (isgreater_test): Likewise.
2969         (isgreaterequal_test): Likewise.
2970         (isinf_test): Likewise.
2971         (isless_test): Likewise.
2972         (islessequal_test): Likewise.
2973         (islessgreater_test): Likewise.
2974         (isnan_test): Likewise.
2975         (isnormal_test): Likewise.
2976         (issignaling_test): Likewise.
2977         (isunordered_test): Likewise.
2978         (j0_test): Likewise.
2979         (j1_test): Likewise.
2980         (jn_test): Likewise.
2981         (ldexp_test): Likewise.
2982         (lgamma_test): Likewise.
2983         (gamma_test): Likewise.
2984         (lrint_test): Likewise.
2985         (lrint_test_tonearest): Likewise.
2986         (lrint_test_towardzero): Likewise.
2987         (lrint_test_downward): Likewise.
2988         (lrint_test_upward): Likewise.
2989         (llrint_test): Likewise.
2990         (llrint_test_tonearest): Likewise.
2991         (llrint_test_towardzero): Likewise.
2992         (llrint_test_downward): Likewise.
2993         (llrint_test_upward): Likewise.
2994         (log_test): Likewise.
2995         (log10_test): Likewise.
2996         (log1p_test): Likewise.
2997         (log2_test): Likewise.
2998         (logb_test): Likewise.
2999         (logb_test_downward): Likewise.
3000         (lround_test): Likewise.
3001         (llround_test): Likewise.
3002         (modf_test): Likewise.
3003         (nearbyint_test): Likewise.
3004         (nextafter_test): Likewise.
3005         (nexttoward_test): Likewise.
3006         (pow_test): Likewise.
3007         (pow_test_tonearest): Likewise.
3008         (pow_test_towardzero): Likewise.
3009         (pow_test_downward): Likewise.
3010         (pow_test_upward): Likewise.
3011         (remainder_test): Likewise.
3012         (drem_test): Likewise.
3013         (remainder_test_tonearest): Likewise.
3014         (drem_test_tonearest): Likewise.
3015         (remainder_test_towardzero): Likewise.
3016         (drem_test_towardzero): Likewise.
3017         (remainder_test_downward): Likewise.
3018         (drem_test_downward): Likewise.
3019         (remainder_test_upward): Likewise.
3020         (drem_test_upward): Likewise.
3021         (remquo_test): Likewise.
3022         (rint_test): Likewise.
3023         (rint_test_tonearest): Likewise.
3024         (rint_test_towardzero): Likewise.
3025         (rint_test_downward): Likewise.
3026         (rint_test_upward): Likewise.
3027         (round_test): Likewise.
3028         (scalb_test): Likewise.
3029         (scalbn_test): Likewise.
3030         (scalbln_test): Likewise.
3031         (signbit_test): Likewise.
3032         (sin_test): Likewise.
3033         (sin_test_tonearest): Likewise.
3034         (sin_test_towardzero): Likewise.
3035         (sin_test_downward): Likewise.
3036         (sin_test_upward): Likewise.
3037         (sincos_test): Likewise.
3038         (sinh_test): Likewise.
3039         (sinh_test_tonearest): Likewise.
3040         (sinh_test_towardzero): Likewise.
3041         (sinh_test_downward): Likewise.
3042         (sinh_test_upward): Likewise.
3043         (sqrt_test): Likewise.
3044         (sqrt_test_tonearest): Likewise.
3045         (sqrt_test_towardzero): Likewise.
3046         (sqrt_test_downward): Likewise.
3047         (sqrt_test_upward): Likewise.
3048         (tan_test): Likewise.
3049         (tan_test_tonearest): Likewise.
3050         (tan_test_towardzero): Likewise.
3051         (tan_test_downward): Likewise.
3052         (tan_test_upward): Likewise.
3053         (tanh_test): Likewise.
3054         (tgamma_test): Likewise.
3055         (trunc_test): Likewise.
3056         (y0_test): Likewise.
3057         (y1_test): Likewise.
3058         (yn_test): Likewise.
3059         (significand_test): Likewise.
3061         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3062         individual tests in comment.
3063         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3064         (prev_max_error): New variable.
3065         (prev_real_max_error): Likewise.
3066         (prev_imag_max_error): Likewise.
3067         (compare_ulp_data): Don't refer to test names in comment.
3068         (find_test_ulps): Remove function.
3069         (find_function_ulps): Likewise.
3070         (find_complex_function_ulps): Likewise.
3071         (init_max_error): Take function name as argument.  Look up ulps
3072         for that function.
3073         (print_ulps): Remove function.
3074         (print_max_error): Use prev_max_error instead of calling
3075         find_function_ulps.
3076         (print_complex_max_error): Use prev_real_max_error and
3077         prev_imag_max_error instead of calling find_complex_function_ulps.
3078         (check_float_internal): Take max_ulp parameter instead of calling
3079         find_test_ulps.  Don't call print_ulps.
3080         (check_float): Update call to check_float_internal.
3081         (check_complex): Update calls to check_float_internal.
3082         (START): Pass argument to init_max_error.
3083         * math/gen-libm-test.pl (%results): Don't include "kind"
3084         information.
3085         (parse_ulps): Don't handle ulps of individual tests.
3086         (print_ulps_file): Likewise.
3087         (output_ulps): Likewise.
3088         * math/README.libm-test: Update.
3089         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3090         individual tests.
3091         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3092         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3093         * sysdeps/arm/libm-test-ulps: Likewise.
3094         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3095         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3096         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3097         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3098         * sysdeps/microblaze/libm-test-ulps: Likewise.
3099         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3100         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3101         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3102         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3103         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3104         * sysdeps/sh/libm-test-ulps: Likewise.
3105         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3106         * sysdeps/tile/libm-test-ulps: Likewise.
3107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3109 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
3111         * math/libm-test.inc (print_complex_max_error): Check separately
3112         whether real and imaginary errors are within allowed range and
3113         pass 0 to print_complex_function_ulps instead of value within
3114         allowed range.
3116 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3118         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3119         formatting.
3120         (get_handles_fopen): Likewise.
3121         (do_write_test): Likewise.
3123         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3125         * libio/fileops.c (do_ftell): Use cached offset when
3126         available.
3127         * libio/iofwide.c (do_ftell_wide): Likewise.
3128         * libio/iofdopen.c (_IO_new_fdopen): Don't use
3129         _IO_file_attach.
3130         * libio/wfileops.c (_IO_fwide): Don't cache offset.
3132         [BZ #16532]
3133         * libio/libioP.h (get_file_offset): New function.
3134         * libio/fileops.c (get_file_offset): Likewise.
3135         (do_ftell): Likewise.
3136         (_IO_new_file_seekoff): Split out ftell logic.
3137         * libio/wfileops.c (do_ftell_wide): Likewise.
3138         (_IO_wfile_seekoff): Split out ftell logic.
3139         * libio/tst-ftell-active-handler.c: New test case.
3140         * libio/Makefile (tests): Add it.
3142 2014-03-03  Roland McGrath  <roland@hack.frob.com>
3144         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3145         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3147 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3149         [BZ #16639]
3150         * nscd/connections.c (nscd_init): Call do_exit.
3151         (start_threads): Call do_exit and notify_parent.
3152         (begin_drop_privileges): Call do_exit.
3153         (finish_drop_privileges): Likewise.
3154         * nscd/selinux.c (preserve_capabilities): Likewise.
3155         (install_real_capabilities): Likewise.
3156         (nscd_selinux_enabled): Likewise.
3157         (avc_create_thread): Likewise.
3158         (avc_alloc_lock): Likewise.
3159         (nscd_avc_init): Likewise.
3160         * nscd/nscd.c (parent_fd): New static variable.
3161         (main): Create a pipe between parent and child processes.
3162         Skip closing parent_fd.
3163         (monitor_child): New function.
3164         (do_exit): Likewise.
3165         (notify_parent): Likewise.
3166         * nscd/nscd.h (notify_parent): Likewise.
3167         (do_exit): Likewise.
3169 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
3171         * malloc/malloc.c (__libc_calloc): Revert last change.
3173 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3177 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3179         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3181         implementation.
3182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3183         (__libc_ifunc_impl_list): Likewise.
3184         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3185         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3186         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3187         * string/strrchr.c: Define STRRCHR.
3189 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
3191         * benchtest/bench-strtok.c (simple_strtok): Delete.
3192         (strtok_string): Use as benchmark.
3193         * string/strtok (STRTOK): New macro.
3195 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
3197         * manual/threads.texi: Add header and standard comments to all
3198         functions.
3200         * elf/dl-lookup.c (check_match): New function.
3201         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3202         (do_lookup_x): Remove nested function check_match. Use non-nested
3203         function check_match.
3205 2014-02-28  Roland McGrath  <roland@hack.frob.com>
3207         * csu/Makefile (generated, before-compile): Use += rather than =.
3208         * catgets/Makefile (generated, generated-dirs): Likewise.
3209         * debug/Makefile (generated): Likewise.
3210         * dlfcn/Makefile (generated): Likewise.
3211         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3212         * iconvdata/Makefile (before-compile, generated): Likewise.
3213         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3214         * libio/Makefile (generated): Likewise.
3215         * malloc/Makefile (generated): Likewise.
3216         * manual/Makefile (generated, generated-dirs): Likewise.
3217         * misc/Makefile (generated): Likewise.
3218         * posix/Makefile (generated): Likewise.
3219         * resolv/Makefile (generated): Likewise.
3220         * sunrpc/Makefile (generated, generated-dirs): Likewise.
3221         * timezone/Makefile (generated, generated-dirs): Likewise.
3223         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3225 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3228         power8 implementation.
3229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3230         file: POWER8 llround ifunc implementation.
3231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3232         (__lllround): Add POWER8 implementation.
3233         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3234         POWER8 llround implementation.
3236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3237         power8 implementation.
3238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3239         file: POWER8 llrint ifunc implementation.
3240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3241         Add POWER8 implementation.
3242         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3243         POWER8 llrint implementation.
3245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3246         power8 implementation.
3247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3248         file: POWER8 finite ifunc implementation.
3249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3250         Add POWER8 implementation.
3251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3252         Likewise.
3253         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3254         POWER8 finite implementation.
3255         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3258         power8 implementation.
3259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3260         file: POWER8 isinf ifunc implementation.
3261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3262         POWER8 implementation.
3263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3264         Likewise.
3265         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3266         isinf implementation.
3267         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3269         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3270         (INIT_ARCH): Add hwcap2 initialization.
3271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3272         power8 implementation.
3273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3274         file: POWER8 isnan ifunc implementation.
3275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3276         POWER8 implementation.
3277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3278         Likewise.
3279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3280         isnan implementation.
3281         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3283 2014-02-27  Joey Ye  <joey.ye@arm.com>
3285         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3286         (_FP_NANFRAC_Q): Set to zero.
3288 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3290         [BZ #16623]
3291         * math/auto-libm-test-in: New test inputs.
3292         * math/auto-libm-test-out: Regenerate.
3293         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3294         and DA.
3295         (__cos): Likewise.
3296         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3298 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
3300         * scripts/evaluate-test.sh: Take new argument indicating whether
3301         failure is expected.
3302         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3303         indicating whether failure is expected.
3304         * conform/Makefile (test-xfail-run-conformtest): New variable.
3305         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3306         level.
3307         * posix/Makefile (test-xfail-annexc): New variable.
3308         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3310 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
3312         * argp/Makefile: Include Makeconfig immediately after defining
3313         subdir.
3314         * assert/Makefile: Likewise.
3315         * benchtests/Makefile: Likewise.
3316         * catgets/Makefile: Likewise.
3317         * conform/Makefile: Likewise.
3318         * crypt/Makefile: Likewise.
3319         * csu/Makefile: Likewise.
3320         (all): Remove target.
3321         * ctype/Makefile: Include Makeconfig immediately after defining
3322         subdir.
3323         * debug/Makefile: Likewise.
3324         * dirent/Makefile: Likewise.
3325         * dlfcn/Makefile: Likewise.
3326         * gmon/Makefile: Likewise.
3327         * gnulib/Makefile: Likewise.
3328         * grp/Makefile: Likewise.
3329         * gshadow/Makefile: Likewise.
3330         * hesiod/Makefile: Likewise.
3331         * hurd/Makefile: Likewise.
3332         (all): Remove target.
3333         * iconvdata/Makefile: Include Makeconfig immediately after
3334         defining subdir.
3335         * inet/Makefile: Likewise.
3336         * intl/Makefile: Likewise.
3337         * io/Makefile: Likewise.
3338         * libio/Makefile: Likewise.
3339         (all): Remove target.
3340         * locale/Makefile: Include Makeconfig immediately after defining
3341         subdir.
3342         * login/Makefile: Likewise.
3343         * mach/Makefile: Likewise.
3344         (all): Remove target.
3345         * malloc/Makefile: Include Makeconfig immediately after defining
3346         subdir.
3347         (all): Remove target.
3348         * manual/Makefile: Include Makeconfig immediately after defining
3349         subdir.
3350         * math/Makefile: Likewise.
3351         * misc/Makefile: Likewise.
3352         * nis/Makefile: Likewise.
3353         * nss/Makefile: Likewise.
3354         * po/Makefile: Likewise.
3355         (all): Remove target.
3356         * posix/Makefile: Include Makeconfig immediately after defining
3357         subdir.
3358         * pwd/Makefile: Likewise.
3359         * resolv/Makefile: Likewise.
3360         * resource/Makefile: Likewise.
3361         * rt/Makefile: Likewise.
3362         * setjmp/Makefile: Likewise.
3363         * shadow/Makefile: Likewise.
3364         * signal/Makefile: Likewise.
3365         * socket/Makefile: Likewise.
3366         * soft-fp/Makefile: Likewise.
3367         * stdio-common/Makefile: Likewise.
3368         * stdlib/Makefile: Likewise.
3369         * streams/Makefile: Likewise.
3370         * string/Makefile: Likewise.
3371         * sunrpc/Makefile: Likewise.
3372         (all): Remove target.
3373         * sysvipc/Makefile: Include Makeconfig immediately after defining
3374         subdir.
3375         * termios/Makefile: Likewise.
3376         * time/Makefile: Likewise.
3377         * timezone/Makefile: Likewise.
3378         (all): Remove target.
3379         * wcsmbs/Makefile: Include Makeconfig immediately after defining
3380         subdir.
3381         * wctype/Makefile: Likewise.
3383 2014-02-26  Steve Ellcey  <sellcey@mips.com>
3385         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3386         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3387         (libc_feholdexcept_setround_mips): Ditto.
3388         (libc_feholdsetround): New.
3389         (libc_feholdsetroundf): New.
3390         (libc_feholdsetroundl): New.
3391         (libc_feupdateenv_test_mips): New.
3392         (libc_feupdateenv_test): New.
3393         (libc_feupdateenv_testf): New.
3394         (libc_feupdateenv_testl): New.
3395         (libc_feresetround): New.
3396         (libc_feresetroundf): New.
3397         (libc_feresetroundl): New.
3398         (libc_fetestexcept_mips): New.
3399         (libc_fetestexcept): New.
3400         (libc_fetestexceptf): New.
3401         (libc_fetestexceptl): New.
3402         (HAVE_RM_CTX): New.
3403         (libc_feholdexcept_setround_mips_ctx): New.
3404         (libc_feholdexcept_setround_ctx): New.
3405         (libc_feholdexcept_setroundf_ctx): New.
3406         (libc_feholdexcept_setroundl_ctx): New.
3407         (libc_fesetenv_mips_ctx): New.
3408         (libc_fesetenv_ctx): New.
3409         (libc_fesetenv_ctxf): New.
3410         (libc_fesetenv_ctxl): New.
3411         (libc_feupdateenv_mips_ctx): New.
3412         (libc_feupdateenv_ctx): New.
3413         (libc_feupdateenvf_ctx): New.
3414         (libc_feupdateenvl_ctx): New.
3415         (libc_feholdsetround_mips_ctx): New.
3416         (libc_feholdsetround_ctx): New.
3417         (libc_feholdsetroundf_ctx): New.
3418         (libc_feholdsetroundl_ctx): New.
3419         (libc_feresetround_mips_ctx): New.
3420         (libc_feresetround_ctx): New.
3421         (libc_feresetroundf_ctx): New.
3422         (libc_feresetroundl_ctx): New.
3424 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
3426         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3428         * manual/ipc.texi: New file.
3429         * manual/Makefile (chapters): Add ipc.
3430         * manual/job.texi: Add "Inter-Process Communication" to next.
3431         * manual/process.texi: Add "Inter-Process Communication" to prev.
3433 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3437 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
3439         * malloc/malloc.c (__libc_calloc): Simplify implementation.
3441         * manual/arith.texi: Fix spaces after sentences.
3442         * manual/charset.texi: Likewise.
3443         * manual/errno.texi: Likewise.
3444         * manual/install.texi: Likewise.
3445         * manual/llio.texi: Likewise.
3446         * manual/locale.texi: Likewise.
3447         * manual/maint.texi: Likewise.
3448         * manual/math.texi: Likewise.
3449         * manual/memory.texi: Likewise.
3450         * manual/message.texi: Likewise.
3451         * manual/probes.texi: Likewise.
3452         * manual/resource.texi: Likewise.
3453         * manual/signal.texi: Likewise.
3454         * manual/socket.texi: Likewise.
3455         * manual/stdio.texi: Likewise.
3456         * manual/string.texi: Likewise.
3457         * manual/time.texi: Likewise.
3458         * manual/users.texi: Likewise.
3460 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
3462         [BZ #16632]
3463         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3464         _DEFAULT_SOURCE is defined.
3466 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
3467             Carlos O'Donell  <carlos@redhat.com>
3469         [BZ #16613]
3470         * elf/dl-tls.c (_dl_count_modids): New function.
3471         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3472         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3473         audit library and increment generation counter.
3474         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3475         * elf/tst-audit9.c: New file.
3476         * elf/tst-auditmod9a.c: New file.
3477         * elf/tst-auditmod9b.c: New file.
3478         * elf/Makefile: Add rules to build and run tst-audit9.
3480 2014-02-25  Florian Weimer  <fweimer@redhat.com>
3482         [BZ #15347]
3483         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3485 2014-02-25  Will Newton  <will.newton@linaro.org>
3487         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3488         (__longjmp): Restore sp and lr before restoring callee
3489         saved registers.  Add longjmp and longjmp_target
3490         SystemTap probe point.
3491         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3492         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3493         Define to zero to match jmpbuf layout.
3494         * sysdeps/arm/setjmp.S: Include stap-probe.h.
3495         (__sigsetjmp): Save sp and lr before saving callee
3496         saved registers.  Add setjmp SystemTap probe point.
3498 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3500         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3502 2014-02-24  Andreas Schwab  <schwab@suse.de>
3504         [BZ #15804]
3505         * elf/pldd.c (wait_for_ptrace_stop): New function.
3506         (main): Call it after attaching.
3508 2014-02-22  Roland McGrath  <roland@hack.frob.com>
3510         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3511         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3512         Versions files is now verboten.
3513         * hurd/Versions (libc: GLIBC_2.0):
3514         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3515         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3516         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3517         * mach/Versions: Likewise.
3519         * csu/Versions: Remove unused %include.
3520         * resolv/Versions: Likewise.
3522 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
3524         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3525         ($(objpfx)check-local-headers.out): Likewise.
3526         ($(objpfx)begin-end-check.out): Likewise.
3527         * Makerules (check-abi-%.out): Likewise.
3528         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3529         ($(objpfx)test2.cat): Likewise.
3530         ($(objpfx)de/libc.cat): Likewise.
3531         ($(objpfx)test-gencat.out): Likewise.
3532         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3533         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3534         ($(objpfx)noload-mem): Likewise.
3535         ($(objpfx)tst-pathopt.out): Likewise.
3536         ($(objpfx)tst-rtld-load-self.out): Likewise.
3537         ($(objpfx)tst-array1-cmp.out): Likewise.
3538         ($(objpfx)tst-array1-static-cmp.out): Likewise.
3539         ($(objpfx)tst-array2-cmp.out): Likewise.
3540         ($(objpfx)tst-array3-cmp.out): Likewise.
3541         ($(objpfx)tst-array4-cmp.out): Likewise.
3542         ($(objpfx)tst-array5-cmp.out): Likewise.
3543         ($(objpfx)tst-array5-static-cmp.out): Likewise.
3544         ($(objpfx)check-textrel.out): Likewise.
3545         ($(objpfx)check-execstack.out): Likewise.
3546         ($(objpfx)check-localplt.out): Likewise.
3547         ($(objpfx)order2-cmp.out): Likewise.
3548         ($(objpfx)tst-leaks1-mem): Likewise.
3549         ($(objpfx)tst-leaks1-static-mem): Likewise.
3550         ($(objpfx)tst-initorder-cmp.out): Likewise.
3551         ($(objpfx)tst-initorder2-cmp.out): Likewise.
3552         ($(objpfx)tst-unused-dep.out): Likewise.
3553         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3554         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3555         * iconv/Makefile (test-iconvconfig): Likewise.
3556         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3557         ($(objpfx)iconv-test.out): Likewise.
3558         ($(objpfx)tst-tables.out): Likewise.
3559         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3560         ($(objpfx)tst-gettext.out): Likewise.
3561         ($(objpfx)tst-translit.out): Likewise.
3562         ($(objpfx)tst-gettext2.out): Likewise.
3563         ($(objpfx)tst-gettext4.out): Likewise.
3564         ($(objpfx)tst-gettext6.out): Likewise.
3565         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3566         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3567         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3568         ($(objpfx)tst-fopenloc-mem.out): Likewise.
3569         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3570         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3571         * posix/Makefile ($(objpfx)globtest.out): Likewise.
3572         ($(objpfx)wordexp-tst.out): Likewise.
3573         ($(objpfx)annexc.out): Likewise.
3574         ($(objpfx)tst-fnmatch-mem): Likewise.
3575         ($(objpfx)bug-regex2-mem): Likewise.
3576         ($(objpfx)bug-regex14-mem): Likewise.
3577         ($(objpfx)bug-regex21-mem): Likewise.
3578         ($(objpfx)bug-regex31-mem): Likewise.
3579         ($(objpfx)tst-vfork3-mem): Likewise.
3580         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3581         ($(objpfx)tst-pcre-mem): Likewise.
3582         ($(objpfx)tst-boost-mem): Likewise.
3583         ($(objpfx)tst-getconf.out): Likewise.
3584         ($(objpfx)bug-ga2-mem): Likewise.
3585         ($(objpfx)bug-glob2-mem): Likewise.
3586         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3587         ($(objpfx)mtrace-tst-leaks2): Likewise.
3588         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3589         ($(objpfx)tst-printf.out): Likewise.
3590         ($(objpfx)tst-setvbuf1.out): Likewise.
3591         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3592         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3593         ($(objpfx)tst-fmtmsg.out): Likewise.
3594         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3595         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3597         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3598         * bits/sigaction.h [__USE_MISC]: Likewise.
3599         * bits/waitstatus.h: Update #endif comments.
3600         * ctype/ctype.h: Likewise.
3601         * dirent/dirent.h: Likewise.
3602         [__USE_MISC]: Remove redundant conditionals.
3603         * grp/grp.h: Update #endif comments.
3604         [__USE_GNU]: Remove redundant conditionals.
3605         [__USE_MISC]: Likewise.
3606         * inet/netinet/in.h [__USE_GNU]: Likewise.
3607         * io/sys/stat.h [__USE_MISC]: Likewise.
3608         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3609         * libio/bits/stdio.h: Update #endif comments.
3610         [__USE_MISC]: Remove redundant conditionals.
3611         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3612         * libio/stdio.h: Update #endif comments.
3613         [__USE_MISC]: Remove redundant conditionals.
3614         * math/bits/math-finite.h [__USE_MISC]: Likewise.
3615         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3616         * math/math.h: Update #else and #endif comments.
3617         [__USE_MISC]: Remove redundant conditionals.
3618         * misc/sys/uio.h: Update #endif comments.
3619         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3620         * posix/glob.h [__USE_MISC]: Likewise.
3621         * posix/sys/types.h: Update #endif comments.
3622         [__USE_MISC]: Remove redundant conditionals.
3623         * posix/sys/wait.h: Update #endif comments.
3624         [__USE_MISC]: Remove redundant conditionals.
3625         * posix/unistd.h: Update #endif comments.
3626         [__USE_MISC]: Remove redundant conditionals.
3627         * pwd/pwd.h [__USE_GNU]: Likewise.
3628         [__USE_MISC]: Likewise.
3629         * resolv/netdb.h [__USE_GNU]: Likewise.
3630         * signal/signal.h: Update #endif comments.
3631         [__USE_MISC]: Remove redundant conditionals.
3632         * stdlib/stdlib.h: Update #else and #endif comments.
3633         [__USE_MISC]: Remove redundant conditionals.
3634         [__USE_GNU]: Likewise.
3635         * string/bits/string2.h [__USE_MISC]: Likewise.
3636         * string/string.h: Update #endif comments.
3637         [__USE_MISC]: Remove redundant conditionals.
3638         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3639         Likewise.
3640         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3641         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3642         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3643         Likewise.
3644         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3645         Likewise.
3646         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3647         comments.
3648         [__USE_MISC]: Remove redundant conditionals.
3649         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3650         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3651         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3652         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3653         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3654         Likewise.
3655         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3656         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3657         Likewise.
3658         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3659         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3660         Likewise.
3661         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3662         Likewise.
3663         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3664         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3665         Likewise.
3666         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3667         Likewise.
3668         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3669         * sysdeps/x86/bits/string.h: Update #endif comments.
3670         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3671         conditionals.
3672         * time/sys/time.h: Update #endif comments.
3673         * time/time.h: Likewise.
3674         [__USE_MISC]: Remove redundant conditionals.
3676 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
3678         [BZ #16600]
3679         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3681 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
3683         * Versions.def (librt): Add GLIBC_2.17.
3685 2014-02-21  Adam Conrad  <adconrad@0c3.net>
3687         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3688         synonym for _SYS_AUXV_H to allow direct inclusion.
3689         * sysdeps/sparc/bits/hwcap.h: Likewise.
3690         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3691         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3692         * sysdeps/sparc/sysdep.h: Likewise.
3694 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3696         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3698 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3700         * benchtests/bench-strrchr.c: Print length instead of position.
3702 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
3704         [BZ #16611]
3705         * sysdeps/unix/sysv/linux/kernel-features.h
3706         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3707         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3708         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3709         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3710         Likewise.
3711         [__i386__ || __powerpc__ || __sh__ || __sparc__]
3712         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3713         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3714         (__ASSUME_SENDMMSG): Define instead of using previous
3715         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3716         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3717         (__ASSUME_SENDMMSG_SYSCALL): Define.
3718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3719         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3720         Likewise.
3721         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3722         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3723         Likewise.
3724         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3725         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3726         Likewise.
3727         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3728         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3729         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3730         [__ASSUME_SENDMMSG]: Change conditionals to
3731         [__ASSUME_SENDMMSG_SOCKETCALL].
3732         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3733         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3734         Define.
3735         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3736         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3737         Likewise.
3738         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3739         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3740         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3741         [!__ASSUME_SENDMMSG]: Change conditional to
3742         [!__ASSUME_SENDMMSG_SOCKETCALL].
3743         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3744         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3745         Define.
3747         [BZ #16610]
3748         * sysdeps/unix/sysv/linux/kernel-features.h
3749         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3750         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3751         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3752         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3753         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3754         [__i386__ || __sparc__]
3755         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3756         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3757         (__ASSUME_RECVMMSG): Define instead of using previous
3758         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3759         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3760         (__ASSUME_RECVMMSG_SYSCALL): Define.
3761         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3762         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3763         Likewise.
3764         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3765         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3766         Likewise.
3767         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3768         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3769         Likewise.
3770         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3771         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3772         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3773         [__ASSUME_RECVMMSG]: Change condition to
3774         [__ASSUME_RECVMMSG_SOCKETCALL].
3775         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3776         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3777         Define.
3778         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3779         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3780         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3781         Likewise.
3782         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3783         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3784         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3785         [!__ASSUME_RECVMMSG]: Change condition to
3786         [!__ASSUME_RECVMMSG_SOCKETCALL].
3787         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3788         (__ASSUME_RECVMMSG_SYSCALL): Define.
3790         [BZ #16609]
3791         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3792         __powerpc__ || __s390__ || __sh__ || __sparc__]
3793         (__ASSUME_SOCKETCALL): Define.
3794         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3795         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3796         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3797         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3798         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3799         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3800         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3801         (__ASSUME_ACCEPT4): Define instead of using previous
3802         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3803         __powerpc__ || __sparc__ || __s390__)] condition.
3804         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3805         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3806         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3807         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3808         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3809         [!__ASSUME_ACCEPT4]: Change condition to
3810         [!__ASSUME_ACCEPT4_SOCKETCALL].
3811         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3812         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
3813         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3814         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3815         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3816         __ASSUME_ACCEPT4_SYSCALL.
3817         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3818         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3819         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3820         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3821         __ASSUME_ACCEPT4_SYSCALL.
3822         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3823         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3824         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3825         [__ASSUME_ACCEPT4]: Change condition to
3826         [__ASSUME_ACCEPT4_SOCKETCALL].
3827         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3828         (__ASSUME_SOCKETCALL): Define.
3829         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3830         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3831         (__ASSUME_SOCKETCALL): Define.
3832         (__ASSUME_ACCEPT4): Remove.
3833         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3834         Define.
3835         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3836         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3837         Likewise.
3838         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3839         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3841         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3842         macro.
3843         (HWCAP_ARM_LPAE): Likewise.
3844         (HWCAP_ARM_EVTSTRM): Likewise.
3845         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3846         Add vpfd32, lpae and evtstrm.
3847         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3848         Increase to 22.
3850 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
3852         * math/auto-libm-test-in: Add tests of clog10.
3853         * math/auto-libm-test-out: Regenerated.
3854         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3855         * sysdeps/i386/fpu/libm-test-ulps: Update.
3856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3858 2014-02-18  Andreas Schwab  <schwab@suse.de>
3860         [BZ #16574]
3861         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3862         Store non-zero if the second buffer was newly allocated.
3863         (send_dg): Likewise.
3864         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3865         to send_vc and send_dg.
3866         (res_nsend): Pass NULL for ansp2_malloced.
3867         * resolv/res_query.c (__libc_res_nquery): Add parameter
3868         answerp2_malloced and pass it down to __libc_res_nsend.
3869         (res_nquery): Pass additional NULL to __libc_res_nquery.
3870         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3871         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
3872         second answer buffer if answerp2_malloced was set.
3873         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3874         (__libc_res_nquerydomain): Add parameter
3875         answerp2_malloced and pass it down to __libc_res_nquery.
3876         (res_nquerydomain): Pass additional NULL to
3877         __libc_res_nquerydomain.
3878         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3879         additional NULL to __libc_res_nsend and __libc_res_nquery.
3880         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3881         additional NULL to __libc_res_nsearch.
3882         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
3883         parameter of __libc_res_nsearch to check for separately allocated
3884         second buffer.
3885         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3886         __libc_res_nquery.
3887         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3888         additional NULL to __libc_res_nquery.
3889         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3890         __libc_res_nsearch.
3891         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3892         * include/resolv.h: Update prototypes of __libc_res_nquery,
3893         __libc_res_nsearch, __libc_res_nsend.
3895 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
3897         * math/auto-libm-test-in: Add tests of fma.
3898         * math/auto-libm-test-out: Regenerated.
3899         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3900         (fma_towardzero_test_data): Likewise.
3901         (fma_downward_test_data): Likewise.
3902         (fma_upward_test_data): Likewise.
3903         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3904         mpc_mode.
3905         (rounding_modes): Add values for new field.
3906         (func_calc_method): Add value mpfr_fff_f.
3907         (func_calc_desc): Add mpfr_fff_f union field.
3908         (test_function): Add field exact_args.
3909         (FUNC): Add macro argument EXACT_ARGS.
3910         (FUNC_mpfr_f_f): Update call to FUNC.
3911         (FUNC_mpfr_f_f): Likewise.
3912         (FUNC_mpfr_ff_f): Likewise.
3913         (FUNC_mpfr_if_f): Likewise.
3914         (FUNC_mpc_c_f): Likewise.
3915         (FUNC_mpc_c_c): Likewise.
3916         (test_functions): Add fma.  Update calls to FUNC.
3917         (handle_input_arg): Add argument exact_args.
3918         (add_test): Update call to handle_input_arg.
3919         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
3920         (output_for_one_input_case): Update call to calc_generic_results.
3921         Recalculate exact zero results in each rounding mode.
3923         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3924         non-negative before setting low bit.
3925         * math/auto-libm-test-in: Mark one asin test possibly having
3926         spurious underflow.
3927         * math/auto-libm-test-out: Regenerated.
3928         * sysdeps/i386/fpu/libm-test-ulps: Update.
3929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3931 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
3933         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3934         * sysdeps/unix/sysv/linux/microblaze: Move directory from
3935         ports/sysdeps/unix/sysv/linux/microblaze.
3936         * README: Add missing listing for microblaze*-*-linux-gnu.
3938 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
3940         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3941         * sysdeps/unix/sysv/linux/ia64: Move directory from
3942         ports/sysdeps/unix/sysv/linux/ia64.
3943         * README: Update listing for ia64-*-linux-gnu.
3945 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
3946             Joseph Myers  <joseph@codesourcery.com>
3948         * Makeconfig (test-name): New variable.
3949         (evaluate-test): Likewise.
3950         * Makerules (do-test-clean): Remove .test-result files.
3951         (common-mostlyclean): Likewise.
3952         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3953         * scripts/evaluate-test.sh: New file.
3955 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
3957         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3958         separate $(objpfx)tst-fopenloc-cmp.out and
3959         $(objpfx)tst-fopenloc-mem.out targets.
3960         (tests): Update dependencies.
3961         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3962         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3963         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3964         (tst-rxspencer-no-utf8-ARGS): New variable.
3965         (tst-rxspencer-no-utf8-ENV): Likewise.
3966         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3967         instead of $(objpfx)tst-rxspencer-mem.
3968         ($(objpfx)tst-rxspencer-mem): Change target to
3969         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
3970         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3971         * posix/tst-rxspencer-no-utf8.c: New file.
3973         * elf/Makefile ($(objpfx)order.out): Remove rule.
3974         [$(run-built-tests) = yes] (tests): Depend on
3975         $(objpfx)order-cmp.out.
3976         ($(objpfx)order-cmp.out): New rule.
3977         [$(run-built-tests) = yes] (tests): Depend on
3978         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3979         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3980         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3981         $(objpfx)tst-array5-static-cmp.out.
3982         ($(objpfx)tst-array1.out): Remove rule.
3983         ($(objpfx)tst-array1-cmp.out): New rule.
3984         ($(objpfx)tst-array1-static.out): Remove rule.
3985         ($(objpfx)tst-array1-static-cmp.out): New rule.
3986         ($(objpfx)tst-array2.out): Remove rule.
3987         ($(objpfx)tst-array2-cmp.out): New rule.
3988         ($(objpfx)tst-array3.out): Remove rule.
3989         ($(objpfx)tst-array3-cmp.out): New rule.
3990         ($(objpfx)tst-array4.out): Remove rule.
3991         ($(objpfx)tst-array4-cmp.out): New rule.
3992         ($(objpfx)tst-array5.out): Remove rule.
3993         ($(objpfx)tst-array5-cmp.out): New rule.
3994         ($(objpfx)tst-array5-static.out): Remove rule.
3995         ($(objpfx)tst-array5-static-cmp.out): New rule.
3996         [$(run-built-tests) = yes] (tests): Depend on
3997         $(objpfx)order2-cmp.out.
3998         ($(objpfx)order2.out): Remove rule.
3999         ($(objpfx)order2-cmp.out): New rule.
4000         ($(objpfx)tst-initorder.out): Remove rule.
4001         [$(run-built-tests) = yes] (tests): Depend on
4002         $(objpfx)tst-initorder-cmp.out.
4003         ($(objpfx)tst-initorder-cmp.out): New rule.
4004         ($(objpfx)tst-initorder2.out): Remove rule.
4005         [$(run-built-tests) = yes] (tests): Depend on
4006         $(objpfx)tst-initorder2-cmp.out.
4007         ($(objpfx)tst-initorder2-cmp.out): New rule.
4008         [$(run-built-tests) = yes] (tests): Depend on
4009         $(objpfx)tst-unused-dep-cmp.out.
4010         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4011         ($(objpfx)tst-unused-dep-cmp.out): New rule.
4012         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4013         on $(objpfx)tst-setvbuf1-cmp.out.
4014         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4015         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4016         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4017         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4018         ($(objpfx)tst-svc.out): Remove rule.
4019         ($(objpfx)tst-svc-cmp.out): New rule.
4021 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
4023         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4024         * ctype/ctype.h [__USE_MISC]: Likewise.
4025         * dirent/dirent.h [__USE_MISC]: Likewise.
4026         * grp/grp.h [__USE_MISC]: Likewise.
4027         * io/fcntl.h [__USE_MISC]: Likewise.
4028         * io/sys/stat.h [__USE_MISC]: Likewise.
4029         * libio/stdio.h [__USE_MISC]: Likewise.
4030         * posix/unistd.h [__USE_MISC]: Likewise.
4031         * pwd/pwd.h [__USE_MISC]: Likewise.
4032         * stdlib.h [__USE_MISC]: Likewise.
4033         * string/bits/string2.h [__USE_MISC]: Likewise.
4034         * string/string.h [__USE_MISC]: Likewise.
4035         * time/time.h [__USE_MISC]: Likewise.
4037 2014-02-13  Andreas Schwab  <schwab@suse.de>
4039         [BZ #16574]
4040         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4041         second answer buffer if it was separately allocated.
4043 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
4045         * sysdeps/mips/math-tests.h: Include <features.h>.
4046         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4047         (ROUNDING_TESTS_long_double): Do not define.
4048         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4049         (EXCEPTION_TESTS_long_double): Likewise.
4050         * sysdeps/mips/mips64/libm-test-ulps: Update.
4052         * include/features.h (__USE_BSD): Remove macro definitions.
4053         (__USE_SVID): Likewise.
4054         (_BSD_SOURCE): Likewise.
4055         (_SVID_SOURCE): Likewise.
4056         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4057         from definition of _DEFAULT_SOURCE.
4058         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4059         [_DEFAULT_SOURCE].
4060         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4061         * bits/mman.h [__USE_BSD]: Likewise.
4062         * bits/termios.h [__USE_BSD]: Likewise.
4063         * bits/waitstatus.h [__USE_BSD]: Likewise.
4064         * ctype/ctype.h [__USE_SVID]: Likewise.
4065         * dirent/dirent.h [__USE_BSD]: Likewise.
4066         * grp/grp.h [__USE_SVID]: Likewise.
4067         [__USE_BSD]: Likewise.
4068         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4069         * io/fcntl.h [__USE_BSD]: Likewise.
4070         * io/ftw.h [__USE_BSD]: Likewise.
4071         * io/sys/stat.h [__USE_BSD]: Likewise.
4072         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4073         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4074         * libio/stdio.h [__USE_SVID]: Likewise.
4075         [__USE_BSD]: Likewise.
4076         * math/math.h [__USE_SVID]: Likewise.
4077         [__USE_BSD]: Likewise.
4078         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4079         * misc/bits/syslog.h [__USE_BSD]: Likewise.
4080         * misc/search.h [__USE_SVID]: Likewise.
4081         * misc/sys/mman.h [__USE_BSD]: Likewise.
4082         * misc/sys/syslog.h [__USE_BSD]: Likewise.
4083         * misc/sys/uio.h [__USE_BSD]: Likewise.
4084         * posix/bits/unistd.h [__USE_BSD]: Likewise.
4085         * posix/glob.h [__USE_BSD]: Likewise.
4086         * posix/regex.h [__USE_BSD]: Likewise.
4087         * posix/sys/types.h [__USE_BSD]: Likewise.
4088         [__USE_SVID]: Likewise.
4089         * posix/sys/utsname.h [__USE_SVID]: Likewise.
4090         * posix/sys/wait.h [__USE_BSD]: Likewise.
4091         [__USE_SVID]: Likewise.
4092         * posix/unistd.h [__USE_BSD]: Likewise.
4093         [__USE_SVID]: Likewise.
4094         * pwd/pwd.h [__USE_SVID]: Likewise.
4095         * resolv/netdb.h [__USE_BSD]: Likewise.
4096         * setjmp/setjmp.h [__USE_BSD]: Likewise.
4097         * signal/signal.h [__USE_BSD]: Likewise.
4098         [__USE_SVID]: Likewise.
4099         * socket/sys/socket.h [__USE_BSD]: Likewise.
4100         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4101         * stdlib/stdlib.h [__USE_BSD]: Likewise.
4102         [__USE_SVID]: Likewise.
4103         * string/bits/string2.h [__USE_BSD]: Likewise.
4104         [__USE_SVID]: Likewise.
4105         * string/bits/string3.h [__USE_BSD]: Likewise.
4106         * string/endian.h [__USE_BSD]: Likewise.
4107         * string/string.h [__USE_SVID]: Likewise.
4108         [__USE_BSD]: Likewise.
4109         * string/strings.h [__USE_BSD]: Likewise.
4110         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4111         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4112         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4113         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4114         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4115         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4116         Likewise.
4117         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4118         Likewise.
4119         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4120         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4121         Likewise.
4122         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4123         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4124         Likewise.
4125         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4126         Likewise.
4127         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4128         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4129         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4130         Likewise.
4131         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4132         Likewise.
4133         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4134         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4135         * termios/termios.h [__USE_BSD]: Likewise.
4136         * time/sys/time.h [__USE_BSD]: Likewise.
4137         * time/time.h [__USE_BSD]: Likewise.
4138         [__USE_SVID]: Likewise.
4140         * Makefile (subdir_targets): Remove subdir_lint.out.
4142         * stdio-common/Makefile (do-tst-unbputc): Remove target.
4143         (do-tst-printf): Likewise.
4144         (tests): Depend directly on $(objpfx)tst-unbputc.out and
4145         $(objpfx)tst-printf.out.
4147         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4149         * Makerules (check-abi-%): Change target to
4150         $(objpfx)check-abi-%.out.
4151         (check-abi target): Update dependencies.
4152         (check-abi-pattern variable): Redirect output of diff to $@.
4153         (check-abi variable): Likewise.
4154         * elf/Makefile (check-abi): Update dependencies.
4156         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4157         unused.
4158         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4159         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4160         subnormal range.
4161         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4162         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4163         value has largest subnormal exponent.
4164         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4165         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4166         * sysdeps/aarch64/soft-fp/sfp-machine.h
4167         (_FP_TININESS_AFTER_ROUNDING): New macro.
4168         * sysdeps/alpha/soft-fp/sfp-machine.h
4169         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4170         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4171         Likewise.
4172         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4173         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4174         * sysdeps/mips/soft-fp/sfp-machine.h
4175         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4176         * sysdeps/powerpc/soft-fp/sfp-machine.h
4177         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4178         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4179         Likewise.
4180         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4181         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4182         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4183         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4184         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4185         Likewise.
4187 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
4189         [BZ #16545]
4190         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4191         model 1.
4193 2014-02-12  Richard Henderson  <rth@redhat.com>
4195         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4196         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4197         * sysdeps/unix/sysv/linux/alpha: Move directory from
4198         ports/sysdeps/unix/sysv/linux/alpha.
4199         * README: Update listing for alpha-*-linux-gnu.
4201 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
4203         * include/features.h: Update comment documenting feature test
4204         macros.
4205         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
4206         _DEFAULT_SOURCE.
4207         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4208         (_SVID_SOURCE): Likewise.
4209         (_DEFAULT_SOURCE): Update description of default features.
4210         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4211         with _GNU_SOURCE.
4212         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4213         (S_ISVTX): Likewise.
4214         * manual/math.texi (Mathematical Constants): Likewise.
4215         * manual/signal.texi (Interrupted Primitives): Likewise.
4216         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4217         * math/test-matherr.c (_SVID_SOURCE): Do not define.
4218         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4219         Don't refer to _SVID_SOURCE in warning text.
4221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4223         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4224         already defined.
4225         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4226         * sysdeps/mips/dl-lookup.c: Remove.
4227         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4229 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4231         [BZ #16447]
4232         * math/auto-libm-test-in: Add testcase for expl.
4233         * math/auto-libm-test-out: Regenerate.
4234         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4235         calculation of unsafe.
4236         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4238 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4240         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4241         * sysdeps/unix/sysv/linux/aarch64: Move directory from
4242         ports/sysdeps/unix/sysv/linux/aarch64.
4243         * README: Update listing for aarch64*-*-linux-gnu.
4245 2014-02-11  Will Newton  <will.newton@linaro.org>
4247         * manual/probes.texi (Mathematical Function Probes): Use
4248         "triggered" instead of "hit".
4250         * manual/probes.texi (Internal Probes): Add documentation
4251         of setjmp, longjmp and longjmp_target probes.
4253         * include/stap-probe.h: Add comment about probe argument
4254         format.
4256         * malloc/mtrace.c (attribute_hidden): Remove unused macro
4257         definition.  (tr_where, tr_freehook, tr_mallochook,
4258         tr_reallochook, tr_memalignhook): Use ANSI protoype.
4260 2014-02-11  David S. Miller  <davem@davemloft.net>
4262         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4263         processing int_tests.
4265 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
4267         * sysdeps/mips: Move directory from ports/sysdeps/mips.
4268         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4269         * sysdeps/unix/sysv/linux/mips: Move directory from
4270         ports/sysdeps/unix/sysv/linux/mips.
4271         * README: Update listing for mips-*-linux-gnu and
4272         mips64-*-linux-gnu.
4274 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
4276         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4277         * sysdeps/unix/sysv/linux/m68k: Move directory from
4278         ports/sysdeps/unix/sysv/linux/m68k.
4279         * README: Update listing for m68k-*-linux-gnu.
4281 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
4283         * sysdeps/tile: Move directory from ports/sysdeps/tile.
4284         * sysdeps/unix/sysv/linux/generic: Move directory from
4285         ports/sysdeps/unix/sysv/linux/generic.
4286         * sysdeps/unix/sysv/linux/tile: Move directory from
4287         ports/sysdeps/unix/sysv/linux/tile.
4288         * README: Update listing for tile*-*-linux-gnu.
4290 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4292         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4293         __builtin_expect.
4294         * benchtests/bench-memmem.c (simple_memmem): Likewise.
4295         * catgets/open_catalog.c (__open_catalog): Likewise.
4296         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4297         * debug/confstr_chk.c: Likewise.
4298         * debug/fread_chk.c (__fread_chk): Likewise.
4299         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4300         * debug/getgroups_chk.c: Likewise.
4301         * debug/mbsnrtowcs_chk.c: Likewise.
4302         * debug/mbsrtowcs_chk.c: Likewise.
4303         * debug/mbstowcs_chk.c: Likewise.
4304         * debug/memcpy_chk.c: Likewise.
4305         * debug/memmove_chk.c: Likewise.
4306         * debug/mempcpy_chk.c: Likewise.
4307         * debug/memset_chk.c: Likewise.
4308         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4309         * debug/strcat_chk.c (__strcat_chk): Likewise.
4310         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4311         * debug/strncat_chk.c (__strncat_chk): Likewise.
4312         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4313         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4314         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4315         * debug/wcpncpy_chk.c: Likewise.
4316         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4317         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4318         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4319         * debug/wcsncpy_chk.c: Likewise.
4320         * debug/wcsnrtombs_chk.c: Likewise.
4321         * debug/wcsrtombs_chk.c: Likewise.
4322         * debug/wcstombs_chk.c: Likewise.
4323         * debug/wmemcpy_chk.c: Likewise.
4324         * debug/wmemmove_chk.c: Likewise.
4325         * debug/wmempcpy_chk.c: Likewise.
4326         * debug/wmemset_chk.c: Likewise.
4327         * dirent/scandirat.c (SCANDIRAT): Likewise.
4328         * dlfcn/dladdr1.c (dladdr1): Likewise.
4329         * dlfcn/dladdr.c (dladdr): Likewise.
4330         * dlfcn/dlclose.c (dlclose_doit): Likewise.
4331         * dlfcn/dlerror.c (__dlerror): Likewise.
4332         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4333         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4334         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4335         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4336         * dlfcn/dlsym.c (dlsym_doit): Likewise.
4337         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4338         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4339         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4340         Likewise.
4341         * elf/dl-conflict.c: Likewise.
4342         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4343         * elf/dl-dst.h: Likewise.
4344         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4345         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4346         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4347         * elf/dl-init.c (call_init, _dl_init): Likewise.
4348         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4349         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4350         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4351         Likewise.
4352         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4353         Likewise.
4354         * elf/dl-minimal.c (__libc_memalign): Likewise.
4355         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4356         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4357         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4358         * elf/dl-sym.c (do_sym): Likewise.
4359         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4360         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4361         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4362         * elf/dl-writev.h (_dl_writev): Likewise.
4363         * elf/ldconfig.c (search_dir): Likewise.
4364         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4365         (dl_main): Likewise.
4366         * elf/setup-vdso.h (setup_vdso): Likewise.
4367         * grp/compat-initgroups.c (compat_call): Likewise.
4368         * grp/fgetgrent.c (fgetgrent): Likewise.
4369         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4370         * grp/putgrent.c (putgrent): Likewise.
4371         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4372         Likewise.
4373         * hurd/hurdinit.c: Likewise.
4374         * iconvdata/8bit-gap.c (struct): Likewise.
4375         * iconvdata/ansi_x3.110.c : Likewise.
4376         * iconvdata/big5.c : Likewise.
4377         * iconvdata/big5hkscs.c : Likewise.
4378         * iconvdata/cp1255.c: Likewise.
4379         * iconvdata/cp1258.c : Likewise.
4380         * iconvdata/cp932.c : Likewise.
4381         * iconvdata/euc-cn.c: Likewise.
4382         * iconvdata/euc-jisx0213.c : Likewise.
4383         * iconvdata/euc-jp.c: Likewise.
4384         * iconvdata/euc-jp-ms.c : Likewise.
4385         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4386         * iconvdata/gb18030.c : Likewise.
4387         * iconvdata/gbbig5.c (const): Likewise.
4388         * iconvdata/gbgbk.c: Likewise.
4389         * iconvdata/gbk.c : Likewise.
4390         * iconvdata/ibm1364.c : Likewise.
4391         * iconvdata/ibm930.c : Likewise.
4392         * iconvdata/ibm932.c: Likewise.
4393         * iconvdata/ibm933.c : Likewise.
4394         * iconvdata/ibm935.c : Likewise.
4395         * iconvdata/ibm937.c : Likewise.
4396         * iconvdata/ibm939.c : Likewise.
4397         * iconvdata/ibm943.c: Likewise.
4398         * iconvdata/iso_11548-1.c: Likewise.
4399         * iconvdata/iso-2022-cn.c : Likewise.
4400         * iconvdata/iso-2022-cn-ext.c : Likewise.
4401         * iconvdata/iso-2022-jp-3.c: Likewise.
4402         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4403         * iconvdata/iso-2022-kr.c : Likewise.
4404         * iconvdata/iso646.c (gconv_end): Likewise.
4405         * iconvdata/iso_6937-2.c : Likewise.
4406         * iconvdata/iso_6937.c : Likewise.
4407         * iconvdata/iso8859-1.c: Likewise.
4408         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4409         * iconvdata/shift_jisx0213.c : Likewise.
4410         * iconvdata/sjis.c : Likewise.
4411         * iconvdata/t.61.c : Likewise.
4412         * iconvdata/tcvn5712-1.c : Likewise.
4413         * iconvdata/tscii.c: Likewise.
4414         * iconvdata/uhc.c : Likewise.
4415         * iconvdata/unicode.c (gconv_end): Likewise.
4416         * iconvdata/utf-16.c (gconv_end): Likewise.
4417         * iconvdata/utf-32.c (gconv_end): Likewise.
4418         * iconvdata/utf-7.c (base64): Likewise.
4419         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4420         * iconv/gconv_close.c (__gconv_close): Likewise.
4421         * iconv/gconv_open.c (__gconv_open): Likewise.
4422         * iconv/gconv_simple.c (internal_ucs4_loop_single)
4423         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4424         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4425         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4426         (ucs4le_internal_loop_single): Likewise.
4427         * iconv/iconv.c (iconv): Likewise.
4428         * iconv/iconv_close.c: Likewise.
4429         * iconv/loop.c (SINGLE): Likewise.
4430         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4431         * include/atomic.h: Likewise.
4432         * inet/inet6_option.c (option_alloc): Likewise.
4433         * intl/bindtextdom.c (set_binding_values): Likewise.
4434         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4435         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4436         * intl/localealias.c (read_alias_file): Likewise.
4437         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4438         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4439         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4440         * libio/fmemopen.c (fmemopen): Likewise.
4441         * libio/iofgets.c (_IO_fgets): Likewise.
4442         * libio/iofgets_u.c (fgets_unlocked): Likewise.
4443         * libio/iofgetws.c (fgetws): Likewise.
4444         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4445         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4446         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4447         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4448         * locale/findlocale.c (_nl_find_locale): Likewise.
4449         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4450         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4451         Likewise.
4452         * locale/setlocale.c (setlocale): Likewise.
4453         * login/programs/pt_chown.c (main): Likewise.
4454         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4455         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4456         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4457         (mmap, mmap64, mremap, munmap): Likewise.
4458         * math/e_exp2l.c: Likewise.
4459         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4460         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4461         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4462         * math/s_catan.c (__catan): Likewise.
4463         * math/s_catanf.c (__catanf): Likewise.
4464         * math/s_catanh.c (__catanh): Likewise.
4465         * math/s_catanhf.c (__catanhf): Likewise.
4466         * math/s_catanhl.c (__catanhl): Likewise.
4467         * math/s_catanl.c (__catanl): Likewise.
4468         * math/s_ccosh.c (__ccosh): Likewise.
4469         * math/s_ccoshf.c (__ccoshf): Likewise.
4470         * math/s_ccoshl.c (__ccoshl): Likewise.
4471         * math/s_cexp.c (__cexp): Likewise.
4472         * math/s_cexpf.c (__cexpf): Likewise.
4473         * math/s_cexpl.c (__cexpl): Likewise.
4474         * math/s_clog10.c (__clog10): Likewise.
4475         * math/s_clog10f.c (__clog10f): Likewise.
4476         * math/s_clog10l.c (__clog10l): Likewise.
4477         * math/s_clog.c (__clog): Likewise.
4478         * math/s_clogf.c (__clogf): Likewise.
4479         * math/s_clogl.c (__clogl): Likewise.
4480         * math/s_csin.c (__csin): Likewise.
4481         * math/s_csinf.c (__csinf): Likewise.
4482         * math/s_csinh.c (__csinh): Likewise.
4483         * math/s_csinhf.c (__csinhf): Likewise.
4484         * math/s_csinhl.c (__csinhl): Likewise.
4485         * math/s_csinl.c (__csinl): Likewise.
4486         * math/s_csqrt.c (__csqrt): Likewise.
4487         * math/s_csqrtf.c (__csqrtf): Likewise.
4488         * math/s_csqrtl.c (__csqrtl): Likewise.
4489         * math/s_ctan.c (__ctan): Likewise.
4490         * math/s_ctanf.c (__ctanf): Likewise.
4491         * math/s_ctanh.c (__ctanh): Likewise.
4492         * math/s_ctanhf.c (__ctanhf): Likewise.
4493         * math/s_ctanhl.c (__ctanhl): Likewise.
4494         * math/s_ctanl.c (__ctanl): Likewise.
4495         * math/w_pow.c: Likewise.
4496         * math/w_powf.c: Likewise.
4497         * math/w_powl.c: Likewise.
4498         * math/w_scalb.c (sysv_scalb): Likewise.
4499         * math/w_scalbf.c (sysv_scalbf): Likewise.
4500         * math/w_scalbl.c (sysv_scalbl): Likewise.
4501         * misc/error.c (error_tail): Likewise.
4502         * misc/pselect.c (__pselect): Likewise.
4503         * nis/nis_callback.c (__nis_create_callback): Likewise.
4504         * nis/nis_call.c (__nisfind_server): Likewise.
4505         * nis/nis_creategroup.c (nis_creategroup): Likewise.
4506         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4507         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4508         * nis/nis_getservlist.c (nis_getservlist): Likewise.
4509         * nis/nis_lookup.c (nis_lookup): Likewise.
4510         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4511         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4512         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4513         * nis/nis_xdr.c (xdr_endpoint): Likewise.
4514         * nis/nss_compat/compat-grp.c (getgrent_next_file)
4515         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4516         * nis/nss_compat/compat-initgroups.c (add_group)
4517         (internal_getgrent_r): Likewise.
4518         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4519         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4520         * nis/nss_compat/compat-spwd.c (getspent_next_file)
4521         (internal_getspnam_r): Likewise.
4522         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4523         (_nss_nis_getaliasbyname_r): Likewise.
4524         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4525         (_nss_nis_getntohost_r): Likewise.
4526         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4527         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4528         (_nss_nis_getgrgid_r): Likewise.
4529         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4530         (internal_nis_gethostent_r, internal_gethostbyname2_r)
4531         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4532         (_nss_nis_gethostbyname4_r): Likewise.
4533         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4534         (initgroups_netid): Likewise.
4535         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4536         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4537         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4538         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4539         (_nss_nis_getprotobynumber_r): Likewise.
4540         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4541         (_nss_nis_getsecretkey): Likewise.
4542         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4543         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4544         (_nss_nis_getpwuid_r): Likewise.
4545         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4546         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4547         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4548         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4549         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4550         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4551         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4552         Likewise.
4553         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4554         (_nss_nisplus_getntohost_r): Likewise.
4555         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4556         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4557         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4558         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4559         Likewise.
4560         * nis/nss_nisplus/nisplus-initgroups.c
4561         (_nss_nisplus_initgroups_dyn): Likewise.
4562         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4563         (_nss_nisplus_getnetbyaddr_r): Likewise.
4564         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4565         (_nss_nisplus_getprotobynumber_r): Likewise.
4566         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4567         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4568         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4569         Likewise.
4570         * nis/nss_nisplus/nisplus-service.c
4571         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4572         (_nss_nisplus_getservbyport_r): Likewise.
4573         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4574         (_nss_nisplus_getspnam_r): Likewise.
4575         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4576         Likewise.
4577         * nscd/aicache.c (addhstaiX): Likewise.
4578         * nscd/cache.c (cache_search, prune_cache): Likewise.
4579         * nscd/connections.c (register_traced_file, send_ro_fd)
4580         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4581         (main_loop_epoll): Likewise.
4582         * nscd/grpcache.c (addgrbyX): Likewise.
4583         * nscd/hstcache.c (addhstbyX): Likewise.
4584         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4585         * nscd/mem.c (gc, mempool_alloc): Likewise.
4586         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4587         (addinnetgrX): Likewise.
4588         * nscd/nscd-client.h (__nscd_acquire_maplock)
4589         (__nscd_drop_map_ref): Likewise.
4590         * nscd/nscd_getai.c (__nscd_getai): Likewise.
4591         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4592         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4593         Likewise.
4594         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4595         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4596         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4597         (__nscd_get_map_ref): Likewise.
4598         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4599         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4600         Likewise.
4601         * nscd/pwdcache.c (addpwbyX): Likewise.
4602         * nscd/selinux.c (preserve_capabilities): Likewise.
4603         * nscd/servicescache.c (addservbyX): Likewise.
4604         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4605         * posix/fnmatch.c (fnmatch): Likewise.
4606         * posix/getopt.c (_getopt_internal_r): Likewise.
4607         * posix/glob.c (glob, glob_in_dir): Likewise.
4608         * posix/wordexp.c (exec_comm_child): Likewise.
4609         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4610         (getanswer_r, gaih_getanswer_slice): Likewise.
4611         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4612         * resolv/res_init.c: Likewise.
4613         * resolv/res_mkquery.c (res_nmkquery): Likewise.
4614         * resolv/res_query.c (__libc_res_nquery): Likewise.
4615         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4616         Likewise.
4617         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4618         * stdio-common/perror.c (perror): Likewise.
4619         * stdio-common/printf_fp.c (___printf_fp): Likewise.
4620         * stdio-common/tmpnam.c (tmpnam): Likewise.
4621         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4622         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4623         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4624         Likewise.
4625         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4626         * stdlib/putenv.c (putenv): Likewise.
4627         * stdlib/setenv.c (__add_to_environ): Likewise.
4628         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4629         * stdlib/strtol_l.c (INTERNAL): Likewise.
4630         * string/memmem.c (memmem): Likewise.
4631         * string/strerror.c (strerror): Likewise.
4632         * string/strnlen.c (__strnlen): Likewise.
4633         * string/test-memmem.c (simple_memmem): Likewise.
4634         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4635         * sunrpc/pm_getport.c (__get_socket): Likewise.
4636         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4637         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4638         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4639         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4640         Likewise.
4641         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4642         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4643         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4644         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4645         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4646         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4647         Likewise.
4648         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4649         Likewise.
4650         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4651         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4652         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4653         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4654         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4656         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4657         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4658         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4659         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4660         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4661         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4662         Likewise.
4663         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4664         Likewise.
4665         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4666         Likewise.
4667         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4668         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4669         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4670         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4671         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4672         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4673         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4674         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4676         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4677         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4678         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4679         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4680         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4681         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4682         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4683         Likewise.
4684         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4685         Likewise.
4686         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4687         Likewise.
4688         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4689         Likewise.
4690         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4691         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4692         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4693         Likewise.
4694         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4695         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4696         * sysdeps/posix/opendir.c (__opendirat): Likewise.
4697         * sysdeps/posix/sleep.c: Likewise.
4698         * sysdeps/posix/tempname.c: Likewise.
4699         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4700         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4701         Likewise.
4702         * sysdeps/powerpc/powerpc32/dl-machine.h
4703         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4704         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4705         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4706         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4707         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4708         Likewise.
4709         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4710         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4711         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4712         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4713         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4714         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4715         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4716         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4717         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4718         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4719         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4720         (elf_machine_lazy_rel): Likewise.
4721         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4722         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4723         (elf_machine_lazy_rel): Likewise.
4724         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4725         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4726         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4727         * sysdeps/unix/grantpt.c (grantpt): Likewise.
4728         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4729         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4730         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4731         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4732         Likewise.
4733         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4734         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4735         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4736         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4737         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4738         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4739         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4740         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4741         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4742         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4743         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4744         Likewise.
4745         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4746         (__posix_fallocate64_l64): Likewise.
4747         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4748         (posix_fallocate): Likewise.
4749         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4750         Likewise.
4751         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4752         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4753         (getifaddrs_internal): Likewise.
4754         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4755         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4756         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4757         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4758         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4759         (__posix_fallocate64_l64): Likewise.
4760         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4761         Likewise.
4762         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4763         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4764         (__get_clockfreq): Likewise.
4765         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4766         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4767         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4768         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4769         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4770         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4771         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4772         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4773         Likewise.
4774         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4775         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4776         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4777         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4778         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4779         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4780         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4781         Likewise.
4782         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4783         (posix_fallocate): Likewise.
4784         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4785         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4786         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4787         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4788         (elf_machine_rela, elf_machine_rela_relative)
4789         (elf_machine_lazy_rel): Likewise.
4790         * time/asctime.c (asctime_internal): Likewise.
4791         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4792         * time/tzset.c (__tzset_parse_tz): Likewise.
4793         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4794         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4795         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4796         * wcsmbs/wcsmbsload.h: Likewise.
4798         [BZ #15894]
4799         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4801         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4802         (arena_get2): Remove THREAD_STATS conditionals.
4803         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4804         (__malloc_stats, int): Likewise.
4806 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4808         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4809         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
4811         * manual/setjmp.texi: Fix typos/grammar errors.
4813         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4814         Only return early when n is <= 0.  Delete unused return statement.
4816         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4817         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4818         * debug/tst-longjmp_chk3.c: New file.
4820         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4821         (test_main): Replace code with set_fortify_handler call.
4822         * debug/test-strcpy_chk.c: Likewise.
4823         * debug/tst-chk1.c: Likewise.
4824         * debug/tst-longjmp_chk.c: Likewise.
4825         * test-skeleton.c: Include fcntl.h & paths.h
4826         (set_fortify_handler): Define.
4828         * debug/tst-longjmp_chk.c: Add header comment and include
4829         ../test-skeleton.c.
4830         (do_test): Mark static.
4831         (TEST_FUNCTION): Define.
4833         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4834         (IP_PMTUDISC_INTERFACE): Likewise.
4835         (IP_MULTICAST_IF): Likewise.
4836         (IP_MULTICAST_TTL): Likewise.
4837         (IP_MULTICAST_LOOP): Likewise.
4838         (IP_ADD_MEMBERSHIP): Likewise.
4839         (IP_DROP_MEMBERSHIP): Likewise.
4840         (IP_UNBLOCK_SOURCE): Likewise.
4841         (IP_BLOCK_SOURCE): Likewise.
4842         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4843         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4844         (IP_MSFILTER): Likewise.
4845         (MCAST_JOIN_GROUP): Likewise.
4846         (MCAST_BLOCK_SOURCE): Likewise.
4847         (MCAST_UNBLOCK_SOURCE): Likewise.
4848         (MCAST_LEAVE_GROUP): Likewise.
4849         (MCAST_JOIN_SOURCE_GROUP): Likewise.
4850         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4851         (MCAST_MSFILTER): Likewise.
4852         (IP_MULTICAST_ALL): Likewise.
4853         (IP_UNICAST_IF): Likewise.
4855         * timezone/Makefile: Delete $(have-ksh) check.
4856         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4857         * timezone/tzselect.ksh: Add +x mode bits.
4859         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4860         (ANON_INODE_FS_MAGIC): Likewise.
4861         (BDEVFS_MAGIC): Likewise.
4862         (BINFMTFS_MAGIC): Likewise.
4863         (BTRFS_TEST_MAGIC): Likewise.
4864         (CRAMFS_MAGIC_WEND): Likewise.
4865         (DEBUGFS_MAGIC): Likewise.
4866         (ECRYPTFS_SUPER_MAGIC): Likewise.
4867         (EXT3_SUPER_MAGIC): Likewise.
4868         (EXT4_SUPER_MAGIC): Likewise.
4869         (FUTEXFS_SUPER_MAGIC): Likewise.
4870         (HOSTFS_SUPER_MAGIC): Likewise.
4871         (HUGETLBFS_MAGIC): Likewise.
4872         (MINIX3_SUPER_MAGIC): Likewise.
4873         (MTD_INODE_FS_MAGIC): Likewise.
4874         (NILFS_SUPER_MAGIC): Likewise.
4875         (OPENPROM_SUPER_MAGIC): Likewise.
4876         (PIPEFS_MAGIC): Likewise.
4877         (PSTOREFS_MAGIC): Likewise.
4878         (QNX6_SUPER_MAGIC): Likewise.
4879         (RAMFS_MAGIC): Likewise.
4880         (REISERFS_SUPER_MAGIC_STRING): Likewise.
4881         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4882         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4883         (SECURITYFS_MAGIC): Likewise.
4884         (SELINUX_MAGIC): Likewise.
4885         (SMACK_MAGIC): Likewise.
4886         (SOCKFS_MAGIC): Likewise.
4887         (SQUASHFS_MAGIC): Likewise.
4888         (STACK_END_MAGIC): Likewise.
4889         (TMPFS_MAGIC): Likewise.
4890         (USBDEVICE_SUPER_MAGIC): Likewise.
4891         (V9FS_MAGIC): Likewise.
4892         (XENFS_SUPER_MAGIC): Likewise.
4893         (CRAMFS_MAGIC): Fix typo in comment.
4894         (EXT2_SUPER_MAGIC): Update comment.
4895         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4897 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
4899         * sysdeps/arm: Move directory from ports/sysdeps/arm.
4900         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4901         * sysdeps/unix/sysv/linux/arm: Move directory from
4902         ports/sysdeps/unix/sysv/linux/arm.
4903         * README: Update listing for arm-*-linux-gnueabi.
4905         * README: Remove mention of am33.
4907 2014-02-07  Roland McGrath  <roland@hack.frob.com>
4909         * bits/sigset.h (__sigemptyset): Use a statement expression rather
4910         than the comma operator, to avoid "rhs of comma has no effect"
4911         compiler warnings.
4912         (__sigfillset, __sigandset, __sigorset): Likewise.
4913         * include/signal.h (__sigemptyset): Likewise.
4914         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4916 2014-02-07  Allan McRae  <allan@archlinux.org>
4918         * version.h (RELEASE): Set to "development".
4919         (VERSION): Set to "2.19.90"
4920         * NEWS: Add 2.20 section.
4922 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
4924         [BZ #16529]
4925         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4927 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4929         * manual/contrib.texi: Update entry for Carlos O'Donell,
4930         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4932 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
4934         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4936         * sysdeps/unix/sysv/linux/kernel-features.h
4937         [__LINUX_KERNEL_VERSION >= 0x020621]
4938         (__ASSUME_PROC_PID_TASK_COMM): Define.
4940 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4942         [BZ #16398]
4943         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4944         conversion when destination buffer does not have enough space.
4945         * libio/tst-ftell-partial-wide.c: New test case.
4946         * libio/Makefile (tests): Add tst-ftell-partial-wide.
4948         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4949         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
4950         Leonard and Allan McRae.
4952 2014-02-04  David S. Miller  <davem@davemloft.net>
4954         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4955         32-bit.
4957 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4960         New file
4961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4962         New file
4963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4964         New file.
4965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4966         New file.
4967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4968         New file.
4969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4970         New file.
4971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4972         New file.
4973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4974         New file.
4975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4976         New file.
4977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4978         New file.
4979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4980         New file.
4981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4982         New file.
4983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4984         New file.
4986 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4988         * nptl/shlib-versions: Change powerpc*le start to 2.17.
4989         * shlib-versions: Likewise.
4991 2014-02-04  Roland McGrath  <roland@hack.frob.com>
4992             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4994         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4995         (abilist-pattern): New variable, set to %-le.abilist.
4997         * Makerules (abilist-pattern): New variable.
4998         (vpath): Use $(abilist-pattern) in place of %.abilist.
4999         (check-abi-% pattern rule): Likewise.
5000         (check-abi, update-abi): Likewise.
5002 2014-02-04  Eric Wong  <normalperson@yhbt.net>
5004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5006 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
5008         * manual/startup.texi: Add next, previous, and top entries for
5009         the `Program Arguments' and `Environment Variables' nodes.
5011 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
5013         * manual/macros.texi: Add comments before MTASC-safety macros.
5015         * manual/users.texi: Document MTASC-safety properties.
5017         * manual/threads.texi (pthread_key_create, pthread_key_delete)
5018         (pthread_getspecific, pthread_setspecific): Format with
5019         @deftypefun, and add @safety note.
5020         * manual/signal.texi: Move comments that analyze the above
5021         functions to their home place.
5023 2014-02-03  Allan McRae  <allan@archlinux.org>
5025         * po/sl.po: Update Slovenian translation from translation project.
5027 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
5029         * manual/time.texi (timegm): Add missing blank after @c.
5030         Reported by Joseph Myers <joseph@codesourcery.com>.
5032 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
5034         * manual/check-safety.sh: New.
5035         * manual/Makefile ($(objpfx)stamp-summary): Run it.
5037         * manual/terminal.texi: Document MTASC-safety properties.
5039         * manual/filesys.texi: Document MTASC-safety properties.
5041         * manual/errno.texi: Document MTASC-safety properties.
5043         * manual/intro.texi: Document safety identifiers and
5044         conditionals.
5046         * manual/string.texi (wcstok): Fix prototype.
5047         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5049         * manual/time.texi: Document MTASC-safety properties.
5051         * manual/string.texi: Document MTASC-safety properties.
5053         * manual/threads.texi: Document MTASC-safety properties.
5055         * manual/stdio.texi: Document MTASC-safety properties.
5057         * manual/syslog.texi: Document MTASC-safety properties.
5059         * manual/sysinfo.texi: Document MTASC-safety properties.
5061         * manual/startup.texi: Document MTASC-safety properties.
5063         * manual/socket.texi: Document MTASC-safety properties.
5065         * manual/signal.texi: Document MTASC-safety properties.
5067 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
5069         * manual/setjmp.texi: Document MTASC-safety properties.
5071         * manual/search.texi: Document MTASC-safety properties.
5073         * manual/resource.texi: Document MTASC-safety properties.
5075         * manual/process.texi: Document MTASC-safety properties.
5077         * manual/platform.texi: Document MTASC-safety properties.
5079         * manual/pipe.texi: Document MTASC-safety properties.
5081         * manual/pattern.texi: Document MTASC-safety properties.
5083         * manual/message.texi: Document MTASC-safety properties.
5085         [BZ #12751]
5086         * manual/memory.texi: Document MTASC-safety properties.
5088         * manual/math.texi: Document MTASC-safety properties.
5090         * manual/locale.texi: Document MTASC-safety properties.
5092         * manual/llio.texi: Document MTASC-safety properties.
5094         * manual/libdl.texi: New.
5096         * manual/lang.texi: Document MTASC-safety properties.
5098         * manual/job.texi: Document MTASC-safety properties.
5100         * manual/getopt.texi: Document MTASC-safety properties.
5102         * manual/ctype.texi: Document MTASC-safety properties.
5104 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
5106         [BZ #16046]
5107         * csu/libc-tls.c (static_map): Remove variable.
5108         (__libc_setup_tls): Use main executable's link map for TLS data.
5109         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5110         casing for LM_ID_BASE and GL(dl_nns).
5111         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5112         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
5113         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5114         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5115         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5116         member.
5117         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5118         l_phnum members.
5120 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
5122         * manual/debug.texi: Document MTASC-safety properties.
5124 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
5126         [BZ #16510]
5127         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5128         of __x86_64__ when disabling x87 inline functions.
5130 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
5132         * manual/charset.texi: Document MTASC-safety properties.
5134         * manual/crypt.texi: Document MTASC-safety properties.
5136         * manual/conf.texi: Document MTASC-safety properties.
5138         * manual/arith.texi: Document MTASC-safety properties.
5140         * manual/argp.texi: Document MTASC-safety properties.
5142         * manual/macros.texi: Introduce macros to document multi
5143         thread, asynchronous signal and asynchronous cancellation
5144         safety properties.
5145         * manual/intro.texi: Introduce the properties themselves.
5147 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5149         * sysdeps/sh/sh4/Makefile: New file.
5151 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
5153         * math/gen-libm-test.pl ($srcdir): New variable.
5154         ($auto_input): Use it.
5156 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5158         [BZ #16506]
5159         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5160         access beyond array bounds when parsing netgroups file.
5162         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5163         the old buffer before realloc.
5165 2014-01-27  Allan McRae  <allan@archlinux.org>
5167         * po/fr.po: Update French translation from translation project.
5169 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5171         * sysdeps/sh/libm-test-ulps: Regenerate.
5173 2014-01-24  David S. Miller  <davem@davemloft.net>
5175         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5177 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5179         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5180         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5182 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5184         [BZ #16474]
5185         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5186         string pointers after reallocation.
5188 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5190         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5191         __SH4A__ instead of __SH_FPU_ANY__.
5193 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5195         * sysdeps/sh/fpu_control.h: New file.
5196         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5197         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5198         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5199         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5200         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5201         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5202         * sysdeps/sh/sys/ucontext.h: Remove.
5203         * sysdeps/sh/sys: Remove directory.
5205 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5207         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5208         s390/sys/ucontext.h.
5209         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5210         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5212 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
5214         [BZ #15605]
5215         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5217 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5219         [BZ#16431]
5220         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5221         Adjust the vDSO correctly for internal calls.
5222         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5224 2014-01-20  Allan McRae  <allan@archlinux.org>
5226         * po/ca.po: Update Catalan translation from translation project.
5228 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
5230         * sysdeps/s390/sotruss-lib.c: New file.
5232 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5234         [BZ#16430]
5235         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5236         (__GI___gettimeofday): Alias for a different internal symbol to avoid
5237         local calls issues by not having a PLT stub required for IFUNC calls.
5238         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5240 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
5242         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5243         * math/test-fpucw-static.c: Likewise.
5245 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5247         [BZ #16453]
5248         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5250 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5252         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5253         implementation for powerpc.
5255 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
5257         [BZ #14782]
5258         * sysdeps/posix/system.c (__libc_system): Do not enable
5259         asynchronous cancellation.
5261 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5263         [BZ #16427]
5264         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5265         handling only for numbers special also in the IEEE case.
5267 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5269         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5271 2014-01-11  Allan McRae  <allan@archlinux.org>
5273         * po/bg.po: Update Bulgarian translation from translation project.
5275         * po/de.po: Update German translation from translation project.
5277 2014-01-10  Roland McGrath  <roland@hack.frob.com>
5279         * sysdeps/generic/gcc-compat.h: New file.
5281 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5283         * benchtests/asin-inputs: Correct slow inputs.
5284         * benchtests/acos-inputs: Likewise.
5286 2014-01-10  Allan McRae  <allan@archlinux.org>
5288         * po:sv.po: Update Swedish translation from translation project.
5290         * po/vi.po: Update Vietnamese translation from translation project.
5292         * po/eo.po: Update Esperanto translation from translation project.
5294         * po/cs.po: Update Czech translation from translation project.
5296         * po/nl.po: Update Dutch translation from translation project.
5298         * po/pl.po: Update Polish translation from translation project.
5300         * po/ru.po: Update Russian translation from translation project.
5302         * po/uk.po: Update Ukrainian translation from translation project.
5304 2014-01-08  Brooks Moses  <bmoses@google.com>
5306         * elf/dl-load.c: Fix comment typo.
5308 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
5310         * po/header.pot: Rename to...
5311         * po/pot.header: ... this.
5312         * po/Makefile: Use pot.header.
5314 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
5315             Maxim Kuvyrkov  <maxim@kugelworks.com>
5317         [BZ #16394]
5318         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5319         SRC and DEST against LEN.
5321 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5323         [BZ #16414]
5324         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5325         implementation.
5326         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5328 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5332 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
5334         [BZ #16408]
5335         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5336         for large positive arguments.
5338 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
5340         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5342         * math/auto-libm-test-in: Mark various tests with
5343         xfail-rounding:ldbl-128ibm.
5344         * math/auto-libm-test-out: Regenerated.
5346         [BZ #16407]
5347         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5348         Increase overflow threshold.
5350 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
5352         [BZ #14286]
5353         * stdio-common/vfprintf.c: Check for integer overflow.
5355 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5357         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5358         the first argument and return value of __tls_get_addr_internal.
5360 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5362         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5363         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5365 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5367         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5368         * sysdeps/s390/rtld-global-offsets.sym: New file.
5369         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5370         GLIBC_2.19 symbol.
5371         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5372         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5373         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5374         ... this.
5375         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5376         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5377         ... this.
5378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5379         Regenerate.
5380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5381         Regenerate.
5382         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5383         halfs of GPRs for high_gprs contexts.
5384         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5385         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
5386         field.
5387         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5388         uc_flags field.
5389         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5390         64 bit versions:
5391         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5392         for high GPRs (uc_high_gprs) and for future extensions
5393         (__reserved).
5394         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5395         for future extensions (__reserved).
5396         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5397         64 bit versions:
5398         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5399         SC_HIGHGPRS offset definition.
5400         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5401         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5403         * Versions.def: Add GLIBC_2.19 for libpthread.
5404         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5405         siglongjmp for libpthread with GLIBC_2.19 symver.
5406         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5407         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5408         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5409         * sysdeps/s390/__longjmp.c: New file.
5410         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5411         * sysdeps/s390/longjmp.c: New file.
5412         * sysdeps/s390/setjmp.S: New file.
5413         * sysdeps/s390/sigjmp.S: New file.
5414         * sysdeps/s390/v1-longjmp.c: New file.
5415         * sysdeps/s390/v1-setjmp.h: New file.
5416         * sysdeps/s390/v1-sigjmp.c: New file.
5417         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5418         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5419         GLIBC_2.19 version.
5420         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5421         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5422         versioned symbols for ____longjmp_chk.
5423         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5424         Likewise.
5425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5426         Regenerate.
5427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5428         Regenerate.
5429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5430         Regenerate.
5431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5432         Regenerate.
5433         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5434         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5435         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5436         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5437         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5438         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5439         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5440         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5441         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5442         * sysdeps/s390/rtld-__longjmp.c: New file.
5443         * sysdeps/s390/rtld-setjmp.S: New file.
5445 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
5447         [BZ #16400]
5448         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5449         Return -__logl (x) for small positive arguments without evaluating
5450         a polynomial.
5452 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
5454         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5455         Rename to ...
5456         (__ptrace_peeksiginfo_args): ... this.
5457         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5458         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5459         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5461 2014-01-06  Allan McRae  <allan@archlinux.org>
5463         * inet/netinet/in.h: Fix typo in comment.
5465 2014-01-05  Andreas Jaeger  <aj@suse.de>
5467         * sysdeps/i386/fpu/libm-test-ulps: Update.
5469 2014-01-05  Allan McRae  <allan@archlinux.org>
5471         * po/libc.pot: Regenerated.
5473         * malloc/memusagestat.c: Fix gettext call formatting.
5475 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
5477         * nscd/nscd.c: Improve usage() output.
5479 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
5481         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5482         * sysdeps/unix/sysv/linux/configure: Regenerated.
5483         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5484         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5486 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
5488         [BZ #16390]
5489         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5490         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5492 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5494         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5495         extra tokens at end of #undef directive.
5496         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5497         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5498         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5500 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
5502         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5504         * math/auto-libm-test-in: Mark various tests with
5505         xfail-rounding:ldbl-128ibm.
5506         * math/auto-libm-test-out: Regenerated.
5508 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
5510         [BZ #16386]
5511         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5512         numbers with subnormal high part when calculating exponent.
5514         [BZ #16385]
5515         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5516         fabs.
5518         [BZ #16384]
5519         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5520         M_LN2l.
5521         (__ieee754_acoshl): Use __log1pl not __log1p.
5523 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
5525         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5526         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5527         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5528         (grow_heap, heap_trim, _int_new_arena, get_free_list)
5529         (reused_arena, arena_get2): Convert to GNU style.
5530         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5531         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5532         (memalign_check, __malloc_set_state): Likewise.
5533         * malloc/mallocbug.c (main): Likewise.
5534         * malloc/malloc.c (__malloc_assert, malloc_init_state)
5535         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5536         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5537         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5538         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5539         (__posix_memalign, malloc_info): Likewise.
5540         * malloc/malloc.h: Likewise.
5541         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5542         (mallochook, memalignhook, reallochook, mabort): Likewise.
5543         * malloc/mcheck.h: Likewise.
5544         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5545         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5546         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5547         * malloc/morecore.c (__default_morecore): Likewise.
5548         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5549         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5550         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5551         (print_and_abort): Likewise.
5552         * malloc/obstack.h: Likewise.
5553         * malloc/set-freeres.c (__libc_freeres): Likewise.
5554         * malloc/tst-mallocstate.c (main): Likewise.
5555         * malloc/tst-mtrace.c (main): Likewise.
5556         * malloc/tst-realloc.c (do_test): Likewise.
5558 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5560         [BZ #16366]
5561         * nscd/netgroupcache.c (do_notfound): New function.
5562         (addgetnetgrentX): Use it.
5564         [BZ # 16365]
5565         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5566         NSS_STATUS_NOTFOUND.
5568 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
5570         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5573 2014-01-01  Allan McRae  <allan@archlinux.org>
5575         * scripts/update-copyrights: Update configure input file suffix.
5577         * NEWS: Update copyright year.
5578         * catgets/gencat.c: Likewise.
5579         * csu/version.c: Likewise.
5580         * debug/catchsegv.sh: Likewise.
5581         * debug/pcprofiledump.c: Likewise.
5582         * debug/xtrace.sh: Likewise.
5583         * elf/ldconfig.c: Likewise.
5584         * elf/ldd.bash.in: Likewise.
5585         * elf/pldd.c: Likewise.
5586         * elf/sotruss.ksh: Likewise.
5587         * elf/sprof.c: Likewise.
5588         * iconv/iconv_prog.c: Likewise.
5589         * iconv/iconvconfig.c: Likewise.
5590         * locale/programs/locale.c: Likewise.
5591         * locale/programs/localedef.c: Likewise.
5592         * login/programs/pt_chown.c: Likewise.
5593         * malloc/memusage.sh: Likewise.
5594         * malloc/memusagestat.c: Likewise.
5595         * malloc/mtrace.pl: Likewise.
5596         * manual/libc.texinfo: Likewise.
5597         * nscd/nscd.c: Likewise.
5598         * nss/getent.c: Likewise.
5599         * nss/makedb.c: Likewise.
5600         * posix/getconf.c: Likewise.
5601         * scripts/test-installation.pl: Likewise.
5603         * All files with FSF copyright notices: Update copyright dates
5604         using scripts/update-copyrights.
5605         * intl/plural.c: Regenerated.
5606         * locale/programs/charmap-kw.h: Likewise.
5607         * locale/programs/locfile-kw.h: Likewise.
5609 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
5611         * sysdeps/unix/sysv/linux/configure: Regenerated.
5612         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5613         the linux/fanotify.h header.
5614         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5615         HAVE_LINUX_FANOTIFY_H is defined.
5617 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5619         * benchtests/cos-inputs: New inputs.
5620         * benchtests/sin-inputs: Likewise.
5622         * benchtests/atan-inputs: New inputs. Fix name of multiple
5623         precision fallback inputs.
5625         * benchtests/atanh-inputs: New inputs.
5626         * benchtests/tanh-inputs: Likewise.
5628         * benchtests/acosh-inputs: New inputs.
5629         * benchtests/asinh-inputs: Likewise.
5631         * benchtests/cosh-inputs: New inputs.
5632         * benchtests/sinh-inputs: Likewise.
5634         * benchtests/acos-inputs: Add more inputs.
5635         * benchtests/asin-inputs: Likewise.
5637 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
5639         [BZ #16375]
5640         * manual/arith.texi: Fix spelling.
5641         * manual/charset.texi: Likewise.
5642         * manual/errno.texi: Likewise.
5643         * manual/filesys.texi: Likewise.
5644         * manual/lang.texi: Likewise.
5645         * manual/llio.texi: Likewise.
5646         * manual/locale.texi: Likewise.
5647         * manual/message.texi: Likewise.
5648         * manual/resource.texi: Likewise.
5649         * manual/search.texi: Likewise.
5650         * manual/setjmp.texi: Likewise.
5651         * manual/stdio.texi: Likewise.
5652         * manual/string.texi: Likewise.
5653         * manual/sysinfo.texi: Likewise.
5654         * manual/time.texi: Likewise.
5656 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
5658         * po/sl.po: New file.
5660 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
5662         * .gitignore: Add core/.gdbinit/.gdb_history.
5664 2013-12-27  Allan McRae  <allan@archlinux.org>
5666         [BZ #16369]
5667         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5668         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5670 2013-12-24  Brooks Moses  <bmoses@google.com>
5672         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5673         all compilers that claim C++98 compliance, not just GCC.
5674         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5675         Likewise.
5677 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5679         * NEWS: Restore accidentally deleted bug-fix entries.
5681 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5682             Ondřej Bílka  <neleai@seznam.cz>
5684         [BZ #15073]
5685         * malloc/malloc.c (_int_free): Perform sanity check only if we
5686         have_lock.
5688 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
5690         [BZ #12986]
5691         * manual/stdio.texi (String Input Conversions): Clarify that character
5692         classes are not supported.
5694 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5698 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
5700         [BZ #16337]
5701         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5702         Calculate results for small negative arguments directly rather
5703         than using reflection formula with special underflow handling.
5705         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5706         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5707         sysdeps/unix/bsd/bsd4.4/syscalls.list.
5708         (fchflags): Likewise.
5709         (revoke): Likewise.
5710         (setlogin): Likewise.
5711         (sigaltstack): Likewise.
5712         (wait4): Likewise.
5713         (sigblock): Remove.
5714         (sigsetmask): Likewise.
5715         (wait3): Likewise.
5716         (waitpid): Likewise.
5717         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5718         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5719         file.
5720         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5721         * sysdeps/unix/bsd/Makefile: ... here.
5722         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5723         * sysdeps/unix/bsd/Versions: ... here.
5724         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5725         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5726         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5727         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5728         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5729         * sysdeps/unix/bsd/sigblock.c: ... here.
5730         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5731         * sysdeps/unix/bsd/sigsetmask.c: ... here.
5732         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5733         * sysdeps/unix/bsd/sigvec.c: ... here.
5734         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5735         * sysdeps/unix/bsd/tcdrain.c: ... here.
5736         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5737         * sysdeps/unix/bsd/tcgetattr.c: ... here.
5738         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5739         * sysdeps/unix/bsd/tcsetattr.c: ... here.
5740         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5741         * sysdeps/unix/bsd/wait.c: ... here.
5742         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5743         * sysdeps/unix/bsd/wait3.c: ... here.
5744         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5745         * sysdeps/unix/bsd/waitpid.c: ... here.
5747 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
5749         [BZ #16356]
5750         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5751         round-to-nearest for [!USE_AS_EXPM1L].
5752         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5753         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
5754         more tests of exp and exp10.  Expect some exp10 tests to miss
5755         exceptions or fail in directed rounding modes.
5756         * math/auto-libm-test-out: Regenerated.
5757         * math/libm-test.inc (exp10_tonearest_test_data): New array.
5758         (exp10_test_tonearest): New function.
5759         (exp10_towardzero_test_data): New array.
5760         (exp10_test_towardzero): New function.
5761         (exp10_downward_test_data): New array.
5762         (exp10_test_downward): New function.
5763         (exp10_upward_test_data): New array.
5764         (exp10_test_upward): New function.
5765         (main): Call the new functions.
5766         * sysdeps/i386/fpu/libm-test-ulps: Update.
5767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5769 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
5771         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5772         asinh, atan, atan2, atanh, cbrt, cos and cosh.
5773         * math/auto-libm-test-out: Regenerated.
5774         * math/libm-test.inc (acosh_test_data): Add more tests.
5775         (atanh_test_data): Likewise.
5776         (ceil_test_data): Likewise.
5777         (copysign_test_data): Likewise.
5778         * sysdeps/i386/fpu/libm-test-ulps: Update.
5779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5781         * timezone/checktab.awk: Update from tzcode 2013i.
5782         * timezone/private.h: Likewise.
5783         * timezone/scheck.c: Likewise.
5784         * timezone/tzfile.h: Likewise.
5785         * timezone/tzselect.ksh: Likewise.
5786         * timezone/zdump.c: Likewise.
5787         * timezone/zic.c: Likewise.
5789         * math/auto-libm-test-in: Add tests of cpow.
5790         * math/auto-libm-test-out: Regenerated.
5791         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5792         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5793         mpc_cc_c.
5794         (func_calc_desc): Add mpc_cc_c union field.
5795         (test_functions): Add cpow.
5796         (special_fill_2pi): New function.
5797         (special_real_inputs): Add 2pi.
5798         (calc_generic_results): Handle mpc_cc_c.
5799         * sysdeps/i386/fpu/libm-test-ulps: Update.
5800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5802         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5803         csqrt, ctan and ctanh.
5804         * math/auto-libm-test-out: Regenerated.
5805         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5806         (TEST_COND_x86): Likewise.
5807         (ccos_test_data): Use AUTO_TESTS_c_c.
5808         (ccosh_test_data): Likewise.
5809         (cexp_test_data): Likewise.
5810         (clog_test_data): Likewise.
5811         (csqrt_test_data): Likewise.
5812         (ctan_test_data): Likewise.
5813         (ctan_tonearest_test_data): Likewise.
5814         (ctan_towardzero_test_data): Likewise.
5815         (ctan_downward_test_data): Likewise.
5816         (ctan_upward_test_data): Likewise.
5817         (ctanh_test_data): Likewise.
5818         (ctanh_tonearest_test_data): Likewise.
5819         (ctanh_towardzero_test_data): Likewise.
5820         (ctanh_downward_test_data): Likewise.
5821         (ctanh_upward_test_data): Likewise.
5822         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5823         mpc_c_c.
5824         (func_calc_desc): Add mpc_c_c union field.
5825         (FUNC_mpc_c_c): New macro.
5826         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5827         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5828         ctanh.
5829         (special_fill_min_subnorm_p120): New function.
5830         (special_real_inputs): Add min_subnorm_p120.
5831         (calc_generic_results): Handle mpc_c_c.
5832         * sysdeps/i386/fpu/libm-test-ulps: Update.
5833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5835 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5837         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5838         (do_sin_slow): New functions.
5839         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5840         (cslow2, csloww1, csloww2): Use the new functions.
5842         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5843         Use M to change sign of result instead of X.  Assume X is
5844         positive.
5845         (csloww1): Likewise.
5846         (__sin): Adjust.
5847         (__cos): Adjust.
5849         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5850         arguments A and DA.
5851         (__sin): Adjust.
5852         (__cos): Likewise.
5854         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5855         (__cos): Likewise.
5856         (sloww1): Don't adjust sign of DX.
5857         (csloww1): Likewise.
5858         (sloww2): Use X directly and don't adjust sign of DX.
5859         (csloww2): Likewise.
5861 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5863         * math/auto-libm-test-in: Add tests of cabs and carg.
5864         * math/auto-libm-test-out: Regenerated.
5865         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5866         (carg_test_data): Likewise.
5867         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5868         mpc_c_f.
5869         (func_calc_desc): Add mpc_c_f union field.
5870         (test_functions): Add cabs and carg.
5871         (calc_generic_results): Handle mpc_c_f.
5873         * sysdeps/powerpc/powerpc32/libgcc-compat.S
5874         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5875         as a macro and a compat symbol.
5876         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5877         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5878         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5879         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5880         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5881         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5882         not use .hidden.
5883         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5884         Likewise.
5885         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5886         Likewise.
5887         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5888         Likewise.
5889         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5890         Likewise.
5891         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5892         Likewise.
5893         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5894         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5895         from GLIBC_2.3.2.
5897 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5901 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5903         * manual/texinfo.tex: Update to version 2013-11-26.10 with
5904         trailing whitespace removed.
5905         * scripts/config.guess: Update to version 2013-11-29.
5906         * scripts/config.sub: Update to version 2013-10-01.
5908         * math/auto-libm-test-in: Add tests of sincos.
5909         * math/auto-libm-test-out: Regenerated.
5910         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5911         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5912         mpfr_f_11.
5913         (func_calc_desc): Add mpfr_f_11 union field.
5914         (test_functions): Add sincos.
5915         (calc_generic_results): Handle mpfr_f_11.
5916         * sysdeps/i386/fpu/libm-test-ulps: Update.
5917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5919 2013-12-19  Andreas Schwab  <schwab@suse.de>
5921         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5922         CALL_MCOUNT.
5923         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5924         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5925         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5927 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5929         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5930         * sysdeps/i386/fpu/libm-test-ulps: Update.
5931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5933         [BZ #16293]
5934         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5935         round-to-nearest mode when using frndint.
5936         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5937         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5938         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5939         Likewise.
5940         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
5941         sinh test to fail.
5942         * math/auto-libm-test-out: Regenerated.
5943         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5944         (TEST_COND_x86): Likewise.
5945         (expm1_tonearest_test_data): New array.
5946         (expm1_test_tonearest): New function.
5947         (expm1_towardzero_test_data): New array.
5948         (expm1_test_towardzero): New function.
5949         (expm1_downward_test_data): New array.
5950         (expm1_test_downward): New function.
5951         (expm1_upward_test_data): New array.
5952         (expm1_test_upward): New function.
5953         (main): Run the new test functions.
5954         * sysdeps/i386/fpu/libm-test-ulps: Update.
5955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5957         * include/features.h: Update comment documenting feature test
5958         macros.  Mention _DEFAULT_SOURCE in comment.
5959         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5960         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5961         _BSD_SOURCE and _SVID_SOURCE.
5962         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5963         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5964         !_SVID_SOURCE]: Likewise.
5965         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5966         (__USE_POSIX_IMPLICITLY): Define.
5967         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5968         (_POSIX_SOURCE): Undefine and redefine.
5969         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5970         (_POSIX_C_SOURCE): Likewise.
5971         * manual/creature.texi (_DEFAULT_SOURCE): Document.
5972         (Feature Test Macros): Update documentation of default features.
5974 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5976         * benchtests/Makefile: Add bench-strtok.
5977         * benchtests/bench-strtok.c: New file: strtok benchtest.
5979 2013-12-19  Allan McRae  <allan@archlinux.org>
5981         * manual/install.texi: Suppress menu for plain text output.
5982         * INSTALL: Regenerated.
5984 2013-12-18  Brooks Moses  <bmoses@google.com>
5986         [BZ #15846]
5987         * misc/getauxval.c: Include errno.h.
5988         (__getauxval): Set errno to ENOENT if the requested type is not
5989         found.
5990         * misc/sys/auxv.h (getauxval): Document that it may set errno;
5991         don't declare with __attribute_const__.
5992         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5993         * manual/startup.texi: Document that getauxval sets errno.
5995 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5997         * math/auto-libm-test-in: Add tests of jn and yn.
5998         * math/auto-libm-test-out: Regenerated.
5999         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6000         (yn_test_data): Likewise.
6001         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6002         mpfr_if_f.
6003         (func_calc_desc): Add mpfr_if_f union field.
6004         (FUNC_mpfr_if_f): New macro.
6005         (test_functions): Add jn and yn.
6006         (calc_generic_results): Assert type of second input for
6007         mpfr_ff_f.  Handle mpfr_if_f.
6008         (output_for_one_input_case): Disable all checking for arguments
6009         fitting floating-point types in case of an integer argument.
6010         * sysdeps/i386/fpu/libm-test-ulps: Update.
6011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6014         Don't expect fegetround reference in libm.so.
6016 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6018         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6019         $(config-cflags-nofma).
6021 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
6023         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6024         * math/auto-libm-test-out: Regenerated.
6026         [BZ #16338]
6027         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6028         to determine exponent and adjust argument to have exponent of -1.
6029         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6030         log2.
6031         * math/auto-libm-test-out: Regenerated.
6032         * sysdeps/i386/fpu/libm-test-ulps: Update.
6033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6035 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
6037         * manual/probes.texi: Remove cases when per-thread arenas are
6038         disabled.
6040 2013-12-18  Andreas Schwab  <schwab@suse.de>
6042         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6043         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6044         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6045         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6046         * sysdeps/i386/i686/multiarch/Makefile: Update.
6047         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6049 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6051         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6052         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6054 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
6056         [BZ #15968]
6057         Support TZ transition times < 00:00:00.
6058         This is needed for version-3 tz-format files; it supports time
6059         stamps past 2037 for America/Godthab (the only entry in the tz
6060         database for which this change is relevant).
6061         * manual/time.texi (TZ Variable): Document transition times
6062         from -167:59:59 through -00:00:01.
6063         * time/tzset.c (tz_rule): Time of day is now signed.
6064         (__tzset_parse_tz): Parse negative time of day.
6066         Document TZ transition times >= 25:00:00.
6067         * manual/time.texi (TZ Variable): Document transition times from
6068         25:00:00 through 167:59:59.  These are already supported, and this
6069         support will help with version-3 tz-format files.
6071         * manual/time.texi (TZ Variable): Modernize North America example
6072         to reflect current (i.e., 2007-and-later) daylight saving rules.
6074         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6076 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6078         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6079         * sysdeps/unix/bsd/bits/stat.h: Likewise.
6080         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6081         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6082         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6083         * sysdeps/unix/bsd/bsdstat.h: Likewise.
6084         * sysdeps/unix/bsd/clock.c: Likewise.
6085         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6086         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6087         * sysdeps/unix/bsd/init-posix.c: Likewise.
6088         * sysdeps/unix/bsd/poll.c: Likewise.
6089         * sysdeps/unix/bsd/ptsname.c: Likewise.
6090         * sysdeps/unix/bsd/seekdir.c: Likewise.
6091         * sysdeps/unix/bsd/setegid.c: Likewise.
6092         * sysdeps/unix/bsd/seteuid.c: Likewise.
6093         * sysdeps/unix/bsd/setgid.c: Likewise.
6094         * sysdeps/unix/bsd/setrgid.c: Likewise.
6095         * sysdeps/unix/bsd/setruid.c: Likewise.
6096         * sysdeps/unix/bsd/setsid.c: Likewise.
6097         * sysdeps/unix/bsd/setuid.c: Likewise.
6098         * sysdeps/unix/bsd/sigaction.c: Likewise.
6099         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6100         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6101         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6102         * sysdeps/unix/bsd/telldir.c: Likewise.
6103         * sysdeps/unix/bsd/times.c: Likewise.
6104         * sysdeps/unix/bsd/usleep.c: Likewise.
6106         * misc/Makefile (install-lib): Remove libbsd-compat.a.
6107         ($(objpfx)libbsd-compat.a): Remove rule.
6109         * include/features.h (__FAVOR_BSD): Do not define.
6110         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6111         features conflicting with POSIX.
6112         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6113         (_BSD_SOURCE): Remove description of not being a subset of other
6114         feature test macros.
6115         * manual/job.texi (getpgrp): Do not document BSD version.
6116         (getpgid): Do not document by reference to BSD getpgrp.
6117         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6118         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6119         * signal/signal.h [__FAVOR_BSD]: Likewise.
6120         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6121         instead of making contents conditional on [__FAVOR_BSD].
6122         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6124 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6128 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6130         [BZ #16314]
6131         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6132         values below 2**-450, not 2**-500.
6133         * math/auto-libm-test-in: Don't allow spurious underflow from
6134         hypot.
6135         * math/auto-libm-test-out: Regenerated.
6137         [BZ #16316]
6138         [BZ #16330]
6139         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6140         values of ha and hb and sort them after adjusting subnormal
6141         arguments.
6142         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6143         Likewise.
6144         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6145         values of ea and eb and sort them after adjusting subnormal
6146         arguments.
6147         * math/auto-libm-test-in: Do not expect some hypot tests of
6148         subnormals to fail.  Add more hypot tests.
6149         * math/auto-libm-test-out: Regenerated.
6151 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6153         [BZ #13304]
6154         * sysdeps/sh/s_fma.c: New file.
6155         * sysdeps/sh/s_fmaf.c: New file.
6156         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
6157         version.
6158         * sysdeps/sh/Implies: Add sh/soft-fp.
6160 2013-12-16  Roland McGrath  <roland@hack.frob.com>
6162         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
6163         level of indirection to members `objname', `errstring', `malloced'.
6164         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6165         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
6166         it as the __longjmp argument (just pass 1 instead).
6167         (_dl_catch_error): Initialize C with argument pointers and address of
6168         volatile local ERRCODE rather than copying values out of C at return.
6170 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
6172         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6173         * math/auto-libm-test-out: Regenerated.
6174         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6175         (hypot_test_data): Likewise.
6176         (pow_test_data): Likewise.
6177         (pow_tonearest_test_data): Likewise.
6178         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6179         mpfr_ff_f.
6180         (func_calc_desc): Add mpfr_ff_f union field.
6181         (FUNC_mpfr_ff_f): New macro.
6182         (test_functions): Add atan2, hypot and pow.
6183         (special_fill_min): New function.
6184         (special_fill_minus_min): Likewise.
6185         (special_fill_min_subnorm): Likewise.
6186         (special_fill_minus_min_subnorm): Likewise.
6187         (special_real_inputs): Add min, -min, min_subnorm and
6188         -min_subnorm.
6189         (calc_generic_results): Handle mpfr_ff_f.
6190         * sysdeps/i386/fpu/libm-test-ulps: Update.
6191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6193 2013-12-16  Will Newton  <will.newton@linaro.org>
6195         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6196         (Aligned Memory Blocks): Add documentation for aligned_alloc
6197         and suggest it as an alternative to posix_memalign.
6198         (Hooks for Malloc): Document __memalign_hook is also called
6199         for aligned_alloc.  (Summary of Malloc): Add summary for
6200         aligned alloc.  Document __memalign_hook is also called
6201         for aligned_alloc.
6203 2013-12-16  Will Newton  <will.newton@linaro.org>
6205         * manual/memory.texi (Malloc Examples): Clarify default
6206         alignment documentation.  Suggest posix_memalign rather
6207         than memalign or valloc.
6208         (Aligned Memory Blocks): Remove suggestion to use memalign
6209         or valloc.  Remove obsolete comment about BSD.
6210         Document memalign errno values and mark the function obsolete.
6211         Document posix_memalign returned error codes.  Mark valloc
6212         as obsolete.  (Hooks for Malloc): __memalign_hook is also
6213         called for posix_memalign and valloc.
6214         (Summary of Malloc): Add posix_memalign to function summary.
6215         __memalign_hook is also called for posix_memalign and valloc.
6217 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6219         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6220         TAYLOR_SIN.
6221         (__sin): Adjust.
6222         (__cos): Likewise.
6223         (sloww): Use mynumber union.  Expand ternary operator into
6224         if-else statements.
6225         (cslow): use mynumber union.
6227 2013-12-16  Allan McRae  <allan@archlinux.org>
6229         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6230         * configure: Regenerated.
6232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6234         [BZ #14120]
6235         * configure.ac: Added --enable-maintainer-mode. Check for
6236         autoconf when enabled.
6237         * configure: Regenerated.
6239         * nscd/nscd.service: New file.
6240         * nscd/nscd.tmpfiles: New file.
6242 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
6244         [BZ #12100]
6245         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6246         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6247         * sysdeps/x86_64/multiarch/strstr.c: ... here.
6248         (strstr): Add __strstr_sse2_unaligned ifunc.
6249         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6250         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6251         (strcasestr): Remove __strcasestr_sse42 ifunc.
6252         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6256 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6258         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6259         * sysdeps/sh/bits/fenv.h: ... here.
6260         * sysdeps/sh/sh4/fpu/bits: Remove directory.
6262 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6264         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6267         hypotf multiarch implementations.
6268         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6269         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6270         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6271         multiarch hypot for PPC64.
6272         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6273         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6274         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6275         multiarch hypotf for PPC64.
6277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6278         modff multiarch implementations.
6279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6282         multiarch modf for PPC64.
6283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6286         multiarch modff for PPC64.
6288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6289         and logl multiarch implementations.
6290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6293         multiarch logb for PPC64.
6294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6297         multiarch logb for PPC64.
6298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6301         multiarch logb for PPC64.
6303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6304         isinff multiarch implementation.
6305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6306         file.
6307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6309         multiarch isinf for PPC64.
6310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6311         file.
6312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6313         multiarch isinff for PPC64.
6315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6316         finitef multiarch implementation.
6317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6318         file.
6319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6321         multiarch finite for PPC64.
6322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6323         file.
6324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6325         multiarch finitef for PPC64.
6327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6328         lrint multiarch implementation.
6329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6330         file.
6331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6333         multiarch llrint for PPC64.
6334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6335         multiarch lrint for PPC64.
6337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6338         copysignf multiarch implementation.
6339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6340         file.
6341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6342         file.
6343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6344         multiarch copysign for PPC64.
6345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6346         multiarch copysignf for PPC64.
6348         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6349         multiarch implementation.
6350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6351         file.
6352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6353         file.
6354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6355         file.
6356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6357         file.
6358         multiarch llround for PPC64.
6359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6360         multiarch trunc for PPC64.
6361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6362         multiarch truncf for PPC64.
6364         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6365         multiarch implementation.
6366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6367         file.
6368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6369         file.
6370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6371         file.
6372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6373         file.
6374         multiarch llround for PPC64.
6375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6376         multiarch round for PPC64.
6377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6378         multiarch roundf for PPC64.
6380         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6381         multiarch implementation.
6382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6383         file.
6384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6385         file.
6386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6387         file.
6388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6389         file.
6390         multiarch llround for PPC64.
6391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6392         multiarch floor for PPC64.
6393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6394         multiarch floorf for PPC64.
6396         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6397         multiarch implementation.
6398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6399         file.
6400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6401         file.
6402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6403         file.
6404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6405         file.
6406         multiarch llround for PPC64.
6407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6408         multiarch ceil for PPC64.
6409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6410         multiarch ceilf for PPC64.
6412         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6413         multiarch implementation.
6414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6415         file.
6416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6417         file.
6418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6419         file.
6420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6421         multiarch llround for PPC64.
6422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6423         multiarch lround for PPC64.
6425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6426         multiarch implementation.
6427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6430         file.
6431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6434         multiarch isnan for PPC64.
6435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6436         multiarch isnanf for PPC64.
6438         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6439         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6440         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6441         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6442         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6445         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6446         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6447         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6448         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6451         multiarch implementations.
6452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6453         (__libc_ifunc_impl_list): Likewise.
6454         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6455         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6456         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6457         multiarch stpcpy for PPC64.
6459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6460         multiarch implementations.
6461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6462         (__libc_ifunc_impl_list): Likewise.
6463         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6464         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6465         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6466         multiarch strcpy for PPC64.
6468         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6469         redefine function name.
6470         (_wordcopy_fwd_dest_aligned): Likewise.
6471         (_wordcopy_bwd_aligned): Likewise.
6472         (_wordcopy_bwd_dest_aligned): Likewise.
6473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6474         multiarch implementations.
6475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6476         (__libc_ifunc_impl_list): Likewise.
6477         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6478         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6479         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6480         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6481         multiarch wcscpy for PPC64.
6483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6484         multiarch implementations.
6485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6486         (__libc_ifunc_impl_list): Likewise.
6487         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6488         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6489         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6490         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6491         multiarch wcscpy for PPC64.
6493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6494         multiarch implementations.
6495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6496         (__libc_ifunc_impl_list): Likewise.
6497         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6498         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6499         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6500         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6501         multiarch wcsrchr for PPC64.
6503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6504         multiarch implementations.
6505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6506         (__libc_ifunc_impl_list): Likewise.
6507         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6508         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6509         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6510         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6511         multiarch wcschr for PPC64.
6513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6514         multiarch implementations.
6515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6516         (__libc_ifunc_impl_list): Likewise.
6517         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6518         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6519         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6520         multiarch strchrnul for PPC64.
6522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6523         implementations.
6524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6525         (__libc_ifunc_impl_list): Likewise.
6526         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6527         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6528         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6529         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6530         strchr for PPC64.
6532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6533         implementations.
6534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6535         (__libc_ifunc_impl_list): Likewise.
6536         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6537         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6538         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6539         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6540         strncmp for PPC64.
6542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6543         multiarch implementations.
6544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6545         (__libc_ifunc_impl_list): Likewise.
6546         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6547         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6548         strncasecmp for PPC64.
6549         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6550         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6551         multiarch strncasecmp_l for PPC64.
6553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6554         multiarch implementations.
6555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6556         (__libc_ifunc_impl_list): Likewise.
6557         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6558         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6559         multiarch strcasecmp for PPC64.
6560         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6561         file.
6562         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6563         multiarch strcasecmp_l for PPC64.
6565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6566         implementations.
6567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6568         (__libc_ifunc_impl_list): Likewise.
6569         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6570         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6571         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6572         strnlen for PPC64.
6574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6575         implementations.
6576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6577         (__libc_ifunc_impl_list): Likewise.
6578         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6579         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6580         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6581         strlen for PPC64.
6583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6584         implementations.
6585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6586         (__libc_ifunc_impl_list): Likewise.
6587         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6588         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6589         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6590         rawmemrchr for PPC64.
6592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6593         implementation.
6594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6595         (__libc_ifunc_impl_list): Likewise.
6596         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6597         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6598         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6599         memrchr for PPC64.
6601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6602         implementation.
6603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6604         (__libc_ifunc_impl_list): Likewise.
6605         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6606         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6607         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6608         memchr for PPC64.
6610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6611         implementation.
6612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6613         (__libc_ifunc_impl_list): Likewise.
6614         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6615         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6616         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6617         mempcpy for PPC64.
6619         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6620         avoid cretion of __bzero symbol.
6621         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6622         Likewise.
6623         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6624         Likewise.
6625         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6626         Likewise.
6627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6628         multiarch implementations.
6629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6630         (__libc_ifunc_impl_list): Likewise.
6631         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6632         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6633         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6634         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6635         bzero for PPC32.
6636         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6637         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6638         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6639         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6640         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6641         memset for PPC64.
6642         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6644         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6646         implementations.
6647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6648         (__libc_ifunc_impl_list): Likewise.
6649         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6650         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6651         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6652         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6653         memcmp for PPC64.
6655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6656         multiarch for POWER/PPC64.
6657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6658         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6659         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6660         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6661         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6662         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6663         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6664         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6665         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6666         memcpy for PPC64.
6668         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6669         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6670         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6671         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6672         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6673         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6674         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6675         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6676         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6677         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6678         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6679         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6680         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6681         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6682         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6691 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6693         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6695 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6697         * benchtests/Makefile (bench): Add exp2 and log2.
6698         (LDLIBS-bench-exp2): Add -lm.
6699         (LDLIBS-bench-log2): Likewise.
6700         * benchtests/exp2-inputs: New inputs file.
6701         * benchtests/log2-inputs: New inputs file.
6702         * benchtests/log-inputs: Add new inputs.
6703         * benchtests/tan-inputs: Likewise.
6705 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6707         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6708         definition...
6709         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6710         (csloww2): ... from here.
6712         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6713         instead of structures.
6714         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6715         (POLYNOMIAL): Likewise.
6716         (TAYLOR_SLOW): Likewise.
6717         (__sin): Likewise.
6718         (__cos): Likewise.
6719         (slow1): Likewise.
6720         (slow2): Likewise.
6721         (sloww): Likewise.
6722         (sloww1); Likewise.
6723         (sloww2): Likewise.
6724         (bsloww1): Likewise.
6725         (bsloww2): Likewise.
6726         (cslow2): Likewise.
6727         (csloww): Likewise.
6728         (csloww1): Likewise.
6729         (csloww2): Likewise.
6731 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
6733         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6734         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6735         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6736         * malloc/hooks.c (realloc_check): Likewise.
6738         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6739         * malloc/arena.c: Remove PER_THREAD conditional.
6740         [!PER_THREAD]: Remove code.
6741         (ptmalloc_unlock_all2): Likewise.
6742         (ptmalloc_init): Likewise.
6743         (_int_new_arena): Likewise.
6744         (arena_get2): Likewise.
6745         * malloc/hooks.c (__malloc_get_state): Likewise.
6746         (__malloc_set_state): Likewise.
6747         * malloc/malloc.c: Likewise.
6748         (struct malloc_state): Likewise.
6749         (struct malloc_par): Likewise.
6750         (__libc_realloc): Likewise.
6751         (__libc_mallopt): Likewise.
6753 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6755         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6757 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
6759         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6760         macro to a function.  Check for zero perturb_byte.
6761         (_int_malloc, _int_free): Remove zero perturb_byte checks.
6763         * malloc/malloc.c: (force_reg): Remove.
6764         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6765         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6766         force_reg by atomic_forced_read.
6767         * malloc/arena.c (ptmalloc_init): Likewise.
6768         * malloc/hooks.c (top_check): Likewise.
6770 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6774 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
6776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6778 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
6780         * math/auto-libm-test-in: Add tests of lgamma.
6781         * math/auto-libm-test-out: Regenerated.
6782         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6783         (M_LOG_2_SQRT_PIl): Likewise.
6784         (lgamma_test_data): Use AUTO_TESTS_f_f1.
6785         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6786         mpfr_f_f1.
6787         (func_calc_desc): Add mpfr_f_f1 union field.
6788         (ARGS1): New macro.
6789         (ARGS2): Likewise.
6790         (ARGS3): Likewise.
6791         (ARGS4): Likewise.
6792         (RET1): Likewise.
6793         (RET2): Likewise.
6794         (CALC): Likewise.
6795         (FUNC): Likewise.
6796         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6797         (test_functions): Add lgamma.
6798         (calc_generic_results): Handle mpfr_f_f1.
6799         * sysdeps/i386/fpu/libm-test-ulps: Update.
6800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6802 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6804         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6805         __mpn_add_n for PowerPC64/POWER7.
6806         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6807         __mpn_sub_n for PowerPC64/POWER7.
6809         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6810         __mpn_addmul_1 for PowerPC64.
6811         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6812         __mpn_submul_1 for PowerPC64.
6813         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6814         for PowerPC64.
6815         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6816         for PowerPC64.
6818 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
6820         [BZ #15089]
6821         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6823 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6825         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6827         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6828         add multiarch folders.
6829         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6830         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6831         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6832         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6833         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6834         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6835         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6836         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6837         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6838         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6839         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6848         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6850         New file.
6851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6852         New file.
6853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6854         multiarch __ieee754_hypot for PowerPC32.
6855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6856         New file.
6857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6858         New file.
6859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6860         multiarch __ieee754_hypotf for PowerPC32.
6862         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6863         long_double_symbol only if __logbl is defined.
6864         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6865         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6866         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6867         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6868         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6869         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6870         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6871         path for implementation.
6872         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6873         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6875         logb, and logbl multiarch implementations for PowerPC32.
6876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6877         file.
6878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6879         file.
6880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6881         multiarch logb for PowerPC32.
6882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6883         file.
6884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6885         file.
6886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6887         multiarch logbf for PowerPC32.
6888         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6890         file.
6891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6892         multiarch logbl implementation for PowerPC32.
6894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6895         and modff multiarch implementations.
6896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6897         New file.
6898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6899         New file.
6900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6901         multiarch modf for PowerPC32.
6902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6903         New file.
6904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6905         New file.
6906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6907         multiarch modff for PowerPC32.
6909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6910         and lrintf multiarch implementations.
6911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6912         New file.
6913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6914         New file.
6915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6916         multiarch lrint for PowerPC32.
6917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6918         file: multiarch lrintf for PowerPC32.
6920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6921         and lroundf multiarch implementations.
6922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6923         New file.
6924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6925         New file.
6926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6927         New file.
6928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6929         multiarch lround for PowerPC32.
6930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6931         file: multiarch lroundf for PowerPC32.
6933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6934         copysign and copysignf multiarch implementations.
6935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6936         New file.
6937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6938         New file.
6939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6940         file: multiarch copysign for PowerPC32.
6941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6942         file: multiarch copysignf for PowerPC32.
6944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6945         and truncf multiarch implementations.
6946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6947         New file.
6948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6949         file.
6950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6951         multiarch trunc for PowerPC32.
6952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6953         New file.
6954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6955         New file.
6956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6957         multiarch truncf for PowerPC32.
6959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6960         and roundf multiarch implementations.
6961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6962         New file.
6963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6964         file.
6965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6966         multiarch round for PowerPC32.
6967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6968         New file.
6969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6970         New file.
6971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6972         multiarch roundf for PowerPC32.
6974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6975         and floorf multiarch implementations.
6976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6977         New file.
6978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6979         file.
6980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6981         multiarch floor for PowerPC32.
6982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6983         New file.
6984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6985         New file.
6986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6987         multiarch floorf for PowerPC32.
6989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6990         and ceilf multiarch implementations.
6991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6992         New file.
6993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6994         file.
6995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6996         multiarch ceil for PowerPC32.
6997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6998         New file.
6999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7000         file.
7001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7002         multiarch ceilf for PowerPC32.
7004         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7005         is defined.
7006         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7007         FINITEF is defined.
7008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7009         and finitef multiarch implementations.
7010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7011         New file.
7012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7013         file.
7014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7015         multiarch finite for PowerPC32.
7016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7017         New file.
7018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7019         file: multiarch finitef for PowerPC32.
7021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7022         and isinff multiarch implementations.
7023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7024         file.
7025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7026         file.
7027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7028         multiarch isinf for PowerPC32.
7029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7030         New file.
7031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7032         multiarch isinff for PowerPC32.
7034         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7035         alias when __isnan is defined.
7036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7037         and isnanf multiarch implementations.
7038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7039         file.
7040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7041         file.
7042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7043         file.
7044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7045         file.
7046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7047         multiarch isnan for PowerPC32.
7048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7049         New file.
7050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7051         New file.
7052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7053         multiarch isnanf for PowerPC32.
7055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7056         and sqrtf multiarch implementations.
7057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7058         file.
7059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7060         file.
7061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7062         multiarch sqrt for PowerPC32.
7063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7064         file.
7065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7066         file.
7067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7068         multiarch sqrtf for PowerPC32.
7070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7071         and llroundf multiarch implementations.
7072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7073         New file.
7074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7075         New file.
7076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7077         New file.
7078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7079         file: multiarch llround for PowerPC32.
7080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7081         file: multiarch llroundf for PowerPC32.
7083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7084         multiarch PowerPC32 fpu implementations.
7085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7086         New file.
7087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7088         New file.
7089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7090         multiarch llrint for PowerPC32.
7091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7092         New file.
7093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7094         New file.
7095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7096         file.
7098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7100         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7101         file.
7102         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7103         file.
7104         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7105         file.
7106         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7107         multiarch wordcopy for PPC32.
7108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7109         wordcopy objects.
7110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7111         (__libc_ifunc_impl_list): Likewise.
7112         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7113         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7114         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7115         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7116         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7117         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7119         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7121         file.
7122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7123         file.
7124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7125         file.
7126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7127         multiarch wcscpy for PPC32.
7128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7129         multiarch objects.
7130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7131         (__libc_ifunc_impl_list): Likewise.
7132         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7133         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7134         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7135         sysdeps/powerpc/power6/wcscpy.c.
7137         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7138         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7139         file.
7140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7141         file.
7142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7143         file.
7144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7145         multiarch wcsrchr for PPC32.
7146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7147         multiarch objects.
7148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7149         (__libc_ifunc_impl_list): Likewise.
7150         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7151         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7152         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7153         sysdeps/powerpc/power6/wcsrchr.c.
7155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7156         file.
7157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7158         file.
7159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7161         multiarch wcschr for PPc32.
7162         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7163         multiarch objects.
7164         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7165         (__libc_ifunc_impl_list): Likewise.
7166         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7167         * sysdeps/powerpc/power6/wcschr.c: ... to here.
7168         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7169         sysdeps/powerpc/power6/wcschr.c.
7171         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7172         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7173         file.
7174         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7175         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7176         file: multiarch strchr for PPC32.
7177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7178         multiarch objects.
7179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7180         (__libc_ifunc_impl_list): Likewise.
7182         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7183         name.
7184         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7185         file.
7186         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7187         file.
7188         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7189         multiarch strchrnul for PPC32.
7190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7191         multiarch objects.
7192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7193         (__libc_ifunc_impl_list): Likewise.
7195         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7196         file.
7197         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7198         multiarch strncasecmp for PPC32.
7199         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7200         file.
7201         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7202         multiarch strncasecmp_l for PPC32.
7203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7204         strncasecmp multiarch objects.
7205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7206         (__libc_ifunc_impl_list): Likewise.
7208         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7209         file.
7210         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7211         multiarch strncasecmp for PPC32.
7212         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7213         New file.
7214         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7215         multiarch strcasecmp_l for PPC32.
7216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7217         multiarch objects.
7218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7219         (__libc_ifunc_impl_list): Likewise.
7221         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7222         file.
7223         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7224         file.
7225         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7226         multiarch strncmp for PPC32.
7227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7228         multiarch objects.
7229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7230         (__libc_ifunc_impl_list): Likewise.
7232         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7233         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7234         file.
7235         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7236         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7238         multiarch objects.
7239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7240         (__libc_ifunc_impl_list): Likewise.
7242         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7243         file.
7244         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7245         file.
7246         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7248         multiarch objects.
7249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7250         (__libc_ifunc_impl_list): Likewise.
7252         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7253         file.
7254         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7255         file.
7256         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7257         multiarch rawmemchr for PPC32.
7258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7259         multiarch objects.
7260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7261         (__libc_ifunc_impl_list): Likewise.
7263         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7264         file.
7265         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7266         file.
7267         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7268         file: memrchr multiarch for PPC32.
7269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7270         multiarch objects.
7271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7272         (__libc_ifunc_impl_list): Likewise.
7274         * string/memchr.c (__memchr): Using macro to redefine symbol name.
7275         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7276         file.
7277         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7278         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7279         multiarch memchr for PPC32.
7280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7281         multiarch objects.
7282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7283         (__libc_ifunc_impl_list): Likewise.
7285         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7286         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7287         file.
7288         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7289         file.
7290         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7291         file: multiarch mempcpy for PPC32.
7292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7293         multiarch objects.
7294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7295         (__libc_ifunc_impl_list): Likewise.
7297         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7298         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7299         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7300         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7301         multiarch bzero for PPC32.
7302         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7303         file.
7304         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7305         file.
7306         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7307         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7308         file: multiarch memset for PPC32.
7309         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7310         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7311         memset multiarch objects.
7312         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7313         (__libc_ifunc_impl_list): Likewise.
7315         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7316         file.
7317         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7318         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7319         memcmp for PPC32.
7320         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7322         multiarch objects.
7323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7324         (__libc_ifunc_impl_list): Likewise.
7326         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7327         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7328         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7329         file.
7330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7331         file.
7332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7333         file.
7334         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7335         multiarch memcpy for PPC32.
7336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7337         multiarch objects.
7338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7339         (__libc_ifunc_impl_list): Likewise.
7341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7342         support multiarch for POWER/PPC32.
7343         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7344         Likewise.
7345         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7347         Implies file to make multiarch folder appers before the fpu and
7348         default folder for power4 configuration.
7350 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7352         * scripts/bench.pl: Append volatile keyword to type.
7354 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7356         * sysdeps/sh/sotruss-lib.c: New file.
7357         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7359 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7363 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
7365         [BZ #6810]
7366         * math/w_tgamma.c: Include <errno.h>.
7367         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
7368         * math/w_tgammaf.c: Include <errno.h>.
7369         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
7370         * math/w_tgammal.c: Include <errno.h>.
7371         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
7372         * math/auto-libm-test-in: Do not allow missing errno on tgamma
7373         underflow.  Add more tgamma tests.
7374         * math/auto-libm-test-out: Regenerated.
7375         * sysdeps/i386/fpu/libm-test-ulps: Update.
7376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7378         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7379         sin, sinh, tan, tanh, tgamma, y0 and y1.
7380         * math/auto-libm-test-out: Regenerated.
7381         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7382         (TEST_COND_x86): Likewise.
7383         (M_E2l): Remove macro.
7384         (M_E3l): Likewise.
7385         (M_2_SQRT_PIl): Likewise.
7386         (M_SQRT_PIl): Likewise.
7387         (M_1_DIV_El): Likewise.
7388         (log_test_data): Use AUTO_TESTS_f_f.
7389         (log10_test_data): Likewise.
7390         (log1p_test_data): Likewise.
7391         (log2_test_data): Likewise.
7392         (sin_test_data): Likewise.
7393         (sin_tonearest_test_data): Likewise.
7394         (sin_towardzero_test_data): Likewise.
7395         (sin_downward_test_data): Likewise.
7396         (sin_upward_test_data): Likewise.
7397         (sinh_test_data): Likewise.
7398         (sinh_tonearest_test_data): Likewise.
7399         (sinh_towardzero_test_data): Likewise.
7400         (sinh_downward_test_data): Likewise.
7401         (sinh_upward_test_data): Likewise.
7402         (tan_test_data): Likewise.
7403         (tan_tonearest_test_data): Likewise.
7404         (tan_towardzero_test_data): Likewise.
7405         (tan_downward_test_data): Likewise.
7406         (tan_upward_test_data): Likewise.
7407         (tanh_test_data): Likewise.
7408         (tgamma_test_data): Likewise.
7409         (y0_test_data): Likewise.
7410         (y1_test_data): Likewise.
7411         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7412         (special_real_inputs): Add pi/4.
7413         * sysdeps/i386/fpu/libm-test-ulps: Update.
7414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7416 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7418         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7419         "longjmp_target" static probes.
7420         (__longjmp): Rename to __longjmp_symbol.
7421         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7422         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7423         on which longjmp to generate.
7424         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7425         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7426         probe.
7427         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7428         (__sigjmp_save): Rename to __sigjmp_save_symbol.
7429         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7430         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7431         and __sigjmp_save_symbol based on which sigsetjmp to generated.
7432         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7434         __longjmp_symbol based on which __longjmp to generate.
7435         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7436         probe.
7437         (setjmp): Rename to setjmp_symbol.
7438         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7439         (_setjmp): Rename to _setjmp_symbol.
7440         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7441         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7442         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7443         which setjmp to generate.
7444         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7445         "longjmp_target" static probes.
7447 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7449         * benchtests/README: Add note about output arguments.
7450         * benchtests/bench-sincos.c: Remove file.
7451         * benchtests/sincos-inputs: New file.
7452         * scripts/bench.pl: Identify output arguments and define
7453         static variables for them.
7455         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7457         [BZ #15941]
7458         * Makefile (INSTALL): Add install-plain.texi as the primary
7459         dependency.
7460         * manual/install-plain.texi: New file.
7461         * manual/install.texi: Include node directive only for
7462         non-plaintext output.
7464 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
7466         * stdlib/longlong.h: Update from GCC.
7468         [BZ #6807]
7469         [BZ #15901]
7470         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7471         * math/w_j0f.c (y0f): Likewise.
7472         * math/w_j0l.c (__y0l): Likewise.
7473         * math/w_j1.c (y1): Likewise.
7474         * math/w_j1f.c (y1f): Likewise.
7475         * math/w_j1l.c (__y1l): Likewise
7476         * math/w_jn.c (yn): Likewise.
7477         * math/w_jnf.c (ynf): Likewise.
7478         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7479         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
7480         value for Bessel function domain errors outside _SVID_ mode.
7481         Adjust sign of return value for yn (negative integer, 0).
7482         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7483         by zero in return for negative x and set sign appropriately for
7484         negative n.
7485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7486         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7487         * math/libm-test.inc (y0_test_data): Add more tests and adjust
7488         expectations in error cases.
7489         (y1_test_data): Likewise.
7490         (yn_test_data): Likewise.
7491         * sysdeps/i386/fpu/libm-test-ulps: Update.
7492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7494 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7496         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7497         "64" to "64-v1".  Add "64-v2".
7498         (abi-64-options): Rename to ...
7499         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
7500         (abi-64-condition): Rename to ...
7501         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
7502         (abi-64-ld-soname): Rename to ...
7503         (abi-64-v1-ld-soname): ... this.
7504         (abi-64-v2-options): Define.
7505         (abi-64-v2-condition): Likewise.
7506         (abi-64-v2-ld-soname): Likewise.
7507         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7508         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7513 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7514             Alan Modra  <amodra@gmail.com>
7516         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7517         New versions for use with the ELFv2 ABI.
7518         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7519         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7520         declaration.
7521         (struct La_ppc64v2_retval): Likewise.
7522         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7523         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7524         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7525         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7526         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7527         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7528         Do not save or restore CR.
7529         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7530         (_dl_profile_resolve): Do no save or restore CR.  Support extended
7531         return values for ELFv2 ABI.  Fix location of FPR return registers.
7532         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7533         updated values for _CALL_ELF == 2.
7534         (La_regs, La_retval, int_retval): Likewise.
7536 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7538         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7539         (FRAME_MIN_SIZE_PARM): Likewise.
7540         (FRAME_BACKCHAIN): Likewise.
7541         (FRAME_CR_SAVE): Likewise.
7542         (FRAME_LR_SAVE): Likewise.
7543         (FRAME_TOC_SAVE): Likewise.
7544         (FRAME_PARM_SAVE): Likewise.
7545         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7546         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7547         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7548         (call_mcount_parm_offset): New macro.
7549         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7550         (PROF): Use symbolic stack frame offsets.
7551         (TAIL_CALL_SYSCALL_ERROR): Likewise.
7552         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7553         Redefine in terms of FRAME_MIN_SIZE.
7554         (_dl_runtime_resolve): Use symbolic stack frame offsets.
7555         (_dl_profile_resolve): Likewise.  Update comment.
7556         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7557         symbols stack frame offsets.
7558         (__sigsetjmp): Likewise.
7559         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7560         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7561         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7562         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7565         (FRAME_BACKCHAIN): Remove.
7566         (FRAME_CR_SAVE): Likewise.
7567         (FRAME_LR_SAVE): Likewise.
7568         (FRAME_COMPILER_DW): Likewise.
7569         (FRAME_LINKER_DW): Likewise.
7570         (FRAME_TOC_SAVE): Likewise.
7571         (FRAME_PARM_SAVE): Likewise.
7572         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7573         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7574         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7576         (CHECK_SP): Use symbolic stack frame offsets.
7577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7578         zone" instead of caller's parameter save area for temp storage.
7579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7580         Likewise.  Also, use symbolic stack frame offsets.
7581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7582         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7583         our own stack frame instead of the caller's.
7584         (__socket): Use symbolic stack frame offsets.
7586 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7587             Alan Modra  <amodra@gmail.com>
7589         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7590         Define.
7591         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7592         (PPC64_LOCAL_ENTRY_OFFSET): Define.
7593         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7594         New function.
7595         (elf_machine_fixup_plt): Call it.
7596         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
7597         reloc arguments.
7598         (elf_machine_rela): Update call to elf_machine_plt_conflict.
7599         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7600         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7601         r2 before calling target.
7603 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7604             Alan Modra  <amodra@gmail.com>
7606         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7607         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7608         versions of macros to support ELFv2 ABI.
7609         (LOCALENTRY): New macro.
7610         (ENTRY, EALIGN): Use it.
7611         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7612         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7613         fall through into ENTRY entry point.
7614         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7615         Only define if _CALL_ELF != 2.
7617         (elf_machine_matches_host): Verify ABI version matches.
7618         (RTLD_START): Use LOCALENTRY.
7619         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7620         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7621         (PLT_ENTRY_WORDS): New macro.
7622         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7623         (elf_machine_runtime_setup): Support ELFv2 ABI.
7624         (elf_machine_fixup_plt): Likewise.
7625         (elf_machine_plt_conflict): Likewise.
7626         (resolve_ifunc): Likewise.
7627         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7628         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7629         Likewise.
7630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7631         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7633         (makecontext): Support ELFv2 ABI.
7634         * elf/elf.h (EF_PPC64_ABI): Define.
7636 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7638         * sysdeps/powerpc/powerpc64/sysdep.h
7639         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7640         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7641         (ENTRY) [ASSEMBLER]: ... but instead here ...
7642         (EALIGN) [ASSEMBLER]: ... and here.
7643         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7644         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7645         (ENTRY_2) [!ASSEMBLER]: Use it.
7646         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7647         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
7648         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7649         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7650         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7652         Use PPC64_LOAD_FUNCPTR.
7654         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7656 2013-12-04  Alan Modra  <amodra@gmail.com>
7658         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7659         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7660         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7661         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7663         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7664         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7665         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7666         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7667         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7668         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7670 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7673         (__makecontext): Fix incorrect CFI when backtracing out of
7674         context created via makecontext.
7675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7676         (__setcontext): Fix incorrect CFI during switch to new context.
7677         (__novec_setcontext): Likewise.
7679 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7681         [BZ #4772]
7682         * time/strptime_l.c (__strptime_internal): Allow modifiers
7683         in strptime.
7684         * time/tst-strptime.c (day_tests): Add testcase.
7686 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7688         * scripts/bench.pl: Skip over blank lines.
7690 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7692         [BZ #926]
7693         * manual/time.texi (Calendar Time): Clarify what timezone functions
7694         use.
7696 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7700 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7702         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7703         implementation.
7704         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7705         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7706         * debug/memset_chk.c (__memset_chk): Likewise.
7707         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7708         * debug/strncpy_chk.c: Likewise.
7710 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7712         [BZ #15268]
7713         [BZ #15425]
7714         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7715         (__ieee754_exp): For possibly underflowing results, check size of
7716         result and force underflow exception if required.
7717         * math/auto-libm-test-in: Add more tests of exp.
7718         * math/auto-libm-test-out: Regenerated.
7719         * sysdeps/i386/fpu/libm-test-ulps: Update.
7720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7722         [BZ #16283]
7723         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7724         * math/w_exp2f.c (__exp2f): Likewise.
7725         * math/w_exp2l.c (__exp2l): Likewise.
7726         * math/auto-libm-test-in: Do not allow missing errno on exp2
7727         underflow.
7728         * math/auto-libm-test-out: Regenerated.
7730 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
7732         [BZ #16274]
7733         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7734         handle filename validation.
7735         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7736         (do_open): Delete.
7738 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7740         [BZ #6786]
7741         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7742         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7743         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7744         <float.h>.
7745         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7746         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7747         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7748         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7749         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7750         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7751         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7752         * math/auto-libm-test-in: Don't allow missing errno from erfc.
7753         Add more erfc tests.
7754         * math/auto-libm-test-out: Regenerated.
7755         * sysdeps/i386/fpu/libm-test-ulps: Update.
7756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7758         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7759         exp2, expm1, j0 and j1.
7760         * math/auto-libm-test-out: Regenerated.
7761         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7762         (erfc_test_data): Likewise.
7763         (exp_test_data): Likewise.
7764         (exp_tonearest_test_data): Likewise.
7765         (exp_towardzero_test_data): Likewise.
7766         (exp_downward_test_data): Likewise.
7767         (exp_upward_test_data): Likewise.
7768         (exp10_test_data): Likewise.
7769         (exp2_test_data): Likewise.
7770         (expm1_test_data): Likewise.
7771         (j0_test_data): Likewise.
7772         (j1_test_data): Likewise.
7773         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7774         (input_flag_type): Add flag_xfail_rounding.
7775         (input_flags): Add xfail-rounding.
7776         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7777         (output_for_one_input_case): Handle flag_xfail_rounding.
7778         * sysdeps/i386/fpu/libm-test-ulps: Update.
7779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7781 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
7783         [BZ #16289]
7784         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7785         division by 0.
7787 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7789         [BZ #16195]
7790         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7791         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7792         (STAP_PROBE0): New macro.
7793         (STAP_PROBE1): Likewise.
7794         (STAP_PROBE2): Likewise.
7795         (STAP_PROBE3): Likewise.
7796         (STAP_PROBE4): Likewise.
7798 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
7800         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7802 2013-12-02  Steve Ellcey  <sellcey@mips.com>
7804         * benchtests/Makefile (bench): Add sqrt.
7805         (LDLIBS-bench-sqrt): New.
7806         * benchtests/sqrt-input: New.
7808 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
7810         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7811         (GAIH_EAI): Likewise.
7812         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7813         (gaih_inet): Likewise.
7814         (getaddrinfo): Don't use GAIH_EAI.
7816         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7817         (struct gaih): Remove definition.
7819 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7821         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7822         Use HERRNOP directly.
7824 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7828 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
7830         * math/gen-auto-libm-tests.c (test_functions): Add more
7831         single-argument functions.
7832         (special_fill_pi_2): New function.
7833         (special_fill_minus_pi_2): Likewise.
7834         (special_fill_pi_6): Likewise.
7835         (special_fill_minus_pi_6): Likewise.
7836         (special_fill_pi_3): Likewise.
7837         (special_fill_2pi_3): Likewise.
7838         (special_fill_e): Likewise.
7839         (special_fill_1_e): Likewise.
7840         (special_fill_e_minus_1): Likewise.
7841         (special_real_inputs): Add more special inputs.
7842         (output_for_one_input_case): Do not require ERANGE on underflow to
7843         zero if round-to-nearest result does not underflow to zero, unless
7844         exact results required.
7845         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7846         atan, atanh, cbrt, cos and cosh.
7847         * math/auto-libm-test-out: Regenerated.
7848         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7849         (acos_tonearest_test_data): Likewise.
7850         (acos_towardzero_test_data): Likewise.
7851         (acos_downward_test_data): Likewise.
7852         (acos_upward_test_data): Likewise.
7853         (acosh_test_data): Likewise.
7854         (asin_test_data): Likewise.
7855         (asin_tonearest_test_data): Likewise.
7856         (asin_towardzero_test_data): Likewise.
7857         (asin_upward_test_data): Likewise.
7858         (asinh_test_data): Likewise.
7859         (atan_test_data): Likewise.
7860         (atanh_test_data): Likewise.
7861         (cbrt_test_data): Likewise.
7862         (cos_test_data): Likewise.
7863         (cos_tonearest_test_data): Likewise.
7864         (cos_towardzero_test_data): Likewise.
7865         (cos_downward_test_data): Likewise.
7866         (cos_upward_test_data): Likewise.
7867         (cosh_test_data): Likewise.
7868         (cosh_tonearest_test_data): Likewise.
7869         (cosh_towardzero_test_data): Likewise.
7870         (cosh_downward_test_data): Likewise.
7871         (cosh_upward_test_data): Likewise.
7872         * sysdeps/i386/fpu/libm-test-ulps: Update.
7873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7875 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
7877         [BZ #6787]
7878         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7879         * math/w_exp10f.c (__exp10f): Likewise.
7880         * math/w_exp10l.c (__exp10l): Likewise.
7881         * math/libm-test.inc (exp10_test_data): Add more tests and expect
7882         errno settings in existing tests.
7884         [BZ #14032]
7885         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7886         precision control set to double precision.
7887         * sysdeps/i386/fpu/w_sqrt.c: New file.
7888         * math/auto-libm-test-in: Add more tests.
7889         * math/auto-libm-test-out: Update.
7891         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7892         (sqrt_test_tonearest): New function.
7893         (sqrt_towardzero_test_data): New variable.
7894         (sqrt_test_towardzero): New function.
7895         (sqrt_downward_test_data): New variable.
7896         (sqrt_test_downward): New function.
7897         (sqrt_upward_test_data): New variable.
7898         (sqrt_test_upward): New function.
7899         (main): Call the new functions.
7901         * math/gen-auto-libm-tests.c: New file.
7902         * math/auto-libm-test-in: Likewise.
7903         * math/auto-libm-test-out: New generated file.
7904         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7905         variables.
7906         (%beautify): Add generated representations of zero.
7907         (top level): Set $auto_input and call parse_auto_input.
7908         (beautify): Remove trailing "f" from hex float constants.
7909         (parse_args): Handle XFAIL_TEST.
7910         (convert_condition): New function.
7911         (or_value): Likewise.
7912         (or_cond_value): Likewise.
7913         (generate_testfile): Handle AUTO_TESTS_* lines.
7914         (parse_auto_input): New function.
7915         * math/libm-test.inc (XFAIL_TEST): New macro.
7916         (ERRNO_UNCHANGED): Update value.
7917         (ERRNO_EDOM): Likewise.
7918         (ERRNO_ERANGE): Likewise.
7919         (IGNORE_RESULT): Likewise.
7920         (TEST_COND_flt_32): New macro.
7921         (TEST_COND_dbl_64): Likewise.
7922         (TEST_COND_ldbl_96_intel): Likewise.
7923         (TEST_COND_ldbl_96_m68k): Likewise.
7924         (TEST_COND_ldbl_128): Likewise.
7925         (TEST_COND_ldbl_128ibm): Likewise.
7926         (TEST_COND_long32): Likewise.
7927         (TEST_COND_long64): Likewise.
7928         (TEST_COND_before_rounding): Likewise.
7929         (TEST_COND_after_rounding): Likewise.
7930         (enable_test): Handle XFAIL_TEST flag.
7931         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7932         with finite results.
7933         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7934         auto-libm-test-out.
7936 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7937             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7939         [BZ #16214]
7940         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7941         __tls_get_addr_internal instead of __tls_get_offset in order to
7942         avoid GOT pointer dependency.  Make rtld export
7943         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7944         __tls_get_addr since we are a __tls_get_offset platform.
7945         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7946         GOT pointer being set up before.
7947         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7949 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
7951         * manual/math.texi (Errors in Math Functions): Document accuracy
7952         goals.
7954         [BZ #15004]
7955         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7956         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7957         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7958         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7959         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7960         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7961         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7962         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7963         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7964         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7965         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7966         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7967         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7968         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7969         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7970         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7972         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7973         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7974         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7975         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7976         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7977         Likewise.
7978         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7979         Likewise.
7980         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7981         Likewise.
7982         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7983         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7984         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7985         atomic-feupdateenv and flt-rounds.
7986         * sysdeps/powerpc/nofpu/Versions (libc): Add
7987         __atomic_feholdexcept, __atomic_feclearexcept,
7988         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7989         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7990         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7991         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7992         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7993         here.
7994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7995         Update.
7997         * manual/arith.texi (FP Exceptions): Document that exceptions may
7998         not be raised when matherr is used.
7999         (Math Error Reporting): Document overflow in directed rounding
8000         modes.  Document that errno may not be set when finite values are
8001         returned on overflow.  Document intent to set errno on underflow
8002         only for underflow to zero.
8004         [BZ #16271]
8005         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8006         round-to-nearest then adjust result for other rounding modes.
8007         * include/fenv.h (fegetround): Use libm_hidden_proto.
8008         * math/fegetround.c (fegetround): Use libm_hidden_def.
8009         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8010         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8011         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8012         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8013         Likewise.
8014         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8015         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8016         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8017         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8019 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8021         [BZ #16077]
8022         * nss/Versions (libnss_files): Add
8023         _nss_files_gethostbyname3_r.
8024         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8025         New function.
8026         (HOST_DB_LOOKUP): Remove macro.
8027         (_nss_files_gethostbyname_r): Implement function without the
8028         HOST_DB_LOOKUP macro.
8029         (_nss_files_gethostbyname2_r): Likewise.
8031 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
8033         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8035 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
8037         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8038         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8039         warning.
8041 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8043         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8044         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8045         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8046         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8047         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8048         __fe_nomask_env_priv and attribute_hidden.
8049         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8050         (libc_feupdateenv_test_ppc): Likewise.
8051         (libc_feresetround_ppc): Likewise.
8052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8053         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8054         compat_symbol macro.
8055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8056         (__fe_nomask_env): Likewise.
8057         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8059 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8061         * string/Makefile: Remove ifunc tests.
8062         * string/test-string.h: Define TEST_IFUNC.
8063         * string/test-bcopy-ifunc.c: Remove.
8064         * string/test-bzero-ifunc.c: Likewise.
8065         * string/test-memccpy-ifunc.c: Likewise.
8066         * string/test-memchr-ifunc.c: Likewise.
8067         * string/test-memcmp-ifunc.c: Likewise.
8068         * string/test-memcpy-ifunc.c: Likewise.
8069         * string/test-memmem-ifunc.c: Likewise.
8070         * string/test-memmove-ifunc.c: Likewise.
8071         * string/test-mempcpy-ifunc.c: Likewise.
8072         * string/test-memrchr-ifunc.c: Likewise.
8073         * string/test-memset-ifunc.c: Likewise.
8074         * string/test-rawmemchr-ifunc.c: Likewise.
8075         * string/test-stpcpy-ifunc.c: Likewise.
8076         * string/test-stpncpy-ifunc.c: Likewise.
8077         * string/test-strcasecmp-ifunc.c: Likewise.
8078         * string/test-strcasestr-ifunc.c: Likewise.
8079         * string/test-strcat-ifunc.c: Likewise.
8080         * string/test-strchr-ifunc.c: Likewise.
8081         * string/test-strchrnul-ifunc.c: Likewise.
8082         * string/test-strcmp-ifunc.c: Likewise.
8083         * string/test-strcpy-ifunc.c: Likewise.
8084         * string/test-strcspn-ifunc.c: Likewise.
8085         * string/test-strlen-ifunc.c: Likewise.
8086         * string/test-strncasecmp-ifunc.c: Likewise.
8087         * string/test-strncat-ifunc.c: Likewise.
8088         * string/test-strncmp-ifunc.c: Likewise.
8089         * string/test-strncpy-ifunc.c: Likewise.
8090         * string/test-strnlen-ifunc.c: Likewise.
8091         * string/test-strpbrk-ifunc.c: Likewise.
8092         * string/test-strrchr-ifunc.c: Likewise.
8093         * string/test-strspn-ifunc.c: Likewise.
8094         * string/test-strstr-ifunc.c: Likewise.
8096 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8098         * benchtests/Makefile: Remove ifunc tests.
8099         * benchtests/bench-string.h: Define TEST_IFUNC.
8100         * benchtests/bench-bcopy-ifunc.c: Remove.
8101         * benchtests/bench-bzero-ifunc.c: Likewise.
8102         * benchtests/bench-memccpy-ifunc.c: Likewise.
8103         * benchtests/bench-memchr-ifunc.c: Likewise.
8104         * benchtests/bench-memcmp-ifunc.c: Likewise.
8105         * benchtests/bench-memcpy-ifunc.c: Likewise.
8106         * benchtests/bench-memmem-ifunc.c: Likewise.
8107         * benchtests/bench-memmove-ifunc.c: Likewise.
8108         * benchtests/bench-mempcpy-ifunc.c: Likewise.
8109         * benchtests/bench-memrchr-ifunc.c: Likewise.
8110         * benchtests/bench-memset-ifunc.c: Likewise.
8111         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8112         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8113         * benchtests/bench-stpcpy-ifunc.c: Likewise.
8114         * benchtests/bench-stpncpy-ifunc.c: Likewise.
8115         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8116         * benchtests/bench-strcasestr-ifunc.c: Likewise.
8117         * benchtests/bench-strcat-ifunc.c: Likewise.
8118         * benchtests/bench-strchr-ifunc.c: Likewise.
8119         * benchtests/bench-strchrnul-ifunc.c: Likewise.
8120         * benchtests/bench-strcmp-ifunc.c: Likewise.
8121         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8122         * benchtests/bench-strcpy-ifunc.c: Likewise.
8123         * benchtests/bench-strcspn-ifunc.c: Likewise.
8124         * benchtests/bench-strlen-ifunc.c: Likewise.
8125         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8126         * benchtests/bench-strncat-ifunc.c: Likewise.
8127         * benchtests/bench-strncmp-ifunc.c: Likewise.
8128         * benchtests/bench-strncpy-ifunc.c: Likewise.
8129         * benchtests/bench-strnlen-ifunc.c: Likewise.
8130         * benchtests/bench-strpbrk-ifunc.c: Likewise.
8131         * benchtests/bench-strrchr-ifunc.c: Likewise.
8132         * benchtests/bench-strsep-ifunc.c: Likewise.
8133         * benchtests/bench-strspn-ifunc.c: Likewise.
8134         * benchtests/bench-strstr-ifunc.c: Likewise.
8136 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8138         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8140 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8142         * resolv/netdb.h: Use __glibc_reserved instead __unused.
8143         * rt/aio.h: Likewise.
8144         * sysdeps/gnu/bits/utmp.h: Likewise.
8145         * sysdeps/gnu/bits/utmpx.h: Likewise.
8146         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8147         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8148         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8149         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8150         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8151         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8152         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8153         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8154         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8155         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8156         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8157         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8158         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8160         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8161         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8162         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8163         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8164         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8165         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8166         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8167         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8168         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8169         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8170         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8172         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8173         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8174         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8175         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8176         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8177         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8178         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8179         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8180         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8181         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8182         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8183         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8184         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8185         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8186         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8187         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8189 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
8191         [BZ #16245]
8192         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8193         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8195 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
8197         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8198         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8199         Likewise.
8201 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8203         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8204         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8205         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8206         (__fesetround): Remove define.
8207         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8208         rounding and exceptions handling.
8209         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8210         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8211         (__fe_nomask_env): Likewise.
8212         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8213         __fegetround instead of fegetround.
8214         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8215         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8217 2013-11-21  Roland McGrath  <roland@hack.frob.com>
8219         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8220         it's there.
8222         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8224 2013-11-21  Meador Inge  <meadori@codesourcery.com>
8226         [BZ #11157]
8227         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8228         (encrypt_r): Likewise.
8229         * malloc/obstack.h (obstack_free): Likewise.
8230         * posix/unistd.h (encrypt): Likewise.
8232 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
8234         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8235         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8236         DL_CALL_DT_FINI() that call the functions directly.
8237         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8238         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8239         * elf/dl-fini.c: Likewise.
8241 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
8243         * malloc/hooks.c (memalign_check): Add alignment rounding.
8244         * malloc/malloc.c (_mid_memalign): New function.
8245         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8246         Implement by calling _mid_memalign.
8247         * manual/probes.texi (Memory Allocation Probes): Remove
8248         memory_valloc_retry and memory_pvalloc_retry.
8250 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8252         * locale/programs/locarchive.c (open_archive): Add const
8253         qualifier to ARCHIVEFNAME and copy default fname to
8254         DEFAULT_FNAME.
8256         [BZ #15601]
8257         * libio/tst-widetext.input: Rename Oriya to Odia.
8258         * locale/iso-639.def: Likewise.
8260         * manual/probes.texi (Mathematical Function Probes): Add
8261         documentation for sin, cos, asin and acos probes.
8262         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8263         (__sin32): Add slowasin probe.
8264         (__cos32): Add slowacos probe.
8265         (__mpsin): Add slowsin probe.
8266         (__mpcos): Add slowcos probe.
8268 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
8270         [BZ #15483]
8271         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8272         thread-local __sim_exceptions_thread and global
8273         __sim_exceptions_global.
8274         (__sim_disabled_exceptions): Change to thread-local
8275         __sim_disabled_exceptions_thread and global
8276         __sim_disabled_exceptions_global.
8277         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8278         and global __sim_round_mode_global.
8279         (__simulate_exceptions): Use thread-local floating-point state and
8280         set global state from it as needed.
8281         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8282         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8283         __sim_round_mode_thread.
8284         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8285         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8286         and global __sim_exceptions_global.
8287         (__sim_disabled_exceptions): Change to thread-local
8288         __sim_disabled_exceptions_thread and global
8289         __sim_disabled_exceptions_global.
8290         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8291         and global __sim_round_mode_global.
8292         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8293         (SIM_SET_GLOBAL): Likewise.
8294         * sysdeps/powerpc/soft-fp/sfp-machine.h
8295         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8296         __sim_round_mode_thread.
8297         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8298         __sim_disabled_exceptions_thread.
8299         (__sim_exceptions): Change to __sim_exceptions_thread.
8300         (__sim_disabled_exceptions): Change to
8301         __sim_disabled_exceptions_thread.
8302         (__sim_round_mode): Change to __sim_round_mode_thread.
8303         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8304         thread-local floating-point state and set global state from it as
8305         needed.
8306         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8307         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8308         (__sim_disabled_exceptions): Remove extern declaration.
8309         (feenableexcept): Use thread-local floating-point state and set
8310         global state from it as needed.
8311         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8312         extern declaration.
8313         (__sim_disabled_exceptions): Likewise.
8314         (__sim_round_mode): Likewise.
8315         (__fegetenv): Use thread-local floating-point state.
8316         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8317         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8318         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8319         floating-point state and set global state from it as needed.
8320         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8321         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8322         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8323         Likewise.
8324         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8325         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8326         Likewise.
8327         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8328         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8329         Use __sim_round_mode_thread.
8330         * math/test-fenv-tls.c: New file.
8331         * math/Makefile (tests): Add test-fenv-tls.
8332         ($(objpfx)test-fenv-tls): Depend on
8333         $(common-objpfx)nptl/libpthread.so.
8335 2013-11-19  Andreas Schwab  <schwab@suse.de>
8337         * locale/programs/locale.c (show_info): Decode wordarray elements.
8338         * locale/categories.def (LC_MONETARY): Add element for
8339         _NL_MONETARY_CRNCYSTR.
8340         * locale/C-monetary.c (conversion_rate): New variable.
8341         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8342         element.
8344 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
8346         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8347         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8349 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8351         * elf/Makefile (tst-auxv): New test.
8352         * elf/tst-auxv.c: New
8353         * elf/rtld.c (dl_main): Adjust AT_EXECFN
8355 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
8357         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8358         (hidden_proto): Caller changed.
8359         (hidden_tls_proto): New macro.
8360         (libc_hidden_tls_proto): Likewise.
8361         (rtld_hidden_tls_proto): Likewise.
8362         (libm_hidden_tls_proto): Likewise.
8363         (libresolv_hidden_tls_proto): Likewise.
8364         (librt_hidden_tls_proto): Likewise.
8365         (libdl_hidden_tls_proto): Likewise.
8366         (libnss_files_hidden_tls_proto): Likewise.
8367         (libnsl_hidden_tls_proto): Likewise.
8368         (libnss_nisplus_hidden_tls_proto): Likewise.
8369         (libutil_hidden_tls_proto): Likewise.
8371 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
8373         [BZ #10253]
8374         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8375         (decompose_rpath): Defer expansion to fillin_rpath.
8376         (_dl_init_paths): Pass linkmap to fillin_rpath.
8378 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8380         * benchtests/Makefile: Add strsep.
8381         * benchtests/bench-strsep.c: New file: strsep benchtest.
8382         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8384 2013-11-18  Andreas Schwab  <schwab@suse.de>
8386         * locale/programs/locale.c (show_info) [case byte]: Check for
8387         '\377' instead of '\177'.
8388         * locale/C-monetary.c (not_available): Always use "\377".
8389         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8390         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
8391         detect unavailable sign_posn locale elements.
8392         * locale/localeconv.c (__localeconv): For grouping and
8393         mon_grouping handle "\177" and "\377" like no grouping.
8394         (INT_ELEM): New macro.  Use it to set all numeric members.
8395         * locale/programs/ld-monetary.c (monetary_read)
8396         <tok_mon_grouping>: Normalize single -1 to the empty string.
8397         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8398         Likewise.
8400 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8402         [BZ #16055]
8403         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8404         when we match (nil).
8405         * stdio-common/tst-sscanf.c (struct test): Add testcase.
8407 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
8409         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8410         (NO_TEST_INLINE): Update value.
8411         (ERRNO_UNCHANGED): Likewise.
8412         (ERRNO_EDOM): Likewise.
8413         (ERRNO_ERANGE): Likewise.
8414         (IGNORE_RESULT): Likewise.
8415         (check_float_internal): Check signs of NaN results if
8416         TEST_NAN_SIGN used.
8417         (check_complex): Pass TEST_NAN_SIGN flag through to second
8418         check_float_internal call.
8419         (copysign_test_data): Add tests with quiet NaNs as second
8420         argument.  Use TEST_NAN_SIGN.
8421         (fabs_test_data): Add test of negative quiet NaN argument.  Use
8422         TEST_NAN_SIGN.
8423         (signbit_test_data): Add tests of quiet NaN argument.
8424         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8426         * math/gen-libm-test.pl (show_exceptions): Take extra argument
8427         $ignore_result.
8428         (parse_args): Handle function results specified as IGNORE.
8429         * math/libm-test.inc (IGNORE_RESULT): New macro.
8430         (check_float_internal): Do not check numerical result if flag
8431         IGNORE_RESULT set.
8432         (check_complex): Pass through IGNORE_RESULT to second
8433         check_float_internal call.
8434         (check_int): Do not check numerical result if flag IGNORE_RESULT
8435         set.
8436         (check_long): Likewise.
8437         (check_bool): Likewise.
8438         (check_longlong): Likewise.
8439         (lrint_test_data): Add tests of infinite and NaN arguments.
8440         (lrint_tonearest_test_data): Likewise.
8441         (lrint_towardzero_test_data): Likewise.
8442         (lrint_downward_test_data): Likewise.
8443         (lrint_upward_test_data): Likewise.
8444         (llrint_test_data): Likewise.
8445         (llrint_tonearest_test_data): Likewise.
8446         (llrint_towardzero_test_data): Likewise.
8447         (llrint_downward_test_data): Likewise.
8448         (llrint_upward_test_data): Likewise.
8449         (lround_test_data): Likewise.
8450         (llround_test_data): Likewise.
8452         * math/libm-test.inc (NO_TEST_INLINE): New macro.
8453         (ERRNO_UNCHANGED): Update value.
8454         (ERRNO_EDOM): Likewise.
8455         (ERRNO_ERANGE): Likewise.
8456         (NO_TEST_INLINE_FLOAT): New macro.
8457         (NO_TEST_INLINE_DOUBLE): Likewise.
8458         (enable_test): New function.
8459         (RUN_TEST_f_f): Check enable_test before running test.
8460         (RUN_TEST_2_f): Likewise.
8461         (RUN_TEST_fff_f): Likewise.
8462         (RUN_TEST_c_f): Likewise.
8463         (RUN_TEST_f_f1): Likewise.
8464         (RUN_TEST_fF_f1): Likewise.
8465         (RUN_TEST_fI_f1): Likewise.
8466         (RUN_TEST_ffI_f1): Likewise.
8467         (RUN_TEST_c_c): Likewise.
8468         (RUN_TEST_cc_c): Likewise.
8469         (RUN_TEST_f_i): Likewise.
8470         (RUN_TEST_f_i_tg): Likewise.
8471         (RUN_TEST_ff_i_tg): Likewise.
8472         (RUN_TEST_f_b): Likewise.
8473         (RUN_TEST_f_b_tg): Likewise.
8474         (RUN_TEST_f_l): Likewise.
8475         (RUN_TEST_f_L): Likewise.
8476         (RUN_TEST_fFF_11): Likewise.
8477         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8478         conditionals.
8479         (cosh_test_data): Likewise.
8480         (exp_test_data): Likewise.
8481         (expm1_test_data): Likewise.
8482         (hypot_test_data): Likewise.
8483         (pow_test_data): Likewise.
8484         (sinh_test_data): Likewise.
8485         (tanh_test_data): Likewise.
8486         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8487         flags argument.
8489         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8490         tests with quiet NaN input and output.
8491         (acosh_test_data): Likewise.
8492         (asin_test_data): Likewise.
8493         (asinh_test_data): Likewise.
8494         (atan_test_data): Likewise.
8495         (atanh_test_data): Likewise.
8496         (atan2_test_data): Likewise.
8497         (cbrt_test_data): Likewise.
8498         (cos_test_data): Likewise.
8499         (cosh_test_data): Likewise.
8500         (erf_test_data): Likewise.
8501         (erfc_test_data): Likewise.
8502         (exp_test_data): Likewise.
8503         (exp10_test_data): Likewise.
8504         (exp2_test_data): Likewise.
8505         (expm1_test_data): Likewise.
8506         (hypot_test_data): Likewise.
8507         (j0_test_data): Likewise.
8508         (j1_test_data): Likewise.
8509         (jn_test_data): Likewise.
8510         (lgamma_test_data): Likewise.
8511         (log_test_data): Likewise.
8512         (log10_test_data): Likewise.
8513         (log1p_test_data): Likewise.
8514         (log2_test_data): Likewise.
8515         (pow_test_data): Likewise.
8516         (scalb_test_data): Likewise.
8517         (sin_test_data): Likewise.
8518         (sincos_test_data): Likewise.
8519         (sinh_test_data): Likewise.
8520         (tan_test_data): Likewise.
8521         (tanh_test_data): Likewise.
8522         (tgamma_test_data): Likewise.
8523         (y0_test_data): Likewise.
8524         (y1_test_data): Likewise.
8525         (yn_test_data): Likewise.
8527         [BZ #16167]
8528         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8529         argument being NaN and avoid computations with second argument in
8530         that case.
8531         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8532         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8533         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8535 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
8537         * locale/iso-639.def: Add Chitwani Tharu (the).
8539 2013-11-14  Andreas Schwab  <schwab@suse.de>
8541         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8542         word instead of empty string.
8544 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8547         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8549         (__fe_nomask_env): Likewise.
8551 2013-11-13  Steve Ellcey  <sellcey@mips.com>
8553         * benchtests/bench-timing.h: Include time.h.
8555 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
8557         [BZ #15997]
8558         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8559         to 3.4.0 for x32.
8560         * sysdeps/unix/sysv/linux/configure: Regenerated.
8562 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
8564         [BZ #16151]
8565         * stdlib/strtod_l.c (round_and_return): Do not consider
8566         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8567         exponent one less than half the least subnormal exponent.
8568         * stdlib/test-strtod-round-data: Add more tests.
8569         * stdlib/tst-strtod-round.c (tests): Regenerated.
8571 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8573         [BZ #14143]
8574         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8575         (__fe_mask_env): Likewise.
8576         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8577         libm_hidden_proto and add function prototype.
8578         (__fe_mask_env): Add function prototype.
8579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8580         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8582         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8584         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8586 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8588         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8589         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8591 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8593         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8594         of htab_find_slot().
8596 2013-11-11  David S. Miller  <davem@davemloft.net>
8598         [BZ #16150]
8599         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8600         symbol in the non-vis3 case in static builds.
8601         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8602         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8603         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8604         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8606 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8608         [BZ #387]
8609         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8610         it is empty.
8612 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8614         * benchtests/Makefile: Add bench-strtod.
8615         * benchtests/bench-strtod.c: New file: strtod benchtest
8617 2013-11-11  Andreas Schwab  <schwab@suse.de>
8619         [BZ #16153]
8620         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8621         terminating NUL in key length.
8623 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8625         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8626         Add artificial ODP entry for vDSO symbol for PPC64.
8627         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8628         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8630 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8632         [BZ #15374]
8633         * nss/getent.c (services_keys): Recognize services starting with digit.
8635 2013-11-06  David S. Miller  <davem@davemloft.net>
8637         [BZ #15985]
8638         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8639         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8641 2013-11-06  Will Newton  <will.newton@linaro.org>
8643         * manual/memory.texi (Malloc Examples): Remove register
8644         keyword from examples.
8646 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
8648         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8650 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
8652         [BZ #6981]
8653         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8654         depending on [__GCC_IEC_559 > 0].
8655         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8656         depending on [__GCC_IEC_559_COMPLEX > 0].
8658 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
8660         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8661         to iso-639.def.
8663 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
8665         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8667 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
8669         [BZ #16112]
8670         * malloc/malloc (malloc_info): Do not handle first bin as
8671         special case.
8673 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
8675         * locale/iso-639.def: Add Central Nahuatl (nhn).
8677 2013-11-01  Bruno Haible  <bruno@clisp.org>
8679         [BZ #7003]
8680         * manual/math.texi (BSD Random): Specify range upper bound as
8681         in POSIX.
8683 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
8685         * locale/iso-639.def: Add Meadow Mari (mhr).
8687 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
8689         [BZ #14752], [BZ #15763]
8690         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8691         Validate name.
8692         * rt/tst_shm.c: Add test for escaping directory.
8694 2013-10-31  Andreas Schwab  <schwab@suse.de>
8696         [BZ #15917]
8697         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8698         followed by 'x' as part of digit sequence.
8699         * stdio-common/tst-sscanf.c (double_tests2): New tests.
8701 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8703         [BZ #16037]
8704         * configure.ac: allow GNU Make 4.0 and greater.
8705         * configure: Regenerated.
8707 2013-10-30  Will Newton  <will.newton@linaro.org>
8709         [BZ #16038]
8710         * malloc/hooks.c (memalign_check): Limit alignment to the
8711         maximum representable power of two.
8712         * malloc/malloc.c (__libc_memalign): Likewise.
8713         * malloc/tst-memalign.c (do_test): Add test for very
8714         large alignment values.
8715         * malloc/tst-posix_memalign.c (do_test): Likewise.
8717 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8719         [BZ #11087]
8720         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8721         (munmap_chunk): Likewise.
8722         (mremap_chunk): Likewise.
8724 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8726         [BZ #15799]
8727         * stdlib/div.c (div): Remove obsolete code.
8728         * stdlib/ldiv.c (ldiv): Likewise.
8729         * stdlib/lldiv.c (lldiv): Likewise.
8731 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8733         [BZ #16071]
8734         * nss/nss_files/files-XXX.c (get_contents_ret): New
8735         enumerator.
8736         (get_contents): New function.
8737         (internal_getent): Use it.  Expand size of LINEBUFLEN.
8739 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
8741         * configure.in: Moved to ...
8742         * configure.ac: ... here. Change reference to configure.in
8743         to configure.ac.
8744         * sysdeps/arm/preconfigure.ac: ... here.
8745         configure.in to configure.ac.
8746         * sysdeps/gnu/configure.in: Moved to ...
8747         * sysdeps/gnu/configure.ac: ... here.
8748         * sysdeps/i386/configure.in: Moved to ...
8749         * sysdeps/i386/configure.ac: ... here.
8750         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8751         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8752         * sysdeps/mach/configure.in: Moved to ...
8753         * sysdeps/mach/configure.ac: ... here.
8754         * sysdeps/mach/hurd/configure.in: Moved to ...
8755         * sysdeps/mach/hurd/configure.ac: ... here.
8756         * sysdeps/powerpc/configure.in: Moved to ...
8757         * sysdeps/powerpc/configure.ac: ... here.
8758         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8759         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8760         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8761         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8762         * sysdeps/s390/s390-32/configure.in: Moved to ...
8763         * sysdeps/s390/s390-32/configure.ac: ... here.
8764         * sysdeps/s390/s390-64/configure.in: Moved to ...
8765         * sysdeps/s390/s390-64/configure.ac: ... here.
8766         * sysdeps/sh/configure.in: Moved to ...
8767         * sysdeps/sh/configure.ac: ... here.
8768         * sysdeps/sparc/configure.in: Moved to ...
8769         * sysdeps/sparc/configure.ac: ... here.
8770         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8771         * sysdeps/unix/sysv/linux/configure.ac: ... here.
8772         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8773         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8774         * sysdeps/x86_64/configure.in: Moved to ...
8775         * sysdeps/x86_64/configure.ac: ... here.
8776         * sysdeps/x86_64/preconfigure.in: Moved to ...
8777         * sysdeps/x86_64/preconfigure.ac: ... here.
8778         * aclocal.m4: Change reference to configure.in to configure.ac.
8779         * config.h.in: Likewise.
8780         * manual/install.texi: Likewise.
8781         * manual/maint.texi: Likewise.
8782         * Makefile: Likewise.
8783         * malloc/Makefile: Likewise.
8784         * nscd/Makefile: Likewise.
8785         * Makeconfig: Change reference to configure.in and
8786         preconfigure.in to configure.ac and preconfigure.ac
8787         respectively.
8788         * INSTALL: Regenerated.
8789         * configure: Likewise.
8790         * sysdeps/gnu/configure: Likewise.
8791         * sysdeps/i386/configure: Likewise.
8792         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8793         * sysdeps/mach/configure: Likewise.
8794         * sysdeps/mach/hurd/configure: Likewise.
8795         * sysdeps/powerpc/configure: Likewise.
8796         * sysdeps/powerpc/powerpc32/configure: Likewise.
8797         * sysdeps/powerpc/powerpc64/configure: Likewise.
8798         * sysdeps/s390/s390-32/configure: Likewise.
8799         * sysdeps/s390/s390-64/configure: Likewise.
8800         * sysdeps/sh/configure: Likewise.
8801         * sysdeps/sparc/configure: Likewise.
8802         * sysdeps/unix/sysv/linux/configure: Likewise.
8803         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8804         * sysdeps/x86_64/configure: Likewise.
8805         * sysdeps/x86_64/preconfigure: Likewise.
8807 2013-10-29  Andreas Schwab  <schwab@suse.de>
8809         * stdio-common/Makefile (tst-swscanf-ENV): Define.
8811 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8813         * benchtests/pow-inputs: Add new inputs.
8815         * benchtests/exp-inputs: Add new inputs.
8817         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8818         conditional check for return value.
8819         (__cos32): Likewise.
8821 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8823         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8824         to provide a boost for large inputs with word alignment.
8825         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8826         implementation based on optimized PPC64 strcpy.
8827         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8828         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8829         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8830         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8832 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8834         [BZ #2801]
8835         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8837 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8839         [BZ #14876]
8840         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8841         * time/tst-strptime.c (day_tests): Add testcase.
8843 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8845         [BZ #14029]
8846         * manual/pattern.texi: Acknowledge that fnmatch can fail.
8848 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
8850         [BZ #16074]
8851         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8852         MAP_FAILED on error.
8854 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8856         [BZ #16072]
8857         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8858         heap for large requests.
8860 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
8862         [BZ #9954]
8863         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8864         result if the result has no associated interface.
8865         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8866         interface for all 127.X.Y.Z addresses.
8868 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
8870         * locale/iso-639.def: Add Ligurian (lij)
8872 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
8874         [BZ #15825]
8875         * sunrpc/rpc_main.c: Document rpcgen -5.
8877 2013-10-19  Michael Stahl  <mstahl@redhat.com>
8879         * elf/rtld.c (do_preload): Print the reason why preloading failed.
8881 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8883         [BZ #10278]
8884         * posix/glob.c: Match only directories when trailing slash is present.
8885         * posix/tst-gnuglob.c (my_opendir): Do not open files.
8886         (main): Add testcase.
8888 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8890         [BZ #15670]
8891         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8893 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
8895         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8896         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8897         AUTH_DES and cindex for FIPS 140-2.
8898         (DES Encryption): Add cindex FIPS 46-3.
8900         * locale/locarchive.h (struct locarhandle): Add fname.
8901         * locale/programs/localedef.c (main): Pass ARGV[remaining]
8902         if an optional argument was specified to --list-archive,
8903         otherwise NULL.
8904         * locale/programs/locarchive.c (show_archive_content): Take new
8905         argument fname and pass it via ah.fname to open_archive.
8906         * locale/programs/localedef.h: Update decl.
8907         (open_archive): If AH->fname is non-null, open that file
8908         rather than the default file name, and don't ignore ENOENT.
8909         (create_archive): Set AH.fname to NULL.
8910         (delete_locales_from_archive): Likewise.
8911         (add_locales_to_archive): Likewise.
8912         * locale/programs/locfile.c (write_all_categories): Likewise.
8914 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
8915             Aldy Hernandez  <aldyh@redhat.com>
8917         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8918         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8919         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8920         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8921         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8922         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8923         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8924         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8925         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8926         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8927         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8928         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8929         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8930         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8931         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8932         Likewise.
8933         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8934         Likewise.
8935         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8936         Likewise.
8937         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8938         Likewise.
8939         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8940         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8941         Likewise.
8942         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8943         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8944         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8945         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8946         Likewise.
8947         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8948         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8949         * sysdeps/powerpc/preconfigure: Likewise.
8950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8951         Likewise.
8952         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8953         Replace contents of file by #include of <fenv_libc.h>.
8954         * sysdeps/powerpc/soft-fp/sfp-machine.h
8955         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8956         and <sys/prctl.h>.
8957         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8958         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8959         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8960         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8961         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8962         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8963         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8964         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8965         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8966         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8967         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8968         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8970         Allow copysignl PLT reference to be missing.
8972 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
8973             Joseph Myers  <joseph@codesourcery.com
8975         [BZ #15948]
8976         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8977         single character.
8978         (add_to_tablewc): Assert sequence of wide characters is nonempty.
8980 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8982         * elf/tst-tls-dlinfo.c: Don't include tls.h.
8983         * elf/tst-tls1.c: Likewise.
8984         * elf/tst-tls10.h: Likewise.
8985         * elf/tst-tls14.c: Likewise.
8986         * elf/tst-tls2.c: Likewise.
8987         * elf/tst-tls3.c: Likewise.
8988         * elf/tst-tls4.c: Likewise.
8989         * elf/tst-tls5.c: Likewise.
8990         * elf/tst-tls6.c: Likewise.
8991         * elf/tst-tls7.c: Likewise.
8992         * elf/tst-tls8.c: Likewise.
8993         * elf/tst-tls9.c: Likewise.
8994         * elf/tst-tlsmod1.c: Likewise.
8995         * elf/tst-tlsmod13.c: Likewise.
8996         * elf/tst-tlsmod13a.c: Likewise.
8997         * elf/tst-tlsmod14a.c: Likewise.
8998         * elf/tst-tlsmod16a.c: Likewise.
8999         * elf/tst-tlsmod16b.c: Likewise.
9000         * elf/tst-tlsmod2.c: Likewise.
9001         * elf/tst-tlsmod3.c: Likewise.
9002         * elf/tst-tlsmod4.c: Likewise.
9003         * elf/tst-tlsmod5.c: Likewise.
9004         * elf/tst-tlsmod6.c: Likewise.
9006 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
9008         [BZ #12486]
9009         * malloc/malloc.c: remove checks for statistics.
9011 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
9013         [BZ #15277]
9014         * inet/inet_net.c (inet_network): Detect additional invalid strings.
9015         * inet/tst-network.c: Add testcase.
9017 2013-10-17  Andreas Schwab  <schwab@suse.de>
9019         [BZ #15218]
9020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9021         to determine canonical name.
9023 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
9025         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9026         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9027         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9028         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9029         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9030         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9031         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9032         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9033         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9034         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9035         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9036         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9037         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9038         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9039         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9040         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9041         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9042         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9043         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9044         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9045         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9046         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9047         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9048         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9049         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9050         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9051         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9052         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9053         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9054         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9055         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9056         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9057         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9058         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9059         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9060         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9061         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9062         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9063         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9064         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9065         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9066         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9067         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9068         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9069         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9070         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9071         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9072         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9073         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9074         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9075         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9076         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9077         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9078         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9079         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9080         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9081         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9082         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9084 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
9086         [BZ #16041]
9087         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9088         make result into a quiet NaN.
9090 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
9092         * soft-fp/adddf3.c: Fix horizontal whitespace.
9093         * soft-fp/addsf3.c: Likewise.
9094         * soft-fp/addtf3.c: Likewise.
9095         * soft-fp/divdf3.c: Likewise.
9096         * soft-fp/divsf3.c: Likewise.
9097         * soft-fp/divtf3.c: Likewise.
9098         * soft-fp/double.h: Likewise.
9099         * soft-fp/eqdf2.c: Likewise.
9100         * soft-fp/eqsf2.c: Likewise.
9101         * soft-fp/eqtf2.c: Likewise.
9102         * soft-fp/extenddftf2.c: Likewise.
9103         * soft-fp/extended.h: Likewise.
9104         * soft-fp/extendsfdf2.c: Likewise.
9105         * soft-fp/extendsftf2.c: Likewise.
9106         * soft-fp/extendxftf2.c: Likewise.
9107         * soft-fp/fixdfdi.c: Likewise.
9108         * soft-fp/fixdfsi.c: Likewise.
9109         * soft-fp/fixdfti.c: Likewise.
9110         * soft-fp/fixsfdi.c: Likewise.
9111         * soft-fp/fixsfsi.c: Likewise.
9112         * soft-fp/fixsfti.c: Likewise.
9113         * soft-fp/fixtfdi.c: Likewise.
9114         * soft-fp/fixtfsi.c: Likewise.
9115         * soft-fp/fixtfti.c: Likewise.
9116         * soft-fp/fixunsdfdi.c: Likewise.
9117         * soft-fp/fixunsdfsi.c: Likewise.
9118         * soft-fp/fixunsdfti.c: Likewise.
9119         * soft-fp/fixunssfdi.c: Likewise.
9120         * soft-fp/fixunssfsi.c: Likewise.
9121         * soft-fp/fixunssfti.c: Likewise.
9122         * soft-fp/fixunstfdi.c: Likewise.
9123         * soft-fp/fixunstfsi.c: Likewise.
9124         * soft-fp/fixunstfti.c: Likewise.
9125         * soft-fp/floatdidf.c: Likewise.
9126         * soft-fp/floatdisf.c: Likewise.
9127         * soft-fp/floatditf.c: Likewise.
9128         * soft-fp/floatsidf.c: Likewise.
9129         * soft-fp/floatsisf.c: Likewise.
9130         * soft-fp/floatsitf.c: Likewise.
9131         * soft-fp/floattidf.c: Likewise.
9132         * soft-fp/floattisf.c: Likewise.
9133         * soft-fp/floattitf.c: Likewise.
9134         * soft-fp/floatundidf.c: Likewise.
9135         * soft-fp/floatundisf.c: Likewise.
9136         * soft-fp/floatunditf.c: Likewise.
9137         * soft-fp/floatunsidf.c: Likewise.
9138         * soft-fp/floatunsisf.c: Likewise.
9139         * soft-fp/floatunsitf.c: Likewise.
9140         * soft-fp/floatuntidf.c: Likewise.
9141         * soft-fp/floatuntisf.c: Likewise.
9142         * soft-fp/floatuntitf.c: Likewise.
9143         * soft-fp/fmadf4.c: Likewise.
9144         * soft-fp/fmasf4.c: Likewise.
9145         * soft-fp/fmatf4.c: Likewise.
9146         * soft-fp/gedf2.c: Likewise.
9147         * soft-fp/gesf2.c: Likewise.
9148         * soft-fp/getf2.c: Likewise.
9149         * soft-fp/ledf2.c: Likewise.
9150         * soft-fp/lesf2.c: Likewise.
9151         * soft-fp/letf2.c: Likewise.
9152         * soft-fp/muldf3.c: Likewise.
9153         * soft-fp/mulsf3.c: Likewise.
9154         * soft-fp/multf3.c: Likewise.
9155         * soft-fp/negdf2.c: Likewise.
9156         * soft-fp/negsf2.c: Likewise.
9157         * soft-fp/negtf2.c: Likewise.
9158         * soft-fp/op-1.h: Likewise.
9159         * soft-fp/op-2.h: Likewise.
9160         * soft-fp/op-4.h: Likewise.
9161         * soft-fp/op-8.h: Likewise.
9162         * soft-fp/op-common.h: Likewise.
9163         * soft-fp/quad.h: Likewise.
9164         * soft-fp/single.h: Likewise.
9165         * soft-fp/soft-fp.h: Likewise.
9166         * soft-fp/sqrtdf2.c: Likewise.
9167         * soft-fp/sqrtsf2.c: Likewise.
9168         * soft-fp/sqrttf2.c: Likewise.
9169         * soft-fp/subdf3.c: Likewise.
9170         * soft-fp/subsf3.c: Likewise.
9171         * soft-fp/subtf3.c: Likewise.
9172         * soft-fp/truncdfsf2.c: Likewise.
9173         * soft-fp/trunctfdf2.c: Likewise.
9174         * soft-fp/trunctfsf2.c: Likewise.
9175         * soft-fp/trunctfxf2.c: Likewise.
9176         * soft-fp/unorddf2.c: Likewise.
9177         * soft-fp/unordsf2.c: Likewise.
9178         * soft-fp/unordtf2.c: Likewise.
9180 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
9182         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9183         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9185 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
9187         * elf/dl-libc.c: Clear initfini list after freeing.
9189 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
9191         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9192         * soft-fp/addsf3.c: Likewise.
9193         * soft-fp/addtf3.c: Likewise.
9194         * soft-fp/divdf3.c: Likewise.
9195         * soft-fp/divsf3.c: Likewise.
9196         * soft-fp/divtf3.c: Likewise.
9197         * soft-fp/double.h: Likewise.
9198         * soft-fp/eqdf2.c: Likewise.
9199         * soft-fp/eqsf2.c: Likewise.
9200         * soft-fp/eqtf2.c: Likewise.
9201         * soft-fp/extenddftf2.c: Likewise.
9202         * soft-fp/extended.h: Likewise.
9203         * soft-fp/extendsfdf2.c: Likewise.
9204         * soft-fp/extendsftf2.c: Likewise.
9205         * soft-fp/extendxftf2.c: Likewise.
9206         * soft-fp/fixdfdi.c: Likewise.
9207         * soft-fp/fixdfsi.c: Likewise.
9208         * soft-fp/fixdfti.c: Likewise.
9209         * soft-fp/fixsfdi.c: Likewise.
9210         * soft-fp/fixsfsi.c: Likewise.
9211         * soft-fp/fixsfti.c: Likewise.
9212         * soft-fp/fixtfdi.c: Likewise.
9213         * soft-fp/fixtfsi.c: Likewise.
9214         * soft-fp/fixtfti.c: Likewise.
9215         * soft-fp/fixunsdfdi.c: Likewise.
9216         * soft-fp/fixunsdfsi.c: Likewise.
9217         * soft-fp/fixunsdfti.c: Likewise.
9218         * soft-fp/fixunssfdi.c: Likewise.
9219         * soft-fp/fixunssfsi.c: Likewise.
9220         * soft-fp/fixunssfti.c: Likewise.
9221         * soft-fp/fixunstfdi.c: Likewise.
9222         * soft-fp/fixunstfsi.c: Likewise.
9223         * soft-fp/fixunstfti.c: Likewise.
9224         * soft-fp/floatdidf.c: Likewise.
9225         * soft-fp/floatdisf.c: Likewise.
9226         * soft-fp/floatditf.c: Likewise.
9227         * soft-fp/floatsidf.c: Likewise.
9228         * soft-fp/floatsisf.c: Likewise.
9229         * soft-fp/floatsitf.c: Likewise.
9230         * soft-fp/floattidf.c: Likewise.
9231         * soft-fp/floattisf.c: Likewise.
9232         * soft-fp/floattitf.c: Likewise.
9233         * soft-fp/floatundidf.c: Likewise.
9234         * soft-fp/floatundisf.c: Likewise.
9235         * soft-fp/floatunsidf.c: Likewise.
9236         * soft-fp/floatunsisf.c: Likewise.
9237         * soft-fp/floatuntidf.c: Likewise.
9238         * soft-fp/floatuntisf.c: Likewise.
9239         * soft-fp/floatuntitf.c: Likewise.
9240         * soft-fp/fmadf4.c: Likewise.
9241         * soft-fp/fmasf4.c: Likewise.
9242         * soft-fp/fmatf4.c: Likewise.
9243         * soft-fp/gedf2.c: Likewise.
9244         * soft-fp/gesf2.c: Likewise.
9245         * soft-fp/getf2.c: Likewise.
9246         * soft-fp/ledf2.c: Likewise.
9247         * soft-fp/lesf2.c: Likewise.
9248         * soft-fp/letf2.c: Likewise.
9249         * soft-fp/muldf3.c: Likewise.
9250         * soft-fp/mulsf3.c: Likewise.
9251         * soft-fp/multf3.c: Likewise.
9252         * soft-fp/negdf2.c: Likewise.
9253         * soft-fp/negsf2.c: Likewise.
9254         * soft-fp/negtf2.c: Likewise.
9255         * soft-fp/op-1.h: Likewise.
9256         * soft-fp/op-2.h: Likewise.
9257         * soft-fp/op-4.h: Likewise.
9258         * soft-fp/op-8.h: Likewise.
9259         * soft-fp/op-common.h: Likewise.
9260         * soft-fp/quad.h: Likewise.
9261         * soft-fp/single.h: Likewise.
9262         * soft-fp/soft-fp.h: Likewise.
9263         * soft-fp/sqrtdf2.c: Likewise.
9264         * soft-fp/sqrtsf2.c: Likewise.
9265         * soft-fp/sqrttf2.c: Likewise.
9266         * soft-fp/subdf3.c: Likewise.
9267         * soft-fp/subsf3.c: Likewise.
9268         * soft-fp/subtf3.c: Likewise.
9269         * soft-fp/truncdfsf2.c: Likewise.
9270         * soft-fp/trunctfdf2.c: Likewise.
9271         * soft-fp/trunctfsf2.c: Likewise.
9272         * soft-fp/trunctfxf2.c: Likewise.
9273         * soft-fp/unorddf2.c: Likewise.
9274         * soft-fp/unordsf2.c: Likewise.
9275         * soft-fp/unordtf2.c: Likewise.
9277 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
9279         [BZ #15672]
9280         * misc/error.c (error_tail): Fix possible buffer overflow.
9282 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
9284         [BZ #13028]
9285         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9286         address.
9288 2013-10-14  P. J. McDermott  <pj@pehjota.net>
9290         [BZ #832]
9291         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
9292         testing pipefail option.
9294 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9296         * soft-fp/double.h: Indent preprocessor directives inside #if.
9297         * soft-fp/extended.h: Likewise.
9298         * soft-fp/op-2.h: Likewise.
9299         * soft-fp/op-4.h: Likewise.
9300         * soft-fp/op-common.h: Likewise.
9301         * soft-fp/quad.h: Likewise.
9302         * soft-fp/single.h: Likewise.
9303         * soft-fp/soft-fp.h: Likewise.
9305 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
9307         * iconv/iconv_prog.c: Fix typos.
9308         * stdio-common/psiginfo-data.h: Likewise.
9310 2013-10-12   Reuben Thomas <rrt@sc3d.org>
9312         [BZ #15764]
9313         * locale/setlocale.c: Fix typo.
9315 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9317         [BZ #16036]
9318         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9319         signaling NaN arguments.
9320         * soft-fp/unordsf2.c (__unordsf2): Likewise.
9321         * soft-fp/unordtf2.c (__unordtf2): Likewise.
9323         [BZ #14910]
9324         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9325         unordered operands.
9326         * soft-fp/gesf2.c (__gesf2): Likewise.
9327         * soft-fp/getf2.c (__getf2): Likewise.
9328         * soft-fp/ledf2.c (__ledf2): Likewise.
9329         * soft-fp/lesf2.c (__lesf2): Likewise.
9330         * soft-fp/letf2.c (__letf2): Likewise.
9332         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9333         * soft-fp/eqsf2.c (__eqsf2): Likewise.
9334         * soft-fp/eqtf2.c (__eqtf2): Likewise.
9335         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9336         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9337         * soft-fp/fixdfti.c (__fixdfti): Likewise.
9338         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9339         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9340         * soft-fp/fixsfti.c (__fixsfti): Likewise.
9341         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9342         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9343         * soft-fp/fixtfti.c (__fixtfti): Likewise.
9344         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9345         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9346         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9347         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9348         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9349         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9350         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9351         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9352         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9353         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9354         * soft-fp/floatdisf.c (__floatdisf): Likewise.
9355         * soft-fp/floatsisf.c (__floatsisf): Likewise.
9356         * soft-fp/floattidf.c (__floattidf): Likewise.
9357         * soft-fp/floattisf.c (__floattisf): Likewise.
9358         * soft-fp/floattitf.c (__floattitf): Likewise.
9359         * soft-fp/floatundidf.c (__floatundidf): Likewise.
9360         * soft-fp/floatundisf.c (__floatundisf): Likewise.
9361         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9362         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9363         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9364         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9365         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9366         * soft-fp/gesf2.c (__gesf2): Likewise.
9367         * soft-fp/getf2.c (__getf2): Likewise.
9368         * soft-fp/ledf2.c (__ledf2): Likewise.
9369         * soft-fp/lesf2.c (__lesf2): Likewise.
9370         * soft-fp/letf2.c (__letf2): Likewise.
9372         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9373         Undefine and redefine.
9374         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9375         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9376         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9377         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9378         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9379         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9380         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9381         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9382         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9383         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9384         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9385         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9386         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9387         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9388         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9390         [BZ #16032]
9391         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9392         without decrementing exponent if mantissa >= that for the
9393         denominator, not >.
9394         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9395         denominator, not >.  Decrement exponent in < case instead of
9396         incrementing in >= case.
9397         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9398         without decrementing exponent if mantissa >= that for the
9399         denominator, not >.
9401         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9402         computing saturated result for unsigned overflow.
9404 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9405             Jeff Law  <law@redhat.com>
9407         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9408         (atan2Mp): Add systemtap probe marker.
9409         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9410         (__ieee754_log): Add systemtap probe marker.
9411         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9412         (atanMp): Add systemtap probe marker.
9413         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9414         (tanMp): Add systemtap probe marker.
9415         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9416         (__slowexp): Add systemtap probe marker.
9417         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9418         (__slowpow): Add systemtap probe marker.
9419         * manual/probes.texi: Document probes.
9421 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
9423         [BZ #15362]
9424         * libio/fileops.c (_IO_new_file_write): Return count of bytes
9425         written.
9426         (_IO_new_file_xsputn): Don't return EOF if nothing has been
9427         written.
9428         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9429         written to buffer but not flushed.
9430         * libio/iofwrite_u.c:  Likewise.
9431         * libio/iopadn.c:  Return bytes returned even if EOF was
9432         encountered.
9433         * libio/iowpadn.c:  Likewise.
9434         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9435         if _IO_padn does not write the whole buffer.
9436         [!COMPILE_WPRINTF] (PAD): Likewise.
9438 2013-10-10  David S. Miller  <davem@davemloft.net>
9440         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9441         directory block.
9443 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9445         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
9446         instead of FSF address.
9447         * soft-fp/fixdfti.c: Likewise.
9448         * soft-fp/fixsfti.c: Likewise.
9449         * soft-fp/fixtfti.c: Likewise.
9450         * soft-fp/fixunsdfti.c: Likewise.
9451         * soft-fp/fixunssfti.c: Likewise.
9452         * soft-fp/fixunstfti.c: Likewise.
9453         * soft-fp/floattidf.c: Likewise.
9454         * soft-fp/floattisf.c: Likewise.
9455         * soft-fp/floattitf.c: Likewise.
9456         * soft-fp/floatuntidf.c: Likewise.
9457         * soft-fp/floatuntisf.c: Likewise.
9458         * soft-fp/floatuntitf.c: Likewise.
9459         * soft-fp/trunctfxf2.c: Likewise.
9461         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
9462         * soft-fp/fixdfti.c: Likewise.
9463         * soft-fp/fixsfti.c: Likewise.
9464         * soft-fp/fixtfti.c: Likewise.
9465         * soft-fp/fixunsdfti.c: Likewise.
9466         * soft-fp/fixunssfti.c: Likewise.
9467         * soft-fp/fixunstfti.c: Likewise.
9468         * soft-fp/floattidf.c: Likewise.
9469         * soft-fp/floattisf.c: Likewise.
9470         * soft-fp/floattitf.c: Likewise.
9471         * soft-fp/floatuntidf.c: Likewise.
9472         * soft-fp/floatuntisf.c: Likewise.
9473         * soft-fp/floatuntitf.c: Likewise.
9474         * soft-fp/trunctfxf2.c: Likewise.
9476 2013-10-10  David S. Miller  <davem@davemloft.net>
9478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9480 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
9482         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9483         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9484         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9485         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9486         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9487         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9488         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9490         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9491         for NaNs before doing comparisons on argument.
9492         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9493         Likewise.
9495 2013-10-10  Will Newton  <will.newton@linaro.org>
9497         * malloc/hooks.c (memalign_check): Ensure the value of bytes
9498         passed to _int_memalign does not overflow.
9500 2013-10-10  Torvald Riegel  <triegel@redhat.com>
9502         * scripts/bench.pl: Add include-sources directive.
9503         * benchtests/README: Update documentation.
9505 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9507         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9508         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9509         instead of FP_INIT_ROUNDMODE.
9510         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9511         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9513         [BZ #16034]
9514         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
9515         copy class of input value.
9516         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
9517         not handle exceptions.
9518         * soft-fp/negsf2.c (__negsf2): Likewise.
9519         * soft-fp/negtf2.c (__negtf2): Likewise.
9520         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9522 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
9524         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9525         semicolon.  From Linux kernel.
9527 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
9529         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9531 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
9533         [BZ #156]
9534         * manual/socket.texi: Added statement about buffer
9535         for gethostbyname2_r.
9537 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
9539         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9540         Use .p2align directive instead, throughout.
9541         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9542         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9543         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9544         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9545         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9546         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9547         * sysdeps/x86_64/strchr.S: Likewise.
9548         * sysdeps/x86_64/strrchr.S: Likewise.
9550 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9552         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9554         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9556         * sysdeps/generic/math_private.h (__mpsin1): Remove
9557         declaration.
9558         (__mpcos1): Likewise.
9559         (__mpsin): New argument __range_reduce.
9560         (__mpcos): Likewise.
9561         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9562         (slow): Use __mpsin and __mpcos.
9563         (slow1): Likewise.
9564         (slow2): Likewise.
9565         (sloww): Likewise.
9566         (sloww1): Likewise.
9567         (sloww2): Likewise.
9568         (bsloww): Likewise.
9569         (bsloww1): Likewise.
9570         (bsloww2): Likewise.
9571         (cslow2): Likewise.
9572         (csloww): Likewise.
9573         (csloww1): Likewise.
9574         (csloww2): Likewise.
9575         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9576         range_reduce.  Merge in __mpsin1.
9577         (__mpcos): Likewise.
9578         (__mpsin1): Remove.
9579         (__mpcos1): Likewise.
9581 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
9583         * locale/loadlocale.c (_nl_intern_locale_data): Use
9584         LOCFILE_ALIGNED_P.
9585         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9586         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9587         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9588         obstack data is appropriately aligned.
9589         (obstack_int32_grow_fast): Likewise.
9590         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9591         * locale/programs/locfile.c (add_locale_uint32): Likewise.
9592         (add_locale_uint32_array): Likewise.
9594 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9596         * benchtests/Makefile: Remove ARGLIST and RET variables.
9597         ($(objpfx)bench-%.c): Pass only function name to the script.
9598         * benchtests/README: Update documentation.
9599         * benchtests/acos-inputs: Add new directives.
9600         * benchtests/acosh-inputs: Likewise.
9601         * benchtests/asin-inputs: Likewise.
9602         * benchtests/asinh-inputs: Likewise.
9603         * benchtests/atan-inputs: Likewise.
9604         * benchtests/atanh-inputs: Likewise.
9605         * benchtests/cos-inputs: Likewise.
9606         * benchtests/cosh-inputs: Likewise.
9607         * benchtests/exp-inputs: Likewise.
9608         * benchtests/log-inputs: Likewise.
9609         * benchtests/pow-inputs: Likewise.
9610         * benchtests/rint-inputs: Likewise.
9611         * benchtests/sin-inputs: Likewise.
9612         * benchtests/sinh-inputs: Likewise.
9613         * benchtests/tan-inputs: Likewise.
9614         * benchtests/tanh-inputs: Likewise.
9615         * scripts/bench.pl: Add support for new directives.
9617 2013-10-07  Alan Modra  <amodra@gmail.com>
9619         * README: Fix careless merge.
9621 2013-10-05  Alan Modra  <amodra@gmail.com>
9623         * NEWS: Mention powerpc64le support and bugs fixed.
9624         * README: Both big-endian and little-endian powerpc64 supported.
9626 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9628         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9629         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9630         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9631         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9633 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
9635         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9636         match prototype.
9638 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
9640         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9641         Move -mhard-float appending from
9642         ports/sysdeps/powerpc/powerpc32/Makefile.
9643         [$(with-fp) = yes] (ASFLAGS): Likewise.
9644         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9645         * sysdeps/powerpc/nofpu: Move directory from
9646         ports/sysdeps/powerpc/nofpu.
9647         * sysdeps/powerpc/soft-fp: Move directory from
9648         ports/sysdeps/powerpc/soft-fp.
9649         * sysdeps/powerpc/powerpc32/405: Move directory from
9650         ports/sysdeps/powerpc/powerpc32/405.
9651         * sysdeps/powerpc/powerpc32/440: Move directory from
9652         ports/sysdeps/powerpc/powerpc32/440.
9653         * sysdeps/powerpc/powerpc32/464: Move directory from
9654         ports/sysdeps/powerpc/powerpc32/464.
9655         * sysdeps/powerpc/powerpc32/476: Move directory from
9656         ports/sysdeps/powerpc/powerpc32/476.
9657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9658         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9660         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9662         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9664         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9666         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9667         * README: Update for powerpc-*-linux-gnu software floating point
9668         support in libc.
9670         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9671         case to powerpc/powerpc32*.
9672         * sysdeps/unix/sysv/linux/configure: Regenerated.
9674         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9675         (_FPU_MASK_OM): Define as 0x04.
9676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9678         0x00c10080.
9679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9680         0x0000003c.
9681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9684         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9685         getcontext_e500.
9686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9687         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9688         setcontext_e500.
9689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9690         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9691         and setcontext_e500.
9693 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
9695         * locale/iso-3166.def: Update iso-1366.def and related occurrences
9697 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9699         * manual/threads.texi (Default Thread Attributes): Fix typo.
9701 2013-10-04  Will Newton  <will.newton@linaro.org>
9703         * malloc/Makefile: Add tst-memalign.
9704         * malloc/tst-memalign.c: New file.
9706         * malloc/tst-posix_memalign.c: Add comments.
9707         (do_test): Add comments and call free on all potentially
9708         allocated pointers. Add space after cast.
9710         * malloc/tst-pvalloc.c: Add comments.
9711         (do_test): Add comments and call free on all potentially
9712         allocated pointers. Remove duplicate check for NULL pointer.
9713         Add space after cast.
9715         * malloc/tst-valloc.c: Add comments.
9716         (do_test): Add comments and call free on all potentially
9717         allocated pointers. Remove duplicate check for NULL pointer.
9718         Add space after cast.
9720 2013-10-04  Alan Modra  <amodra@gmail.com>
9722         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9723         Use stdint types in rather than __attribute__((mode())).
9724         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9726 2013-10-04  Alan Modra  <amodra@gmail.com>
9728         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9729         Correct handling of unaligned relocs for little-endian.
9730         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9732 2013-10-04  Alan Modra  <amodra@gmail.com>
9734         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9735         * configure: Regenerate.
9736         * nptl/shlib-versions: Powerpc*le starts at 2.18.
9737         * shlib-versions: Likewise.
9739 2013-10-04  Alan Modra  <amodra@gmail.com>
9741         * string/tester.c (test_memrchr): Increment reported test cycle.
9743 2013-10-04  Alan Modra  <amodra@gmail.com>
9745         * string/test-memcpy.c (do_one_test): When reporting errors, print
9746         string address and don't overrun end of string.
9748 2013-10-04  Alan Modra  <amodra@gmail.com>
9750         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9751         insrdi.  Make better use of reg selection to speed exit slightly.
9752         Schedule entry path a little better.  Remove useless "are we done"
9753         checks on entry to main loop.  Handle wrapping around zero address.
9754         Correct main loop count.  Handle single left-over word from main
9755         loop inline rather than by using loop_small.  Remove extra word
9756         case in loop_small caused by wrong loop count.  Add little-endian
9757         support.
9758         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9759         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
9760         cache hint.
9761         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9762         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9763         support.  Avoid rlwimi.
9764         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9766 2013-10-04  Alan Modra  <amodra@gmail.com>
9768         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9769         insrdi.  Formatting.
9770         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9771         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9772         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9773         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9774         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9775         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9777 2013-10-04  Alan Modra  <amodra@gmail.com>
9779         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9780         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9781         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9782         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9783         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9784         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9785         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9786         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9787         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
9788         use of regs.  Use power7 mtocrf.  Tidy function tails.
9790 2013-10-04  Alan Modra  <amodra@gmail.com>
9792         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9793         Formatting.  Consistently use rXXX register defines or rN defines.
9794         Use early exit labels that avoid restoring unused non-volatile regs.
9795         Make cr field use more consistent with rWORDn compares.  Rename
9796         regs used as shift registers for unaligned loop, using rN defines
9797         for short lifetime/multiple use regs.
9798         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9799         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
9800         addi 1,1,64 to pop stack frame.  Simplify return value code.
9801         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9803 2013-10-04  Alan Modra  <amodra@gmail.com>
9805         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9806         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
9807         rather than rlwimi.
9808         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9809         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9810         little-endian support.  Correct typos.
9811         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
9812         rather than rlwimi.
9813         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
9814         in loop and entry code to keep "and." results.
9815         (strchr): Add little-endian support.  Comment.  Move cntlzd
9816         earlier in tail.
9817         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9819 2013-10-04  Alan Modra  <amodra@gmail.com>
9821         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9822         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9823         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9824         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9826 2013-10-04  Alan Modra  <amodra@gmail.com>
9828         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9829         (rTMP): Define as r11.
9830         (strcmp): Add little-endian support.  Optimise tail.
9831         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9832         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9833         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9834         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9835         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9836         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9837         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9839 2013-10-04  Alan Modra  <amodra@gmail.com>
9841         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9842         little-endian support.  Remove unnecessary "are we done" tests.
9843         Handle "s" wrapping around zero and extremely large "size".
9844         Correct main loop count.  Handle single left-over word from main
9845         loop inline rather than by using small_loop.  Correct comments.
9846         Delete "zero" tail, use "end_max" instead.
9847         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9849 2013-10-04  Alan Modra  <amodra@gmail.com>
9851         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9852         support.  Don't branch over align.
9853         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9854         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9855         support.  Rearrange tmp reg use to suit.  Comment.
9856         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9858 2013-10-04  Alan Modra  <amodra@gmail.com>
9860         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9862 2013-10-04  Alan Modra  <amodra@gmail.com>
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9865         conditional form of branch and link when obtaining pc.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9868 2013-10-04  Alan Modra  <amodra@gmail.com>
9870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9871         HIWORD/LOWORD.
9872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9875 2013-10-04  Alan Modra  <amodra@gmail.com>
9877         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9878         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9879         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9880         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9881         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9882         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9883         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9884         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9885         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9886         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9888 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9889             Alistair Popple <alistair@ozlabs.au.ibm.com>
9890             Alan Modra <amodra@gmail.com>
9892         [BZ #15723]
9893         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9894         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9895         _dl_hwcap access for little-endian.
9896         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
9897         destroy vmx regs when saving unaligned.
9898         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9899         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
9900         destroy vmx regs when saving unaligned.
9902 2013-10-04  Alan Modra  <amodra@gmail.com>
9904         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9905         Don't use a union to pack hi/low value.
9907 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9909         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9910         for little-endian.
9911         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9912         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9913         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9914         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9915         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9917 2013-10-04  Alan Modra  <amodra@gmail.com>
9919         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9920         constants to usual value for .cst8 section, and remove redundant
9921         high address load.
9922         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9923         constant for 0x1p52.  Load little-endian words of double from
9924         correct stack offsets.
9926 2013-10-04  Alan Modra  <amodra@gmail.com>
9928         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9929         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9930         words of double from correct stack offsets.
9931         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9932         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9933         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9934         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9935         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9936         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9937         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9938         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9939         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9940         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9941         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9942         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9943         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9944         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9945         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9946         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9947         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9949 2013-10-04  Alan Modra  <amodra@gmail.com>
9951         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9952         64-bit int/double union.
9953         (_FPU_SETCW): Likewise.
9954         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9955         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9957 2013-10-04  Alan Modra  <amodra@gmail.com>
9959         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9960         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9962 2013-10-04  Alan Modra  <amodra@gmail.com>
9964         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9965         use vector int constants.
9966         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9968 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9970         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9971         array with long long.
9972         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9973         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9974         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9975         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9976         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9977         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9978         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9979         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9980         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9981         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9982         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9983         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9984         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9986 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9988         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9989         (__signbit): Likewise.  Correct for little-endian.
9990         (__signbitl): Call __signbit.
9991         (lrint): Correct for little-endian.
9992         (lrintf): Call lrint.
9994 2013-10-04  Alan Modra  <amodra@gmail.com>
9996         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9997         union 32-bit int array member with 64-bit int array.
9998         (t515, tm256): Double rather than long double.
9999         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10001 2013-10-04  Alan Modra  <amodra@gmail.com>
10003         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10004         Delete.
10005         (IEEE854_LONG_DOUBLE_BIAS): Delete.
10006         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10007         version of math_ldbl.h.
10009 2013-10-04  Alan Modra  <amodra@gmail.com>
10011         [BZ #15734], [BZ #15735]
10012         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10013         all uses of ieee875 long double macros and unions.  Simplify test
10014         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
10015         ldbl_extract_mantissa value for ix,iy exponents.  Properly
10016         normalize after ldbl_extract_mantissa, and don't add hidden bit
10017         already handled.  Don't treat low word of ieee854 mantissa like
10018         low word of IBM long double and mask off bit when testing for
10019         zero.
10020         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10021         all uses of ieee875 long double macros and unions.  Simplify tests
10022         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
10023         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
10024         two1022, instead use their values.  Recognise that tests for large
10025         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
10026         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10027         Rewrite all uses of ieee875 long double macros and unions.  Simplify
10028         test for 0.0L and nan.  Correct negation.
10029         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10030         ieee875 long double macros and unions.  Correct output for large
10031         magnitude x.  Correct absolute value calculation.
10032         (__erfcl): Likewise.
10033         * math/libm-test.inc: Add tests for errors discovered in IBM long
10034         double versions of fmodl, remainderl, erfl and erfcl.
10036 2013-10-04  Alan Modra  <amodra@gmail.com>
10038         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10039         all uses of ieee854 long double macros and unions.  Simplify tests
10040         for long doubles that are fully specified by the high double.
10041         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10042         Likewise.
10043         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10044         Remove dead code too.
10045         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10046         (__ieee754_ynl): Likewise.
10047         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10048         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10049         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10050         Remove dead code too.
10051         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10052         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10053         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10054         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10055         Simplify.
10056         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10057         Simplify.
10058         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10059         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10060         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10061         Comment on variable precision.
10062         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10063         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10064         Likewise.
10065         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10066         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10067         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10068         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10069         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10071 2013-10-04  Alan Modra  <amodra@gmail.com>
10073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10074         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10075         all uses of ieee854 long double macros and unions.
10076         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10077         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10078         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10079         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10080         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10081         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10082         Likewise.
10083         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10084         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10085         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10086         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10087         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10088         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10089         Simplify sign and nan test too.
10090         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10091         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10092         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10093         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10094         Likewise.
10095         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10096         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10097         Likewise.
10098         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10099         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10100         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10101         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10102         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10103         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10105 2013-10-04  Alan Modra  <amodra@gmail.com>
10107         * stdio-common/printf_size.c (__printf_size): Don't use
10108         union ieee854_long_double in fpnum union.
10109         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
10110         signbit macro to retrieve sign from long double.
10111         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10112         retrieve sign from long double.
10113         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10114         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10115         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10116         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10117         * math/test-misc.c (main): Don't use union ieee854_long_double.
10119 2013-10-04  Alan Modra  <amodra@gmail.com>
10121         [BZ #15680]
10122         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10123         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10124         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10125         calculation.  Remove unnecessary test for denormal exponent.
10126         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10127         Correct handling of denormals.  Avoid undefined shift behaviour.
10128         Correct normalisation of low mantissa when low double is denormal.
10129         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10130         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
10131         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10132         Correct normalisation of low mantissa.  Test for overflow of high
10133         mantissa and normalise.
10134         (ldbl_nearbyint): Use more readable constant for two52.
10135         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10136         (__mpn_construct_long_double): Fix test for overflow of high
10137         mantissa and correct normalisation.  Avoid undefined shift.
10139 2013-10-04  Alan Modra  <amodra@gmail.com>
10141         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10142         (union ibm_extended_long_double): Define as an array of ieee754_double.
10143         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10144         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10145         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10146         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10147         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10150         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10151         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10152         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10153         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10155 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
10157         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10158         page size instead of calling getpagesize.
10160         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10161         (LOCFILE_ALIGN_MASK): Likewise.
10162         (LOCFILE_ALIGN_UP): Likewise.
10163         (LOCFILE_ALIGNED_P): Likewise.
10164         * locale/programs/ld-collate.c (collate_output): Use the new
10165         macros instead of __alignof__ (int32_t).
10166         * locale/weight.h (findidx): Likewise.
10168 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
10170         [BZ #431]
10171         * manual/string.texi: Fix strncat and wcsncat.
10173 2013-10-03  Brooks Moses  <bmoses@google.com>
10175         [BZ #15915]
10176         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10177         * Makerules: ...here, and adjust associated comments.
10179 2013-10-02  Will Newton  <will.newton@linaro.org>
10181         * malloc/Makefile: Add tst-pvalloc.
10182         * malloc/tst-pvalloc.c: New file.
10184 2013-10-02  Will Newton  <will.newton@linaro.org>
10186         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10187         improve test coverage.
10189 2013-10-02  Will Newton  <will.newton@linaro.org>
10191         * malloc/Makefile: Add tst-posix_memalign.
10192         * malloc/tst-posix_memalign.c: New file.
10194 2013-10-01  Eric Blake  <eblake@redhat.com>
10196         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10197         Use __THROWNL rather than __THROW on static functions.
10199 2013-09-30  Petr Machata  <pmachata@redhat.com>
10201         * elf/elf.h (R_AARCH64_ABS16): New macro.
10202         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10203         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10204         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10205         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10206         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10207         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10208         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10209         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10210         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10211         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10212         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10213         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10214         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10215         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10216         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10217         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10218         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10219         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10220         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10221         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10222         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10223         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10224         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10225         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10226         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10227         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10228         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10229         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10230         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10231         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10232         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10233         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10234         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10235         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10236         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10237         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10238         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10239         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10240         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10241         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10242         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10243         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10244         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10245         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10246         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10247         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10248         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10249         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10250         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10251         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10252         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10253         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10254         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10255         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10256         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10257         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10258         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10259         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10260         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10261         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10262         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10263         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10264         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10265         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10266         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10267         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10268         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10269         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10270         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10271         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10272         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10273         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10274         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10275         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10276         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10277         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10278         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10279         (R_AARCH64_TLSDESC_LDR): Likewise.
10280         (R_AARCH64_TLSDESC_ADD): Likewise.
10281         (R_AARCH64_TLSDESC_CALL): Likewise.
10283 2013-09-30  Andreas Schwab  <schwab@suse.de>
10285         [BZ #15048]
10286         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10287         the nss database lookup.
10288         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10291 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
10293         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10295 2013-09-28  P. J. McDermott  <pj@pehjota.net>
10297         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10298         ${Bash-specific parameter/pattern/string} parameter expansion.
10299         * sysdeps/unix/make-syscalls.sh: Likewise.
10301 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10303         * sysdeps/sh/stackguard-macros.h: New file.
10305 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
10307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10309         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10310         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10311         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10312         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10314 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10316         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10317         Fix thread ID register.
10319 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
10321         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10322         [POSIX || UNIX98]: Require rather than permitting all symbols from
10323         <time.h>.
10324         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10325         element of struct sched_param.
10326         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10327         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10328         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10329         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10330         constant.
10332 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
10334         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10335         argument calculation.
10337 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10339         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10340         Expect macro.
10341         [POSIX] (pthread_attr_t): Do not require type.
10342         [POSIX] (pthread_cond_t): Likewise.
10343         [POSIX] (pthread_condattr_t): Likewise.
10344         [POSIX] (pthread_key_t): Likewise.
10345         [POSIX] (pthread_mutex_t): Likewise.
10346         [POSIX] (pthread_mutexattr_t): Likewise.
10347         [POSIX] (pthread_once_t): Likewise.
10348         [POSIX] (pthread_t): Likewise.
10349         [POSIX-based standards] (pthread_atfork): Expect function.
10351 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10352             Richard Sandiford  <richard@codesourcery.com>
10354         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10355         (swap_endianness_p): New extern variable.
10356         (set_big_endian): New inline function.
10357         (maybe_swap_uint32): Likewise.
10358         (maybe_swap_uint32_array): Likewise.
10359         (maybe_swap_uint32_obstack): Likewise.
10360         * locale/programs/locfile.c: Include <stdbool.h>.
10361         (swap_endianness_p): New variable.
10362         (add_locale_uint32): Call maybe_swap_uint32.
10363         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10364         (write_locale_data): Call maybe_swap_uint32_array.
10365         * locale/programs/ld-collate.c (obstack_int32_grow): Call
10366         maybe_swap_uint32.
10367         (obstack_int32_grow_fast): Likewise.
10368         (output_weightwc): Call maybe_swap_uint32_obstack.
10369         (collate_output): Likewise.
10370         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10371         (OPT_LITTLE_ENDIAN): Likewise.
10372         (options): Add --little-endian and --big-endian options.
10373         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10374         * locale/programs/locarchive.c: Include "locfile.h".
10375         (GET): New macro.
10376         (SET): Likewise.
10377         (INC): Likewise.
10378         (create_archive): Use the new macros to access fields of
10379         structures directly mapped from or written to locale archives.
10380         (oldlocrecentcmp): Likewise.
10381         (enlarge_archive): Likewise.
10382         (insert_name): Likewise.
10383         (add_alias): Likewise.
10384         (add_locale): Likewise.
10385         (delete_locales_from_archive): Likewise.
10386         (show_archive_content): Likewise.
10387         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
10388         locale data.
10390 2013-09-24  Roland McGrath  <roland@hack.frob.com>
10392         * manual/freemanuals.texi: Updated from (newly) canonical copy at
10393         http://www.gnu.org/doc/freemanuals.texi.
10394         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10396 2013-09-24  Will Newton  <will.newton@linaro.org>
10398         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10399         macro.
10401 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
10403         * locale/hashval.h (compute_hashval): Interpret bytes of key as
10404         unsigned char.
10406 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
10408         * manual/threads.texi (POSIX Threads): Fix a typo.
10410 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10412         [BZ #14547]
10413         * string/tst-strcoll-overflow.c: New test case.
10414         * string/Makefile (xtests): Add tst-strcoll-overflow.
10415         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10416         cache if string sizes may cause integer overflow.
10418         [BZ #14547]
10419         * string/strcoll_l.c (coll_seq): New members rule, idx,
10420         save_idx and back_us.
10421         (get_next_seq_nocache): New function.
10422         (do_compare_nocache): New function.
10423         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10424         when malloc fails.
10426 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
10428         [BZ #15754]
10429         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10430         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10431         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10433         [BZ #15754]
10434         * elf/Makefile (tests): Add tst-ptrguard1.
10435         (tests-static): Add tst-ptrguard1-static.
10436         (tst-ptrguard1-ARGS): Define.
10437         (tst-ptrguard1-static-ARGS): Define.
10438         * elf/tst-ptrguard1.c: New file.
10439         * elf/tst-ptrguard1-static.c: New file.
10440         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10441         * sysdeps/i386/stackguard-macros.h: Likewise.
10442         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10443         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10444         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10445         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10446         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10447         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10449 2013-09-23  Hector Marco  <hecmargi@upv.es>
10450             Ismael Ripoll  <iripoll@disca.upv.es>
10451             Carlos O'Donell  <carlos@redhat.com>
10453         [BZ #15754]
10454         * sysdeps/generic/stackguard-macros.h: Define
10455         __pointer_chk_guard_local and POINTER_CHK_GUARD.
10456         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10457         Define __pointer_chk_guard_local.
10458         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10459         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10461 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
10463         [BZ #15859]
10464         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10466 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
10468         * include/string.h (__ffs): Declare as hidden.
10469         * string/ffs.c (__ffs): Define as hidden.
10470         * sysdeps/i386/ffs.c (__ffs): Likewise.
10471         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10472         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10473         * sysdeps/s390/ffs.c (__ffs): Likewise.
10474         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10476 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
10478         * NEWS: Mention malloc probes.
10480         * malloc/arena.c (new_heap): New memory_heap_new probe.
10481         (grow_heap): New memory_heap_more probe.
10482         (shrink_heap): New memory_heap_less probe.
10483         (heap_trim): New memory_heap_free probe.
10484         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10485         (systrim): New memory_sbrk_less probe.
10486         * manual/probes.texi: Document them.
10488         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10489         * manual/probes.texi: Document it.
10491         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10492         (__libc_realloc): Add memory_realloc_retry probe.
10493         (__libc_memalign): Add memory_memalign_retry probe.
10494         (__libc_valloc): Add memory_valloc_retry probe.
10495         (__libc_pvalloc): Add memory_pvalloc_retry probe.
10496         (__libc_calloc): Add memory_calloc_retry probe.
10497         * manual/probes.texi: Document them.
10499         * malloc/arena.c (get_free_list): Add probe
10500         memory_arena_reuse_free_list.
10501         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10502         and memory_arena_reuse.
10503         (arena_get2) [!PER_THREAD]: Likewise.
10504         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10505         memory_arena_reuse_realloc.
10506         * manual/probes.texi: Document them.
10508         * malloc/malloc.c (__libc_free): Add
10509         memory_mallopt_free_dyn_thresholds probe.
10510         (__libc_mallopt): Add multiple memory_mallopt probes.
10511         * manual/probes.texi: Document them.
10513         * malloc/malloc.c: Include stap-probe.h.
10514         (__libc_mallopt): Add memory_mallopt probe.
10515         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10516         * manual/probes.texi: New.
10517         * manual/Makefile (chapters): Add probes.
10518         * manual/threads.texi: Set next node.
10520 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
10522         [BZ #15963, #13985]
10523         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10524         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10525         Add `Chinese' to `nan' entry name.
10527 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10529         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10530         (POLYNOMIAL): Likewise.
10531         (TAYLOR_SINCOS): Likewise.
10532         (TAYLOR_SLOW): Likewise.
10533         (__sin): Use TAYLOR_SINCOS.
10534         (__cos): Likewise.
10535         (slow): Use TAYLOR_SLOW.
10536         (sloww): Likewise.
10537         (bsloww): Likewise.
10538         (csloww): Likewise.
10540 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10542         * stdlib/strtod_l.c: Fix buffer overrun.
10544 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10546         * benchtests/Makefile (bench): Add sincos.
10547         * benchtests/bench-sincos.c: New file.
10549         * math/libm-test.inc (cos_test_data): New test inputs.
10550         (sin_test_data): Likewise.
10552         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10553         macro.
10554         (__sin): Use it.
10555         (__cos): Likewise.
10556         (slow1): Likewise.
10557         (slow2): Likewise.
10558         (sloww1): Likewise.
10559         (sloww2): Likewise.
10560         (bsloww1): Likewise.
10561         (bsloww2): Likewise.
10562         (cslow2): Likewise.
10563         (csloww1): Likewise.
10564         (csloww2): Likewise.
10566         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10567         function.
10568         (__sin): Use it.
10569         (__cos): Likewise.
10571         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10572         gotos.
10573         (__cos): Likewise.
10575 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
10577         * config.h.in (HAVE_MIPS_NAN2008): New macro.
10578         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10579         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10580         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10581         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10582         * elf/cache.c (print_entry): Handle the new cache flags.
10584 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10585             Aldy Hernandez  <aldyh@redhat.com>
10587         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10588         Change condition to [_SOFT_FLOAT].
10589         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10590         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10601         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10604         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10605         declaration.
10607 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10609         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10610         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10611         (__longjmp): Use LOAD_GP to load saved GPRs.
10612         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10613         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10614         (__sigsetjmp): Use SAVE_GP to save GPRs.
10616         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10617         Do not append -msoft-float.
10618         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10620 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10622         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10624 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
10626         [BZ #15966]
10627         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10628         (_FPU_GETCW): Use initial "__" on variable and field names but not
10629         on macro parameter name.
10630         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
10631         parentheses around reference to macro parameter.
10633 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
10635         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10636         prototype.
10637         (ctype_startup): Use uint32_t in cast and sizeof for
10638         ctype->charnames.
10640 2013-09-11  Jia Liu  <proljc@gmail.com>
10642         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10643         __daddr_t_defined.
10644         [__FreeBSD__]: Likewise.
10646 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
10648         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10649         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10650         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10651         (strchr): Remove __strchr_sse42 ifunc selection.
10652         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10653         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10655 2013-09-11  Will Newton  <will.newton@linaro.org>
10657         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10658         parameter to RES. Remove hardcoded 1000 value.
10659         * benchtests/bench-skeleton.c (main): Pass RES parameter
10660         to TIMING_INIT and multiply result by 1000.
10662 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10666 2013-09-11  Andreas Schwab  <schwab@suse.de>
10668         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10669         if not defined.
10670         (O_TMPFILE) [__USE_GNU]: Define.
10671         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10672         Define.
10674 2013-09-11  Will Newton  <will.newton@linaro.org>
10676         [BZ #15857]
10677         * malloc/malloc.c (__libc_memalign): Check the value of bytes
10678         does not overflow.
10680 2013-09-11  Will Newton  <will.newton@linaro.org>
10682         [BZ #15856]
10683         * malloc/malloc.c (__libc_valloc): Check the value of bytes
10684         does not overflow.
10686 2013-09-11  Will Newton  <will.newton@linaro.org>
10688         [BZ #15855]
10689         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10690         does not overflow.
10692 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
10694         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10695         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10696         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10697         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10698         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10700 2013-09-10  Allan McRae  <allan@archlinux.org>
10702         [BZ #15748]
10703         * manual/arith.texi (Parsing of Floats): Clarify
10704         cross-reference.
10706         [BZ #15849]
10707         * manual/install.texi (Running make install): Mention
10708         --enable-pt-chown.
10709         * INSTALL: Regenerated.
10711 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10713         * csu/init-first.c (_init): Remove the !SHARED condition around
10714         FPU control word initialization.
10715         * elf/dl-support.c (_dl_fpu_control): New variable.
10716         (_dl_aux_init) <AT_FPUCW>: Initialize it.
10717         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10718         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10719         * math/test-fpucw-static.c: New file.
10720         * math/test-fpucw-ieee.c: New file.
10721         * math/test-fpucw-ieee-static.c: New file.
10722         * math/Makefile (tests): Add `test-fpucw-ieee' and
10723         `$(tests-static)'.
10724         (tests-static): New variable.
10725         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10726         dependency to...
10727         [($(build-shared),yes)]
10728         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10729         ... this.
10730         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10731         New dependency.
10733 2013-09-09  Allan McRae  <allan@archlinux.org>
10735         [BZ #15939]
10736         * manual/string.texi (Collation Functions): Fix typo in
10737         strcoll example.
10738         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10740         [BZ #15893]
10741         * stdlib/isomac.c (get_null_defines): Fix memory leak.
10743         [BZ #15892]
10744         * libio/memstream.c (open_memstream): Fix memory leak.
10745         * libio/wmemstream.c (open_wmemstream): Likewise.
10747         [BZ #15895]
10748         * nscd/netgroupcache.c: Fix nesting of ifdefs.
10750 2013-09-09  Will Newton  <will.newton@linaro.org>
10752         * malloc/Makefile: Add tst-realloc to tests.
10753         * malloc/tst-realloc.c: New file.
10755 2013-09-09  Allan McRae  <allan@archlinux.org>
10757         [BZ #15844]
10758         * COPYING: Update from GNU website to fix FSF address.
10759         * COPYING.LIB: Likewise.
10761 2013-09-06  David S. Miller  <davem@davemloft.net>
10763         * po/zh_TW.po: Update Chinese (traditional) translation from
10764         translation project.
10766 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
10767             Joseph Myers  <joseph@codesourcery.com>
10769         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10770         "localeinfo.h".
10771         (obstack_chunk_alloc): New macro.
10772         (obstack_chunk_free): Likewise.
10773         (record_offset): New function.
10774         (init_locale_data): Likewise.
10775         (align_locale_data): Likewise.
10776         (add_locale_empty): Likewise.
10777         (add_locale_raw_data): Likewise.
10778         (add_locale_raw_obstack): Likewise.
10779         (add_locale_string): Likewise.
10780         (add_locale_wstring): Likewise.
10781         (add_locale_uint32): Likewise.
10782         (add_locale_uint32_array): Likewise.
10783         (add_locale_char): Likewise.
10784         (start_locale_structure): Likewise.
10785         (end_locale_structure): Likewise.
10786         (start_locale_prelude): Likewise.
10787         (end_locale_prelude): Likewise.
10788         (write_locale_data): Take locale_file structure rather than an
10789         iovec.
10790         * locale/programs/locfile.h: Include "obstack.h".
10791         (struct locale_file): Change to store locale file contents instead
10792         of header.
10793         (init_locale_data): New prototype.
10794         (align_locale_data): Likewise.
10795         (add_locale_empty): Likewise.
10796         (add_locale_raw_data): Likewise.
10797         (add_locale_raw_obstack): Likewise.
10798         (add_locale_string): Likewise.
10799         (add_locale_wstring): Likewise.
10800         (add_locale_uint32): Likewise.
10801         (add_locale_uint32_array): Likewise.
10802         (add_locale_char): Likewise.
10803         (start_locale_structure): Likewise.
10804         (end_locale_structure): Likewise.
10805         (start_locale_prelude): Likewise.
10806         (end_locale_prelude): Likewise.
10807         (write_locale_data): Update prototype.
10808         * locale/programs/3level.h (struct TABLE): Remove result field.
10809         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10810         Use new locale_file interface.
10811         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10812         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10813         * locale/programs/ld-address.c (address_output): Use new
10814         locale_file interface.
10815         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10816         NO_ADD_LOCALE.
10817         (collate_finish): Don't call collseq_table_finalize.
10818         (collate_output): Use new locale_file interface.
10819         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10820         in file.
10821         (NO_FINALIZE): Change to NO_ADD_LOCALE.
10822         (TABLE): Move defines earlier in file.
10823         (ELEMENT): Likewise.
10824         (DEFAULT): Likewise.
10825         (wctrans_table_add): Move macro and inline function earlier in
10826         file.
10827         (struct wctype_table): Move type earlier in file.
10828         (add_locale_wctype_table): New static prototype.
10829         (struct locale_ctype_t): Use logical types instead of struct iovec
10830         pointers for members.
10831         (ctype_output): Use new locale_file interface.
10832         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
10833         new locale_file interface.
10834         (allocate_arrays): Update for use of new locale_file interface.
10835         * locale/programs/ld-identification.c (identification_output): Use
10836         new locale_file interface.
10837         * locale/programs/ld-measurement.c (measurement_output): Likewise.
10838         * locale/programs/ld-messages.c (messages_output): Likewise.
10839         * locale/programs/ld-monetary.c (monetary_output): Likewise.
10840         * locale/programs/ld-name.c (name_output): Likewise.
10841         * locale/programs/ld-numeric.c (numeric_output): Likewise.
10842         * locale/programs/ld-paper.c (paper_output): Likewise.
10843         * locale/programs/ld-telephone.c (telephone_output): Likewise.
10844         * locale/programs/ld-time.c (time_output): Likewise.
10846 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10848         * benchtests/Makefile: Add memrchr benchmark.
10849         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10850         benchmark as memrchr.
10851         * benchtests/bench-memrchr-ifunc.c: New file.
10852         * benchtests/bench-memrchr.c: New file.
10854 2013-09-06   Will Newton  <will.newton@linaro.org>
10856         * benchtests/Makefile (string-bench): Add memcpy.
10858 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
10859             Cong Wang  <amwang@redhat.com>
10861         [BZ #15850]
10862         * sysdeps/unix/sysv/linux/bits/in.h
10863         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10864         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10865         before __USE_KERNEL_IPV6_DEFS uses.
10866         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10867         IPPROTO_BEETPH.
10868         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10869         sockaddr_in6, or ipv6_mreq.
10871 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10873         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10874         memory access for final bytes in some large inputs.
10875         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10877 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10879         * string/test-memrchr.c: New file.
10880         * string/test-memrchr-ifunc.c: New file.
10881         * string/Makefile: Add new memrchr testcase.
10883 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
10885         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10886         fanotify_init returns EPERM.
10888 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10890         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10891         errors.
10892         (top level): Treat second token from macro or constant entries for
10893         allowed headers as allowed.
10894         * include/complex.h: Condition internal declarations on
10895         [!_ISOMAC].
10896         * include/fenv.h: Condition include of <stdbool.h> and internal
10897         declarations on [!_ISOMAC].
10899 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
10901         [BZ #15923]
10902         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10904 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10906         * configure.in (--enable-versioning): Remove configure option.
10907         (libc_cv_asm_symver_directive): Remove configure test.
10908         (libc_cv_ld_version_script_option): Likewise.
10909         (VERSIONING): Remove variable and AC_SUBST.
10910         (DO_VERSIONING): Remove AC_DEFINE.
10911         * configure: Regenerated.
10912         * config.h.in (DO_VERSIONING): Remove macro.
10913         * Makerules [$(versioning) = yes]: Change conditionals to
10914         [$(build-shared) = yes].
10915         * config.make.in (versioning): Remove variable.
10916         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10917         [$(build-shared) = yes].
10918         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10919         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10920         * elf/Makefile [$(versioning) = yes]: Change conditionals to
10921         [$(build-shared) = yes].
10922         * extra-lib.mk [$(versioning) = yes]: Likewise.
10923         * hurd/Makefile [$(versioning) = yes]: Likewise.
10924         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10925         [SHARED].
10926         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10927         [SHARED].
10928         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10929         [SHARED && !NO_HIDDEN].
10930         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10931         [SHARED].
10932         [SHARED && DO_VERSIONING]: Likewise..
10933         * libio/Makefile [$(versioning) = yes]: Change conditionals to
10934         [$(build-shared) = yes].
10935         * manual/install.texi (--disable-versioning): Remove
10936         documentation.
10937         * INSTALL: Regenerated.
10938         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10939         to [SHARED].
10940         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10941         [$(build-shared) = yes].
10942         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10943         * sysdeps/i386/i686/multiarch/strstr-c.c
10944         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10945         [SHARED && !NO_HIDDEN].
10946         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10947         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10948         * sysdeps/powerpc/powerpc32/dl-machine.c
10949         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10950         * sysdeps/powerpc/powerpc32/sysdep.h
10951         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10952         to [SHARED && PIC && !NO_HIDDEN].
10953         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10954         conditional to [SHARED].
10956 2013-09-04   Will Newton  <will.newton@linaro.org>
10958         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10959         * benchtests/bench-string.h: Include bench-timing.h instead
10960         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10961         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10962         call to HP_TIMING_DIFF_INIT.
10963         * benchtests/bench-memccpy.c: Use bench-timing.h macros
10964         instead of hp-timing.h macros.
10965         * benchtests/bench-memchr.c: Likewise.
10966         * benchtests/bench-memcmp.c: Likewise.
10967         * benchtests/bench-memcpy.c: Likewise.
10968         * benchtests/bench-memmem.c: Likewise.
10969         * benchtests/bench-memmove.c: Likewise.
10970         * benchtests/bench-memset.c: Likewise.
10971         * benchtests/bench-rawmemchr.c: Likewise.
10972         * benchtests/bench-strcasecmp.c: Likewise.
10973         * benchtests/bench-strcasestr.c: Likewise.
10974         * benchtests/bench-strcat.c: Likewise.
10975         * benchtests/bench-strchr.c: Likewise.
10976         * benchtests/bench-strcmp.c: Likewise.
10977         * benchtests/bench-strcpy.c: Likewise.
10978         * benchtests/bench-strcpy_chk.c: Likewise.
10979         * benchtests/bench-strlen.c: Likewise.
10980         * benchtests/bench-strncasecmp.c: Likewise.
10981         * benchtests/bench-strncat.c: Likewise.
10982         * benchtests/bench-strncmp.c: Likewise.
10983         * benchtests/bench-strncpy.c: Likewise.
10984         * benchtests/bench-strnlen.c: Likewise.
10985         * benchtests/bench-strpbrk.c: Likewise.
10986         * benchtests/bench-strrchr.c: Likewise.
10987         * benchtests/bench-strspn.c: Likewise.
10988         * benchtests/bench-strstr.c: Likewise.
10990 2013-09-04  Will Newton  <will.newton@linaro.org>
10992         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10994 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
10996         [BZ #15427]
10997         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10998         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10999         * math/libm-test.inc (lgamma_test_data): Add more tests.
11000         * sysdeps/i386/fpu/libm-test-ulps: Update.
11001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11003 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
11005         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11006         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11007         Add ifunc.
11008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11009         Add strcmp-sse2-unaligned
11010         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11012 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
11014         * Versions.def (libc): Add GLIBC_2.19.
11016 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
11018         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11019         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11021 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
11023         [BZ #14155]
11024         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11025         intermediate calculations in recurrence.
11026         (__ieee754_ynf): Likewise.
11027         * math/libm-test.inc (jn_test_data): Do not allow spurious
11028         underflow exception.  Add more tests.
11029         (yn_test_data): Add more tests.
11030         * sysdeps/i386/fpu/libm-test-ulps: Update.
11031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11033 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
11035         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11037 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
11039         * csu/init-first.c: Fix then/than typos.
11040         * locale/programs/ld-collate.c: Likewise.
11041         * locale/programs/linereader.h: Likewise.
11042         * manual/charset.texi: Likewise.
11043         * manual/filesys.texi: Likewise.
11044         * manual/stdio.texi: Likewise.
11045         * manual/string.texi: Likewise.
11046         * stdlib/fmtmsg.c: Likewise.
11047         * sysdeps/i386/stpncpy.S: Likewise.
11048         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11049         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11050         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11051         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11053 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
11055         * elf/dl-open.c: Fix typos.
11056         * iconvdata/gbbig5.c: Likewise.
11057         * iconvdata/iso-2022-jp.c: Likewise.
11058         * iconv/gconv_int.h: Likewise.
11059         * iconv/loop.c: Likewise.
11060         * nis/rpcsvc/nis.h: Likewise.
11061         * resolv/ns_name.c: Likewise.
11062         * stdio-common/vfscanf.c: Likewise.
11063         * streams/stropts.h: Likewise.
11064         * sunrpc/rpc_thread.c: Likewise.
11065         * sysdeps/i386/strpbrk.S: Likewise.
11066         * sysdeps/ieee754/k_standard.c: Likewise.
11067         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11068         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11069         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11070         * sysdeps/mach/hurd/profil.c: Likewise.
11071         * sysdeps/s390/dl-procinfo.h: Likewise.
11072         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11073         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11074         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11075         * sysdeps/x86_64/dl-trampoline.S: Likewise.
11076         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11078 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
11080         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11083 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
11085         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11086         aix specific files.
11087         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11088         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11089         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11090         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11091         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11092         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11093         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11094         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11096 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
11097             Roland McGrath  <roland@hack.frob.com>
11099         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11100         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11102 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11104         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11105         __executable_start symbol instead of _start.
11107 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
11109         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11110         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11111         Move macros to...
11112         * sysdeps/gnu/ldsodefs.h: ... this new file.
11114         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11115         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11116         instead of ELFOSABI_LINUX.
11118         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11119         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11120         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11121         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11122         Likewise.
11123         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11124         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11125         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11126         Likewise.
11127         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11128         (ibm_extended_long_double): Add ieee_nan member.
11129         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11130         (do_test): New function.
11132         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11133         TEST_TRUNC.
11134         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11135         functions, renamed from truncdfsf_test, trunctfsf_test,
11136         trunctfdf_test.
11137         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11138         functions.
11139         (do_test): Run all these.
11141 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
11143         * argp/argp-help.c: Fix typos.
11144         * argp/argp-parse.c: Likewise.
11145         * debug/backtracesyms.c: Likewise.
11146         * elf/elf.h: Likewise.
11147         * malloc/malloc.c: Likewise.
11148         * nis/nis_print.c: Likewise.
11149         * resolv/res_comp.c: Likewise.
11150         * stdlib/stdlib.h: Likewise.
11151         * sunrpc/clnt_tcp.c: Likewise.
11152         * sunrpc/clnt_udp.c: Likewise.
11153         * sunrpc/clnt_unix.c: Likewise.
11154         * sysdeps/unix/bsd/ptsname.c: Likewise.
11155         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11156         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11158         Likewise.
11159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11160         Likewise.
11161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11162         Likewise.
11163         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11165 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11167         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11170 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
11172         [BZ #15897]
11173         * dlfcn/Makefile (tests): Add bug-dl-leaf.
11174         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11175         ($(objpfx)bug-dl-leaf): New rule.
11176         ($(objpfx)bug-dl-leaf.so): Likewise.
11177         ($(objpfx)bug-dl-leaf.out): Likewise.
11178         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11179         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11180         * dlfcn/bug-dl-leaf.c: New test.
11181         * dlfcn/bug-dl-leaf-lib.c: Likewise.
11182         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11183         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11184         (dlclose): Likewise.
11185         (dlmopen): Likewise.
11187 2013-08-27  Roland McGrath  <roland@hack.frob.com>
11189         * include/netdb.h [!_ISOMAC]:
11190         Don't include <tls.h>.
11191         (h_errno, __libc_h_errno): Move declaration and macros out of
11192         [_LIBC_REENTRANT].
11194         * include/resolv.h [_RESOLV_H_]:
11195         Don't include <tls.h>.
11196         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11197         * resolv/res_libc.c: Don't include <tls.h>.
11198         (_res): Use __attribute__ ((nocommon)) in place of
11199         __attribute__ ((section (".bss"))).
11201         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11202         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11204         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11206         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11207         only under [SIOCGIFCONF && SIOCGIFNETMASK].
11209         * resolv/res_mkquery.c: Include <sys/time.h>.
11211         * inet/ifreq.c: Moved to ...
11212         * sysdeps/unix/ifreq.c: ... here.
11213         * inet/ifreq.c: New file, true stub version.
11215         * socket/sa_len.c: New file.
11216         * socket/Makefile (aux): Add it.
11217         * sysdeps/unix/sysv/linux/Makefile
11218         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11219         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11220         and #include <socket/sa_len.c>.
11221         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11222         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11224         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11225         * bits/socket.h: ... here.
11227         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11228         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11229         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11231 2013-08-27  Andreas Schwab  <schwab@suse.de>
11233         [BZ #15736]
11234         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11235         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11236         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11237         * string/test-strcasecmp.c (test_main): Run tests in several
11238         locales.
11239         * string/test-strncasecmp.c (test_main): Likewise.
11241         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11242         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11243         to __strcasecmp_nonascii and __strncasecmp_nonascii.
11244         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11245         (__strncasecmp_ssse3) [PIC]: Likewise.
11247 2013-08-26  Roland McGrath  <roland@hack.frob.com>
11249         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11251         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11252         instead of explicitly declaring xdecrypt.
11253         * nis/nss_nis/nis-publickey.c: Likewise.
11255 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11257         [BZ #15890]
11258         * nscd/aicache.c: Include res_hconf.h.
11259         (addhstaiX): Initialize res_hconf.
11261 2013-08-26  Andreas Schwab  <schwab@suse.de>
11263         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11264         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11266 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11268         * nscd/aicache.c (addhstaiX): Fix indentation.
11270 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
11272         * configure.ac: Quote $build_pt_chown test.
11273         * configure: Regenerated.
11275 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
11277         [BZ #15532]
11278         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11279         * math/s_cexpf.c (__cexpf): Likewise.
11280         * math/s_cexpl.c (__cexpl): Likewise.
11281         * math/libm-test.inc (cexp_test_data): Correct expected return
11282         value for NaN + i0.  Add another test.
11284 2013-08-22  David S. Miller  <davem@davemloft.net>
11286         * po/ca.po: Update Catalan translation from translation project.
11287         * po/uk.po: Add Ukrainian translations from translation project.
11289 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
11291         [BZ #15797]
11292         * math/s_fdim.c (__fdim): Check for infinite arguments if result
11293         is infinite, not alongside NaN test.
11294         * math/s_fdimf.c (__fdimf): Likewise.
11295         * math/s_fdiml.c (__fdiml): Likewise.
11296         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
11297         errno is unchanged.
11299 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
11301         * argp/argp-help.c: Fix typos.
11302         * crypt/speeds.c: Likewise.
11303         * csu/check_fds.c: Likewise.
11304         * elf/dl-load.c: Likewise.
11305         * elf/dl-open.c: Likewise.
11306         * elf/reldep3.c: Likewise.
11307         * elf/reldep.c: Likewise.
11308         * elf/sprof.c: Likewise.
11309         * iconv/iconv_charmap.c: Likewise.
11310         * iconv/skeleton.c: Likewise.
11311         * iconv/strtab.c: Likewise.
11312         * io/lockf64.c: Likewise.
11313         * libio/libioP.h: Likewise.
11314         * resolv/gai_notify.c: Likewise.
11315         * resolv/ns_name.c: Likewise.
11316         * resolv/ns_samedomain.c: Likewise.
11317         * resolv/res_send.c: Likewise.
11318         * stdlib/random.c: Likewise.
11319         * sunrpc/rpc/xdr.h: Likewise.
11320         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11321         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11322         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11323         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11324         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11325         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11326         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11327         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11328         * sysdeps/mach/hurd/check_fds.c: Likewise.
11329         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11330         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11331         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11332         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11333         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11334         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11335         * sysdeps/pthread/aio_notify.c: Likewise.
11336         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11337         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11338         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11339         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11340         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11342 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11344         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11345         version if bit_Slow_SSE4_2 is set.
11346         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11347         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11349 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11351         [BZ #15867]
11352         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11353         trampoline stack frame information.
11354         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11355         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11356         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11357         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11358         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11359         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11360         (_libc_vdso_platform_setup): Initialize the signal trampolines.
11361         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11362         sa_flags value.
11363         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11364         interrupting a syscall and set with option SA_SIGINFO.
11366 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11368         [BZ #15531]
11369         * math/s_cproj.c (__cproj): Only return an infinity if one part of
11370         argument is infinite.
11371         * math/s_cprojf.c (__cprojf): Likewise.
11372         * math/s_cprojl.c (__cprojl): Likewise.
11373         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11374         * math/libm-test.inc (cproj_test_data): Add more tests.
11376         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11378         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11379         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11380         size.  Use __ffs to determine corresponding shift.
11382 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11383             Roland McGrath  <roland@hack.frob.com>
11385         * Makefile (INSTALL): Remove trailing blank lines from output of
11386         makeinfo.
11388 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11390         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11391         Align 32 bit compat elf_greg to 8 bytes.
11393 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11395         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11397 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11399         * string/strcoll_l.c (coll_seq): New structure.
11400         (get_next_seq_cached): New function.
11401         (get_next_seq): New function.
11402         (do_compare): New function.
11403         (STRCOLL): Use GNU style definition.  Simplify implementation
11404         by using get_next_seq, get_next_seq_cached and do_compare.
11406 2013-08-16  Florian Weimer  <fweimer@redhat.com>
11408         [BZ #14699]
11409         CVE-2013-4237
11410         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11411         member.
11412         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11413         member.
11414         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11415         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11416         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
11417         conditional.
11418         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11419         GETDENTS_64BIT_ALIGNED.
11420         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11421         * manual/filesys.texi (Reading/Closing Directory): Document
11422         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
11423         strongly.
11424         * manual/conf.texi (Limits for Files): Add portability note to
11425         NAME_MAX, PATH_MAX.
11426         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11428 2013-08-13  Andreas Schwab  <schwab@suse.de>
11430         [BZ #15749]
11431         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11432         of fabs.
11433         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11434         LDBL_MAX_EXP >= 16384]: Add tests for it.
11436 2013-08-12  David S. Miller  <davem@davemloft.net>
11438         * version.h (RELEASE): Set to "development".
11439         (VERSION): Set to "2.18.90".
11440         * NEWS: Add 2.19 section.
11442 2013-08-03  David S. Miller  <davem@davemloft.net>
11444         * po/ko.po: Update Korean translation from translation project.
11446 2013-08-01  David S. Miller  <davem@davemloft.net>
11448         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
11449         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11450         Bilka.
11452 2013-07-30  David S. Miller  <davem@davemloft.net>
11454         * po/fr.po: Update French translation from translation project.
11456 2013-07-28  David S. Miller  <davem@davemloft.net>
11458         * po/cs.po: Update Czech translation from translation project.
11460         * po/sv.po: Update Swedish translation from translation project.
11462 2013-07-27  David S. Miller  <davem@davemloft.net>
11464         * po/eo.po: Update Esperanto translation from translation project.
11466         * po/vi.po: Update Vietnamese translation from translation project.
11468         * po/de.po: Update German translation from translation project.
11470 2013-07-26  David S. Miller  <davem@davemloft.net>
11472         * po/bg.po: Update Bulgarian translation from translation project.
11474         * po/nl.po: Update Dutch translation from translation project.
11475         * po/pl.po: Update Polish translation from translation project.
11476         * po/ru.po: Update Russian translation from translation project.
11478 2013-07-24  David S. Miller  <davem@davemloft.net>
11480         * po/libc.pot: Update.
11482 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11484         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11485         variable page size.
11486         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11487         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11488         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11490 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11492         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11494 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11495             Andreas Schwab  <schwab@suse.de>
11496             Roland McGrath  <roland@hack.frob.com>
11497             Joseph Myers  <joseph@codesourcery.com>
11498             Carlos O'Donell  <carlos@redhat.com>
11500         [BZ #15755]
11501         * config.h.in: Define HAVE_PT_CHOWN.
11502         * config.make.in (build-pt-chown): New variable.
11503         * configure.in (--enable-pt_chown): New configure option.
11504         * configure: Regenerate.
11505         * login/Makefile: Include Makeconfig.  Build pt_chown only if
11506         build-pt-chown is enabled.
11507         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11508         pt_chown to fix pty ownership.
11509         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11510         CLOSE_ALL_FDS.
11511         * manual/install.texi (Configuring and compiling): Mention
11512         --enable-pt_chown. Add @findex for grantpt.
11513         * INSTALL: Regenerate.
11515 2013-07-20  David S. Miller  <davem@davemloft.net>
11517         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11518         difference between 32-bit and 64-bit.
11520 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
11522         [BZ #15711]
11523         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11524         Avoid system header dependency with -ffreestanding.
11525         ($(objpfx)bits/syscall%d): Likewise.
11527 2013-07-13  David S. Miller  <davem@davemloft.net>
11529         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11530         underflows from atanl/atan2l due to bug 15319.
11531         (casinh_test_data): Likewise.
11533 2013-07-07  David S. Miller  <davem@davemloft.net>
11535         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11537 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
11539         * sysdeps/i386/fpu/libm-test-ulps: Update.
11540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11542 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11544         * configure.in (--enable-lock-elision): Fix message text.
11545         * INSTALL: Regenerate.
11546         * configure: Regenerate.
11548 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11552 2013-07-03  Andreas Jaeger  <aj@suse.de>
11554         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11555         define.
11556         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11557         (ptrace_peeksiginfo_args): Add.
11558         (__ptrace_peeksiginfo_flags): Add.
11559         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11560         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11561         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11563 2013-07-03  Allan McRae  <allan@archlinux.org>
11565         * sysdeps/i386/fpu/libm-test-ulps: Update.
11567 2013-07-02  David S. Miller  <davem@davemloft.net>
11569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11571 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
11573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11575 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11577         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11580 2013-07-02  Andi Kleen <ak@linux.intel.com>
11582         * config.h.in (ENABLE_LOCK_ELISION): Add.
11583         * configure.in (--enable-lock-elision): Add option.
11584         * manual/install.texi: Document --enable lock elision.
11585         * configure: Regenerate
11586         * INSTALL: Regenerate.
11588 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11590         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11591         SSE4.2 strcasecmp for libc.a.
11592         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11594 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11596         [BZ #13304]
11597         * soft-fp/op-common.h (_FP_FMA): New macro.
11598         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11599         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
11600         (_FP_MUL_MEAT_1_imm): ... here.
11601         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
11602         (_FP_MUL_MEAT_1_wide): ... here.
11603         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
11604         (_FP_MUL_MEAT_1_hard): ... here.
11605         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11606         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
11607         (_FP_MUL_MEAT_2_wide): ... here.
11608         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
11609         (_FP_MUL_MEAT_2_wide_3mul): ... here.
11610         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
11611         (_FP_MUL_MEAT_2_gmp): ... here.
11612         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11613         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
11614         (_FP_MUL_MEAT_4_wide): ... here.
11615         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
11616         (_FP_MUL_MEAT_4_gmp): ... here.
11617         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11618         (_FP_WFRACBITS_DW_S): Likewise.
11619         (_FP_WFRACXBITS_DW_S): Likewise.
11620         (_FP_HIGHBIT_DW_S): Likewise.
11621         (FP_FMA_S): Likewise.
11622         (_FP_FRAC_HIGH_DW_S): Likewise.
11623         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11624         (_FP_WFRACBITS_DW_D): Likewise.
11625         (_FP_WFRACXBITS_DW_D): Likewise.
11626         (_FP_HIGHBIT_DW_D): Likewise.
11627         (FP_FMA_D): Likewise.
11628         (_FP_FRAC_HIGH_DW_D): Likewise.
11629         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11630         (_FP_WFRACBITS_DW_E): Likewise.
11631         (_FP_WFRACXBITS_DW_E): Likewise.
11632         (_FP_HIGHBIT_DW_E): Likewise.
11633         (FP_FMA_E): Likewise.
11634         (_FP_FRAC_HIGH_DW_E): Likewise.
11635         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11636         (_FP_WFRACBITS_DW_Q): Likewise.
11637         (_FP_WFRACXBITS_DW_Q): Likewise.
11638         (_FP_HIGHBIT_DW_Q): Likewise.
11639         (FP_FMA_Q): Likewise.
11640         (_FP_FRAC_HIGH_DW_Q): Likewise.
11641         * soft-fp/fmasf4.c: New file.
11642         * soft-fp/fmadf4.c: Likewise.
11643         * soft-fp/fmatf4.c: Likewise.
11645 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11648         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11649         Silvermont.
11650         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11651         macro.
11652         (index_Slow_SSE4_2): Likewise.
11653         (index_Prefer_PMINUB_for_stringop): Likewise.
11654         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11655         bit_Slow_SSE4_2 is set.
11656         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11657         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11659 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11661         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11662         rtld_global._dl_hwcap2.
11663         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11664         POWER8.
11665         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11666         POWER8 feature descriptions defined in _dl_hwcap2.
11667         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11668         string handling for POWER8 feature bits.
11669         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11670         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11671         _dl_powerpc_cap_flags.
11672         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11673         * sysdeps/powerpc/rtld-global-offsets.sym
11674         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11675         _dl_hwcap2 in the rtld_global_ro structure.
11677 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11679         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11680         hardware capabilities in support of AT_HWCAP2.
11681         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11682         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11683         GLRO(dl_hwcap2).
11684         (_dl_show_auxv): Add support for calling _dl_procinfo to display
11685         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
11686         explicitly the unknown a_type display mechanism is used.
11687         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11688         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11689         struct member.
11690         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11691         to macro prototype for AT_HWCAP2 support.
11692         * sysdeps/i386/dl-procinfo.h: Likewise.
11693         * sysdeps/s390/dl-procinfo.h: Likewise.
11694         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11695         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
11696         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
11697         return -1 for unknown a_type display fallback.
11698         * sysdeps/sparc/dl-procinfo.h: Likewise.
11699         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11700         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11702 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
11704         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11705         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11707 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
11709         [BZ #12492]
11710         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11711         mprotect making __stack_prot writable.
11713 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
11714             Joseph Myers  <joseph@codesourcery.com>
11716         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11717         as being properly aligned.
11719 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
11721         * dlfcn/modstatic5.c: New file.
11722         * dlfcn/tststatic5.c: New file.
11723         * dlfcn/Makefile (tests): Add tststatic5.
11724         (tests-static): Likewise.
11725         (modules-names): Add modstatic5.
11726         (tststatic5-ENV): New variable.
11727         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11729         [BZ #15022]
11730         * elf/dl-support.c (_dl_main_map): New variable.
11731         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11732         (_dl_nns, _dl_load_adds): Set to 1.
11733         (_dl_initial_searchlist): Refer to _dl_main_map.
11734         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11735         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11736         call to _dl_get_origin.
11737         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11738         around call_map.
11739         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11740         * dlfcn/modstatic3.c: New file.
11741         * dlfcn/tststatic3.c: New file.
11742         * dlfcn/tststatic4.c: New file.
11743         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11744         (tests-static): Likewise.
11745         (modules-names): Add modstatic3.
11746         (tststatic3-ENV, tststatic4-ENV): New variables.
11747         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11748         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11750 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
11752         * configure.in (CC): Require GCC version 4.4 or later.
11753         * configure: Regenerated.
11754         * manual/install.texi (Tools for Compilation): Update GCC version
11755         requirement.
11756         * INSTALL: Regenerated.
11758 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11760         [BZ #15674]
11761         * string/test-memcmp.c (check2): New.
11762         (main): Call check2.
11764         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11766 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
11768         [BZ #15022]
11769         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11770         over to...
11771         (dl_open_worker) [!SHARED]: ... here.
11773 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11775         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11777 2013-06-25  Richard Henderson  <rth@redhat.com>
11779         * locale/programs/locarchive.c: Include <libc-internal.h>
11781 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
11783         * manual/texinfo.tex: Update to version 2013-06-21.17, with
11784         trailing whitespace removed.
11786 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11788         [BZ #10283]
11789         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11790         * locale/programs/locarchive.c: Include libc-mmap.h.
11791         (prepare_address_space): Take two new outputs (the mmap base and len).
11792         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
11793         values.
11794         (create_archive): Declare new mmap base and len values for
11795         prepare_address_space, and store the result in ah.
11796         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11797         (enlarge_archive): If ah->mmap_base is not NULL, use that and
11798         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11799         Declare new mmap base and len values for
11800         prepare_address_space, and store the result in new_ah.
11801         (open_archive): Declare new mmap base and len values for
11802         prepare_address_space, and store the result in ah.
11803         (close_archive): If ah->mmap_base is not NULL, use that and
11804         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11805         * sysdeps/generic/libc-mmap.h: New file.
11807 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11809         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11810         (ALIGN_UP): Likewise.
11811         (PTR_ALIGN_DOWN): Likewise.
11812         (PTR_ALIGN_UP): Likewise.
11814 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11816         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11817         entry mapped to PPC_PLATFORM_POWER8.
11818         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11819         POWER8.
11820         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11821         (_dl_string_platform): Add case for exporting platform position for
11822         POWER8.
11823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11824         search path to sysdeps/powerpc/powerpc32/power8 directory.
11825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11826         search path to sysdeps/powerpc/powerpc64/power8 directory.
11827         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11828         power7 directories.
11829         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11830         power7 directories.
11832 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11834         * INSTALL: Regenerate.
11836         * nscd/connections.c (nscd_init): Fix comment.
11838 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
11840         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11842         [BZ #15667]
11843         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11844         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11846 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11848         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11849         DL_DST_REQ_STATIC.
11850         (DL_DST_REQ_STATIC): Remove macro.
11852 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
11854         [BZ #7006]
11855         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11856         with a shift of 0 bits.
11858 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11860         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11861         $(tststatic-ENV).
11863 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11865         [BZ #15655]
11866         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11868 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11870         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11871         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11872         accepts -fno-tree-loop-distribute-patterns.
11873         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11874         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11875         recursive call.
11876         * string/memset.c (memset): Likewise.
11877         * string/test-memmove.c (simple_memmove): Disable loop transformation
11878         to library calls.
11879         * string/test-memset.c (simple_memset): Likewise.
11880         * benchtests/bench-memmove.c (simple_memmove): Likewise.
11881         * benchtests/bench-memset.c (simple_memset): Likewise.
11882         * configure: Regenerated.
11884 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
11886         * math/test-misc.c (main): Ignore fesetround failure when failures
11887         of subsequent rounding tests would be ignored.
11889         [BZ #15654]
11890         * math/fedisblxcpt.c (fedisableexcept): Return 0.
11891         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11892         * math/fegetenv.c (__fegetenv): Return 0.
11893         * math/fegetexcept.c (fegetexcept): Return 0.
11894         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11895         FE_TONEAREST.
11896         * math/feholdexcpt.c (feholdexcept): Return 0.
11897         * math/fesetenv.c (__fesetenv): Return 0.
11898         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11899         argument FE_TONEAREST.
11900         * math/feupdateenv.c (__feupdateenv): Return 0.
11901         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11903 2013-06-18  Roland McGrath  <roland@hack.frob.com>
11905         * elf/rtld-Rules (rtld-compile-command.S): New variable.
11906         (rtld-compile-command.s, rtld-compile-command.c): New variables.
11907         ($(objpfx)rtld-%.os rules): Use them.
11909 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11911         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11912         fields.
11914 2013-06-17  Roland McGrath  <roland@hack.frob.com>
11916         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11917         length of target pattern, then descending length of dependency pattern.
11918         * configure.in (AWK): Require gawk 3.1.2 or newer.
11919         * manual/install.texi (Tools for Compilation): Say that we do.
11920         * configure: Regenerated.
11922         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11923         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11924         * scripts/sysd-rules.awk: ... this new script.
11925         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11926         than a glob-style pattern.
11928 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
11930         * math/test-misc.c (main): Do not treat incorrectly rounded
11931         conversions as failure unless ROUNDING_TESTS passes.
11933 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
11935         [BZ #15631]
11936         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11937         restore exception state around main square root computation, then
11938         check for inexactness explicitly.
11940         * math/libm-test.inc (fma_test_data): Add another test.
11942 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11944         * manual/threads.texi (Non-POSIX Extensions): New document
11945         node.  Document pthread_getattr_default_np and
11946         pthread_setattr_default_np.
11948         * Versions.def (libpthread): Add GLIBC_2.18.
11949         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11951         Likewise.
11952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11953         Likewise.
11954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11955         Likewise.
11956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11957         Likewise.
11958         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11959         Likewise.
11960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11961         Likewise.
11962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11963         Likewise.
11964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11965         Likewise.
11966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11967         Likewise.
11969 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11972         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11974 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11975             H.J. Lu  <hjl.tools@gmail.com>
11977         [BZ #15627]
11978         * sysdeps/x86_64/rtld-memset.c: Remove file.
11979         * sysdeps/x86_64/rtld-memset.S: New file.
11981 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
11983         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11984         (test_in_one_mode): Take arguments for whether the rounding mode
11985         is supported for each floating-point type.
11986         (do_test): Pass new arguments to test_in_one_mode using
11987         ROUNDING_TESTS.
11989 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11991         * posix/tst-waitid.c (do_test): Distinguish different instances of
11992         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
11993         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11994         before entering the kernel for waitpid.
11996 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11998         * NEWS: Fix note on clock function precision.  Text by Roland
11999         McGrath.
12001 2013-06-13  Roland McGrath  <roland@hack.frob.com>
12003         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12004         it into place only when and if the sanity check passes.
12006 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
12008         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12009         output for whether conversion result is exact.  Take argument
12010         indicating whether type is IBM long double.
12011         (round_for_all): Change need_exact field to ibm_ld.
12012         * stdlib/tst-strtod-round.c (struct exactness): New type.
12013         (struct test): Change bool ld_ok field to struct exactness exact.
12014         (TEST): Update all definitions for change to field.
12015         (tests): Regenerate array contents.
12016         (test_in_one_mode): Take pointer to new field instead of old ld_ok
12017         field value.  Check for IBM long double here.
12018         (do_test): Update calls to test_in_one_mode.
12020 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12022         [BZ #12515]
12023         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12024         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12026 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12028         [BZ #15605]
12029         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12030         generated by the compiler on loop optimizations.
12031         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12032         general definitions.
12034 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
12036         * math/bug-nextafter.c: Include <math-tests.h>.
12037         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12038         the relevant type.
12039         * math/bug-nexttoward.c: Include <math-tests.h>.
12040         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12041         the relevant type.
12042         * math/test-misc.c: Include <math-tests.h>.
12043         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12044         the relevant type.
12046 2013-06-12  Andreas Jaeger  <aj@suse.de>
12048         * po/ia.po: Update Interlingua translation from translation
12049         project.
12051 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12053         * include/fenv.h: Include stdbool.h.
12054         (struct rm_ctx): New structure.
12055         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12056         Define macro.
12057         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12058         (SET_RESTORE_ROUNDF): Likewise.
12059         (SET_RESTORE_ROUNDL): Likewise.
12060         (SET_RESTORE_ROUND_NOEX): Likewise.
12061         (SET_RESTORE_ROUND_NOEXF): Likewise.
12062         (SET_RESTORE_ROUND_NOEXL): Likewise.
12063         (SET_RESTORE_ROUND_53BIT): Likewise.
12064         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12065         (libc_feresetround_noexf_ctx): Likewise.
12066         (libc_feresetround_noexl_ctx): Likewise.
12067         (libc_feholdsetround_53bit_ctx): Likewise.
12068         (libc_feresetround_53bit_ctx): Likewise.
12069         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12070         (libc_feholdexcept_setround_sse_ctx): New function.
12071         (libc_fesetenv_sse_ctx): Likewise.
12072         (libc_feupdateenv_sse_ctx): Likewise.
12073         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12074         (libc_feholdexcept_setround_387_ctx): Likewise.
12075         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12076         (libc_feholdsetround_387_prec_ctx): Likewise.
12077         (libc_feholdsetround_387_ctx): Likewise.
12078         (libc_feholdsetround_387_53bit_ctx): Likewise.
12079         (libc_feholdsetround_sse_ctx): Likewise.
12080         (libc_feresetround_sse_ctx): Likewise.
12081         (libc_feresetround_387_ctx): Likewise.
12082         (libc_feupdateenv_387_ctx): Likewise.
12083         (libc_feholdexcept_setroundf_ctx): Define macro.
12084         (libc_fesetenvf_ctx): Likewise.
12085         (libc_feupdateenvf_ctx): Likewise.
12086         (libc_feholdsetroundf_ctx): Likewise.
12087         (libc_feresetroundf_ctx): Likewise.
12088         (libc_feholdexcept_setround_ctx): Likewise.
12089         (libc_fesetenv_ctx): Likewise.
12090         (libc_feupdateenv_ctx): Likewise.
12091         (libc_feholdsetround_ctx): Likewise.
12092         (libc_feresetround_ctx): Likewise.
12093         (libc_feholdexcept_setroundl_ctx): Likewise.
12094         (libc_feupdateenvl_ctx): Likewise.
12095         (libc_feholdsetroundl_ctx): Likewise.
12096         (libc_feresetroundl_ctx): Likewise.
12097         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12098         (libc_feresetround_53bit_ctx): Likewise.
12100 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12102         * locale/iso-639.def: Convert to UTF-8.
12104 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
12106         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12107         (EXCEPTION_TESTS_double): Likewise.
12108         (EXCEPTION_TESTS_long_double): Likewise.
12109         (EXCEPTION_TESTS): Likewise.
12110         * math/libm-test.inc (test_exceptions): Only test exceptions if
12111         EXCEPTION_TESTS (FLOAT).
12113 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12115         * benchtests/Makefile (string-bench): Add strcpy_chk and
12116         stpcpy_chk.
12117         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12118         * benchtests/bench-stpcpy_chk.c: New file.
12119         * benchtests/bench-strcpy_chk-ifunc.c: New file.
12120         * benchtests/bench-strcpy_chk.c: New file.
12121         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12122         code.
12123         (do_test): Likewise.
12125 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12127         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12128         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12129         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12130         with tabs where appropriate.
12131         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12132         dl-procinfo.h.
12133         [PPC_PLATFORM_PPC440]: Likewise.
12134         [PPC_PLATFORM_PPC464]: Likewise.
12135         [PPC_PLATFORM_PPC476]: Likewise.
12136         (_dl_string_platform): Add support for detecting ppc405, ppc440,
12137         ppc464, and ppc476 platform strings merging from ports/
12138         dl-procinfo.h.
12140 2013-06-11  Andreas Schwab  <schwab@suse.de>
12142         [BZ #14991]
12143         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12144         (from_ucs4_idx): Regenerate.
12145         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12146         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12147         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12148         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12149         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12150         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12151         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12152         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12153         from FROM_LOOP and TO_LOOP specific macros.
12154         (BODY): Handle combining characters.
12155         * iconvdata/BIG5HKSCS.irreversible: Update.
12156         * iconvdata/BIG5HKSCS.precomposed: New file.
12157         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12158         characters.
12159         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12161 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12163         * include/sys/time.h: Fix indentation and add copyright header.
12165         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12166         (do_test): Likewise.
12167         * string/test-memchr.c (do_one_test): Likewise.
12168         (do_test): Likewise.
12169         * string/test-memcmp.c (do_one_test): Likewise.
12170         (do_test): Likewise.
12171         * string/test-memcpy.c (do_one_test): Likewise.
12172         (do_test): Likewise.
12173         * string/test-memmem.c (do_one_test): Likewise.
12174         (do_test): Likewise.
12175         (do_random_tests): Likewise.
12176         * string/test-memmove.c (do_one_test): Likewise.
12177         (do_test): Likewise.
12178         * string/test-memset.c (do_one_test): Likewise.
12179         (do_test): Likewise.
12180         * string/test-rawmemchr.c (do_one_test): Likewise.
12181         (do_test): Likewise.
12182         * string/test-strcasecmp.c (do_one_test): Likewise.
12183         (do_test): Likewise.
12184         * string/test-strcasestr.c (do_one_test): Likewise.
12185         (do_test): Likewise.
12186         * string/test-strcat.c (do_one_test): Likewise.
12187         (do_test): Likewise.
12188         * string/test-strchr.c (do_one_test): Likewise.
12189         (do_test): Likewise.
12190         * string/test-strcmp.c (do_one_test): Likewise.
12191         (do_test): Likewise.
12192         * string/test-strcpy.c (do_one_test): Likewise.
12193         (do_test): Likewise.
12194         * string/test-string.h: Likewise.
12195         (test_init): Likewise.
12196         * string/test-strlen.c (do_one_test): Likewise.
12197         (do_test): Likewise.
12198         * string/test-strncasecmp.c (do_one_test): Likewise.
12199         (do_test): Likewise.
12200         * string/test-strncat.c (do_one_test): Likewise.
12201         (do_test): Likewise.
12202         * string/test-strncmp.c (do_one_test): Likewise.
12203         (do_test_limit): Likewise.
12204         (do_test): Likewise.
12205         * string/test-strncpy.c (do_one_test): Likewise.
12206         (do_test): Likewise.
12207         * string/test-strnlen.c (do_one_test): Likewise.
12208         (do_test): Likewise.
12209         * string/test-strpbrk.c (do_one_test): Likewise.
12210         (do_test): Likewise.
12211         * string/test-strrchr.c (do_one_test): Likewise.
12212         (do_test): Likewise.
12213         * string/test-strspn.c (do_one_test): Likewise.
12214         (do_test): Likewise.
12215         * string/test-strstr.c (do_one_test): Likewise.
12216         (do_test): Likewise.
12218         * benchtests/Makefile (string-bench): Add string benchmarks.
12219         * benchtests/bench-bcopy-ifunc.c: New file.
12220         * benchtests/bench-bcopy.c: New file.
12221         * benchtests/bench-bzero-ifunc.c: New file.
12222         * benchtests/bench-bzero.c: New file.
12223         * benchtests/bench-memccpy-ifunc.c: New file.
12224         * benchtests/bench-memccpy.c: New file.
12225         * benchtests/bench-memchr-ifunc.c: New file.
12226         * benchtests/bench-memchr.c: New file.
12227         * benchtests/bench-memcmp-ifunc.c: New file.
12228         * benchtests/bench-memcmp.c: New file.
12229         * benchtests/bench-memmem-ifunc.c: New file.
12230         * benchtests/bench-memmem.c: New file.
12231         * benchtests/bench-memmove-ifunc.c: New file.
12232         * benchtests/bench-memmove.c: New file.
12233         * benchtests/bench-mempcpy-ifunc.c: New file.
12234         * benchtests/bench-mempcpy.c: New file.
12235         * benchtests/bench-memset-ifunc.c: New file.
12236         * benchtests/bench-memset.c: New file.
12237         * benchtests/bench-rawmemchr-ifunc.c: New file.
12238         * benchtests/bench-rawmemchr.c: New file.
12239         * benchtests/bench-stpcpy-ifunc.c: New file.
12240         * benchtests/bench-stpcpy.c: New file.
12241         * benchtests/bench-stpncpy-ifunc.c: New file.
12242         * benchtests/bench-stpncpy.c: New file.
12243         * benchtests/bench-strcasecmp-ifunc.c: New file.
12244         * benchtests/bench-strcasecmp.c: New file.
12245         * benchtests/bench-strcasestr-ifunc.c: New file.
12246         * benchtests/bench-strcasestr.c: New file.
12247         * benchtests/bench-strcat-ifunc.c: New file.
12248         * benchtests/bench-strcat.c: New file.
12249         * benchtests/bench-strchr-ifunc.c: New file.
12250         * benchtests/bench-strchr.c: New file.
12251         * benchtests/bench-strchrnul-ifunc.c: New file.
12252         * benchtests/bench-strchrnul.c: New file.
12253         * benchtests/bench-strcmp-ifunc.c: New file.
12254         * benchtests/bench-strcmp.c: New file.
12255         * benchtests/bench-strcpy-ifunc.c: New file.
12256         * benchtests/bench-strcpy.c: New file.
12257         * benchtests/bench-strcspn-ifunc.c: New file.
12258         * benchtests/bench-strcspn.c: New file.
12259         * benchtests/bench-strlen-ifunc.c: New file.
12260         * benchtests/bench-strlen.c: New file.
12261         * benchtests/bench-strncasecmp-ifunc.c: New file.
12262         * benchtests/bench-strncasecmp.c: New file.
12263         * benchtests/bench-strncat-ifunc.c: New file.
12264         * benchtests/bench-strncat.c: New file.
12265         * benchtests/bench-strncmp-ifunc.c: New file.
12266         * benchtests/bench-strncmp.c: New file.
12267         * benchtests/bench-strncpy-ifunc.c: New file.
12268         * benchtests/bench-strncpy.c: New file.
12269         * benchtests/bench-strnlen-ifunc.c: New file.
12270         * benchtests/bench-strnlen.c: New file.
12271         * benchtests/bench-strpbrk-ifunc.c: New file.
12272         * benchtests/bench-strpbrk.c: New file.
12273         * benchtests/bench-strrchr-ifunc.c: New file.
12274         * benchtests/bench-strrchr.c: New file.
12275         * benchtests/bench-strspn-ifunc.c: New file.
12276         * benchtests/bench-strspn.c: New file.
12277         * benchtests/bench-strstr-ifunc.c: New file.
12278         * benchtests/bench-strstr.c: New file.
12280         * benchtests/Makefile: Disable parallel execution of targets.
12281         (string-bench): Add memcpy.
12282         (benchset): New variable to store a list of benchmark sets.
12283         (bench-func): Renamed from bench.
12284         (bench-set): New target.
12285         (bench): Depend on bench-func and bench-set.
12286         * benchtests/README: Add section on benchmark sets.
12287         * benchtests/bench-memcpy-ifunc.c: New file.
12288         * benchtests/bench-memcpy.c: New file.
12289         * benchtests/bench-string.h: New file.
12291 2013-06-11  Andreas Schwab  <schwab@suse.de>
12293         [BZ #15577]
12294         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12295         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12296         values in the triple.
12297         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12298         terminator in the group key.
12300 2013-06-11  Andreas Jaeger  <aj@suse.de>
12302         * po/zh_TW.po: Update Chinese (traditional) translation from
12303         translation project.
12305 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12307         * include/time.h (__clock_gettime): Add libc_hidden_proto.
12308         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12309         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
12310         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12311         (clock_getcpuclockid): Likewise.
12312         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12313         Add weak_alias and libc_hidden_def.
12314         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12315         * rt/clock_gettime.c (clock_gettime): Rename to
12316         __clock_gettime.  Add weak_alias and libc_hidden_def.
12317         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12318         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12319         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
12320         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12321         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12322         Likewise.
12323         * rt/clock_settime.c (clock_settime): Rename to
12324         __clock_settime.  Add weak_alias and libc_hidden_def.
12325         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12327 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
12329         * mach/err_boot.sub: Remove trailing whitespace.
12330         * mach/err_ipc.sub: Likewise.
12331         * mach/err_mach.sub: Likewise.
12333         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12334         (ROUNDING_TESTS_double): Likewise.
12335         (ROUNDING_TESTS_long_double): Likewise.
12336         (ROUNDING_TESTS): Likewise.
12337         * math/libm-test.inc: Include <math-tests.h>.
12338         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12339         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12340         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12341         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12343 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12345         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12346         of assigning.
12348 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
12350         * sysdeps/gnu/errlist.awk: Do not generate space at end of
12351         otherwise empty TRANS lines.
12352         * sysdeps/gnu/errlist.c: Regenerated.
12354         * catgets/gencat.c (error_print): Use (void) in function
12355         definition.
12356         * crypt/crypt_util.c (__init_des): Likewise.
12357         * crypt/speeds.c (Stop): Likewise.
12358         (main): Likewise.
12359         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12360         * inet/ruserpass.c (token): Likewise.
12361         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12362         * intl/localealias.c (extend_alias_table): Likewise.
12363         * intl/plural-exp.c (init_germanic_plural): Likewise.
12364         * libio/fcloseall.c (__fcloseall): Likewise.
12365         * libio/genops.c (_IO_flush_all): Likewise.
12366         (_IO_flush_all_linebuffered): Likewise.
12367         (_IO_cleanup): Likewise.
12368         (_IO_iter_begin): Likewise.
12369         (_IO_iter_end): Likewise.
12370         (_IO_list_lock): Likewise.
12371         (_IO_list_unlock): Likewise.
12372         (_IO_list_resetlock): Likewise.
12373         * libio/getchar.c (getchar): Likewise.
12374         * libio/getchar_u.c (getchar_unlocked): Likewise.
12375         * libio/getwchar.c (getwchar): Likewise.
12376         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12377         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12378         * login/getpt.c (__getpt): Likewise.
12379         * login/tst-utmp.c (main): Likewise.
12380         * malloc/hooks.c (__malloc_check_init): Likewise.
12381         * malloc/malloc.c (__malloc_stats): Likewise.
12382         * malloc/mtrace.c (tr_break): Likewise.
12383         (mtrace): Likewise.
12384         (muntrace): Likewise.
12385         * misc/fstab.c (endfsent): Likewise.
12386         * misc/getclktck.c (__getclktck): Likewise.
12387         * misc/getdtsz.c (__getdtablesize): Likewise.
12388         * misc/gethostid.c (gethostid): Likewise.
12389         * misc/getpagesize.c (__getpagesize): Likewise.
12390         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12391         (__get_nprocs): Likewise.
12392         (__get_phys_pages): Likewise.
12393         (__get_avphys_pages): Likewise.
12394         * misc/getttyent.c (getttyent): Likewise.
12395         (setttyent): Likewise.
12396         (endttyent): Likewise.
12397         * misc/getusershell.c (getusershell): Likewise.
12398         (endusershell): Likewise.
12399         (setusershell): Likewise.
12400         (initshells): Likewise.
12401         * misc/hsearch.c (__hdestroy): Likewise.
12402         * misc/sync.c (sync): Likewise.
12403         * misc/syslog.c (closelog_internal): Likewise.
12404         (closelog): Likewise.
12405         * misc/ttyslot.c (ttyslot): Likewise.
12406         * misc/vhangup.c (vhangup): Likewise.
12407         * posix/fork.c (__fork): Likewise.
12408         * posix/getegid.c (__getegid): Likewise.
12409         * posix/geteuid.c (__geteuid): Likewise.
12410         * posix/getgid.c (__getgid): Likewise.
12411         * posix/getpid.c (__getpid): Likewise.
12412         * posix/getppid.c (__getppid): Likewise.
12413         * posix/getuid.c (__getuid): Likewise.
12414         * posix/pause.c (pause): Likewise.
12415         * posix/setpgrp.c (setpgrp): Likewise.
12416         * posix/setsid.c (__setsid): Likewise.
12417         * posix/test-vfork.c (noop): Likewise.
12418         * resolv/gethnamaddr.c (_endhtent): Likewise.
12419         (_gethtent): Likewise.
12420         (ht_endhostent): Likewise.
12421         (gethostent): Likewise.
12422         (dns_service): Likewise.
12423         * stdlib/drand48.c (drand48): Likewise.
12424         * stdlib/lrand48.c (lrand48): Likewise.
12425         * stdlib/mrand48.c (mrand48): Likewise.
12426         * stdlib/rand.c (rand): Likewise.
12427         * stdlib/random.c (__random): Likewise.
12428         * stdlib/setenv.c (clearenv): Likewise.
12429         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12430         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12431         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12432         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12433         (__get_nprocs): Likewise.
12434         (__get_phys_pages): Likewise.
12435         (__get_avphys_pages): Likewise.
12436         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12437         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12438         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12439         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12440         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12441         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12442         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12443         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12444         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12445         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12446         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12447         * sysdeps/mach/hurd/sync.c (sync): Likewise.
12448         * sysdeps/posix/clock.c (clock): Likewise.
12449         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12450         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12451         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12452         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12453         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12454         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12455         (__get_nprocs_conf): Likewise.
12456         (__get_phys_pages): Likewise.
12457         (__get_avphys_pages): Likewise.
12458         * time/clock.c (clock): Likewise.
12459         * time/tzset.c (__tzname_max): Likewise.
12461 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
12463         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12464         (__bswap_32): Do not use "register".
12465         * crypt/crypt.c (_ufc_doit_r): Likewise.
12466         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12467         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12468         * gmon/gmon.c (__monstartup): Likewise.
12469         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12470         * hurd/hurdmalloc.c (more_memory): Likewise.
12471         (malloc): Likewise.
12472         (free): Likewise.
12473         (realloc): Likewise.
12474         (malloc_fork_prepare): Likewise.
12475         (malloc_fork_parent): Likewise.
12476         (malloc_fork_child): Likewise.
12477         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12478         (_svcauth_des): Likewise.
12479         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12480         * inet/inet_net.c (inet_network): Likewise.
12481         * inet/inet_netof.c (inet_netof): Likewise.
12482         * inet/rcmd.c (__validuser2_sa): Likewise.
12483         * io/fts.c (fts_open): Likewise.
12484         (fts_load): Likewise.
12485         (fts_close): Likewise.
12486         (fts_read): Likewise.
12487         (fts_children): Likewise.
12488         (fts_build): Likewise.
12489         (fts_stat): Likewise.
12490         (fts_sort): Likewise.
12491         (fts_alloc): Likewise.
12492         (fts_lfree): Likewise.
12493         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12494         (_IO_file_xsgetn): Likewise.
12495         (_IO_file_xsgetn_mmap): Likewise.
12496         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12497         (_IO_cookie_write): Likewise.
12498         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12499         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12500         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12501         * malloc/obstack.c (_obstack_begin): Likewise.
12502         (_obstack_begin_1): Likewise.
12503         (_obstack_newchunk): Likewise.
12504         (_obstack_allocated_p): Likewise.
12505         (obstack_free): Likewise.
12506         (_obstack_memory_used): Likewise.
12507         * misc/getttyent.c (getttynam): Likewise.
12508         (getttyent): Likewise.
12509         (skip): Likewise.
12510         (value): Likewise.
12511         * misc/getusershell.c (initshells): Likewise.
12512         * misc/syslog.c (__vsyslog_chk): Likewise.
12513         * misc/ttyslot.c (ttyslot): Likewise.
12514         * nis/nis_hash.c (__nis_hash): Likewise.
12515         * posix/fnmatch_loop.c (FCT): Likewise.
12516         * posix/getconf.c (print_all): Likewise.
12517         (main): Likewise.
12518         * posix/getopt.c (exchange): Likewise.
12519         * posix/glob.c (globfree): Likewise.
12520         (prefix_array): Likewise.
12521         (__glob_pattern_type): Likewise.
12522         * resolv/arpa/nameser.h (NS_GET16): Likewise.
12523         (NS_GET32): Likewise.
12524         (NS_PUT16): Likewise.
12525         (NS_PUT32): Likewise.
12526         * resolv/gethnamaddr.c (getanswer): Likewise.
12527         (gethostbyname2): Likewise.
12528         (gethostbyaddr): Likewise.
12529         (_gethtent): Likewise.
12530         (_gethtbyname2): Likewise.
12531         (_gethtbyaddr): Likewise.
12532         * resolv/ns_print.c (dst_s_get_int16): Likewise.
12533         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12534         * resolv/res_init.c (__res_vinit): Likewise.
12535         (net_mask): Likewise.
12536         * resolv/res_mkquery.c (outchar): Likewise.
12537         (PRINT): Likewise.
12538         * stdio-common/printf_fp.c (outchar): Likewise.
12539         (PRINT): Likewise.
12540         * stdio-common/printf_fphex.c (outchar): Likewise.
12541         (PRINT): Likewise.
12542         * stdio-common/printf_size.c (outchar): Likewise.
12543         (PRINT): Likewise.
12544         * stdio-common/test_rdwr.c (main): Likewise.
12545         * stdio-common/tfformat.c (matches): Likewise.
12546         * stdio-common/vfprintf.c (outchar): Likewise.
12547         (printf_unknown): Likewise.
12548         (buffered_vfprintf): Likewise.
12549         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12550         * stdio-common/xbug.c (AppendToBuffer): Likewise.
12551         (ReadFile): Likewise.
12552         * stdlib/qsort.c (SWAP): Likewise.
12553         (_quicksort): Likewise.
12554         * stdlib/setenv.c (__add_to_environ): Likewise.
12555         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12556         * stdlib/strtol_l.c (__strtol_l): Likewise.
12557         * stdlib/tst-strtod.c (main): Likewise.
12558         * stdlib/tst-strtol.c (main): Likewise.
12559         * stdlib/tst-strtoll.c (main): Likewise.
12560         * string/bits/string2.h (__strcmp_cc): Likewise.
12561         (__strcmp_cg): Likewise.
12562         (__strcspn_c1): Likewise.
12563         (__strcspn_c2): Likewise.
12564         (__strcspn_c3): Likewise.
12565         (__strspn_c1): Likewise.
12566         (__strspn_c2): Likewise.
12567         (__strspn_c3): Likewise.
12568         (__strsep_1c): Likewise.
12569         (__strsep_2c): Likewise.
12570         (__strsep_3c): Likewise.
12571         * string/memccpy.c (__memccpy): Likewise.
12572         * string/stpcpy.c (__stpcpy): Likewise.
12573         * string/strcmp.c (strcmp): Likewise.
12574         * string/strrchr.c (strrchr): Likewise.
12575         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12576         Likewise.
12577         * sysdeps/mach/hurd/getcwd.c
12578         (_hurd_canonicalize_directory_name_internal): Likewise.
12579         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12580         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12581         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12582         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12583         Likewise, in both definitions.
12584         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12585         definitions.
12586         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12587         64] (__bswap_64): Likewise.
12588         * time/test_time.c (main): Likewise.
12589         * time/tzfile.c (__tzfile_read): Likewise.
12590         (__tzfile_compute): Likewise.
12591         * time/tzset.c (__tzset_parse_tz): Likewise.
12592         (tzset_internal): Likewise.
12593         (compute_change): Likewise.
12594         * wcsmbs/wcscat.c (__wcscat): Likewise.
12595         * wcsmbs/wcschr.c (wcschr): Likewise.
12596         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12597         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12598         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12599         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12600         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12601         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12602         * wcsmbs/wmemchr.c (wmemchr): Likewise.
12603         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12604         * wcsmbs/wmemset.c (wmemset): Likewise.
12606 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
12608         * scripts/config.guess: Update to version 2013-05-16.
12609         * scripts/config.sub: Update to version 2013-04-24.
12610         * scripts/install-sh: Update to version 2011-11-20.07.
12611         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12612         * scripts/move-if-change: Update to version 2012-01-06 07:23.
12614 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
12616         * debug/fgetws_u_chk.c: Fix leading whitespaces.
12617         * elf/sln.c: Likewise.
12618         * hurd/hurd/ioctl.h: Likewise.
12619         * hurd/hurdmalloc.c: Likewise.
12620         * hurd/xattr.c: Likewise.
12621         * include/shlib-compat.h: Likewise.
12622         * inet/ruserpass.c: Likewise.
12623         * libio/iofgets_u.c: Likewise.
12624         * libio/iofgetws_u.c: Likewise.
12625         * locale/programs/ld-identification.c: Likewise.
12626         * locale/programs/ld-time.c: Likewise.
12627         * mach/msg-destroy.c: Likewise.
12628         * nss/nss_files/files-netgrp.c: Likewise.
12629         * resolv/res_data.c: Likewise.
12630         * soft-fp/op-1.h: Likewise.
12631         * soft-fp/op-2.h: Likewise.
12632         * soft-fp/op-4.h: Likewise.
12633         * soft-fp/op-common.h: Likewise.
12634         * stdio-common/printf_fphex.c: Likewise.
12635         * stdlib/strtod_l.c: Likewise.
12636         * sunrpc/rpc/clnt.h: Likewise.
12637         * sysdeps/generic/framestate.c: Likewise.
12638         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12639         * sysdeps/i386/bsd-setjmp.S: Likewise.
12640         * sysdeps/i386/__longjmp.S: Likewise.
12641         * sysdeps/i386/setjmp.S: Likewise.
12642         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12643         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12644         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12645         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12646         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12647         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12648         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12649         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12650         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12651         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12652         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12653         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12654         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12655         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12656         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12657         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12658         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12659         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12660         * sysdeps/ieee754/support.c: Likewise.
12661         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12662         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12663         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12664         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12665         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12666         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12667         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12668         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12669         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12670         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12671         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12672         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12673         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12674         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12675         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12676         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12677         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12680 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
12682         * posix/transbug.c: Remove executable mode.
12684 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
12686         * crypt/speeds.c: Remove trailing whitespace.
12687         * dlfcn/default.c: Likewise.
12688         * elf/ifuncdep2.c: Likewise.
12689         * elf/ifuncmain1.c: Likewise.
12690         * elf/ifuncmain1vis.c: Likewise.
12691         * elf/testobj.h: Likewise.
12692         * elf/tst-stackguard1.c: Likewise.
12693         * gmon/sys/gmon.h: Likewise.
12694         * hurd/hurdmsg.c: Likewise.
12695         * hurd/new-fd.c: Likewise.
12696         * hurd/ports-get.c: Likewise.
12697         * iconvdata/ibm1008_420.c: Likewise.
12698         * inet/tst-getni1.c: Likewise.
12699         * inet/tst-getni2.c: Likewise.
12700         * libio/ioungetc.c: Likewise.
12701         * libio/wfiledoalloc.c: Likewise.
12702         * manual/libm-err-tab.pl: Likewise.
12703         * math/w_dremf.c: Likewise.
12704         * misc/ftruncate.c: Likewise.
12705         * posix/bug-glob2.c: Likewise.
12706         * posix/tst-pcre.c: Likewise.
12707         * posix/wait4.c: Likewise.
12708         * resolv/README: Likewise.
12709         * resolv/res_debug.h: Likewise.
12710         * resolv/tst-inet_ntop.c: Likewise.
12711         * setjmp/bug269-setjmp.c: Likewise.
12712         * soft-fp/extended.h: Likewise.
12713         * soft-fp/op-1.h: Likewise.
12714         * soft-fp/op-2.h: Likewise.
12715         * soft-fp/op-4.h: Likewise.
12716         * soft-fp/op-8.h: Likewise.
12717         * soft-fp/testit.c: Likewise.
12718         * stdio-common/bug16.c: Likewise.
12719         * stdlib/random.c: Likewise.
12720         * sunrpc/rpcsvc/rquota.x: Likewise.
12721         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12722         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12723         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12724         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12725         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12726         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12727         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12728         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12729         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12730         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12731         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12732         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12733         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12734         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12735         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12736         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12737         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12738         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12739         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12740         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12741         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12742         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12743         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12744         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12745         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12746         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12747         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12748         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12749         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12750         * sysdeps/ieee754/s_lib_version.c: Likewise.
12751         * sysdeps/mach/hurd/check_fds.c: Likewise.
12752         * sysdeps/mach/hurd/getsockname.c: Likewise.
12753         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12754         * sysdeps/mach/hurd/recvfrom.c: Likewise.
12755         * sysdeps/powerpc/bits/link.h: Likewise.
12756         * sysdeps/powerpc/dl-procinfo.c: Likewise.
12757         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12758         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12759         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12760         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12761         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12762         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12763         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12764         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12765         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12766         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12767         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12768         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12769         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12770         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12771         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12772         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12773         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12774         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12775         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12776         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12777         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12778         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12779         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12780         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12781         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12782         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12783         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12784         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12785         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12786         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12787         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12788         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12789         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12790         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12791         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12792         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12793         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12794         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12795         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12796         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12797         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12798         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12799         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12800         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12801         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12802         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12803         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12804         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12805         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12806         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12807         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12808         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12809         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12810         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12811         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12812         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12813         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12814         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12815         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12816         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12817         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12818         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12819         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12820         * sysdeps/powerpc/sysdep.h: Likewise.
12821         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12822         * sysdeps/s390/s390-64/sub_n.S: Likewise.
12823         * sysdeps/sh/dl-trampoline.S: Likewise.
12824         * sysdeps/sh/memset.S: Likewise.
12825         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12826         * sysdeps/sh/strlen.S: Likewise.
12827         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12828         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12829         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12830         * sysdeps/sparc/sparc32/rem.S: Likewise.
12831         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12832         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12833         * sysdeps/sparc/sparc32/strchr.S: Likewise.
12834         * sysdeps/sparc/sparc32/udiv.S: Likewise.
12835         * sysdeps/sparc/sparc32/urem.S: Likewise.
12836         * sysdeps/sparc/sparc64/add_n.S: Likewise.
12837         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12838         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12839         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12840         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12841         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12842         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12843         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12844         * sysdeps/unix/bsd/times.c: Likewise.
12845         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12846         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12850         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12851         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12852         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12853         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12854         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12855         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12856         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12857         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12858         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12859         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12860         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12861         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12862         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12863         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12864         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12865         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12866         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12867         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12868         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12869         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12870         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12871         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12872         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12873         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12874         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12875         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12876         * sysdeps/x86_64/strcspn.S: Likewise.
12878 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12880         * locale/C-translit.h: Revert #include <stdint.h> because this is a
12881         generated file.  Regenerate properly from gen-translit.pl.
12882         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
12883         locale/C-translit.h.
12885 2013-06-05  Andreas Schwab  <schwab@suse.de>
12887         [BZ #15100]
12888         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12889         week as 6 instead of -1.
12890         * time/tst-strptime.c (day_tests): Add test case.
12892 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12894         * sysdeps/generic/math_private.h
12895         (libc_feholdexcept_setround_53bit): Replace with
12896         libc_feholdsetround_53bit.
12897         (libc_feupdateenv_53bit): Replace with
12898         libc_feresetround_53bit.
12899         (SET_RESTORE_ROUND_53BIT): Adjust.
12901 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12903         * string/test-strchrnul.c: Add copyright header.
12905         * posix/tst-getaddrinfo4.c: Increase test timeout.
12907 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
12909         [BZ #15536]
12910         * math/libm-test.inc (MAX_EXP): Remove
12911         (MIN_EXP): Define.
12912         (ulp): Use MIN_EXP - MANT_DIG.
12913         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12915 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
12917         * po/be.po: Revert last change.
12918         * po/zh_CN.po: Likewise.
12919         * po/header.pot: Likewise.
12921 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
12923         * Makefile ($(common-objpfx)linkobj/libc.so): Define
12924         link-libc-deps to empty as target-specific variable.
12925         * Makerules (link-libc-args): New variable.
12926         (libc-for-link): Likewise.
12927         (link-libc-deps): Likewise.
12928         (lib%.so): Depend on $(link-libc-deps).  Link with
12929         $(link-libc-args).
12930         (build-module): Link with $(link-libc-args).
12931         (build-module-asneeded): Likewise.
12932         (build-module-helper-objlist): Filter out $(link-libc-deps) from
12933         list of objects.
12934         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12935         target-specific variable.
12936         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12937         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12938         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12939         libc.
12940         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12941         libc and ld.so.
12942         ($(objpfx)libpcprofile.so): Likewise.
12943         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12944         libc_nonshared.a.
12945         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12946         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12947         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12948         $(link-libc-deps).
12949         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12950         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12951         * login/Makefile ($(objpfx)libutil.so): Likewise.
12952         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12953         * math/Makefile ($(objpfx)libm.so): Likewise.
12954         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12955         $(objpfx)libnsl.so): Define libc-for-link as target-specific
12956         variable instead of depending directly on libc.
12957         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12958         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12959         $(link-libc-deps).
12960         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12961         libc.
12962         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12963         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12964         ($(objpfx)libanl.so): Likewise.
12965         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12966         ld.so.
12967         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12968         $(link-libc-deps).
12969         * sysdeps/i386/fpu/Makefile: Remove file.
12970         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12971         ($(objpfx)libm.so): Remove dependency on ld.so.
12973 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
12975         [BZ # 15553]
12976         * nis/yp_xdr.c (XDRMAXNAME): Define.
12977         (XDRMAXRECORD): Define.
12978         (xdr_domainname): Use XDRMAXNAME.
12979         (xdr_mapname): Likewise.
12980         (xdr_peername): Likewise.
12981         (xdr_keydat): Use XDRMAXRECORD.
12982         (xdr_valdat): Likewise.
12984 2013-05-30  Jeff Law  <law@redhat.com>
12986         [BZ #14256]
12987         * manual/errno.texi (ESTALE): Update to account for more than
12988         just NFS file systems.
12989         * sysdeps/gnu/errlist.c: Regenerated.
12991 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12993         [BZ #15465]
12994         * elf/Makefile (tests): Add tst-null-argv.
12995         (modules-names):  Add tst-null-argv-lib.
12996         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12997         (tst-null-argv-ENV): Set environment for tst-null-argv.
12998         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12999         (RTLD_PROGNAME): New macro.
13000         * elf/tst-null-argv.c: New test case.
13001         * elf/tst-null-argv-lib.c: Library for test case.
13002         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13003         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13004         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13005         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13006         * elf/dl-init.c (call_init): Likewise.
13007         (_dl_init): Likewise.
13008         * elf/dl-load.c (print_search_path): Likewise.
13009         (_dl_map_object): Likewise.
13010         * elf/dl-lookup.c (do_lookup_x): Likewise.
13011         (add_dependency): Likewise.
13012         (_dl_lookup_symbol_x): Likewise.
13013         (_dl_debug_bindings): Likewise.
13014         * elf/dl-open.c (_dl_show_scope): Likewise.
13015         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13016         * elf/dl-version.c (match_symbol): Likewise.
13017         (_dl_check_map_versions): Likewise.
13018         * elf/rtld.c (dl_main): Likewise.
13019         (print_unresolved): Use RTLD_PROGNAME.
13020         (print_missing_version): Likewise.
13021         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13022         (elf_machine_rela): Likewise.
13023         * sysdeps/powerpc/powerpc32/dl-machine.c
13024         (__process_machine_rela): Likewise.
13025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13026         Likewise.
13027         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13028         Likewise.
13029         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13030         Likewise.
13031         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13032         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13033         Likewise.
13034         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13035         Likewise.
13036         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13038 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
13040         * po/be.po: Add descriptive title.
13041         * po/zh_CN.po: Likewise.
13042         * po/header.pot: Likewise.
13044 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
13046         * locale/programs/locarchive.c (create_archive): Inlucde fname in
13047         error message.
13048         (enlarge_archive): Likewise.
13050 2013-05-28  Ben North  <ben@redfrontdoor.org>
13052         * manual/arith.texi (frexp): It is the magnitude of the return
13053         value which lies in [0.5, 1), not the return value itself.
13055 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13059 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
13061         * stdio-common/bug26.c (main): Correct fscanf template.
13063         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13064         declare _dl_skip_args.
13066         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13067         Don't declare.
13069         * manual/platform.texi: Add missing @end deftypefun.
13071 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
13073         [BZ #15529]
13074         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13075         bit of mantissa of 2^16382.
13076         * math/libm-test.inc (hypot_test_data): Add more tests.
13078         * math/libm-test.inc: Add drem and pow10 to list of tested
13079         functions.
13080         (pow10_test): New function.
13081         (drem_test): Likewise.
13082         (drem_test_tonearest): Likewise.
13083         (drem_test_towardzero): Likewise.
13084         (drem_test_downward): Likewise.
13085         (drem_test_upward): Likewise.
13086         (main): Call the new functions.
13088         * math/libm-test.inc (finite_test_data): Remove.
13089         (finite_test): Run tests from isfinite_test_data.
13090         (gamma_test_data): Remove.
13091         (gamma_test): Run tests from lgamma_test_data.
13092         * sysdeps/i386/fpu/libm-test-ulps: Update.
13093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13095 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13097         * manual/platform.texi: Add PowerPC PPR function set documentation.
13098         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13099         implementation.
13101 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
13103         * math/libm-test.inc (MAX_EXP): Define.
13104         (ULPDIFF): Define.
13105         (ulp): New function.
13106         (check_float_internal): Use ULPDIFF.
13107         (cpow_test): Disable failing test.
13108         (check_ulp): Test ulp() implemetnation.
13109         (main): Call check_ulp before starting tests.
13111 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
13113         * math/gen-libm-test.pl (generate_testfile): Do not handle
13114         START_DATA and END_DATA.
13115         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13116         END_DATA.
13117         (acos_tonearest_test_data): Likewise.
13118         (acos_towardzero_test_data): Likewise.
13119         (acos_downward_test_data): Likewise.
13120         (acos_upward_test_data): Likewise.
13121         (acosh_test_data): Likewise.
13122         (asin_test_data): Likewise.
13123         (asin_tonearest_test_data): Likewise.
13124         (asin_towardzero_test_data): Likewise.
13125         (asin_downward_test_data): Likewise.
13126         (asin_upward_test_data): Likewise.
13127         (asinh_test_data): Likewise.
13128         (atan_test_data): Likewise.
13129         (atanh_test_data): Likewise.
13130         (atan2_test_data): Likewise.
13131         (cabs_test_data): Likewise.
13132         (cacos_test_data): Likewise.
13133         (cacosh_test_data): Likewise.
13134         (carg_test_data): Likewise.
13135         (casin_test_data): Likewise.
13136         (casinh_test_data): Likewise.
13137         (catan_test_data): Likewise.
13138         (catanh_test_data): Likewise.
13139         (cbrt_test_data): Likewise.
13140         (ccos_test_data): Likewise.
13141         (ccosh_test_data): Likewise.
13142         (ceil_test_data): Likewise.
13143         (cexp_test_data): Likewise.
13144         (cimag_test_data): Likewise.
13145         (clog_test_data): Likewise.
13146         (clog10_test_data): Likewise.
13147         (conj_test_data): Likewise.
13148         (copysign_test_data): Likewise.
13149         (cos_test_data): Likewise.
13150         (cos_tonearest_test_data): Likewise.
13151         (cos_towardzero_test_data): Likewise.
13152         (cos_downward_test_data): Likewise.
13153         (cos_upward_test_data): Likewise.
13154         (cosh_test_data): Likewise.
13155         (cosh_tonearest_test_data): Likewise.
13156         (cosh_towardzero_test_data): Likewise.
13157         (cosh_downward_test_data): Likewise.
13158         (cosh_upward_test_data): Likewise.
13159         (cpow_test_data): Likewise.
13160         (cproj_test_data): Likewise.
13161         (creal_test_data): Likewise.
13162         (csin_test_data): Likewise.
13163         (csinh_test_data): Likewise.
13164         (csqrt_test_data): Likewise.
13165         (ctan_test_data): Likewise.
13166         (ctan_tonearest_test_data): Likewise.
13167         (ctan_towardzero_test_data): Likewise.
13168         (ctan_downward_test_data): Likewise.
13169         (ctan_upward_test_data): Likewise.
13170         (ctanh_test_data): Likewise.
13171         (ctanh_tonearest_test_data): Likewise.
13172         (ctanh_towardzero_test_data): Likewise.
13173         (ctanh_downward_test_data): Likewise.
13174         (ctanh_upward_test_data): Likewise.
13175         (erf_test_data): Likewise.
13176         (erfc_test_data): Likewise.
13177         (exp_test_data): Likewise.
13178         (exp_tonearest_test_data): Likewise.
13179         (exp_towardzero_test_data): Likewise.
13180         (exp_downward_test_data): Likewise.
13181         (exp_upward_test_data): Likewise.
13182         (exp10_test_data): Likewise.
13183         (exp2_test_data): Likewise.
13184         (expm1_test_data): Likewise.
13185         (fabs_test_data): Likewise.
13186         (fdim_test_data): Likewise.
13187         (finite_test_data): Likewise.
13188         (floor_test_data): Likewise.
13189         (fma_test_data): Likewise.
13190         (fma_towardzero_test_data): Likewise.
13191         (fma_downward_test_data): Likewise.
13192         (fma_upward_test_data): Likewise.
13193         (fmax_test_data): Likewise.
13194         (fmin_test_data): Likewise.
13195         (fmod_test_data): Likewise.
13196         (fpclassify_test_data): Likewise.
13197         (frexp_test_data): Likewise.
13198         (gamma_test_data): Likewise.
13199         (hypot_test_data): Likewise.
13200         (ilogb_test_data): Likewise.
13201         (isfinite_test_data): Likewise.
13202         (isgreater_test_data): Likewise.
13203         (isgreaterequal_test_data): Likewise.
13204         (isinf_test_data): Likewise.
13205         (isless_test_data): Likewise.
13206         (islessequal_test_data): Likewise.
13207         (islessgreater_test_data): Likewise.
13208         (isnan_test_data): Likewise.
13209         (isnormal_test_data): Likewise.
13210         (issignaling_test_data): Likewise.
13211         (isunordered_test_data): Likewise.
13212         (j0_test_data): Likewise.
13213         (j1_test_data): Likewise.
13214         (jn_test_data): Likewise.
13215         (ldexp_test_data): Likewise.
13216         (lgamma_test_data): Likewise.
13217         (lrint_test_data): Likewise.
13218         (lrint_tonearest_test_data): Likewise.
13219         (lrint_towardzero_test_data): Likewise.
13220         (lrint_downward_test_data): Likewise.
13221         (lrint_upward_test_data): Likewise.
13222         (llrint_test_data): Likewise.
13223         (llrint_tonearest_test_data): Likewise.
13224         (llrint_towardzero_test_data): Likewise.
13225         (llrint_downward_test_data): Likewise.
13226         (llrint_upward_test_data): Likewise.
13227         (log_test_data): Likewise.
13228         (log10_test_data): Likewise.
13229         (log1p_test_data): Likewise.
13230         (log2_test_data): Likewise.
13231         (logb_test_data): Likewise.
13232         (logb_downward_test_data): Likewise.
13233         (lround_test_data): Likewise.
13234         (llround_test_data): Likewise.
13235         (modf_test_data): Likewise.
13236         (nearbyint_test_data): Likewise.
13237         (nextafter_test_data): Likewise.
13238         (nexttoward_test_data): Likewise.
13239         (pow_test_data): Likewise.
13240         (pow_tonearest_test_data): Likewise.
13241         (pow_towardzero_test_data): Likewise.
13242         (pow_downward_test_data): Likewise.
13243         (pow_upward_test_data): Likewise.
13244         (remainder_test_data): Likewise.
13245         (remainder_tonearest_test_data): Likewise.
13246         (remainder_towardzero_test_data): Likewise.
13247         (remainder_downward_test_data): Likewise.
13248         (remainder_upward_test_data): Likewise.
13249         (remquo_test_data): Likewise.
13250         (rint_test_data): Likewise.
13251         (rint_tonearest_test_data): Likewise.
13252         (rint_towardzero_test_data): Likewise.
13253         (rint_downward_test_data): Likewise.
13254         (rint_upward_test_data): Likewise.
13255         (round_test_data): Likewise.
13256         (scalb_test_data): Likewise.
13257         (scalbn_test_data): Likewise.
13258         (scalbln_test_data): Likewise.
13259         (signbit_test_data): Likewise.
13260         (sin_test_data): Likewise.
13261         (sin_tonearest_test_data): Likewise.
13262         (sin_towardzero_test_data): Likewise.
13263         (sin_downward_test_data): Likewise.
13264         (sin_upward_test_data): Likewise.
13265         (sincos_test_data): Likewise.
13266         (sinh_test_data): Likewise.
13267         (sinh_tonearest_test_data): Likewise.
13268         (sinh_towardzero_test_data): Likewise.
13269         (sinh_downward_test_data): Likewise.
13270         (sinh_upward_test_data): Likewise.
13271         (sqrt_test_data): Likewise.
13272         (tan_test_data): Likewise.
13273         (tan_tonearest_test_data): Likewise.
13274         (tan_towardzero_test_data): Likewise.
13275         (tan_downward_test_data): Likewise.
13276         (tan_upward_test_data): Likewise.
13277         (tanh_test_data): Likewise.
13278         (tgamma_test_data): Likewise.
13279         (trunc_test_data): Likewise.
13280         (y0_test_data): Likewise.
13281         (y1_test_data): Likewise.
13282         (yn_test_data): Likewise.
13283         (significand_test_data): Likewise.
13285         * math/gen-libm-test.pl (@functions): Remove variable.
13286         (generate_testfile): Don't handle START and END lines.
13287         * math/libm-test.inc (START): New macro.
13288         (END): Likewise.
13289         (END_COMPLEX): Likewise.
13290         (acos_test): Use END macro without arguments.
13291         (acos_test_tonearest): Likewise.
13292         (acos_test_towardzero): Likewise.
13293         (acos_test_downward): Likewise.
13294         (acos_test_upward): Likewise.
13295         (acosh_test): Likewise.
13296         (asin_test): Likewise.
13297         (asin_test_tonearest): Likewise.
13298         (asin_test_towardzero): Likewise.
13299         (asin_test_downward): Likewise.
13300         (asin_test_upward): Likewise.
13301         (asinh_test): Likewise.
13302         (atan_test): Likewise.
13303         (atanh_test): Likewise.
13304         (atan2_test): Likewise.
13305         (cabs_test): Likewise.
13306         (cacos_test): Use END_COMPLEX macro without arguments.
13307         (cacosh_test): Likewise.
13308         (carg_test): Use END macro without arguments.
13309         (casin_test): Use END_COMPLEX macro without arguments.
13310         (casinh_test): Likewise.
13311         (catan_test): Likewise.
13312         (catanh_test): Likewise.
13313         (cbrt_test): Use END macro without arguments.
13314         (ccos_test): Use END_COMPLEX macro without arguments.
13315         (ccosh_test): Likewise.
13316         (ceil_test): Use END macro without arguments.
13317         (cexp_test): Use END_COMPLEX macro without arguments.
13318         (cimag_test): Use END macro without arguments.
13319         (clog_test): Use END_COMPLEX macro without arguments.
13320         (clog10_test): Likewise.
13321         (conj_test): Likewise.
13322         (copysign_test): Use END macro without arguments.
13323         (cos_test): Likewise.
13324         (cos_test_tonearest): Likewise.
13325         (cos_test_towardzero): Likewise.
13326         (cos_test_downward): Likewise.
13327         (cos_test_upward): Likewise.
13328         (cosh_test): Likewise.
13329         (cosh_test_tonearest): Likewise.
13330         (cosh_test_towardzero): Likewise.
13331         (cosh_test_downward): Likewise.
13332         (cosh_test_upward): Likewise.
13333         (cpow_test): Use END_COMPLEX macro without arguments.
13334         (cproj_test): Likewise.
13335         (creal_test): Use END macro without arguments.
13336         (csin_test): Use END_COMPLEX macro without arguments.
13337         (csinh_test): Likewise.
13338         (csqrt_test): Likewise.
13339         (ctan_test): Likewise.
13340         (ctan_test_tonearest): Likewise.
13341         (ctan_test_towardzero): Likewise.
13342         (ctan_test_downward): Likewise.
13343         (ctan_test_upward): Likewise.
13344         (ctanh_test): Likewise.
13345         (ctanh_test_tonearest): Likewise.
13346         (ctanh_test_towardzero): Likewise.
13347         (ctanh_test_downward): Likewise.
13348         (ctanh_test_upward): Likewise.
13349         (erf_test): Use END macro without arguments.
13350         (erfc_test): Likewise.
13351         (exp_test): Likewise.
13352         (exp_test_tonearest): Likewise.
13353         (exp_test_towardzero): Likewise.
13354         (exp_test_downward): Likewise.
13355         (exp_test_upward): Likewise.
13356         (exp10_test): Likewise.
13357         (exp2_test): Likewise.
13358         (expm1_test): Likewise.
13359         (fabs_test): Likewise.
13360         (fdim_test): Likewise.
13361         (finite_test): Likewise.
13362         (floor_test): Likewise.
13363         (fma_test): Likewise.
13364         (fma_test_towardzero): Likewise.
13365         (fma_test_downward): Likewise.
13366         (fma_test_upward): Likewise.
13367         (fmax_test): Likewise.
13368         (fmin_test): Likewise.
13369         (fmod_test): Likewise.
13370         (fpclassify_test): Likewise.
13371         (frexp_test): Likewise.
13372         (gamma_test): Likewise.
13373         (hypot_test): Likewise.
13374         (ilogb_test): Likewise.
13375         (isfinite_test): Likewise.
13376         (isgreater_test): Likewise.
13377         (isgreaterequal_test): Likewise.
13378         (isinf_test): Likewise.
13379         (isless_test): Likewise.
13380         (islessequal_test): Likewise.
13381         (islessgreater_test): Likewise.
13382         (isnan_test): Likewise.
13383         (isnormal_test): Likewise.
13384         (issignaling_test): Likewise.
13385         (isunordered_test): Likewise.
13386         (j0_test): Likewise.
13387         (j1_test): Likewise.
13388         (jn_test): Likewise.
13389         (ldexp_test): Likewise.
13390         (lgamma_test): Likewise.
13391         (lrint_test): Likewise.
13392         (lrint_test_tonearest): Likewise.
13393         (lrint_test_towardzero): Likewise.
13394         (lrint_test_downward): Likewise.
13395         (lrint_test_upward): Likewise.
13396         (llrint_test): Likewise.
13397         (llrint_test_tonearest): Likewise.
13398         (llrint_test_towardzero): Likewise.
13399         (llrint_test_downward): Likewise.
13400         (llrint_test_upward): Likewise.
13401         (log_test): Likewise.
13402         (log10_test): Likewise.
13403         (log1p_test): Likewise.
13404         (log2_test): Likewise.
13405         (logb_test): Likewise.
13406         (logb_test_downward): Likewise.
13407         (lround_test): Likewise.
13408         (llround_test): Likewise.
13409         (modf_test): Likewise.
13410         (nearbyint_test): Likewise.
13411         (nextafter_test): Likewise.
13412         (nexttoward_test): Likewise.
13413         (pow_test): Likewise.
13414         (pow_test_tonearest): Likewise.
13415         (pow_test_towardzero): Likewise.
13416         (pow_test_downward): Likewise.
13417         (pow_test_upward): Likewise.
13418         (remainder_test): Likewise.
13419         (remainder_test_tonearest): Likewise.
13420         (remainder_test_towardzero): Likewise.
13421         (remainder_test_downward): Likewise.
13422         (remainder_test_upward): Likewise.
13423         (remquo_test): Likewise.
13424         (rint_test): Likewise.
13425         (rint_test_tonearest): Likewise.
13426         (rint_test_towardzero): Likewise.
13427         (rint_test_downward): Likewise.
13428         (rint_test_upward): Likewise.
13429         (round_test): Likewise.
13430         (scalb_test): Likewise.
13431         (scalbn_test): Likewise.
13432         (scalbln_test): Likewise.
13433         (signbit_test): Likewise.
13434         (sin_test): Likewise.
13435         (sin_test_tonearest): Likewise.
13436         (sin_test_towardzero): Likewise.
13437         (sin_test_downward): Likewise.
13438         (sin_test_upward): Likewise.
13439         (sincos_test): Likewise.
13440         (sinh_test): Likewise.
13441         (sinh_test_tonearest): Likewise.
13442         (sinh_test_towardzero): Likewise.
13443         (sinh_test_downward): Likewise.
13444         (sinh_test_upward): Likewise.
13445         (sqrt_test): Likewise.
13446         (tan_test): Likewise.
13447         (tan_test_tonearest): Likewise.
13448         (tan_test_towardzero): Likewise.
13449         (tan_test_downward): Likewise.
13450         (tan_test_upward): Likewise.
13451         (tanh_test): Likewise.
13452         (tgamma_test): Likewise.
13453         (trunc_test): Likewise.
13454         (y0_test): Likewise.
13455         (y1_test): Likewise.
13456         (yn_test): Likewise.
13457         (significand_test): Likewise.
13459 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
13461         [BZ #15381]
13462         * libio/genops.c (_IO_no_init): Initialize wide struct info.
13464 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13466         [BZ #14894]
13467         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13468         __ppc_mdoio and __ppc_mdoom.
13469         * manual/platform.texi: Document new functions __ppc_yield,
13470         __ppc_mdoio and __ppc_mdoom.
13472 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
13474         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13475         (main): Mention "tls" pseudo-hwcap is legacy.
13476         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13478 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13480         * math/gen-libm-test.pl (parse_args): Output only string of
13481         arguments as text for test name, not full call or descriptions of
13482         tests for extra outputs.
13483         (generate_testfile): Do not pass function name to parse_args.
13484         Generate this_func variable from START.
13485         * math/libm-test.inc (struct test_f_f_data): Rename test_name
13486         field to arg_str.
13487         (struct test_ff_f_data): Likewise.
13488         (test_ff_f_data_nexttoward): Likewise.
13489         (struct test_fi_f_data): Likewise.
13490         (struct test_fl_f_data): Likewise.
13491         (struct test_if_f_data): Likewise.
13492         (struct test_fff_f_data): Likewise.
13493         (struct test_c_f_data): Likewise.
13494         (struct test_f_f1_data): Likewise.  Remove field extra_name.
13495         (struct test_fF_f1_data): Likewise.
13496         (struct test_ffI_f1_data): Likewise.
13497         (struct test_c_c_data): Rename test_name field to arg_str.
13498         (struct test_cc_c_data): Likewise.
13499         (struct test_f_i_data): Likewise.
13500         (struct test_ff_i_data): Likewise.
13501         (struct test_f_l_data): Likewise.
13502         (struct test_f_L_data): Likewise.
13503         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
13504         and extra2_name.
13505         (COMMON_TEST_SETUP): New macro.
13506         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13507         (COMMON_TEST_CLEANUP): Likewise.
13508         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13509         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
13510         macros.
13511         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13512         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
13513         macros.
13514         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13515         (RUN_TEST_fff_f): Take argument string.  Call new setup and
13516         cleanup macros.
13517         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13518         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
13519         macros.
13520         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13521         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
13522         macros.
13523         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13524         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
13525         cleanup macros.
13526         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13527         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
13528         cleanup macros.
13529         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13530         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
13531         cleanup macros.
13532         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13533         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
13534         macros.
13535         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13536         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
13537         macros.
13538         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13539         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
13540         macros.
13541         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13542         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
13543         cleanup macros.
13544         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13545         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
13546         cleanup macros.
13547         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13548         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
13549         macros.
13550         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13551         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
13552         cleanup macros.
13553         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13554         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
13555         macros.
13556         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13557         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
13558         macros.
13559         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13560         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
13561         cleanup macros.
13562         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13564 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13566         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13567         to _sifields.sigfault.
13568         (si_addr_lsb): Define new macro.
13569         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13570         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13571         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13573 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
13575         [BZ #15441]
13576         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13577         returns -1.
13578         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13579         null return -1.
13580         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13581         loading the domain.
13583 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13585         * math/gen-libm-test.pl (parse_args): Do not include expected
13586         result in test name.
13587         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13588         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13589         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13590         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13591         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13594 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13596         * benchtests/Makefile: Sort function entries.
13598         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13599         tanh, asinh, acosh, atanh.
13600         * benchtests/acos-inputs: New file.
13601         * benchtests/acosh-inputs: New file.
13602         * benchtests/asin-inputs: New file.
13603         * benchtests/asinh-inputs: New file.
13604         * benchtests/atanh-inputs: New file.
13605         * benchtests/cosh-inputs: New file.
13606         * benchtests/log-inputs: New file.
13607         * benchtests/sinh-inputs: New file.
13608         * benchtests/tanh-inputs: New file.
13610 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
13612         [BZ #15339]
13613         * posix/tst-getaddrinfo4.c: New test.
13614         * posix/Makefile (tests): Add it.
13616 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13618         [BZ #15339]
13619         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13620         when no services were used.
13621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13622         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13624 2013-05-21  Andreas Schwab  <schwab@suse.de>
13626         [BZ #15014]
13627         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13628         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13629         successful.
13630         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13631         redundant variable declarations and reallocation of buffer when
13632         parsing as IPv6 address.  Always set NSS status when called from
13633         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
13634         buffer too small.  Correct computation of needed size.
13635         * nss/Makefile (tests): Add test-digits-dots.
13636         * nss/test-digits-dots.c: New test.
13638 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13640         * benchtests/Makefile: Remove instructions for adding
13641         benchmark tests.
13642         * benchtests/README: New file to explain how to execute and
13643         enhance the benchmark tests.
13645 2013-05-21  Andreas Schwab  <schwab@suse.de>
13647         [BZ #15493]
13648         * setjmp/Makefile (tests): Add tst-sigsetjmp.
13649         * setjmp/tst-sigsetjmp.c: New test.
13651 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13653         * sysdeps/x86_64/memset.S (memset): New implementation.
13654         (__bzero): Likewise.
13655         (__memset_tail): New function.
13657 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13659         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13660         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13661         __memcpy_sse2_unaligned ifunc selection.
13662         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13663         Add memcpy-sse2-unaligned.S.
13664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13665         Add: __memcpy_sse2_unaligned.
13667 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
13669         [BZ #15490]
13670         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13671         math_force_eval before restoring floating-point envrionment.
13672         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13673         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13674         Likewise.
13675         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13676         <math_private.h>.
13677         (__nearbyintl): Use math_force_eval before restoring
13678         floating-point environment.
13679         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13681         * math/gen-libm-test.pl (special_functions): Remove.
13682         (parse_args): Don't handle TEST_extra.  Handle functions with no
13683         return value.
13684         * math/libm-test.inc (struct test_sincos_data): Replace with
13685         struct test_fFF_11_data.
13686         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13687         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13688         (sincos_test_data): Change element type to struct
13689         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
13690         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13691         RUN_TEST_LOOP_sincos.
13692         * math/README.libm-test: Don't mention special handling of
13693         individual functions.
13694         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13695         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13696         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13697         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13698         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13701         * math/gen-libm-test.pl (get_variable): Remove function.
13702         (parse_args): Don't show pointer parameters to call in test
13703         names.  Use "extra output N" in test names for extra outputs
13704         rather than naming variables.
13706 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
13708         [BZ #15488]
13709         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13710         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13711         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13712         double tests.
13713         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13714         disable.
13715         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13716         check_long_double.
13718         * math/gen-libm-test.pl (@tests): Remove variable.
13719         ($count): Likewise.
13720         (new_test): Remove function.
13721         (show_exceptions): New function.
13722         (special_functions): Use show_exceptions instead of new_test.
13723         (parse_args): Likewise.
13724         (generate_testfile): Pass only function name in generated call to
13725         print_max_error or print_complex_max_error.
13726         (get_ulps): Do not handle complex tests specially.
13727         (output_test): Rename to ...
13728         (get_all_ulps_for_test): ... this.  Return a string rather than
13729         printing to a file.  Require ulps to be present.
13730         (output_ulps): Generate arrays rather than #defines.
13731         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13732         (struct ulp_data): New type.
13733         (BUILD_COMPLEX_ULP): Remove macro.
13734         (compare_ulp_data): New function.
13735         (find_ulps): Likewise.
13736         (find_test_ulps): Likewise.
13737         (find_function_ulps): Likewise.
13738         (find_complex_function_ulps): Likewise.
13739         (print_max_error): Determine allowed ulps using
13740         find_function_ulps.
13741         (print_complex_max_error): Determine allowed ulps using
13742         find_complex_function_ulps.
13743         (check_float_internal): Determine max ulps using find_test_ulps.
13744         (check_float): Do not take max_ulp parameter.  Update call to
13745         check_float_internal.
13746         (check_complex): Likewise.
13747         (check_int): Do not take max_ulp parameter.
13748         (check_long): Likewise.
13749         (check_bool): Likewise.
13750         (check_longlong): Likewise.
13751         (struct test_f_f_data): Remove max_ulp field.
13752         (struct test_ff_f_data): Likewise.
13753         (struct test_ff_f_data_nexttoward): Likewise.
13754         (struct test_fi_f_data): Likewise.
13755         (struct test_fl_f_data): Likewise.
13756         (struct test_if_f_data): Likewise.
13757         (struct test_fff_f_data): Likewise.
13758         (struct test_c_f_data): Likewise.
13759         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13760         (struct test_fF_f1_data): Likewise.
13761         (struct test_ffI_f1_data): Likewise.
13762         (struct test_c_c_data): Remove max_ulp field.
13763         (struct test_cc_c_data): Likewise.
13764         (struct test_f_i_data): Likewise.
13765         (struct test_ff_i_data): Likewise.
13766         (struct test_f_l_data): Likewise.
13767         (struct test_f_L_data): Likewise.
13768         (struct test_sincos_data): Likewise.
13769         (RUN_TEST_f_f): Do not handle ulps.
13770         (RUN_TEST_LOOP_f_f): Likewise.
13771         (RUN_TEST_2_f): Likewise.
13772         (RUN_TEST_LOOP_2_f): Likewise.
13773         (RUN_TEST_fff_f): Likewise.
13774         (RUN_TEST_LOOP_fff_f): Likewise.
13775         (RUN_TEST_c_f): Likewise.
13776         (RUN_TEST_LOOP_c_f): Likewise.
13777         (RUN_TEST_f_f1): Likewise.
13778         (RUN_TEST_LOOP_f_f1): Likewise.
13779         (RUN_TEST_fF_f1): Likewise.
13780         (RUN_TEST_LOOP_fF_f1): Likewise.
13781         (RUN_TEST_fI_f1): Likewise.
13782         (RUN_TEST_LOOP_fI_f1): Likewise.
13783         (RUN_TEST_ffI_f1): Likewise.
13784         (RUN_TEST_LOOP_ffI_f1): Likewise.
13785         (RUN_TEST_c_c): Likewise.
13786         (RUN_TEST_LOOP_c_c): Likewise.
13787         (RUN_TEST_cc_c): Likewise.
13788         (RUN_TEST_LOOP_cc_c): Likewise.
13789         (RUN_TEST_f_i): Likewise.
13790         (RUN_TEST_LOOP_f_i): Likewise.
13791         (RUN_TEST_f_i_tg): Likewise.
13792         (RUN_TEST_LOOP_f_i_tg): Likewise.
13793         (RUN_TEST_ff_i_tg): Likewise.
13794         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13795         (RUN_TEST_f_b): Likewise.
13796         (RUN_TEST_LOOP_f_b): Likewise.
13797         (RUN_TEST_f_b_tg): Likewise.
13798         (RUN_TEST_LOOP_f_b_tg): Likewise.
13799         (RUN_TEST_f_l): Likewise.
13800         (RUN_TEST_LOOP_f_l): Likewise.
13801         (RUN_TEST_f_L): Likewise.
13802         (RUN_TEST_LOOP_f_L): Likewise.
13803         (RUN_TEST_sincos): Likewise.
13804         (RUN_TEST_LOOP_sincos): Likewise.
13806 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
13808         [BZ #15480]
13809         [BZ #15485]
13810         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13811         main case of finite arguments, set rounding mode to FE_TONEAREST
13812         and discard exceptions.
13813         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13814         exceptions.
13815         (remainder_tonearest_test_data): New variable.
13816         (remainder_test_tonearest): New function.
13817         (remainder_towardzero_test_data): New variable.
13818         (remainder_test_towardzero): New function.
13819         (remainder_downward_test_data): New variable.
13820         (remainder_test_downward): New function.
13821         (remainder_upward_test_data): New variable.
13822         (remainder_test_upward): New function.
13823         (main): Call the new test functions.
13825         * math/libm-test.inc (struct test_f_f1_data): Remove field
13826         extra_init.
13827         (struct test_fF_f1_data): Likewise.
13828         (struct test_ffI_f1_data): Likewise.
13829         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
13830         based on value of EXTRA_EXPECTED.
13831         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13832         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
13833         EXTRA_VAR based on value of EXTRA_EXPECTED.
13834         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13835         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
13836         EXTRA_VAR based on value of EXTRA_EXPECTED.
13837         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13838         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
13839         EXTRA_VAR based on value of EXTRA_EXPECTED.
13840         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13841         * math/gen-libm-test.pl (parse_args): Don't output initializers
13842         for extra output values.
13844         * math/libm-test.inc (check_int): Expect result to be exactly
13845         equal to expected value and do not handle ulps.
13846         (check_long): Likewise.
13847         (check_longlong): Likewise.
13849         * math/libm-test.inc (ceil_test_data): Test for "inexact"
13850         exceptions.
13851         (cimag_test_data): Likewise.
13852         (conj_test_data): Likewise.
13853         (copysign_test_data): Likewise.
13854         (cproj_test_data): Likewise.
13855         (creal_test_data): Likewise.
13856         (fabs_test_data): Likewise.
13857         (fdim_test_data): Likewise.
13858         (finite_test_data): Likewise.
13859         (floor_test_data): Likewise.
13860         (fmax_test_data): Likewise.
13861         (fmin_test_data): Likewise.
13862         (fmod_test_data): Likewise.
13863         (fpclassify_test_data): Likewise.
13864         (frexp_test_data): Likewise.
13865         (ilogb_test_data): Likewise.
13866         (isfinite_test_data): Likewise.
13867         (isgreater_test_data): Likewise.
13868         (isgreaterequal_test_data): Likewise.
13869         (isinf_test_data): Likewise.
13870         (isless_test_data): Likewise.
13871         (islessequal_test_data): Likewise.
13872         (islessgreater_test_data): Likewise.
13873         (isnan_test_data): Likewise.
13874         (isnormal_test_data): Likewise.
13875         (issignaling_test_data): Likewise.
13876         (isunordered_test_data): Likewise.
13877         (ldexp_test_data): Likewise.
13878         (lrint_test_data): Likewise.
13879         (lrint_test_data) [TEST_FLOAT]: Disable one test.
13880         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13881         (lrint_tonearest_test_data): Test for "inexact" exceptions.
13882         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13883         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13884         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13885         test input.
13886         (lrint_towardzero_test_data): Test for "inexact" exceptions.
13887         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13888         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13889         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13890         that test input.
13891         (lrint_downward_test_data): Test for "inexact" exceptions.
13892         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13893         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13894         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13895         test input.
13896         (lrint_upward_test_data): Test for "inexact" exceptions.
13897         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13898         test input.
13899         (llrint_test_data): Test for "inexact" exceptions.
13900         (llrint_test_data) [TEST_FLOAT]: Disable one test.
13901         (llrint_tonearest_test_data): Test for "inexact" exceptions.
13902         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13903         (llrint_towardzero_test_data): Test for "inexact" exceptions.
13904         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13905         (llrint_downward_test_data): Test for "inexact" exceptions.
13906         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13907         (llrint_upward_test_data): Test for "inexact" exceptions.
13908         (logb_test_data): Likewise.
13909         (logb_downward_test_data): Likewise.
13910         (nextafter_test_data): Likewise.
13911         (nexttoward_test_data): Likewise.
13912         (remainder_test_data): Likewise.
13913         (remquo_test_data): Likewise.
13914         (scalbn_test_data): Likewise.
13915         (scalbln_test_data): Likewise.
13916         (signbit_test_data): Likewise.
13917         (sqrt_test_data): Likewise.
13918         (significand_test_data): Likewise.
13920 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13922         [BZ #15424]
13923         * benchtests/bench-modf.c (struct args): Mark arg0 as
13924         volatile.
13925         * scripts/bench.pl: Mark members of struct args as volatile.
13927 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13929         [BZ # 15497]
13930         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13931         negative infinity on POWER6 or lower.
13932         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13934 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13936         [BZ #15442]
13937         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13938         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13939         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13940         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13941         (_FP_SETQNAN): New macro.
13942         (_FP_SETQNAN_SEMIRAW): Likewise.
13943         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13944         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13945         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13946         (FP_EXTEND): Use _FP_FRAC_SNANP.
13947         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13948         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13949         into account.
13950         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13951         New macro.
13952         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13953         Likewise.
13955 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13957         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13958         with DIVIDE_BY_ZERO_EXCEPTION.
13959         (gamma_test_data): Likewise.
13960         (lgamma_test_data): Likewise.
13961         (log_test_data): Likewise.
13962         (log10_test_data): Likewise.
13963         (log2_test_data): Likewise.
13964         (tgamma_test_data): Likewise.
13966         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13967         (acos_test_tonearest): Likewise.
13968         (acos_test_towardzero): Likewise.
13969         (acos_test_downward): Likewise.
13970         (acos_test_upward): Likewise.
13971         (acosh_test): Likewise.
13972         (asin_test): Likewise.
13973         (asin_test_tonearest): Likewise.
13974         (asin_test_towardzero): Likewise.
13975         (asin_test_downward): Likewise.
13976         (asin_test_upward): Likewise.
13977         (asinh_test): Likewise.
13978         (atan_test): Likewise.
13979         (atanh_test): Likewise.
13980         (atan2_test): Likewise.
13981         (cabs_test): Likewise.
13982         (cacos_test): Likewise.
13983         (cacosh_test): Likewise.
13984         (casin_test): Likewise.
13985         (casinh_test): Likewise.
13986         (catan_test): Likewise.
13987         (catanh_test): Likewise.
13988         (cbrt_test): Likewise.
13989         (ccos_test): Likewise.
13990         (ccosh_test): Likewise.
13991         (cexp_test): Likewise.
13992         (clog_test): Likewise.
13993         (clog10_test): Likewise.
13994         (cos_test): Likewise.
13995         (cos_test_tonearest): Likewise.
13996         (cos_test_towardzero): Likewise.
13997         (cos_test_downward): Likewise.
13998         (cos_test_upward): Likewise.
13999         (cosh_test): Likewise.
14000         (cosh_test_tonearest): Likewise.
14001         (cosh_test_towardzero): Likewise.
14002         (cosh_test_downward): Likewise.
14003         (cosh_test_upward): Likewise.
14004         (cpow_test): Likewise.
14005         (csin_test): Likewise.
14006         (csinh_test): Likewise.
14007         (csqrt_test): Likewise.
14008         (ctan_test): Likewise.
14009         (ctan_test_tonearest): Likewise.
14010         (ctan_test_towardzero): Likewise.
14011         (ctan_test_downward): Likewise.
14012         (ctan_test_upward): Likewise.
14013         (ctanh_test): Likewise.
14014         (ctanh_test_tonearest): Likewise.
14015         (ctanh_test_towardzero): Likewise.
14016         (ctanh_test_downward): Likewise.
14017         (ctanh_test_upward): Likewise.
14018         (erf_test): Likewise.
14019         (erfc_test): Likewise.
14020         (exp_test): Likewise.
14021         (exp_test_tonearest): Likewise.
14022         (exp_test_towardzero): Likewise.
14023         (exp_test_downward): Likewise.
14024         (exp_test_upward): Likewise.
14025         (exp10_test): Likewise.
14026         (exp2_test): Likewise.
14027         (expm1_test): Likewise.
14028         (fmod_test): Likewise.
14029         (gamma_test): Likewise.
14030         (hypot_test): Likewise.
14031         (j0_test): Likewise.
14032         (j1_test): Likewise.
14033         (jn_test): Likewise.
14034         (lgamma_test): Likewise.
14035         (log_test): Likewise.
14036         (log10_test): Likewise.
14037         (log1p_test): Likewise.
14038         (log2_test): Likewise.
14039         (logb_test_downward): Likewise.
14040         (pow_test): Likewise.
14041         (pow_test_tonearest): Likewise.
14042         (pow_test_towardzero): Likewise.
14043         (pow_test_downward): Likewise.
14044         (pow_test_upward): Likewise.
14045         (remainder_test): Likewise.
14046         (remquo_test): Likewise.
14047         (sin_test): Likewise.
14048         (sin_test_tonearest): Likewise.
14049         (sin_test_towardzero): Likewise.
14050         (sin_test_downward): Likewise.
14051         (sin_test_upward): Likewise.
14052         (sincos_test): Likewise.
14053         (sinh_test): Likewise.
14054         (sinh_test_tonearest): Likewise.
14055         (sinh_test_towardzero): Likewise.
14056         (sinh_test_downward): Likewise.
14057         (sinh_test_upward): Likewise.
14058         (sqrt_test): Likewise.
14059         (tan_test): Likewise.
14060         (tan_test_tonearest): Likewise.
14061         (tan_test_towardzero): Likewise.
14062         (tan_test_downward): Likewise.
14063         (tan_test_upward): Likewise.
14064         (tanh_test): Likewise.
14065         (tgamma_test): Likewise.
14066         (y0_test): Likewise.
14067         (y1_test): Likewise.
14068         (yn_test): Likewise.
14070         * math/gen-libm-test.pl (adjust_arg): Remove function.
14071         (special_function): Remove argument $in_func.  Only handle
14072         generating output for tables of tests, not inside functions.
14073         (parse_args): Likewise.
14074         (generate_testfile): Remove variable $in_func.  Update call to
14075         parse_args.
14076         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14077         (MINUS_ZERO_INIT): Rename macro to minus_zero.
14078         (PLUS_INFTY_INIT): Rename macro to plus_infty.
14079         (MINUS_INFTY_INIT): Rename macro to minus_infty.
14080         (QNAN_VALUE_INIT): Rename macro to qnan_value.
14081         (MAX_VALUE_INIT): Rename macro to max_value.
14082         (MIN_VALUE_INIT): Rename macro to min_value.
14083         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14084         (plus_zero): Remove variable.
14085         (minus_zero): Likewise.
14086         (plus_infty): Likewise.
14087         (minus_infty): Likewise.
14088         (qnan_value): Likewise.
14089         (max_value): Likewise.
14090         (min_value): Likewise.
14091         (min_subnorm_value): Likewise.
14093 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14095         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14096         uint64_t or uint32_t usage.
14097         * crypt/sha256-block.c: Likewise.
14098         * crypt/sha256-crypt.c: Likewise.
14099         * crypt/sha256.c: Likewise.
14100         * crypt/sha512-block.c: Likewise.
14101         * crypt/sha512-crypt.c: Likewise.
14102         * crypt/sha512.c: Likewise.
14103         * debug/backtrace-tst.c: Likewise.
14104         * debug/pcprofiledump.c: Likewise.
14105         * elf/cache.c: Likewise.
14106         * elf/dl-cache.c: Likewise.
14107         * elf/dl-misc.c: Likewise.
14108         * elf/dl-profile.c: Likewise.
14109         * elf/dl-support.c: Likewise.
14110         * elf/ldconfig.c: Likewise.
14111         * elf/sprof.c: Likewise.
14112         * iconv/dummy-repertoire.c: Likewise.
14113         * iconv/iconv_charmap.c: Likewise.
14114         * iconv/skeleton.c: Likewise.
14115         * iconvdata/8bit-generic.c: Likewise.
14116         * iconvdata/cp737.h: Likewise.
14117         * iconvdata/cp775.h: Likewise.
14118         * iconvdata/ibm1008.h: Likewise.
14119         * iconvdata/ibm1025.h: Likewise.
14120         * iconvdata/ibm1046.h: Likewise.
14121         * iconvdata/ibm1097.h: Likewise.
14122         * iconvdata/ibm1112.h: Likewise.
14123         * iconvdata/ibm1122.h: Likewise.
14124         * iconvdata/ibm1123.h: Likewise.
14125         * iconvdata/ibm1124.h: Likewise.
14126         * iconvdata/ibm1129.h: Likewise.
14127         * iconvdata/ibm1130.h: Likewise.
14128         * iconvdata/ibm1132.h: Likewise.
14129         * iconvdata/ibm1133.h: Likewise.
14130         * iconvdata/ibm1137.h: Likewise.
14131         * iconvdata/ibm1140.h: Likewise.
14132         * iconvdata/ibm1141.h: Likewise.
14133         * iconvdata/ibm1142.h: Likewise.
14134         * iconvdata/ibm1143.h: Likewise.
14135         * iconvdata/ibm1144.h: Likewise.
14136         * iconvdata/ibm1145.h: Likewise.
14137         * iconvdata/ibm1146.h: Likewise.
14138         * iconvdata/ibm1147.h: Likewise.
14139         * iconvdata/ibm1148.h: Likewise.
14140         * iconvdata/ibm1149.h: Likewise.
14141         * iconvdata/ibm1153.h: Likewise.
14142         * iconvdata/ibm1154.h: Likewise.
14143         * iconvdata/ibm1155.h: Likewise.
14144         * iconvdata/ibm1156.h: Likewise.
14145         * iconvdata/ibm1157.h: Likewise.
14146         * iconvdata/ibm1158.h: Likewise.
14147         * iconvdata/ibm1160.h: Likewise.
14148         * iconvdata/ibm1161.h: Likewise.
14149         * iconvdata/ibm1162.h: Likewise.
14150         * iconvdata/ibm1163.h: Likewise.
14151         * iconvdata/ibm1164.h: Likewise.
14152         * iconvdata/ibm1166.h: Likewise.
14153         * iconvdata/ibm1167.h: Likewise.
14154         * iconvdata/ibm12712.h: Likewise.
14155         * iconvdata/ibm1390.h: Likewise.
14156         * iconvdata/ibm1399.h: Likewise.
14157         * iconvdata/ibm16804.h: Likewise.
14158         * iconvdata/ibm4517.h: Likewise.
14159         * iconvdata/ibm4899.h: Likewise.
14160         * iconvdata/ibm4909.h: Likewise.
14161         * iconvdata/ibm4971.h: Likewise.
14162         * iconvdata/ibm5347.h: Likewise.
14163         * iconvdata/ibm803.h: Likewise.
14164         * iconvdata/ibm856.h: Likewise.
14165         * iconvdata/ibm901.h: Likewise.
14166         * iconvdata/ibm902.h: Likewise.
14167         * iconvdata/ibm9030.h: Likewise.
14168         * iconvdata/ibm9066.h: Likewise.
14169         * iconvdata/ibm921.h: Likewise.
14170         * iconvdata/ibm922.h: Likewise.
14171         * iconvdata/ibm9448.h: Likewise.
14172         * iconvdata/isiri-3342.h: Likewise.
14173         * iconvdata/jis0201.h: Likewise.
14174         * include/link.h: Likewise.
14175         * include/netdb.h: Likewise.
14176         * inet/check_native.c: Likewise.
14177         * inet/check_pf.c: Likewise.
14178         * inet/getipv4sourcefilter.c: Likewise.
14179         * inet/getnameinfo.c: Likewise.
14180         * inet/getsourcefilter.c: Likewise.
14181         * inet/htonl.c: Likewise.
14182         * inet/setipv4sourcefilter.c: Likewise.
14183         * inet/setsourcefilter.c: Likewise.
14184         * inet/test-inet6_opt.c: Likewise.
14185         * inet/tst-network.c: Likewise.
14186         * locale/C-collate.c: Likewise.
14187         * locale/C-ctype.c: Likewise.
14188         * locale/C-time.c: Likewise.
14189         * locale/C-translit.h: Likewise.
14190         * locale/loadarchive.c: Likewise.
14191         * locale/programs/3level.h: Likewise.
14192         * locale/programs/charmap.c: Likewise.
14193         * locale/programs/charmap.h: Likewise.
14194         * locale/programs/ld-address.c: Likewise.
14195         * locale/programs/ld-collate.c: Likewise.
14196         * locale/programs/ld-ctype.c: Likewise.
14197         * locale/programs/ld-identification.c: Likewise.
14198         * locale/programs/ld-measurement.c: Likewise.
14199         * locale/programs/ld-messages.c: Likewise.
14200         * locale/programs/ld-monetary.c: Likewise.
14201         * locale/programs/ld-name.c: Likewise.
14202         * locale/programs/ld-numeric.c: Likewise.
14203         * locale/programs/ld-paper.c: Likewise.
14204         * locale/programs/ld-telephone.c: Likewise.
14205         * locale/programs/ld-time.c: Likewise.
14206         * locale/programs/linereader.c: Likewise.
14207         * locale/programs/locale.c: Likewise.
14208         * locale/programs/locarchive.c: Likewise.
14209         * locale/programs/locfile.h: Likewise.
14210         * locale/programs/repertoire.c: Likewise.
14211         * locale/programs/simple-hash.c: Likewise.
14212         * locale/programs/simple-hash.h: Likewise.
14213         * malloc/memusage.c: Likewise.
14214         * malloc/memusagestat.c: Likewise.
14215         * nis/nis_defaults.c: Likewise.
14216         * nis/nis_hash.c: Likewise.
14217         * nis/nis_print.c: Likewise.
14218         * nis/nis_xdr.c: Likewise.
14219         * nscd/connections.c: Likewise.
14220         * nscd/hstcache.c: Likewise.
14221         * nscd/nscd_gethst_r.c: Likewise.
14222         * nscd/nscd_getserv_r.c: Likewise.
14223         * nscd/nscd_helper.c: Likewise.
14224         * nscd/servicescache.c: Likewise.
14225         * nss/makedb.c: Likewise.
14226         * nss/nss_db/db-XXX.c: Likewise.
14227         * nss/nss_db/db-initgroups.c: Likewise.
14228         * nss/nss_db/db-netgrp.c: Likewise.
14229         * nss/nss_files/files-network.c: Likewise.
14230         * nss/nss_files/files-parse.c: Likewise.
14231         * posix/bug-regex5.c: Likewise.
14232         * posix/fnmatch_loop.c: Likewise.
14233         * posix/regcomp.c: Likewise.
14234         * posix/regexec.c: Likewise.
14235         * posix/tst-rfc3484-2.c: Likewise.
14236         * posix/tst-rfc3484-3.c: Likewise.
14237         * posix/tst-rfc3484.c: Likewise.
14238         * resolv/nss_dns/dns-canon.c: Likewise.
14239         * resolv/nss_dns/dns-network.c: Likewise.
14240         * resolv/res_init.c: Likewise.
14241         * resolv/res_mkquery.c: Likewise.
14242         * resolv/tst-aton.c: Likewise.
14243         * stdlib/cxa_atexit.c: Likewise.
14244         * stdlib/cxa_finalize.c: Likewise.
14245         * stdlib/gen-fpioconst.c: Likewise.
14246         * stdlib/strtol_l.c: Likewise.
14247         * string/tst-endian.c: Likewise.
14248         * sunrpc/auth_des.c: Likewise.
14249         * sunrpc/clnt_udp.c: Likewise.
14250         * sunrpc/rtime.c: Likewise.
14251         * sunrpc/svcauth_des.c: Likewise.
14252         * sunrpc/xdr.c: Likewise.
14253         * sunrpc/xdr_intXX_t.c: Likewise.
14254         * sunrpc/xdr_rec.c: Likewise.
14255         * sysdeps/generic/ldconfig.h: Likewise.
14256         * sysdeps/generic/ldsodefs.h: Likewise.
14257         * sysdeps/generic/memusage.h: Likewise.
14258         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14259         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14260         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14261         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14262         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14263         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14264         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14265         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14266         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14267         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14268         * sysdeps/posix/getaddrinfo.c: Likewise.
14269         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14270         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14271         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14272         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14273         * sysdeps/powerpc/test-gettimebase.c: Likewise.
14274         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14275         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14276         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14277         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14278         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14279         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14280         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14281         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14282         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14283         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14284         * sysdeps/x86_64/dl-tls.h: Likewise.
14285         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14286         * time/alt_digit.c: Likewise.
14287         * time/era.c: Likewise.
14288         * wcsmbs/tst-c16c32-1.c: Likewise.
14290 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14292         * math/libm-test.inc (struct test_sincos_data): New type.
14293         (RUN_TEST_LOOP_sincos): New macro.
14294         (sincos_test_data): New variable.
14295         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14297 2013-05-16  Richard Henderson  <rth@redhat.com>
14299         * math/atest-exp2.c (LIMB64): New macro.
14300         (CONSTSZ): New macro.
14301         (mp_exp1, mp_exp_m1, mp_log2): New variables.
14302         (hexdig): Move ...
14303         (print_mpn_fp): ... to function scope.
14304         (read_mpn_hex): Remove.
14305         (get_log2): Remove.
14306         (exp2_mpn): Use mp_log2.
14307         (main): Use mp_exp1.
14309 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14311         * math/libm-test.inc: Remove comment about not testing "inexact"
14312         exceptions.
14313         (INEXACT_EXCEPTION): New macro.
14314         (NO_INEXACT_EXCEPTION): Likewise.
14315         (INVALID_EXCEPTION_OK): Update value.
14316         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14317         (OVERFLOW_EXCEPTION_OK): Likewise.
14318         (UNDERFLOW_EXCEPTION_OK): Likewise.
14319         (IGNORE_ZERO_INF_SIGN): Likewise.
14320         (ERRNO_UNCHANGED): Likewise.
14321         (ERRNO_EDOM): Likewise.
14322         (ERRNO_ERANGE): Likewise.
14323         (test_exceptions): Handle testing "inexact" exceptions.
14324         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14325         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14326         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14327         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14328         INEXACT_EXCEPTION.
14329         (rint_towardzero_test_data): Likewise.
14330         (rint_downward_test_data): Likewise.
14331         (rint_upward_test_data): Likewise.
14333         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14334         with OVERFLOW_EXCEPTION.
14335         (exp10_test_data): Likewise.
14336         (exp2_test_data): Likewise.
14337         (expm1_test_data): Likewise.
14338         (lgamma_test_data): Likewise.
14339         (pow_test_data): Likewise.
14340         (tgamma_test_data): Likewise.
14341         (yn_test_data): Remove duplicate test of overflow.
14343         * math/libm-test.inc (struct test_cc_c_data): New type.
14344         (RUN_TEST_LOOP_cc_c): New macro.
14345         (cpow_test_data): New variable.
14346         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14348         * math/libm-test.inc (struct test_f_L_data): New type.
14349         (RUN_TEST_LOOP_f_L): New macro.
14350         (llrint_test_data): New variable.
14351         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14352         (llrint_tonearest_test_data): New variable.
14353         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14354         (llrint_towardzero_test_data): New variable.
14355         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14356         (llrint_downward_test_data): New variable.
14357         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14358         (llrint_upward_test_data): New variable.
14359         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14360         (llround_test_data): New variable.
14361         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14363 2013-05-13  Peter Collingbourne  <pcc@google.com>
14365         * math/atest-exp2.c (get_log2): Remove const attribute.
14367 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14369         * math/libm-test.inc (struct test_f_l_data): New type.
14370         (RUN_TEST_LOOP_f_l): New macro.
14371         (lrint_test_data): New variable.
14372         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14373         (lrint_tonearest_test_data): New variable.
14374         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14375         (lrint_towardzero_test_data): New variable.
14376         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14377         (lrint_downward_test_data): New variable.
14378         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14379         (lrint_upward_test_data): New variable.
14380         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14381         (lround_test_data): New variable.
14382         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14384 2013-05-15  Peter Collingbourne  <pcc@google.com>
14386         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14387         (EXTRACT_WORDS64) Use where appropriate.
14388         (INSERT_WORDS64) Likewise.
14390         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14391         constraints with x constraints.
14392         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14394         * malloc/obstack.c (_obstack_compat): Add initializer.
14396 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14398         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14399         si_trapno and add si_addr_lsb to _sifields.sigfault.
14400         (si_trapno): Remove macro.
14401         (si_addr_lsb): Define new macro.
14402         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14404 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14406         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14407         instead of TEST_f_l.
14408         (llrint_test_tonearest): Likewise.
14409         (llrint_test_towardzero): Likewise.
14410         (llrint_test_downward): Likewise.
14411         (llrint_test_upward): Likewise.
14412         (llround_test): Likewise.
14414         * math/libm-test.inc (struct test_f_i_data): Add comment.
14415         (RUN_TEST_LOOP_f_b): New macro.
14416         (RUN_TEST_LOOP_f_b_tg): Likewise.
14417         (finite_test_data): New variable.
14418         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14419         (isfinite_test_data): New variable.
14420         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14421         (isinf_test_data): New variable.
14422         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14423         (isnan_test_data): New variable.
14424         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14425         (isnormal_test_data): New variable.
14426         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14427         (issignaling_test_data): New variable.
14428         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14429         (signbit_test_data): New variable.
14430         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14432         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14433         with INVALID_EXCEPTION.
14434         (acosh_test_data): Likewise.
14435         (asin_test_data): Likewise.
14436         (atanh_test_data): Likewise.
14437         (fmod_test_data): Likewise.
14438         (log_test_data): Likewise.
14439         (log10_test_data): Likewise.
14440         (log2_test_data): Likewise.
14441         (pow_test_data): Likewise.
14442         (sqrt_test_data): Likewise.
14443         (y0_test_data): Likewise.
14444         (y1_test_data): Likewise.
14445         (yn_test_data): Likewise.
14447         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14448         function contents.
14450         * math/libm-test.inc (struct test_ff_i_data): New type.
14451         (RUN_TEST_LOOP_ff_i_tg): New macro.
14452         (isgreater_test_data): New variable.
14453         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14454         (isgreaterequal_test_data): New variable.
14455         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14456         (isless_test_data): New variable.
14457         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14458         (islessequal_test_data): New variable.
14459         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14460         (islessgreater_test_data): New variable.
14461         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14462         (isunordered_test_data): New variable.
14463         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14465 2013-05-14  David S. Miller  <davem@davemloft.net>
14467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14469 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
14471         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14473         * math/libm-test.inc (struct test_fF_f1_data): Change type of
14474         extra_test to int.
14475         (struct test_f_i_data): Change type of max_ulp to int.
14477         * math/libm-test.inc (test_ffI_f1_data): New type.
14478         (RUN_TEST_LOOP_ffI_f1): New macro.
14479         (remquo_test_data): New variable.
14480         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14482         * setjmp/tst-setjmp-fp.c: New file.
14483         * setjmp/Makefile (tests): Add tst-setjmp-fp.
14484         (link-libm): New variable.
14485         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14487         * math/libm-test.inc (struct test_f_i_data): New type.
14488         (RUN_TEST_LOOP_f_i): New macro.
14489         (RUN_TEST_LOOP_f_i_tg): Likewise.
14490         (fpclassify_test_data): New variable.
14491         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14492         (ilogb_test_data): New variable.
14493         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14495         * math/libm-test.inc (scalbln_test): Correct function name in END
14496         call.
14498         * math/libm-test.inc (struct test_f_f1_data): Add comment.
14499         (RUN_TEST_LOOP_fI_f1): New macro.
14500         (frexp_test_data): New variable.
14501         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14503         * math/libm-test.inc (struct test_fF_f1_data): New type.
14504         (RUN_TEST_LOOP_fF_f1): New macro.
14505         (modf_test_data): New variable.
14506         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14508         * math/libm-test.inc (struct test_f_f1_data): New type.
14509         (RUN_TEST_LOOP_f_f1): New macro.
14510         (gamma_test_data): New variable.
14511         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14512         (lgamma_test_data): New variable.
14513         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14515 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
14517         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14518         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14519         (main): Comment "tls" pseudo-hwcap.
14521 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
14523         * math/libm-test.inc (struct test_fl_f_data): New type.
14524         (RUN_TEST_LOOP_fl_f): New variable.
14525         (scalbln_test_data): New variable.
14526         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14528         * math/libm-test.inc (struct test_fi_f_data): New type.
14529         (RUN_TEST_LOOP_fi_f): New macro.
14530         (ldexp_test_data): New variable.
14531         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14532         (scalbn_test_data): New variable.
14533         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14535         * math/libm-test.inc (struct test_c_f_data): New type.
14536         (RUN_TEST_LOOP_c_f): New macro.
14537         (cabs_test_data): New variable.
14538         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14539         (carg_test_data): New variable.
14540         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14541         (cimag_test_data): New variable.
14542         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14543         (creal_test_data): New variable.
14544         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14546         * math/libm-test.inc (struct test_if_f_data): New type.
14547         (RUN_TEST_LOOP_if_f): New macro.
14548         (jn_test_data): New variable.
14549         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14550         (yn_test_data): New variable.
14551         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14553         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14555 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14557         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14558         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14560 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14562         * benchtests/Makefile (CPPFLAGS-nonlib): Add
14563         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14564         (bench-deps): Add bench-timing.h.
14565         * benchtests-bench-skeleton.c: Include bench-timing.h.
14566         (main): Use TIMING_* macros instead of clock_gettime.
14567         * benchtests/bench-timing.h: New file.
14569         [BZ #14582]
14570         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14571         Renamed from _LIB_VERSION.
14572         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14574 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
14576         * math/libm-test.inc (struct test_fff_f_data): New type.
14577         (RUN_TEST_LOOP_fff_f): New macro.
14578         (fma_test_data): New variable.
14579         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14580         (fma_towardzero_test_data): New variable.
14581         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14582         (fma_downward_test_data): New variable.
14583         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14584         (fma_upward_test_data): New variable.
14585         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14587         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14588         (struct test_c_c_data): New type.
14589         (RUN_TEST_LOOP_c_c): New macro.
14590         (cacos_test_data): New variable.
14591         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14592         (cacosh_test_data): New variable.
14593         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14594         (casin_test_data): New variable.
14595         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14596         (casinh_test_data): New variable.
14597         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14598         (catan_test_data): New variable.
14599         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14600         (catanh_test_data): New variable.
14601         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14602         (ccos_test_data): New variable.
14603         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14604         (ccosh_test_data): New variable.
14605         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14606         (cexp_test_data): New variable.
14607         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14608         (clog_test_data): New variable.
14609         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14610         (clog10_test_data): New variable.
14611         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14612         (conj_test_data): New variable.
14613         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14614         (cproj_test_data): New variable.
14615         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14616         (csin_test_data): New variable.
14617         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14618         (csinh_test_data): New variable.
14619         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14620         (csqrt_test_data): New variable.
14621         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14622         (ctan_test_data): New variable.
14623         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14624         (ctan_tonearest_test_data): New variable.
14625         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14626         (ctan_towardzero_test_data): New variable.
14627         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14628         (ctan_downward_test_data): New variable.
14629         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14630         (ctan_upward_test_data): New variable.
14631         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14632         (ctanh_test_data): New variable.
14633         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14634         (ctanh_tonearest_test_data): New variable.
14635         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14636         (ctanh_towardzero_test_data): New variable.
14637         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14638         (ctanh_downward_test_data): New variable.
14639         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14640         (ctanh_upward_test_data): New variable.
14641         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14642         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14643         of BUILD_COMPLEX.
14645         * math/libm-test.inc (struct test_ff_f_data): New type.
14646         (struct test_ff_f_data_nexttoward): Likewise.
14647         (RUN_TEST_LOOP_2_f): New macro.
14648         (RUN_TEST_LOOP_ff_f): Likewise.
14649         (atan2_test_data): New variable.
14650         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14651         (copysign_test_data): New variable.
14652         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14653         (fdim_test_data): New variable.
14654         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14655         (fmax_test_data): New variable.
14656         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14657         (fmin_test_data): New variable.
14658         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14659         (fmod_test_data): New variable.
14660         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14661         (hypot_test_data): New variable.
14662         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14663         (nextafter_test_data): New variable.
14664         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14665         (nexttoward_test_data): New variable.
14666         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14667         (pow_test_data): New variable.
14668         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14669         (pow_tonearest_test_data): New variable.
14670         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14671         (pow_towardzero_test_data): New variable.
14672         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14673         (pow_downward_test_data): New variable.
14674         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14675         (pow_upward_test_data): New variable.
14676         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14677         (remainder_test_data): New variable.
14678         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14679         (scalb_test_data): New variable.
14680         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14681         * sysdeps/i386/fpu/libm-test-ulps: Update.
14683 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
14685         * math/libm-test.inc (fma_test): Use max_value instead of local
14686         variable fltmax.
14687         (nextafter_test): Likewise.
14689         * math/libm-test.inc (acos_towardzero_test_data): New variable.
14690         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14691         (acos_downward_test_data): New variable.
14692         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14693         (acos_upward_test_data): New variable.
14694         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14695         (acosh_test_data): New variable.
14696         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14697         (asin_test_data): New variable.
14698         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14699         (asin_tonearest_test_data): New variable.
14700         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14701         (asin_towardzero_test_data): New variable.
14702         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14703         (asin_downward_test_data): New variable.
14704         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14705         (asin_upward_test_data): New variable.
14706         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14707         (asinh_test_data): New variable.
14708         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14709         (atan_test_data): New variable.
14710         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14711         (atanh_test_data): New variable.
14712         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14713         (cbrt_test_data): New variable.
14714         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14715         (ceil_test_data): New variable.
14716         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14717         (cos_test_data): New variable.
14718         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14719         (cos_tonearest_test_data): New variable.
14720         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14721         (cos_towardzero_test_data): New variable.
14722         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14723         (cos_downward_test_data): New variable.
14724         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14725         (cos_upward_test_data): New variable.
14726         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14727         (cosh_test_data): New variable.
14728         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14729         (cosh_tonearest_test_data): New variable.
14730         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14731         (cosh_towardzero_test_data): New variable.
14732         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14733         (cosh_downward_test_data): New variable.
14734         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14735         (cosh_upward_test_data): New variable.
14736         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14737         (erf_test_data): New variable.
14738         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14739         (erfc_test_data): New variable.
14740         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14741         (exp_test_data): New variable.
14742         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14743         (exp_tonearest_test_data): New variable.
14744         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14745         (exp_towardzero_test_data): New variable.
14746         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14747         (exp_downward_test_data): New variable.
14748         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14749         (exp_upward_test_data): New variable.
14750         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14751         (exp10_test_data): New variable.
14752         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14753         (exp2_test_data): New variable.
14754         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14755         (expm1_test_data): New variable.
14756         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14757         (fabs_test_data): New variable.
14758         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14759         (floor_test_data): New variable.
14760         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14761         (j0_test_data): New variable.
14762         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14763         (j1_test_data): New variable.
14764         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14765         (log_test_data): New variable.
14766         (log_test): Run tests with RUN_TEST_LOOP_f_f.
14767         (log10_test_data): New variable.
14768         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14769         (log1p_test_data): New variable.
14770         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14771         (log2_test_data): New variable.
14772         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14773         (logb_test_data): New variable.
14774         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14775         (logb_downward_test_data): New variable.
14776         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14777         (nearbyint_test_data): New variable.
14778         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14779         (rint_test_data): New variable.
14780         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14781         (rint_tonearest_test_data): New variable.
14782         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14783         (rint_towardzero_test_data): New variable.
14784         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14785         (rint_downward_test_data): New variable.
14786         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14787         (rint_upward_test_data): New variable.
14788         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14789         (round_test_data): New variable.
14790         (round_test): Run tests with RUN_TEST_LOOP_f_f.
14791         (sin_test_data): New variable.
14792         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14793         (sin_tonearest_test_data): New variable.
14794         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14795         (sin_towardzero_test_data): New variable.
14796         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14797         (sin_downward_test_data): New variable.
14798         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14799         (sin_upward_test_data): New variable.
14800         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14801         (sinh_test_data): New variable.
14802         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14803         (sinh_tonearest_test_data): New variable.
14804         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14805         (sinh_towardzero_test_data): New variable.
14806         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14807         (sinh_downward_test_data): New variable.
14808         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14809         (sinh_upward_test_data): New variable.
14810         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14811         (sqrt_test_data): New variable.
14812         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14813         (tan_test_data): New variable.
14814         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14815         (tan_tonearest_test_data): New variable.
14816         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14817         (tan_towardzero_test_data): New variable.
14818         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14819         (tan_downward_test_data): New variable.
14820         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14821         (tan_upward_test_data): New variable.
14822         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14823         (tanh_test_data): New variable.
14824         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14825         (tgamma_test_data): New variable.
14826         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14827         (trunc_test_data): New variable.
14828         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14829         (y0_test_data): New variable.
14830         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14831         (y1_test_data): New variable.
14832         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14833         (significand_test_data): New variable.
14834         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14836 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
14838         [BZ #12387]
14839         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14841 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14843         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14845 2013-05-10  Andreas Jaeger  <aj@suse.de>
14847         [BZ #15448]
14848         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14849         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14851 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14853         * math/gen-libm-test.pl (adjust_arg): New function.
14854         (special_functions): Handle generating output in both functions
14855         and arrays.
14856         (parse_args): Likewise.
14857         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
14858         $in_func argument to parse_args.
14859         * math/libm-test.inc (struct test_f_f_data): New type.
14860         (IF_ROUND_INIT_): New macro.
14861         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14862         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14863         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14864         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14865         (ROUND_RESTORE_): Likewise.
14866         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14867         (ROUND_RESTORE_FE_TONEAREST): Likewise.
14868         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14869         (ROUND_RESTORE_FE_UPWARD): Likewise.
14870         (RUN_TEST_LOOP_f_f): New macro.
14871         (acos_test_data): New variable.
14872         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14873         (acos_tonearest_test_data): New variable.
14874         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14876 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14878         * benchtests/bench-skeleton.c (startup): Fix coding style.
14880 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14882         [BZ #6809]
14883         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14884         negative infinity argument.
14885         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14886         negative infinity argument.
14887         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14888         negative infinity argument.
14889         * math/libm-test.inc (tgamma_test): Expect errno to be set for
14890         domain errors.
14892 2013-05-10  Florian Weimer  <fweimer@redhat.com>
14894         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14895         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14896         * iconv/iconv_prog.c (main): Likewise.
14897         * locale/programs/charmap-dir.c (charmap_readdir)
14898         (fopen_uncompressed): Likewise.
14899         * locale/programs/locfile.c (siblings_uncached)
14900         (write_locale_data): Use lstat64 instead of lstat.
14901         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14902         stat.
14904 2013-05-10  Andreas Jaeger  <aj@suse.de>
14906         [BZ #15395]
14907         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14908         localization.
14909         Include <locale.h>.
14911 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
14913         * elf/dl-close.c (_dl_close_worker): Add comments.
14915 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
14917         [BZ #15359]
14918         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14919         high part of pi/2.
14920         (__ieee754_rem_pio2l): Update comments.
14922         [BZ #15429]
14923         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14924         high part of pi/2.
14925         (__ieee754_rem_pio2l): Update comments.
14927         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14928         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14930         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14931         M_PI_4l.
14933         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14934         (M_PI_34_LOG10El): Likewise.
14935         (M_PI2_LOG10El): Likewise.
14936         (M_PI4_LOG10El): Likewise.
14937         (M_PI_LOG10El): Likewise.
14939 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14943 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
14945         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14946         (MINUS_ZERO_INIT): Likewise.
14947         (PLUS_INFTY_INIT): Likewise.
14948         (MINUS_INFTY_INIT): Likewise.
14949         (QNAN_VALUE_INIT): Likewise.
14950         (MAX_VALUE_INIT): Likewise.
14951         (MIN_VALUE_INIT): Likewise.
14952         (MIN_SUBNORM_VALUE_INIT): Likewise.
14953         (plus_zero): Initialize with PLUS_ZERO_INIT.
14954         (minus_zero): Initialize with MINUS_ZERO_INIT.
14955         (plus_infty): Initialize with PLUS_INFTY_INIT.
14956         (minus_infty): Initialize with MINUS_INFTY_INIT.
14957         (qnan_value): Initialize with QNAN_VALUE_INIT.
14958         (max_value): Initialize with MAX_VALUE_INIT.
14959         (min_value): Initialize with MIN_VALUE_INIT.
14960         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14962         * math/libm-test.inc (RUN_TEST_if_f): New macro.
14963         (jn_test): Use TEST_if_f instead of TEST_ff_f.
14964         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14965         (yn_test): Use TEST_if_f instead of TEST_ff_f.
14967         * math/libm-test.inc (RUN_TEST_f_f): New macro.
14968         (RUN_TEST_2_f): Likewise.
14969         (RUN_TEST_ff_f): Likewise.
14970         (RUN_TEST_fi_f): Likewise.
14971         (RUN_TEST_fl_f): Likewise.
14972         (RUN_TEST_fff_f): Likewise.
14973         (RUN_TEST_c_f): Likewise.
14974         (RUN_TEST_f_f1): Likewise.
14975         (RUN_TEST_fF_f1): Likewise.
14976         (RUN_TEST_fI_f1): Likewise.
14977         (RUN_TEST_ffI_f1): Likewise.
14978         (RUN_TEST_c_c): Likewise.
14979         (RUN_TEST_cc_c): Likewise.
14980         (RUN_TEST_f_i): Likewise.
14981         (RUN_TEST_f_i_tg): Likewise.
14982         (RUN_TEST_ff_i_tg): Likewise.
14983         (RUN_TEST_f_b): Likewise.
14984         (RUN_TEST_f_b_tg): Likewise.
14985         (RUN_TEST_f_l): Likewise.
14986         (RUN_TEST_f_L): Likewise.
14987         (RUN_TEST_sincos): Likewise.
14988         * math/gen-libm-test.pl (new_test): Take new argument to indicate
14989         whether to show exceptions.  Do not include ");\n" in return
14990         value.
14991         (special_functions): Output call to RUN_TEST_sincos instead of
14992         check_float calls.  Update calls to new_test.
14993         (parse_args): Output call to single RUN_TEST_* macro instead of
14994         check_* calls and other assignments.  Update calls to new_test.
14996         [BZ #2546]
14997         [BZ #2560]
14998         [BZ #5159]
14999         [BZ #15426]
15000         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15001         input to result for tgamma overflow.
15002         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15003         (gamma_coeff): New variable.
15004         (NCOEFF): New macro.
15005         (gamma_positive): New function.
15006         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15007         underflow here.  Use gamma_positive instead of exp (lgamma) for
15008         other arguments.
15009         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15010         (gamma_coeff): New variable.
15011         (NCOEFF): New macro.
15012         (gammaf_positive): New function.
15013         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15014         underflow here.  Use gamma_positive instead of exp (lgamma) for
15015         other arguments.
15016         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15017         (gamma_coeff): New variable.
15018         (NCOEFF): New macro.
15019         (gammal_positive): New function.
15020         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15021         underflow here.  Use gamma_positive instead of exp (lgamma) for
15022         other arguments.
15023         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15024         (gamma_coeff): New variable.
15025         (NCOEFF): New macro.
15026         (gammal_positive): New function.
15027         (__ieee754_gammal_r): Handle positive infinity, overflow and
15028         underflow here.  Handle NaN the same as positive infinity.  Remove
15029         check x < 0xffffffff for negative integers.  Use gamma_positive
15030         instead of exp (lgamma) for other arguments.
15031         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15032         (gamma_coeff): New variable.
15033         (NCOEFF): New macro.
15034         (gammal_positive): New function.
15035         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15036         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15037         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15038         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15039         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15040         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15041         * sysdeps/generic/math_private.h (__gamma_productf): New
15042         prototype.
15043         (__gamma_product): Likewise.
15044         (__gamma_productl): Likewise.
15045         * math/Makefile (libm-calls): Add gamma_product.
15046         * math/libm-test.inc (tgamma_test): Add more tests.
15047         * sysdeps/i386/fpu/libm-test-ulps: Update.
15048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15050 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
15052         * benchtests/bench-skeleton.c (main): Preheat CPU.
15054 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
15056         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15058 2013-05-07  Roland McGrath  <roland@hack.frob.com>
15060         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15061         and _dl_skip_args_internal.
15063 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
15065         * manual/message.texi (Message Translation): Talk about users.
15066         Message to key mapping impacts design.
15068 2013-05-06  Roland McGrath  <roland@hack.frob.com>
15070         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15072         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15074         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15075         * sysdeps/wordsize-64/glob64.c: ... here.
15077         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15078         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15079         New macros.
15081         * debug/getlogin_r_chk.c: Moved to ...
15082         * login/getlogin_r_chk.c: ... here.
15083         * debug/Makefile (routines): Move getlogin_r_chk to ...
15084         * login/Makefile (routines): ... here.
15085         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15086         * login/Versions (libc: GLIBC_2.4): ... here.
15088         * io/poll.c (__poll): Renamed from poll.
15089         Add libc_hidden_def.
15090         (poll): Define as weak alias.
15092         * debug/ptsname_r_chk.c: Moved to ...
15093         * login/ptsname_r_chk.c: ... here.
15094         * debug/Makefile (routines): Move ptsname_r_chk to ...
15095         * login/Makefile (routines): ... here.
15096         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15097         * login/Versions (libc: GLIBC_2.4): ... here.
15099         * posix/getlogin.c: Moved to ...
15100         * login/getlogin.c: ... here.
15101         * posix/getlogin_r.c: Moved to ...
15102         * login/getlogin_r.c: ... here.
15103         * posix/getlogin_r.c: Moved to ...
15104         * login/getlogin_r.c: ... here.
15105         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15106         * login/Makefile (routines): ... here.
15107         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15108         * login/Versions (libc: GLIBC_2.0): ... here.
15110         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15111         (setrlimit): Define as weak alias.
15113         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15114         Call __ names for open, ftruncate, and close.
15115         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15116         (truncate): Define as weak alias.
15118 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
15120         * math/gen-libm-test.pl (parse_args): Initialize x before each
15121         test of frexp, modf and remquo.
15123         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15124         test signgam value.
15126 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15128         [BZ #15418]
15129         [BZ #15419]
15130         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15131         internal tests.
15132         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15134 2013-05-06  Roland McGrath  <roland@hack.frob.com>
15136         * elf/dl-writev.h: New file.
15137         * elf/dl-misc.c: Include it.
15138         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15139         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15141 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
15143         * math/libm-test.inc (noXFails): Remove variable.
15144         (noXPasses): Likewise.
15145         (BUILD_COMPLEX_INT): Remove macro.
15146         (print_screen): Remove xfail argument.
15147         (print_screen_max_error): Likewise.
15148         (update_stats): Likewise.
15149         (print_max_error): Likewise.  Update calls to other affected
15150         functions.
15151         (print_complex_max_error): Likewise.
15152         (test_single_exception): Update calls to print_screen.
15153         (test_single_errno): Likewise.
15154         (check_float_internal): Remove xfail argument.  Update calls to
15155         other affected functions.
15156         (check_float): Likewise.
15157         (check_complex): Likewise.
15158         (check_int): Likewise.
15159         (check_long): Likewise.
15160         (check_bool): Likewise.
15161         (check_longlong): Likewise.
15162         (main): Don't print noXFails and noXPasses.
15163         * math/gen-libm-test.pl (top level): Don't mention expected
15164         failure handling in comment.
15165         (new_test): Don't handle expected failures.
15166         (parse_args): Don't mention expected failure handling in comment.
15167         (generate_testfile): Don't handle expected failures.
15168         (parse_ulps): Likewise.
15169         (print_ulps_file): Likewise.
15170         (get_failure): Remove function.
15171         (output_test): Don't handle expected failures.
15172         * make/README.libm-test: Don't mention expected failure handling.
15174         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
15175         (minus_zero): Likewise.
15176         (plus_infty): Likewise.
15177         (minus_infty): Likewise.
15178         (qnan_value): Likewise.
15179         (max_value): Likewise.
15180         (min_value): Likewise.
15181         (min_subnorm_value): Likewise.
15182         (initialize): Do not initialize those variables dynamically.
15184 2013-05-03  Roland McGrath  <roland@hack.frob.com>
15186         * io/open.c (__open_2): Moved to ...
15187         * io/open_2.c: ... this new file.
15188         * io/open64.c (__open64_2): Moved to ...
15189         * io/open64_2.c: ... this new file.
15190         * io/openat.c (__openat_2): Moved to ...
15191         * io/openat_2.c: ... this new file.
15192         * io/openat64.c (__openat64_2): Moved to ...
15193         * io/openat64_2.c: ... this new file.
15194         * io/Makefile (routines): Add them.
15195         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15196         * sysdeps/unix/sysv/linux/open_2.c: File removed.
15197         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15198         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15199         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15200         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15201         (__openat64): Add hidden_ver.
15202         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15203         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15205         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15206         Separately conditionalize setting of GLRO(dl_sysinfo) so
15207         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15208         as well, but the actual setting is only under [NEED_DL_SYSINFO].
15210 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15212         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15213         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15214         definition.
15215         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15216         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15217         (_libc_vdso_platform_setup): Add __vdso_time initialization.
15218         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15219         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15221 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
15223         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15224         test signgam value.
15226         * math/libm-test.inc (hypot_test): Do not use
15227         IGNORE_ZERO_INF_SIGN.
15229 2013-05-03  Andreas Jaeger  <aj@suse.de>
15231         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15232         Linux 3.9.
15233         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15234         (PF_MAX): Adjust for VSOCK change.
15236 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15240 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
15242         [BZ #15264]
15243         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15244         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15245         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15247 2013-05-02  David S. Miller  <davem@davemloft.net>
15249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15251 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
15253         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15255 2013-05-01  Roland McGrath  <roland@hack.frob.com>
15257         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15259 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
15261         [BZ #14952]
15262         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15263         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15264         Use __attribute__ ((__gnu_inline__)).
15265         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15266         Don't use __attribute__ ((__gnu_inline__)).
15268 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
15270         [BZ #15423]
15271         * math/s_catan.c (__catan): Handle small real or imaginary part of
15272         input specially to avoid spurious underflow.
15273         * math/s_catanf.c (__catanf): Likewise.
15274         * math/s_catanh.c (__catanh): Likewise.
15275         * math/s_catanhf.c (__catanhf): Likewise.
15276         * math/s_catanhl.c (__catanhl): Likewise.
15277         * math/s_catanl.c (__catanl): Likewise.
15278         * math/libm-test.inc (catan_test): Add more tests.
15279         (catanh_test): Likewise.
15280         * sysdeps/i386/fpu/libm-test-ulps: Update.
15281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15283 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15287 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
15289         [BZ #15416]
15290         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15291         accurately for denominator in atan2.
15292         * math/s_catanf.c (__catanf): Likewise.
15293         * math/s_catanh.c (__catanh): Likewise.
15294         * math/s_catanhf.c (__catanhf): Likewise.
15295         * math/s_catanhl.c (__catanhl): Likewise.
15296         * math/s_catanl.c (__catanl): Likewise.
15297         * math/libm-test.inc (catan_test): Add more tests.
15298         (catanh_test): Likewise.
15299         * sysdeps/i386/fpu/libm-test-ulps: Update.
15300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15302 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15304         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15306         * benchtests/Makefile (bench): Remove slow benchmarks.
15307         * benchtests/atan-inputs: Add slow benchmark inputs.
15308         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15309         (BENCH_FUNC): Accept variant offset.
15310         (VARIANT): Define.
15311         * benchtests/bench-skeleton.c (main): Run benchmark for each
15312         variant.
15313         * benchtests/cos-inputs: Add slow benchmark inputs.
15314         * benchtests/exp-inputs: Likewise.
15315         * benchtests/pow-inputs: Likewise.
15316         * benchtests/sin-inputs: Likewise.
15317         * benchtests/slowatan-inputs: Remove.
15318         * benchtests/slowatan.c: Remove.
15319         * benchtests/slowcos-inputs: Remove.
15320         * benchtests/slowcos.c: Remove.
15321         * benchtests/slowexp-inputs: Remove.
15322         * benchtests/slowexp.c: Remove.
15323         * benchtests/slowpow-inputs: Remove.
15324         * benchtests/slowpow.c: Remove.
15325         * benchtests/slowsin-inputs: Remove.
15326         * benchtests/slowsin.c: Remove.
15327         * benchtests/slowtan-inputs: Remove.
15328         * benchtests/slowtan.c: Remove.
15329         * benchtests/tan-inputs: Add slow benchmark inputs.
15330         * scripts/bench.pl: Parse comments and directives.
15332         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
15333         in CPPFLAGS.
15334         ($(objpfx)bench-%.c): Remove *-ITER.
15335         * benchtests/bench-modf.c: Remove definition of ITER.
15336         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15337         (main): Loop for DURATION seconds instead of fixed number of
15338         iterations.
15339         * scripts/bench.pl: Don't expect iterations in parameters.
15341 2013-04-29  Roland McGrath  <roland@hack.frob.com>
15343         * io/fchdir.c (__fchdir): Renamed from fchdir.
15344         (fchdir): Define as weak alias.
15346 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15348         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15349         (ERRNO_EDOM): Likewise.
15350         (ERRNO_ERANGE): Likewise.
15351         (noErrnoTests): New variable.
15352         (init_max_error): Set errno to 0.
15353         (test_single_errno): New function.
15354         (test_errno): Likewise.
15355         (check_float_internal): Call test_errno.  Set errno to 0.
15356         (check_complex): Refer to errno tests in comment.
15357         (check_int): Call test_errno.  Set errno to 0.
15358         (check_long): Likewise.
15359         (check_bool): Likewise.
15360         (check_longlong): Likewise.
15361         (cos_test): Use ERRNO_* flags for errno tests instead of
15362         check_int.
15363         (expm1_test): Likewise.
15364         (fmod_test): Likewise.
15365         (ilogb_test): Likewise.
15366         (lgamma_test): Likewise.
15367         (pow_test): Likewise.
15368         (remainder_test): Likewise.
15369         (sin_test): Likewise.
15370         (tan_test): Likewise.
15371         (yn_test): Likewise.
15372         (initialize): Set errno to 0.
15373         (main): Print number of errno tests.
15374         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15376 2013-04-29  Andreas Jaeger  <aj@suse.de>
15378         [BZ #15084]
15379         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15380         and RES_USEVC.
15382         [BZ #15085]
15383         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15384         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15385         unimplemented.
15387         [BZ #15380]
15388         * stdlib/random.c (__initstate): Return NULL if
15389         __initstate fails.
15391         [BZ #15086]
15392         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15393         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15394         RES_SNGLKUPREOP.
15396 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15400 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15402         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15403         of individual tests.
15404         (casin_test): Likewise.
15405         (casinh_test): Likewise.
15407 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
15409         [BZ #15409]
15410         * math/s_catan.c (__catan): Handle arguments with large real or
15411         imaginary part separately without squaring.
15412         * math/s_catanf.c (__catanf): Likewise.
15413         * math/s_catanh.c (__catanh): Likewise.
15414         * math/s_catanhf.c (__catanhf): Likewise.
15415         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15416         and redefine.
15417         (__catanhl): Handle arguments with large real or imaginary part
15418         separately without squaring.
15419         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15420         and redefine.
15421         (__catanl): Handle arguments with large real or imaginary part
15422         separately without squaring.
15423         * math/libm-test.inc (catan_test): Add more tests.
15424         (catanh_test): Likewise.
15425         * sysdeps/i386/fpu/libm-test-ulps: Update.
15426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15428 2013-04-27  Andreas Jaeger  <aj@suse.de>
15430         [BZ #15007]
15431         * stdlib/stdlib.h: Update guards for qecvt.
15432         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15433         <stdlib.h>.
15435 2013-04-27  Allan McRae  <allan@archlinux.org>
15437         * sysdeps/i386/fpu/libm-test-ulps: Update.
15439 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
15441         [BZ #15406]
15442         * math/s_catan.c: Include <float.h>.
15443         (__catan): Ensure underflow exception occurs for underflowed
15444         result.
15445         * math/s_catanf.c: Include <float.h>.
15446         (__catanf): Ensure underflow exception occurs for underflowed
15447         result.
15448         * math/s_catanh.c: Include <float.h>.
15449         (__catanh): Ensure underflow exception occurs for underflowed
15450         result.
15451         * math/s_catanhf.c: Include <float.h>.
15452         (__catanhf): Ensure underflow exception occurs for underflowed
15453         result.
15454         * math/s_catanhl.c: Include <float.h>.
15455         (__catanhl): Ensure underflow exception occurs for underflowed
15456         result.
15457         * math/s_catanl.c: Include <float.h>.
15458         (__catanl): Ensure underflow exception occurs for underflowed
15459         result.
15460         * math/libm-test.inc (catan_test): Add more tests.
15461         (catanh_test): Likewise.
15463         [BZ #15405]
15464         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15465         underflowed result.
15466         * math/s_ccoshf.c (__ccoshf): Likewise.
15467         * math/s_ccoshl.c (__ccoshl): Likewise.
15468         * math/s_csin.c (__csin): Likewise.
15469         * math/s_csinf.c (__csinf): Likewise.
15470         * math/s_csinh.c (__csinh): Likewise.
15471         * math/s_csinhf.c (__csinhf): Likewise.
15472         * math/s_csinhl.c (__csinhl): Likewise.
15473         * math/s_csinl.c (__csinl): Likewise.
15474         * math/libm-test.inc (ccos_test): Add more tests.
15475         (ccosh_test): Likewise.
15476         (csin_test): Likewise.
15477         (csinh_test): Likewise.
15479 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15481         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15482         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15483         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15484         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15485         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15486         powerpc/power5+/fpu folders.
15487         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15490 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15494 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
15496         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15497         additions to variable.
15498         [$(config-machine) = x86_64] (modules-names): Likewise.
15499         ($(objpfx)tst-audit3): Remove dependency.
15500         ($(objpfx)tst-audit3.out): Likewise.
15501         ($(objpfx)tst-audit4): Likewise.
15502         ($(objpfx)tst-audit4.out): Likewise.
15503         ($(objpfx)tst-audit5): Likewise.
15504         ($(objpfx)tst-audit5.out): Likewise.
15505         ($(objpfx)tst-audit6): Likewise.
15506         ($(objpfx)tst-audit6.out): Likewise.
15507         ($(objpfx)tst-audit7): Likewise.
15508         ($(objpfx)tst-audit7.out): Likewise.
15509         (tst-audit3-ENV): Remove variable.
15510         (tst-audit4-ENV): Likewise.
15511         (tst-audit5-ENV): Likewise.
15512         (tst-audit6-ENV): Likewise.
15513         (tst-audit7-ENV): Likewise.
15514         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15515         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15516         addition to variable.
15517         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15518         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15519         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15520         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15521         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15522         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15523         tst-audit3, tst-audit4 and tst-audit5.
15524         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15525         tst-audit6 and tst-audit7.
15526         [$(subdir) = elf] (modules-names): Add audit modules for those
15527         tests.
15528         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15529         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15530         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15531         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15532         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15533         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15534         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15535         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15536         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15537         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15538         [$(subdir) = elf] (tst-audit3-ENV): New variable.
15539         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15540         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15541         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15542         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15543         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15544         Likewise.
15545         [$(subdir) = elf && $(config-cflags-avx) = yes]
15546         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15547         [$(subdir) = elf && $(config-cflags-avx) = yes]
15548         (CFLAGS-tst-auditmod4a.c): Likewise.
15549         [$(subdir) = elf && $(config-cflags-avx) = yes]
15550         (CFLAGS-tst-auditmod4b.c): Likewise.
15551         [$(subdir) = elf && $(config-cflags-avx) = yes]
15552         (CFLAGS-tst-auditmod6b.c): Likewise.
15553         [$(subdir) = elf && $(config-cflags-avx) = yes]
15554         (CFLAGS-tst-auditmod6c.c): Likewise.
15555         [$(subdir) = elf && $(config-cflags-avx) = yes]
15556         (CFLAGS-tst-auditmod7b.c): Likewise.
15557         * elf/tst-audit3.c: Move to ...
15558         * sysdeps/x86_64/tst-audit3.c: ... here.
15559         * elf/tst-audit4.c: Move to ...
15560         * sysdeps/x86_64/tst-audit4.c: ... here.
15561         * elf/tst-audit5.c: Move to ...
15562         * sysdeps/x86_64/tst-audit5.c: ... here.
15563         * elf/tst-audit6.c: Move to ...
15564         * sysdeps/x86_64/tst-audit6.c: ... here.
15565         * elf/tst-audit7.c: Move to ...
15566         * sysdeps/x86_64/tst-audit7.c: ... here.
15567         * elf/tst-auditmod3a.c: Move to ...
15568         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15569         * elf/tst-auditmod3b.c: Move to ...
15570         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15571         * elf/tst-auditmod4a.c: Move to ...
15572         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15573         * elf/tst-auditmod4b.c: Move to ...
15574         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15575         * elf/tst-auditmod5a.c: Move to ...
15576         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15577         * elf/tst-auditmod5b.c: Move to ...
15578         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15579         * elf/tst-auditmod6a.c: Move to ...
15580         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15581         * elf/tst-auditmod6b.c: Move to ...
15582         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15583         * elf/tst-auditmod6c.c: Move to ...
15584         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15585         * elf/tst-auditmod7a.c: Move to ...
15586         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15587         * elf/tst-auditmod7b.c: Move to ...
15588         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15590 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
15592         [BZ #15366]
15593         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15594         define unconditionally.
15595         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15596         define unconditionally.
15597         (INT8_C, INT16_C, etc.): Likewise.
15599 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
15601         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15602         __ehdr_start with hidden visibility.
15604         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15606 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
15608         * math/libm-test.inc (cos_test): Use accurate hex constants.
15609         (sincost_test): Likewise.
15611 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
15613         * math/libm-test.inc (catan_test): Add more tests.
15614         (catanh_test): Likewise.
15616         * math/s_catanf.c (__catanf): Use suffixed floating-point
15617         constants.
15618         * math/s_catanhf.c (__catanhf): Likewise.
15619         * math/s_catanhl.c (__catanhl): Likewise.
15620         * math/s_catanl.c (__catanl): Likewise.
15622         [BZ #15394]
15623         * math/s_catan.c (__catan): Calculate imaginary part of result
15624         with log1p not log unless computing log of number close to 0.
15625         * math/s_catanf.c (__catanf): Likewise.
15626         * math/s_catanl.c (__catanl): Likewise.
15627         * math/s_catanh.c (__catanh): Calculate real part of result with
15628         log1p not log unless computing log of number close to 0.
15629         * math/s_catanhf.c (__catanhf): Likewise.
15630         * math/s_catanhl.c (__catanhl): Likewise.
15631         * math/libm-test.inc (catan_test): Add more tests.
15632         (catanh_test): Likewise.
15633         * sysdeps/i386/fpu/libm-test-ulps: Update.
15634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15636 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15638         * benchtests/Makefile: Mention files in which fast and slow
15639         paths of math functions are implemented.
15641 2013-04-23  Roland McGrath  <roland@hack.frob.com>
15643         * sysdeps/posix/timespec_get.c: New file.
15645 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15647         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15648         POWER.
15649         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15650         for POWER.
15651         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15652         powerpc/power5/fpu folders.
15653         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15654         * benchtests/Makefile: Add modf testcase.
15655         * benchtests/bench-modf.c: New file: Benchmark test for mo
15657 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15659         [BZ #14888]
15660         * time/Makefile (tests): Add tst-strptime-whitespace.
15661         * time/strptime_l.c (get_number): Use ISSPACE.
15662         (__strptime_internal): Likewise.
15663         * time/tst-strptime-whitespace.c: New test case.
15665 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
15667         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15668         member.
15669         (_nss_files_init): Set it here.
15671 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
15673         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15674         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15675         unsigned.
15677 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
15679         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15681 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15683         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15684         size just once.
15686 2013-04-21  David S. Miller  <davem@davemloft.net>
15688         * po/ru.po: Update Russion translation from translation project.
15690 2013-04-17  Adam Conrad  <adconrad@0c3.net>
15692         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15693         and setfsgid.
15695 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
15697         * configure.in: Remove i386 configure warning. Remove i386 case.
15698         * configure: Regenerate.
15699         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15700         Add example to error message.
15701         * sysdeps/i386/configure: Regenerate.
15703 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15705         * benchtests/Makefile (bench): Add cos, tan, slowcos and
15706         slowtan.
15707         * benchtests/cos-inputs: New file.
15708         * benchtests/slowcos-inputs: New file.
15709         * benchtests/slowcos.c: New file.
15710         * benchtests/slowtan-inputs: New file.
15711         * benchtests/slowtan.c: New file.
15712         * benchtests/tan-inputs: New file.
15714 2013-04-16  Roland McGrath  <roland@hack.frob.com>
15716         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15717         considered kosher.
15719 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15721         * benchtests/Makefile: Include cppflags-iterator.mk to add
15722         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15724         * Makefile.in (bench-clean): New target.
15725         * benchtests/Makefile (bench-clean): Likewise.
15727 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
15729         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15731 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
15733         * stdio-common/tstdiomisc.c: Fix coding-style violation.
15735 2013-04-15  Andreas Schwab  <schwab@suse.de>
15737         * nscd/grpcache.c (cache_addgr): Properly check for short write.
15738         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15739         * nscd/pwdcache.c (cache_addpw): Likewise.
15740         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
15741         more than recsize.
15743 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15745         * benchtests/Makefile (bench): Write all output to
15746         bench-out.tmp together.
15748 2013-04-15  Andreas Schwab  <schwab@suse.de>
15750         * nscd/nscd.c (main): Don't fork again after closing files.
15752 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15754         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15756         * benchtests/Rules (bench-deps): Collect dependencies into a
15757         single variable.  Add Makefile to dependencies.
15758         ($(objpfx)bench-%.c): Depend on bench-deps.
15760 2013-04-12  Roland McGrath  <roland@hack.frob.com>
15761             Xavier Roche  <roche+kml2@exalead.com>
15763         [BZ #15361]
15764         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15765         just that it's a file descriptor.
15766         * manual/llio.texi (Synchronizing AIO Operations): Update description
15767         for EBADF error from aio_fsync.
15769 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15771         * Rules (bench): Move target definition...
15772         * benchtests/Makefile: ... here.
15774 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
15776         * math/libm-test.inc (cos_test): Fix PI/2 test.
15777         (sincos_test): Likewise.
15778         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15779         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15781 2013-04-11  Andreas Schwab  <schwab@suse.de>
15783         [BZ #13988]
15784         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15785         accept exponent character only when digits were seen.
15786         * stdio-common/Makefile (tests): Add bug26.
15787         * stdio-common/bug26.c: New file.
15789         [BZ #14293]
15790         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15791         non-freeable.
15793 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15795         * Makeconfig (rtld-prefix): Define built linker prefix.
15796         * Rules (run-bench): Use it.
15797         * math/Makefile (run-regen-ulps): Likewise.
15799         * Rules (bench): Remove eval.
15801 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15802             Roland McGrath  <roland@hack.frob.com>
15803             Ondrej Bilka  <neleai@seznam.cz>
15805         [BZ #15346]
15806         * time/getdate.c: Include ctype.h and alloca.h.
15807         (__getdate_r): Trim leading and trailing spaces of input.
15808         * time/tst-getdate.c (tests): Add tests with leading and
15809         trailing spaces.
15811 2013-04-08  Roland McGrath  <roland@hack.frob.com>
15813         [BZ #14280]
15814         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15815         when computing value.
15817 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15819         * math/README.libm-test (How can I generate "libm-test-ulps"?):
15820         Use testrun.sh to run libm tests.
15822         [BZ #15309]
15823         * elf/dl-open.c (dl_open_worker): memset all of seen array.
15825 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
15827         [BZ #15264]
15828         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15830 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15832         * Makefile.in (regen-ulps): New target.
15833         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15834         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15835         [ifneq (no,$(PERL)] (regen-ulps): New target.
15836         [ifeq (no,$(PERL)] (regen-ulps): New target.
15837         * math/libm-test.inc (ulps_file_name): Define.
15838         (output_dir): New variable.
15839         (options): Add "output-dir" option.
15840         (parse_opt): Handle 'o' case.
15841         (main): If output_dir is non-NULL use it as a prefix
15842         otherwise use "".
15843         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15845 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15847         [BZ #10060, #10062]
15848         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15849         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15850         fail configure if __sync_val_compare_and_swap is not inlined.
15851         * sysdeps/i386/configure: Regenerate.
15852         * configure.in: Build for i686 when configured for i386.
15853         * configure: Regenerate.
15854         * README: Remove i386 reference.
15856 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15858         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15859         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15861 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15863         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15864         (lmsnanval): New variables.
15865         (F): Add conversion tests.
15866         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15867         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15869         * stdio-common/tstdiomisc.c (F): Properly collect individual
15870         tests' results.
15872         [BZ #14686, #15336]
15873         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15874         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15875         Instead, use input NaN values or generate a qNaN by arithmetic
15876         operation.  Also fix bugs to comply with the standard.
15877         * math/libm-test.inc (remainder_test): Add more tests.
15879         [BZ #15335, #15342]
15880         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15881         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15882         input NaN values or generate a qNaN by arithmetic operation.
15884         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15885         unreachable code.
15887         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15888         definitions.
15890 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
15892         [BZ #14478]
15893         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15894         underflowed result.
15895         * math/s_cexpf.c (__cexpf): Likewise.
15896         * math/s_cexpl.c (__cexpl): Likewise.
15897         * math/libm-test.inc (cexp_test): Add more tests.
15899 2013-04-03  Andreas Schwab  <schwab@suse.de>
15901         [BZ #15330]
15902         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15903         order arrays from heap if bigger than alloca cutoff.
15905 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
15907         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15908         (SNAN_TESTS_double): Refer to GCC PR56831.
15909         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15910         GCC PR56828.
15912 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15914         * Rules (bench): Move bench.out after the run is complete.
15916         * Rules (bench): Echo currently running benchmark.
15918         * benchtests/Makefile (bench): Add atan and slowatan.
15919         * benchtests/atan-inputs: New file.
15920         * benchtests/slowatan-inputs: New file.
15921         * benchtests/slowatan.c: New file.
15923         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15924         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15925         its value.
15927         [BZ #15305]
15928         * sysdeps/unix/sysv/linux/kernel-features.h
15929         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15930         __ASSUME_XFS_RESTRICTED_CHOWN.
15931         * sysdeps/unix/sysv/linux/pathconf.c
15932         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15933         Save and restore errno.
15935 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
15937         [BZ #15327]
15938         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15939         arguments using __kernel_casinh.
15940         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15941         arguments using __kernel_casinhf.
15942         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15943         arguments using __kernel_casinhl.
15944         * math/libm-test.inc (cacosh_test): Add more tests.
15945         * sysdeps/i386/fpu/libm-test-ulps: Update.
15946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15948 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15950         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15953         * bench/Makefile (bench): Add sin and slowsin.
15954         * benchtests/sin-inputs: New file.
15955         * benchtests/slowsin-inputs: New file.
15956         * benchtests/slowsin.c: New file.
15958         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15959         (bench): Add slowexp and slowpow.
15960         (exp-ITER): Increase iterations.
15961         (pow-ITER): Likewise.
15962         * benchtests/exp-inputs: Change input.
15963         * benchtests/pow-inputs: Likewise.
15964         * benchtests/slowexp-inputs: New file.
15965         * benchtests/slowexp.c: New file.
15966         * benchtests/slowpow-inputs: New file.
15967         * benchtests/slowpow.c: New file.
15969 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15971         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15972         instructions.
15973         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15974         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15975         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15976         * benchtests/Makefile: Add rint benchtest.
15977         * benchtests/rint-inputs: Input for rint benchtest.
15979 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15981         * Versions.def (libm): Add GLIBC_2.18.
15982         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15983         hidden libm prototypes.
15984         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15985         * math/Makefile (libm-calls): Add s_issignaling.
15986         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15987         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
15988         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15989         declaration.
15990         * math/math.h [__USE_GNU] (issignaling): New macro.
15991         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15992         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15993         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15994         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15995         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15996         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15997         * manual/arith.texi (issignaling): New section.
15998         * manual/libm-err-tab.pl (@all_functions): Update comment.
15999         * math/gen-libm-test.pl (parse_args): Apply special handling for
16000         issignaling.
16001         * math/libm-test.inc (print_float, issignaling_test): New
16002         functions.
16003         (check_float_internal): Add issignaling checks.
16004         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16005         default definition.
16006         * sysdeps/powerpc/math-tests.h: New file.
16007         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16008         tests.
16009         * math/test-snan.c (TEST_FUNC): Likewise.
16011 2013-03-30  David S. Miller  <davem@davemloft.net>
16013         * po/de.po: Update from translation team.
16015 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
16017         [BZ #10357]
16018         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16019         imaginary part less than 1.0 and real part less than 0.5
16020         specially.
16021         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16022         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16023         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16024         (cacos_test): Add more tests.
16025         (casin_test): Likewise.
16026         (casinh_test): Likewise.
16027         * sysdeps/i386/fpu/libm-test-ulps: Update.
16028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16030 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16032         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16033         ONE with its value.
16035         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16036         (__pow_mp): Replace ONE and MONE with their values.
16037         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16038         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16039         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16040         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16041         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16042         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16044         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16046         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16047         (__pow_mp): Replace ZERO and MZERO with their values.
16048         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16049         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16050         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16052         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16053         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16054         (__sqr): Likewise.
16056         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16058         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16060 2013-03-28  Roland McGrath  <roland@hack.frob.com>
16062         * include/stdlib.h [!SHARED] (__call_tls_dtors):
16063         Declare with __attribute__ ((weak)).
16064         * stdlib/exit.c (__libc_atexit) [!SHARED]:
16065         Call __call_tls_dtors only if it's not NULL.
16067 2013-03-28  Roland McGrath  <roland@hack.frob.com>
16069         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16070         didn't do it already, then set _dl_phdr and _dl_phnum based on the
16071         magic __ehdr_start linker symbol if it's defined.
16072         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16073         them up here if it was already done.
16075         * elf/dl-support.c (_dl_phdr): Make pointer to const.
16076         (_dl_aux_init): Use const in cast when setting it.
16077         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16078         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16079         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16081         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16082         Declare them here.
16083         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16084         * csu/libc-tls.c: Nor here.
16085         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16087         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16088         (__libc_message): Never call vsyslog.
16090 2013-03-28  Alan Modra  <amodra@gmail.com>
16092         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16093         Define as empty.
16094         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16095         Likewise.
16097 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16099         [BZ #15214]
16100         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16101         underflow.
16102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16104 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16106         [BZ #15304]
16107         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16108         Don't add gid passed as argument.
16110         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16112 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
16114         [BZ #15307]
16115         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16116         imaginary part between 1.0 and 1.5 and real part less than 0.5
16117         specially.
16118         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16119         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16120         * math/libm-test.inc (cacos_test): Add more tests.
16121         (casin_test): Likewise.
16122         (casinh_test): Likewise.
16123         * sysdeps/i386/fpu/libm-test-ulps: Update.
16124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16126 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16128         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16129         constants.
16130         (norm): Likewise.
16131         (denorm): Likewise.
16132         (__dbl_mp): Likewise.
16133         (add_magnitudes): Likewise.
16134         (sub_magnitudes): Likewise.
16135         (__add): Likewise.
16136         (__sub): Likewise.
16137         (__mul): Likewise.
16138         (__sqr): Likewise.
16139         (__inv): Likewise.
16140         (__dvd): Likewise.
16142         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16143         commented code.
16144         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16145         (__dubcos): Likewise.
16146         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16147         (__ieee754_acos): Likewise.
16148         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16149         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16150         (__exp1): Likewise.
16151         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16152         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16153         (log1): Likewise.
16154         (my_log2): Likewise.
16155         (checkint): Likewise.
16156         * sysdeps/ieee754/dbl-64/e_remainder.c
16157         (__ieee754_remainder): Likewise.
16158         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16159         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16160         (bsloww): Likewise.
16161         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16163         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16164         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16165         MANTISSA_STORE_T to store computations on mantissa.  Use
16166         macros for rounding and division.
16167         (denorm): Likewise.
16168         (__dbl_mp): Likewise.
16169         (add_magnitudes): Likewise.
16170         (sub_magnitudes): Likewise.
16171         (__mul): Likewise.
16172         (__sqr): Likewise.
16173         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16174         powers of two in terms of TWOPOW macro.
16175         (mp_no): Make type of mantissa as MANTISSA_T.
16176         [!RADIXI]: Define RADIXI.
16177         [!TWO52]: Define TWO52.
16178         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16180 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16182         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16183         llroundl symbol when building for PPC32.
16185 2013-03-24  Mark H Weaver  <mhw@netris.org>
16187         * manual/arith.texi (Normalization Functions): Fix prototypes for
16188         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16190 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16192         [BZ #13889]
16193         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16194         high value to check if expl overflow.
16195         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16196         to check for underflow and overflow.
16197         * math/libm-test.inc: Add exp test.
16199 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
16201         [BZ #11120]
16202         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16203         with NOT_IN_libc.
16205 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16207         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16208         symbol.
16210 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16212         * math/gen-libm-test.pl (parse_args, special_functions): Properly
16213         wrap blocks consisting of several statements.
16215         * sysdeps/generic/math-tests.h: New file.
16216         * sysdeps/i386/fpu/math-tests.h: Likewise.
16217         * math/test-snan.c: Include it.
16218         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16220 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16222         [BZ #15285]
16223         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16224         (__ieee754_j0l): Do not improve calculations using cos of twice
16225         input for inputs above LDBL_MAX / 2.0L.
16226         (__ieee754_y0l): Likewise.
16227         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16228         (__ieee754_j1l): Do not improve calculations using cos of twice
16229         input for inputs above LDBL_MAX / 2.0L.
16230         (__ieee754_y1l): Likewise.
16231         * math/libm-test.inc (j0_test): Add another test.
16232         (j1_test): Likewise.
16233         (y0_test): Likewise.
16234         (y1_test): Likewise.
16235         * sysdeps/i386/fpu/libm-test-ulps: Update.
16237 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16239         * Rules ($(objpfx)bench-%.c): Include code from a C source
16240         file.
16242 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16244         [BZ #15287]
16245         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16246         imaginary part 1.0 and real part less than 0.5 specially.
16247         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16248         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16249         * math/libm-test.inc (cacos_test): Add more tests.
16250         (casin_test): Likewise.
16251         (casinh_test): Likewise.
16252         * sysdeps/i386/fpu/libm-test-ulps: Update.
16253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16255 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16257         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16258         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16260 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
16262         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16263         * config.make.in (config-cflags-sse4): Remove variable.
16264         (config-cflags-avx): Likewise.
16265         (config-cflags-sse2avx): Likewise.
16266         (config-cflags-novzeroupper): Likewise.
16267         (config-asflags-i686): Likewise.
16268         (have-mfma4): Likewise.
16269         (have-as-vis3): Likewise.
16270         (MIG): Likewise.
16271         * configure.in (MIG): Do not AC_SUBST.
16272         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16273         (libc_cv_cc_sse4): Do not AC_SUBST.
16274         (libc_cv_cc_avx): Likewise.
16275         (libc_cv_cc_sse2avx): Likewise.
16276         (libc_cv_cc_novzeroupper): Likewise.
16277         (libc_cv_cc_fma4): Likewise.
16278         (libc_cv_as_i686): Likewise.
16279         (libc_cv_sparc_as_vis3): Likewise.
16280         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16281         LIBC_CONFIG_VAR.
16282         (config-asflags-i686): Likewise.
16283         (config-cflags-avx): Likewise.
16284         (config-cflags-sse2avx): Likewise.
16285         (have-mfma4): Likewise.
16286         (config-cflags-novzeroupper): Likewise.
16287         * sysdeps/mach/configure.in (MIG): Likewise.
16288         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16289         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16290         LIBC_CONFIG_VAR.
16291         (config-cflags-avx): Likewise.
16292         (config-cflags-sse2avx): Likewise.
16293         (have-mfma4): Likewise.
16294         (config-cflags-novzeroupper): Likewise.
16295         * configure: Regenerated.
16296         * sysdeps/i386/configure: Likewise.
16297         * sysdeps/mach/configure: Likewise.
16298         * sysdeps/sparc/configure: Likewise.
16299         * sysdeps/x86_64/configure: Likewise.
16301 2013-03-20  Roland McGrath  <roland@hack.frob.com>
16303         [BZ #14812]
16304         * locale/programs/localedef.c (options): Put N_ translation marker
16305         on argument names, not just descriptions.
16307 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16309         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16311 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
16313         [BZ #14176]
16314         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16316 2013-03-19  Roland McGrath  <roland@hack.frob.com>
16318         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16319         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16320         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16321         [!BEFORE_ABORT] (before_abort): New function.
16322         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16323         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16324         (writev_for_fatal): New function.
16325         (WRITEV_FOR_FATAL): New macro; call that.
16326         (backtrace_and_maps): New function.
16327         (BEFORE_ABORT): New macro; call that.
16328         (struct str_list): Type removed.
16329         (__libc_message, __libc_fatal): Functions removed.
16330         Include <sysdeps/posix/libc_fatal.c> instead.
16332 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
16334         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16335         constants.
16336         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16337         double constants.
16339 2013-03-19  Andreas Schwab  <schwab@suse.de>
16341         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16342         * sysdeps/gnu/configure: Regenerate.
16344         * configure.in: Substitute libc_cv_rtlddir.
16345         * configure: Regenerate.
16346         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16347         * Makeconfig (rtlddir, inst_rtlddir): New variables.
16348         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16349         * elf/Makefile (install-others, CFLAGS-interp.c)
16350         (ldso_install, common-ldd-rewrite): Likewise.
16351         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16352         $(inst_slibdir)/$(rtld-installed-name).
16353         * scripts/rellns-sh: Add -p option.
16354         * Makerules (make-shlib-link): Use rellns-sh to get relative name
16355         for source.
16357 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16359         * manual/nptl.texi: Renamed to ...
16360         * manual/threads.texi: ... this.
16361         * manual/Makefile (chapters): Update.
16363 2013-03-18  Roland McGrath  <roland@hack.frob.com>
16365         [BZ #14812]
16366         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16367         on argument names, not just descriptions.
16368         * malloc/memusagestat.c (options): Likewise.
16369         * nss/getent.c (options): Likewise.
16371 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
16373         [BZ #14812]
16374         * iconv/iconv_prog.c (options): Put N_ translation marker
16375         on argument names, not just descriptions.
16376         * iconv/iconvconfig.c (options): Likewise.
16378 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
16380         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16381         implementation which is faster on all x86_64 architectures.
16382         Tested on AMD, Intel Nehalem, SNB, IVB.
16383         * sysdeps/x86_64/strnlen.S: Likewise.
16385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16386         Remove all multiarch strlen and strnlen versions.
16387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16388         Remove strlen and strnlen related parts.
16390         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16391         Inline strlen part.
16392         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16394         * sysdeps/x86_64/multiarch/strlen.S: Remove.
16395         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16396         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16397         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16398         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16399         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16401 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
16403         * manual/memory.texi (Malloc Tunable Parameters):
16404         Sort parameters alphabetically. Add comments for missing entries.
16406 2013-03-17  David S. Miller  <davem@davemloft.net>
16408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16410 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
16412         [BZ #15283]
16413         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16414         for arguments at most half maximum finite value.
16415         * math/libm-test.inc (j0_test): Add more tests.
16416         (j1_test): Likewise.
16417         (y0_test): Likewise.
16418         (y1_test): Likewise.
16419         * sysdeps/i386/fpu/libm-test-ulps: Update.
16420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16422         [BZ #14155]
16423         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16424         1 / x and functions P and Q for arguments above 0x1p256L.
16425         (__ieee754_y0l): Likewise.
16426         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16427         (__ieee754_y1l): Likewise.
16428         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16429         (j1_test): Likewise.
16430         (y0_test): Likewise.
16431         (y1_test): Likewise.
16433 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
16435         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16436         variable.
16438 2013-03-15  Roland McGrath  <roland@hack.frob.com>
16440         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16441         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16442         zero since it's initialized to EXEC_PAGESIZE.
16444         * sysdeps/unix/sysv/linux/ldsodefs.h
16445         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16446         * sysdeps/generic/ldsodefs.h: ... here.
16448 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
16450         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16452         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16453         math/test-snan.c.
16454         * math/test-snan.c: Renamed from
16455         sysdeps/powerpc/fpu/test-powerpc-snan.c.
16456         * math/Makefile (tests): Add test-snan.
16457         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16458         test-powerpc-snan.
16460         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16461         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
16462         functions.
16463         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
16464         __builtin_nan family of functions.
16465         * math/libm-test.inc (initialize): Initialize qnan_value with
16466         __builtin_nan family of functions.
16467         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16468         Remove variables.
16469         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16470         Remove functions.
16471         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
16472         storage class.  Initialize qNaN_var and sNaN_var with
16473         __builtin_nan and __builtin_nans families of functions,
16474         respectively.
16476         * math/libm-test.inc (acosh_test): Also test with qNaN input.
16477         (sqrt_test): Remove duplicate test with qNaN input.
16478         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16479         (round_test, signbit_test, significand_test): Note missing +/-Inf
16480         as well as qNaN tests.
16482         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16483         qNaN_var.  Fix a few strings, too.
16484         * math/libm-test.inc (nan_value): Rename to qnan_value.
16485         * math/gen-libm-test.pl (%beautify): Adjust to that.
16486         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16487         * math/test-misc.c (main): Likewise.
16488         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16489         to __qnan_bytes, and __qnan_union, respectively.
16490         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16491         Likewise.
16492         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16493         and lqnanval, respectively.
16494         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16495         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16496         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16497         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16499         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16500         * math/test-misc.c (main) [__x86_64__]: Enable test for long
16501         doubles.
16503         * math/test-misc.c (main): Fix copy'n'pastos.
16504         * misc/tst-efgcvt.c (special): Likewise.
16506         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16507         Remove declarations.
16509 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16511         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16512         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16513         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16514         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16516 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16518         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16519         macro to return vdso values correctly in IFUNC implementations.
16520         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16521         Optimization by using IFUNC.
16523 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16524             Richard Henderson  <rth@redhat.com>
16525             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16527         * Makefile.in (bench): New target.
16528         * NEWS: Mention the benchmark framework.
16529         * Rules (bench): Likewise.
16530         (binaries-bench): Generate binaries for functions to
16531         benchmark.
16532         * benchtests/Makefile: New makefile for benchmark tests.
16533         * benchtests/bench-skeleton.c: New skeleton file for benchmark
16534         programs.
16535         * benchtests/exp-inputs: New input file for EXP function.
16536         * benchtests/pow-inputs: New input file for POW function.
16537         * scripts/bench.pl: New script to generate source files for
16538         benchmark programs.
16540 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16542         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16543         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16544         computations on mantissa.  Use macros for rounding and
16545         division.
16546         (denorm): Likewise.
16547         (__dbl_mp): Likewise.
16548         (add_magnitudes): Likewise.
16549         (sub_magnitudes): Likewise.
16550         (__mul): Likewise.
16551         (__sqr): Likewise.
16552         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16553         powers of two in terms of TWOPOW macro.
16554         (mp_no): Make type of mantissa as MANTISSA_T.
16555         [!RADIXI]: Define RADIXI.
16556         [!TWO52]: Define TWO52.
16557         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16559         * manual/nptl.texi (cindex): Modify threads to pthreads.
16561 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
16563         * sysdeps/x86_64/preconfigure: Regenerated.
16565 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
16567         [BZ #14155]
16568         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16569         0x1p28 and above.
16570         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16571         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16572         0x1p28 and above.
16573         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16574         * math/libm-test.inc (j0_test): Do not allow one spurious
16575         underflow exception.
16576         (y1_test): Likewise.
16578 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16580         * manual/Makefile (chapters): Add nptl.
16581         * manual/debug.texi (Debugging Support): Add link to Threads
16582         chapter.
16583         * manual/nptl.texi: New file.
16585         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16587 2013-03-14  Petr Baudis  <pasky@ucw.cz>
16589         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16590         for non-NULL pointer before the memory validity test. Pointed
16591         out by Holger Brunck <holger.brunck@keymile.com>.
16593 2013-03-13  Andreas Schwab  <schwab@suse.de>
16595         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16596         instead of .os.
16598 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
16600         * timezone/zic.c: Update from tzcode 2013b.
16602 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
16604         * manual/install.texi (Configuring and compiling):
16605         Mention i686 and i586.
16606         * INSTALL: Regenerate.
16608 2013-03-12  Roland McGrath  <roland@hack.frob.com>
16610         * sysdeps/init_array/elf-init.c: New file.
16611         * csu/elf-init.c
16612         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16613         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16615         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16616         __gmon_start__ as global, but as static with a .preinit_array pointer.
16617         * sysdeps/init_array/gmon-start.c: New file.  Use that.
16618         * sysdeps/init_array/crti.S: New file, empty except for comments.
16619         * sysdeps/init_array/crtn.S: Likewise.
16621 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
16623         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16624         definining bcopy.
16625         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16626         Remove Prefer_SSE_for_memop.
16627         * sysdeps/x86_64/multiarch/init-arch.h: Remove
16628         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16629         HAS_PREFER_SSE_FOR_MEMOP.
16630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16631         memset-x86-64.
16632         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16633         Remove bzero, memset ifunc support.
16634         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16635         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16636         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16637         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16639 2013-03-11  Andreas Schwab  <schwab@suse.de>
16641         [BZ #15234]
16642         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16643         by SHLIB_COMPAT.
16644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16645         (GLIBC_2.16): Remove pthread_atfork.
16647 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16649         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16650         (ptestcases.h): Likewise.
16652 2013-03-08  Roland McGrath  <roland@hack.frob.com>
16654         * Makeconfig ($(common-objpfx)config.status): Depend on
16655         sysdeps/*/preconfigure{,.in} too.
16657 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
16659         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16660         (__free_hook): Use void * instead of __malloc_ptr_t.
16661         (__malloc_hook): Likewise.
16662         (__realloc_hook): Likewise.
16663         (__memalign_hook): Likewise.
16664         (__after_morecore_hook): Likewise.
16665         * malloc/arena.c (save_malloc_hook): Likewise.
16666         (save_free_hook): Likewise.
16667         * malloc/hooks.c (malloc_hook_ini): Likewise.
16668         (realloc_hook_ini): Likewise.
16669         (memalign_hook_ini): Likewise.
16670         * malloc/malloc.c (malloc_hook_ini): Likewise.
16671         (realloc_hook_ini): Likewise.
16672         (memalign_hook_ini): Likewise.
16673         (__free_hook): Likewise.
16674         (__malloc_hook): Likewise.
16675         (__realloc_hook): Likewise.
16676         (__memalign_hook): Likewise.
16677         (__libc_malloc): Likewise.
16678         (__libc_free): Likewise.
16679         (__libc_realloc): Likewise.
16680         (__libc_memalign): Likewise.
16681         (__libc_valloc): Likewise.
16682         (__libc_pvalloc): Likewise.
16683         (__libc_calloc): Likewise.
16684         (__posix_memalign): Likewise.
16685         * malloc/morecore.c (__sbrk): Likewise.
16686         (__default_morecore): Likewise.
16688         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16690         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16691         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16692         __malloc_ptrdiff_t.
16694         * malloc/malloc.h (__malloc_size_t): Remove macro.
16695         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16696         __malloc_size_t.
16697         (old_memalign_hook): Likewise.
16698         (old_realloc_hook): Likewise.
16699         (struct hdr): Likewise.
16700         (flood): Likewise.
16701         (mallochook): Likewise.
16702         (memalignhook): Likewise.
16703         (reallochook): Likewise.
16704         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16705         (tr_old_realloc_hook): Likewise.
16706         (tr_old_memalign_hook): Likewise.
16707         (tr_mallochook): Likewise.
16708         (tr_reallochook): Likewise.
16709         (tr_memalignhook): Likewise.
16711 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16713         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16714         default_ldbl_pack and using as default implementation.
16715         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16716         implementation.
16717         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16718         redundant definition.
16719         (ldbl_insert_mantissa): Likewise.
16720         (ldbl_canonicalize): Likewise.
16721         (ldbl_nearbyint): Likewise.
16722         (ldbl_pack): Rename to ldbl_pack_ppc.
16723         (ldbl_unpack): Rename to ldbl_unpack_ppc.
16724         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16725         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16727 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16730         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16731         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16732         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16734         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16735         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16736         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16738 2013-03-07  Andreas Jaeger  <aj@suse.de>
16740         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16741         bits/mman-linux.h.
16743 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16745         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16746         Include mpa.h and declare __MPEXP.
16747         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16748         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16749         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16750         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16751         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16752         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16753         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16755         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16756         (__slowpow): Use long double EXPL and LOGL functions to
16757         compute POW.
16758         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16759         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16760         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16761         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16762         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16763         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16765         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16766         intermediate variable to calculate exponent.
16767         (__sqr): Likewise.
16768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16769         Likewise.
16770         (__sqr): Likewise.
16772         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16773         [!NO__SQR]: Define __sqr.
16774         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16775         and NO__SQR.  Remove all code except __mul and __sqr.  Include
16776         sysdeps/ieee754/dbl-64/mpa.c.
16777         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16779         [BZ #12723]
16780         * posix/Makefile (tests): Add tst-pathconf.
16781         * posix/tst-pathconf.c: New test case.
16782         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16783         _PC_PIPE_BUF.
16784         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16786 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
16788         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16790 2013-03-06  Andreas Jaeger  <aj@suse.de>
16792         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16793         definition via __MAP_ANONYMOUS.
16795         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16796         it's not part of Linux headers.
16798         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16799         (MAP_HUGE_MASK): Define.
16801         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16802         Define.
16803         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16804         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16805         Define.
16806         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16807         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16808         Define.
16809         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16810         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16811         Define.
16812         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16814         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16815         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16816         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16817         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16818         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16819         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16821         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16822         Handle f2fs.
16824         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16825         Handle f2fs and efivarfs.
16827         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16828         f2fs.
16830         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16831         (EFIVARFS_MAGIC): Add.
16832         (F2FS_LINK_MAX): Add.
16834 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16836         * stdio-common/vfprintf.c: Replace __builtin_expect with
16837         __glibc_unlikely.
16839 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
16841         [BZ #13550]
16842         * sysdeps/generic/bp-sym.h: Remove file.
16843         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16844         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16845         <bp-sym.h> and <bp-asm.h>.
16846         (__longjmp): Don't use BP_SYM.
16847         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16848         and <bp-asm.h>.
16849         (memcpy): Don't use BP_SYM.
16850         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16851         <bp-sym.h> and <bp-asm.h>.
16852         (memcpy): Don't use BP_SYM.
16853         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16854         <bp-asm.h>.
16855         (memcpy): Don't use BP_SYM.
16856         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16857         <bp-asm.h>.
16858         (memset): Don't use BP_SYM.
16859         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16860         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16861         (__bzero): Don't use BP_SYM.
16862         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16863         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16864         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16865         <bp-sym.h> and <bp-asm.h>.
16866         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16867         pointers.
16868         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16869         <bp-sym.h> and <bp-asm.h>.
16870         (memcpy): Don't use BP_SYM.
16871         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16872         <bp-sym.h> and <bp-asm.h>.
16873         (memset): Don't use BP_SYM.
16874         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16875         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16876         (__bzero): Don't use BP_SYM.
16877         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16878         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16879         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16880         <bp-sym.h> and <bp-asm.h>.
16881         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16882         pointers.
16883         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16884         <bp-sym.h> and <bp-asm.h>.
16885         (memcpy): Don't use BP_SYM.
16886         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16887         <bp-sym.h> and <bp-asm.h>.
16888         (memset): Don't use BP_SYM.
16889         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16890         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16891         (__bzero): Don't use BP_SYM.
16892         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16893         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16894         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16895         <bp-sym.h> and <bp-asm.h>.
16896         (__memchr): Don't use BP_SYM.
16897         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16898         <bp-sym.h> and <bp-asm.h>.
16899         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16900         pointers.
16901         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16902         <bp-sym.h> and <bp-asm.h>.
16903         (memcpy): Don't use BP_SYM.
16904         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16905         <bp-sym.h> and <bp-asm.h>.
16906         (__mempcpy): Don't use BP_SYM.
16907         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16908         <bp-sym.h> and <bp-asm.h>.
16909         (__memrchr): Don't use BP_SYM.
16910         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16911         <bp-sym.h> and <bp-asm.h>.
16912         (memset): Don't use BP_SYM.
16913         (__bzero): Likewise.
16914         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16915         <bp-sym.h> and <bp-asm.h>.
16916         (__rawmemchr): Don't use BP_SYM.
16917         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16918         <bp-sym.h> and <bp-asm.h>.
16919         (__STRCMP): Don't use BP_SYM.
16920         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16921         <bp-sym.h> and <bp-asm.h>.
16922         (strchr): Don't use BP_SYM.
16923         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16924         <bp-sym.h> and <bp-asm.h>.
16925         (__strchrnul): Don't use BP_SYM.
16926         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16927         <bp-sym.h> and <bp-asm.h>.
16928         (strlen): Don't use BP_SYM.
16929         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16930         <bp-sym.h> and <bp-asm.h>.
16931         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16932         pointers.
16933         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16934         <bp-sym.h> and <bp-asm.h>.
16935         (__strnlen): Don't use BP_SYM.
16936         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16937         <bp-sym.h> and <bp-asm.h>.
16938         (__GI__setjmp): Don't use BP_SYM.
16939         (_setjmp): Likewise.
16940         (__sigsetjmp): Likewise.
16941         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16942         (L(start_addresses)): Don't use BP_SYM.
16943         (_start): Likewise.
16944         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16945         <bp-asm.h>.
16946         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16947         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16948         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16949         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16950         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16951         <bp-asm.h>.
16952         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16953         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
16954         about bounded pointers.
16955         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16956         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16957         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16958         <bp-asm.h>.
16959         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16960         about bounded pointers.  Remove GKM FIXME comments.
16961         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16962         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16963         <bp-asm.h>.
16964         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16965         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
16966         Remove GKM FIXME comments.
16967         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16968         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16969         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16970         <bp-asm.h>.
16971         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16972         about bounded pointers.  Remove GKM FIXME comment.
16973         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16974         and <bp-asm.h>.
16975         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16976         pointers.
16977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16978         <bp-sym.h> and <bp-asm.h>.
16979         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16981         <bp-sym.h> and <bp-asm.h>.
16982         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16983         comment.
16985 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16987         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16988         call free(NULL).
16990 2013-03-05  David S. Miller  <davem@davemloft.net>
16992         * po/es.po: Update from translation team.
16994 2013-03-05  Andreas Jaeger  <aj@suse.de>
16996         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16997         <bits/mman-linux.h>.
16998         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16999         is fine.
17000         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17001         <bits/mman-linux.h> to end of file.
17002         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17003         is fine.
17004         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17005         <bits/mman-linux.h> to end of file.
17006         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17007         is fine.
17008         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17009         <bits/mman-linux.h> to end of file.
17011         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17012         (MCL_CURRENT, MCL_FUTURE): Define here.
17014 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17016         [BZ #15232]
17017         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17018         attribute_hidden.
17019         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17021 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17023         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17024         fourth parameter needed for rt_sigprocmask syscall.
17025         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17026         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17027         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17028         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17029         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17030         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17032 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
17034         [BZ #13550]
17035         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17036         comment about bounded pointers.
17037         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17038         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17040 2013-03-04  Andreas Jaeger  <aj@suse.de>
17042         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17043         common definitions.
17045         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17046         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17047         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17048         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17049         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17050         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17052 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17054         [BZ #15055]
17055         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17056         __ieee754_sqrl instead of __sqrl.
17058 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
17060         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17061         * sysdeps/powerpc/fpu_control.h: ... here.
17062         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17063         * sysdeps/powerpc/bits/fenvinline.h: ... here.
17064         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17065         * sysdeps/powerpc/bits/mathinline.h: ... here.
17067 2013-03-01  Roland McGrath  <roland@hack.frob.com>
17069         * elf/dl-hwcaps.c (_dl_important_hwcaps):
17070         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17071         to just [NEED_DL_SYSINFO_DSO].
17072         * elf/dl-support.c: Likewise.
17073         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17074         * elf/rtld.c (dl_main): Likewise.
17075         * elf/setup-vdso.h (setup_vdso): Likewise.
17076         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17077         * sysdeps/unix/sysv/linux/dl-sysdep.c
17078         (_dl_discover_osversion): Likewise.
17080 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
17082         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17083         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17085 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17087         * NEWS: Mention libm performance improvements and non-x86 PI
17088         futex support.
17090         * csu/libc-start.c (__pthread_initialize_minimal): Change
17091         function arguments.
17092         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17094 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
17096         [BZ #13550]
17097         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17098         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17099         <bp-sym.h> and <bp-asm.h>.
17100         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17101         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17102         and <bp-asm.h>.
17103         (memcpy): Don't use BP_SYM.
17104         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17105         <bp-asm.h>.
17106         (__mpn_add_n): Don't use BP_SYM.
17107         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17108         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17109         and <bp-asm.h>.
17110         (__mpn_addmul_1): Don't use BP_SYM.
17111         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17112         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17113         <bp-sym.h>.
17114         (_setjmp): Don't use BP_SYM.
17115         (__novmx_setjmp): Likewise.
17116         (__GI__setjmp): Likewise.
17117         (__vmx_setjmp): Likewise.
17118         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17119         <bp-sym.h>.
17120         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17121         (__bzero): Don't use BP_SYM.
17122         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17123         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17124         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17125         <bp-sym.h> and <bp-asm.h>.
17126         (memcpy): Don't use BP_SYM.
17127         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17128         <bp-sym.h> and <bp-asm.h>.
17129         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17130         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17131         <bp-sym.h> and <bp-asm.h>.
17132         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17133         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17134         <bp-asm.h>.
17135         (__mpn_lshift): Don't use BP_SYM.
17136         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17137         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17138         <bp-asm.h>.
17139         (memset): Don't use BP_SYM.
17140         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17141         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17142         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17143         <bp-asm.h>.
17144         (__mpn_mul_1): Don't use BP_SYM.
17145         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17146         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17147         <bp-sym.h> and <bp-asm.h>.
17148         (memcmp): Don't use BP_SYM.
17149         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17150         <bp-sym.h> and <bp-asm.h>.
17151         (memcpy): Don't use BP_SYM.
17152         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17153         <bp-sym.h> and <bp-asm.h>.
17154         (memset): Don't use BP_SYM.
17155         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17156         <bp-sym.h> and <bp-asm.h>.
17157         (strncmp): Don't use BP_SYM.
17158         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17159         <bp-sym.h> and <bp-asm.h>.
17160         (memcpy): Don't use BP_SYM.
17161         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17162         <bp-sym.h> and <bp-asm.h>.
17163         (memset): Don't use BP_SYM.
17164         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17165         <bp-sym.h> and <bp-asm.h>.
17166         (__memchr): Don't use BP_SYM.
17167         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17168         <bp-sym.h> and <bp-asm.h>.
17169         (memcmp): Don't use BP_SYM.
17170         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17171         <bp-sym.h> and <bp-asm.h>.
17172         (memcpy): Don't use BP_SYM.
17173         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17174         <bp-sym.h> and <bp-asm.h>.
17175         (__mempcpy): Don't use BP_SYM.
17176         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17177         <bp-sym.h> and <bp-asm.h>.
17178         (__memrchr): Don't use BP_SYM.
17179         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17180         <bp-sym.h> and <bp-asm.h>.
17181         (memset): Don't use BP_SYM.
17182         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17183         <bp-sym.h> and <bp-asm.h>.
17184         (__rawmemchr): Don't use BP_SYM.
17185         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17186         <bp-sym.h> and <bp-asm.h>.
17187         (__STRCMP): Don't use BP_SYM.
17188         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17189         <bp-sym.h> and <bp-asm.h>.
17190         (strchr): Don't use BP_SYM.
17191         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17192         <bp-sym.h> and <bp-asm.h>.
17193         (__strchrnul): Don't use BP_SYM.
17194         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17195         <bp-sym.h> and <bp-asm.h>.
17196         (strlen): Don't use BP_SYM.
17197         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17198         <bp-sym.h> and <bp-asm.h>.
17199         (strncmp): Don't use BP_SYM.
17200         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17201         <bp-sym.h> and <bp-asm.h>.
17202         (__strnlen): Don't use BP_SYM.
17203         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17204         <bp-asm.h>.
17205         (__mpn_rshift): Don't use BP_SYM.
17206         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17207         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17208         <bp-sym.h> and <bp-asm.h>.
17209         (__sigsetjmp): Don't use BP_SYM.
17210         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17211         (L(start_addresses)): Don't use BP_SYM.
17212         (_start): Likewise.
17213         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17214         <bp-asm.h>.
17215         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17216         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17217         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17218         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17219         <bp-asm.h>.
17220         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17221         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17222         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17223         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17224         <bp-asm.h>.
17225         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17226         comments.
17227         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17228         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17229         <bp-asm.h>.
17230         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
17231         FIXME comments.
17232         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17233         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17234         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17235         <bp-asm.h>.
17236         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17237         comment.
17238         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17239         and <bp-asm.h>.
17240         (strncmp): Don't use BP_SYM,
17241         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17242         <bp-asm.h>.
17243         (__mpn_sub_n): Don't use BP_SYM.
17244         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17245         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17246         and <bp-asm.h>.
17247         (__mpn_submul_1): Don't use BP_SYM.
17248         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17250         <bp-sym.h> and <bp-asm.h>.
17251         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17253         <bp-sym.h> and <bp-asm.h>.
17254         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
17255         comment.
17257 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17260         Use ZK to minimize writes to Z.
17261         (sub_magnitudes): Simplify code a bit.
17262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17263         Use ZK to minimize writes to Z.
17264         (sub_magnitudes): Simplify code a bit.
17266 2013-02-27  Roland McGrath  <roland@hack.frob.com>
17268         * csu/gmon-start.c: Add special exception to license text.
17270 2013-02-27  Richard Henderson  <rth@redhat.com>
17272         * scripts/config.guess: Update from config.git.
17273         * scripts/config.sub: Likewise.
17275 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17277         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17279         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17281         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17283         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17285         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17287 2013-02-26  Roland McGrath  <roland@hack.frob.com>
17289         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17290         [$(build-shared = yes].
17292 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17294         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17295         (__mul): Reduce iterations for calculating mantissa.
17297         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17298         MPTWO.
17299         (__mpranred): Likewise.
17301         [BZ #15160]
17302         * malloc/memusagestat.c (main): Draw graphs for heap and stack
17303         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17305 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
17307         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17308         Define __attribute__.
17310 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17312         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17313         unused.
17314         * posix/regex_internal.h (__attribute): Remove.
17315         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17316         (re_string_context_at): Likewise.
17317         (bitset_not): Use __attribute__ and mark function as possibly
17318         unused.
17319         (bitset_merge): Likewise.
17320         (bitset_mask): Likewise.
17321         (re_string_char_size_at): Likewise.
17322         (re_string_wchar_at): Likewise.
17323         (re_string_elem_size_at): Likewise.
17325 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17327         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17328         code.
17329         (cc32): Likewise.
17331         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17332         (__acr): Likewise.
17333         (__cpy): Likewise.
17334         (norm): Likewise.
17335         (denorm): Likewise.
17336         (__dbl_mp): Likewise.
17337         (add_magnitudes): Likewise.
17338         (sub_magnitudes): Likewise.
17339         (__mul): Likewise.
17340         (__inv): Likewise.
17342         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17343         style.
17345         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17346         style.
17348         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17349         code.
17351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17352         up changes with default code.
17353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17354         Likewise.
17356 2013-02-24  Allan McRae  <allan@archlinux.org>
17358         * manual/socket.texi (The Internet Namespace): Order menu items
17359         to match that in the file.
17361         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17362         node listing of the info page menu.
17364 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
17366         [BZ #13550]
17367         * sysdeps/i386/bp-asm.h: Remove file.
17368         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17369         (PARMS): Do not use macros from bp-asm.h.
17370         (S1): Likewise.
17371         (S2): Likewise.
17372         (SIZE): Likewise.
17373         (__mpn_add_n): Do not use BP_SYM
17374         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17375         "bp-asm.h".
17376         (PARMS): Do not use macros from bp-asm.h.
17377         (S1): Likewise.
17378         (SIZE): Likewise.
17379         (__mpn_addmul_1): Do not use BP_SYM
17380         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17381         "bp-asm.h".
17382         (PARMS): Do not use macros from bp-asm.h.
17383         (SIGMSK): Likewise.
17384         (_setjmp): Likewise.  Do not use BP_SYM.
17385         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17386         "bp-asm.h".
17387         (PARMS): Do not use macros from bp-asm.h.
17388         (SIGMSK): Likewise.
17389         (setjmp): Likewise.  Do not use BP_SYM.
17390         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17391         "bp-asm.h".
17392         (PARMS): Do not use macros from bp-asm.h.
17393         (__frexp): Do not use BP_SYM.
17394         (frexp): Likewise.
17395         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17396         "bp-asm.h".
17397         (PARMS): Do not use macros from bp-asm.h.
17398         (__frexpf): Do not use BP_SYM.
17399         (frexpf): Likewise.
17400         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17401         "bp-asm.h".
17402         (PARMS): Do not use macros from bp-asm.h.
17403         (__frexpl): Do not use BP_SYM.
17404         (frexpl): Likewise.
17405         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17406         "bp-asm.h".
17407         (PARMS): Do not use macros from bp-asm.h.
17408         (__remquo): Do not use BP_SYM.
17409         (remquo): Likewise.
17410         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17411         "bp-asm.h".
17412         (PARMS): Do not use macros from bp-asm.h.
17413         (__remquof): Do not use BP_SYM.
17414         (remquof): Likewise.
17415         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17416         "bp-asm.h".
17417         (PARMS): Do not use macros from bp-asm.h.
17418         (__remquol): Do not use BP_SYM.
17419         (remquol): Likewise.
17420         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17421         "bp-asm.h".
17422         (PARMS): Do not use macros from bp-asm.h.
17423         (DEST): Likewise.
17424         (SRC): Likewise.
17425         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
17426         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17427         "bp-asm.h".
17428         (PARMS): Do not use macros from bp-asm.h.
17429         (strlen): Do not use BP_SYM.
17430         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17431         "bp-asm.h".
17432         (PARMS): Do not use macros from bp-asm.h.
17433         (S1): Likewise.
17434         (S2): Likewise.
17435         (SIZE): Likewise.
17436         (__mpn_add_n): Do not use BP_SYM.
17437         * sysdeps/i386/i586/addmul_1.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         (SIZE): Likewise.
17442         (__mpn_addmul_1): Do not use BP_SYM.
17443         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17444         weak_alias.
17445         (bzero): Likewise.
17446         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17447         "bp-asm.h".
17448         (PARMS): Do not use macros from bp-asm.h.
17449         (S): Likewise.
17450         (SIZE): Likewise.
17451         (__mpn_lshift): Do not use BP_SYM.
17452         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17453         "bp-asm.h".
17454         (PARMS): Do not use macros from bp-asm.h.
17455         (DEST): Likewise.
17456         (SRC): Likewise.
17457         (LEN): Likewise.
17458         (memcpy): Likewise.  Do not use BP_SYM.
17459         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17460         libc_hidden_def and weak_alias.
17461         (mempcpy): Do not use BP_SYM in weak_alias.
17462         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17463         "bp-asm.h".
17464         (PARMS): Do not use macros from bp-asm.h.
17465         (DEST): Likewise.
17466         (LEN): Likewise.
17467         [!BZERO_P] (CHR): Likewise.
17468         (memset): Likewise.  Do not use BP_SYM.
17469         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17470         "bp-asm.h".
17471         (PARMS): Do not use macros from bp-asm.h.
17472         (S1): Likewise.
17473         (SIZE): Likewise.
17474         (__mpn_mul_1): Do not use BP_SYM.
17475         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17476         "bp-asm.h".
17477         (PARMS): Do not use macros from bp-asm.h.
17478         (S): Likewise.
17479         (SIZE): Likewise.
17480         (__mpn_rshift): Do not use BP_SYM.
17481         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17482         "bp-asm.h".
17483         (PARMS): Do not use macros from bp-asm.h.
17484         (STR): Likewise.
17485         (CHR): Likewise.
17486         (strchr): Likewise.  Do not use BP_SYM.
17487         (index): Do not use BP_SYM in weak_alias.
17488         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17489         "bp-asm.h".
17490         (PARMS): Do not use macros from bp-asm.h.
17491         (DEST): Likewise.
17492         (SRC): Likewise.
17493         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
17494         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17495         "bp-asm.h".
17496         (PARMS): Do not use macros from bp-asm.h.
17497         (strlen): Do not use BP_SYM.
17498         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17499         "bp-asm.h".
17500         (PARMS): Do not use macros from bp-asm.h.
17501         (S1): Likewise.
17502         (S2): Likewise.
17503         (SIZE): Likewise.
17504         (__mpn_sub_n): Do not use BP_SYM.
17505         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17506         "bp-asm.h".
17507         (PARMS): Do not use macros from bp-asm.h.
17508         (S1): Likewise.
17509         (SIZE): Likewise.
17510         (__mpn_submul_1): Do not use BP_SYM.
17511         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17512         "bp-asm.h".
17513         (PARMS): Do not use macros from bp-asm.h.
17514         (S1): Likewise.
17515         (S2): Likewise.
17516         (SIZE): Likewise.
17517         (__mpn_add_n): Do not use BP_SYM.
17518         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17519         weak_alias.
17520         (bzero): Likewise.
17521         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17522         "bp-asm.h".
17523         (PARMS): Do not use macros from bp-asm.h.
17524         (BLK2): Likewise.
17525         (LEN): Likewise.
17526         (memcmp): Do not use BP_SYM.
17527         (bcmp): Do not use BP_SYM in weak_alias.
17528         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17529         "bp-asm.h".
17530         (PARMS): Do not use macros from bp-asm.h.
17531         (DEST): Likewise.
17532         (SRC): Likewise.
17533         (LEN): Likewise.
17534         (memcpy): Likewise.  Do not use BP_SYM.
17535         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17536         "bp-asm.h".
17537         (PARMS): Do not use macros from bp-asm.h.
17538         (DEST): Likewise.
17539         (SRC): Likewise.
17540         (LEN): Likewise.
17541         (memmove): Likewise.  Do not use BP_SYM.
17542         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17543         "bp-asm.h".
17544         (PARMS): Do not use macros from bp-asm.h.
17545         (DEST): Likewise.
17546         (SRC): Likewise.
17547         (LEN): Likewise.
17548         (__mempcpy): Likewise.  Do not use BP_SYM.
17549         (mempcpy): Do not use BP_SYM in weak_alias.
17550         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17551         "bp-asm.h".
17552         (PARMS): Do not use macros from bp-asm.h.
17553         (DEST): Likewise.
17554         (LEN): Likewise.
17555         [!BZERO_P] (CHR): Likewise.
17556         (memset): Likewise.  Do not use BP_SYM.
17557         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17558         "bp-asm.h".
17559         (PARMS): Do not use macros from bp-asm.h.
17560         (STR2): Likewise.
17561         (strcmp): Do not use BP_SYM.
17562         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17563         "bp-asm.h".
17564         (PARMS): Do not use macros from bp-asm.h.
17565         (STR): Likewise.
17566         (DELIM): Likewise.
17567         [USE_AS_STRTOK_R] (SAVE): Likewise.
17568         (FUNCTION): Likewise.  Do not use BP_SYM.
17569         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17570         aliases.
17571         (strtok_r): Likewise.
17572         (__GI___strtok_r): Likewise.
17573         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17574         (PARMS): Do not use macros from bp-asm.h.
17575         (S): Likewise.
17576         (SIZE): Likewise.
17577         (__mpn_lshift): Do not use BP_SYM.
17578         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17579         (PARMS): Do not use macros from bp-asm.h.
17580         (STR): Likewise.
17581         (CHR): Likewise.
17582         (__memchr): Do not use BP_SYM.
17583         (memchr): Do not use BP_SYM in weak_alias.
17584         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17585         (PARMS): Do not use macros from bp-asm.h.
17586         (BLK2): Likewise.
17587         (LEN): Likewise.
17588         (memcmp): Do not use BP_SYM.
17589         (bcmp): Do not use BP_SYM in weak_alias.
17590         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17591         (PARMS): Do not use macros from bp-asm.h.
17592         (S1): Likewise.
17593         (SIZE): Likewise.
17594         (__mpn_mul_1): Do not use BP_SYM.
17595         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17596         "bp-asm.h".
17597         (PARMS): Do not use macros from bp-asm.h.
17598         (STR): Likewise.
17599         (CHR): Likewise.
17600         (__rawmemchr): Do not use BP_SYM.
17601         (rawmemchr): Do not use BP_SYM in weak_alias.
17602         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17603         (PARMS): Do not use macros from bp-asm.h.
17604         (S): Likewise.
17605         (SIZE): Likewise.
17606         (__mpn_rshift): Do not use BP_SYM.
17607         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17608         (PARMS): Do not use macros from bp-asm.h.
17609         (SIGMSK): Likewise.
17610         (__sigsetjmp): Likewise.  Do not use BP_SYM.
17611         * sysdeps/i386/start.S: Do not include "bp-sym.h".
17612         (_start): Do not use BP_SYM.
17613         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17614         (PARMS): Do not use macros from bp-asm.h.
17615         (DEST): Likewise.
17616         (SRC): Likewise.
17617         (__stpcpy): Likewise.  Do not use BP_SYM.
17618         (stpcpy): Do not use BP_SYM in weak_alias.
17619         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17620         "bp-asm.h".
17621         (PARMS): Do not use macros from bp-asm.h.
17622         (DEST): Likewise.
17623         (SRC): Likewise.
17624         (LEN): Likewise.
17625         (__stpncpy): Likewise.  Do not use BP_SYM.
17626         (stpncpy): Do not use BP_SYM in weak_alias.
17627         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17628         (PARMS): Do not use macros from bp-asm.h.
17629         (STR): Likewise.
17630         (CHR): Likewise.
17631         (strchr): Likewise.  Do not use BP_SYM.
17632         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17633         "bp-asm.h".
17634         (PARMS): Do not use macros from bp-asm.h.
17635         (STR): Likewise.
17636         (CHR): Likewise.
17637         (__strchrnul): Likewise.  Do not use BP_SYM.
17638         (strchrnul): Do not use BP_SYM in weak_alias.
17639         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17640         "bp-asm.h".
17641         (PARMS): Do not use macros from bp-asm.h.
17642         (STOP): Likewise.
17643         (strcspn): Do not use BP_SYM.
17644         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17645         "bp-asm.h".
17646         (PARMS): Do not use macros from bp-asm.h.
17647         (STR): Likewise.
17648         (STOP): Likewise.
17649         (strpbrk): Likewise.  Do not use BP_SYM.
17650         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17651         "bp-asm.h".
17652         (PARMS): Do not use macros from bp-asm.h.
17653         (STR): Likewise.
17654         (CHR): Likewise.
17655         (strrchr): Likewise.  Do not use BP_SYM.
17656         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17657         (PARMS): Do not use macros from bp-asm.h.
17658         (SKIP): Likewise.
17659         (strspn): Do not use BP_SYM.
17660         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17661         (PARMS): Do not use macros from bp-asm.h.
17662         (STR): Likewise.
17663         (DELIM): Likewise.
17664         (SAVE): Likewise.
17665         (FUNCTION): Likewise.  Do not use BP_SYM.
17666         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17667         aliases.
17668         (strtok_r): Likewise.
17669         (__GI___strtok_r): Likewise.
17670         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17671         (PARMS): Do not use macros from bp-asm.h.
17672         (S1): Likewise.
17673         (S2): Likewise.
17674         (SIZE): Likewise.
17675         (__mpn_sub_n): Do not use BP_SYM.
17676         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17677         "bp-asm.h".
17678         (PARMS): Do not use macros from bp-asm.h.
17679         (S1): Likewise.
17680         (SIZE): Likewise.
17681         (__mpn_submul_1): Do not use BP_SYM.
17682         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17683         <bp-sym.h>.
17684         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17685         and <bp-asm.h>.
17686         (PARMS): Do not use macros from bp-asm.h.
17687         (FLAGS): Likewise.
17688         (PTID): Likewise.
17689         (TLS): Likewise.
17690         (CTID): Likewise.
17691         (__clone): Do not use BP_SYM.
17692         (clone): Do not use BP_SYM in weak_alias.
17693         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17694         and <bp-asm.h>.
17695         (PARMS): Do not use macros from bp-asm.h.
17696         (LEN): Likewise.
17697         (__mmap64): Do not use BP_SYM.
17698         (mmap64): Do not use BP_SYM in weak_alias.
17699         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17700         <bp-sym.h> and <bp-asm.h>.
17701         (PARMS): Do not use macros from bp-asm.h.
17702         (__posix_fadvise64_l64): Do not use BP_SYM.
17703         * sysdeps/unix/sysv/linux/i386/semtimedop.S
17704         (PARMS): Do not use macros from bp-asm.h.
17705         (NSOPS): Likewise.
17706         (semtimedop): Do not use BP_SYM.
17707         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17708         and <bp-asm.h>.
17710 2013-02-21  Allan McRae  <allan@archlinux.org>
17712         * manual/message.texi (Charset conversion in gettext):
17713         Move @end statement to beginning of line.
17715 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17718         static.
17719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17720         Likewise.
17722         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17723         (denorm): Likewise.
17724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17725         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17727 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17729         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17730         tail-call to the resolved function if pltexit isn't needed.
17732 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17735         or Y being zero as being unlikely.
17736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17737         Likewise.
17739 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
17741         * manual/nss.texi (System Databases and Name Service Switch):
17742         Remove frobnicate @pxref.
17744 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17746         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17747         __attribute__ ((unused)) to __attribute__ ((__unused__)).
17749 2013-02-20  Petr Machata  <pmachata@redhat.com>
17751         * elf/elf.h (R_ARM_TARGET1): New macro.
17752         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17753         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17754         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17755         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17756         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17757         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17758         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17759         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17760         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17761         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17762         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17763         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17764         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17765         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17766         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17767         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17768         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17769         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17770         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17771         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17772         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17773         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17774         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17775         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17776         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17777         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17778         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17779         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17780         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17781         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17782         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17783         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17784         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17785         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17786         (R_ARM_THM_GOT_BREL12): Likewise.
17787         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17788         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17789         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17790         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17791         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17792         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17793         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17794         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17795         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17797 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17799         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17800         __attribute_used__ to __attribute__ ((unused)).
17802 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17804         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17805         powerpc mpa.c.
17806         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17807         comment formatting.
17808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17810 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
17812         [BZ #13550]
17813         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17814         Remove macro.
17815         (ENTER): Remove both macro definitions.
17816         (LEAVE): Likewise.
17817         (CHECK_BOUNDS_LOW): Likewise.
17818         (CHECK_BOUNDS_HIGH): Likewise.
17819         (CHECK_BOUNDS_BOTH): Likewise.
17820         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17821         (RETURN_BOUNDED_POINTER): Likewise.
17822         (RETURN_NULL_BOUNDED_POINTER): Likewise.
17823         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17824         (POP_ERRNO_LOCATION_RETURN): Likewise.
17825         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17826         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17827         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17828         macros.
17829         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17830         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17831         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17832         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17833         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17834         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17835         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17836         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17837         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17838         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17839         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17840         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17841         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17842         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17843         removed macros.
17844         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17845         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17846         macros.
17847         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17848         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17849         * sysdeps/i386/i586/memset.S (memset): Likewise.
17850         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17851         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17852         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17853         macros.
17854         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17855         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17856         Change uses of L(2) to L(out).
17857         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17858         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17859         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17860         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17861         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17862         removed macros.
17863         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17864         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17865         macros.
17866         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17867         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17868         (RETURN): Do not use macro LEAVE.
17869         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17870         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17871         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17872         * sysdeps/i386/i686/memset.S (memset): Likewise.
17873         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17874         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17875         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17876         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17877         Likewise.
17878         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17879         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
17880         L(1_2) and L(1_3) into L(1).
17881         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17882         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17883         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17884         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17885         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17886         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17887         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17888         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17889         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17890         macros.
17891         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17892         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17893         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17894         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17895         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17896         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17897         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17898         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17899         * sysdeps/i386/strcspn.S (strcspn): Likewise.
17900         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17901         * sysdeps/i386/strrchr.S (strrchr): Likewise.
17902         * sysdeps/i386/strspn.S (strspn): Likewise.
17903         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17904         conditional code.
17905         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17906         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17907         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17908         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
17909         L(1_3) into L(1_1).
17910         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17911         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17912         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17913         macros.
17914         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17916 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
17918         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17919         macro.
17921 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17923         * math/atest-exp.c (exp_mpn): Remove ROUND.
17924         * math/atest-exp2.c (exp_mpn): Likewise.
17925         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17927         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17928         * stdlib/tst-tls-atexit-lib.c: Likewise.
17929         * stdlib/tst-tls-atexit.c: Likewise.
17931 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17933         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17934         and __attribute_alloc_size__.
17936 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17938         * include/programs/xmalloc.h: Change __attribute_alloc_size to
17939         __attribute_alloc_size__.
17940         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17941         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17943 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17945         * include/programs/xmalloc.h: New file.
17946         * catgets/gencat.c: Include it.
17947         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17948         * elf/pldd.c: Likewise.
17949         * iconv/iconv_charmap.c: Likewise.
17950         * iconv/iconvconfig.c: Likewise.
17951         * iconv/strtab.c: Likewise.
17952         * locale/programs/locale.c: Likewise.
17953         * locale/programs/localedef.h: Likewise.
17954         * locale/programs/simple-hash.c: Likewise.
17955         * nscd/nscd.h: Likewise.
17956         * nss/makedb.c: Likewise.
17957         * sysdeps/generic/ldconfig.h: Likewise.
17959 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17961         * Versions.def: Add GLIBC_2.18.
17962         * include/link.h (struct link_map): New member l_tls_dtor_count.
17963         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17964         (__call_tls_dtors): Likewise.
17965         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17966         __cxa_thread_atexit_impl.
17967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17968         Likewise.
17969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17970         Likewise.
17971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17972         Likewise.
17973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17974         Likewise.
17975         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17977         Likewise.
17978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17979         Likewise.
17980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17982         Likewise.
17983         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17984         (tests): Add test case tst-tls-atexit.
17985         (modules-names): Add shared library for tst-tls-atexit.
17986         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17987         (GLIBC_PRIVATE): Add __call_tls_dtors.
17988         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17989         for libstdc++.
17990         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17991         * stdlib/tst-tls-atexit.c: New test case.
17992         * stdlib/tst-tls-atexit-lib.c: New test case.
17994         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17996         * elf/Versions (ld): Add _dl_find_dso_for_object.
17997         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17998         * elf/dl-open.c (_dl_find_dso_for_object): New function.
17999         (dl_open_worker): Use _dl_find_dso_for_object.
18000         * elf/dl-sym.c (do_sym): Likewise.
18001         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18003 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18005         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18006         Syntactic changes only.
18007         (_dl_runtime_profile): Do a tail-call to the resolved function.
18009 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
18011         [BZ #13550]
18012         * sysdeps/x86_64/bp-asm.h: Remove file.
18013         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18014         <bp-sym.h> and <bp-asm.h>.
18015         (__clone): Do not use BP_SYM.
18016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18017         <bp-sym.h> and <bp-asm.h>.
18018         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18019         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18020         "bp-asm.h".
18021         (_setjmp): Do not use BP_SYM.
18022         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18023         "bp-asm.h".
18024         (setjmp): Do not use BP_SYM.
18025         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18026         libc_hidden_def.
18027         (mempcpy): Do not use BP_SYM in weak_alias.
18028         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18029         "bp-asm.h".
18030         (strchr): Do not use BP_SYM.
18031         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18032         "bp-asm.h".
18033         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18034         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18035         (_start): Do not use BP_SYM.
18036         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18037         "bp-asm.h".
18038         (strcat): Do not use BP_SYM.
18039         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18040         "bp-asm.h".
18041         (STRCMP): Do not use BP_SYM.
18042         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18043         "bp-asm.h".
18044         (STRCPY): Do not use BP_SYM.
18045         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18046         "bp-asm.h".
18047         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18048         "bp-asm.h".
18049         (FUNCTION): Do not use BP_SYM.
18050         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18051         weak_alias.
18052         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18054 2013-02-17  Andreas Jaeger  <aj@suse.de>
18056         * time/Versions: Sort entries.
18057         * string/Versions: Likewise.
18058         * resolv/Versions: Likewise.
18059         * posix/Versions: Likewise.
18060         * iconv/Versions: Likewise.
18061         * elf/Versions: Likewise.
18062         * wcsmbs/Versions: Likewise.
18064 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18066         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18067         loop termination condition.
18069         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18070         variable to calculate EZ.
18071         (__sqr): Likewise.
18073         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18074         the lower precision input.
18076 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
18078         [BZ #13550]
18079         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18080         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18081         (run-via-rtld-prefix): Do not handle %-bp tests.
18082         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18083         (all-object-suffixes): Remove .ob.
18084         (bppfx): Remove variable.
18085         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18086         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18087         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18088         [$(build-bounded) = yes] (libtype.ob): Likewise.
18089         * Makerules (elide-routines.ob): Remove variable.
18090         (do-tests-clean): Do not handle *-bp.out.
18091         (common-mostlyclean): Do not handle *-bp and *-bp.out.
18092         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18093         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18094         (tests): Do not include $(tests-bp.out).
18095         (xtests): Do not include $(xtests-bp.out).
18096         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18097         [$(build-bounded) = yes] ($(addprefix
18098         $(objpfx),$(binaries-bounded))): Remove rule.
18099         ($(objpfx)%-bp.out): Remove rule.
18100         * config.make.in (build-bounded): Remove variable.
18101         * crypt/Makefile [$(build-bounded) = yes]
18102         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18103         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18104         append to variable.
18105         [$(build-bounded) = yes] (install-lib): Likewise.
18106         [$(build-bounded) = yes] (generated): Likewise.
18107         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18108         Remove rule.
18109         * intl/Makefile [$(build-bounded) = yes]
18110         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18111         * math/Makefile [$(build-bounded) = yes]
18112         ($(tests:%=$(objpfx)%-bp): Likewise.
18113         * misc/Makefile [$(build-bounded) = yes]
18114         ($(objpfx)tst-tsearch-bp): Likewise.
18115         * nptl/Makeconfig (bounded-thread-library): Remove variable.
18116         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18117         Remove dependency.
18118         * string/Makefile (o-objects.ob): Remove variable.
18119         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18120         (CFLAGS-.ob): Remove variable.
18121         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18122         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18123         both definitions of variable.
18124         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18125         (ASFLAGS-.ob): Remove variable.
18127 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
18129         [BZ #13550]
18130         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18131         Remove __BOUNDED_POINTERS__ from condition.
18132         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18133         * string/bits/string2.h [!__NO_STRING_INLINES &&
18134         !__BOUNDED_POINTERS__]: Likewise.
18135         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18136         Likewise.
18137         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18138         Remove conditional code.
18139         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18140         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18141         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18142         condition.
18144         [BZ #13550]
18145         * csu/libc-start.c: Do not include <bp-sym.h>.
18146         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18147         * elf/dl-open.c: Do not include <bp-sym.h>.
18148         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18149         * math/fegetenv.c: Do not include <bp-sym.h>.
18150         (fegetenv): Do not use BP_SYM in versioned symbols.
18151         * nptl/sysdeps/pthread/bits/libc-lockP.h
18152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18153         <bp-sym.h>.
18154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18155         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18157         (__pthread_mutex_destroy): Likewise.
18158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18159         (__pthread_mutex_lock): Likewise.
18160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18161         (__pthread_mutex_trylock): Likewise.
18162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18163         (__pthread_mutex_unlock): Likewise.
18164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18165         (__pthread_mutexattr_init): Likewise.
18166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18167         (__pthread_mutexattr_destroy): Likewise.
18168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18169         (__pthread_mutexattr_settype): Likewise.
18170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18171         (__pthread_rwlock_init): Likewise.
18172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18173         (__pthread_rwlock_destroy): Likewise.
18174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18175         (__pthread_rwlock_rdlock): Likewise.
18176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18177         (__pthread_rwlock_tryrdlock): Likewise.
18178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18179         (__pthread_rwlock_wrlock): Likewise.
18180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18181         (__pthread_rwlock_trywrlock): Likewise.
18182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18183         (__pthread_rwlock_unlock): Likewise.
18184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18185         (__pthread_key_create): Likewise.
18186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18187         (__pthread_setspecific): Likewise.
18188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18189         (__pthread_getspecific): Likewise.
18190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18191         Likewise.
18192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18193         (_pthread_cleanup_push_defer): Likewise.
18194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18195         (_pthread_cleanup_pop_restore): Likewise.
18196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18197         (pthread_setcancelstate): Likewise.
18198         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18199         <bp-sym.h>.
18200         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18201         (memchr): Do not use BP_SYM in weak_alias.
18202         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18203         (fegetenv): Do not use BP_SYM in versioned symbols.
18204         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18205         (fesetenv): Do not use BP_SYM in versioned symbols.
18206         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18207         (feupdateenv): Do not use BP_SYM in versioned symbols.
18208         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18209         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18210         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18211         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18212         (open64): Do not use BP_SYM in weak_alias.
18213         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18214         (fegetenv): Do not use BP_SYM in versioned symbols.
18215         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18216         (fesetenv): Do not use BP_SYM in versioned symbols.
18217         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18218         (feupdateenv): Do not use BP_SYM in versioned symbols.
18219         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18220         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18221         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18222         (feraiseexcept): Do not use BP_SYM in versioned symbols.
18223         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18224         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18225         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18226         <bp-sym.h>.
18227         (__libc_start_main): Do not use BP_SYM.
18229 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18232         redundant return line.
18233         (norm): Likewise.
18234         (denorm): Likewise.
18235         (dbl_mp): Likewise.
18236         (sub_magnitudes): Likewise.
18237         (__add): Likewise.
18238         (__sub): Likewise.
18239         (__mul): Likewise.
18240         (__inv): Likewise.
18241         (__dvd): Likewise.
18242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18243         (norm): Likewise.
18244         (denorm): Likewise.
18245         (dbl_mp): Likewise.
18246         (sub_magnitudes): Likewise.
18247         (__add): Likewise.
18248         (__sub): Likewise.
18249         (__mul): Likewise.
18250         (__inv): Likewise.
18251         (__dvd): Likewise.
18253         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18254         instead of __mul.
18255         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18256         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18257         (cc32): Likewise.
18259         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18260         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18261         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18262         of __mul for squares.
18263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18264         function
18265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18266         Likewise.
18267         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18268         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18270 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
18272         [BZ #13550]
18273         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18274         code.
18275         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18276         prototype or function definition.  Rename ubp_* variables and
18277         parameters.  Remove argv definitions conditional on
18278         [__BOUNDED_POINTERS__].
18279         * debug/backtrace.c (__backtrace): Do not use __unbounded.
18280         * elf/dl-runtime.c (_dl_fixup): Likewise.
18281         * include/set-hooks.h (RUN_HOOK): Likewise.
18282         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18283         definition.
18284         * string/strcpy.c (strcpy): Do not use __unbounded.
18285         * sysdeps/generic/frame.h (struct layout): Likewise.
18286         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18287         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18288         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18289         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18290         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18291         (__backtrace): Likewise.
18292         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18293         use __ptrvalue.
18294         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18295         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18296         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18297         Likewise.
18298         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18299         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18300         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18301         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18302         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18303         Do not use __unbounded.
18304         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18305         Rename __unboundedrlimits parameter to rlimits in prototype.
18306         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18307         Do not use __unbounded.
18308         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18309         not use __ptrvalue.
18310         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18311         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18312         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18313         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18314         __ptrvalue or __unbounded.
18315         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18316         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18317         use __unbounded.
18318         (__new_msgctl): Do not use __ptrvalue.
18319         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18320         __unbounded.
18321         (__libc_msgrcv): Do not use __ptrvalue.
18322         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18323         startup_info): Do not use __unbounded.
18324         (__libc_start_main): Likewise.  Rename ubp_* variables and
18325         parameters.  Remove argv definitions conditional on
18326         [__BOUNDED_POINTERS__].
18327         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18328         __ptrvalue.
18329         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18330         use __unbounded.
18331         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18332         or __ptrvalue.
18333         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18334         use __unbounded.
18335         (__new_shmctl): Do not use __ptrvalue.
18336         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18337         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18338         Likewise.
18339         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18340         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18341         (__libc_sigaction): Likewise.
18342         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18343         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18344         Likewise.
18345         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18347 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
18349         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18351         * string/mempcpy.c: Implement by calling memcpy.
18353 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18355         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18358         evaluation.
18360         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18361         values in the mantissa.
18363         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18364         minimize writes to Z.
18365         (sub_magnitudes): Simplify code a bit.
18367 2013-02-12  Roland McGrath  <roland@hack.frob.com>
18369         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18370         from the message.  The linker prefixes all warnings with that already.
18372 2013-02-12  Andreas Schwab  <schwab@suse.de>
18374         [BZ #15078]
18375         * posix/regexec.c (extend_buffers): Add parameter min_len.
18376         (check_matching): Pass minimum needed length.
18377         (clean_state_log_if_needed): Likewise.
18378         (get_subexp): Likewise.
18379         * posix/Makefile (tests): Add bug-regex34.
18380         (bug-regex34-ENV): Define.
18381         * posix/bug-regex34.c: New file.
18383         [BZ #11561]
18384         * posix/regcomp.c (parse_bracket_exp): When looking up collating
18385         elements compare against the byte sequence of it, not its name.
18386         * posix/Makefile (tests): Add bug-regex35.
18387         (bug-regex35-ENV): Define.
18388         * posix/bug-regex35.c: New file.
18390 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18392         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
18393         comment.
18394         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18395         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18396         (CHECK_EOL): Add undef.
18398 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
18400         * bits/stdlib-bsearch.h: New file.
18401         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18402         * stdlib/stdlib.h: Likewise.
18404 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18406         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18407         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18408         declaration.
18409         * manual/search.texi (Array Search Function): Add missing const in
18410         lfind prototype.
18411         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18412         declaration to use rlim_t.
18413         (Basic Scheduling Functions): Remove erroneous const from
18414         sched_getparam prototype.  Remove erroneous * from
18415         sched_get_priority_max and sched_get_priority_min prototypes.
18416         (Resource Usage): Fix summary @comment on vtimes to refer to
18417         sys/vtimes.h rather than vtimes.h.
18418         Add missing *s in vtimes prototype.
18419         (Limits on Resources): Fix ulimit prototype to return long int.
18420         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18421         prototypes to use long int rather than double.
18422         (BSD Random): Fix initstate and setstate to use char *, not void *.
18423         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18424         prototype to make second argument 'struct aiocb64 *const[]'.
18425         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18426         (Status of AIO Operations): Remove erroneous const in aio_return and
18427         aio_return64 prototypes.
18428         (Synchronizing I/O): Fix sync prototype to return void.
18429         * manual/startup.texi (Suboptions): Remove an erroneous const in
18430         getsubopt prototype.
18431         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18432         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18433         use size_t rather than int.
18434         (Scanning All Users): Likewise for getpwent_r.
18435         (Setting Groups): Add missing const to setgroups prototype.
18436         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18437         * manual/socket.texi (Host Names): Fix gethostbyaddr and
18438         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18439         'const void *' rather than 'const char *'.
18440         (Host Address Functions): Likewise for inet_ntop.
18441         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18442         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18443         ssize_t for return value.
18444         (Sending Data): Likewise for send, sendto, sendmsg.
18445         (Socket Option Functions): Add a missing const in setsockopt prototype.
18446         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18447         use wchar_t for the argument.
18448         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18449         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18450         take no arguments.
18451         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18452         double/float/long double for second argument.
18453         Fix return types of significand, significandf, significandl.
18454         * manual/filesys.texi (Setting Permissions): Use mode_t for second
18455         argument in fchmod prototype.
18456         (File Owner): Use uid_t and gid_t in fchown prototype.
18457         (File Times): Add const to utimes, futimes, and lutimes prototypes.
18458         (Making Special Files): Use mode_t and dev_t in mknod prototype.
18459         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18460         use 'const struct dirent **' as argument types to CMP function pointer
18461         argument.
18462         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18463         (File Times): Fix summary magic @comment for struct utimbuf and utime
18464         to refer to utime.h, not time.h.
18465         * manual/string.texi (Argz Functions): Add missing const in
18466         argz_extract and argz_next prototypes.
18467         (Finding Tokens in a String): Likewise for basename.
18468         (String/Array Comparison): Fix typo in wcscasecmp prototype.
18469         (Copying and Concatenation): Fix typo in wmemmove prototype.
18470         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18471         (Signal Stack): Remove erroneous const in sigstack prototype.
18472         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18473         prototype.
18474         (Simple Calendar Time): Likewise for stime.
18475         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18476         prototype.
18477         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18478         say sys/sysctl.h instead.
18479         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18480         and vsyslog prototypes.
18482 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18484         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18485         Remove.
18487 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18489         * misc/sys/mman.h: Fix typo in mremap comment.
18491 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18493         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18494         the '\0' terminator.
18496 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18498         [BZ #13550]
18499         * debug/segfault.c: Don't include <bp-checks.h>.
18500         * sysdeps/generic/bp-checks.h: Remove file.
18501         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18502         (__GETDENTS): Don't use CHECK_N.
18503         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18504         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18505         (__getgroups): Don't use CHECK_N.
18506         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18507         (setgroups): Don't use CHECK_N.
18508         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18509         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18510         (__libc_msgrcv): Don't use CHECK_N.
18511         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18512         (__libc_msgsnd): Don't use CHECK_N.
18513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18514         <bp-checks.h>.
18515         (__libc_pread): Don't use CHECK_N.
18516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18517         include <bp-checks.h>.
18518         (__libc_pread64): Don't use CHECK_N.
18519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18520         include <bp-checks.h>.
18521         (__libc_pwrite): Don't use CHECK_N.
18522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18523         include <bp-checks.h>.
18524         (__libc_pwrite64): Don't use CHECK_N.
18525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18526         <bp-checks.h>.
18527         (__libc_pread): Don't use CHECK_N.
18528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18529         include <bp-checks.h>.
18530         (__libc_pread64): Don't use CHECK_N.
18531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18532         include <bp-checks.h>.
18533         (__libc_pwrite): Don't use CHECK_N.
18534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18535         include <bp-checks.h>.
18536         (__libc_pwrite64): Don't use CHECK_N.
18537         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18538         (do_pread): Don't use CHECK_N.
18539         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18540         (do_pread64): Don't use CHECK_N.
18541         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18542         (do_pwrite): Don't use CHECK_N.
18543         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18544         (do_pwrite64): Don't use CHECK_N.
18545         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18546         (__libc_readv): Don't use CHECK_N.
18547         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18548         (semop): Don't use CHECK_N.
18549         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18550         <bp-checks.h>.
18551         (semtimedop): Don't use CHECK_N.
18552         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18553         (__libc_pread): Don't use CHECK_N.
18554         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18555         <bp-checks.h>.
18556         (__libc_pread64): Don't use CHECK_N.
18557         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18558         <bp-checks.h>.
18559         (__libc_pwrite): Don't use CHECK_N.
18560         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18561         <bp-checks.h>.
18562         (__libc_pwrite64): Don't use CHECK_N.
18563         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18564         <bp-checks.h>.
18565         (__libc_msgrcv): Don't use CHECK_N.
18566         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18567         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
18568         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18569         (__libc_writev): Don't use CHECK_N.
18571 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18573         * string/strcpy.c: Removed unused variable.
18575         * Makeconfig (+sysdep-includes): Define with := rather than =.
18576         Use an existing include/ subdir of each sysdeps dir before it.
18578 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18580         * nscd/connection.c (register_traced_file): Comment function.
18581         [HAVE_INOTIFY] (union __inev): Define.
18582         [HAVE_INOTIFY] (inotify_check_files): New function.
18583         [HAVE_INOTIFY] (clear_db_cache): Likewise.
18584         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18585         clear_db_cache.
18586         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18588 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18590         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18591         loaded if not already and that a failure is permanent.
18593 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18595         [BZ #15006]
18596         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18597         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18599 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18601         [BZ #13550]
18602         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18603         (CHECK_1_NULL_OK): Likewise.
18604         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18605         (__fxstat): Do not use CHECK_1.
18606         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18607         <bp-checks.h>.
18608         (___fxstat64): Do not use CHECK_1.
18609         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18610         <bp-checks.h>.
18611         (__fxstatat): Do not use CHECK_1.
18612         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18613         <bp-checks.h>.
18614         (__fxstatat64): Do not use CHECK_1.
18615         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18616         <bp-checks.h>.
18617         (__fxstat): Do not use CHECK_1.
18618         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18619         <bp-checks.h>.
18620         (__fxstatat): Do not use CHECK_1.
18621         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18622         <bp-checks.h>.
18623         (__getresgid): Do not use CHECK_1.
18624         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18625         <bp-checks.h>.
18626         (__getresuid): Do not use CHECK_1.
18627         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18628         <bp-checks.h>.
18629         (__lxstat): Do not use CHECK_1.
18630         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18631         <bp-checks.h>.
18632         (__old_msgctl): Do not use CHECK_1.
18633         (__new_msgctl): Likewise.
18634         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18635         <bp-checks.h>.
18636         (__new_setrlimit): Do not use CHECK_1.
18637         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18638         <bp-checks.h>.
18639         (__old_shmctl): Do not use CHECK_1.
18640         (__new_shmctl): Likewise.
18641         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18642         <bp-checks.h>.
18643         (__xstat): Do not use CHECK_1.
18644         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18645         (__lxstat): Do not use CHECK_1.
18646         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18647         <bp-checks.h>.
18648         (___lxstat64): Do not use CHECK_1.
18649         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18650         (__old_msgctl): Do not use CHECK_1.
18651         (__new_msgctl): Likewise.
18652         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18653         <bp-checks.h>.
18654         (__gettimeofday): Do not use CHECK_1.
18655         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18656         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18657         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18658         <bp-checks.h>.
18659         (__gettimeofday): Do not use CHECK_1.
18660         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18661         (__old_shmctl): Do not use CHECK_1_NULL_OK.
18662         (__new_shmctl): Do not use CHECK_1.
18663         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18664         <bp-checks.h>.
18665         (do_sigtimedwait): Do not use CHECK_1.
18666         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18667         <bp-checks.h>.
18668         (do_sigwaitinfo): Do not use CHECK_1.
18669         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18670         <bp-checks.h>.
18671         (msgctl): Do not use CHECK_1.
18672         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18673         <bp-checks.h>.
18674         (shmctl): Do not use CHECK_1.
18675         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18676         (ustat): Do not use CHECK_1.
18677         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18678         <bp-checks.h>.
18679         (__fxstat): Do not use CHECK_1.
18680         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18681         <bp-checks.h>.
18682         (__fxstatat): Do not use CHECK_1.
18683         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18684         <bp-checks.h>.
18685         (__lxstat): Do not use CHECK_1.
18686         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18687         <bp-checks.h>.
18688         (__xstat): Do not use CHECK_1.
18689         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18690         (__xstat): Do not use CHECK_1.
18691         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18692         (___xstat64): Do not use CHECK_1.
18694         [BZ #13550]
18695         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18696         definitions.
18697         (CHECK_BOUNDS_HIGH): Likewise.
18698         * string/strcpy.c: Do not include <bp-checks.h>.
18699         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18701 2013-02-07  Roland McGrath  <roland@hack.frob.com>
18703         * nscd/nscd-client.h (__nscd_drop_map_ref):
18704         Add __attribute__ ((unused)).
18705         * nis/nss-nisplus.h (niserr2nss): Likewise.
18707         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18708         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18710         * csu/libc-tls.c (init_static_tls, init_slotinfo):
18711         Remove inline keyword.
18712         * include/rounding-mode.h (round_away): Likewise.
18713         * libio/wfileops.c (adjust_wide_data): Likewise.
18714         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18715         (__m128i_strloadu_tolower): Likewise.
18716         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18717         (__m128i_strloadu_tolower): Likewise.
18718         * time/mktime.c (ydhms_diff): Likewise.
18719         * locale/elem-hash.h (elem_hash): Likewise.
18720         * locale/setlocale.c (setdata): Likewise.
18721         * posix/regex_internal.h (re_string_char_size_at): Likewise.
18722         (re_string_wchar_at): Likewise.
18723         (bitset_not, bitset_merge, bitset_mask): Likewise.
18724         [!(__GNUC__ > 3)] (inline): Remove macro.
18725         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18726         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18727         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18728         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18729         * string/memcmp.c (memcmp_bytes): Likewise.
18730         * locale/programs/locarchive.c (compute_hashval): Likewise.
18731         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18732         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18733         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18734         * nss/getent.c (print_rpc, print_protocols): Likewise.
18735         (print_passwd, print_group, print_aliases): Likewise.
18736         * nis/nss-nisplus.h (niserr2nss): Likewise.
18737         * nscd/connections.c (restart_p): Likewise.
18738         Change return type to bool.
18740 2013-02-05  Roland McGrath  <roland@hack.frob.com>
18742         * Makeconfig (all-Depend-files): Add existing
18743         $(sorted-subdirs:=/Depend) files.
18744         (all-subdirs): Remove nss.
18745         * sysdeps/unix/inet/Subdirs: Add it here instead.
18746         * hesiod/Depend: New file.
18748         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18749         instead of calling alloca.
18751         * io/lseek.c (__lseek): Rename to __libc_lseek.
18752         Define __lseek as an alias.
18754         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18756 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
18758         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18759         else clause and remove check for non-standard endianness.
18761 2013-02-04  David S. Miller  <davem@davemloft.net>
18763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18765 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
18767         [BZ #13550]
18768         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18769         (__ubp_memchr): Remove prototype.
18770         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18771         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18772         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18773         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18774         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18775         Remove alias.
18776         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18777         (__ubp_memchr): Likewise.
18778         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18779         (__ubp_memchr): Likewise.
18780         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18781         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18782         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18783         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18784         CHECK_STRING.
18785         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18786         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18787         (__getcwd): Do not use CHECK_STRING.
18788         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18789         <bp-checks.h>.
18790         (__real_chown): Do not use CHECK_STRING.
18791         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18792         <bp-checks.h>.
18793         (fchownat): Do not use CHECK_STRING.
18794         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18795         CHECK_STRING.
18796         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18797         <bp-checks.h>.
18798         (__lchown): Do not use CHECK_STRING.
18799         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18800         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18801         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18802         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18804         include <bp-checks.h>.
18805         (truncate64): Do not use CHECK_STRING.
18806         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18807         <bp-checks.h>.
18808         (__real_chown): Do not use CHECK_STRING.
18809         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18810         <bp-checks.h>.
18811         (__lchown): Do not use CHECK_STRING.
18812         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18813         <bp-checks.h>.
18814         (__chown): Do not use CHECK_STRING.
18815         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18816         <bp-checks.h>.
18817         (truncate64): Do not use CHECK_STRING.
18818         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18819         Likewise.
18820         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18821         (__xmknod): Do not use CHECK_STRING.
18822         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18823         <bp-checks.h>.
18824         (__xmknodat): Do not use CHECK_STRING.
18825         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18826         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18828 2013-02-04  Andreas Schwab  <schwab@suse.de>
18830         [BZ #14142]
18831         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18832         * include/netdb.h: Likewise for h_errno.
18833         * elf/tst-stackguard1.c: Include <tls.h>.
18835 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
18837         * elf/link.h (struct link_map): Extend the l_addr comment.
18838         * include/link.h (struct link_map): Likewise.
18840 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
18842         [BZ #13550]
18843         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18844         (BOUNDED_1): Remove macro.
18845         * debug/backtrace.c: Don't include <bp-checks.h>.
18846         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18847         (__backtrace): Likewise.
18848         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18849         <bp-checks.h>.
18850         (__backtrace): Don't use BOUNDED_1.
18851         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18852         <bp-checks.h>.
18853         (__backtrace): Don't use BOUNDED_1.
18854         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18855         (__backtrace): Don't use BOUNDED_1.
18856         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18857         (shmat): Don't use BOUNDED_N.
18859 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
18861         [BZ #13550]
18862         * sysdeps/generic/bp-start.h: Remove file.
18863         * csu/libc-start.c: Don't include <bp-start.h>.
18864         (LIBC_START_MAIN): Set up __environ directly instead of using
18865         INIT_ARGV_and_ENVIRON.
18866         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18867         <bp-start.h>.
18869         [BZ #13550]
18870         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18871         definitions.
18872         (CHECK_FCNTL): Likewise.
18873         (CHECK_N_PAGES): Likewise.
18875         [BZ #13550]
18876         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18877         definitions.
18878         (CHECK_SIGSET_NULL_OK): Likewise.
18879         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18880         <bp-checks.h>.
18881         (sigpending): Don't use CHECK_SIGSET.
18882         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18883         <bp-checks.h>.
18884         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18885         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18886         <bp-checks.h>.
18887         (do_sigsuspend): Don't use CHECK_SIGSET.
18888         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18889         use CHECK_SIGSET.
18890         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18891         (do_sigwait): Don't use CHECK_SIGSET.
18892         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18893         use CHECK_SIGSET.
18894         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18895         include <bp-checks.h>.
18896         (sigpending): Don't use CHECK_SIGSET.
18897         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18898         include <bp-checks.h>.
18899         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18900         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18901         <bp-checks.h>.
18902         (sigpending): Don't use CHECK_SIGSET.
18903         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18904         <bp-checks.h>.
18905         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18907         [BZ #13550]
18908         * sysdeps/generic/bp-semctl.h: Remove file.
18909         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18910         <bp-checks.h> and <bp-semctl.h>.
18911         (__old_semctl): Don't use CHECK_SEMCTL.
18912         (__new_semctl): Likewise.
18913         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18914         and <bp-semctl.h>.
18915         (__old_semctl): Don't use CHECK_SEMCTL.
18916         (__new_semctl): Likewise.
18917         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18918         <bp-checks.h> and <bp-semctl.h>.
18919         (__old_semctl): Don't use CHECK_SEMCTL.
18920         (__new_semctl): Likewise.
18921         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18922         <bp-checks.h> and <bp-semctl.h>.
18923         (semctl): Don't use CHECK_SEMCTL.
18925         [BZ #13550]
18926         * Makerules (elide-bp-thunks): Remove variable.
18927         (elide-routines.oS): Don't use $(elide-bp-thunks).
18928         (elide-routines.os): Likewise.
18929         (elide-routines.o): Likewise.
18930         (elide-routines.op): Likewise.
18931         (elide-routines.og): Likewise.
18932         (objects): Don't use $(bp-thunks).
18933         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18934         include.
18935         (common-generated): Do not add s-proto-bp.d.
18936         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18937         (int): Likewise.
18938         (typ): Likewise.
18939         Do not generate makefile rules for bounded-pointer thunks.
18940         * sysdeps/generic/bp-thunks.h: Remove file.
18941         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18942         * sysdeps/unix/s-proto-bp.S: Likewise.
18944         [BZ #15062]
18945         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18946         parts of result separately when argument is not close to line from
18947         -i to i and one part of argument is small.
18948         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18949         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18950         * math/libm-test.inc (cacos_test): Add more tests.
18951         (casin_test): Likewise.
18952         (casinh_test): Likewise.
18953         * sysdeps/i386/fpu/libm-test-ulps: Update.
18954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18956 2013-01-31  David S. Miller  <davem@davemloft.net>
18958         * po/de.po: Update from translation team.
18960 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
18962         * time/tzfile.c: Include stdint.h for SIZE_MAX.
18964 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
18966         * configure.in (_AC_PROG_CC_C89): New definition.
18967         * configure: Regenerate.
18969         * configure.in (AC_PROG_CPP): New definition.
18970         * configure: Regenerate.
18972 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18974         * debug/tst-backtrace.h: New file.
18975         * debug/tst-backtrace2.c: Include tst-backtrace.h.
18976         (ret): Remove variable.
18977         (x): Likewise.
18978         (FAIL): Remove macro.
18979         (NO_INLINE): Likewise.
18980         (fn1): Use match function instead of strstr.
18981         * debug/tst-backtrace3.c: Include tst-backtrace.h.
18982         (ret): Remove variable.
18983         (x): Likewise.
18984         (FAIL): Remove macro.
18985         (NO_INLINE): Likewise.
18986         (fn): Use match function instead of strstr.
18987         * debug/tst-backtrace4.c: Include tst-backtrace.h.
18988         (ret): Remove variable.
18989         (x): Likewise.
18990         (FAIL): Remove macro.
18991         (NO_INLINE): Likewise.
18992         (handle_signal): Use match function instead of strstr.
18993         * debug/tst-backtrace5.c: Include tst-backtrace.h.
18994         (ret): Remove variable.
18995         (x): Likewise.
18996         (FAIL): Remove macro.
18997         (NO_INLINE): Likewise.
18998         (handle_signal): Use match function instead of strstr.
19000 2013-01-23  Roland McGrath  <roland@hack.frob.com>
19002         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19004 2013-01-23  David S. Miller  <davem@davemloft.net>
19006         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19007         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19008         argument of CAS if possible.
19009         * sysdeps/sparc/sparc64/bits/atomic.h
19010         (__arch_compare_and_exchange_val_32_acq): Likewise.
19011         (__arch_compare_and_exchange_val_64_acq): Likewise.
19013 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
19015         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19016         * sysdeps/posix/ulimit.c: ... this.
19017         Include <limits.h>.
19018         * sysdeps/unix/bsd/ulimit.c: Remove file.
19020 2013-01-23  Adam Conrad  <adconrad@0c3.net>
19022         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19023         (LDFLAGS-tst-array5): Likewise.
19025 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
19027         [BZ #15036]
19028         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19029         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19030         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19031         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19033 2013-01-21  David S. Miller  <davem@davemloft.net>
19035         * sysdeps/sparc/backtrace.c: New file.
19036         * sysdeps/sparc/sparc32/backtrace.h: New file.
19037         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19038         * sysdeps/sparc/sparc64/backtrace.h: New file.
19039         * sysdeps/sparc/sparc64/backtrace.c: Delete.
19040         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19041         -funwind-tables.
19043 2013-01-21  Andreas Schwab  <schwab@suse.de>
19045         [BZ #15020]
19046         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19047         closed its stdout.
19049 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
19051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19052         "mpa2.h".
19053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19055 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
19056             Mark Mitchell  <mark@codesourcery.com>
19057             Tom de Vries  <tom@codesourcery.com>
19058             Paul Pluzhnikov  <ppluzhnikov@google.com>
19060         * debug/tst-backtrace2.c: New file.
19061         * debug/tst-backtrace3.c: Likewise.
19062         * debug/tst-backtrace4.c: Likewise.
19063         * debug/tst-backtrace5.c: Likewise.
19064         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19065         (CFLAGS-tst-backtrace3.c): Likewise.
19066         (CFLAGS-tst-backtrace4.c): Likewise.
19067         (CFLAGS-tst-backtrace5.c): Likewise.
19068         (LDFLAGS-tst-backtrace2): Likewise.
19069         (LDFLAGS-tst-backtrace3): Likewise.
19070         (LDFLAGS-tst-backtrace4): Likewise.
19071         (LDFLAGS-tst-backtrace5): Likewise.
19072         (tests): Add new tests tst-backtrace2, tst-backtrace3,
19073         tst-backtrace4 and tst-backtrace5.
19075 2013-01-18  Anton Blanchard  <anton@samba.org>
19076             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19078         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19079         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19080         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19081         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19083         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19084         "+r" and remove output regs list as redundant.  Add explicit inline
19085         asm to specify register of return val to work around compiler codegen
19086         bug.  Remove (int) cast on return value.  Add return type parameter to
19087         use in macro so that this macro does not truncate return value for
19088         64-bit values.
19089         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19090         pass to INTERNAL_VSYSCALL_NCS.
19091         (INLINE_VSYSCALL): Add 'long int' as return type to
19092         INTERNAL_VSYSCALL_NCS macro invocation.
19093         (INTERNAL_VSYSCALL): Add 'long int' as return type to
19094         INTERNAL_VSYSCALL_NCS macro invocation.
19095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19097 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19099         [BZ #14496]
19100         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19101         Fix application of SIMD FP exception mask.
19103         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19104         mp_no from a power of two.
19105         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19106         __mpexp_twomm1.  Use __pow_mp.
19108         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19109         multiplication.
19111 2013-01-17  David S. Miller  <davem@davemloft.net>
19113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19115 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19117         [BZ #15023]
19118         * include/complex.h: Condition contents on [!_COMPLEX_H].
19119         (__kernel_casinhf): New prototype.
19120         (__kernel_casinh): Likewise.
19121         (__kernel_casinhl): Likewise.
19122         * math/Makefile (libm_calls): Add k_casinh.
19123         * math/k_casinh.c: New file.
19124         * math/k_casinhf.c: Likewise.
19125         * math/k_casinhl.c: Likewise.
19126         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19127         finite nonzero arguments.
19128         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19129         finite nonzero arguments.
19130         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19131         finite nonzero arguments.
19132         * math/s_casinh.c: Do not include <float.h>.
19133         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19134         * math/s_casinhf.c: Do not include <float.h>.
19135         (__casinhf): Move code for finite nonzero arguments to
19136         k_casinhf.c.
19137         * math/s_casinhl.c: Do not include <float.h>.
19138         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19139         redefine.
19140         (__casinhl): Move code for finite nonzero arguments to
19141         k_casinhl.c.
19142         * math/libm-test.inc (cacos_test): Add more tests.
19143         * sysdeps/i386/fpu/libm-test-ulps: Update.
19144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19146 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
19148         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19149         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19150         [!HAVE_MREMAP]: Remove [defined linux] case.
19151         * malloc/arena.c: Do not include <malloc-sysdep.h>.
19153 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19155         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19157 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
19159         * elf/elf.h (R_386_SIZE32): New relocation.
19160         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19161         R_386_SIZE32.
19162         (elf_machine_rela): Likewise.
19163         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19164         R_X86_64_SIZE64 and R_X86_64_SIZE32.
19166 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19168         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19169         (FP_FAST_FMA): Do not define.
19170         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19171         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19172         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19173         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19174         !_SOFT_FLOAT]: Likewise.
19175         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19176         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19177         value.
19178         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19179         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19180         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19181         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19182         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19183         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19184         file.
19186 2013-01-16  Andreas Schwab  <schwab@suse.de>
19188         [BZ #14327]
19189         * include/stdlib.h (__mktemp): Add declaration.
19190         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19191         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19193 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19195         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19196         definitions.
19197         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19198         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19199         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19200         definitions here.
19201         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19202         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19203         definitions.
19204         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19205         and ONE.
19206         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19207         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19208         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19209         definitions.
19210         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19211         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19212         definitions.
19213         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19215         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19217 2013-01-15  David S. Miller  <davem@davemloft.net>
19219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19220         trunc{,f} to libm-sysdep_routes.
19221         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19223         file.
19224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19226         file.
19227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19228         file.
19229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19231         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19232         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19233         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19234         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19235         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19236         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19239         nearbyint{,f} to libm-sysdep_routes.
19240         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19242         New file.
19243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19244         file.
19245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19246         New file.
19247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19248         file.
19249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19251         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19252         file.
19253         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19254         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19255         file.
19256         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19257         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19258         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19260         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19261         libc_feholdexcept and libc_fesetenv.
19263 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
19265         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19267 2013-01-14  David S. Miller  <davem@davemloft.net>
19269         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19270         (SPARC_ASM_VIS2_IFUNC): Likewise.
19271         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19273         use of 'siam' instruction.
19274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19275         Likewise.
19276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19277         Likewise.
19278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19279         Likewise.
19280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19285         file.
19286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19287         file.
19288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19289         file.
19290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19291         file.
19292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19294         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19297         new VIS2 routines.
19298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19301         Likewise.
19302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19307         routines to libm-sysdep_routines.
19308         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19311         fdim/fdimf to libm-sysdep_routines.
19312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19313         file.
19314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19316         file.
19317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19320         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19321         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19322         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19323         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19325 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19327         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19328         to optimize copies.
19330         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19335         local variable MPTWO.
19336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19337         Likewise.
19339 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19341         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19342         GLOB_NOESCAPE.
19344 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19346         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19348 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19350         * manual/pattern.texi (glob_t): Document gl_flags.
19351         (glob64_t): Likewise.
19353 2013-01-11  David S. Miller  <davem@davemloft.net>
19355         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19356         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19357         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
19358         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19359         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19360         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19361         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19362         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19363         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19364         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19365         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19366         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19367         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19369         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19370         sparc V9 rather than using V8 code.
19371         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19372         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19374         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19375         Move to...
19376         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19377         Here.
19379 2013-01-11  Roland McGrath  <roland@hack.frob.com>
19381         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19382         not in the main loop.
19383         * configure: Regenerated.
19385 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
19387         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19388         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19389         to just #else.
19390         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
19391         [!__GLIBC_HAVE_LONG_LONG] case.
19392         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19393         condition to just #else.
19394         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19395         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19396         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19397         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19398         unconditional.
19399         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19400         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19401         #elif condition to just #else.
19402         * sysdeps/unix/sysv/linux/sys/sysmacros.h
19403         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19404         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19405         #elif condition to just #else.
19407 2013-01-11  Steve Ellcey  <sellcey@mips.com>
19409         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19410         (EF_MIPS_ARCH_64): Fix value.
19411         (EF_MIPS_ARCH_32R2): New.
19412         (EF_MIPS_ARCH_64R2): New.
19414 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
19416         * Makeconfig (+link-pie-before-libc): New.
19417         (+link-pie-after-libc): Likewise.
19418         (+link-pie-tests): Likewise.
19419         (+link-pie): Rewritten.
19420         (link-before-libc): Remove $(config-LDFLAGS).
19421         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19422         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19423         (config-LDFLAGS): Renamed to ...
19424         (rtld-LDFLAGS): This.
19425         (rtld-tests-LDFLAGS): New macro.
19426         (link-libc-rpath-link): Likewise.
19427         (link-libc-tests-rpath-link): Likewise.
19428         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19429         (link-libc): Prepand $(link-libc-rpath-link).
19430         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19431         (test-program-prefix): New macro.
19432         (test-via-rtld-prefix): Likewise.
19433         (test-program-cmd): Likewise.
19434         (host-test-program-cmd): Likewise.
19435         * Makefile ($(common-objpfx)testrun.sh): Replace
19436         $(run-program-prefix) with $(test-program-prefix).
19437         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19438         $(rtld-LDFLAGS).
19439         ($(common-objpfx)shlib.lds): Likewise.
19440         (build-module-helper): Likewise.
19441         ($(common-objpfx)format.lds): Likewise.
19442         * Rules (binaries-pie-tests): New.
19443         (binaries-pie-notests): Likewise.
19444         (binaries-pie): Rewritten.
19445         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19446         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19447         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19448         (make-test-out): Replace $(host-built-program-cmd) with
19449         $(host-test-program-cmd).
19450         * config.make.in (build-hardcoded-path-in-tests): New variable.
19451         * configure.in (--enable-hardcoded-path-in-tests): New configure
19452         option.
19453         (hardcoded_path_in_tests): New AC_SUBST.
19454         * configure: Regenerated.
19455         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19456         $(built-program-cmd) with $(test-program-cmd).
19457         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19458         (test_program_cmd): This.
19459         * elf/Makefile ($(objpfx)order.out): Run test with
19460         $(test-program-prefix).
19461         ($(objpfx)order2.out): Likewise.
19462         ($(objpfx)tst-initorder.out): Likewise.
19463         ($(objpfx)tst-initorder2.out): Likewise.
19464         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19465         $(test-program-cmd).
19466         ($(objpfx)tst-array1-static.out): Likewise.
19467         ($(objpfx)tst-array2.out): Likewise.
19468         ($(objpfx)tst-array3.out): Likewise.
19469         ($(objpfx)tst-array4.out): Likewise.
19470         ($(objpfx)tst-array5.out): Likewise.
19471         ($(objpfx)tst-array5-static.out): Likewise.
19472         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19473         $(test-program-cmd).
19474         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19475         $(run-program-prefix) with $(test-program-prefix).
19476         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19477         (test_program_prefix): This.
19478         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19479         $(run-program-prefix) with $(test-program-prefix).
19480         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19481         (test_program_prefix): This.
19482         * iconvdata/tst-tables.sh: Likewise.
19483         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19484         $(run-program-prefix) with $(test-program-prefix).
19485         ($(objpfx)tst-translit.out): Likewise.
19486         ($(objpfx)tst-gettext2.out): Likewise.
19487         ($(objpfx)tst-gettext4.out): Likewise.
19488         ($(objpfx)tst-gettext6.out): Likewise.
19489         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19490         (test_program_prefix): This.
19491         * intl/tst-gettext2.sh: Likewise.
19492         * intl/tst-gettext4.sh  Likewise.
19493         * intl/tst-gettext6.sh: Likewise.
19494         * intl/tst-translit.sh: Likewise.
19495         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19496         with $(test-program-cmd).
19497         * libio/Makefile ($(objpfx)test-freopen.out): Replace
19498         $(run-program-prefix) with $(test-program-prefix).
19499         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19500         (test_program_prefix): This.
19501         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19502         $(run-program-prefix) with $(test-program-prefix).
19503         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19504         (test_program_prefix): This.
19505         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19506         * posix/Makefile ($(objpfx)globtest.out): Replace
19507         $(run-via-rtld-prefix) and $(test-wrapper) with
19508         $(test-program-prefix) and $(test-via-rtld-prefix).
19509         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19510         $(test-program-prefix).
19511         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19512         $(host-test-program-cmd).
19513         (tst-spawn-ARGS): Likewise.
19514         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19515         $(test-program-prefix).
19516         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19517         (test_via_rtld_prefix): This.
19518         (test_wrapper): Renamed to ...
19519         (test_program_prefix): This.
19520         (run_program_prefix): Replaced by test_program_prefix.
19521         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19522         (test_program_prefix): This.
19523         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19524         with $(host-test-program-cmd).
19525         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19526         $(run-program-prefix) with $(test-program-prefix).
19527         ($(objpfx)tst-printf.out): Likewise.
19528         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19529         $(test-program-cmd).
19530         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19531         (test_program_prefix): This.
19532         * stdio-common/tst-unbputc.sh: Likewise.
19533         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19534         $(run-program-prefix) with $(test-program-prefix).
19535         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19536         (test_program_prefix): This.
19537         * string/Makefile ($(objpfx)tst-svc.out):  Replace
19538         $(built-program-cmd) with $(test-program-cmd).
19540 2013-01-11  Andreas Jaeger  <aj@suse.de>
19542         [BZ #15003]
19543         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19544         value. Sync with Linux 3.7.
19546 2013-01-10  David S. Miller  <davem@davemloft.net>
19548         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19549         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19550         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19552 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19554         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19555         never set.
19556         * configure: Regenerated.
19558 2013-01-10  David S. Miller  <davem@davemloft.net>
19560         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19561         sparc V9 rather than using V8 code.
19562         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19563         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19565 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19567         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19568         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19569         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19570         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19571         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19572         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19573         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19574         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19575         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19576         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19577         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19578         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19579         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19580         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19581         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19582         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19583         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19584         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19585         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19586         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19587         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19588         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19589         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19590         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19591         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19592         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19593         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19595 2013-01-10  David S. Miller  <davem@davemloft.net>
19597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19599 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19601         * posix/Makefile (tests-static): New variable.
19602         (tests): Add $(tests-static).
19603         (tst-exec-static-ARGS): New variable.
19604         (tst-spawn-static-ARGS): Likewise.
19605         * posix/tst-exec-static.c: New file.
19606         * posix/tst-spawn-static.c: Likewise.
19607         * posix/tst-exec.c: Support run directly.
19608         * posix/tst-spawn.c: Likewise.
19610 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
19612         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19613         long.
19614         * math/bits/mathcalls.h (llrint): Likewise.
19615         (llround): Likewise.
19616         * stdlib/stdlib.h (struct drand48_data): Likewise.
19617         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19618         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19619         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19620         Likewise.
19621         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19622         Likewise.
19623         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19624         (elf_greg_t): Likewise.
19625         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19626         (__jmp_buf): Likewise.
19627         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19628         definitions.
19629         (llrint): Likewise, for all definitions.
19630         (llrintl): Likewise.
19632         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19633         Remove [__GNUC__] condition.
19634         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19635         condition to just [__USE_ISOC99].
19636         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19638 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19640         [BZ #14200]
19641         * sysdeps/unix/sysv/linux/x86/bits/environments.h
19642         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19643         defined.
19644         (_POSIX_V6_ILP32_OFF32): Likewise.
19645         (_XBS5_ILP32_OFF32): Likewise.
19646         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19647         (__ILP32_OFFBIG_LDFLAGS): Likewise.
19649 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19651         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19653         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19654         doubles __mpexp_twomm1.  Adjust usage.
19655         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19656         Remove.
19658 2013-01-10  Andreas Schwab  <schwab@suse.de>
19660         [BZ #14964]
19661         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19662         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19664 2013-01-09  David S. Miller  <davem@davemloft.net>
19666         [BZ #15003]
19667         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19668         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19669         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19670         (TCP_FASTOPEN): Define.
19671         (tcp_repair_opt): New structure.
19672         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19673         enum values.
19674         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19675         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19676         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19677         (tcp_cookie_transactions): New structure.
19679 2013-01-09  Anton Blanchard  <anton@samba.org>
19681         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19682         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19683         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19684         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19686 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
19688         * include/features.h (__USE_ANSI): Remove.
19690 2013-01-09  Roland McGrath  <roland@hack.frob.com>
19692         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19694         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19696 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19698         * sysdeps/s390/fpu/libm-test-ulps: Update.
19700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19702         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19703         (__acr): Likewise.
19704         (__cpy): Likewise.
19705         (norm): Likewise.
19706         (denorm): Likewise.
19707         (__mp_dbl): Likewise.
19708         (__dbl_mp): Likewise.
19709         (add_magnitudes): Likewise.
19710         (sub_magnitudes): Likewise.
19711         (__add): Likewise.
19712         (__sub): Likewise.
19713         (__mul): Likewise.
19714         (__inv): Likewise.
19715         (__dvd): Likewise.
19716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19717         (__acr): Likewise.
19718         (__cpy): Likewise.
19719         (norm): Likewise.
19720         (denorm): Likewise.
19721         (__mp_dbl): Likewise.
19722         (__dbl_mp): Likewise.
19723         (add_magnitudes): Likewise.
19724         (sub_magnitudes): Likewise.
19725         (__add): Likewise.
19726         (__sub): Likewise.
19727         (__mul): Likewise.
19728         (__inv): Likewise.
19729         (__dvd): Likewise.
19730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19731         (__acr): Likewise.
19732         (__cpy): Likewise.
19733         (norm): Likewise.
19734         (denorm): Likewise.
19735         (__mp_dbl): Likewise.
19736         (__dbl_mp): Likewise.
19737         (add_magnitudes): Likewise.
19738         (sub_magnitudes): Likewise.
19739         (__add): Likewise.
19740         (__sub): Likewise.
19741         (__mul): Likewise.
19742         (__inv): Likewise.
19743         (__dvd): Likewise.
19745 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
19747         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19748         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19749         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19750         2 && __USE_EXTERN_INLINES]: Likewise.
19752 2013-01-08  Andreas Jaeger  <aj@suse.de>
19754         [BZ# 14985]
19755         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19756         Remove.
19757         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19758         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19760 2013-01-07  Anton Blanchard  <anton@samba.org>
19762         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19763         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19764         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19765         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19766         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19767         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19768         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19769         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19771         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19772         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19773         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19774         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19775         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19776         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19777         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19778         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19780         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19781         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19782         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19783         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19784         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19785         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19786         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19787         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19788         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19789         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19790         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19791         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19792         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19794         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19795         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19796         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19797         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19798         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19799         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19800         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19801         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19802         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19803         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19804         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19806 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
19808         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19809         (__MALLOC_PMT): Likewise.
19810         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19811         [__GNUC__], only on [_LIBC].
19812         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19813         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19814         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19815         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19816         forward declaration.
19817         (realloc_hook_ini): Likewise.
19818         (memalign_hook_ini): Likewise.
19819         (__libc_memalign): Do not use __MALLOC_PMT in variable
19820         declaration.
19821         (__libc_valloc): Likewise.
19822         (__libc_pvalloc): Likewise.
19823         (__libc_calloc): Likewise.
19824         (__posix_memalign): Likewise.
19826         [BZ #14996]
19827         * math/s_casinh.c: Include <float.h>.
19828         (__casinh): Do not do computation with squaring and square root
19829         for large arguments.
19830         * math/s_casinhf.c: Include <float.h>.
19831         (__casinhf): Do not do computation with squaring and square root
19832         for large arguments.
19833         * math/s_casinhl.c: Include <float.h>.
19834         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19835         (__casinhl): Do not do computation with squaring and square root
19836         for large arguments.
19837         * math/libm-test.inc (casin_test): Add more tests.
19838         (casinh_test): Likewise.
19839         * sysdeps/i386/fpu/libm-test-ulps: Update.
19840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19842 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
19844         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19845         (__x86_64_raw_data_cache_size): Likewise.
19846         (__x86_64_data_cache_size_half): Likewise.
19847         (__x86_64_raw_data_cache_size_half): Likewise.
19848         (__x86_64_shared_cache_size): Likewise.
19849         (__x86_64_raw_shared_cache_size): Likewise.
19850         (__x86_64_shared_cache_size_half): Likewise.
19851         (__x86_64_raw_shared_cache_size_half): Likewise.
19852         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19853         to ...
19854         (__x86_data_cache_size): This.
19855         (__x86_64_raw_data_cache_size): Renamed to ...
19856         (__x86_raw_data_cache_size): This.
19857         (__x86_64_data_cache_size_half): Renamed to ...
19858         (__x86_data_cache_size_half): This.
19859         (__x86_64_raw_data_cache_size_half): Renamed to ...
19860         (__x86_raw_data_cache_size_half): This.
19861         (__x86_64_shared_cache_size): Renamed to ...
19862         (__x86_shared_cache_size): This.
19863         (__x86_64_raw_shared_cache_size): Renamed to ...
19864         (__x86_raw_shared_cache_size): This.
19865         (__x86_64_shared_cache_size_half): Renamed to ...
19866         (__x86_shared_cache_size_half): This.
19867         (__x86_64_raw_shared_cache_size_half): Renamed to ...
19868         (__x86_raw_shared_cache_size_half): This.
19869         * sysdeps/x86_64/memcpy.S: Updated.
19870         * sysdeps/x86_64/memset.S: Likewise.
19871         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19872         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19873         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19875 2013-01-04  David S. Miller  <davem@davemloft.net>
19877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19879 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
19881         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19882         1 to avoid redefinition warning.
19883         (__USE_GNU): Don't define.
19884         (init_signaling_nan): Protoize.
19886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19888 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19890         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19892         (__cpymn): Likewise.
19893         (norm): Remove commented code.
19894         (denorm): Likewise.
19895         (__mp_dbl): Likewise.
19896         (__inv): Likewise.
19897         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19898         (__cpymn): Likewise.
19899         (norm): Remove commented code.
19900         (denorm): Likewise.
19901         (__mp_dbl): Likewise.
19902         (__inv): Likewise.
19904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19905         mp_no value for 1.0 and 2.0.
19906         (norm): Use RADIXI instead of radixi.d.
19907         (denorm): Likewise.
19908         (__mul): Use 0.0 instead of zero.d.
19909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19910         mp_no value for 1.0 and 2.0.
19911         (norm): Use RADIXI instead of radixi.d.
19912         (denorm): Likewise.
19913         (__mul): Use 0.0 instead of zero.d.
19915 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
19917         [BZ #14994]
19918         * math/s_casinh.c (__casinh): Reduce finite argument to first
19919         quadrant then set signs of results at the end.
19920         * math/s_casinhf.c (__casinhf): Likewise.
19921         * math/s_casinhl.c (__casinhl): Likewise.
19922         * math/libm-test.inc (casin_test): Add more tests.
19923         (casinh_test): Likewise.
19924         * sysdeps/i386/fpu/libm-test-ulps: Update.
19925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19927 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19929         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19931         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19933         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19934         declarations.
19935         (denorm): Likewise.
19936         (__mp_dbl): Likewise.
19937         (__inv): Likewise.
19939         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19940         and adjust the header comment.
19942         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19943         variable name from declaration.
19945 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
19947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19948         Initialize COMMON_CPUID_INDEX_7 element.
19949         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19950         (CPUID_RTM): Likewise.
19951         (HAS_RTM): Likewise.
19952         (COMMON_CPUID_INDEX_7): New enum.
19954 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
19956         [BZ #14981]
19957         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19958         size is zero, record memory as freed.
19960 2013-01-03  Andreas Jaeger  <aj@suse.de>
19962         * po/ia.po: Add new Interlingua translation.
19964 2012-01-03  Allan McRae  <allan@archlinux.org>
19966         * locale/programs/localedef.c: Fix description of '--posix' flag.
19968 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
19970         * NEWS: Update dates in second copyright notice.
19971         * README: Update copyright dates in example.
19972         * manual/libc.texinfo: Update copyright dates.
19973         * scripts/test-installation.pl: Update copyright date in --version
19974         output.
19976         * hurd/ctty-input.c: Fix copyright notice formatting.
19977         * hurd/ctty-output.c: Likewise.
19978         * hurd/dtable.c: Likewise.
19979         * hurd/hurd-raise.c: Likewise.
19980         * hurd/hurdprio.c: Likewise.
19981         * hurd/msgportdemux.c: Likewise.
19982         * misc/sys/file.h: Likewise.
19983         * misc/sys/ioctl.h: Likewise.
19984         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19985         * sysdeps/mach/hurd/chdir.c: Likewise.
19986         * sysdeps/mach/hurd/fchdir.c: Likewise.
19987         * sysdeps/mach/hurd/rename.c: Likewise.
19988         * sysdeps/mach/hurd/rmdir.c: Likewise.
19989         * sysdeps/mach/hurd/seekdir.c: Likewise.
19990         * sysdeps/mach/hurd/setsid.c: Likewise.
19991         * sysdeps/posix/wait3.c: Likewise.
19993         * All files with FSF copyright notices: Update copyright dates
19994         using scripts/update-copyrights.
19995         * intl/plural.c: Regenerated.
19996         * locale/programs/charmap-kw.h: Likewise.
19997         * locale/programs/locfile-kw.h: Likewise.
19999 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20001         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20002         four values.
20004         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20005         calculation loop and add branch prediction.
20007         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20008         check access beyond bounds of m1np.
20010         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20011         MPTWO.
20012         (__inv): Remove local variable MPTWO to use the global
20013         constant.
20014         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20015         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20016         variable MPTWO.
20017         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20018         MP3HALFS static const.
20020 2013-01-01  David S. Miller  <davem@davemloft.net>
20022         * po/ca.po: Update from translation team.
20024 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
20026         * scripts/update-copyrights: New file.
20027         * Makeconfig: Reformat copyright notice.
20028         * ctype/ctype.h: Likewise.
20029         * debug/swprintf_chk.c: Likewise.
20030         * elf/dl-cache.c: Likewise.
20031         * elf/dl-debug.c: Likewise.
20032         * elf/dl-object.c: Likewise.
20033         * grp/initgroups.c: Likewise.
20034         * hurd/Makefile: Likewise.
20035         * hurd/hurd/signal.h: Likewise.
20036         * hurd/hurdfault.c: Likewise.
20037         * hurd/hurdioctl.c: Likewise.
20038         * hurd/hurdlookup.c: Likewise.
20039         * hurd/intr-msg.c: Likewise.
20040         * iconv/gconv_open.c: Likewise.
20041         * libio/swprintf.c: Likewise.
20042         * locale/lc-ctype.c: Likewise.
20043         * locale/nl_langinfo.c: Likewise.
20044         * mach/Machrules: Likewise.
20045         * mach/Makefile: Likewise.
20046         * malloc/obstack.h: Likewise.
20047         * manual/Makefile: Likewise.
20048         * manual/tsort.awk: Likewise.
20049         * misc/bits/stab.def: Likewise.
20050         * nis/nis_print_group_entry.c: Likewise.
20051         * nis/nis_table.c: Likewise.
20052         * nis/nss_compat/compat-pwd.c: Likewise.
20053         * nis/nss_compat/compat-spwd.c: Likewise.
20054         * po/Makefile: Likewise.
20055         * posix/fnmatch.c: Likewise.
20056         * posix/regex.h: Likewise.
20057         * resolv/Makefile: Likewise.
20058         * resolv/nss_dns/dns-network.c: Likewise.
20059         * resolv/res_hconf.c: Likewise.
20060         * scripts/gen-sorted.awk: Likewise.
20061         * soft-fp/soft-fp.h: Likewise.
20062         * stdio-common/printf.h: Likewise.
20063         * stdlib/monetary.h: Likewise.
20064         * stdlib/random.c: Likewise.
20065         * stdlib/random_r.c: Likewise.
20066         * sysdeps/generic/Makefile: Likewise.
20067         * sysdeps/gnu/Makefile: Likewise.
20068         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20069         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20070         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20072         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20073         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20074         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20075         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20076         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20078         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20079         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20080         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20081         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20082         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20083         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20084         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20085         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20086         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20087         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20088         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20089         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20090         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20091         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20092         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20093         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20094         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20095         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20096         * sysdeps/mach/hurd/errnos.awk: Likewise.
20097         * sysdeps/mach/hurd/fork.c: Likewise.
20098         * sysdeps/mach/hurd/getcwd.c: Likewise.
20099         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20100         * sysdeps/mach/hurd/mmap.c: Likewise.
20101         * sysdeps/mach/hurd/utimes.c: Likewise.
20102         * sysdeps/mach/hurd/xmknod.c: Likewise.
20103         * sysdeps/posix/profil.c: Likewise.
20104         * sysdeps/posix/readdir_r.c: Likewise.
20105         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20106         * sysdeps/powerpc/bits/setjmp.h: Likewise.
20107         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20108         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20110         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20111         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20112         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20113         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20114         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20115         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20116         * sysdeps/pthread/lio_listio.c: Likewise.
20117         * sysdeps/sparc/dl-procinfo.h: Likewise.
20118         * sysdeps/unix/i386/sysdep.S: Likewise.
20119         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20120         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20121         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20122         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20124         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20125         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20126         * sysdeps/unix/sysv/linux/speed.c: Likewise.
20127         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20128         * sysdeps/wordsize-32/divdi3.c: Likewise.
20129         * time/sys/time.h: Likewise.
20130         * wcsmbs/Makefile: Likewise.
20132 2013-01-01  David S. Miller  <davem@davemloft.net>
20134         * po/fr.po: Update from translation team.
20136         * catgets/gencat.c: Update copyright year.
20137         * csu/version.c: Likewise.
20138         * debug/catchsegv.sh: Likewise.
20139         * debug/pcprofiledump.c: Likewise.
20140         * debug/xtrace.sh: Likewise.
20141         * elf/ldconfig.c: Likewise.
20142         * elf/ldd.bash.in: Likewise.
20143         * elf/pldd.c: Likewise.
20144         * elf/sotruss.ksh: Likewise.
20145         * elf/sprof.c: Likewise.
20146         * iconv/iconv_prog.c: Likewise.
20147         * iconv/iconvconfig.c: Likewise.
20148         * locale/programs/locale.c: Likewise.
20149         * locale/programs/localedef.c: Likewise.
20150         * login/programs/pt_chown.c: Likewise.
20151         * malloc/memusage.sh: Likewise.
20152         * malloc/memusagestat.c: Likewise.
20153         * malloc/mtrace.pl: Likewise.
20154         * nscd/nscd.c: Likewise.
20155         * nss/getent.c: Likewise.
20156         * nss/makedb.c: Likewise.
20157         * posix/getconf.c: Likewise.
20159 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20161         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20162         numbers.
20164 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
20166         * math/bits/mathcalls.h (modf): Use __nonnull.
20168 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20170         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20171         (split): Use macro CN instead of the bare value.
20172         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20173         could be used.
20174         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20175         instead of the bare value.
20176         (power1): Likewise.
20178 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20180         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20181         __ATAN_TWOM.
20182         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20184         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20185         their values.
20186         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20187         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20188         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20189         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20191 2012-12-28  Andreas Jaeger  <aj@suse.de>
20193         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
20194         values are from Linux 3.7.
20196         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20197         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
20199 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20201         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20202         TRUE case.
20204         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20205         (norm): Likewise.
20206         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20207         variables with preprocessor constants.
20208         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20209         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20210         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20212 2012-12-27  Bruno Haible  <bruno@clisp.org>
20214         [BZ #14317]
20215         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20216         only if needed.
20218 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20220         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20221         and use variable directly.
20222         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20224         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20225         MPONE.
20226         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20227         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20228         variable MPONE.
20229         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20230         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20231         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20232         include directive.  Remove local variable MPONE.
20233         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20234         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20235         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20237 2012-12-25  David S. Miller  <davem@davemloft.net>
20239         * version.h (RELEASE): Set to "development".
20240         (VERSION): Set to "2.17.90".
20241         * NEWS: Add 2.18 section.
20243 2012-12-21  David S. Miller  <davem@davemloft.net>
20245         * po/hr.po: Update from translation team.
20247 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20249         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20251 2012-12-19  Steve Ellcey  <sellcey@mips.com>
20253         * NEWS:  Mention new memcpy for MIPS.
20255 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20257         * manual/contrib.texi (Contributors): Spelling correction.
20259 2012-12-15  David S. Miller  <davem@davemloft.net>
20261         * po/ru.po: Update from translation team.
20263 2012-12-13  David S. Miller  <davem@davemloft.net>
20265         * NEWS: Mention IFUNC testsuite enhancements.
20267         * po/pl.po: Update from translation team.
20268         * po/bg.po: Likewise.
20270         * manual/contrib.texi (Contributors): Update entries for Hongjiu
20271         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
20273 2012-12-11  David S. Miller  <davem@davemloft.net>
20275         * po/sv.po: Update from translation team.
20277         * po/vi.po: Update from translation team.
20279         * po/cs.po: Update from translation team.
20281         * po/de.po: Update from translation team.
20282         * po/eo.po: Likewise.
20283         * po/nl.po: Likewise.
20285 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20287         [BZ #14246]
20288         * manual/argp.texi (Argp Helper Functions): Move node to follow
20289         Argp Parsing State.
20291         [BZ #14872]
20292         * manual/conf.texi (Limits on File System Capacity): Mention if
20293         terminating null is included in the max size.
20295 2012-12-10  Andreas Jaeger  <aj@suse.de>
20297         * po/cs.po: Update from translation team.
20299 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20301         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20302         void pointer and cast to uintptr_t.
20303         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20304         path.
20305         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20306         * sysdeps/s390/s390-64/memset.S: Likewise.
20308 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
20310         [BZ #14833]
20311         * menual/message.texi (Message Translation): Fix typos.
20312         (Helper programs for gettext): Likewise.
20314 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
20316         [BZ #14898]
20317         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20318         Change to -1.
20320 2012-12-07  David S. Miller  <davem@davemloft.net>
20322         * po/libc.pot: Update.
20324 2012-12-07  Richard Henderson  <rth@redhat.com>
20326         [BZ #10114]
20327         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20328         normal/normal case to before the switch.
20329         (_FP_DIV): Likewise.
20331 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
20332             Mike Frysinger  <vapier@gentoo.org>
20334         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20335         check for __NR_fadvise64_64.
20337 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
20339         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20340         0, not just to plain "0" as a statement.
20341         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20342         with cw.
20344 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
20346         * NEWS: Use sourceware.org in Bugzilla URL.
20348 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20351         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20353         * stdio-common/tst-put-error.c (do_test): Add newline to the
20354         padded test to ensure flush.
20356 2012-12-05  Jeff Law  <law@redhat.com>
20358         * sunrpc/etc.rpc (fedfs_admin): Add entry.
20360 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
20362         * README: Don't refer to ports add-on as distributed separately.
20363         Mention AArch64 in list of systems supported in the ports add-on.
20365         * LICENSES: Add more non-FSF copyright and license notices.
20367         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20368         ((unused)).
20370         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20372         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20373         10000 as width of padded output.
20375 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20377         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20379         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20380         variable LX with __attribute__ ((unused)).
20381         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20382         Likewise.
20383         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20385         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20386         with __attribute__ ((unused)).
20388 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
20390         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20392 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20394         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20395         (CFLAGS-nldbl-acos.c): New variable.
20396         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20397         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20398         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20399         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20400         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20401         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20402         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20403         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20404         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20405         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20406         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20407         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20408         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20409         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20410         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20411         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20412         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20413         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20414         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20415         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20416         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20417         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20418         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20419         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20420         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20421         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20422         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20423         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20424         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20425         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20426         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20427         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20428         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20429         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20430         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20431         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20432         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20433         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20434         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20435         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20436         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20437         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20438         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20439         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20440         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20441         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20442         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20443         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20444         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20445         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20446         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20447         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20448         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20449         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20450         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20451         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20452         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20453         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20454         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20455         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20456         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20457         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20458         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20459         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20460         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20461         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20462         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20463         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20464         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20465         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20466         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20467         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20468         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20469         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20470         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20471         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20472         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20473         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20474         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20475         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20476         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20477         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20478         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20479         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20480         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20481         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20482         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20483         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20484         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20485         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20486         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20487         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20488         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20489         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20490         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20491         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20492         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20495         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20497         [BZ #14914]
20498         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20499         whole low double instead of just low 47 bits when splitting values
20500         into two parts.
20502 2012-12-03  Allan McRae  <allan@archlinux.org>
20504         * manual/stdio.texi (Predefined Printf Handlers): Remove
20505         @hsep and @vsep usage.
20507 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
20509         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20510         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20512 2012-12-03  Jeff Law  <law@redhat.com>
20514         * time/sys/time.h (settimeofday): Do not mark TV argument
20515         as __nonnull.
20517 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
20519         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20520         when currently writing and seek to current position when not.
20521         * libio/Makefile (tests): Remove bug-fclose1.
20522         * libio/bug-fclose1.c: Delete.
20524 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
20526         * manual/arith.texi (feenableexcept): Fix typo.
20527         (fedisableexcept): Likewise.
20529 2012-11-30  Roland McGrath  <roland@hack.frob.com>
20531         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20532         second, differently-typed declaration, rather than a cast.
20534 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20536         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20537         * include/rpc/svc.h: ... here.
20539 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
20541         [BZ #13013]
20542         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20543         depending n and resplen2 to catch cases where answer
20544         equals answerp2.
20546 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
20548         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20549         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20551 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
20553         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20555 2012-11-29  Roland McGrath  <roland@hack.frob.com>
20557         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20559 2012-11-28  Jeff Law  <law@redhat.com>
20561         [BZ #13761]
20562         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20563         dataset_temporary.  Track alloca usage into alloca_used.
20564         If dataset is large allocate and release it via malloc/free.
20566 2012-06-04  Florian Weimer  <fweimer@redhat.com>
20568         [BZ #14197]
20569         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20571 2012-11-28  David S. Miller  <davem@davemloft.net>
20573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20575 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20577         [BZ #14803]
20578         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20579         of pi/2 rounded to nearest to 64 bits.
20580         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20581         nearest to 64 bits.
20582         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20583         bits.
20585 2012-11-28  Jeff Law <law@redhat.com>
20586             Martin Osvald <mosvald@redhat.com>
20588         [BZ #14889]
20589         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20590         * sunrpc/svc.c: Include time.h.
20591         (__svc_accept_failed): New function.
20592         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20593         any reason other than EINTR, call __svc_accept_failed.
20594         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20595         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20597 2012-11-28  Andreas Schwab  <schwab@suse.de>
20599         * scripts/abilist.awk: Also handle indirect functions in .opd
20600         section.
20602 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20604         [BZ #13881]
20605         * sysdeps/x86/fpu/powl_helper.c: New file.
20606         * sysdeps/x86/fpu/Makefile: Likewise.
20607         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20608         (p3): New object.
20609         (__ieee754_powl): Use __powl_helper for finite arguments except
20610         integer exponents below 8.
20611         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20612         (p3): New object.
20613         (__ieee754_powl): Use __powl_helper for finite arguments except
20614         integer exponents below 8.
20615         * math/libm-test.inc (pow_test): Add more tests and enable some
20616         previously disabled tests.
20617         * sysdeps/i386/fpu/libm-test-ulps: Update.
20618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20620 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20621             Carlos O'Donell  <carlos_odonell@mentor.com>
20623         * nss/makedb.c (is_prime): Assert that input is odd and greater
20624         than 4.  Note that fact in a comment too.
20625         (next_prime): Add 4 to input.
20627 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20629         [BZ #11741]
20630         * libio/Makefile (tests): Add test case tst-fwrite-error.
20631         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20632         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20633         * libio/tst-fwrite-error.c: New test case.
20635 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
20637         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20638         before casting to void *.
20639         * include/libc-internal.h (__pointer_type): New macro.
20640         (__integer_if_pointer_type_sub): Likewise.
20641         (__integer_if_pointer_type): Likewise.
20642         (cast_to_integer): Likewise.
20643         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20644         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20645         before casting to atomic64_t.
20646         (atomic_exchange_acq): Likewise.
20647         (__arch_exchange_and_add_body): Likewise.
20648         (__arch_add_body): Likewise.
20649         (atomic_add_negative): Likewise.
20650         (atomic_add_zero): Likewise.
20652 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
20654         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20655         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20656         (add_fdes): Likewise.
20657         (linear_search_fdes): Likewise.
20658         (binary_search_unencoded_fdes): Likewise.
20660 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
20662         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20664 2012-11-24  Adam Conrad  <adconrad@0c3.net>
20666         * configure.in: Autodetect C++ header directories.
20667         * configure: Regenerated.
20669 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
20671         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20673 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
20675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20677 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
20679         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20680         LDBL_MANT_DIG == 106]: Disable some tests.
20681         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20682         Likewise.
20683         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20684         Likewise.
20686         [BZ #14871]
20687         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20688         input for small inputs.  Return +/- pi/2 for large inputs.
20689         * math/libm-test.inc (atan_test): Add more tests.
20691         * sysdeps/generic/unwind-dw2-fde-glibc.c
20692         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20693         __attribute__ ((unused)).
20695         [BZ #14645]
20696         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20697         x * y if x and y are nonzero and z is zero.
20699         [BZ #14811]
20700         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20701         nonzero exponents with absolute value below 0x1p-117 to +/-
20702         0x1p-117.
20704         [BZ #14869]
20705         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20706         up arguments below 2**-450, not just those below 2**-500.
20707         * math/libm-test.inc (hypot_test): Add another test.
20709         [BZ #14868]
20710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20711         Return a+b for ratio over 2**120, not 2**60.
20712         * math/libm-test.inc (hypot_test): Add another test.
20714         * math/libm-test.inc (clog_test): Use
20715         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20716         (clog10_test): Likewise.
20718         [BZ #6778]
20719         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20721 2012-11-22  Andreas Schwab  <schwab@suse.de>
20723         * sysdeps/i386/fpu/libm-test-ulps: Update.
20725 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
20727         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20728         printf output with newline.
20730 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
20732         [BZ #14865]
20733         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20734         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20735         -z nodlopen, -z initfirst and -z execstack support.
20736         * configure: Regenerated.
20738         * elf/elf.h (DF_1_NODIRECT): New macro.
20739         (DF_1_IGNMULDEF): Likewise.
20740         (DF_1_NOKSYMS): Likewise.
20741         (DF_1_NOHDR): Likewise.
20742         (DF_1_EDITED): Likewise.
20743         (DF_1_NORELOC): Likewise.
20744         (DF_1_SYMINTPOSE): Likewise.
20745         (DF_1_GLOBAUDIT): Likewise.
20746         (DF_1_SINGLETON): Likewise.
20747         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20748         DT_1_SUPPORTED_MASK bits.
20749         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20751 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
20753         * sysdeps/unix/make-syscalls.sh: Document prefixes.
20755 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
20757         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20758         macro.
20760         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20761         (sendmmsg): Move declarations...
20762         * socket/sys/socket.h: ... here.
20763         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20764         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20765         include it from...
20766         * socket/recvmmsg.c: ... this new file.
20767         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20768         (sendmmsg): Rename to __sendmmsg, create weak alias and make
20769         definition of __sendmmsg hidden.
20770         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20771         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20772         Move ENOSYS stub into and include it from...
20773         * socket/sendmmsg.c: ... this new file.
20774         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20775         (sysdep_routines): Move recvmmsg and sendmmsg...
20776         * socket/Makefile (routines): ... here.
20777         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20778         (GLIBC_PRIVATE): Add __sendmmsg.
20779         * include/sys/socket.h (__sendmmsg): Add declarations.
20780         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20781         sendmmsg.
20783 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
20785         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20786         variable I1 with __attribute__ ((unused)).
20787         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20789 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20791         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20792         DUMMY variables with __attribute__ ((unused)).
20794         * bits/byteswap.h: Include <bits/types.h>.
20795         (__bswap_64): Use __uint64_t instead of unsigned long long int.
20797 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20799         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20800         string_t.  Do not manually set errno.
20801         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20802         length with __strnlen.  Make sure to both set errno and return it on
20803         failure.
20805 2012-11-19  David S. Miller  <davem@davemloft.net>
20807         With help from Joseph Myers.
20808         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20809         very large arguments properly.
20810         * math/libm-test.inc (atan_test): New tests.
20811         (atan2_test): New tests.
20812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20815 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20817         [BZ #14856]
20818         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20819         Define to 3.
20821         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20822         [POSIX] (EADDRNOTAVAIL): Likewise.
20823         [POSIX] (EAFNOSUPPORT): Likewise.
20824         [POSIX] (EALREADY): Likewise.
20825         [POSIX] (ECONNABORTED): Likewise.
20826         [POSIX] (ECONNREFUSED): Likewise.
20827         [POSIX] (ECONNRESET): Likewise.
20828         [POSIX] (EDESTADDRREQ): Likewise.
20829         [POSIX] (EDQUOT): Likewise.
20830         [POSIX] (EHOSTUNREACH): Likewise.
20831         [POSIX] (EIDRM): Likewise.
20832         [POSIX] (EISCONN): Likewise.
20833         [POSIX] (ELOOP): Likewise.
20834         [POSIX] (EMULTIHOP): Likewise.
20835         [POSIX] (ENETDOWN): Likewise.
20836         [POSIX] (ENETUNREACH): Likewise.
20837         [POSIX] (ENOBUFS): Likewise.
20838         [POSIX] (ENODATA): Likewise.
20839         [POSIX] (ENOLINK): Likewise.
20840         [POSIX] (ENOMSG): Likewise.
20841         [POSIX] (ENOPROTOOPT): Likewise.
20842         [POSIX] (ENOSR): Likewise.
20843         [POSIX] (ENOSTR): Likewise.
20844         [POSIX] (ENOTCONN): Likewise.
20845         [POSIX] (ENOTSOCK): Likewise.
20846         [POSIX] (EOPNOTSUPP): Likewise.
20847         [POSIX] (EOVERFLOW): Likewise.
20848         [POSIX] (EPROTO): Likewise.
20849         [POSIX] (EPROTONOSUPPORT): Likewise.
20850         [POSIX] (EPROTOTYPE): Likewise.
20851         [POSIX] (ESTALE): Likewise.
20852         [POSIX] (ETIME): Likewise.
20853         [POSIX] (ETXTBSY): Likewise.
20854         [POSIX] (EWOULDBLOCK): Likewise.
20855         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20856         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20857         [POSIX] (SEEK_CUR): Likewise.
20858         [POSIX] (SEEK_END): Likewise.
20859         [POSIX || UNIX98] (mode_t): Do not require.
20860         [POSIX] (off_t): Likewise.
20861         [POSIX] (pid_t): Likewise.
20862         [POSIX] (sys/stat.h): Do not allow header.
20863         [POSIX] (unistd.h): Likewise.
20864         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20865         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20866         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20867         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20868         require.
20869         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20870         sigevent): Specify elements.
20871         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20872         entry.
20873         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20874         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20876         * conform/data/cpio.h-data [POSIX]: Disable whole file.
20877         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20878         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20879         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20880         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20881         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20882         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20883         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20884         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20885         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20886         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20887         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20888         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20889         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20890         Likewise.
20891         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20892         Likewise.
20893         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20894         Likewise.
20895         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20896         Likewise.
20897         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20898         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20899         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20900         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20901         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20902         Specify lower bound on value.
20903         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20904         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20905         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20906         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20907         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20908         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20909         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20910         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20911         value.
20912         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20913         as optional.
20914         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20915         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20916         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20917         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20918         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20919         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20920         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20921         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20922         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20923         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20924         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20925         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20926         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20927         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20928         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20929         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20930         entry.
20931         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20932         optional.
20933         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20934         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20935         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20936         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20937         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20938         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20939         Likewise.
20940         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20941         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20942         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20943         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20944         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
20945         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20946         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20947         as optional.
20948         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20949         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20950         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20951         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20952         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20953         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20954         specify as optional.
20955         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20956         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20957         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20958         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20959         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20960         [XPG3] (NL_LANGMAX): Likewise.
20961         [POSIX || XPG3] (NL_MSGMAX): Likewise.
20962         [POSIX || XPG3] (NL_NMAX): Likewise.
20963         [POSIX || XPG3] (NL_SETMAX): Likewise.
20964         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20965         [XPG3] (NZERO): Likewise.
20966         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20967         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20968         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20969         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20970         (REG_ERANGE): Expect.
20971         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20972         optional-constant.
20973         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20974         Use (void) in prototype.
20975         [POSIX] (*_t): Allow.
20976         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20977         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20978         (WRDE_BADVAL): Expect.
20980         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20981         expect.
20982         [XPG3 || XPG4] (O_RSYNC): Likewise.
20983         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20984         Likewise.
20985         [XPG3 || XPG4] (pthread_sigmask): Likewise.
20986         [XPG3 || XPG4] (sigqueue): Likewise.
20987         [XPG3 || XPG4] (sigtimedwait): Likewise.
20988         [XPG3 || XPG4] (sigwaitinfo): Likewise.
20989         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20990         [XPG3 || XPG4] (vsnprintf): Likewise.
20991         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20992         Likewise.
20993         [XPG3 || XPG4] (blksize_t): Likewise.
20994         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20995         Likewise.
20996         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20997         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20998         [XPG3 || XPG4] (struct itimerspec): Likewise.
20999         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21000         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21001         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21002         [XPG3 || XPG4] (clockid_t): Likewise.
21003         [XPG3 || XPG4] (timer_t): Likewise.
21004         [XPG3 || XPG4] (clock_getres): Likewise.
21005         [XPG3 || XPG4] (clock_gettime): Likewise.
21006         [XPG3 || XPG4] (clock_settime): Likewise.
21007         [XPG3 || XPG4] (nanosleep): Likewise.
21008         [XPG3 || XPG4] (timer_create): Likewise.
21009         [XPG3 || XPG4] (timer_delete): Likewise.
21010         [XPG3 || XPG4] (timer_gettime): Likewise.
21011         [XPG3 || XPG4] (timer_getoverrun): Likewise.
21012         [XPG3 || XPG4] (timer_settime): Likewise.
21013         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21014         [XPG3 || XPG4] (getlogin_r): Likewise.
21015         [XPG3 || XPG4] (pread): Likewise.
21016         [XPG3 || XPG4] (pthread_atfork): Likewise.
21017         [XPG3 || XPG4] (pwrite): Likewise.
21019         [BZ #14835]
21020         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21021         <bits/siginfo.h>.
21023 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21025         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21026         finalizing MALLSTREAM.
21028         * sysdeps/mach/hurd/syncfs.c: New file.
21030 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21032         [BZ #14719]
21033         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21034         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21035         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21036         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21037         (_nss_dns_gethostbyname4_r): Likewise.
21038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21039         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21041 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
21043         [BZ #13763]
21044         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21046 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
21048         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21049         * elf/cache.c (print_entry): Print ",AArch64" for
21050         FLAG_AARCH64_LIB64
21052         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21053         * elf/cache.c (print_entry): Print ",hard-float" for
21054         FLAG_ARM_LIBHF.
21056 2012-11-18  David S. Miller  <davem@davemloft.net>
21058         With help from Joseph Myers.
21059         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21060         cutoff to 2**-13.
21061         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21062         cutoff to 2**-25.
21063         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21064         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21065         small.
21066         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21067         * math/libm-test.inc (y0_test): New tests.
21068         (y1_test): New tests.
21069         * sysdeps/i386/fpu/libm-test-ulps: Update.
21070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21073 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
21075         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21076         64-bit targets.
21077         * configure: Regenerated.
21079 2012-11-17  David S. Miller  <davem@davemloft.net>
21081         [BZ #14811]
21082         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21083         nonzero exponents with absolute value below 0x1p-128 to +/-
21084         0x1p-128.
21086 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
21088         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21090         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21092         * posix/getconf-speclist.c: New file.
21093         * posix/posix-envs.def: Likewise.
21094         * posix/confstr.c (START_ENV_GROUP): New macro.
21095         (END_ENV_GROUP): Likewise.
21096         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21097         (KNOWN_PRESENT_ENV_STRING): Likewise.
21098         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21099         (UNKNOWN_ENVIRONMENT): Likewise.
21100         (confstr): Include posix-envs.def instead of handling
21101         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21102         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21103         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21104         (END_ENV_GROUP): Likewise.
21105         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21106         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21107         (UNKNOWN_ENVIRONMENT): Likewise.
21108         (__sysconf): Include posix-envs.def instead of handling associated
21109         cases directly here.
21110         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21111         preprocessing getconf-speclist.c rather than running getconf or
21112         generating empty file.
21114 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
21116         * scripts/check-local-headers.sh: Ignore 'mach' headers.
21118 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
21120         [BZ #14672]
21121         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21123 2012-11-16  David S. Miller  <davem@davemloft.net>
21125         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21126         smaller than LDBL_EPSILON/2.0L, just return xm1.
21128 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
21130         * elf/tst-array1.c (init): Set constructor priority to 1000.
21131         (fini): Set destructor priority to 1000.
21132         * elf/tst-array2dep.c: Likewise.
21134 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21136         [BZ #11741]
21137         * libio/fileops.c (_IO_new_file_write): Correctly return error.
21138         (_IO_new_file_xsputn): Also return EOF if none of the input
21139         data was written when overflow failed.
21140         * libio/iopadn.c (_IO_padn): Likewise.
21141         * libio/iowpadn.c (_IO_wpadn): Likewise.
21142         * stdio-common/tst-put-error.c: Add copyright notice.
21143         (do_test): Add case for printing padded string.
21144         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21145         _IO_padn returned error.
21146         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21147         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21148         return EOF.
21150 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21152         * libio/libioP.h: Add comment note that the references to C++
21153         bits are now obsolete.
21155 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21157         * math/libm-test.inc (check_complex): Use asprintf.
21159 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
21161         * debug/pcprofiledump.c (print_version): Update copyright year.
21162         * malloc/memusagestat.c (print_version): Likewise.
21164 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
21166         [BZ #14831]
21167         * elf/Makefile (tests): Add tst-audit8.
21168         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21169         ($(objpfx)tst-audit8.out): New target.
21170         (tst-audit8-ENV): New variable.
21171         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21172         audit if l_reloc_result is NULL.
21173         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21174         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21175         * elf/tst-audit8.c: New file.
21177 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21179         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21180         * misc/Makefile (CFLAGS-select.c): Define.
21181         * posix/Makefile (CFLAGS-pause.c): Define.
21183 2012-11-13  David S. Miller  <davem@davemloft.net>
21185         * crypt/Makefile: Move test targets after toplevel Rules
21186         inclusion.  Grab any necessary sysdep routines when linking.
21187         * crypt/md5.c (md5_process_block): Remove define, we will always
21188         name it __md5_process_block.
21189         (md5_finish_ctx): Update md5_process_block call.
21190         (md5_stream): Likewise.
21191         (md5_process_bytes): Likewise.
21192         (md5_process_block): Rename to __md5_process_block and move to ...
21193         * crypt/md5-block.c: ... here.
21194         * crypt/sha256.c (sha256_process_block): Move to ...
21195         * crypt/sha256-block.c: ... here.
21196         * crypt/sha512.c (sha512_process_block): Move to ...
21197         * crypt/sha512-block.c: ... here.
21198         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21199         path.
21200         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21201         * sysdeps/sparc/sparc64/multiarch/Makefile
21202         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21203         crypt subdir.
21204         (localedef-aux): Add md5 crypto assembler when in locale subdir.
21205         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21206         multiarch changes.
21207         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21208         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21209         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21210         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21211         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21212         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21213         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21214         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21215         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21216         file.
21217         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21218         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21219         file.
21220         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21222 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
21224         * timezone/tzselect.ksh: Update from tzcode git revision
21225         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21226         * timezone/zdump.c: Likewise.
21227         * timezone/zic.c: Likewise.
21228         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21229         in TZVERSION setting, not $(PKGVERSION).
21230         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
21231         REPORT_BUGS_TO settings.
21233         [BZ #14838]
21234         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21235         macro.
21237 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21239         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21240         detection to immediately after _FP_ROUND().
21241         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21242         bits are 0.
21244 2012-11-11  David S. Miller  <davem@davemloft.net>
21246         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21247         inttypes.h
21248         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21249         __close rather than their public counterparts.
21251 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
21253         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21254         file.
21255         [UNIX98] (sem_timedwait): Do not expect.
21256         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21257         [XPG4 || UNIX98] (sockatmark): Do not expect.
21258         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21259         (clock_getcpuclockid): Do not expect.
21260         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21261         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21262         Do not expect.
21263         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21264         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21265         [UNIX98] (vwscanf): Likewise.
21266         [UNIX98] (vswscanf): Likewise.
21268 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
21270         * timezone/version.h: Remove file.
21271         * timezone/README: Do not refer to version.h.
21272         * timezone/Makefile ($(objpfx)zic.o): New dependency on
21273         $(objpfx)version.h.
21274         ($(objpfx)zdump.o): Likewise.
21275         ($(objpfx)version.h): New target.
21277         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21278         2012i.
21279         * timezone/README: Don't mention modification to tzselect.ksh.
21280         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21281         work on unmodified tzselect.ksh.  Substitute version numbers in
21282         tzselect.ksh.
21284         * Makefile (format-me): Remove.
21285         (INSTALL): Adjust indentation.  Use commands directly instead of
21286         using $(format-me).
21288         * aclocal.m4 (ACX_PKGVERSION): New macro.
21289         (ACX_BUGURL): Likewise.
21290         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21291         (PKGVERSION): New AC_DEFINE_UNQUOTED.
21292         (REPORT_BUGS_TO): Likewise.
21293         * configure: Regenerated.
21294         * config.h.in (PKGVERSION): New macro.
21295         (REPORT_BUGS_TO): Likewise.
21296         * config.make.in (PKGVERSION): New variable.
21297         (PKGVERSION_TEXI): Likewise.
21298         (REPORT_BUGS_TO): Likewise.
21299         (REPORT_BUGS_TEXI): Likewise.
21300         * Makefile (format-me): Use -I$(common-objpfx)manual.
21301         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21302         ($(common-objpfx)manual/%): New target.
21303         (manual/%): Remove target.
21304         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21305         (print_version): Use PKGVERSION.
21306         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21307         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21308         and REPORT_BUGS_TO.
21309         ($(objpfx)xtrace): Likewise.
21310         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21311         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21312         (print_version): Use PKGVERSION.
21313         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21314         (do_version): Use PKGVERSION.
21315         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21316         REPORT_BUGS_TO.
21317         (common-ldd-rewrite): Likewise.
21318         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21319         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21320         (print_version): Use PKGVERSION.
21321         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21322         * elf/pldd.c (argp_program_bug_address): Remove variable.
21323         (more_help): New function.
21324         (argp): Use more_help.
21325         (print_version): Use PKGVERSION.
21326         * elf/sln.c (main): Use PKGVERSION.
21327         (usage): Use REPORT_BUGS_TO.
21328         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21329         (top level): Use PKGVERSION.
21330         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21331         (print_version): Use PKGVERSION.
21332         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21333         (print_version): Use PKGVERSION.
21334         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21335         (print_version): Use PKGVERSION.
21336         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21337         (print_version): Use PKGVERSION.
21338         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21339         (print_version): Use PKGVERSION.
21340         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21341         (print_version): Use PKGVERSION.
21342         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21343         and BUGURL.
21344         ($(objpfx)memusage): Likewise.
21345         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21346         (do_version): Use PKGVERSION.
21347         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21348         (print_version): Use PKGVERSION.
21349         * malloc/mtrace.pl ($PACKAGE): Remove variable.
21350         ($PKGVERSION): New variable.
21351         ($REPORT_BUGS_TO): Likewise.
21352         (usage): Use $REPORT_BUGS_TO.
21353         (top level): Use $PKGVERSION.
21354         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21355         ($(objpfx)pkgvers.texi): New rule.
21356         ($(objpfx)stamp-pkgvers): Likewise.
21357         * manual/install.texi: Include pkgvers.texi.
21358         (--with-pkgversion): Document new configure option.
21359         (--with-bugurl): Likewise.
21360         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21361         than necessarily for this particular distribution.  Use
21362         REPORT_BUGS_TO for where to report bugs.
21363         * INSTALL: Regenerated.
21364         * manual/libc.texinfo: Include pkgvers.texi.
21365         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21366         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21367         (print_version): Use PKGVERSION.
21368         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21369         (print_version): Use PKGVERSION.
21370         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21371         (print_version): Use PKGVERSION.
21372         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21373         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21374         macro.
21375         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21376         (print_version): Use PKGVERSION.
21377         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21378         (print_version): Use PKGVERSION.
21379         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21380         and PKGVERSION.
21382         * timezone/checktab.awk: Update from tzcode 2012i.
21383         * timezone/ialloc.c: Likewise.
21384         * timezone/private.h: Likewise.
21385         * timezone/scheck.c: Likewise.
21386         * timezone/tzfile.h: Likewise.
21387         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21388         (TZVERSION): Hardcode tzcode version number.
21389         * timezone/zdump.c: Update from tzcode 2012i.
21390         * timezone/zic.c: Likewise.
21391         * timezone/version.h: New file.
21392         * timezone/README: Describe version.h.  Update upstream location.
21394         [BZ #14824]
21395         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21396         (mktemp): Enable declaration.
21397         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21398         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21399         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21400         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21401         Likewise.
21402         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21403         Likewise.
21404         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21405         Likewise.
21406         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21407         Likewise.
21408         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21409         Likewise.
21410         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21411         Likewise.
21413         [BZ #14821]
21414         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21415         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
21416         for copies of such integer values.
21417         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21418         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21420 2012-11-09  Andreas Jaeger  <aj@suse.de>
21422         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21423         definitions and declarations that are provided by
21424         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21426 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21428         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21429         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21430         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21431         definition.
21433 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21435         * elf/elf.h: Update comment before AArch64 relocations.
21437 2012-11-07  David S. Miller  <davem@davemloft.net>
21439         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21440         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21441         (__start_context): Declare.
21442         (__makecontext_ret): Delete.
21443         (__makecontext): Hook up __start_context instead of
21444         __makecontext_ret.
21445         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21446         (sysdep_routines): Add __start_context when in stdlib.
21448 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21450         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21451         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21452         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
21453         hardcoded "nm".
21454         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
21455         (READELF): New variable.  Use it instead of hardcoded "readelf".
21457 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21459         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21460         * sysdeps/x86/Makefile: Here.
21461         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21462         * sysdeps/x86/tst-xmmymm.sh: This.
21464 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21466         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21467         expectations.
21468         [UNIX98] (pthread_barrier_t): Do not expect.
21469         [UNIX98] (pthread_barrierattr_t): Likewise.
21470         [UNIX98] (pthread_spinlock_t): Likewise.
21471         [UNIX98] (pthread_barrier_destroy): Likewise.
21472         [UNIX98] (pthread_barrier_init): Likewise.
21473         [UNIX98] (pthread_barrier_wait): Likewise.
21474         [UNIX98] (pthread_barrierattr_destroy): Likewise.
21475         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21476         [UNIX98] (pthread_barrierattr_init): Likewise.
21477         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21478         [UNIX98] (pthread_getcpuclockid): Likewise.
21479         [UNIX98] (pthread_mutex_timedlock): Likewise.
21480         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21481         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21482         [UNIX98] (pthread_sigmask): Likewise.
21483         [UNIX98] (pthread_spin_destroy): Likewise.
21484         [UNIX98] (pthread_spin_init): Likewise.
21485         [UNIX98] (pthread_spin_lock): Likewise.
21486         [UNIX98] (pthread_spin_trylock): Likewise.
21487         [UNIX98] (pthread_spin_unlock): Likewise.
21488         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21489         Do not expect.
21490         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21491         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21492         [XPG3 || XPG4] (pthread_cond_t): Likewise.
21493         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21494         [XPG3 || XPG4] (pthread_key_t): Likewise.
21495         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21496         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21497         [XPG3 || XPG4] (pthread_once_t): Likewise.
21498         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21499         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21500         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21501         [XPG3 || XPG4] (pthread_t): Likewise.
21503         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21504         not expect.
21505         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21507         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21508         Change function return type to int.
21510         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21511         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21512         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21513         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21514         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21515         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21516         [!POSIX] (posix_madvise): Likewise.
21517         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21518         && !UNIX98].
21519         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21520         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21521         (mode_t): Likewise.
21522         (posix_mem_offset): Likewise.
21523         (posix_typed_mem_get_info): Likewise.
21524         (posix_typed_mem_open): Likewise.
21526         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21527         Change condition to [XOPEN2K8].
21529         * conform/conformtest.pl: Preprocess allow-header data with -x c
21530         instead of from stdin.
21531         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21532         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21533         [C99-based standards] (cerfc): Likewise.
21534         [C99-based standards] (cexp2): Likewise.
21535         [C99-based standards] (cexpm1): Likewise.
21536         [C99-based standards] (clog10): Likewise.
21537         [C99-based standards] (clog1p): Likewise.
21538         [C99-based standards] (clog2): Likewise.
21539         [C99-based standards] (clgamma): Likewise.
21540         [C99-based standards] (ctgamma): Likewise.
21541         [C99-based standards] (cerff): Likewise.
21542         [C99-based standards] (cerfcf): Likewise.
21543         [C99-based standards] (cexp2f): Likewise.
21544         [C99-based standards] (cexpm1f): Likewise.
21545         [C99-based standards] (clog10f): Likewise.
21546         [C99-based standards] (clog1pf): Likewise.
21547         [C99-based standards] (clog2f): Likewise.
21548         [C99-based standards] (clgammaf): Likewise.
21549         [C99-based standards] (ctgammaf): Likewise.
21550         [C99-based standards] (cerfl): Likewise.
21551         [C99-based standards] (cerfcl): Likewise.
21552         [C99-based standards] (cexp2l): Likewise.
21553         [C99-based standards] (cexpm1l): Likewise.
21554         [C99-based standards] (clog10l): Likewise.
21555         [C99-based standards] (clog1pl): Likewise.
21556         [C99-based standards] (clog2l): Likewise.
21557         [C99-based standards] (clgammal): Likewise.
21558         [C99-based standards] (ctgammal): Likewise.
21559         * conform/data/inttypes.h-data [C99-based standards]: Include
21560         stdint.h-data.  Remove all expectations for stdint.h contents.
21561         [C99-based standards] (PRI*): Do not allow.
21562         [C99-based standards] (SCN*): Likewise.
21563         [C99-based standards] (*_t): Likewise.
21564         [C99-based-standards] (PRId8): Expect macro.
21565         [C99-based-standards] (PRIi8): Likewise.
21566         [C99-based-standards] (PRIo8): Likewise.
21567         [C99-based-standards] (PRIu8): Likewise.
21568         [C99-based-standards] (PRIx8): Likewise.
21569         [C99-based-standards] (PRIX8): Likewise.
21570         [C99-based-standards] (SCNd8): Likewise.
21571         [C99-based-standards] (SCNi8): Likewise.
21572         [C99-based-standards] (SCNo8): Likewise.
21573         [C99-based-standards] (SCNu8): Likewise.
21574         [C99-based-standards] (SCNx8): Likewise.
21575         [C99-based-standards] (PRIdLEAST8): Likewise.
21576         [C99-based-standards] (PRIiLEAST8): Likewise.
21577         [C99-based-standards] (PRIoLEAST8): Likewise.
21578         [C99-based-standards] (PRIuLEAST8): Likewise.
21579         [C99-based-standards] (PRIxLEAST8): Likewise.
21580         [C99-based-standards] (PRIXLEAST8): Likewise.
21581         [C99-based-standards] (SCNdLEAST8): Likewise.
21582         [C99-based-standards] (SCNiLEAST8): Likewise.
21583         [C99-based-standards] (SCNoLEAST8): Likewise.
21584         [C99-based-standards] (SCNuLEAST8): Likewise.
21585         [C99-based-standards] (SCNxLEAST8): Likewise.
21586         [C99-based-standards] (PRIdFAST8): Likewise.
21587         [C99-based-standards] (PRIiFAST8): Likewise.
21588         [C99-based-standards] (PRIoFAST8): Likewise.
21589         [C99-based-standards] (PRIuFAST8): Likewise.
21590         [C99-based-standards] (PRIxFAST8): Likewise.
21591         [C99-based-standards] (PRIXFAST8): Likewise.
21592         [C99-based-standards] (SCNdFAST8): Likewise.
21593         [C99-based-standards] (SCNiFAST8): Likewise.
21594         [C99-based-standards] (SCNoFAST8): Likewise.
21595         [C99-based-standards] (SCNuFAST8): Likewise.
21596         [C99-based-standards] (SCNxFAST8): Likewise.
21597         [C99-based-standards] (PRId16): Likewise.
21598         [C99-based-standards] (PRIi16): Likewise.
21599         [C99-based-standards] (PRIo16): Likewise.
21600         [C99-based-standards] (PRIu16): Likewise.
21601         [C99-based-standards] (PRIx16): Likewise.
21602         [C99-based-standards] (PRIX16): Likewise.
21603         [C99-based-standards] (SCNd16): Likewise.
21604         [C99-based-standards] (SCNi16): Likewise.
21605         [C99-based-standards] (SCNo16): Likewise.
21606         [C99-based-standards] (SCNu16): Likewise.
21607         [C99-based-standards] (SCNx16): Likewise.
21608         [C99-based-standards] (PRIdLEAST16): Likewise.
21609         [C99-based-standards] (PRIiLEAST16): Likewise.
21610         [C99-based-standards] (PRIoLEAST16): Likewise.
21611         [C99-based-standards] (PRIuLEAST16): Likewise.
21612         [C99-based-standards] (PRIxLEAST16): Likewise.
21613         [C99-based-standards] (PRIXLEAST16): Likewise.
21614         [C99-based-standards] (SCNdLEAST16): Likewise.
21615         [C99-based-standards] (SCNiLEAST16): Likewise.
21616         [C99-based-standards] (SCNoLEAST16): Likewise.
21617         [C99-based-standards] (SCNuLEAST16): Likewise.
21618         [C99-based-standards] (SCNxLEAST16): Likewise.
21619         [C99-based-standards] (PRIdFAST16): Likewise.
21620         [C99-based-standards] (PRIiFAST16): Likewise.
21621         [C99-based-standards] (PRIoFAST16): Likewise.
21622         [C99-based-standards] (PRIuFAST16): Likewise.
21623         [C99-based-standards] (PRIxFAST16): Likewise.
21624         [C99-based-standards] (PRIXFAST16): Likewise.
21625         [C99-based-standards] (SCNdFAST16): Likewise.
21626         [C99-based-standards] (SCNiFAST16): Likewise.
21627         [C99-based-standards] (SCNoFAST16): Likewise.
21628         [C99-based-standards] (SCNuFAST16): Likewise.
21629         [C99-based-standards] (SCNxFAST16): Likewise.
21630         [C99-based-standards] (PRId32): Likewise.
21631         [C99-based-standards] (PRIi32): Likewise.
21632         [C99-based-standards] (PRIo32): Likewise.
21633         [C99-based-standards] (PRIu32): Likewise.
21634         [C99-based-standards] (PRIx32): Likewise.
21635         [C99-based-standards] (PRIX32): Likewise.
21636         [C99-based-standards] (SCNd32): Likewise.
21637         [C99-based-standards] (SCNi32): Likewise.
21638         [C99-based-standards] (SCNo32): Likewise.
21639         [C99-based-standards] (SCNu32): Likewise.
21640         [C99-based-standards] (SCNx32): Likewise.
21641         [C99-based-standards] (PRIdLEAST32): Likewise.
21642         [C99-based-standards] (PRIiLEAST32): Likewise.
21643         [C99-based-standards] (PRIoLEAST32): Likewise.
21644         [C99-based-standards] (PRIuLEAST32): Likewise.
21645         [C99-based-standards] (PRIxLEAST32): Likewise.
21646         [C99-based-standards] (PRIXLEAST32): Likewise.
21647         [C99-based-standards] (SCNdLEAST32): Likewise.
21648         [C99-based-standards] (SCNiLEAST32): Likewise.
21649         [C99-based-standards] (SCNoLEAST32): Likewise.
21650         [C99-based-standards] (SCNuLEAST32): Likewise.
21651         [C99-based-standards] (SCNxLEAST32): Likewise.
21652         [C99-based-standards] (PRIdFAST32): Likewise.
21653         [C99-based-standards] (PRIiFAST32): Likewise.
21654         [C99-based-standards] (PRIoFAST32): Likewise.
21655         [C99-based-standards] (PRIuFAST32): Likewise.
21656         [C99-based-standards] (PRIxFAST32): Likewise.
21657         [C99-based-standards] (PRIXFAST32): Likewise.
21658         [C99-based-standards] (SCNdFAST32): Likewise.
21659         [C99-based-standards] (SCNiFAST32): Likewise.
21660         [C99-based-standards] (SCNoFAST32): Likewise.
21661         [C99-based-standards] (SCNuFAST32): Likewise.
21662         [C99-based-standards] (SCNxFAST32): Likewise.
21663         [C99-based-standards] (PRId64): Likewise.
21664         [C99-based-standards] (PRIi64): Likewise.
21665         [C99-based-standards] (PRIo64): Likewise.
21666         [C99-based-standards] (PRIu64): Likewise.
21667         [C99-based-standards] (PRIx64): Likewise.
21668         [C99-based-standards] (PRIX64): Likewise.
21669         [C99-based-standards] (SCNd64): Likewise.
21670         [C99-based-standards] (SCNi64): Likewise.
21671         [C99-based-standards] (SCNo64): Likewise.
21672         [C99-based-standards] (SCNu64): Likewise.
21673         [C99-based-standards] (SCNx64): Likewise.
21674         [C99-based-standards] (PRIdLEAST64): Likewise.
21675         [C99-based-standards] (PRIiLEAST64): Likewise.
21676         [C99-based-standards] (PRIoLEAST64): Likewise.
21677         [C99-based-standards] (PRIuLEAST64): Likewise.
21678         [C99-based-standards] (PRIxLEAST64): Likewise.
21679         [C99-based-standards] (PRIXLEAST64): Likewise.
21680         [C99-based-standards] (SCNdLEAST64): Likewise.
21681         [C99-based-standards] (SCNiLEAST64): Likewise.
21682         [C99-based-standards] (SCNoLEAST64): Likewise.
21683         [C99-based-standards] (SCNuLEAST64): Likewise.
21684         [C99-based-standards] (SCNxLEAST64): Likewise.
21685         [C99-based-standards] (PRIdFAST64): Likewise.
21686         [C99-based-standards] (PRIiFAST64): Likewise.
21687         [C99-based-standards] (PRIoFAST64): Likewise.
21688         [C99-based-standards] (PRIuFAST64): Likewise.
21689         [C99-based-standards] (PRIxFAST64): Likewise.
21690         [C99-based-standards] (PRIXFAST64): Likewise.
21691         [C99-based-standards] (SCNdFAST64): Likewise.
21692         [C99-based-standards] (SCNiFAST64): Likewise.
21693         [C99-based-standards] (SCNoFAST64): Likewise.
21694         [C99-based-standards] (SCNuFAST64): Likewise.
21695         [C99-based-standards] (SCNxFAST64): Likewise.
21696         [C99-based-standards] (PRIdMAX): Likewise.
21697         [C99-based-standards] (PRIiMAX): Likewise.
21698         [C99-based-standards] (PRIoMAX): Likewise.
21699         [C99-based-standards] (PRIuMAX): Likewise.
21700         [C99-based-standards] (PRIxMAX): Likewise.
21701         [C99-based-standards] (PRIXMAX): Likewise.
21702         [C99-based-standards] (SCNdMAX): Likewise.
21703         [C99-based-standards] (SCNiMAX): Likewise.
21704         [C99-based-standards] (SCNoMAX): Likewise.
21705         [C99-based-standards] (SCNuMAX): Likewise.
21706         [C99-based-standards] (SCNxMAX): Likewise.
21707         [C99-based-standards] (PRIdPTR): Likewise.
21708         [C99-based-standards] (PRIiPTR): Likewise.
21709         [C99-based-standards] (PRIoPTR): Likewise.
21710         [C99-based-standards] (PRIuPTR): Likewise.
21711         [C99-based-standards] (PRIxPTR): Likewise.
21712         [C99-based-standards] (PRIXPTR): Likewise.
21713         [C99-based-standards] (SCNdPTR): Likewise.
21714         [C99-based-standards] (SCNiPTR): Likewise.
21715         [C99-based-standards] (SCNoPTR): Likewise.
21716         [C99-based-standards] (SCNuPTR): Likewise.
21717         [C99-based-standards] (SCNxPTR): Likewise.
21718         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21719         allow.
21720         * conform/data/stdint.h-data: Update comments to clarify
21721         requirements.
21722         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
21723         type.
21724         [C99-based standards] (INT8_MAX): Likewise.
21725         [C99-based standards] (INT16_MIN): Likewise.
21726         [C99-based standards] (INT16_MAX): Likewise.
21727         [C99-based standards] (INT32_MIN): Likewise.
21728         [C99-based standards] (INT32_MAX): Likewise.
21729         [C99-based standards] (INT64_MIN): Likewise.
21730         [C99-based standards] (INT64_MAX): Likewise.
21731         [C99-based standards] (UINT8_MAX): Likewise.
21732         [C99-based standards] (UINT16_MAX): Likewise.
21733         [C99-based standards] (UINT32_MAX): Likewise.
21734         [C99-based standards] (UINT64_MAX): Likewise.
21735         [C99-based standards] (INT_LEAST8_MIN): Likewise.
21736         [C99-based standards] (INT_LEAST8_MAX): Likewise.
21737         [C99-based standards] (INT_LEAST16_MIN): Likewise.
21738         [C99-based standards] (INT_LEAST16_MAX): Likewise.
21739         [C99-based standards] (INT_LEAST32_MIN): Likewise.
21740         [C99-based standards] (INT_LEAST32_MAX): Likewise.
21741         [C99-based standards] (INT_LEAST64_MIN): Likewise.
21742         [C99-based standards] (INT_LEAST64_MAX): Likewise.
21743         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21744         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21745         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21746         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21747         [C99-based standards] (INT_FAST8_MIN): Likewise.
21748         [C99-based standards] (INT_FAST8_MAX): Likewise.
21749         [C99-based standards] (INT_FAST16_MIN): Likewise.
21750         [C99-based standards] (INT_FAST16_MAX): Likewise.
21751         [C99-based standards] (INT_FAST32_MIN): Likewise.
21752         [C99-based standards] (INT_FAST32_MAX): Likewise.
21753         [C99-based standards] (INT_FAST64_MIN): Likewise.
21754         [C99-based standards] (INT_FAST64_MAX): Likewise.
21755         [C99-based standards] (UINT_FAST8_MAX): Likewise.
21756         [C99-based standards] (UINT_FAST16_MAX): Likewise.
21757         [C99-based standards] (UINT_FAST32_MAX): Likewise.
21758         [C99-based standards] (UINT_FAST64_MAX): Likewise.
21759         [C99-based standards] (INTPTR_MIN): Likewise.
21760         [C99-based standards] (INTPTR_MAX): Likewise.
21761         [C99-based standards] (UINTPTR_MAX): Likewise.
21762         [C99-based standards] (INTMAX_MIN): Likewise.
21763         [C99-based standards] (INTMAX_MAX): Likewise.
21764         [C99-based standards] (UINTMAX_MAX): Likewise.
21765         [C99-based standards] (PTRDIFF_MIN): Likewise.
21766         [C99-based standards] (PTRDIFF_MAX): Likewise.
21767         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21768         [C99-based standards] (SIZE_MAX): Likewise.
21769         [C99-based standards] (WCHAR_MAX): Likewise.
21770         [C99-based standards] (WINT_MAX): Likewise.
21771         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
21772         constraint on value.
21773         [C99-based standards] (WCHAR_MIN): Likewise.
21774         [C99-based standards] (WINT_MIN): Likewise.
21775         [C99-based standards] (*_t): Allow.
21776         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21777         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21778         Include math.h-data and complex.h-data.  Remove all expectations
21779         of math.h and complex.h contents.
21780         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21781         at end of line.
21782         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21783         (struct tm): Expect tag.
21784         [C99-based-standards] (wcstof): Expect function.
21785         [C99-based-standards] (wcstold): Likewise.
21786         [C99-based-standards] (wcstoll): Likewise.
21787         [C99-based-standards] (wcstoull): Likewise.
21788         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21789         macro-int-constant.  Specify type.
21790         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
21791         constraint on value.
21792         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21793         Specify type.
21794         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21795         Specify value.
21796         [ISO C standards]: Do not allow headers.
21797         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21798         wcs[abcdefghijklmnopqrstuvwxyz]*.
21799         [ISO C standards] (*_t): Do not allow.
21800         * conform/data/wctype.h-data [C99-based standards] (iswblank):
21801         Expect function.
21802         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21803         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21804         Specify type.
21805         [ISO C standards]: Do not allow headers.
21806         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21807         is[abcdefghijklmnopqrstuvwxyz]*.
21808         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21809         to[abcdefghijklmnopqrstuvwxyz]*.
21810         [ISO C standards] (*_t): Do not allow.
21811         * conform/data/stdalign.h-data: New file.
21812         * conform/data/stdbool.h-data: Likewise.
21813         * conform/data/stdnoreturn.h-data: Likewise.
21815 2012-11-07  Roland McGrath  <roland@hack.frob.com>
21817         [BZ #14815]
21818         * manual/filesys.texi (Directory Entries): Typo fix.
21819         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21821 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21823         * elf/elf.h (EM_AARCH64): New macro.
21824         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21825         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21826         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21827         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21828         (R_AARCH64_TLSDESC): Likewise.
21829         (NT_ARM_TLS): Likewise.
21830         (NT_ARM_HW_BREAK): Likewise.
21831         (NT_ARM_HW_WATCH): Likewise.
21833 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21835         [BZ #14811]
21836         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21837         (__ieee754_powl): Saturate nonzero exponents with absolute value
21838         below 0x1p-79 to +/- 0x1p-79.
21839         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21840         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21841         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21842         nonzero exponents with absolute value below 0x1p-32 to +/-
21843         0x1p-32.
21844         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21845         (__ieee754_powl): Saturate nonzero exponents with absolute value
21846         below 0x1p-79 to +/- 0x1p-79.
21847         * math/libm-test.inc (pow_test): Add more tests.
21849 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21851         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21852         _dl_s390_cap_flags with kernel. Increase string length.
21853         (_dl_s390_platforms): Add z196 and zEC12.
21855 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21857         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21858         Change XOPEN21K to XOPEN2K.
21860 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
21862         * string/memmove.c: Use memcpy when possible.
21864 2012-11-06  Andreas Jaeger  <aj@suse.de>
21866         * po/eo.po: Update from translation team.
21868 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
21870         [BZ #14793]
21871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21872         exponent and small x and y exponents, scale x or y up.  Increase
21873         by 2 the exponent used in scaling up.
21874         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21875         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21876         * math/libm-test.inc (fma_test): Add more tests.
21877         (fma_test_towardzero): Likewise.
21878         (fma_test_downward): Likewise.
21879         (fma_test_upward): Likewise.
21881 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
21883         [BZ #14805]
21884         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21885         fenv_t *.
21887         [BZ #14801]
21888         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21889         namespace for names of struct fields.
21890         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21891         fenv_t fields.
21892         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21893         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21895 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21897         [BZ #3665]
21898         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21900 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21902         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21903         PTR_DEMANGLE.
21905         [BZ #5246]
21906         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21907         PTR_DEMANGLE.
21909 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
21911         [BZ #14797]
21912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21913         definitely overflow as x * y not x * y + z.
21914         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21915         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21916         * math/libm-test.inc (fma_test): Add more tests.
21917         (fma_test_towardzero): Likewise.
21918         (fma_test_downward): Likewise.
21919         (fma_test_upward): Likewise.
21921 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21923         [BZ #157]
21925         * include/stub-tag.h: Remove file.
21926         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21927         '#include' of it.
21928         * manual/maint.texi (Porting): Don't reference it.
21929         * Makerules ($(objpfx)stubs): Likewise.
21930         * dirent/closedir.c: Don't include <stub-tag.h>.
21931         * dirent/dirfd.c: Likewise.
21932         * dirent/fdopendir.c: Likewise.
21933         * dirent/getdents.c: Likewise.
21934         * dirent/getdents64.c: Likewise.
21935         * dirent/opendir.c: Likewise.
21936         * dirent/readdir.c: Likewise.
21937         * dirent/readdir64.c: Likewise.
21938         * dirent/readdir64_r.c: Likewise.
21939         * dirent/readdir_r.c: Likewise.
21940         * dirent/rewinddir.c: Likewise.
21941         * dirent/seekdir.c: Likewise.
21942         * dirent/telldir.c: Likewise.
21943         * gmon/profil.c: Likewise.
21944         * grp/setgroups.c: Likewise.
21945         * inet/if_index.c: Likewise.
21946         * io/access.c: Likewise.
21947         * io/chdir.c: Likewise.
21948         * io/chmod.c: Likewise.
21949         * io/chown.c: Likewise.
21950         * io/close.c: Likewise.
21951         * io/dup.c: Likewise.
21952         * io/dup2.c: Likewise.
21953         * io/dup3.c: Likewise.
21954         * io/euidaccess.c: Likewise.
21955         * io/faccessat.c: Likewise.
21956         * io/fchdir.c: Likewise.
21957         * io/fchmod.c: Likewise.
21958         * io/fchmodat.c: Likewise.
21959         * io/fchown.c: Likewise.
21960         * io/fchownat.c: Likewise.
21961         * io/fcntl.c: Likewise.
21962         * io/flock.c: Likewise.
21963         * io/fstatfs.c: Likewise.
21964         * io/fstatfs64.c: Likewise.
21965         * io/fstatvfs.c: Likewise.
21966         * io/fstatvfs64.c: Likewise.
21967         * io/futimens.c: Likewise.
21968         * io/fxstat.c: Likewise.
21969         * io/fxstat64.c: Likewise.
21970         * io/fxstatat.c: Likewise.
21971         * io/fxstatat64.c: Likewise.
21972         * io/getcwd.c: Likewise.
21973         * io/isatty.c: Likewise.
21974         * io/lchmod.c: Likewise.
21975         * io/lchown.c: Likewise.
21976         * io/link.c: Likewise.
21977         * io/linkat.c: Likewise.
21978         * io/lseek.c: Likewise.
21979         * io/lseek64.c: Likewise.
21980         * io/lxstat64.c: Likewise.
21981         * io/mkdir.c: Likewise.
21982         * io/mkdirat.c: Likewise.
21983         * io/mkfifo.c: Likewise.
21984         * io/mkfifoat.c: Likewise.
21985         * io/open.c: Likewise.
21986         * io/open64.c: Likewise.
21987         * io/openat.c: Likewise.
21988         * io/openat64.c: Likewise.
21989         * io/pipe.c: Likewise.
21990         * io/pipe2.c: Likewise.
21991         * io/poll.c: Likewise.
21992         * io/posix_fadvise.c: Likewise.
21993         * io/posix_fadvise64.c: Likewise.
21994         * io/posix_fallocate.c: Likewise.
21995         * io/posix_fallocate64.c: Likewise.
21996         * io/read.c: Likewise.
21997         * io/readlink.c: Likewise.
21998         * io/readlinkat.c: Likewise.
21999         * io/rmdir.c: Likewise.
22000         * io/sendfile.c: Likewise.
22001         * io/sendfile64.c: Likewise.
22002         * io/statfs.c: Likewise.
22003         * io/statfs64.c: Likewise.
22004         * io/statvfs.c: Likewise.
22005         * io/statvfs64.c: Likewise.
22006         * io/symlink.c: Likewise.
22007         * io/symlinkat.c: Likewise.
22008         * io/ttyname.c: Likewise.
22009         * io/ttyname_r.c: Likewise.
22010         * io/umask.c: Likewise.
22011         * io/unlink.c: Likewise.
22012         * io/unlinkat.c: Likewise.
22013         * io/utime.c: Likewise.
22014         * io/utimensat.c: Likewise.
22015         * io/write.c: Likewise.
22016         * io/xmknod.c: Likewise.
22017         * io/xmknodat.c: Likewise.
22018         * io/xstat.c: Likewise.
22019         * io/xstat64.c: Likewise.
22020         * login/getpt.c: Likewise.
22021         * login/grantpt.c: Likewise.
22022         * login/unlockpt.c: Likewise.
22023         * math/e_acoshl.c: Likewise.
22024         * math/e_acosl.c: Likewise.
22025         * math/e_asinl.c: Likewise.
22026         * math/e_atan2l.c: Likewise.
22027         * math/e_atanhl.c: Likewise.
22028         * math/e_coshl.c: Likewise.
22029         * math/e_expl.c: Likewise.
22030         * math/e_fmodl.c: Likewise.
22031         * math/e_gammal_r.c: Likewise.
22032         * math/e_hypotl.c: Likewise.
22033         * math/e_j0l.c: Likewise.
22034         * math/e_j1l.c: Likewise.
22035         * math/e_jnl.c: Likewise.
22036         * math/e_lgammal_r.c: Likewise.
22037         * math/e_log10l.c: Likewise.
22038         * math/e_log2l.c: Likewise.
22039         * math/e_logl.c: Likewise.
22040         * math/e_powl.c: Likewise.
22041         * math/e_rem_pio2l.c: Likewise.
22042         * math/e_sinhl.c: Likewise.
22043         * math/e_sqrtl.c: Likewise.
22044         * math/fclrexcpt.c: Likewise.
22045         * math/fedisblxcpt.c: Likewise.
22046         * math/feenablxcpt.c: Likewise.
22047         * math/fegetenv.c: Likewise.
22048         * math/fegetexcept.c: Likewise.
22049         * math/fegetround.c: Likewise.
22050         * math/feholdexcpt.c: Likewise.
22051         * math/fesetenv.c: Likewise.
22052         * math/fesetround.c: Likewise.
22053         * math/feupdateenv.c: Likewise.
22054         * math/fgetexcptflg.c: Likewise.
22055         * math/fraiseexcpt.c: Likewise.
22056         * math/fsetexcptflg.c: Likewise.
22057         * math/ftestexcept.c: Likewise.
22058         * math/k_cosl.c: Likewise.
22059         * math/k_rem_pio2l.c: Likewise.
22060         * math/k_sinl.c: Likewise.
22061         * math/k_tanl.c: Likewise.
22062         * math/s_asinhl.c: Likewise.
22063         * math/s_atanl.c: Likewise.
22064         * math/s_cbrtl.c: Likewise.
22065         * math/s_erfl.c: Likewise.
22066         * math/s_expm1l.c: Likewise.
22067         * math/s_log1pl.c: Likewise.
22068         * math/s_tanhl.c: Likewise.
22069         * misc/acct.c: Likewise.
22070         * misc/brk.c: Likewise.
22071         * misc/chflags.c: Likewise.
22072         * misc/chroot.c: Likewise.
22073         * misc/fchflags.c: Likewise.
22074         * misc/fgetxattr.c: Likewise.
22075         * misc/flistxattr.c: Likewise.
22076         * misc/fremovexattr.c: Likewise.
22077         * misc/fsetxattr.c: Likewise.
22078         * misc/fsync.c: Likewise.
22079         * misc/ftruncate.c: Likewise.
22080         * misc/futimes.c: Likewise.
22081         * misc/futimesat.c: Likewise.
22082         * misc/getdomain.c: Likewise.
22083         * misc/getdtsz.c: Likewise.
22084         * misc/gethostid.c: Likewise.
22085         * misc/gethostname.c: Likewise.
22086         * misc/getloadavg.c: Likewise.
22087         * misc/getpagesize.c: Likewise.
22088         * misc/getsysstats.c: Likewise.
22089         * misc/getxattr.c: Likewise.
22090         * misc/gtty.c: Likewise.
22091         * misc/ioctl.c: Likewise.
22092         * misc/lgetxattr.c: Likewise.
22093         * misc/listxattr.c: Likewise.
22094         * misc/llistxattr.c: Likewise.
22095         * misc/lremovexattr.c: Likewise.
22096         * misc/lsetxattr.c: Likewise.
22097         * misc/lutimes.c: Likewise.
22098         * misc/madvise.c: Likewise.
22099         * misc/mincore.c: Likewise.
22100         * misc/mlock.c: Likewise.
22101         * misc/mlockall.c: Likewise.
22102         * misc/mmap.c: Likewise.
22103         * misc/mprotect.c: Likewise.
22104         * misc/msync.c: Likewise.
22105         * misc/munlock.c: Likewise.
22106         * misc/munlockall.c: Likewise.
22107         * misc/munmap.c: Likewise.
22108         * misc/preadv.c: Likewise.
22109         * misc/preadv64.c: Likewise.
22110         * misc/ptrace.c: Likewise.
22111         * misc/pwritev.c: Likewise.
22112         * misc/pwritev64.c: Likewise.
22113         * misc/readv.c: Likewise.
22114         * misc/reboot.c: Likewise.
22115         * misc/remap_file_pages.c: Likewise.
22116         * misc/removexattr.c: Likewise.
22117         * misc/revoke.c: Likewise.
22118         * misc/select.c: Likewise.
22119         * misc/setdomain.c: Likewise.
22120         * misc/setegid.c: Likewise.
22121         * misc/seteuid.c: Likewise.
22122         * misc/sethostid.c: Likewise.
22123         * misc/sethostname.c: Likewise.
22124         * misc/setregid.c: Likewise.
22125         * misc/setreuid.c: Likewise.
22126         * misc/setxattr.c: Likewise.
22127         * misc/sstk.c: Likewise.
22128         * misc/stty.c: Likewise.
22129         * misc/swapoff.c: Likewise.
22130         * misc/swapon.c: Likewise.
22131         * misc/sync.c: Likewise.
22132         * misc/syncfs.c: Likewise.
22133         * misc/syscall.c: Likewise.
22134         * misc/truncate.c: Likewise.
22135         * misc/ualarm.c: Likewise.
22136         * misc/usleep.c: Likewise.
22137         * misc/ustat.c: Likewise.
22138         * misc/utimes.c: Likewise.
22139         * misc/vhangup.c: Likewise.
22140         * misc/writev.c: Likewise.
22141         * posix/_exit.c: Likewise.
22142         * posix/alarm.c: Likewise.
22143         * posix/execve.c: Likewise.
22144         * posix/fexecve.c: Likewise.
22145         * posix/fork.c: Likewise.
22146         * posix/fpathconf.c: Likewise.
22147         * posix/getaddrinfo.c: Likewise.
22148         * posix/getegid.c: Likewise.
22149         * posix/geteuid.c: Likewise.
22150         * posix/getgid.c: Likewise.
22151         * posix/getgroups.c: Likewise.
22152         * posix/getlogin.c: Likewise.
22153         * posix/getlogin_r.c: Likewise.
22154         * posix/getpgid.c: Likewise.
22155         * posix/getpid.c: Likewise.
22156         * posix/getppid.c: Likewise.
22157         * posix/getresgid.c: Likewise.
22158         * posix/getresuid.c: Likewise.
22159         * posix/getsid.c: Likewise.
22160         * posix/getuid.c: Likewise.
22161         * posix/glob64.c: Likewise.
22162         * posix/nanosleep.c: Likewise.
22163         * posix/pathconf.c: Likewise.
22164         * posix/pause.c: Likewise.
22165         * posix/posix_madvise.c: Likewise.
22166         * posix/pread.c: Likewise.
22167         * posix/pread64.c: Likewise.
22168         * posix/pwrite.c: Likewise.
22169         * posix/pwrite64.c: Likewise.
22170         * posix/sched_getaffinity.c: Likewise.
22171         * posix/sched_getp.c: Likewise.
22172         * posix/sched_gets.c: Likewise.
22173         * posix/sched_primax.c: Likewise.
22174         * posix/sched_primin.c: Likewise.
22175         * posix/sched_rr_gi.c: Likewise.
22176         * posix/sched_setaffinity.c: Likewise.
22177         * posix/sched_setp.c: Likewise.
22178         * posix/sched_sets.c: Likewise.
22179         * posix/sched_yield.c: Likewise.
22180         * posix/setgid.c: Likewise.
22181         * posix/setlogin.c: Likewise.
22182         * posix/setpgid.c: Likewise.
22183         * posix/setresgid.c: Likewise.
22184         * posix/setresuid.c: Likewise.
22185         * posix/setsid.c: Likewise.
22186         * posix/setuid.c: Likewise.
22187         * posix/sleep.c: Likewise.
22188         * posix/spawni.c: Likewise.
22189         * posix/sysconf.c: Likewise.
22190         * posix/times.c: Likewise.
22191         * posix/wait.c: Likewise.
22192         * posix/wait3.c: Likewise.
22193         * posix/wait4.c: Likewise.
22194         * posix/waitpid.c: Likewise.
22195         * resolv/gai_sigqueue.c: Likewise.
22196         * resource/getpriority.c: Likewise.
22197         * resource/getrlimit.c: Likewise.
22198         * resource/getrusage.c: Likewise.
22199         * resource/nice.c: Likewise.
22200         * resource/setpriority.c: Likewise.
22201         * resource/setrlimit.c: Likewise.
22202         * resource/ulimit.c: Likewise.
22203         * rt/aio_cancel.c: Likewise.
22204         * rt/aio_fsync.c: Likewise.
22205         * rt/aio_read.c: Likewise.
22206         * rt/aio_sigqueue.c: Likewise.
22207         * rt/aio_suspend.c: Likewise.
22208         * rt/aio_write.c: Likewise.
22209         * rt/clock_getres.c: Likewise.
22210         * rt/clock_gettime.c: Likewise.
22211         * rt/clock_nanosleep.c: Likewise.
22212         * rt/clock_settime.c: Likewise.
22213         * rt/lio_listio.c: Likewise.
22214         * rt/mq_close.c: Likewise.
22215         * rt/mq_getattr.c: Likewise.
22216         * rt/mq_notify.c: Likewise.
22217         * rt/mq_open.c: Likewise.
22218         * rt/mq_receive.c: Likewise.
22219         * rt/mq_send.c: Likewise.
22220         * rt/mq_setattr.c: Likewise.
22221         * rt/mq_timedreceive.c: Likewise.
22222         * rt/mq_timedsend.c: Likewise.
22223         * rt/mq_unlink.c: Likewise.
22224         * rt/shm_open.c: Likewise.
22225         * rt/shm_unlink.c: Likewise.
22226         * rt/timer_create.c: Likewise.
22227         * rt/timer_delete.c: Likewise.
22228         * rt/timer_getoverr.c: Likewise.
22229         * rt/timer_gettime.c: Likewise.
22230         * rt/timer_settime.c: Likewise.
22231         * setjmp/__longjmp.c: Likewise.
22232         * setjmp/setjmp.c: Likewise.
22233         * signal/kill.c: Likewise.
22234         * signal/killpg.c: Likewise.
22235         * signal/raise.c: Likewise.
22236         * signal/sigaction.c: Likewise.
22237         * signal/sigaltstack.c: Likewise.
22238         * signal/sigblock.c: Likewise.
22239         * signal/sigignore.c: Likewise.
22240         * signal/sigintr.c: Likewise.
22241         * signal/signal.c: Likewise.
22242         * signal/sigpause.c: Likewise.
22243         * signal/sigpending.c: Likewise.
22244         * signal/sigqueue.c: Likewise.
22245         * signal/sigreturn.c: Likewise.
22246         * signal/sigset.c: Likewise.
22247         * signal/sigsetmask.c: Likewise.
22248         * signal/sigstack.c: Likewise.
22249         * signal/sigsuspend.c: Likewise.
22250         * signal/sigtimedwait.c: Likewise.
22251         * signal/sigvec.c: Likewise.
22252         * signal/sigwait.c: Likewise.
22253         * signal/sigwaitinfo.c: Likewise.
22254         * signal/sysv_signal.c: Likewise.
22255         * socket/accept.c: Likewise.
22256         * socket/accept4.c: Likewise.
22257         * socket/bind.c: Likewise.
22258         * socket/connect.c: Likewise.
22259         * socket/getpeername.c: Likewise.
22260         * socket/getsockname.c: Likewise.
22261         * socket/getsockopt.c: Likewise.
22262         * socket/isfdtype.c: Likewise.
22263         * socket/listen.c: Likewise.
22264         * socket/recv.c: Likewise.
22265         * socket/recvfrom.c: Likewise.
22266         * socket/recvmsg.c: Likewise.
22267         * socket/send.c: Likewise.
22268         * socket/sendmsg.c: Likewise.
22269         * socket/sendto.c: Likewise.
22270         * socket/setsockopt.c: Likewise.
22271         * socket/shutdown.c: Likewise.
22272         * socket/sockatmark.c: Likewise.
22273         * socket/socket.c: Likewise.
22274         * socket/socketpair.c: Likewise.
22275         * stdio-common/ctermid.c: Likewise.
22276         * stdio-common/cuserid.c: Likewise.
22277         * stdio-common/remove.c: Likewise.
22278         * stdio-common/rename.c: Likewise.
22279         * stdio-common/renameat.c: Likewise.
22280         * stdio-common/tempname.c: Likewise.
22281         * stdlib/getcontext.c: Likewise.
22282         * stdlib/makecontext.c: Likewise.
22283         * stdlib/setcontext.c: Likewise.
22284         * stdlib/swapcontext.c: Likewise.
22285         * stdlib/system.c: Likewise.
22286         * streams/fattach.c: Likewise.
22287         * streams/fdetach.c: Likewise.
22288         * streams/getmsg.c: Likewise.
22289         * streams/getpmsg.c: Likewise.
22290         * streams/putmsg.c: Likewise.
22291         * streams/putpmsg.c: Likewise.
22292         * sysdeps/unix/bsd/getpt.c: Likewise.
22293         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22294         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22295         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22297         Likewise.
22298         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22299         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22300         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22301         * sysvipc/msgctl.c: Likewise.
22302         * sysvipc/msgget.c: Likewise.
22303         * sysvipc/msgrcv.c: Likewise.
22304         * sysvipc/msgsnd.c: Likewise.
22305         * sysvipc/semctl.c: Likewise.
22306         * sysvipc/semget.c: Likewise.
22307         * sysvipc/semop.c: Likewise.
22308         * sysvipc/semtimedop.c: Likewise.
22309         * sysvipc/shmat.c: Likewise.
22310         * sysvipc/shmctl.c: Likewise.
22311         * sysvipc/shmdt.c: Likewise.
22312         * sysvipc/shmget.c: Likewise.
22313         * termios/tcdrain.c: Likewise.
22314         * termios/tcflow.c: Likewise.
22315         * termios/tcflush.c: Likewise.
22316         * termios/tcgetattr.c: Likewise.
22317         * termios/tcgetpgrp.c: Likewise.
22318         * termios/tcsendbrk.c: Likewise.
22319         * termios/tcsetattr.c: Likewise.
22320         * termios/tcsetpgrp.c: Likewise.
22321         * time/adjtime.c: Likewise.
22322         * time/clock.c: Likewise.
22323         * time/getitimer.c: Likewise.
22324         * time/gettimeofday.c: Likewise.
22325         * time/setitimer.c: Likewise.
22326         * time/settimeofday.c: Likewise.
22327         * time/stime.c: Likewise.
22328         * time/time.c: Likewise.
22330 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
22332         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22333         /usr/old/bin.
22335         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22336         instead of spaces.
22337         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22339 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
22341         [BZ #14796]
22342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22343         FE_TONEAREST before applying Dekker multiplication and Knuth
22344         addition.  Clear inexact exceptions and check for exact zero
22345         results afterwards.
22346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22347         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22349         * math/libm-test.inc (fma_test): Add more tests.
22350         (fma_test_towardzero): Likewise.
22351         (fma_test_downward): Likewise.
22352         (fma_test_upward): Likewise.
22353         * sysdeps/generic/math_private.h (default_libc_fesetround): New
22354         function.
22355         (libc_fesetround): New macro.
22356         (libc_fesetroundf): Likewise.
22357         (libc_fesetroundl): Likewise.
22358         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22359         function.
22360         (libc_fesetround_387): Likewise.
22361         (libc_fesetroundf): New macro.
22362         (libc_fesetround): Likewise.
22363         (libc_fesetroundl): Likewise.
22364         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22365         function.
22366         (libc_fesetroundf): New macro.
22367         (libc_fesetround): Likewise.
22368         (libc_fesetroundl): Likewise.
22369         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22370         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22371         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22372         libm_hidden_ver.
22373         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22374         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22375         libm_hidden_def.
22376         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22377         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22378         libm_hidden_ver.
22379         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22380         libm_hidden_def.
22382         [BZ #3439]
22383         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22384         integer constant usable in #if and use that to give value to enum
22385         constant.
22386         (FE_DIVBYZERO): Likewise.
22387         (FE_UNDERFLOW): Likewise.
22388         (FE_OVERFLOW): Likewise.
22389         (FE_INVALID): Likewise.
22390         (FE_INVALID_SNAN): Likewise.
22391         (FE_INVALID_ISI): Likewise.
22392         (FE_INVALID_IDI): Likewise.
22393         (FE_INVALID_ZDZ): Likewise.
22394         (FE_INVALID_IMZ): Likewise.
22395         (FE_INVALID_COMPARE): Likewise.
22396         (FE_INVALID_SOFTWARE): Likewise.
22397         (FE_INVALID_SQRT): Likewise.
22398         (FE_INVALID_INTEGER_CONVERSION): Likewise.
22399         (FE_TONEAREST): Likewise.
22400         (FE_TOWARDZERO): Likewise.
22401         (FE_UPWARD): Likewise.
22402         (FE_DOWNWARD): Likewise.
22403         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22404         (FE_DIVBYZERO): Likewise.
22405         (FE_OVERFLOW): Likewise.
22406         (FE_UNDERFLOW): Likewise.
22407         (FE_INEXACT): Likewise.
22408         (FE_TONEAREST): Likewise.
22409         (FE_DOWNWARD): Likewise.
22410         (FE_UPWARD): Likewise.
22411         (FE_TOWARDZERO): Likewise.
22412         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22413         (FE_UNDERFLOW): Likewise.
22414         (FE_OVERFLOW): Likewise.
22415         (FE_DIVBYZERO): Likewise.
22416         (FE_INVALID): Likewise.
22417         (FE_TONEAREST): Likewise.
22418         (FE_TOWARDZERO): Likewise.
22419         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22420         (FE_OVERFLOW): Likewise.
22421         (FE_UNDERFLOW): Likewise.
22422         (FE_DIVBYZERO): Likewise.
22423         (FE_INEXACT): Likewise.
22424         (FE_TONEAREST): Likewise.
22425         (FE_TOWARDZERO): Likewise.
22426         (FE_UPWARD): Likewise.
22427         (FE_DOWNWARD): Likewise.
22428         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22429         (FE_DIVBYZERO): Likewise.
22430         (FE_OVERFLOW): Likewise.
22431         (FE_UNDERFLOW): Likewise.
22432         (FE_INEXACT): Likewise.
22433         (FE_TONEAREST): Likewise.
22434         (FE_DOWNWARD): Likewise.
22435         (FE_UPWARD): Likewise.
22436         (FE_TOWARDZERO): Likewise.
22438 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
22440         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22442 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
22444         * scripts/cross-test-ssh.sh (command): Use newlines to separate
22445         commands.  Quote $PWD.
22446         (blacklist_exports): Don't use remove_newlines.  Replace "declare
22447         -x" by "export".
22448         (remove_newlines): Remove.
22450 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
22452         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22453         * stdlib/stdlib.h (atof): Moved to ...
22454         * include/bits/stdlib-float.h: Here.  New file.
22455         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22456         * stdlib/bits/stdlib-float.h: New file.
22457         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22458         -mno-sse -mno-mmx.
22459         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22460         <xmmintrin.h>.
22462 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22464         * conform/conformtest.pl (@headers): Add fenv.h.
22465         * conform/data/fenv.h-data: New file.
22466         * include/fenv.h [_ISOMAC]: Disable all contents of file except
22467         include of <math/fenv.h>.
22469         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22470         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22471         && !UNIX98].  Enables tests for XOPEN2K8.
22472         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22473         POSIX2008]: Likewise.
22475         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22476         (struct rusage): Do not expect type or its members.
22478         [BZ #3439]
22479         * math/math.h (FP_NAN): Define macro to integer constant usable in
22480         #if and use that to give value to enum constant.
22481         (FP_INFINITE): Likewise.
22482         (FP_ZERO): Likewise.
22483         (FP_SUBNORMAL): Likewise.
22484         (FP_NORMAL): Likewise.
22486 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
22488         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22489         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22490         arguments.
22492 2012-11-02  Roland McGrath  <roland@hack.frob.com>
22494         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22495         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22496         autoconf-time if not.
22497         * configure.in: Remove AC_PREREQ.
22499 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22501         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22502         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22503         of the internal implementation.
22505 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22507         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22508         except include of <misc/sys/syslog.h>.
22510 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22513         function returns with a NULL context exit with zero.
22515 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22517         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22519 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
22521         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22522         (run_program_cmd): This.
22523         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22524         (tst_langinfo): New variable.  Use it.
22526 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
22528         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22529         floating point opcodes.
22531 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22533         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22534         variable.
22536         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22538         * sysdeps/mach/hurd/powerpc: Remove directory.
22539         * sysdeps/mach/powerpc: Likewise.
22541 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22543         * scripts/check-local-headers.sh: Ignore c++ headers.
22545 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22547         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22548         __libc_cleanup_region_start argument.
22550 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
22552         [BZ #14784]
22553         [BZ #14785]
22554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22555         x * y using scaling, not as x * y + z.
22556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22558         * math/libm-test.inc (fma_test): Add more tests.
22559         (fma_test_towardzero): Likewise.
22560         (fma_test_downward): Likewise.
22561         (fma_test_upward): Likewise.
22563 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22565         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22567 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22569         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22570         New variable.
22572 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
22574         * rt/tst-shm.c (worker): Correct checking for mmap failure.
22576 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22579         Fix sort order.
22580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22581         Likewise.
22583 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22586         Fix the order of the list for glibc 2.17.
22587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22588         Likewise.
22590 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22594 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22596         [BZ #14610]
22597         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22598         for low part of x being zero before using __atanl (y).
22599         * math/libm-test.inc (atan2_test): Add another test.
22601         * manual/install.texi (Configuring and compiling): Document
22602         general use of test-wrapper and test-wrapper-env.
22603         * INSTALL: Regenerated.
22605         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22606         (__fma): Do not extract and scale down low bits on after-rounding
22607         systems when result rounded to normal precision would have normal
22608         exponent.
22609         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22610         (__fmal): Do not extract and scale down low bits on after-rounding
22611         systems when result rounded to normal precision would have normal
22612         exponent.
22613         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22614         (__fmal): Do not extract and scale down low bits on after-rounding
22615         systems when result rounded to normal precision would have normal
22616         exponent.
22617         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22618         macro.
22619         (fma_test): Add more tests.
22620         (fma_test_towardzero): Likewise.
22621         (fma_test_downward): Likewise.
22622         (fma_test_upward): Likewise.
22624 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
22626         * sysdeps/i386/tininess.h: Renamed to ...
22627         * sysdeps/x86/tininess.h: This.
22628         * sysdeps/x86_64/tininess.h: Removed.
22630 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22632         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22633         input.  Use $(build-program-cmd).
22634         ($(objpfx)tst-array1-static.out): Likewise.
22635         ($(objpfx)tst-array2.out): Likewise.
22636         ($(objpfx)tst-array3.out): Likewise.
22637         ($(objpfx)tst-array4.out): Likewise.
22638         ($(objpfx)tst-array5.out): Likewise.
22639         ($(objpfx)tst-array5-static.out): Likewise.
22641 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
22643         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22644         if defined.
22646         * nss/nsswitch.h (nss_interface_function): Provide new
22647         macro for use with NSS functions.
22648         * grp/initgroups.c: Use new macro.
22649         * nss/getXXbyYY.c: Likewise.
22650         * nss/getXXbyYY_r.c: Likewise.
22651         * nss/getXXent.c: Likewise.
22652         * nss/getXXent_r.c: Likewise.
22653         * sysdeps/posix/getaddrinfo.c: Likewise.
22655 2012-10-30  Andreas Jaeger  <aj@suse.de>
22657         * po/ru.po: Update Russion translation from translation project.
22659 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22661         [BZ #14152]
22662         [BZ #14783]
22663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22664         result and shift together with sticky bit instead of replicating
22665         round-to-nearest rounding.
22666         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22667         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22668         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
22669         missing underflow exceptions.
22670         (fma_test_towardzero): Add more tests.
22671         (fma_test_downward): Likewise.
22672         (fma_test_upward): Likewise.
22674         [BZ #14047]
22675         * sysdeps/generic/tininess.h: New file.
22676         * sysdeps/i386/tininess.h: Likewise.
22677         * sysdeps/sh/tininess.h: Likewise.
22678         * sysdeps/x86_64/tininess.h: Likewise.
22679         * stdlib/tst-strtod-underflow.c: Likewise.
22680         * stdlib/tst-tininess.c: Likewise.
22681         * stdlib/strtod_l.c: Include <tininess.h>.
22682         (round_and_return): Do not set errno for exact underflow cases.
22683         Force an underflow exception when setting errno for underflow.
22684         Determine underflow based on rounding to normal precision if
22685         TININESS_AFTER_ROUNDING.
22686         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22687         ERANGE for exact underflow cases.
22688         * stdlib/Makefile (tests): Add tst-tininess and
22689         tst-strtod-underflow.
22690         ($(objpfx)tst-tininess): Use $(link-libm).
22691         ($(objpfx)tst-strtod-underflow): Likewise.
22693 2012-10-30  Andreas Jaeger  <aj@suse.de>
22695         [BZ#14767]
22696         * elf/Makefile (tests): Remove conditional for have-initfini-array
22697         since this is now always required and the variable does not exist
22698         anymore.
22699         (tests-static): Likewise.
22700         (modules-names): Likewise.
22702         * po/eo.po: Add Esperanto translation from translation project.
22704         * elf/tst-array1.c (fini_array): Make writeable so that it can be
22705         merged with constructor/destructor.
22706         (init_array): Likewise.
22707         * elf/tst-array2dep.c (fini_array): Likewise.
22708         (init_array): Likewise.
22710 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
22712         * manual/message.texi: Delete @cartouche tags.
22714 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
22716         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22717         EOPNOTSUPP.
22718         * sysdeps/mach/hurd/fsync.c: Likewise.
22720         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22721         [_POSIX_REALTIME_SIGNALS]: Change condition to
22722         [_POSIX_REALTIME_SIGNALS > 0].
22724 2012-10-27  Andreas Jaeger  <aj@suse.de>
22726         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22727         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22728         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22729         [__WORDSIZE != 64]: Likewise.
22731 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
22733         *  iconvdata/tst-table.sh: Remove ${SHELL}.
22734         *  iconvdata/tst-tables.sh: Likewise.
22736 2012-10-25  David S. Miller  <davem@davemloft.net>
22738         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22739         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22740         of strtoull.
22742         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22743         ifunc-impl-list.c
22744         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22745         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22746         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22747         file.
22749 2012-10-25  Roland McGrath  <roland@hack.frob.com>
22751         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22752         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22753         __getdirentries.
22755 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22756             Jim Blandy  <jimb@codesourcery.com>
22758         * scripts/cross-test-ssh.sh: New file.
22759         * manual/install.texi (Configuring and compiling): Document use of
22760         cross-test-ssh.sh.
22761         * INSTALL: Regenerated.
22763 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
22765         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22766         EOPNOTSUPP.
22768 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22770         * Makeconfig (run-program-prefix): Fix comment.
22772 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22773             Jim Blandy  <jimb@codesourcery.com>
22775         * Makeconfig (test-wrapper): New variable,
22776         (test-wrapper-env): Likewise.
22777         [$(cross-compiling) = yes && $(test-wrapper) != ""]
22778         (run-built-tests): Define to yes.
22779         (run-program-prefix): Use $(test-wrapper).
22780         (built-program-cmd): Likewise.
22781         * Rules (make-test-out): Use $(test-wrapper-env) and
22782         $(host-built-program-cmd).
22783         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22784         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22785         tst-pathopt.sh.
22786         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22787         $(test-wrapper-env) to tst-rtld-load-self.sh.
22788         ($(objpfx)order2.out): Use $(test-wrapper).
22789         ($(objpfx)tst-initorder.out): Likewise.
22790         ($(objpfx)tst-initorder2.out): Likewise.
22791         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22792         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22793         (test_wrapper_env): New variable.  Use it to run ld.so.
22794         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22795         Use it to run ld.so.
22796         (test_wrapper_env): Likewise.
22797         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22798         $(test-wrapper) to run-iconv-test.sh.
22799         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22800         (ICONV): Use $test_wrapper.
22801         * posix/Makefile ($(objpfx)globtest.out): Pass
22802         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22803         globtest.sh, not $(run-program-prefix).
22804         * posix/globtest.sh (run_via_rtld_prefix): New variable.
22805         (test_wrapper): Likewise.
22806         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
22807         set together with run_via_rtld_prefix.
22808         (run_program_prefix): Define in terms of test_wrapper and
22809         run_via_rtld_prefix.
22811 2012-10-24  Roland McGrath  <roland@hack.frob.com>
22813         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22814         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22815         Targets removed.
22817         [BZ #14743]
22818         * include/time.h: Remove librt_hidden_proto (clock_gettime).
22819         Declare __clock_getres, __clock_gettime, __clock_settime,
22820         __clock_nanosleep, and __clock_getcpuclockid.
22821         * rt/clock_gettime.c: Define __clock_gettime as an alias.
22822         Remove librt_hidden_def (clock_gettime).
22823         * sysdeps/unix/clock_gettime.c: Likewise.
22824         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22825         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22826         * rt/clock_getres.c: Define __clock_getres as an alias.
22827         * sysdeps/posix/clock_getres.c: Likewise.
22828         * rt/clock_settime.c: Define __clock_settime as an alias.
22829         * sysdeps/unix/clock_settime.c: Likewise.
22830         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22831         * sysdeps/unix/clock_nanosleep.c: Likewise.
22832         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22833         * rt/clock-compat.c: New file.
22834         * rt/Makefile (librt-routines): Add clock-compat and move
22835         $(clock-routines) to ...
22836         (routines): ... here, new variable.
22837         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22838         Don't add get_clockfreq here.
22839         * rt/Versions (libc: GLIBC_2.17): New version set.
22840         Add clock_* symbols here.
22841         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
22842         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22843         (GLIBC_2.17): Add clock_* symbols.
22844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22846         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22848         Likewise.
22849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22850         Likewise.
22851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22855         * NEWS: Mention the move.
22857         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22858         Use __open, __read, __close rather than their public counterparts.
22859         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22860         (__get_clockfreq_via_cpuinfo): Likewise.
22861         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22862         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22864         * config.h.in (HAVE_IFUNC): New #undef.
22865         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22866         was successful.
22867         * configure: Regenerated.
22869 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22871         * configure.in: Move READELF check to start of file.
22872         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22873         libc_cv_asm_gnu_indirect_function in the process.
22874         * configure: Regenerated.
22876 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22878         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22879         send the output to /dev/null.
22880         (libc_cv_cc_with_libunwind): Likewise.
22881         (libc_cv_as_noexecstack): Likewise.
22882         * configure: Regenerate.
22884 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22886         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22888         * posix/globtest.sh (TMPDIR): Do not set.
22889         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22890         (testout): Likewise.
22892 2012-10-24  Andreas Jaeger  <aj@suse.de>
22894         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22895         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22896         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22897         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22898         posix_fadvise64, posix_fallocate64.
22900         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22901         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22902         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22903         Likewise.
22904         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22905         Likewise.
22906         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22908         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22909         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22910         <bits/fcntl-linux.h>.
22911         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22913         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22914         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22915         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22916         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22917         [__WORDSIZE != 64]: Likewise.
22919 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22921         * Makeconfig (run-built-tests): New variable.
22922         * Rules [$(cross-compiling) = yes]: Change condition to
22923         [$(run-built-tests) = no].
22924         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22925         to [$(run-built-tests) = yes].
22926         * elf/Makefile [$(cross-compiling) = no]: Likewise
22927         * grp/Makefile [$(cross-compiling) = no]: Likewise.
22928         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22929         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22930         * intl/Makefile [$(cross-compiling) = no]: Likewise.
22931         * io/Makefile [$(cross-compiling) = no]: Likewise.
22932         * libio/Makefile [$(cross-compiling) = no]: Likewise.
22933         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22934         * misc/Makefile [$(cross-compiling) = no]: Likewise.
22935         * posix/Makefile [$(cross-compiling) = no]: Likewise.
22936         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22937         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22938         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22939         * string/Makefile [$(cross-compiling) = no]: Likewise.
22941         * posix/Makefile ($(objpfx)globtest.out): Pass
22942         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22943         $(rtld-installed-name).
22944         * posix/globtest.sh (elf_objpfx): Remove variable.
22945         (rtld_installed_name): Likewise.
22946         (library_path): Likewise.
22947         (run_program_prefix): New variable.  Use for running globtest
22948         binary.
22950 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
22951             Joseph Myers  <joseph@codesourcery.com>
22953         * Makeconfig (host-built-program-cmd): New variable.
22954         * elf/Makefile (tst-stackguard1-ARGS): Use
22955         $(host-built-program-cmd).
22956         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22957         (tst-spawn-ARGS): Likewise.
22958         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22960 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22961             Jim Blandy  <jimb@codesourcery.com>
22963         * Makeconfig (run-via-rtld-prefix): New variable.
22964         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22965         (built-program-cmd): Likewise.
22967 2012-10-22  Andreas Jaeger  <aj@suse.de>
22969         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22970         __O_RSYNC if it exists, otherwise to O_SYNC.
22972 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
22973             Joseph Myers  <joseph@codesourcery.com>
22975         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22976         /dev/null.
22977         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22978         from /dev/null
22979         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22980         /dev/null.
22982 2012-10-22  Andreas Jaeger  <aj@suse.de>
22984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22985         Define always.
22986         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22988         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22989         bits/fcntl-linux.h.
22991         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22992         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22994         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22995         to __O_LARGEFILE.
22996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22997         to __O_LARGEFILE.
22999 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
23000             Joseph Myers  <joseph@codesourcery.com>
23002         * config.make.in (NM): New variable.
23004 2012-10-21  Andreas Jaeger  <aj@suse.de>
23006         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23007         definitions and declarations that are provided by
23008         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23010 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
23012         [BZ #14683]
23013         * elf/Makefile (tests-static): Add tst-leaks1-static.
23014         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23015         ($(objpfx)tst-leaks1-static): New rule.
23016         ($(objpfx)tst-leaks1-static-mem): Likewise.
23017         (tst-leaks1-static-ENV): New macro.
23018         * elf/dl-open.c (dl_open_worker): Check the main application
23019         only if SHARED is defined.
23020         * elf/tst-leaks1-static.c: New file.
23022 2012-10-20  Andreas Jaeger  <aj@suse.de>
23024         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23025         generic values for Linux.
23026         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23027         and declarations that are provided by <bits/fcntl-linux.h> and
23028         include <bits/fcntl-linux.h>.
23029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23032 2012-10-20  Roland McGrath  <roland@hack.frob.com>
23034         * io/fcntl.h: Move include of <bits/types.h> to the top and
23035         include it unconditionally.
23037 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
23039         * wcsmbs/Makefile (tests-ifunc): New variable.
23040         (tests): Add $(tests-ifunc).
23041         * wcsmbs/test-wcschr-ifunc.c: New file.
23042         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23043         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23044         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23045         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23046         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23048         * string/Makefile (tests-ifunc): New variable.
23049         (tests): Add $(tests-ifunc).
23050         * string/test-memccpy.c (TEST_NAME): New macro.
23051         * string/test-memchr.c (TEST_NAME): Likewise.
23052         * string/test-memcmp.c (TEST_NAME): Likewise.
23053         * string/test-memcpy.c (TEST_NAME): Likewise.
23054         * string/test-memmem.c (TEST_NAME): Likewise.
23055         * string/test-memmove.c (TEST_NAME): Likewise.
23056         * string/test-memset.c (TEST_NAME): Likewise.
23057         * string/test-rawmemchr.c (TEST_NAME): Likewise.
23058         * string/test-stpcpy.c (TEST_NAME): Likewise.
23059         * string/test-stpncpy.c (TEST_NAME): Likewise.
23060         * string/test-strcasecmp.c (TEST_NAME): Likewise.
23061         * string/test-strcasestr.c (TEST_NAME): Likewise.
23062         * string/test-strcat.c (TEST_NAME): Likewise.
23063         * string/test-strchr.c (TEST_NAME): Likewise.
23064         * string/test-strcmp.c(TEST_NAME): Likewise.
23065         * string/test-strcpy.c (TEST_NAME): Likewise.
23066         * string/test-strcspn.c (TEST_NAME): Likewise.
23067         * string/test-strlen.c (TEST_NAME): Likewise.
23068         * string/test-strncasecmp.c (TEST_NAME): Likewise.
23069         * string/test-strncmp.c (TEST_NAME): Likewise.
23070         * string/test-strncpy.c (TEST_NAME): Likewise.
23071         * string/test-strnlen.c (TEST_NAME): Likewise.
23072         * string/test-strpbrk.c (TEST_NAME): Likewise.
23073         * string/test-strrchr.c (TEST_NAME): Likewise.
23074         * string/test-strspn.c (TEST_NAME): Likewise.
23075         * string/test-strstr.c (TEST_NAME): Likewise.
23076         * string/test-bcopy-ifunc.c: New file.
23077         * string/test-bzero-ifunc.c: Likewise.
23078         * string/test-memccpy-ifunc.c: Likewise.
23079         * string/test-memchr-ifunc.c: Likewise.
23080         * string/test-memcmp-ifunc.c: Likewise.
23081         * string/test-memcpy-ifunc.c: Likewise.
23082         * string/test-memmem-ifunc.c: Likewise.
23083         * string/test-memmove-ifunc.c: Likewise.
23084         * string/test-mempcpy-ifunc.c: Likewise.
23085         * string/test-memset-ifunc.c: Likewise.
23086         * string/test-rawmemchr-ifunc.c: Likewise.
23087         * string/test-stpcpy-ifunc.c: Likewise.
23088         * string/test-stpncpy-ifunc.c: Likewise.
23089         * string/test-strcasecmp-ifunc.c: Likewise.
23090         * string/test-strcasestr-ifunc.c: Likewise.
23091         * string/test-strcat-ifunc.c: Likewise.
23092         * string/test-strchr-ifunc.c: Likewise.
23093         * string/test-strchrnul-ifunc.c: Likewise.
23094         * string/test-strcmp-ifunc.c: Likewise.
23095         * string/test-strcpy-ifunc.c: Likewise.
23096         * string/test-strcspn-ifunc.c: Likewise.
23097         * string/test-strlen-ifunc.c: Likewise.
23098         * string/test-strncasecmp-ifunc.c: Likewise.
23099         * string/test-strncat-ifunc.c: Likewise.
23100         * string/test-strncmp-ifunc.c: Likewise.
23101         * string/test-strncpy-ifunc.c: Likewise.
23102         * string/test-strnlen-ifunc.c: Likewise.
23103         * string/test-strpbrk-ifunc.c: Likewise.
23104         * string/test-strrchr-ifunc.c: Likewise.
23105         * string/test-strspn-ifunc.c: Likewise.
23106         * string/test-strstr-ifunc.c: Likewise.
23108         * debug/Makefile (tests-ifunc): New variable.
23109         (tests): Add $(tests-ifunc).
23110         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23111         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23112         * debug/test-stpcpy_chk-ifunc.c: New file.
23113         * debug/test-strcpy_chk-ifunc.c: Likewise.
23115 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23117         [BZ #13601]
23118         * elf/dl-load.c (open_verify): Retry read if the entire ELF
23119         header is not read in.
23121 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
23123         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
23124         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
23125         directly.  Pass built executable to script as
23126         $(built-program-cmd).
23127         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
23128         $testprogram without using LD_LIBRARY_PATH and $ldso.
23130         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23131         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23132         $(rtld-installed-name).
23133         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23134         (rtld_installed_name): Likewise.
23135         (library_path): Likewise.
23136         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
23137         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23138         $(run-program-prefix) to tst-tables.sh.
23139         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
23140         it to run tst-table-from and tst-table-to.
23141         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23142         Pass it to tst-table.sh.
23143         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23144         $(run-program-prefix) to tst-gettext.sh.
23145         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23146         tst-translit.sh.
23147         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23148         tst-gettext2.sh.
23149         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
23150         to run tst-gettext.
23151         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
23152         to run tst-gettext2.
23153         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
23154         to run tst-translit.
23155         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23156         $(run-program-prefix) to tst-mtrace.sh.
23157         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
23158         to run tst-mtrace.
23159         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23160         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23161         $(rtld-installed-name).
23162         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23163         (rtld_installed_name): Likewise.
23164         (run_program_prefix): New variable.  Use it to run wordexp-test.
23166         * Makeconfig (ARCH): Remove all definitions.
23167         (machine): Likewise.
23168         [ARCH]: Remove conditional code.
23169         [!objdir]: Give error.
23170         [!objdir] (objpfx): Remove.
23171         [!objdir] (common-objpfx): Likewise.
23172         [!objdir] (common-objdir): Likewise.
23173         * configure.in (config_makefile): Remove.  Hardcode Makefile in
23174         AC_CONFIG_FILES call.
23175         * configure: Regenerated.
23177         [BZ #13888]
23178         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23179         or TMPDIR.
23180         (testout): Likewise.
23182         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23183         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23184         $(rtld-installed-name).
23185         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23186         (rtld_installed_name): Likwise.
23187         (runit): Remove function.
23188         (run_getconf): New variable,  Use it for running getconf binary.
23190 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
23192         [BZ #14716]
23193         * string/test-memmem.c (check_result): New function.
23194         (do_one_test): Use it.
23195         (check1): New function.
23196         (test_main): Use it.
23198 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
23200         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23202 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
23204         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23205         (_G_LSEEK64): Likewise.
23206         (_G_MMAP64): Likewise.
23207         (_G_FSTAT64): Likewise.
23208         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23209         (_G_LSEEK64): Likewise.
23210         (_G_MMAP64): Likewise.
23211         (_G_FSTAT64): Likewise.
23212         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23213         unconditional.  Call __mmap64 directly.
23214         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23215         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
23216         __lseek64 directly.
23217         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23218         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
23219         __mmap64 directly.
23220         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23221         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23222         __lseek64 directly.
23223         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23224         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23225         __lseek64 directly.
23226         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23227         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
23228         __lseek64 directly.
23229         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23230         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
23231         __fxstat64 directly.
23232         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23233         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23234         unconditional.
23235         (freopen64) [!_G_OPEN64]: Remove conditional code.
23236         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23237         unconditional.
23238         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23239         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23240         unconditional.
23241         (ftello64) [!_G_LSEEK64]: Remove conditional code.
23242         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23243         unconditional.
23244         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23245         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23246         unconditional.
23247         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23248         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23249         unconditional.
23250         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23251         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23252         unconditional.
23253         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23254         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23255         unconditional.
23256         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23258 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23260         [BZ #12140]
23261         * manual/memory.texi (Malloc Tunable Parameters): Add note
23262         about free list pointers overwriting some perturb bytes.
23263         Wording suggested by Roland McGrath.
23265 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
23267         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23268         (lgamma_test): Likewise.
23269         (tgamma_test): Likewise.
23271 2012-10-16  Florian Weimer  <fweimer@redhat.com>
23273         [BZ #14700]
23274         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23275         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23277 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
23279         * NEWS: Mention BZ #14716.
23280         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23281         when removing AVAILABLE1_USES_J macro.
23283 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
23285         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23286         (__bswap_64): __uint64_t for unsigned 64-bit int.
23288 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
23290         * include/string.h (memmem): Declare libc hidden alias.
23291         * string/memmem.c (memmem): Define libc hidden alias.
23292         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23293         __read, __close instead of open, read, close.
23295 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
23297         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23298         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23299         global and hidden.
23300         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23301         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23302         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23303         Likewise.
23304         (__rawmemchr_sse2): Likewise.
23305         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23306         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23307         (__strchr_sse2): Likewise.
23308         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23309         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23310         (__strcasecmp_sse2): Likewise.
23311         (__strncasecmp_sse2): Likewise.
23312         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23313         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23314         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23315         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23316         (__strrchr_sse2): Likewise.
23317         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23318         ifunc-impl-list.c.
23319         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23320         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23321         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23322         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23323         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23324         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23325         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23326         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23327         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23328         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23329         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23330         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23331         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23332         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23333         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23334         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23335         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23336         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23337         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23338         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23339         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23340         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23341         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23342         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23343         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23344         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23345         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23346         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23347         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23348         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23350         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23351         global and hidden.
23352         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23353         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23354         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23355         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23356         Likewise.
23357         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23358         Likewise.
23359         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23360         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23361         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23362         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23363         ifunc-impl-list.c.
23364         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23365         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23366         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23367         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23368         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23369         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23370         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23371         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23372         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23373         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23374         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23375         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23376         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23377         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23378         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23379         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23380         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23381         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23382         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23383         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23384         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23385         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23386         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23387         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23388         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23389         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23390         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23391         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23392         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23393         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23394         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23395         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23396         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23397         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23398         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23399         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23400         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23401         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23402         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23403         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23404         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23406         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23407         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23408         * include/ifunc-impl-list.h: New file.
23409         * misc/ifunc-impl-list.c: Likewise.
23410         * misc/Makefile (routines): Add ifunc-impl-list.
23411         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23412         * string/test-string.h: Include <ifunc-impl-list.h>.
23413         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23414         TEST_NAME]: New variables.
23415         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23416         are defined.
23417         (test_init): Call __libc_ifunc_impl_list to initialize
23418         func_list if TEST_IFUNC and TEST_NAME are defined.
23420         * string/Makefile (strop-tests): Add bcopy and bzero.
23421         * string/test-bcopy.c: New file.
23422         * string/test-bzero.c: Likewise.
23423         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23424         defined.
23425         * string/test-memset.c: Support bzero test if TEST_BZERO is
23426         defined.
23427         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23428         __libc_memmove.
23429         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23430         __libc_memset.
23431         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23432         of memset.
23434 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
23436         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23437         * configure: Regenerated.
23439         * Makeconfig (+link-static-before-libc): Don't include
23440         $(link-static-libc).
23442         * libio/libio.h (_IO_pos_t): Remove.
23444 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23446         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
23447         McGrath.
23449 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23451         * crypt/crypt-entry.c: Include fips-private.h.
23452         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23453         * crypt/md5c-test.c (main): Tolerate disabled MD5.
23454         * sysdeps/unix/sysv/linux/fips-private.h: New file.
23455         * sysdeps/generic/fips-private.h: New file, dummy fallback.
23457 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23459         * crypt/crypt-private.h: Include stdbool.h.
23460         (_ufc_setup_salt_r): Return bool.
23461         * crypt/crypt-entry.c: Include errno.h.
23462         (__crypt_r): Return NULL with EINVAL for bad salt.
23463         * crypt/crypt_util.c (bad_for_salt): New.
23464         (_ufc_setup_salt_r): Check that salt is long enough and within
23465         the specified alphabet.
23466         * crypt/badsalttest.c: New file.
23467         * crypt/Makefile (tests): Add it.
23468         ($(objpfx)badsalttest): New.
23470 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
23472         * NEWS: Add entry for BZ #14602.
23474 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23476         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23477         type-generic.
23478         * math/libm-test.inc: Update comment listing what functions and
23479         macros are tested.
23480         (isgreater_test): New function.
23481         (isgreaterequal_test): Likewise.
23482         (isless_test): Likewise.
23483         (islessequal_test): Likewise.
23484         (islessgreater_test): Likewise.
23485         (isunordered_test): Likewise.
23486         (main): Call the new functions.
23488 2012-10-09  Roland McGrath  <roland@hack.frob.com>
23490         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23491         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23492         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23493         * sysdeps/i386/configure: Regenerated.
23494         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23495         * sysdeps/mach/configure: Regenerated.
23496         * sysdeps/mach/hurd/configure: Regenerated.
23497         * sysdeps/powerpc/configure: Regenerated.
23498         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23499         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23500         * sysdeps/s390/s390-32/configure: Regenerated.
23501         * sysdeps/s390/s390-64/configure: Regenerated.
23502         * sysdeps/sh/configure: Regenerated.
23503         * sysdeps/sparc/configure: Regenerated.
23504         * sysdeps/unix/sysv/linux/configure: Regenerated.
23505         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23506         * sysdeps/x86_64/configure: Regenerated.
23508         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23509         defined.  Don't check if MAP is NULL.
23511 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23513         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23514         (_G_stat64): Likewise.
23515         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23516         (_G_stat64): Likewise.
23517         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23518         instead of struct _G_stat64.
23519         * libio/fileops.c (mmap_remap_check): Likewise.
23520         (decide_maybe_mmap): Likewise.
23521         (_IO_new_file_seekoff): Likewise.
23522         (_IO_file_stat): Likewise.
23523         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23524         _G_off64_t.
23525         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23526         instead of struct _G_stat64.
23527         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23529 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
23531         [BZ #14602]
23532         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23533         Replace with ...
23534         (CHECK_EOL): New macro.
23535         (two_way_short_needle): Check beginning of haystack for EOL.  Use
23536         CHECK_EOL.
23537         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23538         Replace with CHECK_EOL.
23539         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23540         Replace with CHECK_EOL.
23542 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
23544         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23545         type-generic.
23546         * math/libm-test.inc: Update comment listing what functions and
23547         macros are tested.
23548         (finite_test): New function.
23549         (isinf_test): Likewise.
23550         (isnan_test): Likewise.
23551         (fpclassify_test): Test subnormal input.
23552         (isfinite_test): Likewise.
23553         (isnormal_test): Likewise.
23554         (main): Call the new functions.
23556 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
23558         [BZ #14660]
23559         * Makerules (%.dynsym): Force C locale when running
23560         $(OBJDUMP) --dynamic-syms.
23562 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
23564         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23565         <stdint.h>.
23567 2012-10-06  David S. Miller  <davem@davemloft.net>
23569         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23570         upper 32-bits of the length value in %o2 since we use branch-on-register
23571         tests which consider the entire 64-bit register.
23573 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
23575         * string/test-strstr.c (check2): Add a test for page boundary.
23577 2012-10-05  David S. Miller  <davem@davemloft.net>
23579         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23580         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23581         file.
23582         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23583         sysdep_routines.
23584         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23585         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23586         and bzero when HWCAP_SPARC_CRYPTO is present.
23588 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
23590         [BZ #14602]
23591         * string/test-strstr.c (check2): New function.
23592         (test_main): Call check2.
23594         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23595         and bug-strchr1.
23596         * string/bug-strcasestr1.c (do_test): Moved to ...
23597         * string/test-strcasestr.c (check1): Here.  New function.
23598         (do_one_test): Break out result checking code into ...
23599         (check_result): This.  New function.
23600         (do_one_test): Call check_result.
23601         (test_main): Call check1.
23602         * string/bug-strchr1.c (do_test): Moved to ...
23603         * string/test-strchr.c (check1): Here.  New function.
23604         (do_one_test): Break out result checking code into ...
23605         (check_result): This.  New function.
23606         (do_one_test): Call check_result.
23607         (test_main): Call check1.
23608         * string/bug-strstr1.c (main): Moved to ...
23609         * string/test-strstr.c (check1): Here.  New function.
23610         (do_one_test): Break out result checking code into ...
23611         (check_result): This.  New function.
23612         (do_one_test): Call check_result.
23613         (test_main): Call check1.
23614         * string/bug-strcasestr1.c: Removed.
23615         * string/bug-strchr1.c: Likewise.
23616         * string/bug-strstr1.c: Likewise.
23618         * elf/Makefile (dl-routines): Add hwcaps.
23619         * elf/dl-support.c (_dl_important_hwcaps): Removed.
23620         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23621         (_dl_important_hwcaps): Moved to ...
23622         * elf/dl-hwcaps.c: Here.  New file.
23623         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23625         [BZ #14557]
23626         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23627         if IS_IN_rtld isn't defined.
23629         * elf/dl-support.c (_dl_sysinfo_map): New.
23630         Include "get-dynamic-info.h" and "setup-vdso.h".
23631         (_dl_non_dynamic_init): Call setup_vdso.
23632         * elf/dynamic-link.h: Don't include <assert.h>.
23633         (elf_get_dynamic_info): Moved to ...
23634         * elf/get-dynamic-info.h: Here.  New file.
23635         * elf/dynamic-link.h: Include "get-dynamic-info.h".
23636         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23637         * elf/setup-vdso.h: Here.  New file.
23638         * elf/rtld.c: Include "setup-vdso.h".
23639         (dl_main): Call setup_vdso.
23641 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
23643         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23644         creal in comment listing functions tested.  List finite, isinf,
23645         isnan, isless, islessequal, isgreater, isgreaterequal,
23646         islessgreater, isunordered, lgamma_r and pow10 as functions and
23647         macros not tested.  Mention which functions not tested are aliases
23648         for other functions.  Fix typo.  Note that signs of NaNs are not
23649         tested.
23651         * scripts/config.guess: Update from config.git.
23652         * scripts/config.sub: Likewise.
23654 2012-10-04  Roland McGrath  <roland@hack.frob.com>
23656         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23657         * misc/madvise.c (madvise): Renamed to __madvise.
23658         Make madvise a weak alias.
23659         * include/sys/mman.h: Declare __madvise.
23660         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23661         * sysdeps/unix/syscalls.list
23662         (madvise): Make __madvise the strong name, and madvise a weak alias.
23663         * sysdeps/unix/sysv/linux/syscalls.list
23664         (madvise, mmap): Remove redundant entries.
23665         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23666         * malloc/malloc.c (mtrim): Likewise.
23667         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23669 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23671         * sysdeps/mach/hurd/dl-cache.c: File removed.
23672         * config.h.in (USE_LDCONFIG): New #undef.
23673         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23674         * configure: Regenerated.
23675         * elf/Makefile (dl-routines): Add dl-cache only under
23676         [$(use-ldconfig) = yes].
23677         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23678         cache on [USE_LDCONFIG].
23679         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23680         [USE_LDCONFIG].
23681         * elf/rtld.c (dl_main): Likewise.
23683 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
23685         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23686         _SC_LEVEL4_CACHE_LINESIZE.
23688 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23690         * sysdeps/unix/bsd/confstr.h: File removed.
23692 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
23694         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23695         sys/sdt-config.h.
23697 2012-10-02  Roland McGrath  <roland@hack.frob.com>
23699         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23700         Make 'mapoff' field ElfW(Off) rather than off_t.
23702 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
23704         * nscd/Makefile: Remove nscd-cflags and all its users.
23705         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23706         (CFLAGS-nonlib): Add compiler flags for nscd modules.
23708         [BZ #10631]
23709         * malloc.c (malloc_printerr): Clarify error message.
23711 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
23713         [BZ #14648]
23714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23715         Set bit_FMA_Usable if FMA is supported.
23716         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23717         macro.
23718         (bit_FMA4_Usable): Updated.
23719         (index_FMA_Usable): New macro.
23720         (CPUID_FMA): Likewise
23721         (HAS_FMA): Defined with bit_FMA_Usable.
23723 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23725         * bits/types.h (__swblk_t): Type removed.
23726         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23727         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23729         (__SWBLK_T_TYPE): Likewise.
23730         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23731         (__SWBLK_T_TYPE): Likewise.
23732         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23733         (__SWBLK_T_TYPE): Likewise.
23734         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23735         (__SWBLK_T_TYPE): Likewise.
23737 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
23738             Honza Horak <hhorak@redhat.com>
23740         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23741         (xdr_mapname): Use YPMAXMAP as maxsize.
23742         (xdr_peername): Use YPMAXPEER as maxsize.
23743         (xdr_keydat): Use YPAXRECORD as maxsize.
23744         (xdr_valdat): Use YPMAXRECORD as maxsize.
23746 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23748         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23750         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23751         * csu/init-first.c: ... here.
23752         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23753         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23754         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23755         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23756         * sysdeps/i386/init-first.c: File removed.
23757         * sysdeps/sh/init-first.c: File removed.
23759 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
23761         [BZ #14645]
23762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23763         if x * y might underflow to zero and z is zero.
23764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23766         * math/libm-test.inc (min_subnorm_value): New variable.
23767         (fma_test): Add more tests.
23768         (fma_test_towardzero): Likewise.
23769         (fma_test_downward): Likewise
23770         (fma_test_upward): Likewise.
23771         (initialize): Set min_subnorm_value.
23773 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
23775         [BZ #14638]
23776         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23777         0 + 0.
23778         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23779         mode for addition resulting in exact zero.
23780         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23781         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23782         exact 0 + 0.
23783         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23785         * math/libm-test.inc (fma_test): Add more tests.
23786         (fma_test_towardzero): New function.
23787         (fma_test_downward): Likewise.
23788         (fma_test_upward): Likewise.
23789         (main): Call the new functions.
23791 2012-09-28  David S. Miller  <davem@davemloft.net>
23793         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23795 2012-09-28  Roland McGrath  <roland@hack.frob.com>
23797         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23798         instead of SIGALRM.
23800         * sysdeps/gnu/_G_config.h: Moved to ...
23801         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23802         * sysdeps/mach/hurd/_G_config.h: Moved to ...
23803         * sysdeps/generic/_G_config.h: ... here.
23805         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
23807         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23809         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23810         Conditionalize target on [libnss_test1.so-version].
23812         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23814         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23815         (elfobjdir): Move out of conditionals.
23817         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23818         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23819         (__nss_lookup_function): Conditionalize label remove_from_tree on
23820         [!DO_STATIC_NSS || SHARED], matching its only use.
23822 2012-09-28  David S. Miller  <davem@davemloft.net>
23824         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23825         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23826         file.
23827         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23828         sysdep_routines.
23829         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23831         when HWCAP_SPARC_CRYPTO is present.
23833 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23835         * io/tst-mknodat.c: Create a FIFO instead of a socket.
23837 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
23839         [BZ #6530]
23840         * stdio-common/vfprintf.c (process_string_arg): Revert
23841         2000-07-22 change.
23843 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
23845         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23846         for testcase.
23847         * stdio-common/tst-sprintf.c: Include <locale.h>
23848         (main): Test sprintf's handling of incomplete multibyte
23849         characters.
23851 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
23853         * elf/dl-runtime.c (VERSYMIDX): Removed.
23854         * elf/dl-version.c (VERSYMIDX): Likewise.
23855         * elf/do-rel.h (VERSYMIDX): Likewise.
23856         (VALIDX): Likewise.
23857         * elf/dynamic-link.h (VERSYMIDX): Likewise.
23858         * elf/rtld.c (VALIDX): Likewise.
23859         (ADDRIDX): Likewise.
23860         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23861         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23862         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23863         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23864         (VALIDX): Likewise.
23865         (ADDRIDX): Likewise.
23867 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23869         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23871 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
23873         [BZ #11438]
23874         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23875         to global scope.
23876         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23877         addresses are in the same scope as 192.0.2/24.
23878         * posix/gai.conf: Document new scope table defaults.
23880 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23882         [BZ #5298]
23883         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23884         for ftell.  Compute offsets from write pointers instead.
23885         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23887 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23889         [BZ #14543]
23890         * libio/Makefile (tests): New test case tst-fseek.
23891         * libio/tst-fseek.c: New test case to verify that fseek/ftell
23892         combination works in wide mode.
23893         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23894         state when the external buffer state changes.
23896 2012-09-27  David S. Miller  <davem@davemloft.net>
23898         [BZ #14376]
23899         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23900         pass reloc->r_addend in as the 'high' argument to
23901         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23905 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23907         * rt/tst-aio2.c: Include <pthread.h>.
23908         * rt/tst-aio3.c: Likewise.
23910 2012-09-27  Steve Ellcey  <sellcey@mips.com>
23912         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23914 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
23916         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23917         contents on [SHARED].
23919 2012-09-26  Marek Polacek  <polacek@redhat.com>
23921         [BZ #14530]
23922         [BZ #13741]
23923         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23924         for C++ and GCC <4.3 as well as for non GCC compilers.
23926 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23930 2012-09-25  Roland McGrath  <roland@hack.frob.com>
23932         * Makefile.in (all, install): Declare with .PHONY.
23933         Reported by Michael Hope <michael.hope@linaro.org>.
23935 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23937         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23938         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23939         system header.
23940         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23941         Likewise.
23942         (sydep_routines): Add the new and the internal functions.
23943         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23944         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23946         (GLIBC_2.17): Add the new function.
23947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23948         (GLIBC_2.17): Likewise.
23949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23950         (GLIBC_2.17): Likewise.
23951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23952         (GLIBC_2.17): Likewise.
23953         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23955 2012-09-25  Alan Modra  <amodra@gmail.com>
23957         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23958         Add release barrier before setting once_control to say
23959         initialisation is done.  Add hints on lwarx.  Use macro in
23960         place of isync.
23961         (clear_once_control): Add release barrier.
23963 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23965         [BZ #13629]
23966         * math/s_clog.c (__clog): Handle more values close to |z| = 1
23967         specially.
23968         * math/s_clog10.c (__clog10): Likewise.
23969         * math/s_clog10f.c (__clog10f): Likewise.
23970         * math/s_clog10l.c (__clog10l): Likewise.
23971         * math/s_clogf.c (__clogf): Likewise.
23972         * math/s_clogl.c (__clogl): Likewise.
23973         * math/Makefile (libm-calls): Add x2y2m1.
23974         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23975         (__x2y2m1): Likewise.
23976         (__x2y2m1l): Likewise.
23977         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23978         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23979         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23980         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23981         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23982         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23983         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23984         * sysdeps/i386/fpu/libm-test-ulps: Update.
23985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23987         [BZ #14621]
23988         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23989         int as type of variable DEPTH.
23990         (glob): Use size_t instead of int as type of variables NEWCOUNT
23991         and OLD_PATHC.
23993 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23995         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23996         Add s_sincosf-sse2.
23997         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23998         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23999         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24000         macros for using routine as __sincosf_ia32.
24001         Use macro for function declaration and weak_alias.
24002         * sysdeps/i386/fpu/libm-test-ulps: Update.
24004         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24007         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24008         subnormal argument.
24009         * math/s_cexpf.c (__cexpf): Likewise.
24010         * math/s_csinf.c (__csinf): Likewise.
24011         * math/s_csinhf.c (__csinhf): Likewise.
24012         * math/s_ctanf.c (__ctanf): Likewise.
24013         * math/s_ctanhf.c (__ctanhf): Likewise.
24014         * math/s_ccosh.c (__ccoshf): Likewise.
24015         * math/s_cexp.c (__cexpl): Likewise.
24016         * math/s_csin.c (__csin): Likewise.
24017         * math/s_csinh.c (__csinh): Likewise.
24018         * math/s_ctan.c (__ctan): Likewise.
24019         * math/s_ctanh.c (ctanh): Likewise.
24020         * math/s_ccoshl.c (__ccoshl): Likewise.
24021         * math/s_cexpl.c (__cexpl): Likewise.
24022         * math/s_csinl.c (__csinl): Likewise.
24023         * math/s_csinhl.c (__csinhl): Likewise.
24024         * math/s_ctanl.c (__ctanl): Likewise.
24025         * math/s_ctanhl.c (__ctanhl): Likewise.
24027 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
24029         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24030         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24031         (_IO_off_t): Define to __off_t, not _G_off_t.
24032         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24033         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24034         (_IO_wint_t): Define to wint_t, not _G_wint_t.
24035         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24036         type of __dummy and __dummy2 fields.
24037         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24038         (_G_ssize_t): Likewise.
24039         (_G_off_t): Likewise.
24040         (_G_pid_t): Likewise.
24041         (_G_uid_t): Likewise.
24042         (_G_wchar_t): Likewise.
24043         (_G_wint_t): Likewise.
24044         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24045         (_G_ssize_t): Likewise.
24046         (_G_off_t): Likewise.
24047         (_G_pid_t): Likewise.
24048         (_G_uid_t): Likewise.
24049         (_G_wchar_t): Likewise.
24050         (_G_wint_t): Likewise.
24051         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24052         (_G_ssize_t): Likewise.
24053         (_G_off_t): Likewise.
24054         (_G_pid_t): Likewise.
24055         (_G_uid_t): Likewise.
24056         (_G_wchar_t): Likewise.
24057         (_G_wint_t): Likewise.
24059 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24061         * malloc/arena.c: Include malloc-sysdep.h.
24062         (shrink_heap): Use check_may_shrink_heap to decide if madvise
24063         is sufficient to shrink the heap or an unmap is needed.
24064         * sysdeps/generic/malloc-sysdep.h: New file.  Define
24065         new function check_may_shrink_heap.
24066         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
24067         new function check_may_shrink_heap.
24069 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24071         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24072         comments.
24074 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
24076         * catgets/test-gencat.sh: Add "set -e".
24077         * elf/tst-pathopt.sh: Likewise.
24078         * grp/tst_fgetgrent.sh: Likewise.
24079         * iconvdata/run-iconv-test.sh: Likewise.
24080         * intl/tst-gettext.sh: Likewise.
24081         * intl/tst-gettext2.sh: Likewise.
24082         * intl/tst-gettext4.sh: Likewise.
24083         * intl/tst-gettext6.sh: Likewise.
24084         * intl/tst-translit.sh: Likewise.
24085         * io/ftwtest-sh: Likewise.
24086         * libio/test-freopen.sh: Likewise.
24087         * malloc/tst-mtrace.sh: Likewise.
24088         * posix/globtest.sh: Likewise.
24089         * posix/tst-getconf.sh: Likewise.
24090         * posix/wordexp-tst.sh: Likewise.
24091         * stdio-common/tst-printf.sh: Likewise.
24092         * stdio-common/tst-unbputc.sh: Likewise.
24093         * stdlib/tst-fmtmsg.sh: Likewise.
24094         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24095         * catgets/Makefile: Do not specify -e option when running
24096         testsuite shell scripts.
24097         * elf/Makefile: Likewise.
24098         * grp/Makefile: Likewise.
24099         * iconvdata/Makefile: Likewise.
24100         * intl/Makefile: Likewise.
24101         * io/Makefile: Likewise.
24102         * libio/Makefile: Likewise.
24103         * malloc/Makefile: Likewise.
24104         * posix/Makefile: Likewise.
24105         * stdio-common/Makefile: Likewise.
24106         * stdlib/Makefile: Likewise.
24107         * sysdeps/x86_64/Makefile: Likewise.
24109         * io/ftwtest-sh: Add copyright header.
24110         * posix/globtest.sh: Likewise.
24111         * posix/tst-getconf.sh: Likewise.
24112         * posix/wordexp-tst.sh: Likewise.
24113         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24115 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
24117         [BZ #13679]
24118         * Makeconfig (+link): Defined as $(+link-static) if
24119         $(build-shared) isn't yes.
24120         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24121         isn't yes.
24122         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24124         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24126         [BZ #14562]
24127         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24128         new chunk size with MALLOC_ALIGN_MASK.
24130 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
24132         [BZ #5044]
24133         * stdio-common/printf_fphex.c: Include <stdbool.h> and
24134         <rounding-mode.h>.
24135         (__printf_fphex): Determine rounding using get_rounding_mode and
24136         round_away.
24137         * stdio-common/tst-printf-round.c (struct hex_test): New
24138         structure.
24139         (hex_tests): New variable.
24140         (test_hex_in_one_mode): New function.
24141         (do_test): Also run tests for hex float output.
24143 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
24145         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24146         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24147         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24148         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24149         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24150         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24151         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24152         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24154 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
24156         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24157         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24158         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24159         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24161 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
24163         [BZ #14579]
24164         * elf/rtld.c (dl_main): Limit the check for self loading to normal
24165         mode only.
24166         * elf/tst-rtld-load-self.sh: New test.
24167         * elf/Makefile: Run it.
24169 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
24171         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24172         (tst-writev-ENV): Remove.
24173         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24175 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
24177         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24179 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
24181         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24182         unconditional.
24183         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24184         Likewise.
24185         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24186         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24187         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24188         Likewise.
24190 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
24192         [BZ #14587]
24193         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24194         * config.make.in (have-cpp-asm-debuginfo): Removed.
24195         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24196         * configure: Regenerated.
24198 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
24200         [BZ #5044]
24201         * stdio-common/printf_fp.c: Include <stdbool.h> and
24202         <rounding-mode.h>.
24203         (___printf_fp): Determine rounding using get_rounding_mode and
24204         round_away.
24205         * stdio-common/tst-printf-round.c: New file.
24206         * stdio-common/Makefile (tests): Add tst-printf-round.
24207         (link-libm): New variable.
24208         ($(objpfx)tst-printf-round): Depend in $(link-libm).
24210 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
24212         [BZ #14576]
24213         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24214         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24215         Likewise.
24216         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24217         Likewise.
24219 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
24221         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24222         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24223         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24224         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24226 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
24228         [BZ #14518]
24229         * include/rounding-mode.h: New file.
24230         * sysdeps/generic/get-rounding-mode.h: Likewise.
24231         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24232         * stdlib/strtod_l.c: Include <rounding-mode.h>.
24233         (MAX_VALUE): New macro.
24234         (MIN_VALUE): Likewise.
24235         (overflow_value): New function.
24236         (underflow_value): Likewise.
24237         (round_and_return): Use overflow_value and underflow_value to
24238         determine return values in overflow and underflow cases.  Use
24239         round_away to determine rounding depending on rounding mode.
24240         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24241         determine return values in overflow and underflow cases.
24242         * stdlib/tst-strtod-round.c: Include <fenv.h>.
24243         (struct test_results): New structure.
24244         (struct test): Use struct test_results to store expected results
24245         for all rounding modes.
24246         (TEST): Include expected results for all rounding modes.
24247         (test_in_one_mode): New function.
24248         (do_test): Use test_in_one_mode to compute and check results.
24249         Check results for all rounding modes.
24250         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24251         $(link-libm).
24253 2012-12-09  Allan McRae  <allan@archlinux.org>
24255         * sysdeps/i386/fpu/libm-test-ulps: Update
24257 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
24259         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24260         (_G_int32_t): Likewise.
24261         (_G_uint16_t): Likewise.
24262         (_G_uint32_t): Likewise.
24263         (_G_HAVE_BOOL): Likewise.
24264         (_G_HAVE_ATEXIT): Likewise.
24265         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24266         (_G_HAVE_IO_FILE_OPEN): Likewise.
24267         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24268         (_G_int32_t): Likewise.
24269         (_G_uint16_t): Likewise.
24270         (_G_uint32_t): Likewise.
24271         (_G_HAVE_BOOL): Likewise.
24272         (_G_HAVE_ATEXIT): Likewise.
24273         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24274         (_G_HAVE_IO_FILE_OPEN): Likewise.
24275         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24276         (_G_int32_t): Likewise.
24277         (_G_uint16_t): Likewise.
24278         (_G_uint32_t): Likewise.
24279         (_G_HAVE_BOOL): Likewise.
24280         (_G_HAVE_ATEXIT): Likewise.
24281         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24282         (_G_HAVE_IO_FILE_OPEN): Likewise.
24284 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
24286         * csu/libc-tls.c: Update copyright years.
24288 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
24290         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24291         [!_G_USING_THUNKS]: Remove conditional code.
24292         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24293         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24295         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24296         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24297         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24298         (_G_VTABLE_LABEL_PREFIX): Likewise.
24299         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24300         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24301         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24302         (_G_VTABLE_LABEL_PREFIX): Likewise.
24303         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24304         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24305         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24306         (_G_VTABLE_LABEL_PREFIX): Likewise.
24307         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24309 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
24311         * libio/Makefile: Include ../Makeconfig before tests.
24312         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24313         only if $(build-shared) is yes.
24315         * iconv/gconv_db.c: Update copyright years.
24317 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24319         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24320         unwind info if defined PIC. Fix special cases description.
24321         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24323         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24324         DP_HI_MASK entry.
24325         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24327 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
24329         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24331         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24332         is NULL.
24334         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24335         (LDLIBS-tst-chk4): This.
24336         (LDFLAGS-tst-chk5): Renamed to ...
24337         (LDLIBS-tst-chk5): This.
24338         (LDFLAGS-tst-chk6): Renamed to ...
24339         (LDLIBS-tst-chk6): This.
24340         (LDFLAGS-tst-lfschk4): Renamed to ...
24341         (LDLIBS-tst-lfschk4): This.
24342         (LDFLAGS-tst-lfschk5): Renamed to ...
24343         (LDLIBS-tst-lfschk5): This.
24344         (LDFLAGS-tst-lfschk6): Renamed to ...
24345         (LDLIBS-tst-lfschk6): This.
24347         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24348         on $(common-objpfx)soversions.mk.
24350 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
24352         [BZ #10014]
24353         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24354         example host name.
24356 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24358         * malloc/arena.c (arena_get_retry): New function that gets
24359         another arena for the caller to try its request on.
24360         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24361         current arena cannot fulfill the request.
24362         (__libc_memalign): Likewise.
24363         (__libc_memalign): Likewise.
24364         (__libc_pvalloc): Likewise.
24365         (__libc_calloc): Likewise.
24367 2012-09-05  John Tobey  <john.tobey@gmail.com>
24369         [BZ #13542]
24370         * manual/arith.texi (Operations on Complex): Fix description
24371         of carg branch cut.
24373 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24375         [BZ #10014]
24376         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24377         host name.
24379         [BZ #10038]
24380         * manual/memory.texi (Memory): Make order of menu items match
24381         order of sections.
24383 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24385         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24386         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
24387         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24389 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24391         * csu/libc-tls.c (static_dtv): Renamed to ...
24392         (_dl_static_dtv): This.  Make it global.
24393         (_dl_initial_dtv): Removed.
24394         (__libc_setup_tls): Updated.
24395         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24396         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24397         DL_INITIAL_DTV.
24399 2012-09-06  Petr Machata  <pmachata@redhat.com>
24401         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24402         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24403         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24404         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24406 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24408         [BZ #14545]
24409         * csu/libc-tls.c (_dl_initial_dtv): New variable.
24410         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24411         freeing dtv[-1].
24413 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24415         [BZ #14544]
24416         * Makeconfig (link-static-before-libc): Replace $(+prector)
24417         with $(+prectorT).
24418         (link-static-after-libc): Replace $(+postctor) with
24419         $(+postctorT).
24420         (link-bounded): Replace $(+prector)/$(+postctor) with
24421         $(+prectorT)/$(+postctorT).
24422         (+prectorT): New macro.
24423         (+postctorT): Likewise.
24425 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24427         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24428         (round_str): Handle values above the maximum for IBM long double
24429         as inexact.
24430         * stdlib/tst-strtod-round.c (tests): Regenerated.
24432 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24434         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24435         assembler flag.
24436         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24437         zarch_nohighgprs around the zarch optimized routines.
24438         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24439         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24440         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24441         for zarch.
24443 2012-09-05  David S. Miller  <davem@davemloft.net>
24445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24447         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24448         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24449         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24450         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24451         entries.
24453 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24455         * malloc/arena.c: Fold copyright years.
24456         * malloc/mcheck.c, malloc/memusage.c: Likewise.
24458 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24460         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24462 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24464         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
24466 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24468         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24469         change internal state upon failure.
24471 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24473         * malloc/mcheck.c (mcheck_check_all): Fix typo.
24474         * malloc/memusage.c (mmap): Likewise.
24475         (mmap64, mremap): Likewise.  Adjust name in comment.
24477 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24479         * libio/fileops.c: Fix typos in comments.
24480         * libio/oldfileops.c: Likewise.
24481         * libio/wfileops.c: Likewise.
24483 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24485         [BZ #1349]
24486         * malloc/Makefile (tests): Add tst-malloc-usable test case.
24487         (tst-malloc-usable-ENV): Set environment for test case.
24488         * malloc/hooks.c (malloc_check_get_size): New function to get
24489         requested size.
24490         * malloc/malloc.c (musable): Use malloc_check_get_size.
24491         * malloc/tst-malloc-usable.c: New test case.
24493 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24495         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24497 2012-09-05  Allan McRae  <allan@archlinux.org>
24499         [BZ #13966]
24500         * configure.in (CXX_SYSINCLUDES): Use compiler output to
24501         determine header location.
24502         * configure: Regenerated.
24504 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24506         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24507         float format.
24508         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24509         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24510         format.
24511         (test): Regenerate.
24513 2012-09-04  David S. Miller  <davem@davemloft.net>
24515         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24516         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24517         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24519 2012-09-04  Florian Weimer  <fweimer@redhat.com>
24521         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24522         failures.
24524         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24526 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
24528         [BZ #9914]
24529         * libio/iogetdelim.c: Include <limits.h>.
24530         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24531         + len + 1 would overflow.
24533 2012-09-03  Andreas Jaeger  <aj@suse.de>
24535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24536         * sysdeps/i386/fpu/libm-test-ulps: Update.
24538 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24540         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24541         Add s_sinf-sse2, s_conf-sse2.
24543         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24544         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24545         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24546         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24548         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24549         for using routine as __sinf_ia32.
24550         Use macro for function declaration and weak_alias.
24551         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24552         for using routine as __cosf_ia32.
24553         Use macro for function declaration and weak_alias.
24555         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24556         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24558         * sysdeps/x86_64/fpu/s_sinf.S: New file.
24559         * sysdeps/x86_64/fpu/s_cosf.S: New file.
24560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24562         * math/libm-test.inc (cos_test): Add more test cases.
24563         (sin_test): Likewise.
24564         (sincos_test): Likewise.
24566 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24568         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24569         (IFUNC_RESOLVE): Make pointers to the specialized implementations
24570         hidden.
24571         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24573 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
24575         [BZ #14538]
24576         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24577         first element of the GOT.
24578         (elf_machine_load_address): Return the difference between
24579         the runtime address of _DYNAMIC and elf_machine_dynamic ().
24581 2012-09-01  Allan McRae  <allan@archlinux.org>
24583         [BZ #13412]
24584         * configure.in (AWK): Require gawk version 3.0 or later.
24585         * configure: Regenerated.
24587 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
24589         * sysdeps/unix/sysv/linux/kernel-features.h
24590         (__ASSUME_POSIX_CPU_TIMERS): Remove.
24591         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24592         [__NR_clock_getres]: Make code unconditional.
24593         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24594         (clock_getcpuclockid): Remove code left unreachable by removal of
24595         conditionals.
24596         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24597         code unconditional.
24598         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24599         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24600         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24601         Make code unconditional.
24602         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24603         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24604         * sysdeps/unix/sysv/linux/clock_settime.c
24605         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24606         conditional code.
24607         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24608         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24610 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
24612         [BZ #14476]
24613         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24614         scripts/test-installation.pl.
24616         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24617         and $ld_so_version if it is set.
24619 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24621         [BZ #14516]
24622         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24623         failure if reading from procfs failed.
24624         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24626 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24628         * sysdeps/unix/sysv/linux/kernel-features.h
24629         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24630         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24631         Remove conditional code.
24632         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24633         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24634         Remove conditional code.
24635         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24636         * sysdeps/unix/sysv/linux/i386/fxstat.c
24637         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24638         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24639         * sysdeps/unix/sysv/linux/i386/fxstatat.c
24640         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24641         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24642         * sysdeps/unix/sysv/linux/i386/lxstat.c
24643         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24644         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24645         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24646         Remove conditional code.
24647         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24648         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24649         Remove conditional code.
24650         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24651         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24652         <kernel-features.h>.
24653         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24654         Remove.
24655         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24656         Remove conditional code.
24657         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24658         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24659         Remove conditional.
24661 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
24663         [BZ #5400]
24664         * NEWS: Add fixed bug number.
24666 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24668         [BZ #14519]
24669         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24670         underflowing exponent in case of negative sign.
24671         * stdlib/tst-strtod-round-data: Add more tests.
24672         * stdlib/tst-strtod-round.c (tests): Regenerated.
24674         [BZ #3479]
24675         * stdlib/strtod_l.c (NDIG): Remove.
24676         (HEXNDIG): Likewise.
24677         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24678         smallest representable value.
24679         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24680         lie within an exact representation of 1/2 ulp of the result.
24681         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24682         unconditionally.
24683         (TENS_P9_IDX): Define unconditionally.
24684         (TENS_P9_SIZE): Likewise.
24685         (TENS_P10_IDX): Likewise.
24686         (TENS_P10_SIZE): Likewise.
24687         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24688         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24689         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24690         entries for 10^2^13 and 10^2^14.
24691         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24692         (TENS_P13_IDX): Define.
24693         (TENS_P13_SIZE): Likewise.
24694         (TENS_P14_IDX): Likewise.
24695         (TENS_P14_SIZE): Likewise.
24696         (_fpioconst_pow10): Change array size to
24697         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
24698         unconditional.
24699         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24700         1024]: Add entries for 10^2^13 and 10^2^14.
24701         [LAST_POW10 > _LAST_POW10]: Remove #error.
24702         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24703         (_fpioconst_pow10): Change array size to
24704         FPIOCONST_POW10_ARRAY_SIZE.
24705         * stdlib/gen-fpioconst.c: New file.
24706         * stdlib/gen-tst-strtod-round.c: Likewise.
24707         * stdlib/tst-strtod-round-data: Likewise.
24708         * stdlib/tst-strtod-round.c: Likewise.
24709         * stdlib/Makefile (tests): Add tst-strtod-round.
24711         [BZ #14459]
24712         * stdlib/strtod_l.c: Include <stdint.h>.
24713         (NDEBUG): Do not define.
24714         (round_and_return): Change EXPONENT parameter to type intmax_t.
24715         Rearrange calculations to avoid internal overflow possibilities.
24716         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24717         Rearrange calculations to avoid internal overflow possibilities.
24718         Assert that number fits inside MPNSIZE limbs.
24719         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24720         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
24721         calculations and add assertions to avoid internal overflow
24722         possibilities.  Add casts to avoid signed/unsigned operations.
24723         * stdlib/tst-strtod-overflow.c: New file.
24724         * stdlib/Makefile (tests): Add tst-strtod-overflow.
24726 2012-08-25  Marek Polacek  <polacek@redhat.com>
24728         * time/time.h: Fix some typos in comments.
24730 2012-08-23  Roland McGrath  <roland@hack.frob.com>
24732         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24733         * posix/tst-rfc3484-2.c: Likewise.
24734         * posix/tst-rfc3484-3.c: Likewise.
24736 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
24738         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24739         (EF_ARM_ABI_FLOAT_HARD): Likewise.
24741 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
24743         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24744         #include of fxstatat64.c.
24746 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24748         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24749         * shadow/getspent_r.c: Likewise.
24750         * shadow/getspnam.c: Likewise.
24751         * shadow/getspnam_r.c: Likewise.
24752         * gshadow/getsgent.c: Likewise.
24753         * gshadow/getsgent_r.c: Likewise.
24754         * gshadow/getsgnam.c: Likewise.
24755         * gshadow/getsgnam_r.c: Likewise.
24756         * inet/getnetbyad.c: Likewise.
24757         * inet/getnetbyad_r.c: Likewise.
24758         * inet/getnetbynm.c: Likewise.
24759         * inet/getnetbynm_r.c: Likewise.
24760         * inet/getnetent.c: Likewise.
24761         * inet/getnetent_r.c: Likewise.
24762         * inet/getproto.c: Likewise.
24763         * inet/getproto_r.c: Likewise.
24764         * inet/getprtent.c: Likewise.
24765         * inet/getprtent_r.c: Likewise.
24766         * inet/getprtname.c: Likewise.
24767         * inet/getprtname_r.c: Likewise.
24768         * inet/getrpcbyname.c: Likewise.
24769         * inet/getrpcbyname_r.c: Likewise.
24770         * inet/getrpcbynumber.c: Likewise.
24771         * inet/getrpcbynumber_r.c: Likewise.
24772         * inet/getrpcent.c: Likewise.
24773         * inet/getrpcent_r.c: Likewise.
24774         * inet/getaliasent.c: Likewise.
24775         * inet/getaliasent_r.c: Likewise.
24776         * inet/getaliasname.c: Likewise.
24777         * inet/getaliasname_r.c: Likewise.
24778         * nscd/getgrgid_r.c: Likewise.
24779         * nscd/getgrnam_r.c: Likewise.
24780         * nscd/gethstbyad_r.c: Likewise.
24781         * nscd/gethstbynm3_r.c: Likewise.
24782         * nscd/getpwnam_r.c: Likewise.
24783         * nscd/getpwuid_r.c: Likewise.
24784         * nscd/getsrvbynm_r.c: Likewise.
24785         * nscd/getsrvbypt_r.c: Likewise.
24786         * nscd/gai.c: Likewise.
24788         * configure.in (build_nscd): New substituted variable, set
24789         by --disable-build-nscd and defaults to $use_nscd.
24790         * configure: Regenerated.
24791         * config.make.in (build-nscd): New substituted variable.
24792         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24793         Change conditional to require [$(build-nscd) = yes] as well.
24794         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24796         [BZ# 13696]
24797         * configure.in (use_nscd): New substituted variable, set by
24798         --disable-nscd.  If enabled, define USE_NSCD.
24799         * configure: Regenerated.
24800         * config.h.in: Add USE_NSCD.
24801         * config.make.in (use-nscd): New substituted variable.
24802         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24803         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24804         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24805         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24806         (CFLAGS-getgrnam_r.c): Likewise.
24807         (CFLAGS-initgroups.c): Likewise.
24808         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24809         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24810         Variables removed.
24811         * inet/getnetgrent_r.c
24812         (nscd_setnetgrent): New function, broken out of ...
24813         (setnetgrent): ... here.  Call it.
24814         (innetgr): Conditionalize nscd bits on [USE_NSCD].
24815         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24816         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24817         * nscd/Makefile (routines, aux): Move definitions after include of
24818         Makeconfig.  Conditionalize on [$(use-nscd) != no].
24819         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24820         Conditionalize on [USE_NSCD].
24821         (is_nscd, nscd_init_cb): Likewise.
24822         (nss_load_library): Conditionalize init callback on [USE_NSCD].
24823         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24824         * nss/nss_db/db-init.c: Likewise.
24825         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24826         [USE_NSCD].
24827         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24828         (make_request): Use it.
24829         (cache_valid_p): New function.
24830         (__check_pf): Use it.
24831         * NEWS: Add item for --disable-nscd.
24833 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
24835         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24836         to support sed >= 4.2.1-20-ga9bf076.
24837         * configure: Regenerated.
24839 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24841         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24842         Conditionalize whole body on [IREL].
24844 2012-08-22  Jeff Law <law@redhat.com>
24846         [BZ #14505]
24847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24848         if the family is PF_UNSPEC.
24850 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
24852         * Makerules (lib-version): Rename from V.
24853         (install-lib-nosubdir): Change V to lib-version.
24855 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
24857         [BZ #14252]
24858         * powerpc32/power6/wcschr.c: New file.
24859         * powerpc32/power6/wcscpy.c: New file.
24860         * powerpc32/power6/wcsrchr.c: New file.
24861         * powerpc64/power6/wcschr.c: New file.
24862         * powerpc64/power6/wcscpy.c: New file.
24863         * powerpc64/power6/wcsrchr.c: New file.
24865 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24867         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24868         (two_way_short_needle): Use it.
24869         * string/strstr.c (AVAILABLE1_USES_J): Define.
24870         * string/strcasestr.c: Likewise.
24872         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24873         array references.
24874         * string/strcasestr.c (TOLOWER): Make side-effect safe.
24876         [BZ #11607]
24877         * NEWS: Add an entry.
24878         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24879         define their defaults.
24880         (two_way_short_needle): Detect end-of-string on-the-fly.
24881         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24882         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24883         * string/bug-strcasestr1.c: New test.
24884         * string/Makefile: Run it.
24886 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24888         [BZ #11607]
24889         * string/str-two-way.h (two_way_short_needle): Optimize matching of
24890         the first character.
24892 2012-08-21  Roland McGrath  <roland@hack.frob.com>
24894         * csu/elf-init.c (__libc_csu_irel): Function removed.
24895         * csu/libc-start.c (apply_irel): New function.
24896         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24898 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
24900         * sysdeps/unix/sysv/linux/kernel-features.h
24901         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24902         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24903         <kernel-features.h>.
24904         [__NR_fadvise64_64]: Make code unconditional.
24905         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24906         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24907         !__NR_fadvise64_64)]: Likewise.
24908         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24909         !__NR_fadvise64_64))]: Likewise.
24910         [__NR_fadvise64]: Make code unconditional.
24911         [!__NR_fadvise64]: Remove conditional code.
24912         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24913         <kernel-features.h>.
24914         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24915         unconditional.
24916         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24917         conditional code.
24918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24919         not include <kernel-features.h>.
24920         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24921         unconditional.
24922         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24923         conditional code.
24924         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24925         include <kernel-features.h>.
24926         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24927         unconditional.
24928         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24929         conditional code.
24931 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24933         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24934         slight instruction rearrangements per scrollpipe analysis.
24935         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24937 2012-08-20  Roland McGrath  <roland@hack.frob.com>
24939         * manual/syslog.texi (syslog; vsyslog, closelog):
24940         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24941         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24943         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24944         DSOCAPS to match condition on defining it.
24946 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
24948         * sysdeps/unix/sysv/linux/kernel-features.h
24949         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24951         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24952         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24954         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24955         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24957         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24958         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24960         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24961         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24963         * sysdeps/unix/sysv/linux/kernel-features.h
24964         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24965         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24966         unconditional.
24967         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24968         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24969         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24970         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24971         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24972         Make code unconditional.
24973         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24974         (__mmap64) [!__NR_mmap2]: Likewise.
24975         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24976         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24977         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24978         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24979         [__NR_mmap2]: Make code unconditional.
24980         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24981         (__mmap64) [!__NR_mmap2]: Likewise.
24983 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24985         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24987 2012-08-18  Andreas Jaeger  <aj@suse.de>
24989         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24991 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24993         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24994         * include/unistd.h (__have_sock_cloexec): Likewise.
24995         (__have_pipe2): Likewise.
24996         (__have_dup3): Likewise.
24998 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
25000         [BZ #9685]
25001         * include/unistd.h (__have_pipe2): Change define into an extern int.
25002         (__have_dup3): Likewise.
25003         * socket/have_sock_cloexec.c: Include fcntl.h.
25004         (__have_pipe2): New variable.
25005         (__have_dup3): Likewise.
25007 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
25009         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25011 2012-08-17  Marek Polacek  <polacek@redhat.com>
25013         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25014         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25016 2012-08-17  Roland McGrath  <roland@hack.frob.com>
25018         * configure.in: Add AC_SUBST for sysheaders.
25019         * configure: Regenerated.
25020         * config.make.in (sysheaders): New substituted variable.
25022         * sysdeps/unix/mkfifo.c: Moved ...
25023         * sysdeps/posix/mkfifo.c: ... here.
25024         * sysdeps/unix/mkfifoat.c: Moved ...
25025         * sysdeps/posix/mkfifoat.c: ... here.
25027         * sysdeps/unix/utime.c: Moved ...
25028         * sysdeps/posix/utime.c: ... here.
25030         * sysdeps/unix/time.c: Moved ...
25031         * sysdeps/posix/time.c: ... here.
25032         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25033         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25035         * sysdeps/unix/nice.c: Moved ...
25036         * sysdeps/posix/nice.c: ... here.
25038         * sysdeps/unix/alarm.c: Moved ...
25039         * sysdeps/posix/alarm.c: ... here.
25041         * intl/Makefile ($(codeset_mo)): Depend on the input file.
25043 2012-08-17  Jeff Law <law@redhat.com>
25045         * intl/Makefile (codeset_mo): New variable.
25046         ($(codeset_mo)): New target.
25047         (tst-codeset.out): Depend on that.  Remove explicit rule.
25048         (tst-gettext3.out, tst-gettext5.out): Likewise.
25049         (LOCPATH-ENV, tst-codeset-ENV): New variables.
25050         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25051         * intl/tst-codeset.sh: Remove.
25052         * intl/tst-gettext3.sh: Likewise.
25053         * intl/tst-gettext5.sh: Likewise.
25055 2012-08-17  Roland McGrath  <roland@hack.frob.com>
25057         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
25058         * sysdeps/unix/syscalls.list: ... here.
25060         * sysdeps/posix/getaddrinfo.c
25061         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25062         (gaiconf_init, gaiconf_reload): Use them.
25063         [!_STATBUF_ST_NSEC]
25064         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25065         Define using time_t rather than struct timespec.
25067         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25068         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25069         Macros removed.
25070         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25071         [!NO_THREADS].
25072         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25073         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25074         Likewise.
25076         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25077         __libc_cleanup_push argument.
25079         * bits/param.h: New file.
25080         * misc/sys/param.h: New file.
25081         * include/sys/param.h: New file.
25082         * misc/Makefile (headers): Add bits/param.h.
25083         * sysdeps/generic/sys/param.h: File removed.
25084         * sysdeps/unix/sysv/linux/bits/param.h: New file.
25085         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25086         * sysdeps/mach/hurd/bits/param.h: New file.
25087         * sysdeps/mach/hurd/sys/param.h: File removed.
25089         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25090         last change.
25092         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25093         [_IO_MTSAFE_IO].
25094         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25095         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25096         New macros.
25098         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25099         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25100         rather than -D_IO_MTSAFE_IO conditionally.
25101         * stdio-common/Makefile (CPPFLAGS): Likewise.
25102         * wcsmbs/Makefile (CPPFLAGS): Likewise.
25103         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25104         Use $(libio-mtsafe).
25105         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25106         of -D_IO_MTSAFE_IO.
25107         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25108         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25109         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25110         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25111         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25112         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25113         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25114         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25115         (CFLAGS-fread_u_chk.c): Likewise.
25116         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25117         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25118         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25119         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25120         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25121         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25122         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25123         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25124         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25126         * libio/Makefile: Test [$(libc-reentrant) = yes]
25127         instead of [$(filter %REENTRANT, $(defines)) nonempty].
25129         * Makeconfig
25130         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25131         * sysdeps/pthread/configure: File removed.
25132         * sysdeps/pthread/Makeconfig: New file.
25133         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25134         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25136 2012-08-16  Gary Benson  <gbenson@redhat.com>
25138         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25139         unmapping the first object in a namespace.
25141 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25143         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25144         (__internal_setnetgrent): ... this.  Add internal_function to
25145         definition.  Add libc_hidden_def.
25146         (setnetgrent): Update caller.
25147         (internal_endnetgrent): Renamed to ...
25148         (__internal_endnetgrent): ... this.  Add internal_function to
25149         definition.  Add libc_hidden_def.
25150         (endnetgrent): Update caller.
25151         (internal_getnetgrent_r): Renamed to ...
25152         (__internal_getnetgrent_r): ... this.  Add internal_function to
25153         definition.  Add libc_hidden_def.
25154         (__getnetgrent_r): Update caller.
25155         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
25157 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25159         * stdlib/longlong.h: Update from GCC.
25161 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25163         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25164         on _QL, which is set by umul_ppmm but never used.
25165         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25166         variables, which are set by GMP macros but never used.
25167         * stdio-common/_itowa.c (_itowa): Likewise.
25168         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25169         * stdlib/mod_1.c (mpn_mod_1): Likewise.
25171 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
25173         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25174         struct La_sh_regs is not constant.
25175         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25176         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25177         and struct La_sparc64_regs are not constant.
25179 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25181         * sysdeps/unix/sysv/linux/kernel-features.h
25182         (__ASSUME_POSIX_TIMERS): Remove.
25183         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25184         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25185         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25186         Make code unconditional.
25187         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25188         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25189         Make code unconditional.
25190         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25191         * sysdeps/unix/sysv/linux/clock_nanosleep.c
25192         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25193         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25194         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25195         Make code unconditional.
25196         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25197         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25198         (__libc_missing_posix_timers): Remove.
25200 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25202         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25203         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25205         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25207         * elf/dl-sym.c: Include <stdlib.h>.
25209         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25210         constants, which avoids warnings in 32-bit builds.
25212         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25213         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25215         * misc/lseek.c: File moved to ...
25216         * io/lseek.c: ... here.
25218         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25220         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25221         shifting LEN more than 31 bits at once.
25223 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25225         [BZ #14195]
25226         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25227         segmentation fault for a case of two empty input strings.
25228         * string/test-strncasecmp.c (check1): Renamed to...
25229         (bz12205): ...this.
25230         (bz14195): Add new testcase for two empty input strings and N > 0.
25231         (test_main): Call new testcase, adapt for renamed function.
25233 2012-08-15  Andreas Jaeger  <aj@suse.de>
25235         [BZ #14090]
25236         * crypt/md5test2.c: New test, based on test supplied by Serge
25237         Belyshev <belyshev@depni.sinp.msu.ru>.
25238         * crypt/Makefile (xtests): Add md5test-giant..
25239         * crypt/Makefile ($(objpfx)md5test-giant): Add.
25241 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
25243         [BZ #14090]
25244         * crypt/md5.c (md5_process_block): Don't assume the buffer
25245         length is less than 2**32.
25246         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25247         length is less than 2**64.
25249 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25251         * string/str-two-way.h: Include <sys/param.h>.
25252         (MAX): Macro removed.
25254         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25255         Move #define and #undef of memmove to just before and after
25256         including <string.h>.
25258         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25259         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25260         and after including <string.h>.  Move declarations of
25261         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25262         to before #include "string/memmove.c".
25264         * include/dirent.h: Declare __getdirentries.
25266         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25267         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25269 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
25271         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25272         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25273         * sysdeps/i386/configure: Regenerated.
25274         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25275         STABS_CURRENT_FILE, and STABS_FUN.
25276         (END): Remove call to STABS_FUN_END.
25277         (STABS_CURRENT_FILE1): Delete.
25278         (STABS_CURRENT_FILE): Likewise.
25279         (STABS_FUN): Likewise.
25280         (STABS_FUN_END): Likewise.
25281         (STABS_FUN2): Likewise.
25282         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25283         * sysdeps/x86_64/configure: Regenerated.
25285 2012-08-14  Roland McGrath  <roland@hack.frob.com>
25287         * elf/dl-open.c: Include <atomic.h>.
25288         * elf/dl-lookup.c: Likewise.
25290 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
25292         * sysdeps/unix/sysv/linux/kernel-features.h
25293         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25294         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25295         unconditionally.
25296         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25297         unconditionally.
25298         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25299         condition on __ASSUME_CLONE_THREAD_FLAGS.
25301 2012-08-14  Andreas Jaeger  <aj@suse.de>
25303         * sysdeps/i386/fpu/libm-test-ulps: Update.
25305 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
25307         * include/atomic.h (atomic_exchange_and_add): Split into ...
25308         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25309         New atomic macros.
25311 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
25313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25315 2012-08-13  Jeff Law <law@redhat.com>
25317         * manual/stdio.texi (snprintf): Clarify handling of the trailing
25318         null byte in the output string.
25320 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
25322         * sysdeps/unix/sysv/linux/kernel-features.h
25323         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25324         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25325         (__ASSUME_ARG_MAX_STACK_BASED): Define.
25326         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25327         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25328         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
25329         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25331 2012-08-09  Jeff Law <law@redhat.com>
25333         [BZ #13939]
25334         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25335         When avoid_arena is set, don't retry in the that arena.  Pick the
25336         next one, whatever it might be.
25337         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25338         (arena_lock): Pass in new parameter to arena_get2.
25339         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25340         arena_get2.
25341         (__libc_malloc): Unify retrying after main arena failure with
25342         __libc_memalign version.
25343         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25345 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25347         [BZ #14166]
25348         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25349         to __redirect_strstr.
25350         (__strstr_sse42): Use typeof __redirect_strstr.
25351         (__strstr_ia32): Likewise.
25352         (__libc_strstr): New prototype.
25353         (strstr): Renamed to ...
25354         (__libc_strstr): This.
25355         (strstr): New strong alias of __libc_strstr.
25356         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25357         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25358         __redirect_time.
25359         Include <time.h>.
25360         (__libc_time): New prototype.
25361         (time_ifunc): Replace time with __libc_time.
25362         (time): New strong alias and hidden definition of __libc_time.
25363         (__GI_time): Remove strong alias.
25364         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25365         Include <stddef.h>.
25366         (memmove): Redefined to __redirect_memmove.
25367         (__memmove_sse2): Use typeof __redirect_memmove.
25368         (__memmove_ssse3): Likewise.
25369         (__memmove_ssse3_back): Likewise.
25370         (__libc_memmove): New prototype.
25371         (memmove): Renamed to ...
25372         (__libc_memmove): This.
25373         (memmove): New strong alias of __libc_memmove.
25375 2012-08-08  Mark Salter  <msalter@redhat.com>
25377         * elf/elf.h
25378         (R_MN10300_TLS_GD): Define.
25379         (R_MN10300_TLS_LD): Likewise.
25380         (R_MN10300_TLS_LDO): Likewise.
25381         (R_MN10300_TLS_GOTIE): Likewise.
25382         (R_MN10300_TLS_IE): Likewise.
25383         (R_MN10300_TLS_LE): Likewise.
25384         (R_MN10300_TLS_DTPMOD): Likewise.
25385         (R_MN10300_TLS_DTPOFF): Likewise.
25386         (R_MN10300_TLS_TPOFF): Likewise.
25387         (R_MN10300_SYM_DIFF): Likewise.
25388         (R_MN10300_ALIGN): Likewise.
25389         (R_MN10300_NUM): Update.
25391 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
25393         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25394         Remove.
25396 2012-08-08  Roland McGrath  <roland@hack.frob.com>
25398         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25400         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25401         sysdeps/unix -> sysdeps/posix move.
25402         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25404 2012-08-07      Allan McRae     <allan@archlinux.org>
25406         [BZ #14303]
25407         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25408         (SUNOS_CPP): Likewise.
25409         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25410         not found.
25411         (open_input): Call CPP using execvp.
25413 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25415         * sysdeps/unix/sysv/linux/kernel-features.h
25416         (__ASSUME_PROT_GROWSUPDOWN): Remove.
25417         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25418         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25419         (__ASSUME_WAITID_SYSCALL): Likewise.
25420         * sysdeps/unix/sysv/linux/dl-execstack.c
25421         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25422         code unconditional.
25423         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25424         conditional code.
25425         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25426         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25427         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25428         code.
25429         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25430         unconditional.
25431         [__ASSUME_WAITID_SYSCALL]: Likewise.
25432         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25434 2012-08-07  Roland McGrath  <roland@hack.frob.com>
25436         * sysdeps/unix/closedir.c: Renamed to ...
25437         * sysdeps/posix/closedir.c: ... here.
25438         * sysdeps/unix/dirfd.c: Renamed to ...
25439         * sysdeps/posix/dirfd.c: ... here.
25440         * sysdeps/unix/dirstream.h: Renamed to ...
25441         * sysdeps/posix/dirstream.h: ... here.
25442         * sysdeps/unix/fdopendir.c: Renamed to ...
25443         * sysdeps/posix/fdopendir.c: ... here.
25444         * sysdeps/unix/opendir.c: Renamed to ...
25445         * sysdeps/posix/opendir.c: ... here.
25446         * sysdeps/unix/readdir.c: Renamed to ...
25447         * sysdeps/posix/readdir.c: ... here.
25448         * sysdeps/unix/readdir_r.c: Renamed to ...
25449         * sysdeps/posix/readdir_r.c: ... here.
25450         * sysdeps/unix/rewinddir.c: Renamed to ...
25451         * sysdeps/posix/rewinddir.c: ... here.
25452         * sysdeps/unix/seekdir.c: Renamed to ...
25453         * sysdeps/posix/seekdir.c: ... here.
25454         * sysdeps/unix/telldir.c: Renamed to ...
25455         * sysdeps/posix/telldir.c: ... here.
25456         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25457         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25458         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25459         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25461         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25462         * bits/fcntl.h: ... here.
25464         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25465         not 0.
25466         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25467         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25468         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25469         (struct flock): Move l_start, l_len to the beginning.
25470         Use __pid_t for l_pid.
25471         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25472         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25473         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25474         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25475         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25476         [__USE_LARGEFILE64] (struct flock64): New type.
25477         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25479         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25480         * bits/dirent.h: ... here.
25482         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25483         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25485 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25487         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25488         Change from 2.6.0 to 2.6.16.
25489         * sysdeps/unix/sysv/linux/configure: Regenerated.
25490         * sysdeps/unix/sysv/linux/kernel-features.h
25491         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25492         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25493         version.
25494         (__ASSUME_UTIMES): Likewise.
25495         (__ASSUME_CLONE_STOPPED): Remove.
25496         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25497         architectures, not kernel version.
25498         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25499         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25500         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25501         (__ASSUME_WAITID_SYSCALL): Likewise.
25502         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25503         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25504         * README: State 2.6.16 as minimum Linux kernel version.  Do not
25505         refer to older versions.
25507 2012-08-06  Roland McGrath  <roland@hack.frob.com>
25509         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25510         Define alphasort64 as an alias.
25511         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25512         Define versionsort64 as an alias.
25513         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25514         Define scandir64 as an alias.
25515         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25516         Define scandirat64 as an alias.
25517         * dirent/alphasort64.c (alphasort64):
25518         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25519         * dirent/versionsort64.c: Likewise.
25520         * dirent/scandir64.c: Likewise.
25521         * dirent/scandirat64.c: Likewise.
25522         * sysdeps/wordsize-64/alphasort.c: File removed.
25523         * sysdeps/wordsize-64/alphasort64.c: File removed.
25524         * sysdeps/wordsize-64/scandir.c: File removed.
25525         * sysdeps/wordsize-64/scandir64.c: File removed.
25526         * sysdeps/wordsize-64/scandirat.c: File removed.
25527         * sysdeps/wordsize-64/scandirat64.c: File removed.
25528         * sysdeps/wordsize-64/versionsort.c: File removed.
25529         * sysdeps/wordsize-64/versionsort64.c: File removed.
25530         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25531         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25532         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25533         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25534         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25535         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25536         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25537         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25539         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25540         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25541         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25542         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25543         [defined __arch64__ || defined __sparcv9]
25544         (__INO_T_MATCHES_INO64_T): New macro.
25545         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25546         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25547         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25548         * sysdeps/unix/sysv/linux/bits/dirent.h
25549         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25550         (_DIRENT_MATCHES_DIRENT64): New macro.
25552         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25553         Define lockf64 as an alias.
25554         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25555         Define fseeko64 as an alias.
25556         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25557         Define ftello64 as an alias.
25558         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25559         Define _IO_fgetpos64 and fgetpos64 as aliases.
25560         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25561         Define _IO_fsetpos64 and fsetpos64 as aliases.
25562         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25563         Conditionalize body on this.
25564         * libio/fseeko64.c: Likewise.
25565         * libio/ftello64.c: Likewise.
25566         * libio/iofgetpos64.c: Likewise.
25567         * libio/iofsetpos64.c: Likewise.
25568         * sysdeps/wordsize-64/lockf.c: File removed.
25569         * sysdeps/wordsize-64/lockf64.c: File removed.
25570         * sysdeps/wordsize-64/fseeko.c: File removed.
25571         * sysdeps/wordsize-64/fseeko64.c: File removed.
25572         * sysdeps/wordsize-64/ftello.c: File removed.
25573         * sysdeps/wordsize-64/ftello64.c: File removed.
25574         * sysdeps/wordsize-64/iofgetpos.c: File removed.
25575         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25576         * sysdeps/wordsize-64/iofsetpos.c: File removed.
25577         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25578         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25579         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25580         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25581         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25582         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25583         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25584         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25585         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25586         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25587         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25589         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25590         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25591         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25593         [defined __arch64__ || defined __sparcv9]
25594         (__OFF_T_MATCHES_OFF64_T): New macro.
25595         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25596         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25597         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25598         (__OFF_T_MATCHES_OFF64_T): New macro.
25600 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25602         * stdlib/secure-getenv.c (__secure_getenv): Replace
25603         GLIBC_2_16 with GLIBC_2_17.
25605 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25607         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25608         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25610 2012-08-03  David S. Miller  <davem@davemloft.net>
25612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25614 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25616         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25617         Remove.
25618         (__ASSUME_CORRECT_SI_PID): Likewise.
25619         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25620         (__ASSUME_TMPFS_NAME): Likewise.
25621         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25622         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25623         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25624         (HAVE_AUX_SECURE): Make definition unconditional.
25625         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25626         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25628 2012-08-03  Roland McGrath  <roland@hack.frob.com>
25630         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25631         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25632         * sysdeps/mach/hurd/eloop-threshold.h: New file.
25633         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25634         __eloop_threshold instead of SYMLOOP_MAX.
25636         * sysdeps/generic/eloop-threshold.h: New file.
25637         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25638         of MAXSYMLINKS.
25639         * elf/chroot_canon.c (chroot_canon): Likewise.
25641 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25643         [BZ #13717]
25644         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25645         Change to 2.6.0 everywhere.
25646         * sysdeps/unix/sysv/linux/configure: Regenerated.
25647         * sysdeps/unix/sysv/linux/kernel-features.h
25648         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25649         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25650         kernel versions.
25651         (__ASSUME_POSIX_TIMERS): Define unconditionally.
25652         (__ASSUME_FUTEX_REQUEUE): Remove.
25653         (__ASSUME_STATFS64): Define unconditionally.
25654         (__ASSUME_AT_SECURE): Likewise.
25655         (__ASSUME_CORRECT_SI_PID): Likewise.
25656         (__ASSUME_TGKILL): Define without depending on kernel version for
25657         i386.
25658         (__ASSUME_UTIMES): Likewise.
25659         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25660         kernel version.
25661         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25662         (__ASSUME_TMPFS_NAME): Likewise.
25663         * README: Update reference to Linux kernel versions.
25665 2012-08-02  Marek Polacek  <polacek@redhat.com>
25667         [BZ# 14150]
25668         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
25669         libc_cv_asm_type_prefix with %.
25670         * configure: Regenerated.
25671         * include/libc-symbols.h: Remove comment about
25672         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25673         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25674         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25675         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25676         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25677         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25678         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25679         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25680         * elf/tst-unique2mod1.c: Likewise.
25681         * elf/tst-unique1mod2.c: Likewise.
25682         * elf/tst-unique1mod1.c: Likewise.
25683         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25684         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25685         Replace ASM_TYPE_DIRECTIVE with .type.
25686         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25687         * sysdeps/i386/sysdep.h: Likewise.
25688         * sysdeps/x86_64/sysdep.h: Likewise.
25689         * sysdeps/sh/sysdep.h: Likewise.
25690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25691         Do not define ASM_TYPE_DIRECTIVE.
25692         * sysdeps/powerpc/sysdep.h: Likewise.
25693         * sysdeps/powerpc/powerpc32/sysdep.h:
25694         Replace ASM_TYPE_DIRECTIVE with .type.
25695         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25696         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25697         * sysdeps/i386/fpu/e_powf.S: Likewise.
25698         * sysdeps/i386/fpu/e_expl.S: Likewise.
25699         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25700         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25701         * sysdeps/i386/fpu/e_pow.S: Likewise.
25702         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25703         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25704         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25705         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25706         * sysdeps/i386/fpu/e_log2.S: Likewise.
25707         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25708         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25709         * sysdeps/i386/fpu/e_powl.S: Likewise.
25710         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25711         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25712         * sysdeps/i386/fpu/e_logl.S: Likewise.
25713         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25714         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25715         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25716         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25717         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25718         * sysdeps/i386/fpu/e_log.S: Likewise.
25719         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25720         * sysdeps/i386/fpu/e_logf.S: Likewise.
25721         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25722         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25723         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25724         * sysdeps/i386/fpu/e_log10.S: Likewise.
25725         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25726         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25727         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25728         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25729         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25730         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25731         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25732         * sysdeps/i386/i686/strtok.S: Likewise.
25733         * sysdeps/i386/i386-mcount.S: Likewise.
25734         * sysdeps/i386/strtok.S: Likewise.
25735         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25736         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25737         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25738         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25739         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25740         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25741         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25742         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25743         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25744         * sysdeps/x86_64/_mcount.S: Likewise.
25745         * sysdeps/x86_64/strtok.S: Likewise.
25746         * sysdeps/sh/_mcount.S: Likewise.
25748 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25750         * libio/iofopen.c: Include <fcntl.h>.
25751         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25752         (_IO_fopen64, fopen64): Define as aliases.
25753         * libio/iofopen64.c: Include <fcntl.h>.
25754         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25755         Conditionalize body on this.
25756         * sysdeps/wordsize-64/iofopen.c: File removed.
25757         * sysdeps/wordsize-64/iofopen64.c: File removed.
25759 2012-08-01  Marek Polacek  <polacek@redhat.com>
25761         * libc/Makeconfig: Use elf in place of binfmt-subdir.
25762         Use dlfcn directly instead of a variable.
25763         (binfmt-subdir): Do not define.
25764         (dlfcn): Likewise.
25766 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
25768         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25769         Remove all definitions.
25770         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25771         <kernel-features.h>.
25772         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25773         (miss_F_GETOWN_EX): Remove all definitions.
25774         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25775         macro definition.
25776         [!__ASSUME_FCNTL64]: Remove conditional code.
25777         [__ASSUME_FCNTL64]: Make code unconditional.
25778         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25779         <kernel-features.h>.
25780         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25781         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25782         (lockf64) [__NR_fcntl64]: Make code unconditional.
25783         (lockf64) [__ASSUME_FCNTL64]: Likewise.
25785         * sysdeps/unix/sysv/linux/kernel-features.h
25786         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25787         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25788         Make code unconditional.
25789         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25790         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25792         [__NR_vfork]: Make code unconditional.
25793         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25794         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25796         [__NR_vfork]: Make code unconditional.
25797         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25798         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25800 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25802         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25803         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25805         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25806         Define mkstemp64 as an alias.
25807         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25808         Define mkstemps64 as an alias.
25809         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25810         Define mkostemp64 as an alias.
25811         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25812         Define mkostemps64 as an alias.
25813         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25814         Conditionalize body on this.
25815         * misc/mkostemp64.c: Likewise.
25816         * misc/mkostemps64.c: Likewise.
25817         * misc/mkstemps64.c: Likewise.
25818         * sysdeps/wordsize-64/mkstemp64.c: File removed.
25819         * sysdeps/wordsize-64/mkostemp64.c: File removed.
25820         * sysdeps/wordsize-64/mkostemp.c: File removed.
25821         * sysdeps/wordsize-64/mkstemp.c: File removed.
25822         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25823         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25824         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25825         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25827         [BZ #14138]
25828         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25829         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25830         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25831         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25833         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25834         compat_symbol macros from <shlib-compat.h> rather than the underlying
25835         default_symbol_version and symbol_version macros, so that DEFAULT
25836         lines in shlib-versions are respected.
25837         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25839 2012-08-01  Florian Weimer  <fweimer@redhat.com>
25841         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25842         Declare with warn_unused_result.
25843         (setgid, setregid, setegid, setresgid): Likewise.
25844         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25845         Likewise.
25846         * WUR-REPORT: Remove set*id functions.
25848 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
25850         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25852 2012-07-31  Roland McGrath  <roland@hack.frob.com>
25854         [BZ #10191]
25855         * include/sys/socket.h (__libc_accept, __libc_accept4):
25856         Add attribute_hidden.
25857         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25859         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25860         use of PTR_MANGLE.
25861         * inet/getnetgrent_r.c (setup): Likewise.
25863         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25865 2012-07-31  David S. Miller  <davem@davemloft.net>
25867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25869 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
25871         [BZ #13629]
25872         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25873         value between 1.0 and 2.0 and smaller part has absolute value less
25874         than 1.0.
25875         * math/s_clog10.c (__clog10): Likewise.
25876         * math/s_clog10f.c (__clog10f): Likewise.
25877         * math/s_clog10l.c (__clog10l): Likewise.
25878         * math/s_clogf.c (__clogf): Likewise.
25879         * math/s_clogl.c (__clogl): Likewise.
25880         * math/libm-test.inc (clog_test): Add more tests.
25881         (clog10_test): Likewise.
25882         * sysdeps/i386/fpu/libm-test-ulps: Update.
25883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25885 2012-07-31  Florian Weimer  <fweimer@redhat.com>
25887         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25888         Exit with zero in case no suitable GID is found, and write a
25889         message to standard error.
25891 2012-07-30  Roland McGrath  <roland@hack.frob.com>
25893         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25894         rather than to 1.
25895         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25896         (MAXPATHLEN): Removed.
25897         (NOGROUP, NODEV): New macros.
25898         (setbit, clrbit, isset, isclr): New macros.
25899         (howmany, roundup, powerof2): New macros.
25900         (DEV_BSIZE): New macro.
25902         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25903         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25905         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25906         definition on [!__NO_LONG_DOUBLE_MATH].
25908         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25909         PTR_MANGLE and PTR_DEMANGLE.
25911         * socket/accept4.c (accept4): Rename to __libc_accept4.
25912         Define accept4 as a weak alias.
25914         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25915         on [_DIRENT_HAVE_D_TYPE].
25916         * io/ftw.c (ftw_dir): Likewise.
25918         * io/xmknod.c (__xmknod): Don't check PATH for being null.
25920         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25922         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25923         Use the BSD numbers rather than the arbitrary ones we had.
25924         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25925         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25926         (SIGXCPU, SIGXFSZ): New macros.
25927         (_NSIG): Now 32.
25929         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25930         initializer on [_LIBC_REENTRANT].
25932         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25933         definitions inside [_POSIX_MAPPED_FILES].
25935         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25937         * dirent/opendir.c: Include <fcntl.h>.
25939         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25940         (__libc_getspecific): Likewise.
25941         (__libc_key_create): Likewise.
25943         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25944         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25945         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25946         (tmpfile64): Define as alias.
25947         * sysdeps/wordsize-64/tmpfile.c: File removed.
25948         * sysdeps/wordsize-64/tmpfile64.c: File removed.
25949         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25950         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25952         * stdio-common/vfscanf.c: Include <stdbool.h>.
25953         * nss/makedb.c: Likewise.
25954         * stdio-common/_i18n_number.h: Likewise.
25955         * argp/argp-help.c: Likewise.
25956         * posix/wordexp.c: Likewise.
25957         * sysdeps/posix/spawni.c: Likewise.
25958         * nss/nss_files/files-initgroups.c: Likewise.
25959         * stdio-common/reg-modifier.c: Include <stdlib.h>.
25960         * nss/nss_files/files-initgroups.c: Likewise.
25961         * nss/nss_db/db-netgrp.c: Likewise.
25962         * nss/nss_db/db-initgroups.c: Likewise.
25963         * io/fchmodat.c: Include <sys/stat.h>.
25965         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25966         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25968         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25969         [HAVE_MMAP].
25971         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25972         Add multiple inclusion protection.
25974 2012-07-27  David S. Miller  <davem@davemloft.net>
25976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25978 2012-07-27  Gary Benson  <gbenson@redhat.com>
25980         [BZ #14298]
25981         * elf/rtld.c: Include <stap-probe.h>.
25982         (dl_main): Added static probes "init_start" and "init_complete".
25983         * elf/dl-load.c: Include <stap-probe.h>.
25984         (lose): Take new parameter "nsid".
25985         Added static probe "map_failed".
25986         (_dl_map_object_from_fd): Pass namespace id to lose.
25987         Added static probe "map_start".
25988         (open_verify): Pass namespace id to lose.
25989         * elf/dl-open.c: Include <stap-probe.h>.
25990         (dl_open_worker) Added static probes "map_complete", "reloc_start"
25991         and "reloc_complete".
25992         * elf/dl-close.c: Include <stap-probe.h>.
25993         (_dl_close_worker): Added static probes "unmap_start" and
25994         "unmap_complete".
25995         * elf/rtld-debugger-interface.txt: New file documenting the above.
25997 2012-07-26  Roland McGrath  <roland@hack.frob.com>
25999         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26000         rather than a string variable.
26001         * sunrpc/rpc_main.c (h_output): Likewise.
26002         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26004 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
26006         * inet/check_native.c: New file.
26008 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
26010         [BZ #13629]
26011         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26012         if larger part has absolute value 1.0.
26013         * math/s_clog10.c (__clog10): Likewise.
26014         * math/s_clog10f.c (__clog10f): Likewise.
26015         * math/s_clog10l.c (__clog10l): Likewise.
26016         * math/s_clogf.c (__clogf): Likewise.
26017         * math/s_clogl.c (__clogl): Likewise.
26018         * math/libm-test.inc (clog_test): Add more tests.
26019         (clog10_test): Likewise.
26020         * sysdeps/i386/fpu/libm-test-ulps: Update.
26021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26023         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26024         (pltexit): Likewise.
26025         (La_regs): Likewise.
26026         (La_retval): Likewise.
26027         (int_retval): Likewise.
26028         Update #error for removed macros to refer only to definitions in
26029         tst-audit.h.
26030         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26031         macro.
26032         (pltexit): Likewise.
26033         (La_regs): Likewise.
26034         (La_retval): Likewise.
26035         (int_retval): Likewise.
26036         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26037         macro.
26038         (pltexit): Likewise.
26039         (La_regs): Likewise.
26040         (La_retval): Likewise.
26041         (int_retval): Likewise.
26042         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26043         macro.
26044         (pltexit): Likewise.
26045         (La_regs): Likewise.
26046         (La_retval): Likewise.
26047         (int_retval): Likewise.
26048         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26049         macro.
26050         (pltexit): Likewise.
26051         (La_regs): Likewise.
26052         (La_retval): Likewise.
26053         (int_retval): Likewise.
26054         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26055         macro.
26056         (pltexit): Likewise.
26057         (La_regs): Likewise.
26058         (La_retval): Likewise.
26059         (int_retval): Likewise.
26060         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26061         macro.
26062         (pltexit): Likewise.
26063         (La_regs): Likewise.
26064         (La_retval): Likewise.
26065         (int_retval): Likewise.
26066         * sysdeps/generic/tst-audit.h: Update comment to refer only to
26067         macro definitions in tst-audit.h.
26068         * sysdeps/i386/tst-audit.h: New file.
26069         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26070         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26071         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26072         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26073         * sysdeps/sh/tst-audit.h: Likewise.
26074         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26075         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26076         * sysdeps/x86_64/tst-audit.h: Likewise.
26078 2012-07-26  Andreas Jaeger  <aj@suse.de>
26080         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26081         ptrace.
26083         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26084         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26085         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26086         PTRACE_O_MASK.
26087         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26088         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26089         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26091         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26092         value.
26094         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26095         _sigsys.
26096         (si_call_addr, si_syscall, si_arch): Define new macro.
26097         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26098         _sigsys.
26099         (si_call_addr, si_syscall, si_arch): Define new marcro.
26100         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26101         _sigsys.
26102         (si_call_addr, si_syscall, si_arch): Define new macro.
26103         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26104         _sigsys.
26105         (si_call_addr, si_syscall, si_arch): Define new macro.
26107 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26109         [BZ #13717]
26110         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26111         Change to 2.4.21 where previously 2.4.1.
26112         * sysdeps/unix/sysv/linux/configure: Regenerated.
26113         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26114         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26115         Linux kernel version.
26116         (__ASSUME_STD_AUXV): Remove.
26117         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26118         kernel version.
26119         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26120         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26121         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26122         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26123         (__ASSUME_NETLINK_SUPPORT): Likewise.
26124         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26125         (__no_netlink_support): Remove conditional definition.
26126         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26127         Remove.
26128         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26129         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26130         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26131         (if_nameindex_ioctl): Remove.
26132         (if_nameindex_netlink): Do not handle __no_netlink_support.
26133         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26134         code.
26135         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26136         Remove conditional code.
26137         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26138         code.
26139         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26140         unconditional.
26141         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26142         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26143         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26144         Remove.
26145         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26146         [!__ASSUME_STD_AUXV]: Remove conditional code.
26147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26148         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26149         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26151         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26152         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26153         code.
26154         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26156         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26157         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26158         conditional code.
26159         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26161         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26162         code.
26163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26164         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26165         conditional code.
26166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26167         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26168         code unconditional.
26169         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26170         conditional code.
26171         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26172         unconditional.
26173         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26174         conditional code.
26175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26176         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26177         unconditional.
26178         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26179         conditional code.
26180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26181         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26182         code unconditional.
26183         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26184         conditional code.
26185         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26186         unconditional.
26187         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26188         conditional code.
26189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26190         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26191         code unconditional.
26192         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26193         conditional code.
26194         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26195         unconditional.
26196         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26197         conditional code.
26199 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
26201         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26202         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26203         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26204         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26205         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26206         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26207         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26208         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26209         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26210         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26211         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26212         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26213         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26214         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26215         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26216         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26217         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26218         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26219         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26221         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26222         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26223         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26225 2012-07-25  Florian Weimer  <fweimer@redhat.com>
26227         * Versions.def: Add GLIBC_2.17.
26228         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26229         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26230         Introduce __libc_secure_getenv.
26231         * stdlib/Versions (2.17): Add secure_getenv
26232         (GLIBC_PRIVATE): Add __libc_secure_getenv.
26233         * stdlib/secure-getenv.c: Rename __secure_getenv to
26234         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
26235         symbol __secure_getenv for GLIBC_2.0.
26236         * stdlib/tst-secure-getenv.c: New.
26237         * stdlib/Makefile (tests): Add testcase.
26238         * manual/startup.texi (Environment Access): Document
26239         secure_getenv.
26240         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26241         __libc_secure_getenv.
26242         * inet/ruserpass.c (ruserpass): Likewise.
26243         * malloc/mtrace.c (mtrace): Likewise.
26244         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26245         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26246         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26247         * sysdeps/posix/tempname.c: Likewise.  Evaluate
26248         HAVE_SECURE_GETENV.
26249         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26250         __secure_getenv to __libc_secure_getenv.
26251         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26253         Likewise.
26254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26255         Likewise.
26256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26264 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26266         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26267         (struct La_i86_retval): Likewise.
26268         (struct La_x86_64_regs): Likewise.
26269         (struct La_x86_64_retval): Likewise.
26270         (struct La_x32_regs): Likewise.
26271         (struct La_x32_retval): Likewise.
26272         (struct La_ppc32_regs): Likewise.
26273         (struct La_ppc32_retval): Likewise.
26274         (struct La_ppc64_regs): Likewise.
26275         (struct La_ppc64_retval): Likewise.
26276         (struct La_sh_regs): Likewise.
26277         (struct La_sh_retval): Likewise.
26278         (struct La_s390_32_regs): Likewise.
26279         (struct La_s390_32_retval): Likewise.
26280         (struct La_s390_64_regs): Likewise.
26281         (struct La_s390_64_retval): Likewise.
26282         (struct La_sparc32_regs): Likewise.
26283         (struct La_sparc32_retval): Likewise.
26284         (struct La_sparc64_regs): Likewise.
26285         (struct La_sparc64_retval): Likewise.
26286         (struct audit_ifaces): Remove architecture-specific pltenter and
26287         pltexit members.
26288         * sysdeps/i386/ldsodefs.h: New file.
26289         * sysdeps/powerpc/ldsodefs.h: Likewise.
26290         * sysdeps/s390/ldsodefs.h: Likewise.
26291         * sysdeps/sh/ldsodefs.h: Likewise.
26292         * sysdeps/sparc/ldsodefs.h: Likewise.
26293         * sysdeps/x86_64/ldsodefs.h: Likewise.
26295 2012-07-25  Marek Polacek  <polacek@redhat.com>
26297         [BZ #6808]
26298         * math/libm-test.inc (yn_test): Add another test.
26299         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26300         to ERANGE when the result is +-Inf.
26301         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26302         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26303         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26304         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26306 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
26308         * conform/data/time.h-data (NULL): Use macro-constant.  Require
26309         equal to 0.
26310         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
26311         clock_t.
26312         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
26314 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
26316         * configure.in <sysdeps resolving>: Correct printing
26317         Implies_before.
26318         * configure: Regenerate.
26320 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
26322         * math/w_ilogb.c: Include <limits.h>.
26323         * math/w_ilogbl.c: Likewise.
26325 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26327         * manual/lang.texi (__va_copy): Document primarily as ISO C99
26328         va_copy.  Document allowing for unavailable va_copy only as
26329         pre-C99 compatibility.
26330         * manual/string.texi (Copying and Concatenation): Use va_copy
26331         instead of __va_copy in concat example.
26333 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
26335         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26336         (__sendto): Use create_address_port.  Initialize APORT and deallocate
26337         it if not null.
26339         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26340         with O_NOLINK passed to __file_name_lookup.
26342         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26343         with O_NOLINK passed to __file_name_lookup.
26345         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26346         negative N or less than NGIDS.
26348         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26349         type to string_t.  Set ERANGE as errno and return it if NAME is not big
26350         enough.  Use memcpy instead of strncpy.
26352 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26354         * elf/Makefile (check-data): Remove.
26355         (localplt.data): New vpath directive.
26356         ($(objpfx)check-localplt.out): Use localplt.data from vpath
26357         instead of $(check-data).
26358         * scripts/data/localplt-generic.data: Move to ...
26359         * sysdeps/generic/localplt.data: ... here.
26360         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26361         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26362         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26364         ... here.
26365         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26367         ... here.
26368         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26370         ... here.
26371         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26373         ... here.
26374         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26376         ... here.
26377         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26379         ... here.
26381 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26383         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26384         PPC32 and PPC64 files.
26385         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26386         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26388 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26390         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26391         __makecontext_ret to ...
26392         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26393         ... here and call exit if uc_link is NULL.  New file.
26394         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26395         __makecontext_ret.S.
26396         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26397         __makecontext_ret to ...
26398         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26399         ... here and call exit if uc_link is NULL.  New file.
26400         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26401         __makecontext_ret.S.
26403 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26405         * elf/elf.h (R_390_IRELATIVE): New definition.
26406         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26407         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
26408         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26409         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26410         (elf_machine_lazy_rel): Likewise.
26411         * sysdeps/s390/dl-irel.h: New file.
26412         * sysdeps/s390/s390-64/memcpy.S: New asm code.
26413         * sysdeps/s390/s390-64/memset.S: New asm code.
26414         * sysdeps/s390/s390-64/memcmp.S: New asm code.
26415         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26416         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26417         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26418         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26419         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26420         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26421         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26422         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26423         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26424         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26425         * sysdeps/s390/s390-32/memcpy.S: New asm code.
26426         * sysdeps/s390/s390-32/memset.S: New asm code.
26427         * sysdeps/s390/s390-32/memcmp.S: New asm code.
26429 2012-07-17  Marek Polacek  <polacek@redhat.com>
26431         [BZ #14349]
26432         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26433         * sysdeps/s390/s390-64/configure.in: Likewise.
26434         * sysdeps/sparc/configure.in: Likewise.
26435         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26436         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26437         * sysdeps/i386/configure.in: Likewise.
26438         * sysdeps/x86_64/configure.in: Likewise.
26439         * sysdeps/sh/configure.in: Likewise.
26440         * sysdeps/s390/s390-32/configure: Regenerated.
26441         * sysdeps/s390/s390-64/configure: Likewise.
26442         * sysdeps/x86_64/configure: Likewise.
26443         * sysdeps/sh/configure: Likewise.
26444         * sysdeps/powerpc/powerpc64/configure: Likewise.
26445         * sysdeps/powerpc/powerpc32/configure: Likewise.
26446         * sysdeps/sparc/configure: Likwise.
26447         * sysdeps/i386/configure: Likewise.
26449         * elf/dl-open.c: Comment fixes.
26451 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
26453         * Makefile [CXX] (check-data): Remove.
26454         [CXX] (c++-types.data): New vpath directive.
26455         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26456         vpath.  Do not allow for C++ type data being missing.
26457         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26458         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26459         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26460         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26461         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26462         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26463         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26465         ... here.
26466         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26468         ... here.
26469         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26471         ... here.
26472         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26474         ... here.
26475         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26477         ... here.
26478         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26480         ... here.
26481         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26483         ... here.
26484         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26487         * elf/tls-macros.h (TLS_LE): Move architecture-specific
26488         definitions to architecture-specific files.
26489         (TLS_IE): Likewise.
26490         (TLS_LD): Likewise.
26491         (TLS_GD): Likewise.
26492         * sysdeps/i386/tls-macros.h: New file.
26493         * sysdeps/powerpc/tls-macros.h: Likewise.
26494         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26495         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26496         * sysdeps/sh/tls-macros.h: Likewise.
26497         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26498         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26499         * sysdeps/x86_64/tls-macros.h: Likewise.
26501 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26503         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26504         zero value for regular exit case.
26506         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26507         (__start_context): Preserve zero value for regular exit case.
26509 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26510             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26512         * manual/setjmp.texi (setcontext): Clarify normal process
26513         termination when uc_link is the null pointer.
26514         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26515         exit call.
26517 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
26519         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26520         preprocessor.  Test for each exception mask separately.
26522 2012-07-16  Andreas Jaeger  <aj@suse.de>
26524         * po/ru.po: Update from translation team.
26526 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
26528         * conform/data/string.h-data (NULL): Use macro-constant.  Require
26529         equal to 0.
26530         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26531         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26532         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26533         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26534         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26536 2012-07-13  Andreas Jaeger  <aj@suse.de>
26538         * po/fr.po: Update from translation team.
26540 2012-07-12  Marek Polacek  <polacek@redhat.com>
26542         [BZ #14173]
26543         * math/libm-test.inc (yn_test): Add test for BZ #14173.
26544         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26545         loop condition.
26547 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
26549         [BZ #13717]
26550         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26551         Change to 2.4.1 where previously 2.4.0.
26552         * sysdeps/unix/sysv/linux/configure: Regenerated.
26553         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26554         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26555         version.
26556         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26557         (__ASSUME_AT_CLKTCK): Remove.
26558         (__ASSUME_AT_PAGESIZE): Likewise.
26559         (__ASSUME_AT_XID): Likewise.
26560         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26561         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26562         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26563         unconditionally.
26564         (HAVE_AUX_PAGESIZE): Likewise.
26565         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26566         [__ASSUME_AT_CLKTCK]: Make code unconditional.
26567         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26569 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
26571         [BZ #14307]
26572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26573         the temporary buffer used to invoke __gethostbyname2_r,
26574         __gethostbyaddr_r and gethostbyname4_r to make room for struct
26575         host_data / struct gaih_addrtuple.
26576         * resolv/nss_dns/dns-host.c (global scope): Move definition of
26577         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26578         header file nss/nsswitch.h.
26579         * nss/nsswitch.h (global scope): Add definition of implementation
26580         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26581         resolv/nss_dns/dns-host.c).
26583 2012-07-11  Andreas Jaeger  <aj@suse.de>
26585         * po/fr.po: Update from translation team.
26587         * po/sv.po: Update from translation team
26588         * po/fr.po: Another update from translation team.
26590 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26592         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26593         for subnormals or multiply small sinh result by itself.
26594         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26597 2012-07-11  David S. Miller  <davem@davemloft.net>
26599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26601 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
26603         [BZ #14347]
26604         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26605         (INTERNAL_MARK): Shift it here.
26607 2012-07-10  Marek Polacek  <polacek@redhat.com>
26609         [BZ #14151]
26610         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
26611         libc_cv_asm_global_directive with .globl.
26612         * configure: Regenerated.
26613         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26614         with .globl.
26615         * sysdeps/i386/configure: Regenerated.
26616         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26617         with .globl.
26618         * sysdeps/x86_64/configure: Regenerated.
26619         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26620         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26621         * elf/tst-unique2mod2.c: Likewise.
26622         * elf/tst-unique2mod1.c: Likewise.
26623         * elf/tst-unique1mod2.c: Likewise.
26624         * elf/tst-unique1mod1.c: Likewise.
26625         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26626         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26627         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26628         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26629         * sysdeps/mach/sysdep.h: Likewise.
26630         * sysdeps/i386/sysdep.h: Likewise.
26631         * sysdeps/i386/i386-mcount.S: Likewise.
26632         * sysdeps/x86_64/_mcount.S: Likewise.
26633         * sysdeps/x86_64/sysdep.h: Likewise.
26634         * sysdeps/sh/_mcount.S: Likewise.
26635         * sysdeps/sh/sysdep.h: Likewise.
26636         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26637         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26638         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26639         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26640         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26641         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26642         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26643         * locale/localeinfo.h: Likewise.
26644         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26645         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26647 2012-07-09  Roland McGrath  <roland@hack.frob.com>
26649         [BZ #14336]
26650         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26651         system".
26652         * manual/message.texi (The Uniforum approach): Likewise.
26653         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26654         (glibc iconv Implementation): Likewise.
26656 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
26658         [BZ #14337]
26659         * math/s_clog.c (__clog): Avoid scaling a value down where that
26660         could result in underflow.
26661         * math/s_clog10.c (__clog10): Likewise.
26662         * math/s_clog10f.c (__clog10f): Likewise.
26663         * math/s_clog10l.c (__clog10l): Likewise.
26664         * math/s_clogf.c (__clogf): Likewise.
26665         * math/s_clogl.c (__clogl): Likewise.
26666         * math/libm-test.inc (clog_test): Add more tests.
26667         (clog10_test): Likewise.
26668         * sysdeps/i386/fpu/libm-test-ulps: Update.
26669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26671 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
26673         [BZ #14283]
26674         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26675         by 7 not 8 to examine high bit of fractional part.
26677         [BZ #14042]
26678         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26679         for call to __mcount_internal.
26680         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26681         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26682         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26684 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
26686         [BZ #14154]
26687         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26688         approximation for values within 0x1p-13f of an odd multiple of
26689         pi/4.
26690         * math/libm-test.inc (tan_test): Do not allow spurious underflow
26691         exception.  Add more tests.
26692         * sysdeps/i386/fpu/libm-test-ulps: Update.
26694         [BZ #6778]
26695         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26696         inputs and return -1 for them.  Do not check for +Inf in case not
26697         reachable for +Inf.
26698         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26699         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26700         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26701         and return -1 for them.  Do not check for +Inf in case not
26702         reachable for +Inf.
26703         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26704         define.
26705         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26706         and return -1 for them.  Do not check for +Inf in case not
26707         reachable for +Inf.
26708         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
26709         spurious underflow.
26710         * sysdeps/i386/fpu/libm-test-ulps: Update.
26711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26713 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
26715         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26717 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
26719         [BZ #14157]
26720         [BZ #14331]
26721         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26722         could result in spurious underflow.  Scale down values above
26723         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26724         * math/s_csqrtf.c (__csqrtf): Likewise.
26725         * math/s_csqrtl.c (__csqrtl): Likewise.
26726         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
26727         spurious underflow.
26728         * sysdeps/i386/fpu/libm-test-ulps: Update.
26729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26731 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
26733         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26734         xopen-msg.sed.
26735         * catgets/xopen-msg.awk: New file.
26736         * catgets/xopen-msg.sed: Removed.
26738         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26739         po2text.sed.
26740         * intl/po2test.awk: New file.
26741         * intl/po2test.sed: Removed.
26743 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
26745         [BZ #14328]
26746         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26747         or multiply small sinh result by itself.
26748         * math/s_ctanf.c (__ctanf): Likewise.
26749         * math/s_ctanh.c (__ctanh): Likewise.
26750         * math/s_ctanhf.c (__ctanhf): Likewise.
26751         * math/s_ctanhl.c (__ctanhl): Likewise.
26752         * math/s_ctanl.c (__ctanl): Likewise.
26753         * math/libm-test.inc (ctan_test_tonearest): New function.
26754         (ctan_test_towardzero): Likewise.
26755         (ctan_test_downward): Likewise.
26756         (ctan_test_upward): Likewise.
26757         (ctanh_test_tonearest): Likewise.
26758         (ctanh_test_towardzero): Likewise.
26759         (ctanh_test_downward): Likewise.
26760         (ctanh_test_upward): Likewise.
26761         (main): Call these new functions.
26762         * sysdeps/i386/fpu/libm-test-ulps: Update.
26763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26765 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
26767         * .gitignore: Delete /ports entry.
26769 2012-07-03  Andreas Jaeger  <aj@suse.de>
26771         * po/bg.po: Update from translation team.
26772         * po/cs.po: Likewise.
26773         * po/de.po: Likewise.
26774         * po/hr.po: Likewise.
26775         * po/nl.pl: Likewise.
26776         * po/pl.po: Likewise.
26777         * po/vi.po: Likewise.
26779 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
26781         * Makeconfig [!+link] (+link-before-libc): New variable.
26782         [!+link] (+link-after-libc): Likewise.
26783         [!+link] (+link-tests): Likewise.
26784         [!+link] (+link): Define in terms of $(+link-before-libc) and
26785         $(+link-after-libc).
26786         [!+link-static] (+link-static-before-libc): New variable.
26787         [!+link-static] (+link-static-after-libc): Likewise.
26788         [!+link-static] (+link-static-tests): Likewise.
26789         [!+link-static] (+link-static): Define in terms of
26790         $(+link-static-before-libc) and $(+link-static-after-libc).
26791         [build-shared] (link-libc-before-gnulib): New variable.
26792         [build-shared] (link-libc-tests): Likewise.
26793         [build-shared] (link-libc): Define in terms of
26794         $(link-libc-before-gnulib).
26795         [!build-shared] (link-libc-tests): New variable.
26796         (link-libc-static-tests): New variable.
26797         [!gnulib] (gnulib-arch): New variable.
26798         [!gnulib] (gnulib-tests): Likewise.
26799         [!gnulib] (static-gnulib-arch): Likewise.
26800         [!gnulib] (static-gnulib-tests): Likewise.
26801         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
26802         Define with "=" instead of ":=".
26803         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
26804         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
26805         * Rules (binaries-all-notests): New variable.
26806         (binaries-all-tests): Likewise.
26807         (binaries-static-notests): Likewise.
26808         (binaries-static-tests): Likewise.
26809         (binaries-all): Define using $(binaries-all-notests) and
26810         $(binaries-all-tests).
26811         (binaries-static): Define using $(binaries-static-notests) and
26812         $(binaries-static-tests).
26813         (binaries-shared-tests): New variable.
26814         (binaries-shared-notests): Likewise.
26815         (binaries-shared): Remove variable.
26816         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26817         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26818         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26819         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26820         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26821         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26822         * elf/Makefile (sln-modules): New variable.
26823         (extra-objs): Add $(sln-modules:=.o).
26824         (ldconfig-modules): Add static-stubs.
26825         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26826         * elf/static-stubs.c: New file.
26828         [BZ #14283]
26829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26830         by 7 not 8 to examine high bit of fractional part.  Use volatile
26831         variables when splitting into final array of floats if
26832         __FLT_EVAL_METHOD__ != 0.
26833         * math/libm-test.inc (cos_test): Add another test.
26834         (sin_test): Likewise.
26835         * sysdeps/i386/fpu/libm-test-ulps: Update.
26837         [BZ #14273]
26838         * math/libm-test.inc (cosh_test): Add more tests.
26840         * version.h (RELEASE): Set to "development".
26841         (VERSION): Set to "2.16.90".
26843 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
26845         * NEWS: Update copyright. Remove last-updated date.
26846         Mention math library bug fixes and timezone data changes.
26847         * README: Mention GNU/Hurd, x32, and HPPA support status.
26849 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
26851         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26853 2012-06-27  Andreas Jaeger  <aj@suse.de>
26855         * manual/contrib.texi (Contributors): Add Samuel Thibault.
26857 2012-06-25  Andreas Jaeger  <aj@suse.de>
26859         * sysdeps/s390/fpu/libm-test-ulps: Update.
26861 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
26862             Thomas Schwinge  <thomas@codesourcery.com>
26864         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26865         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26866         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26867         fanotify_mark.
26869 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
26871         * sysdeps/mach/start.c: Remove file.
26872         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26873         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26874         * sysdeps/sh/init-first.c: Likewise.
26876         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26877         registers for frame unwinding purposes, add CFI directives.
26878         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26879         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26880         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26881         Likewise.
26883         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26884         __fortify_fail returning.
26885         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26887         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26888         sysdeps/sh/____longjmp_chk.S.
26889         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26890         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26891         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26892         (gen-as-const-headers): Append sigaltstack-offsets.sym.
26894         * sysdeps/sh/abort-instr.h: New file.
26895         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26896         process in case exit returns.
26898         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26899         initialize the GOT register before use.
26901         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26902         calculation of ARGC > 4.
26904         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26905         meaningful names to some local labels.
26907 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26908             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26910         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26911         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26912         (__arch_compare_and_exchange_val_16_acq): Likewise.
26913         (__arch_compare_and_exchange_val_32_acq): Likewise.
26914         (atomic_exchange_and_add): Fix gUSA sequence.
26915         (atomic_add): Likewise.
26916         (atomic_add_negative): Likewise.
26917         (atomic_add_zero): Likewise.
26918         (atomic_bit_test_set): Likewise.
26920 2012-06-22  Andreas Schwab  <schwab@redhat.com>
26922         [BZ #13579]
26923         * include/link.h (struct link_map): Add l_free_initfini.
26924         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26925         l_initfini.
26926         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26927         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26928         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26929         set.
26931 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
26933         * configure.in: Use AC_LANG_SOURCE.
26934         * configure: Regenerate.
26936 2012-06-22  Roland McGrath  <roland@hack.frob.com>
26938         * configure.in (libc_cv_localstatedir): New substituted variable.
26939         * configure: Regenerated.
26940         * config.make.in (localstatedir): New variable, substituted from
26941         libc_cv_localstatedir.
26942         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26943         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26944         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26945         * sysdeps/gnu/configure: Regenerated.
26947 2012-06-21  Jeff Law  <law@redhat.com>
26949         [BZ #14277]
26950         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26951         free.  Simplify list management for _LIBC case.
26953 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
26955         [BZ #14273]
26956         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26957         Clear sign bit of 64-bit integer value before comparing against
26958         overflow value.
26960         * sysdeps/mach/configure: Regenerated.
26962 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
26964         [BZ #14278]
26965         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26967 2012-06-21  Jeff Law  <law@redhat.com>
26969         [BZ #13882]
26970         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
26971         uint16_t for elements in the "seen" array to avoid char overflows.
26972         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26973         * elf/dl-open.c (dl_open_worker): Likewise.
26975 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
26977         * scripts/list-sources.sh: Scan PORTS for translations.
26978         * po/libc.pot: Regenerated.
26980 2012-06-21  Andreas Jaeger  <aj@suse.de>
26982         [BZ #12194]
26983         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26984         warning.
26985         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26986         * bits/byteswap-16.h (__bswap_16): Likewise.
26987         * bits/byteswap.h (__bswap_constant_16): Likewise.
26989 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
26991         [BZ #14117]
26992         * sysdeps/i386/fpu_control.h: Removed.
26993         * sysdeps/x86_64/fpu_control.h: Moved to ...
26994         * sysdeps/x86/fpu_control.h: Here.
26996         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26997         (_FPU_SETCW): Likewise.
26999 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
27001         [BZ #14117]
27002         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27003         * sysdeps/x86/fpu/bits/mathinline.h: This.
27004         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27006         [BZ #14050]
27007         [BZ #14117]
27008         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27009         functions if __x86_64__ is defined.
27011 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
27013         * string/endian.h: Add !__ASSEMBLER__ condition for including
27014         conversion interfaces.
27016 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
27018         [BZ #14241]
27019         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27020         of ABS(x) in calculating zero to negative powers other than odd
27021         integers.
27022         * math/libm-test.inc (pow_test): Add more tests.
27024 2012-06-15  Andreas Jaeger  <aj@suse.de>
27026         * manual/contrib.texi (Contributors): Update entry of Liubov
27027         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27028         Machado Filho.
27030 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
27032         * string/string.h: Add __wur to GNU version of strerror_r.
27034 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
27036         [BZ #14229]
27037         * string/Makefile (tests): Add tst-strtok_r.
27038         * string/tst-strtok_r.c: New file.
27039         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27040         RAX_LP/RDX_LP on SAVE_PTR.
27042 2012-06-14  Roland McGrath  <roland@hack.frob.com>
27044         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27046 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
27048         * libm_test.inc (csqrt_test): Allow more spurious underflow
27049         exceptions.
27050         (j0_test): Likewise.
27051         (j1_test): Likewise.
27052         (y0_test): Likewise.
27053         (y1_test): Likewise.
27055 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
27057         * po/Makefile (libc.pot): Use UTF-8 charset.
27059 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
27061         [BZ #14210]
27062         Suppress sign-conversion warning from FD_SET.
27063         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27064         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27065         not unsigned long int.
27066         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27068 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
27070         [BZ #14050]
27071         [BZ #14117]
27072         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27073         __extern_always_inline instead of __extern_inline.
27074         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27075         (__signbit): Likewise.
27076         (__signbitl): Support C++ namespace.
27077         (lrintf): New inline function.
27078         (lrint): Likewise.
27079         (llrintf): Likewise.
27080         (llrint): Likewise.
27081         (fmaxf): Likewise.
27082         (fmax): Likewise.
27083         (fminf): Likewise.
27084         (fmin): Likewise.
27085         (rint): Likewise.
27086         (rintf): Likewise.
27087         (ceil): Likewise.
27088         (ceilf): Likewise.
27089         (floor): Likewise.
27090         (floorf): Likewise.
27091         (nearbyint): Likewise.
27092         (nearbyintf): Likewise.
27094 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
27096         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27097         non-default versions.
27099 2012-06-11  Roland McGrath  <roland@hack.frob.com>
27101         [BZ #14218]
27102         * manual/argp.texi (Argp): Reword argp_parse description slightly.
27104 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
27106         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27107         (FE_UPWARD, FE_DOWNWARD): Don't define.
27108         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27109         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27111         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27112         reading it.
27113         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27114         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27116 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27118         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27119         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27120         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27121         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27123 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
27125         [BZ #14117]
27126         * sysdeps/i386/fpu/bits/fenv.h: Removed.
27127         * sysdeps/i386/fpu/Implies: New file.
27128         * sysdeps/x86_64/fpu/Implies: Likewise.
27129         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27130         * sysdeps/x86/fpu/bits/fenv.h: This.
27132         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27133         __SSE_MATH__.
27135 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27137         [BZ #14134]
27138         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27139         character 0xffff that matches the last element of the
27140         conversion table.
27142 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27144         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27145         fmodl commit.
27147 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27149         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27150         values higher than 25.6283.
27152 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27154         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27155         subnormal exponent extraction and add some __builtin_expect.
27156         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27157         Fix for subnormal mantissa calculation.
27159 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
27161         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27162         cpu2 is -1 and errno is not ENOSYS.
27164 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
27166         [BZ #14117]
27167         * sysdeps/i386/i486/bits/string.h: Renamed to ...
27168         * sysdeps/x86/bits/string.h: This.
27169         * sysdeps/x86_64/bits/string.h: Removed.
27171         * sysdeps/i386/i486/bits/string.h: Define inline functions only
27172         if not compiling for x86-64, but compiling for >= i486.
27174         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27175         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27177         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27178         New macro from Linux kernel 3.4.0.
27179         (FP_XSTATE_MAGIC2): Likewise.
27180         (FP_XSTATE_MAGIC2_SIZE): Likewise.
27181         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27182         (struct _fpx_sw_bytes): New struct.
27183         (struct _xsave_hdr): Likewise.
27184         (struct _ymmh_state): Likewise.
27185         (struct _xstate): Likewise.
27187         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27188         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27189         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27190         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27191         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27192         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27194         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27195         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27196         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27197         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27198         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27199         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27201 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27203         [BZ #13743]
27204         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27205         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27206         (sysdep_headers): Include sys/platform/ppc.h.
27207         * sysdeps/powerpc/test-gettimebase.c: Test for
27208         __ppc_get_timebase() to catch future ISA opcode/insn changes.
27209         * manual/Makefile (appendices): Include platform.texi.
27210         * manual/contrib.texi (Contributors): Update @node pointers.
27211         * manual/maint.texi (Maintenance): Likewise.
27212         (Platform): New node.
27213         * manual/platform.texi: New file.  Document the new features.
27215 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27216             Jakub Jelinek  <jakub@redhat.com>
27218         [BZ #14188]
27219         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27220         where __builtin_expect is unavailable.
27222 2012-06-03  David S. Miller  <davem@davemloft.net>
27224         * stdlib/longlong.h: Updated from GCC.
27226 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
27228         [BZ #14042]
27229         * sysdeps/powerpc/powerpc32/mcount.c: New file.
27230         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27231         __mcount_internal.
27232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27233         (GLIBC_2.16): Likewise.
27235 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27237         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27239 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27242         (default-abi): New variable.
27243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27244         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27245         variable.
27246         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27247         Likewise.
27248         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27249         Likewise.
27250         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27251         Likewise.
27253         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27254         definition.  Document in comment.
27256 2012-06-01  David S. Miller  <davem@davemloft.net>
27258         * stdlib/longlong.h: Updated from GCC.
27260 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27262         [BZ #14117]
27263         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27264         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27265         sys/debugreg.h sys/io.h here.
27266         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27267         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27268         sys/io.h.
27269         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27270         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27271         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27272         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27273         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27274         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27276         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27277         Define only if __x86_64__ is defined.
27279 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27281         [BZ #14048]
27282         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27283         Use int64_t for variable i.
27284         * math/libm-test.inc (fmod_test): Add more tests.
27286         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27287         z computation is not scheduled after fetestexcept.
27288         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27289         Use math_force_eval instead of asm to ensure calculation scheduled
27290         before exception test.
27291         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27292         Ensure a1 + u.d computation is not scheduled after fetestexcept.
27294 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
27296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27297         computation is not scheduled after fetestexcept.
27299 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27301         [BZ #14117]
27302         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27303         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27305 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27307         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27308         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27310 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27312         [BZ #14117]
27313         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27314         <bits/wordsize.h>.
27315         (__WCHAR_MIN): Support __WORDSIZE == 64.
27316         (__WCHAR_MAX): Likewise.
27318         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27319         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27321         [BZ #14183]
27322         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27323         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27325         [BZ #14117]
27326         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27327         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27329         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27330         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27332         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27333         Defined to 1 if __x86_64__ isn't defined.
27334         (_STAT_VER_LINUX_OLD): New.
27335         (st_atime): Remove duplicate.
27336         (st_mtime): Likewise.
27337         (st_ctime): Likewise.
27339 2012-05-31  David S. Miller  <davem@davemloft.net>
27341         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27342         entries.
27344 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
27346         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27347         gen-libm-test.pl.
27349         [BZ #14132]
27350         * elf/dl-reloc.c: Include <_itoa.h>.
27351         (_dl_reloc_bad_type): Remove use of INTUSE.
27352         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27353         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27354         * stdio-common/psiginfo.c (psiginfo): Likewise.
27355         * stdio-common/psignal.c (psignal): Likewise.
27356         * string/strsignal.c (strsignal): Likewise.
27357         * include/signal.h (_sys_siglist): Declare hidden proto.
27358         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
27359         INTVARDEF with libc_hidden_data_def.
27360         * stdio-common/itoa-udigits.c: Likewise.
27361         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27362         (_itoa_lower_digits_internal): Remove declaration.
27363         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27364         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27365         (_sys_sigabbrev_internal): Remove aliases.
27366         (_sys_siglist): Define hidden alias.
27368 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
27370         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27371         bits/sysctl.h.
27373 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27375         [BZ #14117]
27376         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27377         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27379         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27380         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27381         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27382         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27383         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27384         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27386         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27387         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27388         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27390         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27391         with __addr.
27392         (insw): Likewise.
27393         (insl): Likewise.
27394         (outsb): Likewise.
27395         (outsw): Likewise.
27396         (outsl): Likewise.
27398         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27399         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27400         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27402         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27403         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27404         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27405         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27406         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27407         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27409         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27410         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27412         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27413         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27415         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27416         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27417         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27419         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27420         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27421         to ...
27422         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27424         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27425         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27426         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27428         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27429         for x86-64.
27430         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27432 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
27434         * math/math.h (M_El): Use two more decimal places.
27435         (M_LOG2El): Likewise.
27436         (M_LOG10El): Likewise.
27437         (M_LN2l): Likewise.
27438         (M_LN10l): Likewise.
27439         (M_PIl): Likewise.
27440         (M_PI_2l): Likewise.
27441         (M_PI_4l): Likewise.
27442         (M_1_PIl): Likewise.
27443         (M_2_PIl): Likewise.
27444         (M_2_SQRTPIl): Likewise.
27445         (M_SQRT2l): Likewise.
27446         (M_SQRT1_2l): Likewise.
27448 2012-05-31  David S. Miller  <davem@davemloft.net>
27450         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27451         values between float registers.
27452         * sysdeps/sparc/sparc64/memset.S: Likewise.
27453         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27455 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
27457         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27458         -D_FORTIFY_SOURCE=1.
27459         (CPPFLAGS-tst-longjmp_chk.c): Define.
27460         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27461         (CPPFLAGS-tst-longjmp_chk2.c): Define.
27462         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27463         CFLAGS-tst-wchar-h.c.
27465 2012-05-31  Marek Polacek  <polacek@redhat.com>
27467         [BZ #14132]
27468         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27469         __endmntent_internal): Remove declaration.
27470         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27471         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27472         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27474 2012-05-30  David S. Miller  <davem@davemloft.net>
27476         * sysdeps/sparc/sparc32/soft-fp/q_util.c
27477         (___Q_simulate_exceptions): Use real FP ops rather than writing
27478         into the %fsr.
27479         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27480         Likewise.
27482 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27484         [BZ #14117]
27485         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27486         * sysdeps/x86/bits/xtitypes.h: This.
27488         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27489         * sysdeps/x86/bits/wordsize.h: This.
27491         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27492         * sysdeps/x86/bits/huge_vall.h: This.
27494         * sysdeps/i386/bits/select.h: Removed.
27495         * sysdeps/x86_64/bits/select.h: Renamed to ...
27496         * sysdeps/x86/bits/select.h: This.
27498         * sysdeps/i386/bits/setjmp.h: Removed.
27499         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27500         * sysdeps/x86/bits/setjmp.h: This.
27502         * sysdeps/i386/bits/mathdef.h: Removed.
27503         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27504         * sysdeps/x86/bits/mathdef.h: This.
27506 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
27508         [BZ #14132]
27509         * include/sys/socket.h (__connect_internal)
27510         (__libc_sa_len_internal): Remove declaration.
27511         (__connect, __libc_sa_len): Declare hidden_proto.
27512         (SA_LEN): Remove use of INTUSE.
27513         * socket/connect.c: Add libc_hidden_def.
27514         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27515         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27516         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27517         alias.
27518         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27519         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27520         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27521         of adding _internal alias.
27523 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27525         [BZ #14117]
27526         * sysdeps/i386/bits/link.h: Removed.
27527         * sysdeps/i386/bits/linkmap.h: Likewise.
27528         * sysdeps/x86_64/bits/link.h: Renamed to ...
27529         * sysdeps/x86/bits/link.h: This.
27530         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27531         * sysdeps/x86/bits/linkmap.h: This.
27533         * sysdeps/i386/bits/endian.h: Removed.
27534         * sysdeps/x86_64/bits/endian.h: Renamed to ...
27535         * sysdeps/x86/bits/endian.h: This.
27537         * sysdeps/i386/bits/byteswap.h: Removed.
27538         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27539         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27540         * sysdeps/x86/bits/byteswap.h: This.
27541         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27542         * sysdeps/x86/bits/byteswap-16.h: This.
27543         * sysdeps/i386/Implies: Add x86.
27544         * sysdeps/x86_64/Implies: Likewise.
27546 2012-05-30  David S. Miller  <davem@davemloft.net>
27548         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27549         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27550         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27551         (FP_TRAPPING_EXCEPTIONS): Define.
27552         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27553         (FP_TRAPPING_EXCEPTIONS): Define.
27554         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27555         subnormals only when inexact has been signalled or underflow
27556         exceptions are enabled.
27557         (_FP_PACK_CANONICAL): Likewise.
27559 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27561         [BZ #14183]
27562         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27563         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27565 2012-05-30  Richard Henderson  <rth@twiddle.net>
27567         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27568         with #ifndef NOT_IN_libc.
27570         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
27571         marked to avoid plt entry.
27573 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27575         [BZ #14112]
27576         * Makeconfig (default-abi): New macro.
27577         (abi-includes): Likewise.
27578         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
27579         $(abi-$(default-abi)-lib-soname) for soname if defined.
27580         ($(common-objpfx)gnu/lib-names.stmp): Generate from
27581         abi-variants.
27582         * Makefile (installed-stubs): Likewise.
27583         * include/stubs-biarch.h: Removed.
27584         * scripts/lib-names.awk: Only handle one library at a time.
27585         * scripts/soversions.awk: Remove WORDSIZE support.
27586         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27587         entries.
27588         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27589         Removed.
27590         (syscall-list-default-condition): Likewise.
27591         (syscall-list-default-condition): Likewise.
27592         (syscall-list-includes): Likewise.
27593         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27594         syscall-list-* with abi-*.  Handle undefined abi-variants.
27595         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27596         * sysdeps/unix/sysv/linux/i386/Implies: New file.
27597         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27598         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27599         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27600         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27601         Removed.
27602         (syscall-list-32-options): Likewise.
27603         (syscall-list-32-condition): Likewise.
27604         (syscall-list-64-options): Likewise.
27605         (syscall-list-64-condition): Likewise.
27606         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27607         macro.
27608         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27609         Renamed to ...
27610         (abi-*): This.
27611         (abi-64-ld-soname): New macro.
27612         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27613         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27614         Renamed to ...
27615         (abi-*): This.
27616         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27617         * sysdeps/x86_64/x32/shlib-versions: Likewise.
27619 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
27621         * sysdeps/unix/sysv/linux/kernel-features.h
27622         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27623         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27624         include <kernel-features.h>.
27625         [!__NR_ftruncate64]: Remove conditional code.
27626         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27627         [__NR_ftruncate64]: Make code unconditional.
27628         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27629         * sysdeps/unix/sysv/linux/truncate64.c: Do not
27630         include <kernel-features.h>.
27631         [!__NR_ftruncate64]: Remove conditional code.
27632         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27633         [__NR_ftruncate64]: Make code unconditional.
27634         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27636         include <kernel-features.h>.
27637         [!__NR_ftruncate64]: Remove conditional code.
27638         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27639         [__NR_ftruncate64]: Make code unconditional.
27640         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27642         include <kernel-features.h>.
27643         [!__NR_ftruncate64]: Remove conditional code.
27644         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27645         [__NR_ftruncate64]: Make code unconditional.
27646         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27648         * configure.in (libc_cv_fpie): Weaken to a compile test using
27649         LIBC_TRY_CC_OPTION.
27650         * configure: Regenerated.
27652 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27658         Refreshed.
27659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27665         Refreshed.
27667 2012-05-27  David S. Miller  <davem@davemloft.net>
27669         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27670         (___Q_zero): New.
27671         (__Q_simulate_exceptions): Return void.  Change to simulate
27672         exceptions by writing into the %fsr.
27673         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27674         (__Qp_handle_exceptions): Likewise.
27675         (numbers): Delete.
27676         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27677         __Qp_handle_exceptions.
27678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27679         __Qp_handle_exceptions.
27680         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27681         as unused and give dummy FP_RND_NEAREST initializer.
27682         (FP_INHIBIT_RESULTS): Define.
27683         (___Q_simulate_exceptions): Update declaration.
27684         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27685         formatting.
27686         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27687         as unused and give dummy FP_RND_NEAREST initializer.
27688         (__Qp_handle_exceptions): Update declaration.
27689         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27690         formatting.
27692 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
27694         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27695         the temporary FPU control word.
27696         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27697         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27698         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27699         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27700         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27701         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27702         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27703         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27704         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27705         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27706         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27708 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27710         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27711         fields.
27713 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
27715         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27716         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27717         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27718         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27719         Likewise.
27720         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27721         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27722         Likewise.
27724 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
27726         * po/h.po: Update from translation team.
27728 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
27730         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27732         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27733         handling of denormals.
27734         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27735         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27736         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27737         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27738         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27739         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27740         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27741         Likewise.
27743 2012-05-26  Marek Polacek  <polacek@redhat.com>
27745         [BZ #14152]
27746         * math/libm-test.inc (fma_test): Don't always expect underflow
27747         exception.
27749 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27751         [BZ #12416]
27752         * elf/tst-execstack.c: Include stackinfo.h.
27753         (do_test): Adjust test case to ensure that pthread_getattr_np
27754         behaviour remains the same after marking stack executable.
27756 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27758         * sysdeps/unix/sysv/linux/kernel-features.h
27759         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27760         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27761         kernel-features.h.
27762         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27763         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27764         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27765         kernel-features.h.
27766         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27767         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27769 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
27771         * configure.in: Define the default includes to being none.
27772         * configure: Regenerated.
27774 2012-05-25  Roland McGrath  <roland@hack.frob.com>
27776         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27777         * sysdeps/x86_64/setjmp.S: Likewise.
27778         * sysdeps/i386/bsd-setjmp.S: Likewise.
27779         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27780         * sysdeps/i386/setjmp.S: Likewise.
27781         * sysdeps/i386/__longjmp.S: Likewise.
27782         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27783         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27785         * include/stap-probe.h: New file.
27786         * configure.in: Handle --enable-systemtap.
27787         * configure: Regenerated.
27788         * config.h.in (USE_STAP_PROBE): New #undef.
27789         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27790         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27791         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27793 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27795         [BZ #13717]
27796         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27797         to 2.4.0 where earlier.
27798         * sysdeps/unix/sysv/linux/configure: Regenerated.
27799         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27800         <kernel-features.h>.
27801         [__ASSUME_32BITUIDS]: Make code unconditional.
27802         [!__ASSUME_32BITUIDS]: Remove conditional code.
27803         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27804         <kernel-features.h>.
27805         [__ASSUME_32BITUIDS]: Make code unconditional.
27806         [!__ASSUME_32BITUIDS]: Remove conditional code.
27807         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27808         [__ASSUME_32BITUIDS]: Make code unconditional.
27809         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27810         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/i386/getresgid.c: Do not include
27827         <kernel-features.h>.
27828         [__ASSUME_32BITUIDS]: Make code unconditional.
27829         [!__ASSUME_32BITUIDS]: Remove conditional code.
27830         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27831         <kernel-features.h>.
27832         [__ASSUME_32BITUIDS]: Make code unconditional.
27833         [!__ASSUME_32BITUIDS]: Remove conditional code.
27834         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27835         <kernel-features.h>.
27836         [__ASSUME_32BITUIDS]: Make code unconditional.
27837         [!__ASSUME_32BITUIDS]: Remove conditional code.
27838         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27839         <kernel-features.h>.
27840         [__ASSUME_32BITUIDS]: Make code unconditional.
27841         [!__ASSUME_32BITUIDS]: Remove conditional code.
27842         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27843         <kernel-features.h>.
27844         [__ASSUME_32BITUIDS]: Make code unconditional.
27845         [!__ASSUME_32BITUIDS]: Remove conditional code.
27846         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27847         <kernel-features.h>.
27848         [__ASSUME_32BITUIDS]: Make code unconditional.
27849         [!__ASSUME_32BITUIDS]: Remove conditional code.
27850         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27851         <kernel-features.h>.
27852         [__NR_setresgid] (__setresgid): Do not declare.
27853         [__ASSUME_32BITUIDS]: Make code unconditional.
27854         [!__ASSUME_32BITUIDS]: Remove conditional code.
27855         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27856         <kernel-features.h>.
27857         [__NR_setresuid] (__setresuid): Do not declare.
27858         [__ASSUME_32BITUIDS]: Make code unconditional.
27859         [!__ASSUME_32BITUIDS]: Remove conditional code.
27860         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27861         <kernel-features.h>.
27862         [__ASSUME_32BITUIDS]: Make code unconditional.
27863         [!__ASSUME_32BITUIDS]: Remove conditional code.
27864         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27865         <kernel-features.h>.
27866         [__ASSUME_32BITUIDS]: Make code unconditional.
27867         [!__ASSUME_32BITUIDS]: Remove conditional code.
27868         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27869         <kernel-features.h>.
27870         [__ASSUME_32BITUIDS]: Make code unconditional.
27871         [!__ASSUME_32BITUIDS]: Remove conditional code.
27872         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27873         <kernel-features.h>.
27874         [__ASSUME_32BITUIDS]: Make code unconditional.
27875         [!__ASSUME_32BITUIDS]: Remove conditional code.
27876         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27877         <kernel-features.h>.
27878         [__ASSUME_32BITUIDS]: Make code unconditional.
27879         [!__ASSUME_32BITUIDS]: Remove conditional code.
27880         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27881         <kernel-features.h>.
27882         [__ASSUME_32BITUIDS]: Make code unconditional.
27883         [!__ASSUME_32BITUIDS]: Remove conditional code.
27884         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27885         <kernel-features.h>.
27886         [__ASSUME_32BITUIDS]: Make code unconditional.
27887         [!__ASSUME_32BITUIDS]: Remove conditional code.
27888         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27889         <kernel-features.h>.
27890         [__ASSUME_32BITUIDS]: Make code unconditional.
27891         [!__ASSUME_32BITUIDS]: Remove conditional code.
27892         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27893         <kernel-features.h>.
27894         [__ASSUME_32BITUIDS]: Make code unconditional.
27895         [!__ASSUME_32BITUIDS]: Remove conditional code.
27896         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27897         <kernel-features.h>.
27898         [__ASSUME_32BITUIDS]: Make code unconditional.
27899         [!__ASSUME_32BITUIDS]: Remove conditional code.
27900         * sysdeps/unix/sysv/linux/kernel-features.h
27901         (__ASSUME_SETRESUID_SYSCALL): Remove.
27902         (__ASSUME_SETRESGID_SYSCALL): Likewise.
27903         (__ASSUME_32BITUIDS): Likewise.
27904         (__ASSUME_LDT_WORKS): Likewise.
27905         (__ASSUME_O_DIRECTORY): Likewise.
27906         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27907         architecture but not kernel version.
27908         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27909         (__ASSUME_MMAP2_SYSCALL): Likewise.
27910         (__ASSUME_STAT64_SYSCALL): Likewise.
27911         (__ASSUME_IPC64): Likewise.
27912         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27913         <kernel-features.h>.
27914         [__ASSUME_32BITUIDS]: Make code unconditional.
27915         [!__ASSUME_32BITUIDS]: Remove conditional code.
27916         * sysdeps/unix/sysv/linux/opendir.c: Do not include
27917         <kernel-features.h>.
27918         [__ASSUME_O_DIRECTORY]: Make code unconditional.
27919         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27920         132096]: Remove conditional code.
27921         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27922         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27923         <kernel-features.h>.
27924         [__ASSUME_32BITUIDS]: Make code unconditional.
27925         [!__ASSUME_32BITUIDS]: Remove conditional code.
27926         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27927         <kernel-features.h>.
27928         [__ASSUME_32BITUIDS]: Make code unconditional.
27929         [!__ASSUME_32BITUIDS]: Remove conditional code.
27930         * sysdeps/unix/sysv/linux/setegid.c: Do not include
27931         <kernel-features.h>.
27932         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27933         unconditional.
27934         (__setresgid): Do not declare.
27935         [__ASSUME_32BITUIDS]: Make code unconditional.
27936         [!__ASSUME_32BITUIDS]: Remove conditional code.
27937         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27938         <kernel-features.h>.
27939         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27940         unconditional.
27941         (__setresuid): Do not declare.
27942         [__ASSUME_32BITUIDS]: Make code unconditional.
27943         [!__ASSUME_32BITUIDS]: Remove conditional code.
27944         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27945         <kernel-features.h>.
27946         [__ASSUME_32BITUIDS]: Make code unconditional.
27947         [!__ASSUME_32BITUIDS]: Remove conditional code.
27948         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27949         <kernel-features.h>.
27950         [__ASSUME_32BITUIDS]: Make code unconditional.
27951         [!__ASSUME_32BITUIDS]: Remove conditional code.
27953 2012-05-25  Richard Henderson  <rth@twiddle.net>
27955         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27956         dl_hwcap to ifunc resolver.
27957         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27958         elf_ifunc_invoke.
27959         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27960         dl_hwcap to ifunc resolver.
27961         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27963 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27965         [BZ #14153]
27966         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27967         for |x| <= 2**-26, not 2**-57.
27968         * math/libm-test.inc (acos_test): Do not allow spurious underflow
27969         exception.
27971 2012-05-24  Jeff Law  <law@redhat.com>
27973         * stdio-common/Makefile (tests): Add bug25.
27974         * stdio-common/bug25.c: New test.
27976 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27978         [BZ #13576]
27979         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27980         multiple of MALLOC_ALIGNMENT in size.
27981         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27983 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27985         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27986         Require >= 256.
27987         (FILENAME_MAX): Use macro-int-constant.
27988         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
27989         (_IOFBF): Use macro-int-constant.
27990         (_IOLBF): Likewise.
27991         (_IONBF): Likewise.
27992         (SEEK_CUR): Likewise.
27993         (SEEK_END): Likewise.
27994         (SEEK_SET): Likewise.
27995         (TMP_MAX): Likewise.
27996         (EOF): Use macro-int-constant.  Require < 0.
27997         (NULL): Use macro-constant.  Require == 0.
27998         (stdin): Require type to be FILE *.
27999         (stdout): Likewise.
28000         (stderr): Likewise.
28001         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28002         macro-int-constant.
28003         (EXIT_SUCCESS): Likewise.
28004         (NULL): Use macro-constant.  Require == 0.
28005         (RAND_MAX): Use macro-int-constant.
28006         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28007         [C99-based standards] (strtof): Require function.
28008         [C99-based standards] (strtold): Likewise.
28009         [C99-based standards] (strtoll): Likewise.
28010         [C99-based standards] (strtoull): Likewise.
28011         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28012         [ISO || ISO99 || ISO11] (limits.h): Likewise.
28013         [ISO || ISO99 || ISO11] (math.h): Likewise.
28014         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28015         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28016         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28018 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
28020         [BZ #14132]
28021         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28022         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28023         * intl/dgettext.c (DCGETTEXT): Likewise.
28024         * intl/gettext.c (DCGETTEXT): Likewise.
28025         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28026         * posix/regex_internal.h (gettext): Likewise.
28027         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28028         Remove declaration.
28029         * include/argz.h (__argz_count_internal)
28030         (__argz_stringify_internal): Remove declaration.
28031         (__argz_count, __argz_stringify): Declare hidden proto.
28032         * intl/dcgettext.c: Remove use of INTDEF.
28033         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28034         * string/argz-stringify.c: Likewise.
28035         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28036         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28037         Declare hidden proto.
28038         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28039         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28040         Declare hidden proto.
28041         * include/stdio.h (__asprintf_internal): Don't declare.
28042         (__asprintf): Don't define as macro.  Declare hidden proto.
28043         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28044         (__fsetlocking): Declare hidden proto.
28045         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28046         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28047         hidden proto.
28048         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28049         (_IO_setlinebuf): Remove use of INTUSE.
28050         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28051         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28052         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28053         Remove declaration.
28054         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28055         (_IO_do_flush): Remove use of INTUSE.
28056         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28057         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28058         (_IO_adjust_column, _IO_least_wmarker)
28059         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28060         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28061         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28062         (_IO_default_doallocate, _IO_wdefault_doallocate)
28063         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28064         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28065         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28066         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28067         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28068         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28069         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28070         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28071         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28072         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28073         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28074         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28075         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28076         proto.
28077         (_IO_flush_all_internal, _IO_adjust_column_internal)
28078         (_IO_default_uflow_internal, _IO_default_finish_internal)
28079         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28080         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28081         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28082         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28083         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28084         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28085         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28086         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28087         (_IO_file_close_internal, _IO_file_close_it_internal)
28088         (_IO_file_underflow_internal, _IO_file_overflow_internal)
28089         (_IO_file_init_internal, _IO_file_attach_internal)
28090         (_IO_file_fopen_internal, _IO_file_read_internal)
28091         (_IO_file_sync_internal, _IO_file_seek_internal)
28092         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28093         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28094         (_IO_str_underflow_internal, _IO_str_overflow_internal)
28095         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28096         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28097         (_IO_list_all_internal, _IO_link_in_internal)
28098         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28099         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28100         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28101         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28102         (_IO_do_write_internal, _IO_padn_internal)
28103         (_IO_getline_info_internal, _IO_getline_internal)
28104         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28105         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28106         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28107         (_IO_vfscanf_internal, _IO_vfprintf_internal)
28108         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28109         (_IO_init_internal, _IO_un_link_internal): Don't declare.
28110         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28111         with libc_hidden_ver, remove use of INTUSE.
28112         * libio/genops.c: Likewise.
28113         * libio/freopen.c: Likewise.
28114         * libio/freopen64.c: Likewise.
28115         * libio/iofclose.c: Likewise.
28116         * libio/iofdopen.c: Likewise.
28117         * libio/iofflush.c: Likewise.
28118         * libio/iofflush_u.c: Likewise.
28119         * libio/iofgets.c: Likewise.
28120         * libio/iofgets_u.c: Likewise.
28121         * libio/iofopen.c: Likewise.
28122         * libio/iofopncook.c: Likewise.
28123         * libio/iofread.c: Likewise.
28124         * libio/iofread_u.c: Likewise.
28125         * libio/ioftell.c: Likewise.
28126         * libio/iofwrite.c: Likewise.
28127         * libio/iogetline.c: Likewise.
28128         * libio/iogets.c: Likewise.
28129         * libio/iogetwline.c: Likewise.
28130         * libio/iopadn.c: Likewise.
28131         * libio/iopopen.c: Likewise.
28132         * libio/ioseekoff.c: Likewise.
28133         * libio/ioseekpos.c: Likewise.
28134         * libio/iosetbuffer.c: Likewise.
28135         * libio/iosetvbuf.c: Likewise.
28136         * libio/ioungetc.c: Likewise.
28137         * libio/ioungetwc.c: Likewise.
28138         * libio/iovdprintf.c: Likewise.
28139         * libio/iovsprintf.c: Likewise.
28140         * libio/iovsscanf.c: Likewise.
28141         * libio/memstream.c: Likewise.
28142         * libio/obprintf.c: Likewise.
28143         * libio/oldfileops.c: Likewise.
28144         * libio/oldiofclose.c: Likewise.
28145         * libio/oldiofdopen.c: Likewise.
28146         * libio/oldiofopen.c: Likewise.
28147         * libio/oldiopopen.c: Likewise.
28148         * libio/oldstdfiles.c: Likewise.
28149         * libio/putc.c: Likewise.
28150         * libio/setbuf.c: Likewise.
28151         * libio/setlinebuf.c: Likewise.
28152         * libio/stdfiles.c: Likewise.
28153         * libio/strops.c: Likewise.
28154         * libio/vasprintf.c: Likewise.
28155         * libio/vscanf.c: Likewise.
28156         * libio/vsnprintf.c: Likewise.
28157         * libio/vswprintf.c: Likewise.
28158         * libio/wfiledoalloc.c: Likewise.
28159         * libio/wfileops.c: Likewise.
28160         * libio/wgenops.c: Likewise.
28161         * libio/wmemstream.c: Likewise.
28162         * libio/wstrops.c: Likewise.
28163         * libio/__fpurge.c: Likewise.
28164         * libio/__fsetlocking.c: Likewise.
28165         * assert/assert.c: Likewise.
28166         * debug/fgets_chk.c: Likewise.
28167         * debug/fgets_u_chk.c: Likewise.
28168         * debug/fread_chk.c: Likewise.
28169         * debug/fread_u_chk.c: Likewise.
28170         * debug/gets_chk.c: Likewise.
28171         * debug/obprintf_chk.c: Likewise.
28172         * debug/vasprintf_chk.c: Likewise.
28173         * debug/vdprintf_chk.c: Likewise.
28174         * debug/vsnprintf_chk.c: Likewise.
28175         * debug/vsprintf_chk.c: Likewise.
28176         * malloc/mtrace.c: Likewise.
28177         * misc/error.c: Likewise.
28178         * misc/syslog.c: Likewise.
28179         * stdio-common/asprintf.c: Likewise.
28180         * stdio-common/fxprintf.c: Likewise.
28181         * stdio-common/getw.c: Likewise.
28182         * stdio-common/isoc99_fscanf.c: Likewise.
28183         * stdio-common/isoc99_scanf.c: Likewise.
28184         * stdio-common/isoc99_vfscanf.c: Likewise.
28185         * stdio-common/isoc99_vscanf.c: Likewise.
28186         * stdio-common/isoc99_vsscanf.c: Likewise.
28187         * stdio-common/printf-prs.c: Likewise.
28188         * stdio-common/printf_fp.c: Likewise.
28189         * stdio-common/printf_fphex.c: Likewise.
28190         * stdio-common/printf_size.c: Likewise.
28191         * stdio-common/putw.c: Likewise.
28192         * stdio-common/scanf.c: Likewise.
28193         * stdio-common/sprintf.c: Likewise.
28194         * stdio-common/tmpfile.c: Likewise.
28195         * stdio-common/vfprintf.c: Likewise.
28196         * stdio-common/vfscanf.c: Likewise.
28197         * stdlib/strfmon_l.c: Likewise.
28198         * sunrpc/openchild.c: Likewise.
28199         * sunrpc/xdr_stdio.c: Likewise.
28200         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28201         * sysdeps/mach/hurd/tmpfile.c: Likewise.
28203 2012-05-24  Roland McGrath  <roland@hack.frob.com>
28205         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28207         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28208         in the third column, to generate for the shared library an IFUNC
28209         that uses _dl_vdso_vsym.
28210         * Makerules (COMPILE.c, compile-stdin.c): New variables.
28211         * Makeconfig (object-suffixes-noshared): New variable.
28213         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28214         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28215         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28216         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28218         [BZ #14132]
28219         * include/sys/time.h (__gettimeofday): Remove macro.
28220         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28221         * time/gettimeofday.c (__gettimeofday): Remove #undef.
28222         Remove INTDEF.
28223         (__gettimeofday): Add libc_hidden_def.
28224         (gettimeofday): Add libc_hidden_weak.
28225         * sysdeps/mach/gettimeofday.c: Likewise.
28226         * sysdeps/posix/gettimeofday.c: Likewise.
28227         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28228         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28229         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28230         (__gettimeofday_internal): Remove strong_alias.
28231         (__gettimeofday): Add libc_hidden_def.
28232         (gettimeofday): Add libc_hidden_weak.
28233         * sysdeps/unix/syscalls.list (gettimeofday):
28234         Remove __gettimeofday_internal alias.
28236 2012-05-24  Daniel Jacobowitz  <drow@false.org>
28237             H.J. Lu  <hongjiu.lu@intel.com>
28239         [BZ #12495]
28240         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28241         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28242         (largebin_index_32_big): New.
28243         (largebin_index): Use it for 16-byte alignment.
28244         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
28245         correction with front_misalign.
28247 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28251         Likewise.
28252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28253         Likewise.
28254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28255         Likewise.
28256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28257         Likewise.
28258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28259         Likewise.
28260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28261         Likewise.
28262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28263         Likewise.
28264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28265         Likewise.
28266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28267         Likewise.
28268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28269         Likewise.
28270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28271         Likewise.
28272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28273         Likewise.
28275         * scripts/data/c++-types-x32-linux-gnu.data: New file.
28276         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28278 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28280         [BZ #10846]
28281         [BZ #14036]
28282         * math/libm-test.inc (exp_test): Add test from bug 14036.
28283         (pow_test): Add test from bug 10846.
28285         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28286         and other flags.
28287         (special_function): Do not include flags in test name.
28288         (parse_args): Likewise.
28289         * sysdeps/i386/fpu/libm-test-ulps: Update.
28290         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28291         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28292         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28295         * math/gen-libm-test.pl (%beautify): Add entries for underflow
28296         exceptions.
28297         * math/libm-test.inc ("Philosophy"): Update comment about
28298         exception testing.
28299         (UNDERFLOW_EXCEPTION): New macro.
28300         (UNDERFLOW_EXCEPTION_OK): Likewise.
28301         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28302         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28303         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28304         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28305         (INVALID_EXCEPTION_OK): Update value.
28306         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28307         (OVERFLOW_EXCEPTION_OK): Likewise.
28308         (IGNORE_ZERO_INF_SIGN): Likewise.
28309         (test_exceptions): Handle underflow exceptions.
28310         (acos_test): Update for underflow exception expectations.
28311         (cexp_test): Likewise.
28312         (clog_test): Likewise.
28313         (clog10_test): Likewise.
28314         (csqrt_test): Likewise.
28315         (ctan_test): Likewise.
28316         (ctanh_test): Likewise.
28317         (exp_test): Likewise.
28318         (exp10_test): Likewise.
28319         (exp2_test): Likewise.
28320         (expm1_test): Likewise.
28321         (fma_test): Likewise.
28322         (j0_test): Likewise.
28323         (jn_test): Likewise.
28324         (nexttoward_test): Likewise.
28325         (pow_test): Likewise.
28326         (scalbn_test): Likewise.
28327         (scalbln_test): Likewise.
28328         (tan_test): Likewise.
28329         (y1_test): Likewise.
28330         * sysdeps/i386/fpu/libm-test-ulps: Update.
28331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28333 2012-05-23  David S. Miller  <davem@davemloft.net>
28335         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28336         (__libc_sigaction): Remove unused local variables.
28338 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28340         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28342 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
28344         mktime: avoid signed integer overflow
28345         * time/mktime.c (__mktime_internal): Do not mishandle the case
28346         where diff == INT_MIN.
28348         mktime: simplify computation of average
28349         * time/mktime.c (ranged_convert): Use new time_t_avg function
28350         instead of rolling our own (probably-slower) code.
28352         mktime: do not assume signed right shift propagates sign bit
28353         * time/mktime.c (isdst_differ): New static function.
28354         (__mktime_internal): No need to normalize tm_isdst now.
28355         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28356         tm_isdst values.
28358         mktime: merge another wrapv change from gnulib
28359         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28360         from some compilers.
28362         mktime: remove incorrect attempt at unusual arithmetics
28363         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28364         The code didn't really work on such machines anyway.
28365         (TYPE_MINIMUM): Assume two's complement.
28366         (twos_complement_arithmetic): Verify that long_int and time_t
28367         are two's complement (or unsigned, in the latter case).
28369         mktime: check signed shifts on long_int and time_t, too
28370         * time/mktime.c (SHR): Check that shifts work as desired
28371         on the types long_int and time_t too, as SHR is used on
28372         such types.
28374         mktime: do not assume 'long' is wide enough
28375         * time/mktime.c (verify): Move decl up.
28376         (long_int): New type.
28377         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28378         to remove assumption in the code that 'long' is wide enough to
28379         store year values.  This assumption is not true on x32 and on
28380         some non-glibc platforms.
28382         mktime: merge wrapv change from gnulib
28383         * time/mktime.c (WRAPV): New macro.
28384         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28385         (guess_time_tm, __mktime_internal): Do not assume that signed
28386         integer overflow wraps around; modern compilers generate code
28387         where this assumption is no longer valid.
28389 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28391         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28392         Replace "jmp L(pseudo_end)" with "ret".
28393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28394         Likewise.
28396 2012-05-23  Andreas Jaeger  <aj@suse.de>
28398         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28399         * sysdeps/unix/sysv/linux/poll.c: Remove file.
28401 2012-05-23  Andreas Jaeger  <aj@suse.de>
28402             Maximilian Attems  <max@stro.at>
28404         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28405         New macros.
28407 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28409         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28410         code so that pseudo_end is just ret and the stack pointer is
28411         correct also for static library in error case.
28413 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
28415         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28416         move to syscalls.list.
28417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28422         * manual/install.texi (Running make install): Do not mention Linux
28423         kernel version for which pt_chown is not needed.
28424         (Linux): Do not mention problems with nscd with 2.0 kernels.
28425         * INSTALL: Regenerated.
28427 2012-05-23  Andreas Jaeger  <aj@suse.de>
28429         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28430         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28431         macro.
28432         * sysdeps/unix/sysv/linux/s390/bits/mman.h
28433         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28434         * sysdeps/unix/sysv/linux/sh/bits/mman.h
28435         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28436         * sysdeps/unix/sysv/linux/i386/bits/mman.h
28437         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28438         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28439         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28440         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28441         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28442         * sysdeps/unix/sysv/linux/bits/in.h
28443         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28445 2012-05-22  Roland McGrath  <roland@hack.frob.com>
28447         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28448         (PREPARE_VERSION): Just use assert instead, it will be elided
28449         under [NDEBUG] anyway.
28451 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28453         * sysdeps/unix/sysv/linux/Makefile: Include
28454         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28455         (sysdep_routines): Remove sysctl.
28456         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28457         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28458         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28459         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28460         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28462 2012-05-22  Andreas Jaeger  <aj@suse.de>
28464         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28465         that pseudo_end is just ret and the stack pointer is correct also
28466         for static library in error case.
28468 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28470         [BZ #14122]
28471         * nss/nsswitch.c (defconfig_entries): New variable.
28472         (__nss_database_lookup): Don't leak defconfig entries.
28473         (nss_parse_service_list): Don't leak on error paths.
28474         (free_database_entries): New function.
28475         (free_defconfig): New function.
28476         (free_mem): Move common code to free_database_entries.
28478 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28480         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28481         Add arch_prctl.
28482         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28484         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28485         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28487         New macro.
28488         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28489         (INTERNAL_SYSCALL_TYPES): Likewise.
28490         (LOAD_ARGS_TYPES_[1-6]): Likewise.
28491         (LOAD_REGS_TYPES_[1-6]): Likewise.
28492         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28493         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28495 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28497         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28498         copysignl for GLIBC_2_0.
28499         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28500         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28501         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28502         logbl for GLIBC_2_0.
28503         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28504         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28506 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28508         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28509         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28511         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28512         Use "neg %eax".
28514         * time/mktime.c: Update copyright years.
28516 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28518         mktime: merge comment-quoting-style change from gnulib
28519         * time/mktime.c: Quote 'like this' in comments.
28520         The GNU coding standards suggest that we no longer quote `like this',
28521         as "`" and "'" are typically rendered asymmetrically nowadays.
28522         The typical gnulib style is to quote 'like this' when quoting
28523         code, and "like this" when quoting English.
28525         * time/mktime.c (compile-command): Add "-I.".
28527         mktime: merge mktime-internal.h change from gnulib
28528         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28530         mktime: merge time_r change from gnulib
28531         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28533         mktime: merge DEBUG change from gnulib
28534         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28535         case system <time.h> has a #define.
28537         mktime: merge <sys/types.h> change from gnulib
28538         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28539         since <time.t> is now guaranteed to define time_t.
28541         mktime: merge HAVE_CONFIG_H change from gnulib
28542         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28544 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28546         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28547         Use "neg %eax".
28549         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28550         __rlim_t cast.
28551         (struct rusage): Use anonymous union to pad each field to
28552         __syscall_slong_t.
28554 2012-05-21  David S. Miller  <davem@davemloft.net>
28556         * Makefules (o-iterator): Remove .s cases.
28557         (compile-command.s): Delete.
28558         (COMPILE.s): Delete.
28559         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28561 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
28563         * configure.in (libc_cv_predef_stack_protector): Only consider
28564         "foobar" and "__stack_chk_fail" lines in libc_undefs.
28565         * configure: Regenerated.
28567 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28570         New macro.  Use R*LP on int and pointer.
28571         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28572         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28573         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28574         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28576         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28577         [__WORDSIZE_TIME64_COMPAT32] instead of
28578         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28579         (struct utmp): Likewise.
28580         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28581         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28582         Renamed to ...
28583         (__WORDSIZE_TIME64_COMPAT32): This.
28584         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28585         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28586         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28587         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28588         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28589         (__WORDSIZE_TIME64_COMPAT32): New macro.
28591 2012-05-21  Andreas Jaeger  <aj@suse.de>
28593         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28594         only if [SHARED]. Add prototype for __wcschr_ia32.
28596 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28598         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28599         of %rbp unmolested in the jmp_buf while mangling the low bits.
28600         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28601         unmolested high bits of %rbp while demangling the low bits.
28602         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28604 2012-05-21  Andreas Jaeger  <aj@suse.de>
28606         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28607         * sunrpc/svc_simple.c: Use it for registerrpc.
28608         * sunrpc/xcrypt.c: Use it for passwd2des.
28610         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28612 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28614         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28615         Don't define if [__SYSCALL_WORDSIZE != 32].
28616         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28617         New macro.
28619 2012-05-21  Bruno Haible  <bruno@clisp.org>
28620             Andreas Jaeger  <aj@suse.de>
28622         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28623         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28624         inptr and inend for must_buffer_ch.
28625         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28626         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28627         * stdio-common/Makefile (tests): Remove bug15.
28628         (bug15-ENV): Remove macro.
28629         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28630         anymore.
28632 2012-05-19  Andreas Jaeger  <aj@suse.de>
28633             Roland McGrath  <roland@hack.frob.com>
28635         * manual/contrib.texi: Completely rewritten. It contains now an
28636         alphabetical list of contributors and their contributions.
28638 2012-05-21  Richard Henderson  <rth@twiddle.net>
28640         * misc/getauxval.c (__getauxval): Use unsigned long int.
28641         * misc/sys/auxv.h: Include <sys/cdefs.h>.
28642         (getauxval): Use unsigned long int.
28644 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28646         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28648 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28650         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28651         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28652         __alignof__ (long double).
28654 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28658 2012-05-20  Richard Henderson  <rth@twiddle.net>
28660         * misc/getauxval.c: New file.
28661         * misc/sys/auxv.h: New file.
28662         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28663         (routines): Add getauxval.
28664         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28665         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28666         * elf/dl-sysdep.c (_dl_auxv): Remove.
28667         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28668         * elf/dl-support.c (_dl_auxv): New variable.
28669         (_dl_aux_init): Initialize it.
28670         * manual/startup.texi (Auxiliary Vector): New node.
28671         * sysdeps/generic/bits/hwcap.h: New file.
28672         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28673         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
28674         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28675         * sysdeps/sparc/sysdep.h: ... here.  Include it.
28676         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28677         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28679         Update.
28680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28683         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28689 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28693 2012-05-19  David S. Miller  <davem@davemloft.net>
28695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28697 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28699         [BZ #14123]
28700         * math/s_ccosh.c: Include <float.h>
28701         (__ccosh): Avoid internal overflow calculating sinh and cosh
28702         values before multiplying by sin and cos values.
28703         * math/s_ccoshf.c: Likewise.
28704         * math/s_ccoshl.c: Likewise.
28705         * math/s_csin.c: Likewise.
28706         * math/s_csinf.c: Likewise.
28707         * math/s_csinl.c: Likewise.
28708         * math/s_csinh.c: Likewise.
28709         * math/s_csinhf.c: Likewise.
28710         * math/s_csinhl.c: Likewise.
28711         * math/libm-test.inc (ccos_test): Add more tests.
28712         (ccosh_test): Likewise.
28713         (csin_test): Likewise.
28714         (csinh_test): Likewise.
28715         * sysdeps/i386/fpu/libm-test-ulps: Update.
28716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28718 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
28720         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28721         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28723         * sysdeps/x86_64/x32/_itoa.h: Add comment.
28725 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28727         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28728         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28729         * sysdeps/powerpc/soft-fp/Versions: Likewise.
28730         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28731         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28732         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28733         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28734         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28735         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28736         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28737         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28738         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28739         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28740         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28741         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28742         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28743         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28744         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28745         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28746         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28747         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28748         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28749         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28750         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28751         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28752         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28753         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28754         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28755         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28756         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28757         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28759 2012-05-18  Andreas Jaeger  <aj@suse.de>
28761         * csu/.gitignore: Delete.
28763 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28765         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28766         (timex): Use __syscall_slong_t.
28768 2012-05-18  Andreas Jaeger  <aj@suse.de>
28769             Carlos O'Donell  <carlos_odonell@mentor.com>
28771         * manual/install.texi (Configuring and compiling): Update
28772         description about files modified in the source directory.
28773         * INSTALL: Regenerated.
28775 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28777         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28778         value.  Use "or" to set return value to -1.
28779         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28780         negate return value.
28782 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28784         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28785         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28786         failure if the compiler has Graphite support disabled.
28787         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28788         Likewise.
28789         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28790         (CFLAGS-memmove.c): Likewise.
28791         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28792         Likewise.
28794 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28796         * sysdeps/x86_64/x32/_itoa.h: New file.
28798         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28799         getdents system call only if kernel and user dirents have the
28800         same d_ino and d_off.
28802         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28803         LLONG_MAX != LONG_MAX.
28804         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28805         (_fitoa_word): Likewise.
28807         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28808         years.
28809         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28810         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28811         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28813         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28814         include <bits/wordsize.h>.  Check __x86_64__ instead of
28815         __WORDSIZE.
28816         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28817         if __x86_64__ is defined.  Use anonymous union on fpstate.
28819         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28820         anonymous union.
28822 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
28824         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28825         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28826         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28827         Refer to _rtld_local_ro instead of _rtld_global_ro.
28828         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28829         Likewise.
28830         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28831         Likewise.
28832         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28833         Likewise.
28834         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28835         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28836         of _rtld_global, and rtld_progname instead of _dl_argv[0].
28838         * sysdeps/powerpc/powerpc32/dl-machine.c
28839         (__elf_machine_runtime_setup) [PROF]: Don't reference
28840         _dl_prof_resolve.
28842 2012-05-18  Andreas Jaeger  <aj@suse.de>
28844         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28845         function only available for GCCs before 3.4 since GCC 3.4
28846         introduced a builtin.
28847         (lrint): Likewise.
28848         (llrintf): Likewise.
28849         (llrint): Likewise.
28850         (fmaxf): Likewise.
28851         (fmax): Likewise.
28852         (fminf): Likewise.
28853         (fmin): Likewise.
28854         (rint): Likewise.
28855         (rintf): Likewise.
28856         (nearbyint): Likewise.
28857         (nearbyintf): Likewise.
28858         (ceil): Likewise.
28859         (ceilf): Likewise.
28860         (floor): Likewise.
28861         (floorf): Likewise.
28863 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28865         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28866         on both fields and cast pointer to __syscall_ulong_t.
28868         * bits/types.h (__fsword_t): New type.
28869         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28870         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28871         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28872         (__FSWORD_T_TYPE): Likewise.
28873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28874         (__FSWORD_T_TYPE): Likewise.
28875         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28876         (__FSWORD_T_TYPE): Likewise.
28877         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28878         (__FSWORD_T_TYPE): Likewise.
28879         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28880         __SWORD_TYPE with __fsword_t.
28881         (statfs64): Likewise.
28883 2012-05-17  David S. Miller  <davem@davemloft.net>
28885         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28887 2012-05-17  Andreas Jaeger  <aj@suse.de>
28889         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28890         warning.
28892 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28894         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28896 2012-05-17  Andreas Jaeger  <aj@suse.de>
28898         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28899         when it is used.
28901 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28903         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28905 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28907         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28908         * sysdeps/x86_64/tst-mallocalign1.c: New file.
28910 2012-05-17  Andreas Jaeger  <aj@suse.de>
28911             Carlos O'Donell  <carlos_odonell@mentor.com>
28913         [BZ #14059]
28914         * sysdeps/x86_64/multiarch/init-arch.h
28915         (bit_YMM_Usable): Rename to...
28916         (bit_AVX_Usable): ... this.
28917         (bit_FMA4_Usable): New macro.
28918         (bit_XMM_state): New macro.
28919         (bit_YMM_state): New macro.
28920         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28921         [__ASSEMBLER__] (index_AVX_Usable): ... this.
28922         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28923         (CPUID_OSXSAVE): New macro.
28924         (CPUID_AVX): New macro.
28925         (CPUID_FMA4): New macro.
28926         (index_YMM_Usable): Rename to...
28927         (index_AVX_Usable): ... this.
28928         (HAS_AVX): Use HAS_ARCH_FEATURE.
28929         (HAS_FMA4): Likewise.
28930         (HAS_YMM_USABLE): Remove.
28931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28932         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28933         are present.
28934         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28935         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28936         * sysdeps/x86_64/multiarch/Makefile: Likewise.
28937         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28938         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28940 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28942         * math/libm-test.c: Support platforms without multiple rounding modes.
28943         * math/bug-nextafter.c: Support platforms without FP exceptions.
28944         * math/bug-nexttoward.c: Likewise.
28945         * math/test-fenv.c: Likewise.
28946         * math/test-misc.c: Likewise.
28947         * stdlib/bug-getcontext.c: Likewise.
28949 2012-05-17  Andreas Jaeger  <aj@suse.de>
28951         * manual/examples/search.c (critter_cmp): Change signature to
28952         avoid warnings.
28953         * manual/string.texi (Collation Functions): Likewise.
28955 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28957         * bits/types.h: Fold copyright years.
28958         * bits/typesizes.h: Likewise.
28959         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28960         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28962         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28963         * time/time.h: Likewise.
28965 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
28967         [BZ #208]
28968         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28969         in instead of returning them.  Return void.
28970         (__libc_mallinfo): Accumulate over all arenas.
28971         (__malloc_stats): Adjust for change in int_mallinfo interface.
28973 2012-05-16  Roland McGrath  <roland@hack.frob.com>
28975         [BZ #10375]
28976         * configure.in (NM): Add AC_CHECK_TOOL for it.
28977         (libc_extra_cflags): New substituted variable.
28978         Check for -fstack-protector being used implicitly.
28979         * configure: Regenerated.
28980         * config.make.in (config-extra-cflags): New variable,
28981         gets @libc_extra_cflags@.
28982         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28984         [BZ #10375]
28985         * configure.in: Check for _FORTIFY_SOURCE being predefined.
28986         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28987         * configure: Regenerated.
28988         * config.make.in (CPPUNDEFS): New substituted variable.
28989         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28990         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28991         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28993 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28995         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28996         (mq_attr): Use __syscall_slong_t.
28998 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29000         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29001         Check __x86_64__ instead of __WORDSIZE.
29002         (_STAT_VER_LINUX): Likewise.
29003         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
29004         __syscall_ulong_t and __syscall_slong_t.
29005         (stat64): Likewise.
29007 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29009         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29011 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29013         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29015 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29017         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29018         __syscall_ulong_t.
29020         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29021         include <bits/wordsize.h>.  Check __x86_64__ instead of
29022         __WORDSIZE.
29023         (greg_t): Use "__extension__ long long int" if __x86_64__ is
29024         defined.
29025         (mcontext_t): Replace "unsigned long" with "unsigned long long".
29027         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29028         include <bits/wordsize.h>.  Check __x86_64__ instead of
29029         __WORDSIZE.
29030         (user_regs_struct): Use "__extension__ unsigned long long"
29031         instead of "unsigned long" if __x86_64__ is defined.
29032         (user): Likewise.  Pad after pointer field if __ILP32__ is
29033         defined.
29035 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
29037         * configure.in (makeinfo): Require version 4.5 or later.  Allow
29038         versions 5 to 9.
29039         * configure: Regenerated.
29040         * manual/install.texi (texinfo): Increase version requirement to
29041         4.5 or later.
29042         * INSTALL: Regenerated.
29044         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29046 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29048         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29050         * sysdeps/x86_64/x32/ffs.c: New file.
29052         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29053         __syscall_ulong_t.
29054         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29055         defined.  Use __syscall_ulong_t.
29056         (shminfo): Use __syscall_ulong_t.
29057         (shm_info): Likewise.
29059         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29060         __syscall_ulong_t.
29062         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29063         <bits/wordsize.h>.
29064         (msgqnum_t): Use __syscall_ulong_t.
29065         (msglen_t): Likewise.
29066         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
29067         __syscall_ulong_t.
29069         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29070         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29072         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29074         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29075         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29077         * sysvipc/sys/msg.h (msgbuf): Replace long int with
29078         __syscall_slong_t.
29080         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29081         include <bits/wordsize.h>.  Check __x86_64__ instead of
29082         __WORDSIZE.
29084         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29085         "unsigned long long int" if __x86_64__ is defined.
29086         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29088         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29089         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29090         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29092         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29093         <stdint.h>.
29094         (GET_PC): Cast to uintptr_t first.
29095         (GET_FRAME): Likewise.
29096         (GET_STACK): Likewise.
29098         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29099         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29100         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29101         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29102         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29103         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29104         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29105         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29106         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29107         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29108         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29109         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29110         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29111         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29112         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29113         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29114         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29115         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29116         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29117         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29118         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29119         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29120         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29121         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29122         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29123         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29124         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29125         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29126         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29128 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
29130         * Makerules (+depfiles): Also collect depfiles from .oS in
29131         $(extra-objs).
29132         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29133         .oS, $(libnldbl-routines)).
29135         * Makerules (native-compile-mkdep-flags): Define.
29136         * sunrpc/Makefile (extra-objs): Add $(addprefix
29137         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29138         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29139         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
29140         calling $(make-target-directory).
29142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29144         * bits/types.h (__snseconds_t): Removed.
29145         * time/time.h (struct timespec): Replace __snseconds_t with
29146         __syscall_slong_t.
29147         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29148         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29149         Likewise.
29150         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29151         (__SNSECONDS_T_TYPE): Likewise.
29152         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29153         (__SNSECONDS_T_TYPE): Likewise.
29154         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29155         (__SNSECONDS_T_TYPE): Likewise.
29157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29159         * sysdeps/mach/hurd/bits/typesizes.h
29160         (__SYSCALL_SLONG_TYPE): New macro.
29161         (__SYSCALL_ULONG_TYPE): Likewise.
29163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29165         * bits/types.h (__syscall_slong_t): New type.
29166         (__syscall_ulong_t): Likewise.
29168         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29169         (__SYSCALL_ULONG_TYPE): Likewise.
29170         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29171         (__SYSCALL_SLONG_TYPE): Likewise.
29172         (__SYSCALL_ULONG_TYPE): Likewise.
29173         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29174         (__SYSCALL_SLONG_TYPE): Likewise.
29175         (__SYSCALL_ULONG_TYPE): Likewise.
29176         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29177         (__SYSCALL_SLONG_TYPE): Likewise.
29178         (__SYSCALL_ULONG_TYPE): Likewise.
29180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29182         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29183         Add sigaltstack-offsets.sym.
29184         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29185         <sigaltstack-offsets.h>.
29186         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
29187         longjmp_msg pointer.
29188         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
29189         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29190         signal stack.
29191         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29193 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29195         * elf/stackguard-macros.h: Remove file.
29196         * sysdeps/generic/stackguard-macros.h: New file.
29197         * sysdeps/i386/stackguard-macros.h: Likewise.
29198         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29199         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29200         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29201         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29202         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29203         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29204         * sysdeps/x86_64/stackguard-macros.h: Likewise.
29205         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29206         <elf/stackguard-macros.h>.
29208         [BZ #14109]
29209         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29210         __aligned__ in attribute.
29211         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29212         (gregset_t): Likewise.
29214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29216         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29217         * sysdeps/x86_64/64/Implies-after: Here.  New file.
29218         * sysdeps/x86_64/x32/Implies-after: New file.
29220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29222         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29223         and access return value for _dl_profile_fixup.  Use R10_LP to
29224         load frame size.
29226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29228         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29232         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29233         * sysdeps/x86_64/x32/sysdep.h: New file.
29235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29237         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29238         * sysdeps/x86_64/setjmp.S: Likewise.
29240 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29242         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29243         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29244         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29245         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29246         remove unused global constant.
29248 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
29250         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29251         include of <not-cancel.h>.
29253 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29255         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29257 2012-05-15  Jeff Law  <law@redhat.com>
29258             Andreas Jaeger  <aj@suse.de>
29260         [BZ #13594]
29261         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29262         out from...
29263         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29264         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29265         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29266         code changing __hst_map_handle.map.
29268 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29270         * configure.in (sysnames): Look for Implies-before and Implies-after
29271         files.
29272         * configure: Regenerated.
29274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29276         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29277         8-byte data alignment with LP_SIZE alignment.
29279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29281         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29282         into R10_LP.
29284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29286         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29288 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29290         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29291         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29292         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29293         Likewise.
29294         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29298         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29299         (stackinfo_sub_sp): Likewise.
29301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29303         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29304         RAX_LP.
29306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29308         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29309         into R*_LP.
29311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29313         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29314         sizes into R*_LP.
29316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29318         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29322         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29323         into R11_LP and load __x86_64_shared_cache_size_half into
29324         R8_LP.
29326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29328         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29329         R8_LP.
29331 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29333         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29334         logb for POWER7.
29335         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29336         logbf for POWER7.
29337         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29338         logbl for POWER7.
29339         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29340         powerpc32/power7/fpu/s_logb.c via #include.
29341         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29342         powerpc32/power7/fpu/s_logbf.c via #include.
29343         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29344         powerpc32/power7/fpu/s_logbl.c via #include.
29346 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29348         * README.libm: Remove file.
29350 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29352         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29353         count for x32.  Use R*_LP and omit operand-size suffix.
29355 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29357         * shlib-versions: Move x86_64-.*-linux.* entries to ...
29358         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
29359         * sysdeps/x86_64/x32/shlib-versions: New file.
29361 2012-05-14  Roland McGrath  <roland@hack.frob.com>
29363         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29364         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29365         Use _dl_fatal_printf instead.
29367 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29369         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29370         set if not set by the user.  Do not allow for being unset.
29371         * sysdeps/unix/sysv/linux/configure: Regenerated.
29373 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29375         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29376         the `q' suffix from lea and replace .quad with ASM_ADDR.
29378 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29381         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
29382         instead of $17.
29383         (PTR_DEMANGLE): Likewise.
29385 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29387         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29388         (LP_OP): Likewise.
29389         (ASM_ADDR): Likewise.
29390         (RAX_LP): Likewise.
29391         (RBP_LP): Likewise.
29392         (RBX_LP): Likewise.
29393         (RCX_LP): Likewise.
29394         (RDI_LP): Likewise.
29395         (RSI_LP): Likewise.
29396         (RSP_LP): Likewise.
29397         (R8_LP): Likewise.
29398         (R9_LP): Likewise.
29399         (R10_LP): Likewise.
29400         (R10_LP): Likewise.
29401         (R11_LP): Likewise.
29402         (R12_LP): Likewise.
29403         (R13_LP): Likewise.
29404         (R14_LP): Likewise.
29405         (R15_LP): Likewise.
29407 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29409         * sysdeps/x86_64/x32/dl-machine.h: New file.
29411 2012-05-14  Andreas Jaeger  <aj@suse.de>
29413         * manual/Makefile (subdir): Remove export of subdir.
29414         (all): Remove target.
29415         (.PHONY): Remove all from list.
29416         (mkinstalldirs): Remove.
29417         (.PHONY): Remove installdirs from list.
29418         ($(inst_infodir)/libc.info): Use make-target-directory.
29419         (installdirs): Remove.
29420         (subdir_%): Remove.
29421         (glibc-targets): Remove.
29422         (lib): Remove.
29423         (stubs): Remove.
29424         ($(objpfx)stubs ../po/manual.pot): Remove.
29425         ($(objpfx)stamp%): Remove.
29426         (make-target-directory): Remove.
29427         (subdir_install): Remove.
29428         (routines): Remove.
29429         (aux): Remove.
29430         (sources): Remove.
29431         (objects): Remove.
29432         (headers): Remove.
29434         [BZ #13750]
29435         * manual/.gitignore: Remove, it's not needed anymore.
29436         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29437         all files in it.
29438         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29439         directory.
29440         (texis): Renamed to $(objpfx)texis.
29441         (texis-path): New, contains path to generated files.
29442         (chapters.%): Use texis-path for complete path, add extra argument
29443         libc-texinfo.sh.
29444         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29445         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29446         (summary,texi, stamp-summary): Use complete path of
29447         files. Generate files in build dir.
29448         (dir-add.texi): Build in build dir.
29449         (libm-err.texi,stamp-libm-err): Likewise.
29450         (version.texi, stamp-version): Likewise.
29451         (.%c.texi): Likewise.
29452         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29453         (mostlyclean): Remove target.
29454         (realclean): Remove target.
29455         (generated): Add new variable with contents from mostlyclean and
29456         realclean, remove entries duplicated in common-mostlyclean, add
29457         stamp-libm-err and stamp-version.
29458         (generated-dirs): Add libc directory.
29459         ($(inst_infodir)/libc.info): Install files from build dir.
29461         * manual/install.texi (Configuring and compiling): Adjust since
29462         the info files are not part of the tar ball anymore.
29464 2012-05-14  Andreas Jaeger  <aj@suse.de>
29466         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29467         variable.
29469 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29471         [BZ #13717]
29472         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29473         to 2.2.0 where earlier.
29474         * sysdeps/unix/sysv/linux/configure: Regenerated.
29475         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29476         Remove conditional code.
29477         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29478         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29479         Remove conditional code.
29480         [!__NR_lchown]: Likewise.
29481         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29482         [__NR_lchown]: Likewise.
29483         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29484         comment referencing __ASSUME_LCHOWN_SYSCALL.
29485         * sysdeps/unix/sysv/linux/i386/sigaction.c
29486         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29487         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29488         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29489         Remove conditional code.
29490         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29491         (__protocol_available): Remove #if 0 code.
29492         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29493         conditional code.
29494         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29495         * sysdeps/unix/sysv/linux/kernel-features.h
29496         (__ASSUME_GETCWD_SYSCALL): Don't define.
29497         (__ASSUME_REALTIME_SIGNALS): Likewise.
29498         (__ASSUME_PREAD_SYSCALL): Likewise.
29499         (__ASSUME_PWRITE_SYSCALL): Likewise.
29500         (__ASSUME_POLL_SYSCALL): Likewise.
29501         (__ASSUME_LCHOWN_SYSCALL): Likewise.
29502         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29503         non-SPARC.
29504         (__ASSUME_SIOCGIFNAME): Don't define.
29505         (__ASSUME_MSG_NOSIGNAL): Likewise.
29506         (__ASSUME_SENDFILE): Define unconditionally.
29507         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29508         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29509         conditional code.
29510         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29511         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29512         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29513         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29514         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29515         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29516         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29518         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29519         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29521         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29522         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29524         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29525         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29527         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29530         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29531         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29533         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29536         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29537         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29539         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29540         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29541         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29542         Remove conditional code.
29543         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29544         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29545         Remove conditional code.
29546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29547         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29548         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29549         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29550         Remove conditional code.
29551         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29552         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29553         Remove conditional code.
29554         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29555         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29556         Remove conditional code.
29557         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29558         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29559         Remove conditional code.
29560         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29561         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29562         Remove conditional code.
29563         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29564         * sysdeps/unix/sysv/linux/sh/pwrite64.c
29565         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29566         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29567         * sysdeps/unix/sysv/linux/sigaction.c
29568         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29569         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29570         * sysdeps/unix/sysv/linux/sigpending.c
29571         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29572         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29573         * sysdeps/unix/sysv/linux/sigprocmask.c
29574         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29575         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29576         * sysdeps/unix/sysv/linux/sigsuspend.c
29577         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29578         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29579         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29580         (__libc_missing_rt_sigs): Remove.
29581         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29582         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29583         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29584         Remove conditional code.
29585         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29586         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29587         return 1.
29588         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29589         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29590         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29591         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29593 2012-05-14  Andreas Jaeger  <aj@suse.de>
29595         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29596         it's not used in glibc.
29597         (__coshm1): Likewise.
29598         (__acosh1p): Likewise.
29599         (__sgn): Likewise.
29601         * manual/string.texi (Copying and Concatenation): Add missing
29602         variable in concat example.
29603         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29605 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29607         [BZ #14103]
29608         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29609         __builtin_clzl with __builtin_clzll.
29611 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29613         [BZ #14104]
29614         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29615         libc_freeres_ptr.
29617 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29619         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29620         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29621         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29622         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29624 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
29626         * NEWS: Update ia64 info.
29628 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
29630         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29631         used as bcopy.
29633 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
29635         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29636         * sysdeps/unix/syscalls.list (dup3): Likewise.
29637         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29638         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29640 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29642         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29643         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29645 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29647         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29648         thread pointer.
29649         (TLS_IE): Use mov/add instead of movq/addq to load thread
29650         pointer.
29651         (TLS_GD_PREFIX): New.
29652         (TLS_GD): Use it.
29654 2012-05-11  David S. Miller  <davem@davemloft.net>
29656         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29657         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29658         (_FPU_SETCW): Likewise.
29660 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29662         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29663         is 32-byte aligned.
29665 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
29667         [BZ #11837]
29668         * iconvdata/gb18030.c: Update tables.
29669         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
29670         characters specially.
29671         (BODY for TO_LOOP): Add encoding of missing ranges.
29673 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
29675         [BZ #13673]
29676         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29677         * sysdeps/mach/hurd/dup3.c: Likewise.
29678         * sysdeps/mach/hurd/readlinkat.c: Likewise.
29679         * sysdeps/powerpc/memmove.c:: Likewise.
29681 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29683         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29684         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29686 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29688         * elf/elf.h (R_X86_64_RELATIVE64): New.
29689         (R_X86_64_NUM): Updated.
29690         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29691         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
29692         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29693         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29694         tst-quad1pie tst-quad2pie
29695         (modules-names): Add tst-quadmod1 tst-quadmod2.
29696         ($(objpfx)tst-quad1): New dependency.
29697         ($(objpfx)tst-quad2): Likewise.
29698         ($(objpfx)tst-quad1pie): Likewise.
29699         ($(objpfx)tst-quad2pie): Likewise.
29700         * sysdeps/x86_64/tst-quad1.c: New file.
29701         * sysdeps/x86_64/tst-quad1pie.c: New file.
29702         * sysdeps/x86_64/tst-quad2.c: Likewise.
29703         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29704         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29705         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29706         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29707         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29709 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29711         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29712         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29713         * streams/stropts.h (t_scalar_t): Define type.
29715         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29716         (_PATH_PRESERVE): Set to "/var/lib".
29717         (_PATH_RWHODIR): Set to "/var/spool/rwho".
29719         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29720         instead of int.
29722         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29723         if __dir_mkfile succeeded.
29725         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29726         checking for _hurd_dtablesize.  Unlock it right after having
29727         finished _hurd_dtable allocation.
29729 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29731         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29732         * sysdeps/mach/hurd/configure: Regenerated.
29733         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29734         special-casing to...
29735         * sysdeps/gnu/configure.in: ... this new file.
29736         * sysdeps/unix/sysv/linux/configure: Regenerated.
29737         * sysdeps/gnu/configure: New generated file.
29739         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29740         for Linux: use nsec instead of usec, as well as:
29741         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29742         members of type struct timespec.
29743         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29744         New macros.
29745         (struct stat64): Likewise.
29746         (_STATBUF_ST_NSEC): New macro.
29747         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29749         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29750         __strtoul_internal rather than strtoul.
29752 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29754         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29755         and reject them.
29757 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29759         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29760         which preserves existing values.
29761         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29763 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29765         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29766         TIMEOUT values.  Return EINVAL for NFDS values either negative or
29767         greater than FD_SETSIZE.
29769 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29771         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29772         allocated, call __vm_protect to finish enabling the existing space, and
29773         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29774         allocate the remainder.
29776 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29778         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29779         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
29781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29783         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29784         sysdeps/mach/hurd/readlink.c.
29786         * posix/tst-sysconf.c (posix_options): Only use
29787         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29788         _POSIX_SYNCHRONIZED_IO when they are defined
29789         * sysdeps/mach/hurd/bits/posix_opt.h:
29790         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29791         (_XOPEN_REALTIME): Undefine macro.
29792         (_XOPEN_REALTIME_THREADS): Undefine macro.
29793         (_XOPEN_SHM): Undefine macro.
29794         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29795         macro to -1.
29796         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29797         macro to -1.
29798         (_POSIX_ASYNC_IO): Undefine macro.
29799         (_POSIX_PRIORITIZED_IO): Undefine macro.
29800         (_POSIX_SPIN_LOCKS): Define macro to -1.
29802         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29803         SA_NODEFER, SA_RESETHAND.
29804         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29805         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29806         F_DUPFD_CLOEXEC.
29808 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29810         * elf/Makefile (pldd-modules): Define unconditionally.
29812 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29814         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29816 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29818         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29819         Return ENOENT when name is empty.
29820         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29824         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29826         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29830         Fix mlock in all cases except non-readable pages.
29831         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29832         instead of VM_PROT_ALL as parameter to __vm_wire function.
29834         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29835         (__mkdir): When path is `/', just fail with EEXIST.
29836         * sysdeps/mach/hurd/mkdirat.c: Likewise.
29838 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29840         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29841         <sys/uio.h> (for writev).
29842         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29843         and <sys/param.h> (for MIN).
29845 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29847         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29848         REQUESTED_TIME.  Properly set the remaining time and return EINTR
29849         if interrupted.
29851 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29853         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29854         Depend on against $(link-rpcuserlibs).
29856 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29858         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29859         (__libc_stack_end): Do not use attribute_relro.
29860         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29861         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29862         to libthread-provided value.
29863         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29864         attribute_relro.
29866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29868         [BZ #3748]
29869         * bits/libc-lock.h (__libc_once_get): New macro.
29870         * sysdeps/mach/bits/libc-lock.h: Likewise.
29871         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29872         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29873         instead of using implementation details.
29875         * libio/fileops.c: Unconditionally include <kernel-features.h>.
29876         * libio/freopen.c: Likewise.
29877         * libio/freopen64.c: Likewise.
29878         * misc/syslog.c: Likewise.
29879         * nscd/connections.c: Likewise.
29880         * nscd/netgroupcache.c: Likewise.
29881         * sysdeps/posix/getcwd.c: Likewise.
29883 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29885         * math/w_ilogbf.c: Add #include <limits.h>.
29887 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29889         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29890         path instead of returning without unlocking.
29892         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29893         immediate-write ioctls.
29894         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29896 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29898         * sysdeps/mach/hurd/i386/init-first.c (init): Use
29899         __builtin_frame_address instead of making assumptions about the
29900         location of the return address relative to DATA.  Force early load of
29901         the return address.
29902         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29903         __builtin_frame_address.
29905         dup3 for GNU Hurd.
29906         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29907         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
29908         implement dup3 and do some further code clean-ups.
29909         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29910         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29912 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29914         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29916         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29917         HURD_CRITICAL_END around holding _hurd_dtable_lock.
29918         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29919         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29920         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29921         d->port.lock.
29923         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29924         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
29925         when handler == SIG_ERR, not when handler != SIG_ERR.
29927 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29929         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29930         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29931         definitions.
29933         accept4 for GNU Hurd.
29934         * include/sys/socket.h (__libc_accept4): New prototype.
29935         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
29936         to implement __libc_accept4.
29937         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29938         __libc_accept4.
29939         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29941         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29942         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29943         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29944         signal-defines.sym.
29946 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29948         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29950 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29952         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29953         assertion on O_CLOEXEC flag.
29954         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29955         * hurd/intern-fd.c: Likewise.
29956         * hurd/port2fd.c: Likewise.
29958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29960         [BZ #3906]
29961         * bits/in.h (IPV6_PKTINFO): Define new macro.
29962         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29964 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29966         [BZ #13954]
29967         [BZ #13955]
29968         [BZ #13956]
29969         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29970         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29971         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29972         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29973         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29974         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29975         * math/libm-test.inc (logb_test) : Additional logb tests.
29977 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
29978             Andreas Jaeger  <aj@suse.de>
29980         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29981         * configure: Regenerated.
29982         * config.h.in (LINK_OBSOLETE_RPC): New macro.
29983         * config.make.in (link-obsolete-rpc): New substituted variable.
29984         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29985         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29986         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29987         (shared-only-routines): Don't set it under [link-obsolete-rpc],
29988         so that libc.a contains the symbols.
29989         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29990         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29991         * sunrpc/auth_none.c: Likewise.
29992         * sunrpc/auth_unix.c: Likewise.
29993         * sunrpc/authdes_prot.c: Likewise.
29994         * sunrpc/authuxprot.c: Likewise.
29995         * sunrpc/clnt_gen.c: Likewise.
29996         * sunrpc/clnt_perr.c: Likewise.
29997         * sunrpc/clnt_raw.c: Likewise.
29998         * sunrpc/clnt_simp.c: Likewise.
29999         * sunrpc/clnt_tcp.c: Likewise.
30000         * sunrpc/clnt_udp.c: Likewise.
30001         * sunrpc/clnt_unix.c: Likewise.
30002         * sunrpc/des_crypt.c: Likewise.
30003         * sunrpc/des_soft.c: Likewise.
30004         * sunrpc/get_myaddr.c: Likewise.
30005         * sunrpc/key_call.c: Likewise.
30006         * sunrpc/key_prot.c: Likewise.
30007         * sunrpc/netname.c: Likewise.
30008         * sunrpc/pm_getmaps.c: Likewise.
30009         * sunrpc/pm_getport.c: Likewise.
30010         * sunrpc/pmap_clnt.c: Likewise.
30011         * sunrpc/pmap_prot.c: Likewise.
30012         * sunrpc/pmap_prot2.c: Likewise.
30013         * sunrpc/pmap_rmt.c: Likewise.
30014         * sunrpc/publickey.c: Likewise.
30015         * sunrpc/rpc_cmsg.c: Likewise.
30016         * sunrpc/rpc_common.c: Likewise.
30017         * sunrpc/rpc_dtable.c: Likewise.
30018         * sunrpc/rpc_prot.c: Likewise.
30019         * sunrpc/rpc_thread.c: Likewise.
30020         * sunrpc/rtime.c: Likewise.
30021         * sunrpc/svc.c: Likewise.
30022         * sunrpc/svc_auth.c: Likewise.
30023         * sunrpc/svc_raw.c: Likewise.
30024         * sunrpc/svc_run.c: Likewise.
30025         * sunrpc/svc_tcp.c: Likewise.
30026         * sunrpc/svc_udp.c: Likewise.
30027         * sunrpc/svc_unix.c: Likewise.
30028         * sunrpc/svcauth_des.c: Likewise.
30029         * sunrpc/xcrypt.c: Likewise.
30030         * sunrpc/xdr.c: Likewise.
30031         * sunrpc/xdr_array.c: Likewise.
30032         * sunrpc/xdr_float.c: Likewise.
30033         * sunrpc/xdr_intXX_t.c: Likewise.
30034         * sunrpc/xdr_mem.c: Likewise.
30035         * sunrpc/xdr_rec.c: Likewise.
30036         * sunrpc/xdr_ref.c: Likewise.
30037         * sunrpc/xdr_sizeof.c: Likewise.
30038         * sunrpc/xdr_stdio.c: Likewise.
30040 2012-05-10  Roland McGrath  <roland@hack.frob.com>
30042         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30043         change.  Update copyright years.
30045 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
30047         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30049 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
30050             Joseph Myers  <joseph@codesourcery.com>
30051             Paul Pluzhnikov  <ppluzhnikov@google.com>
30053         [BZ #14012]
30054         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30055         requiring rpcgen.
30056         [cross-compiling] (extra-libs): Likewise.
30057         [cross-compiling] (extra-libs-others): Likewise.
30058         [cross-compiling] (librpcsvc-routines): Likewise.
30059         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30060         [cross-compiling] (omit-deps): Likewise.
30061         (sunrpc-CPPFLAGS): New variable.
30062         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30063         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30064         (cross-rpcgen-objs): New variable.
30065         (extra-objs): Append $(cross-rpcgen-objs).
30066         ($(cross-rpcgen-objs)): New rule.
30067         ($(objpfx)cross-rpcgen): Likewise.
30068         (rpcgen-cmd): Define to use $(built-program-file).  Expand
30069         comment.
30070         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30071         ($(objpfx)x%.stmp): Likewise.
30072         * sunrpc/proto.h [IS_IN_build] (_): Define.
30073         [IS_IN_build] (_libc_intl_domainname): Likewise.
30075 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30077         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30078         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30079         and R_X86_64_TPOFF64.
30081 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
30083         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30084         sysdeps/unix/sysv/syscalls.list.
30085         (stime): Likewise.
30086         (utime): Likewise.
30087         * sysdeps/unix/sysv/syscalls.list: Remove file.
30089 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
30091         [BZ #3440]
30092         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30093         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30094         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30095         (__LC_IDENTIFICATION): Make these macros useful in #if
30096         expressions, as required by C99.
30098 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
30100         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30101         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
30102         after this.
30104 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
30106         * stdlib/longlong.h: Updated from GCC.
30108 2012-05-09  Andreas Jaeger  <aj@suse.de>
30110         * nscd/nscd.c (run_modes): Make named enum, reorder so that
30111         default is first entry.
30112         (run_mode): Set type.
30113         (main): Remove informal message about syslog.
30114         (options): Fix typo.
30116         [BZ #14053]
30117         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30118         to asm.
30119         (lrint): Likewise.
30120         (llrintf): Likewise.
30121         (llrint): Likewise.
30122         (rint): Likewise.
30123         (rintf): Likewise.
30124         (nearbyint): Likewise.
30125         (nearbyintf): Likewise.
30127 2012-05-09  Andreas Jaeger  <aj@suse.de>
30128             Pedro Alves  <palves@redhat.com>
30130         * nscd/nscd.c (run_mode): Use enum.
30131         (main): Cleanup coding style issue.
30133 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
30134             Andreas Jaeger  <aj@suse.de>
30136         * nscd/nscd.c (go_background): Replaced with...
30137         (run_mode): ... this.
30138         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30139         (options): Add -F --foreground.
30140         (main): Implement it.
30141         (parse_opt): Parse it.
30143 2012-05-09  Andreas Jaeger  <aj@suse.de>
30145         [BZ #14083]
30146         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30147         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30148         -Wconversion warning.
30149         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30150         Likewise.
30152 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
30154         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
30155         == 0.
30156         (LC_ALL): Use macro-int-constant.
30157         (LC_COLLATE): Likewise.
30158         (LC_CTYPE): Likewise.
30159         (LC_MESSAGES): Likewise.
30160         (LC_MONETARY): Likewise.
30161         (LC_NUMERIC): Likewise.
30162         (LC_TIME): Likewise.
30163         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30164         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30165         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30166         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30167         Specify type.
30168         [C99-based standards] (float_t): Expect type.
30169         [C99-based standards] (double_t): Expect type.
30170         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
30171         type.
30172         [C99-based standards] (HUGE_VALL): Likewise.
30173         [C99-based standards] (INFINITY): Likewise.
30174         [C99-based standards] (NAN): Likewise.
30175         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30176         [C99-based standards] (FP_NAN): Likewise.
30177         [C99-based standards] (FP_NORMAL): Likewise.
30178         [C99-based standards] (FP_SUBNORMAL): Likewise.
30179         [C99-based standards] (FP_ZERO): Likewise.
30180         [C99-based standards] (FP_FAST_FMA): Use
30181         optional-macro-int-constant.  Specify type.  Require == 1.
30182         [C99-based standards] (FP_FAST_FMAF): Likewise.
30183         [C99-based standards] (FP_FAST_FMAL): Likewise.
30184         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30185         [C99-based standards] (FP_ILOGBNAN): Likewise.
30186         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30187         Specify type.
30188         [C99-based standards] (MATH_ERREXCEPT): Likewise.
30189         [C99-based standards] (math_errhandling): Specify type.
30190         [ISO99 || ISO11] (signgam): Do not allow.
30191         [non-C99-based standards] (copysignf): Do not allow.
30192         [non-C99-based standards] (exp2f): Likewise.
30193         [non-C99-based standards] (log2f): Likewise.
30194         [non-C99-based standards] (modff): Allow.
30195         [non-C99-based standards] (erff): Do not allow.
30196         [non-C99-based standards] (erfcf): Likewise.
30197         [non-C99-based standards] (gammaf): Likewise.
30198         [non-C99-based standards] (hypotf): Likewise.
30199         [non-C99-based standards] (j0f): Likewise.
30200         [non-C99-based standards] (j1f): Likewise.
30201         [non-C99-based standards] (jnf): Likewise.
30202         [non-C99-based standards] (lgammaf): Likewise.
30203         [non-C99-based standards] (tgammaf): Likewise.
30204         [non-C99-based standards] (y0f): Likewise.
30205         [non-C99-based standards] (y1f): Likewise.
30206         [non-C99-based standards] (ynf): Likewise.
30207         [non-C99-based standards] (isnanf): Likewise.
30208         [non-C99-based standards] (acoshf): Likewise.
30209         [non-C99-based standards] (asinhf): Likewise.
30210         [non-C99-based standards] (atanhf): Likewise.
30211         [non-C99-based standards] (cbrtf): Likewise.
30212         [non-C99-based standards] (expm1f): Likewise.
30213         [non-C99-based standards] (ilogbf): Likewise.
30214         [non-C99-based standards] (log1pf): Likewise.
30215         [non-C99-based standards] (logbf): Likewise.
30216         [non-C99-based standards] (nextafterf): Likewise.
30217         [non-C99-based standards] (remainderf): Likewise.
30218         [non-C99-based standards] (rintf): Likewise.
30219         [non-C99-based standards] (scalbf): Likewise.
30220         [non-C99-based standards] (copysignl): Likewise.
30221         [non-C99-based standards] (exp2l): Likewise.
30222         [non-C99-based standards] (log2l): Likewise.
30223         [non-C99-based standards] (modfl): Allow.
30224         [non-C99-based standards] (erfl): Do not allow.
30225         [non-C99-based standards] (erfcl): Likewise.
30226         [non-C99-based standards] (gammal): Likewise.
30227         [non-C99-based standards] (hypotl): Likewise.
30228         [non-C99-based standards] (j0l): Likewise.
30229         [non-C99-based standards] (j1l): Likewise.
30230         [non-C99-based standards] (jnl): Likewise.
30231         [non-C99-based standards] (lgammal): Likewise.
30232         [non-C99-based standards] (tgammal): Likewise.
30233         [non-C99-based standards] (y0l): Likewise.
30234         [non-C99-based standards] (y1l): Likewise.
30235         [non-C99-based standards] (ynl): Likewise.
30236         [non-C99-based standards] (isnanl): Likewise.
30237         [non-C99-based standards] (acoshl): Likewise.
30238         [non-C99-based standards] (asinhl): Likewise.
30239         [non-C99-based standards] (atanhl): Likewise.
30240         [non-C99-based standards] (cbrtl): Likewise.
30241         [non-C99-based standards] (expm1l): Likewise.
30242         [non-C99-based standards] (ilogbl): Likewise.
30243         [non-C99-based standards] (log1pl): Likewise.
30244         [non-C99-based standards] (logbl): Likewise.
30245         [non-C99-based standards] (nextafterl): Likewise.
30246         [non-C99-based standards] (remainderl): Likewise.
30247         [non-C99-based standards] (rintl): Likewise.
30248         [non-C99-based standards] (scalbl): Likewise.
30249         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30250         [non-C99-based standards] (FP_*): Do not allow.
30251         [C99-based standards] (FP_*): Change to
30252         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30253         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30254         allow.
30255         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30256         (SIG_ERR): Likewise.
30257         [X/Open-based standards] (SIG_HOLD): Likewise.
30258         (SIG_IGN): Likewise.
30259         (SIGABRT): Use macro-int-constant.  Specify type.  Require
30260         positive value.
30261         (SIGFPE): Likewise.
30262         (SIGILL): Likewise.
30263         (SIGINT): Likewise.
30264         (SIGSEGV): Likewise.
30265         (SIGTER): Likewise.
30266         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30267         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30268         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30269         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30270         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30271         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30272         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30273         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30274         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30275         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30276         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30277         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30278         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30279         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30280         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30281         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30282         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30283         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30284         [X/Open-based standards] (SIGTRAP): Likewise.
30285         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30286         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30287         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30288         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30289         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30290         allow.
30292 2012-05-08  Ian Wienand  <ianw@vmware.com>
30294         [BZ #14080]
30295         * time/tzset.c (__tzset_parse_tz): Update default rules for
30296         daylight time changes in the Energy Policy Act of 2005.
30298 2012-05-09  Andreas Jaeger  <aj@suse.de>
30300         [BZ #13983]
30301         * elf/ldconfig.c (parse_conf): Change string to make clear that
30302         ldconfig only issued a warning if ld.so.conf does not exist.
30304 2012-05-08  David S. Miller  <davem@davemloft.net>
30306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30307         movxtod instead of popping the value on the stack.
30309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30311 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
30313         * config.h.in: Add HAVE_ARM_PCS_VFP.
30315 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
30317         [BZ #13979]
30318         * include/features.h: Warn if user requests __FORTIFY_SOURCE
30319         checking but the checks are disabled for any reason.
30321 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
30323         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30324         and ELF64_R_TYPE with ELFW(R_TYPE).
30326 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
30328         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30329         (ulimit): Likewise.
30331         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30332         (settimeofday): Likewise.
30334 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
30336         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
30337         a struct th_u2 inside the union, and move tu_block/tu_code into
30338         a new th_u3 union of tu_block/tu_code inside of that.  Move
30339         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
30340         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
30341         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30342         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30343         (th_stuff): Change to th_u1.tu_stuff.
30344         (th_data): Define.
30345         (th_msg): Change to th_u1.th_u2.tu_data.
30347 2012-05-07  David S. Miller  <davem@davemloft.net>
30349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30351         [BZ #14074]
30352         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30353         (SETUP_PIC_REG): Use it.
30354         (SETUP_PIC_REG_LEAF): Use it.
30356 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
30358         [BZ #13885]
30359         [BZ #13923]
30360         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30361         USE_AS_EXPM1L.
30362         (EXPL_FINITE): Likewise.
30363         (FLDLOG): Likewise.
30364         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30365         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30366         e_expl.S.
30367         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30368         USE_AS_EXPM1L.
30369         (EXPL_FINITE): Likewise.
30370         (FLDLOG): Likewise.
30371         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30372         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30373         e_expl.S.
30374         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
30375         test of -max_value argument for long double.
30376         * sysdeps/i386/fpu/libm-test-ulps: Update.
30377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30379 2012-05-06  David S. Miller  <davem@davemloft.net>
30381         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30382         quad soft-float symbols whose references which are compiler
30383         generated.
30384         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30386 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
30388         [BZ #13884]
30389         [BZ #13914]
30390         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30391         USE_AS_EXP10L.
30392         (EXPL_FINITE): Likewise.
30393         (FLDLOG): Likewise.
30394         (c0): Likewise.
30395         (c1): Likewise.
30396         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30397         Adjust comments for base varying.
30398         (__expl_finite): Change alias to EXPL_FINITE.
30399         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30400         e_expl.S.
30401         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30402         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30403         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30404         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30405         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30406         USE_AS_EXP10L.
30407         (EXPL_FINITE): Likewise.
30408         (FLDLOG): Likewise.
30409         (c0): Likewise.
30410         (c1): Likewise.
30411         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30412         Adjust comments for base varying.
30413         (__expl_finite): Change alias to EXPL_FINITE.
30414         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
30415         tests for bugs.
30416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30418         [BZ #14064]
30419         * math/libm-test.inc (check_float_internal): Correct ulp
30420         calculation for subnormal expected results.
30422 2012-05-06  Andreas Jaeger  <aj@suse.de>
30424         * Makeconfig (+math-flags): New, set to -frounding-math.
30425         (+cflags): Add +math-flags so that all of glibc gets compiled with
30426         it.
30428         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30430 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
30432         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30433         Disable one test.
30435         [BZ #13787]
30436         [BZ #13922]
30437         [BZ #14036]
30438         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30439         (__ieee754_expl): Allow for and saturate large arguments.
30440         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30441         (u_threshold): Likewise.
30442         (__exp): Call __ieee754_exp before checking for overflow and
30443         underflow.
30444         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30445         (u_threshold): Likewise.
30446         (__expf): Call __ieee754_expf before checking for overflow and
30447         underflow.
30448         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30449         (u_threshold): Likewise.
30450         (__expl): Call __ieee754_expl before checking for overflow and
30451         underflow.
30452         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30453         (__ieee754_expl): Allow for and saturate large arguments.
30454         * math/libm-test.inc (exp_test): Add another test.  Do not allow
30455         missing overflow exception on overflow.
30456         (expm1_test): Do not allow missing overflow exception on overflow.
30458         * sysdeps/i386/fpu/e_expl.c: Move to ...
30459         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
30460         rather than using inline asm.
30461         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30462         * sysdeps/x86_64/fpu/e_expl.S: Copy from
30463         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30465         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30466         (nice): Likewise.
30467         (poll): Likewise.
30468         (signal): Likewise.
30469         (time): Likewise.
30470         (times): Likewise.
30472 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30474         * sysdeps/unix/syscalls.list (adjtime): Add entry from
30475         sysdeps/unix/common/syscalls.list.
30476         (fchmod): Likewise.
30477         (fchown): Likewise.
30478         (ftruncate): Likewise.
30479         (getrusage): Likewise.
30480         (gettimeofday): Likewise.
30481         (setpgid): Likewise.
30482         (setregid): Likewise.
30483         (setreuid): Likewise.
30484         (sigaction): Likewise.
30485         (truncate): Likewise.
30486         (vhangup): Likewise.
30487         * sysdeps/unix/common/syscalls.list: Remove file.
30488         * sysdeps/unix/bsd/Implies: Don't include unix/common.
30489         * sysdeps/unix/sysv/linux/Implies: Likewise.
30491 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
30493         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30495         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30496         Moved to ...
30497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30498         Here.
30499         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30500         to ...
30501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30502         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30503         to ...
30504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30505         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30506         to ...
30507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30508         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30509         to ...
30510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30511         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30512         to ...
30513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30514         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30515         to ...
30516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30517         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30518         to ...
30519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30520         Here.
30521         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30522         to ...
30523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30524         Here.
30525         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30526         to ...
30527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30528         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30529         Moved to ...
30530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30531         Here.
30532         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30533         to ...
30534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30536 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30538         * sysdeps/unix/common/bits/dirent.h: Remove file.
30539         * sysdeps/unix/common/bits/fcntl.h: Likewise.
30541         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30542         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30543         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30544         * sysdeps/unix/bsd/isatty.c: Likewise.
30545         * sysdeps/unix/bsd/tcdrain.c: Likewise.
30546         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30547         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30549 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30551         [BZ #13563]
30552         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30553         long double comparison inaccuracies.
30554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30557 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
30559         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30560         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30562 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30564         [BZ #14049]
30565         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30566         nonzero digits before rounding a hex value.
30567         * stdlib/tst-strtod.c (tests): Add another test.
30569 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30571         * sysdeps/s390/fpu/libm-test-ulps: Update.
30573 2012-05-03  Andreas Jaeger  <aj@suse.de>
30575         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30576         does not get optimized out.
30577         (malloc_opt_barrier): New.
30579 2012-05-03  Andreas Jaeger  <aj@suse.de>
30580             Roland McGrath  <roland@hack.frob.com>
30582         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30583         intermediate file deletion.
30584         (generated): Add .symlist files.
30586 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
30588         [BZ #13775]
30589         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30590         Redirect under this condition.
30591         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30592         [__USE_GNU] (__dprintf_chk): Not under this condition.
30593         [__USE_GNU] (__vdprintf_chk): Likewise.
30594         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30595         under this condition.
30596         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30597         [__USE_XOPEN2K8] (dprintf): Define under this condition.
30598         [__USE_XOPEN2K8] (vdprintf): Likewise.
30599         [__USE_GNU] (__dprintf_chk): Not under this condition.
30600         [__USE_GNU] (__vdprintf_chk): Likewise.
30601         [__USE_GNU] (dprintf): Likewise.
30602         [__USE_GNU] (vdprintf): Likewise.
30604 2012-05-03  Roland McGrath  <roland@hack.frob.com>
30606         * elf/Makefile (common-generated): Set this instead of generated for
30607         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
30608         $(all-built-dso)-derived lists.
30610 2012-05-03  Andreas Jaeger  <aj@suse.de>
30612         * sysdeps/i386/fpu/libm-test-ulps: Update.
30614         * FAQ: Removed.
30615         * FAQ.in: Likewise.
30616         * scripts/gen-FAQ.pl: Likewise.
30617         * manual/install.texi (Installation): Point to online location of
30618         FAQ.
30619         * Makefile (files-for-dist): Remove FAQ.
30620         (FAQ): Remove.
30622 2012-05-02  Allan McRae  <allan@archlinux.org>
30624         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30625         (LDFLAGS-reldepmod5.so): Likewise.
30626         (LDFLAGS-reldep6mod1.so): Likewise.
30627         (LDFLAGS-reldep6mod4.so): Likewise.
30628         (LDFLAGS-reldep8mod3.so): Likewise.
30629         (LDFLAGS-unload4mod1.so): Likewise.
30630         (LDFLAGS-unload4mod2.so): Likewise.
30631         (LDFLAGS-tst-initorder): Likewise.
30632         (LDFLAGS-tst-initordera2.so): Likewise.
30633         (LDFLAGS-tst-initordera3.so): Likewise.
30634         (LDFLAGS-tst-initordera4.so): Likewise.
30635         (LDFLAGS-tst-initorderb2.so): Likewise.
30636         (LDFLAGS-noload): Likewise.
30637         (LDFLAGS-next): Likewise.
30638         (LDFLAGS-order2mod1.so): Likewise.
30639         (LDFLAGS-order2mod2.so): Likewise.
30640         (LDFLAGS-tst-initorder2): Likewise.
30641         (LDFLAGS-tst-initorder2a.so): Likewise.
30642         (LDFLAGS-tst-initorder2b.so): Likewise.
30643         (LDFLAGS-tst-initorder2c.so): Likewise.
30644         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30646 2012-05-02  David S. Miller  <davem@davemloft.net>
30648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30650 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30652         [BZ #14055]
30653         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30655 2012-05-02  Andreas Jaeger  <aj@suse.de>
30657         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30658         since we manipulate rounding mode.
30659         (CPPFLAGS-test-idouble.c): Likewise.
30660         (CPPFLAGS-test-ifloat.c): Likewise.
30661         (CFLAGS-test-ldouble.c): Likewise.
30662         (CFLAGS-test-double.c): Likewise.
30663         (CFLAGS-test-float.c): Likewise.
30664         (CFLAGS-test-misc.c): Likewise.
30665         (CFLAGS-test-test-fenv.c): Likewise.
30667 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30669         [BZ #2550]
30670         [BZ #2570]
30671         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30672         comparisons to determine direction to adjust input.
30674 2012-05-01  Roland McGrath  <roland@hack.frob.com>
30676         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30677         output to the target.
30679         * scripts/localplt.awk: New file.
30680         * elf/Makefile ($(objpfx)check-localplt): Target removed.
30681         (check-localplt-CFLAGS): Variable removed.
30682         ($(all-built-dso:=.jmprel)): New static pattern rule.
30683         (generated): Add those targets.
30684         (localplt-built-dso): New variable.
30685         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30687         * elf/check-localplt.c: File removed.
30689         * scripts/check-execstack.awk: New file.
30690         * elf/Makefile ($(objpfx)check-execstack): Target removed.
30691         (check-execstack-CFLAGS): Variable removed.
30692         ($(objpfx)check-execstack.h): Target removed.
30693         ($(objpfx)execstack-default): New target.
30694         (generated): Add that instead of check-execstack.h.
30695         ($(all-built-dso:=.phdr)): New static pattern rule.
30696         (generated): Add those targets.
30697         * elf/check-execstack.c: File removed.
30699         * scripts/check-textrel.awk: New file.
30700         * elf/Makefile ($(objpfx)check-textrel): Target removed.
30701         (check-textrel-CFLAGS): Variable removed.
30702         (all-built-dso): Use := to define.o
30703         ($(all-built-dso:=.dyn)): New static pattern rule.
30704         (generated): Add those targets.
30705         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30706         * config.make.in (READELF): New substituted variable.
30707         * elf/check-textrel.c: File removed.
30709 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30711         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30712         allow.
30713         * conform/data/ctype.h-data [C99-based standards] (isblank):
30714         Expect function.
30715         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30716         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30717         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30718         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30719         Specify type.  Require positive value.
30720         (EILSEQ): Likewise.
30721         (ERANGE): Likewise.
30722         [ISO || POSIX] (EILSEQ): Do not expect.
30723         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30724         Specify type.  Require positive value.
30725         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30726         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30727         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30728         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30729         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30730         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30731         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30732         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30733         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30734         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30735         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30736         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30737         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30738         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30739         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30740         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30741         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30742         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30743         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30744         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30745         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30746         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30747         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30748         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30749         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30750         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30751         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30752         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30753         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30754         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30755         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30756         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30757         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30758         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30759         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30760         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30761         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30762         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30763         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30764         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30765         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30766         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30767         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30768         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30769         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30770         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30771         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30772         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30773         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30774         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30775         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30776         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30777         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30778         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30779         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30780         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30781         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30782         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30783         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30784         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30785         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30786         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30787         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30788         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30789         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30790         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30791         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30792         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30793         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30794         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30795         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30796         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30797         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30798         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30799         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30800         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30801         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30802         Require >= 2.
30803         (FLT_ROUNDS): Expect as macro, not constant.
30804         (FLT_MANT_DIG): Use macro-int-constant.
30805         (DBL_MANT_DIG): Likewise.
30806         (LDBL_MANT_DIG): Likewise.
30807         (FLT_DIG): Likewise.
30808         (DBL_DIG): Likewise.
30809         (LDBL_DIG): Likewise.
30810         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
30811         (DBL_MIN_EXP): Likewise.
30812         (LDBL_MIN_EXP): Likewise.
30813         (FLT_MAX_EXP): Use macro-int-constant.
30814         (DBL_MAX_EXP): Likewise.
30815         (LDBL_MAX_EXP): Likewise.
30816         (FLT_MAX_10_EXP): Likewise.
30817         (DBL_MAX_10_EXP): Likewise.
30818         (LDBL_MAX_10_EXP): Likewise.
30819         (FLT_MAX): Use macro-constant.
30820         (DBL_MAX): Likewise.
30821         (LDBL_MAX): Likewise.
30822         (FLT_EPSILON): Use macro-constant.  Give upper bound.
30823         (DBL_EPSILON): Likewise.
30824         (LDBL_EPSILON): Likewise.
30825         (FLT_MIN): Likewise.
30826         (DBL_MIN): Likewise.
30827         (LDBL_MIN): Likewise.
30828         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30829         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30830         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30831         [ISO11] (FLT_HAS_SUBNORM): Likewise.
30832         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30833         [ISO11] (DBL_DECIMAL_DIG): Likewise.
30834         [ISO11] (FLT_DECIMAL_DIG): Likewise.
30835         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30836         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30837         [ISO11] (FLT_TRUE_MIN): Likewise.
30838         [ISO11] (LDBL_TRUE_MIN): Likewise.
30839         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30840         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30841         (SCHAR_MIN): Use macro-int-constant.  Specify type.
30842         (SCHAR_MAX): Likewise.
30843         (UCHAR_MAX): Likewise.
30844         (CHAR_MIN): Likewise.
30845         (CHAR_MAX): Likewise.
30846         (MB_LEN_MAX): Use macro-int-constant.
30847         (SHRT_MIN): Use macro-int-constant.  Specify type.
30848         (SHRT_MAX): Likewise.
30849         (USHRT_MAX): Likewise.
30850         (INT_MAX): Likewise.
30851         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
30852         bound negative.
30853         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30854         bound with "U".
30855         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30856         bound with "L".
30857         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
30858         bound negative.  Suffix upper bound with "L".
30859         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30860         bound with "UL".
30861         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30862         Specify type.
30863         [C99-based standards] (LLONG_MAX): Likewise.
30864         [C99-based standards] (ULLONG_MAX): Likewise.
30865         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
30866         == 0.
30867         [ISO11] (max_align_t): Require type.
30868         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30870         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30871         from $CFLAGS, without defining away __attribute__ calls.
30872         (checknamespace): Use $CFLAGS_namespace.
30874         * conform/conformtest.pl (@keywords): Only include C99 keywords
30875         for standards based on C99 or C11.
30877         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30878         Disable tests.
30879         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30880         UNIX98]: Likewise.
30882         * conform/conformtest.pl: Handle "macro-int-constant" and test for
30883         usability of symbols in #if.
30885         * conform/conformtest.pl: If macro or constant types start
30886         "promoted:", expect the symbol to be of the following type
30887         promoted by the integer promotions.
30889         * conform/conformtest.pl: Parse all "constant" and "macro" lines
30890         in one place.  Also handle "macro-constant".
30892         * conform/conformtest.pl: Only accept expected macro values with
30893         "==".  Parse all "macro" lines in one place.
30894         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30896         * conform/conformtest.pl: Handle braced types on "constant" lines
30897         instead of handling "typed-constant".
30898         * conform/data/signal.h-data: Use "constant" instead of
30899         "typed-constant".
30901         * conform/conformtest.pl: Handle "optional-" at start of lines in
30902         one place rather than duplicating several cases.  Handle each
30903         format of "macro" line with initial "optional-".
30905         * conform/conformtest.pl: Only accept expected constant or
30906         optional-constant values with "==".  Parse all "constant" lines in
30907         one place.  Parse all "optional-constant" lines in one place.
30908         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30909         * conform/data/fmtmsg.h-data: Likewise.
30910         * conform/data/netinet/in.h-data: Likewise.
30911         * conform/data/tar.h-data: Likewise.
30912         * conform/data/limits.h-data: Use "==" form on "constant" and
30913         "optional-constant" lines.
30915         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30916         Use -std=c99 for XOPEN2K.
30917         (@knownproblems): Remove.
30918         (newtoken): Don't check %isknown.
30920         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30921         Do not expect macro.
30922         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30923         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30924         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30925         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30926         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30927         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30928         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30929         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30930         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30931         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30932         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30933         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30934         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30935         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30936         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30937         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30938         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30939         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30940         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30941         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30942         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30943         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30944         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30945         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30946         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30947         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30948         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30949         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30950         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30951         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30952         [XPG3] (acosh): Likewise.
30953         [XPG3] (asinh): Likewise.
30954         [XPG3] (atanh): Likewise.
30955         [XPG3] (cbrt): Likewise.
30956         [XPG3] (expm1): Likewise.
30957         [XPG3] (ilogb): Likewise.
30958         [XPG3] (log1p): Likewise.
30959         [XPG3] (logb): Likewise.
30960         [XPG3] (nextafter): Likewise.
30961         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30962         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30963         [XPG3] (remainder): Likewise.
30964         [XPG3] (rint): Likewise.
30965         [XPG3 || XPG4 || UNIX98] (round): Likewise.
30966         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30967         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30968         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30969         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30970         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30971         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30972         [UNIX98 || XOPEN2K] (scalb): Expect.
30973         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30974         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30975         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30976         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30977         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30978         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30979         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30980         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30981         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30982         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30983         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30984         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30985         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30986         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30987         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30988         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30989         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30990         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30991         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30992         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30993         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30994         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30995         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30996         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30997         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30998         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30999         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31000         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31001         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31002         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31003         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31004         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31005         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31006         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31007         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31008         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31009         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31010         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31011         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31012         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31013         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31014         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31015         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31016         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31017         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31018         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31019         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31020         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31021         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31022         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31023         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31024         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31025         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31026         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31027         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31028         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31029         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31030         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31031         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31032         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31033         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31034         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31035         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31036         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31037         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31038         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31039         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31040         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31041         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31042         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31043         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31044         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31045         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31046         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31047         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31048         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31049         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31050         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31051         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31052         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31053         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31054         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31055         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31056         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31057         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31058         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31059         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31060         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31061         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31062         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31063         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31064         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31065         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31066         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31067         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31068         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31069         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31070         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31071         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31072         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31073         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31074         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31075         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31076         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31077         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31078         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31079         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31080         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31081         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31082         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31083         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31084         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31085         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31086         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31087         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31088         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31089         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31090         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31091         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31092         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31093         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31094         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31095         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31096         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31097         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31098         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31099         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31100         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31101         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31102         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31103         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31104         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31105         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31106         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31107         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31108         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31109         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31111         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31112         _XOPEN_SOURCE_EXTENDED for XPG4.
31114         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31116         * Makeconfig (localtime): Remove variable.
31117         (inst_localtime-file): Likewise.
31119 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31122         Update.
31123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31124         Update.
31125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31126         Update.
31127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31128         Update.
31129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31130         Update.
31131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31132         Update.
31133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31134         Update.
31135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31136         Update.
31137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31138         Update.
31140 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31142         [BZ #2550]
31143         [BZ #2570]
31144         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31145         comparisons to determine direction to adjust input.
31146         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31147         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31148         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31149         Likewise.
31150         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31151         Likewise.
31152         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31153         Likewise.
31154         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31155         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31156         Likewise.
31157         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31158         Likewise.
31159         * math/libm-test.inc (nexttoward_test): Add more tests.
31161 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31163         [BZ #14040]
31164         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31165         in version GLIBC_2.1, not GLIBC_2.0.
31166         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31167         Likewise.
31169 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
31171         [BZ #13942]
31172         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31173         (1 - x) * (1 + x).
31174         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31175         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31176         * math/libm-test.inc (acos_test): Add more tests.
31177         (asin_test): Likewise.
31178         * sysdeps/i386/fpu/libm-test-ulps: Update.
31179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31181         [BZ #14034]
31182         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31183         of square root.
31184         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31185         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31186         * math/libm-test.inc (acos_test_tonearest): New function.
31187         (acos_test_towardzero): Likewise.
31188         (acos_test_downward): Likewise.
31189         (acos_test_upward): Likewise.
31190         (asin_test_tonearest): Likewise.
31191         (asin_test_towardzero): Likewise.
31192         (asin_test_downward): Likewise.
31193         (asin_test_upward): Likewise.
31194         (main): Call the new functions.
31195         * sysdeps/i386/fpu/libm-test-ulps: Update.
31196         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31198         [BZ #13884]
31199         [BZ #13924]
31200         * math/e_exp10.c: Include <float.h>.
31201         (__ieee754_exp10): Handle underflow here rather than multiplying
31202         large negative argument by M_LN10.
31203         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31204         of __ieee754_expf.
31205         * math/e_exp10l.c: Include <float.h>.
31206         (__ieee754_exp10l): Handle underflow here rather than multiplying
31207         large negative argument by M_LN10l.
31208         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
31209         spurious overflow exception on underflow.
31211 2012-04-29  Marek Polacek  <polacek@redhat.com>
31213         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31214         (__fortify_function): New macro.
31215         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31216         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31217         __extern_always_inline.
31218         * libio/bits/stdio2.h: Likewise.
31219         * libio/bits/stdio.h: Likewise.
31220         * string/string.h: Likewise.
31221         * string/bits/string3.h: Likewise.
31222         * include/stdio.h: Likewise.
31223         * stdlib/bits/stdlib.h: Likewise.
31224         * stdlib/stdlib.h: Likewise.
31225         * rt/bits/mqueue2.h: Likewise.
31226         * rt/mqueue.h: Likewise.
31227         * posix/bits/unistd.h: Likewise.
31228         * posix/unistd.h: Likewise.
31229         * io/bits/poll2.h: Likewise.
31230         * io/bits/fcntl2.h: Likewise.
31231         * io/fcntl.h: Likewise.
31232         * io/sys/poll.h: Likewise.
31233         * misc/bits/syslog.h: Likewise.
31234         * misc/bits/syslog-ldbl.h: Likewise.
31235         * misc/sys/syslog.h: Likewise.
31236         * socket/bits/socket2.h: Likewise.
31237         * socket/sys/socket.h: Likewise.
31238         * debug/tst-chk1.c: Likewise.
31239         * wcsmbs/bits/wchar2.h: Likewise.
31240         * wcsmbs/bits/wchar-ldbl.h: Likewise.
31241         * wcsmbs/wchar.h: Likewise.
31243 2012-04-29  Andreas Jaeger  <aj@suse.de>
31245         * Makerules (tests): Remove enable-check-abi protection.
31246         (check-abi-warn): Remove.
31247         (check-abi-%): Remove check-abi-warn usage.
31249         * configure.in: Remove check-abi configure option.
31250         * configure: Regenerated.
31251         * config.make.in (enable-check-abi): Remove.
31253 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
31255         [BZ #14033]
31256         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31257         double functions to double *_finite functions.
31259         [BZ #13941]
31260         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31261         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31262         LDBL_MIN_EXP.
31263         * stdio-common/Makefile (tests): Add tst-sprintf3.
31264         * stdio-common/tst-sprintf3.c: New file.
31266         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31267         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31269 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31271         * conform/conformtest.pl: Remove duplicate typed-constant
31272         handling.
31274 2012-04-28  David S. Miller  <davem@davemloft.net>
31276         * Makerules (%.abilist): Add vpath on sysdep_dirs.
31277         (check-abi-%): Remove AWK script prerequisite and explicit
31278         abilist directory.
31279         (check-abi): Rewrite to just diff the symlist with the abilist.
31280         (config-tls, config-abi-config): Delete, no longer used.
31281         (update-abi-%): Remove AWK script and explicit abilist directory.
31282         (update-abi): Rewrite to simply compare and conditionally copy the
31283         symlist and the sysdep abilist file.  Remove update-abi-config
31284         checks.
31285         * abilist/ld.abilist: Remove.
31286         * abilist/libBrokenLocale.abilist: Remove.
31287         * abilist/libanl.abilist: Remove.
31288         * abilist/libcrypt.abilist: Remove.
31289         * abilist/libdl.abilist: Remove.
31290         * abilist/librt.abilist: Remove.
31291         * abilist/libthread_db.abilist: Remove.
31292         * abilist/libutil.abilist: Remove.
31293         * scripts/extract-abilist.awk: Remove.
31294         * scripts/merge-abilist.awk: Remove.
31295         * sysdeps/generic/libcidn.abilist: New file.
31296         * sysdeps/generic/libnss_compat.abilist: New file.
31297         * sysdeps/generic/libnss_db.abilist: New file.
31298         * sysdeps/generic/libnss_dns.abilist: New file.
31299         * sysdeps/generic/libnss_files.abilist: New file.
31300         * sysdeps/generic/libnss_hesiod.abilist: New file.
31301         * sysdeps/generic/libnss_nis.abilist: New file.
31302         * sysdeps/generic/libnss_nisplus.abilist: New file.
31303         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31304         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31305         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31306         file.
31307         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31308         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31309         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31310         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31311         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31312         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31313         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31314         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31315         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31316         file.
31317         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31318         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31319         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31320         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31321         file.
31322         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31323         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31324         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31325         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31326         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31327         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31328         file.
31329         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31330         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31331         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31332         file.
31333         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31334         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31335         New file.
31336         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31337         New file.
31338         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31339         New file.
31340         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31341         New file.
31342         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31343         New file.
31344         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31345         New file.
31346         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31347         New file.
31348         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31349         New file.
31350         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31351         New file.
31352         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31353         New file.
31354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31355         New file.
31356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31357         New file.
31358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31359         New file.
31360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31361         file.
31362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31363         New file.
31364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31365         New file.
31366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31367         file.
31368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31369         New file.
31370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31371         New file.
31372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31373         file.
31374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31375         New file.
31376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31377         New file.
31378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31379         New file.
31380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31381         New file.
31382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31383         New file.
31384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31385         New file.
31386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31388         file.
31389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31390         New file.
31391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31392         file.
31393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31394         file.
31395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31396         file.
31397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31398         file.
31399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31400         file.
31401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31402         New file.
31403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31404         file.
31405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31406         file.
31407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31408         New file.
31409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31410         file.
31411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31413         file.
31414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31415         New file.
31416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31417         file.
31418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31419         file.
31420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31421         file.
31422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31423         file.
31424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31425         file.
31426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31427         New file.
31428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31429         file.
31430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31431         file.
31432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31433         New file.
31434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31435         file.
31436         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31437         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31438         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31439         file.
31440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31441         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31442         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31443         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31444         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31445         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31446         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31447         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31448         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31449         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31452         file.
31453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31454         New file.
31455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31456         file.
31457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31458         file.
31459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31460         file.
31461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31462         file.
31463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31464         file.
31465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31466         New file.
31467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31468         New file.
31469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31470         file.
31471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31472         New file.
31473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31474         file.
31475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31477         file.
31478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31479         New file.
31480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31481         file.
31482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31483         file.
31484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31485         file.
31486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31487         file.
31488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31489         file.
31490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31491         New file.
31492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31493         New file.
31494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31495         file.
31496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31497         New file.
31498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31499         file.
31501 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31503         * conform/conformtest.pl: Fix typo in handling typed-constant from
31504         allow-header.
31506 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31508         * README: Cut down references to pre-2.6 Linux kernels and
31509         Linuxthreads.  Update lists of configurations in libc and ports
31510         and sort alphabetically.  Say "or newer" with Linux kernel version
31511         requirements.
31513         * config.h.in [IS_IN_build]: Allow compiling without optimization.
31515 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31517         [BZ #887]
31518         * math/libm-test.inc (logb_test_downward): New test to expose
31519         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31520         rounding mode.
31522 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31524         [BZ #14027]
31525         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31526         to be done.
31527         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31528         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31530 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
31532         * sysdeps/unix/i386/brk.S: Remove file.
31533         * sysdeps/unix/i386/dl-brk.S: Likewise.
31534         * sysdeps/unix/i386/pipe.S: Likewise.
31535         * sysdeps/unix/i386/sigreturn.S: Likewise.
31536         * sysdeps/unix/i386/syscall.S: Likewise.
31537         * sysdeps/unix/i386/vfork.S: Likewise.
31538         * sysdeps/unix/i386/wait.S: Likewise.
31540         * sysdeps/unix/common/tcsendbrk.c: Move to ...
31541         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31543         * configure.in (arm*-none*): Do not allow without
31544         --enable-hacker-mode.
31545         (netbsd*): Remove case setting base_os.
31546         (386bsd*): Likewise.
31547         (freebsd*): Likewise.
31548         (bsdi*): Likewise.
31549         (osf*): Likewise.
31550         (sunos*): Likewise.
31551         (ultrix*): Likewise.
31552         (newsos*): Likewise.
31553         (dynix*): Likewise.
31554         (*bsd*): Likewise.
31555         (sysv*): Likewise.
31556         (isc*): Likewise.
31557         (esix*): Likewise.
31558         (sco*): Likewise.
31559         (minix*): Likewise.
31560         (irix4*): Likewise.
31561         (irix6*): Likewise.
31562         (solaris[2-9]*): Likewise.
31563         (none): Likewise.
31564         * configure: Regenerated.
31566 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31568         [BZ #11521]
31569         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31570         overflow or cancellation in calculating denominator.
31571         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31572         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31573         down expression to avoid unexpected rounding in newer GCCs.
31574         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31576 2012-04-26  David S. Miller  <davem@davemloft.net>
31578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31579         long-double compat symbols.
31580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31594 2012-04-25  David S. Miller  <davem@davemloft.net>
31596         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31597         HWCAP_* values only after the memory barriers have been defined.
31598         (atomic_full_barrier): Define.
31599         (atomic_read_barrier): Define.
31600         (atomic_write_barrier): Define.
31602 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31604         * shlib-versions: Add libgcc_s version information.
31605         * sysdeps/generic/libgcc_s.h: Remove.
31606         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31607         libgcc_s.h.
31608         * sysdeps/gnu/unwind-resume.c: Likewise.
31609         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31611 2012-04-25  David S. Miller  <davem@davemloft.net>
31613         * sysdeps/unix/sparc/brk.S: Delete.
31614         * sysdeps/unix/sparc/dl-brk.S: Delete.
31615         * sysdeps/unix/sparc/pipe.S: Delete.
31616         * sysdeps/unix/sparc/sysdep.S: Delete.
31617         * sysdeps/unix/sparc/sysdep.h: Delete.
31618         * sysdeps/unix/sparc/vfork.S: Delete.
31619         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31620         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31621         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31622         (ret_ERRVAL, r0, r1, MOVE): Define.
31623         (JUMPTARGET): Remove.
31624         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31625         sysdeps/unix/sparc/sysdep.h
31626         (ENTRY, END): Remove.
31627         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31629 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
31631         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31632         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31633         -DIS_IN_build.
31635         * timezone/README: Update upstream location and email address for
31636         tzcode and tzdata.
31637         * timezone/zdump.c: Update from tzcode 2012b.
31638         * timezone/zic.c: Likewise.
31640         * configure.in (libc_cv_as_needed): Remove test.
31641         * configure: Regenerated.
31642         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31643         conditional definition.
31644         [$(have-as-needed) != yes] (no-as-needed): Likewise.
31645         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31646         * config.make.in (have-as-needed): Remove variable.
31648 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31649             Paul Pluzhnikov  <ppluzhnikov@google.com>
31651         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31652         strings correctly.
31654 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
31656         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31657         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31658         * sysdeps/sh/strlen.S: Likewise.
31660 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31662         * sysdeps/unix/fork.S: Remove file.
31663         * sysdeps/unix/i386/fork.S: Likewise.
31664         * sysdeps/unix/sparc/fork.S: Likewise.
31666         * sysdeps/unix/system.c: Remove file.
31667         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31669         * sysdeps/unix/getegid.S: Remove file.
31670         * sysdeps/unix/geteuid.S: Likewise.
31672 2012-04-24  Roland McGrath  <roland@hack.frob.com>
31674         * scripts/check-localplt.awk: New file.
31675         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31676         of diff.
31677         * scripts/data/localplt-generic.data: Add a comment.
31679         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31680         NODE when __dir_mkfile failed.
31681         * sysdeps/mach/hurd/symlinkat.c: Likewise.
31682         Reported by Ludovic Courtès <ludo@gnu.org>.
31684 2012-04-24  Andreas Jaeger  <aj@suse.de>
31686         * Makerules (common-clean): Also remove gen-as-const-headers
31687         files.
31689 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31691         * Makerules (native-compile): Do not change working directory for
31692         build.  Use $(OUTPUT_OPTION) in command.
31693         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31695 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31697         [BZ #13886]
31698         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31699         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31700         * math/libm-test.inc (floor_test): Add more tests.
31701         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31703 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31705         * sysdeps/unix/getdents.c: Remove file.
31706         * sysdeps/unix/sysv/getdents.c: Likewise.
31707         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31709         * sysdeps/unix/syscalls.list (madvise): Add syscall from
31710         sysdeps/unix/mman/syscalls.list.
31711         (mmap): Likewise.
31712         (mprotect): Likewise.
31713         (msync): Likewise.
31714         (munmap): Likewise.
31715         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31716         * sysdeps/unix/mman/syscalls.list: Remove.
31717         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31719         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31720         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31721         * configure: Regenerated.
31722         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31723         $(libgcc_s_suffix).
31724         * config.make.in (libgcc_s_suffix): Remove variable.
31726 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
31728         * sysdeps/unix/sysv/gethostname.c: Move to ...
31729         * sysdeps/posix/gethostname.c: ... here.
31731         * sysdeps/unix/execve.S: Remove file.
31733         * sysdeps/unix/_exit.S: Remove file.
31735 2012-04-23  Andreas Jaeger  <aj@suse.de>
31737         [BZ #13739]
31738         * manual/Makefile: Remove make dist support, there's no
31739         need for a stand-alone documentation tar ball.
31740         (TEXI2DVI): Define always, it's not in Makeconfig.
31741         (dist): Removed.
31742         (tar-it): Removed.
31743         (edition): Removed.
31744         (glibc-doc-$(edition).tar): Removed
31745         (%.Z): Removed.
31746         (%.gz): Removed.
31747         (%.uu): Removed.
31748         (ETAGS): Remove, it's in Makeconfig.
31749         (move-if-change): Remove, it's in Makeconfig.
31751 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
31753         [BZ #13970]
31754         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31755         (strtod, strtof, strtold, strtol, strtoul, strtoq)
31756         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31757         (strtod_l, strtof_l, strtold_l): Remove __wur.
31758         It is not necessarily an error to ignore strtol's return value.
31759         One can reliably look at the stored endptr to decide whether
31760         the number had valid syntax.
31762 2012-04-21  Andreas Jaeger  <aj@suse.de>
31764         [BZ #13739]
31765         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31767 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
31769         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31770         * sysdeps/unix/sysv/Versions: Remove file.
31772 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
31774         [BZ #13927]
31775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31777 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
31779         [BZ #7064]
31780         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31781         version from __vm86.
31783 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
31785         * sysdeps/unix/common/lxstat.c: Remove file.
31786         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31788         * sysdeps/unix/sysv/Makefile: Remove file.
31790         * sysdeps/unix/sysv/direct.h: Remove file.
31792         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31793         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31794         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31795         * sysdeps/unix/sysv/bits/signum.h: Likewise.
31796         * sysdeps/unix/sysv/bits/stat.h: Likewise.
31797         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31798         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31800         * sysdeps/unix/sysv/setrlimit.c: Remove file.
31802         * sysdeps/unix/xmknod.c: Remove file.
31803         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31805         * sysdeps/unix/sysv/settimeofday.c: Remove file.
31807         * sysdeps/unix/sysv/i386/time.S: Remove file.
31809         * sysdeps/unix/fxstat.c: Remove file.
31810         * sysdeps/unix/xstat.c: Likewise.
31811         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31813         * sysdeps/unix/sysv/sigaction.c: Remove file.
31815         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31816         (sysdep_headers): Remove variable.
31817         [termio.h not in sysdep_headers] (generated): Likewise.
31818         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31819         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31820         * sysdeps/unix/sysv/tcdrain.c: Likewise.
31821         * sysdeps/unix/sysv/tcflow.c: Likewise.
31822         * sysdeps/unix/sysv/tcflush.c: Likewise.
31823         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31824         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31825         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31826         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31827         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31829         * sysdeps/unix/siglist.c: Remove file.
31831         * sysdeps/unix/getppid.S: Remove file.
31833         * sysdeps/unix/mkdir.c: Remove file.
31834         * sysdeps/unix/rmdir.c: Likewise.
31836 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
31838         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31839         ERR_MAX value.
31840         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31841         errlist-compat value.
31843 2012-04-18  David S. Miller  <davem@davemloft.net>
31845         * sysdeps/generic/memcopy.h (reg_char): Delete.
31846         * debug/strcat_chk.c: Use char, not reg_char.
31847         * debug/strcpy_chk.c: Likewise.
31848         * debug/strncat_chk.c: Likewise.
31849         * debug/strncpy_chk.c: Likewise.
31850         * string/memchr.c: Likewise.
31851         * string/memrchr.c: Likewise.
31852         * string/rawmemchr.c: Likewise.
31853         * string/strcat.c: Likewise.
31854         * string/strchr.c: Likewise.
31855         * string/strchrnul.c: Likewise.
31856         * string/strcmp.c: Likewise.
31857         * string/strcpy.c: Likewise.
31858         * string/strncat.c: Likewise.
31859         * string/strncmp.c: Likewise.
31860         * string/strncpy.c: Likewise.
31862 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31864         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31865         __builtin_memcopy is called when src and dest ranges are known to not
31866         overlap.
31868 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31870         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31871         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31872         fwd_align_merge macro call.
31873         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31874         bwd_align_merge macro call.
31875         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31877 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31879         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31880         bwd_align_merge macros.
31881         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31882         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31883         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31885 2012-04-18  David S. Miller  <davem@davemloft.net>
31887         * sysdeps/sparc/sparc64/memcopy.h: Delete.
31889 2012-04-18  Andreas Jaeger  <aj@suse.de>
31891         [BZ# 6794]
31892         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31893         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31894         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31896         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31897         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31898         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31900         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31901         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31902         Adjust for changed ldbl-128 files.
31904         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31905         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31906         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31908 2012-04-17  David S. Miller  <davem@davemloft.net>
31910         * sysdeps/sparc/sparc32/memcopy.h: Delete.
31912 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
31914         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31915         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31916         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31917         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31918         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31919         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31921 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31923         [BZ #6794]
31924         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31925         * math/libm-test.inc: Add ilogb errno and exception tests.
31926         * math/w_ilogb.c: New file: ilogb wrapper.
31927         * math/w_ilogbf.c: New file: ilogbf wrapper.
31928         * math/w_ilogbl.c: New file: ilogbl wrapper.
31929         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31930         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31931         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31932         exception being thrown with 0.0 as argument.
31933         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31934         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31935         exception being thrown with 0.0 as argument.
31936         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31937         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31938         exception being thrown with 0.0 as argument.
31939         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31940         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31941         exception being thrown with 0.0 as argument.
31942         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31943         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31944         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31945         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31946         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31947         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31948         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31949         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31950         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31952 2012-04-17  Petr Baudis  <pasky@ucw.cz>
31954         * include/sys/uio.h: Change __vector to __iovec to avoid clash
31955         with altivec.
31957 2012-04-16  Marek Polacek  <polacek@redhat.com>
31959         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31961 2012-04-16  Marek Polacek  <polacek@redhat.com>
31963         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31964         operands of fdivp instruction.
31966 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31968         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31969         * elf/tst-auditmod3b.c: Likewise.
31970         * elf/tst-auditmod4b.c: Likewise.
31971         * elf/tst-auditmod5b.c: Likewise.
31972         * elf/tst-auditmod6b.c: Likewise.
31973         * elf/tst-auditmod6c.c: Likewise.
31974         * elf/tst-auditmod7b.c: Likewise.
31975         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31976         * sysdeps/x86_64/preconfigure.in: Likewise.
31977         * sysdeps/x86_64/preconfigure: Regenerated.
31979 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31981         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31982         __ILP32__.
31984 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
31986         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31987         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31989 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
31991         [BZ #13973]
31992         * locale/iso-639.def: Fix gl language name. Spotted by
31993         Yaron Shahrabani.
31995 2012-04-12  Roland McGrath  <roland@hack.frob.com>
31997         [BZ #2074]
31998         * libio/libio.h (__io_write_fn): Update comment.
32000 2012-04-12  Petr Baudis  <pasky@ucw.cz>
32002         [BZ #2074]
32003         * stdio.texi (Hook Functions): The user provided writer function
32004         is not allowed to return -1.
32006 2012-04-11  David S. Miller  <davem@davemloft.net>
32008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32010 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
32012         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32013         Add a leading slash to rtkaio.
32015 2012-04-11  Jim Meyering  <meyering@redhat.com>
32017         [BZ #11959]
32018         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32019         It is not necessarily an error to ignore fwrite's return
32020         value.  One can reliably use ferror to test for errors after
32021         the fact.
32023 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
32025         * bits/types.h (__snseconds_t): New type.
32026         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32028         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32029         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32030         (__SNSECONDS_T_TYPE): Likewise.
32031         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32032         (__SNSECONDS_T_TYPE): Likewise.
32033         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32034         (__SNSECONDS_T_TYPE): Likewise.
32036 2012-04-10  Andreas Jaeger  <aj@suse.de>
32038         [BZ #2636]
32039         * manual/time.texi (Processor Time): Return type of times is
32040         elapsed real time since an arbitrary point in the past.
32041         (CPU Time): Move CLK_TCK from here...
32042         (Processor Time): ...to here.  Correct description.
32043         * manual/conf.texi (Constants for Sysconf): Correct description of
32044         _SC_CLK_TCK.
32046 2012-04-10  David S. Miller  <davem@davemloft.net>
32048         [BZ #13967]
32049         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32050         where the is a gap between DT_REL(A) and DT_JMPREL.
32052 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
32054         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32055         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32056         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32058 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32060         * elf/dl-support.c (_dl_inhibit_cache): New variable.
32061         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32062         (dl_main): Handle --inhibit-cache.
32063         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32064         _dl_inhibit_cache.
32065         * elf/dl-load.c (_dl_map_object): Use it.
32066         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32068 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
32070         [BZ #13872]
32071         * sysdeps/i386/fpu/e_powl.S (p78): New object.
32072         (__ieee754_powl): Saturate large exponents rather than testing for
32073         overflow of y*log2(x).
32074         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32075         * math/libm-test.inc (pow_test): Do not permit spurious overflow
32076         exceptions.
32078         [BZ #11521]
32079         * math/s_ctan.c: Include <float.h>.
32080         (__ctan): Avoid internal overflow or cancellation in calculating
32081         denominator.
32082         * math/s_ctanf.c: Likewise.
32083         * math/s_ctanl.c: Likewise.
32084         * math/s_ctanh.c: Likewise.
32085         * math/s_ctanhf.c: Likewise.
32086         * math/s_ctanhl.c: Likewise.
32087         * math/libm-test.inc (ctan_test): Add more tests.
32088         (ctanh_test): Likewise.
32089         * sysdeps/i386/fpu/libm-test-ulps: Update.
32090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32092 2012-04-09  Andreas Jaeger  <aj@suse.de>
32094         [BZ #6894]
32095         * manual/filesys.texi (Directory Entries): Mention that d_namlen
32096         is an optional BSD extension.
32098         [BZ #10254]
32099         * manual/stdio.texi (Opening Streams): Document additional fopen
32100         parameters.
32102 2012-04-09  Roland McGrath  <roland@hack.frob.com>
32104         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32105         %eax without telling the compiler.
32107 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
32109         [BZ # 13963]
32110         * manual/install.texi: Use sourceware.org.
32112 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
32114         [BZ #13873]
32115         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32116         (__ieee754_pow): Generate overflow and underflow using huge*huge
32117         and tiny*tiny rather than just returning constant infinity or zero
32118         for large exponents.
32119         * math/libm-test.inc (pow_test): Require overflow exceptions for
32120         applicable cases of large exponents.
32122         [BZ #706]
32123         * sysdeps/i386/fpu/e_pow.S (p10): New object.
32124         (__ieee754_pow): Use iterative multiplication algorithm only for
32125         integer exponents with absolute value below 1024.  Check for odd
32126         integer exponents when using algorithm for real exponents.
32127         * math/libm-test.inc (pow_test): Add more tests.
32128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32130 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
32132         [BZ #13705]
32133         * math/libm-test.inc (exp_test): Do not allow overflow exception
32134         on underflow test.
32136 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
32138         [BZ #13705]
32139         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32140         instead of __kernel_standard_f.
32142 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
32144         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32145         * sysdeps/x86_64/memset_chk.S: Likewise.
32147 2012-04-08  Andreas Jaeger  <aj@suse.de>
32149         [BZ #10153]
32150         * manual/startup.texi (Environment Access): Describe return value
32151         for putenv and setenv.
32153         [BZ #6895]
32154         * manual/filesys.texi (Directory Entries): Add description for
32155         DT_LNK.
32157         [BZ #6890]
32158         * manual/filesys.texi (Directory Entries): Clarify that it's file
32159         system not operating system in the description of DT_UNKNOWN.
32161         [BZ #6578]
32162         * manual/syslog.texi (closelog): Fix reference, it's openlog.
32164 2012-04-08  Stephen Compall  <s11@member.fsf.org>
32166         [BZ #6649]
32167         * manual/llio.texi (Opening and Closing Files): Add cross
32168         reference to explain mode argument.
32170 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
32172         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32173         * sysdeps/x86_64/memset_chk.S: Likewise.
32175 2012-04-07  David S. Miller  <davem@davemloft.net>
32177         * elf/elf.h (R_SPARC_WDISP10): Define.
32178         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32179         R_SPARC_SIZE32.
32180         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32181         R_SPARC_SIZE64 and R_SPARC_H34.
32183 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
32185         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32186         conditions and remove no longer applicable assertion.
32188 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32190         * bits/byteswap.h: Include <features.h>.
32191         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32192         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32194 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32196         * bits/byteswap.h (__bswap_16): Removed.
32197         Include <bits/byteswap-16.h> to get __bswap_16.
32198         * sysdeps/i386/bits/byteswap.h: Likewise.
32199         * sysdeps/s390/bits/byteswap.h: Likewise.
32200         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32201         * bits/byteswap-16.h: New file.
32202         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32203         * sysdeps/s390/bits/byteswap-16.h: Likewise.
32204         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32205         * string/Makefile (headers): Add bits/byteswap-16.h.
32207 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32209         [BZ #13895]
32210         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32211         extra indirection.
32212         * nss/Makefile (tests-static, tests): Add tst-nss-static.
32213         * nss/tst-nss-static.c: New.
32215 2012-04-06  Robert Millan  <rmh@gnu.org>
32217         [BZ #6486]
32218         * manual/llio.texi (File Position Primitive): lseek
32219         refers to WHENCE when it really means OFFSET.
32221 2012-04-06  Andreas Jaeger  <aj@suse.de>
32223         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32224         strncmp declarations.
32226         * abilist/libc.abilist: Add __poll and __ppoll.
32228 2012-04-05  David S. Miller  <davem@davemloft.net>
32230         * scripts/check-local-headers.sh: Accept a host triplet in the
32231         path matched by the exclude regexp.
32233         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32234         definition.
32235         * sysdeps/powerpc/powerpc32/dl-machine.h
32236         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32237         * sysdeps/s390/s390-32/dl-machine.h
32238         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32239         * sysdeps/sparc/sparc32/dl-machine.h
32240         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32241         * sysdeps/sparc/sparc64/dl-machine.h
32242         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32244         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32245         lazy binding.
32246         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32247         undefined symbol errors.
32249         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32250         DT_NEEDED entries.
32252 2012-04-05  Michael Matz  <matz@suse.de>
32254         [BZ #13592]
32255         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32257 2012-04-05  Andreas Jaeger  <aj@suse.de>
32259         [BZ #13908]
32260         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32261         comment.
32263 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32265         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32266         which ROUND is no valid rounding mode.
32268 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32270         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32271         read again.
32272         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32274 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32276         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32277         an exception using FPU order intentionally.
32279 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32281         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32282         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32283         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32284         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32286 2012-04-05  Simon Josefsson  <simon@josefsson.org>
32288         [BZ #12340]
32289         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32290         EINVAL when BUFLEN is too smal.
32292 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32294         [BZ #13553]
32295         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32296         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32298 2012-04-03  Andreas Jaeger  <aj@suse.de>
32300         [BZ #13938]
32301         * manual/setjmp.texi (System V contexts): Fix sentence.
32303         [BZ #13926]
32304         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32305         New macro for this case.
32306         [!__GNUC__] (__bswap_64): New inline function for this case.
32307         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32308         * bits/byteswap.h: Likewise.
32309         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32310         ull, guard with __GLIBC_HAVE_LONG_LONG.
32312         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32313         __GLIBC_HAVE_LONG_LONG.
32315         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32316         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32318 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32320         [BZ #13691]
32321         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32322         inptr and inend, rather than using last_ch.
32324 2012-04-02  David S. Miller  <davem@davemloft.net>
32326         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32327         * stdio-common/printf-parse.h (read_int): Change return type to
32328         'int', return -1 on INT_MAX overflow.
32329         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32330         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
32331         overflows INT_MAX.  Check for overflow of in-format-string precision
32332         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
32333         SIZE_MAX not INT_MAX for integer overflow test.
32334         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32335         skip the construct in the format string but do not record anything.
32336         * stdio-common/bug22.c: Adjust to test both width/prevision
32337         INT_MAX overflow as well as total length INT_MAX overflow.  Check
32338         explicitly for proper errno values.
32340 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32342         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32343         CHAR_MAX.
32344         * string/test-strcmp.c [! WIDE]: Likewise.
32345         * time/tst-mktime2.c: Likewise for INT_MAX.
32346         * string/test-string.h: #include <sys/param.h> for MIN.
32348         * csu/init-first.c (__libc_init_first): Call __ctype_init.
32349         * sysdeps/i386/init-first.c (init): Likewise.
32350         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32351         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32352         * sysdeps/sh/init-first.c (init): Likewise.
32354 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
32356         * po/ru.po: Update from translation team.
32357         * po/vi.po: Likewise.
32359 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32361         * resolv/nss_dns/dns-host.c: Merge copyright years.
32363 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32365         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32366         Optimize memcpy with prefetch if
32367         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
32368         src, dst pointers have unequal 16 byte alignments.
32370 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32372         [BZ #13928]
32373         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32374         from a CNAME entry and return the minimum ttl for the query.
32375         (gaih_getanswer_slice): Likewise.
32377 2012-03-30  Jeff Law  <law@redhat.com>
32379         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32380         due to long keys.
32381         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32382         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32384         * resolv/nss_dns/dns-host.c: Update copyright year.
32386 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
32388         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32389         requests to save a system call.  Fix check that all bytes are sent.
32391         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32392         comments for sendmmsg.
32394 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32396         [BZ #13691]
32397         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32398         with only 1 character between 0x0041 and 0x01b0.
32399         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32400         * wcsmbs/tst-mbsnrtowcs.c: New file.
32402 2012-03-29  David S. Miller  <davem@davemloft.net>
32404         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32405         small copies by hand.
32407 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32409         [BZ #13761]
32410         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32411         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32412         group memberships.
32414 2012-03-28  David S. Miller  <davem@davemloft.net>
32416         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32417         that branches into memcpy.
32418         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32419         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32420         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32421         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32422         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32423         bits.
32424         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32425         implementation too.
32426         * sysdeps/sparc/mempcpy.S: New file.
32428         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32429         the IFUNC routine in the libc case.
32430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32432         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32433         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32434         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32435         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32436         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32437         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32438         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32439         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32441         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32442         loop to 256 bytes instead of 64 bytes and fix test signedness.
32444         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32445         * sysdeps/sparc/sparc32/Makefile: rather than here...
32446         * sysdeps/sparc/sparc64/Makefile: and here.
32448 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
32450         * malloc/mallocbug.c: Avoid warnings about unused variables.
32452 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32454         [BZ #13760]
32455         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32456         in the right place. Discard and retry query if response is
32457         larger than input buffer size.
32459 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
32461         [BZ #369]
32462         [BZ #2678]
32463         [BZ #3866]
32464         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32465         x for large integer exponent.
32466         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32467         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
32468         sign of result as needed afterwards.
32469         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32470         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32471         result for underflowing pow the same as for overflow.
32472         (__kernel_standard_l): Handle powl overflow and underflow here
32473         rather than calling __kernel_standard.
32474         * math/libm-test.inc (pow_test): Add more tests.
32476         [BZ #3868]
32477         [BZ #13879]
32478         [BZ #13910]
32479         [BZ #13911]
32480         [BZ #13912]
32481         [BZ #13913]
32482         [BZ #13915]
32483         [BZ #13916]
32484         [BZ #13917]
32485         [BZ #13918]
32486         [BZ #13919]
32487         [BZ #13920]
32488         [BZ #13921]
32489         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32490         * sysdeps/ieee754/k_standard.c: Include <float.h>.
32491         (__kernel_standard_l): New function.
32492         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32493         __kernel_standard.
32494         * math/w_acosl.c (__acosl): Likewise.
32495         * math/w_asinl.c (__asinl): Likewise.
32496         * math/w_atan2l.c (__atan2l): Likewise.
32497         * math/w_atanhl.c (__atanhl): Likewise.
32498         * math/w_coshl.c (__coshl): Likewise.
32499         * math/w_exp10l.c (__exp10l): Likewise.
32500         * math/w_exp2l.c (__exp2l): Likewise.
32501         * math/w_fmodl.c (__fmodl): Likewise.
32502         * math/w_hypotl.c (__hypotl): Likewise.
32503         * math/w_j0l.c (__j0l, __y0l): Likewise.
32504         * math/w_j1l.c (__j1l, __y1l): Likewise.
32505         * math/w_jnl.c (__jnl, __ynl): Likewise.
32506         * math/w_lgammal.c (__lgammal): Likewise.
32507         * math/w_log10l.c (__log10l): Likewise.
32508         * math/w_log2l.c (__log2l): Likewise.
32509         * math/w_logl.c (__logl): Likewise.
32510         * math/w_powl.c (__powl): Likewise.
32511         * math/w_remainderl.c (__remainderl): Likewise.
32512         * math/w_scalbl.c (sysv_scalbl): Likewise.
32513         * math/w_sinhl.c (__sinhl): Likewise.
32514         * math/w_sqrtl.c (__sqrtl): Likewise.
32515         * math/w_tgammal.c (__tgammal): Likewise.
32516         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32517         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32518         * math/libm-test.inc (acos_test): Add more tests.
32519         (acosh_test): Likewise.
32520         (asin_test): Likewise.
32521         (atanh_test): Likewise.
32522         (exp_test): Likewise.
32523         (exp10_test): Likewise.
32524         (exp2_test): Likewise.
32525         (expm1_test): Likewise.
32526         (lgamma_test): Likewise.
32527         (log_test): Likewise.
32528         (log10_test): Likewise.
32529         (log1p_test): Likewise.
32530         (log2_test): Likewise.
32531         (pow_test): Do not allow some spurious overflow exceptions.
32532         (sqrt_test): Add more tests.
32533         (tgamma_test): Likewise.
32534         (y0_test): Likewise.
32535         (y1_test): Likewise.
32536         (yn_test): Likewise.
32538 2012-03-27  Anton Blanchard  <anton@samba.org>
32540         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32541         MAP_HUGETLB.
32542         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32543         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32544         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32546 2012-03-27  David S. Miller  <davem@davemloft.net>
32548         * conform/Makefile: Run run-conformtest.sh using $(BASH).
32550         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32551         have-as-vis3 check.
32553 2012-03-27  Andreas Jaeger  <aj@suse.de>
32555         * sysdeps/x86_64/elf/configure.in: Moved to ...
32556         * sysdeps/x86_64/configure.in: ... here.
32557         * sysdeps/x86_64/elf/start.S: Moved to ...
32558         * sysdeps/x86_64/start.S: ... here.
32559         * sysdeps/x86_64/elf/configure: Delete.
32561         * sysdeps/x86_64/configure.in: Merge contents from
32562         sysdeps/i386/configure.in (without i686 check).
32564         * sysdeps/i386/elf/Versions: Merge into ...
32565         * sysdeps/i386/Versions: ... this.
32566         * sysdeps/i386/elf/Versions: Delete file.
32567         * sysdeps/i386/elf/start.S: Moved to ...
32568         * sysdeps/i386/start.S: ...here.
32569         * sysdeps/i386/elf/configure.in: Merge into...
32570         * sysdeps/i386/configure.in: ...here.
32571         * sysdeps/i386/elf/configure.in: Delete file.
32572         * sysdeps/i386/elf/configure: Delete file.
32574         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32575         * debug/backtracesyms.c: ... here.
32576         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32577         * debug/backtracesymsfd.c: ... here.
32578         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32579         * sysdeps/generic/ifunc-sel.h: ... here.
32581         * sysdeps/unix/i386/start.c: Delete file.
32582         * sysdeps/unix/sparc/start.c: Delete file.
32583         * sysdeps/unix/start.c: Delete file.
32585         * sysdeps/sh/elf/configure.in: Moved to ...
32586         * sysdeps/sh/configure.in: ... here.
32587         * sysdeps/sh/elf/start.S: Moved to ...
32588         * sysdeps/sh/start.S: ... here.
32589         * sysdeps/sh/elf/configure: Delete file.
32591         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32592         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32593         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32594         * sysdeps/powerpc/powerpc64/entry.h: ... here.
32595         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32596         * sysdeps/powerpc/powerpc64/start.S: here.
32597         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32598         * sysdeps/powerpc/powerpc64/Makefile: ... this.
32599         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32600         * sysdeps/powerpc/powerpc64/configure.in: ... this.
32601         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32603         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32604         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32605         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32606         * sysdeps/powerpc/powerpc32/start.S: ... here.
32607         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32608         * sysdeps/powerpc/powerpc32/configure.in: ... this.
32609         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32611         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32612         * sysdeps/powerpc/ifunc-sel.h: ... here.
32613         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32614         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32616         * sysdeps/sparc/elf/configure.in: Moved to ...
32617         * sysdeps/sparc/configure.in: ... here.
32618         * sysdeps/sparc/elf/configure: Delete file.
32619         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32620         * sysdeps/sparc/sparc32/start.S: ... here.
32621         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32622         * sysdeps/sparc/sparc64/start.S: ... here.
32623         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32624         * sysdeps/sparc/sparc32/Makefile: ... this.
32625         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32626         * sysdeps/sparc/sparc64/Makefile: ... this.
32628         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32629         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32630         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32631         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32632         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32633         * sysdeps/s390/s390-32/setjmp.S: ... here.
32634         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32635         * sysdeps/s390/s390-32/configure.in: ... here.
32636         * sysdeps/s390/s390-32/elf/configure: Delete file.
32637         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32638         * sysdeps/s390/s390-32/start.S: ... here.
32640         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32641         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32642         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32643         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32644         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32645         * sysdeps/s390/s390-64/setjmp.S: ... here.
32646         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32647         * sysdeps/s390/s390-64/configure.in: ... here
32648         * sysdeps/s390/s390-64/elf/configure: Delete file.
32649         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32650         * sysdeps/s390/s390-64/start.S: ... here.
32651         * sysdeps/s390/s390-64/elf/configure: Delete.
32653         * configure.in: Remove support for elf directories in sysdeps.
32655         * configure: Regenerated.
32656         * sysdeps/i386/configure: Regenerated.
32657         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32658         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32659         * sysdeps/s390/s390-32/configure: Regenerated.
32660         * sysdeps/s390/s390-64/configure: Regenerated.
32661         * sysdeps/sh/configure: Regenerated.
32662         * sysdeps/sparc/configure: Regenerated.
32663         * sysdeps/x86_64/configure: Regenerated.
32665 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
32667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32669         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32670         denormal result into account.
32672 2012-03-25  Roland McGrath  <roland@hack.frob.com>
32674         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32675         Reported by Allan McRae <allan@archlinux.org>.
32677 2012-03-23  Jeff Law  <law@redhat.com>
32679         * nss/getnssent.c (__nss_getent): Fix typo.
32681 2012-03-23  David S. Miller  <davem@davemloft.net>
32683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32685 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
32687         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32688         to pad to uint64_t for each field.
32689         (dl_tls_index): Replace unsigned long with uint64_t.
32691 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
32692         Paul Pluzhnikov  <ppluzhnikov@google.com>
32694         [BZ #6528]
32695         * grp/Makefile (otherlibs): Don't set it.
32696         * inet/Makefile (otherlibs): Likewise.
32697         * login/Makefile (otherlibs): Likewise.
32698         * nscd/Makefile (otherlibs): Likewise.
32699         * posix/Makefile (otherlibs): Likewise.
32700         * pwd/Makefile (otherlibs): Likewise.
32701         * rt/Makefile (otherlibs): Likewise.
32702         * sunrpc/Makefile (otherlibs): Likewise.
32703         * nss/Makefile (otherlibs): Likewise.
32704         Add libnss_files to routines and static-only-routines.
32705         ($(objpfx)getent): Remove rule.
32706         * resolv/Makefile: Add libnss_dns and libresolv to routines and
32707         static-only-routines.
32709 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32711         [BZ #13892]
32712         * math/s_cexp.c: Include <float.h>.
32713         (__cexp): Handle exp result overflowing not necessarily
32714         overflowing both real and imaginary parts of result.
32715         * math/s_cexpf.c: Likewise.
32716         * math/s_cexpl.c: Likewise.
32717         * math/libm-test.inc (cexp_test): Add more tests.
32718         * sysdeps/i386/fpu/libm-test-ulps: Update.
32719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32721 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32723         * include/link.h (ELFW): New macro.
32724         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32725         Replace ELF64_R_TYPE with ELFW(R_TYPE).
32727 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32729         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32730         with uint64_t.
32732 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32734         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32735         declaration.
32736         (struct La_x32_retval): Likewise.
32738 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32740         * sysdeps/x86_64/preconfigure.in: New file.
32741         * sysdeps/x86_64/preconfigure: New generated file.
32743 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32745         [BZ #13824]
32746         * math/e_exp2l.c: Include <float.h>.
32747         (__ieee754_exp2l): Handle overflow and underflow cases
32748         separately.  Only pass fractional part of argument to
32749         __ieee754_expl.
32750         * math/libm-test.inc (exp2_test): Add more tests.
32752         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32753         negating x to take absolute value.
32754         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32755         Likewise.
32756         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32757         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32758         Likewise.
32759         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32760         computing low part if x was negated.
32761         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32763 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32765         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32766         la_x32_gnu_pltexit.
32767         (pltexit): Cast int_retval to ptrdiff_t.
32768         * elf/tst-auditmod3b.c: Likewise.
32769         * elf/tst-auditmod4b.c: Likewise.
32770         * elf/tst-auditmod5b.c: Likewise.
32771         * elf/tst-auditmod6b.c: Likewise.
32772         * elf/tst-auditmod6c.c: Likewise.
32773         * elf/tst-auditmod7b.c: Likewise.
32775         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32776         and x32_gnu_pltexit.
32778         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32779         __ELF_NATIVE_CLASS.
32780         (La_x32_regs): New macro.
32781         (La_x32_retval): Likewise.
32782         (la_x32_gnu_pltenter): New function prototype.
32783         (la_x32_gnu_pltexit): Likewise.
32785 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
32787         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32788         exponent.
32790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32792         * configure.in (libc_cv_cc_nofma): Check for option to disable
32793         generation of FMA instructions.
32794         * configure: Regenerate.
32795         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32796         * sysdeps/ieee754/dbl-64/Makefile: New file.
32797         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32798         Remove brandred-fma4.
32799         (CFLAGS-brandred-fma4.c): Remove.
32800         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32801         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32802         define.
32803         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32804         define.
32806 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32808         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32809         LLONG_MAX != LONG_MAX.
32810         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32811         (_fitoa_word): Likewise.
32812         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32813         LLONG_MAX != LONG_MAX.
32814         * stdio-common/_itowa.h: Include <_itoa.h>.
32815         (_itowa_word): Use _ITOA_WORD_TYPE on value.
32816         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
32817         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
32818         only if not defined.
32819         (_ITOA_WORD_TYPE): Likewise.
32820         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32821         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32823 2012-03-21  David S. Miller  <davem@davemloft.net>
32825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32827 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32829         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32830         of x86_64 when setting libc_cv_slibdir, libdir and
32831         libc_cv_localedir.
32832         * sysdeps/unix/sysv/linux/configure: Regenerated.
32834 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32836         * manual/lang.texi (Old Varargs): Remove section.
32837         (How Variadic): Update menu.
32838         (va_start): Do not mention varargs.h.
32840 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32841             Joseph Myers  <joseph@codesourcery.com>
32843         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32844         link test.
32845         * configure: Regenerated.
32847 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32849         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32850         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32851         conformtest.pl
32853 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32855         * NOTES: Remove.
32856         * Makefile (files-for-dist): Remove NOTES.
32857         (NOTES): Remove rule.
32858         * README: Don't refer to NOTES.
32859         * manual/creature.texi: Don't include macros.texi.
32860         * manual/intro.texi (creature.texi): Remove comment referring to
32861         NOTES.
32863         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32864         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32865         * configure: Regenerated.
32866         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32867         LIBC_TRY_CC_OPTION.
32868         (libc_cv_as_i686): Likewise.
32869         (libc_cv_cc_avx): Likewise.
32870         (libc_cv_cc_sse2avx): Likewise.
32871         (libc_cv_cc_fma4): Likewise.
32872         (libc_cv_cc_novzeroupper): Likewise.
32873         * sysdeps/i386/configure: Regenerated.
32875         [BZ #13883]
32876         * sysdeps/i386/fpu/s_cexp.S: Remove.
32877         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32878         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32879         * math/libm-test.inc (cexp_test): Add more tests.
32880         * sysdeps/i386/fpu/libm-test-ulps: Update.
32881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32883 2012-03-21  Allan McRae  <allan@archlinux.org>
32885         * timezone/Makefile: Do not install iso3166.tab and zone.tab
32887 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32889         [BZ #13871]
32890         * math/w_exp2.c: Do not include <float.h>.
32891         (o_threshold, u_threshold): Remove.
32892         (__exp2): Calculate result before checking finiteness and calling
32893         __kernel_standard.
32894         * math/w_exp2f.c: Likewise.
32895         * math/w_exp2l.c: Likewise.
32896         * math/libm-test.inc (exp2_test): Require overflow exception for
32897         1e6 input.
32899         [BZ #3866]
32900         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32901         range of signed 64-bit integers before using fistpll.  Remove
32902         checks for whether integers fit in mantissa bits.
32903         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32904         the range of signed 32-bit integers before using fistpl.  Remove
32905         checks for whether integers fit in mantissa bits.
32906         * sysdeps/i386/fpu/e_powl.S (p64): New object.
32907         (__ieee754_powl): Test for y outside the range of signed 64-bit
32908         integers before using fistpll.  Reduce 64-bit values to 63-bit
32909         ones as needed.
32910         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32911         divide-by-zero is raised for zero to large negative powers.
32912         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32913         (__ieee754_powl): Test for y outside the range of signed 64-bit
32914         integers before using fistpll.  Reduce 64-bit values to 63-bit
32915         ones as needed.
32916         * math/libm-test.inc (pow_test): Add more tests.
32918 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32920         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32921         <stdio-common/_itoa.h>.
32922         * debug/segfault.c: Likewise.
32923         * elf/dl-cache.c: Likewise.
32924         * elf/dl-minimal.c: Likewise.
32925         * elf/dl-misc.c: Likewise.
32926         * elf/dl-sysdep.c: Likewise.
32927         * elf/dl-version.c: Likewise.
32928         * elf/rtld.c: Likewise.
32929         * hurd/hurdsock.c: Likewise.
32930         * hurd/lookup-retry.c: Likewise.
32931         * malloc/malloc.c: Likewise.
32932         * malloc/mtrace.c: Likewise.
32933         * nscd/nscd_getgr_r.c: Likewise.
32934         * nscd/nscd_getpw_r.c: Likewise.
32935         * nscd/nscd_getserv_r.c: Likewise.
32936         * posix/getopt_init.c: Likewise.
32937         * posix/wordexp.c: Likewise.
32938         * stdio-common/_itoa.c: Likewise.
32939         * stdio-common/printf_fphex.c: Likewise.
32940         * stdio-common/vfprintf.c: Likewise.
32941         * string/_strerror.c: Likewise.
32942         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32943         * sysdeps/i386/i686/hp-timing.h: Likewise.
32944         * sysdeps/mach/_strerror.c: Likewise.
32945         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32946         * sysdeps/mach/hurd/sethostid.c: Likewise.
32947         * sysdeps/mach/hurd/xmknodat.c: Likewise.
32948         * sysdeps/mach/xpg-strerror.c: Likewise.
32949         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32950         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32951         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32952         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32953         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32954         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32955         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32956         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32957         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32958         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32959         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32960         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32961         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32962         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32963         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32964         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32965         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32966         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32967         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32968         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32969         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32971         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32973         * stdio-common/_itoa.h: Moved to ...
32974         * sysdeps/generic/_itoa.h: Here.
32976         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32978         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32979         instead of "_itoa.h" and "_itowa.h".
32980         * stdio-common/vfprintf.: Likewise.
32982 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32984         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32985         <bits/wordsize.h>.
32986         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32987         (__signbit): Likwise.
32988         (llrintf): Likwise.
32989         (llrint): Likwise.
32991 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32993         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32994         __WORDSIZE != 64.
32996 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
32998         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32999         OVERFLOW_EXCEPTION_OK.
33000         * math/libm-test.inc ("Philosophy"): Update comment about
33001         exception testing.
33002         (OVERFLOW_EXCEPTION): Define.
33003         (OVERFLOW_EXCEPTION_OK): Likewise.
33004         (INVALID_EXCEPTION_OK): Renumber.
33005         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33006         (IGNORE_ZERO_INF_SIGN): Likewise.
33007         (test_exceptions): Handle FE_OVERFLOW.
33008         (exp10_test): Expect overflow exceptions.
33009         (exp2_test): Likewise.
33010         (expm1_test): Likewise.
33011         (nextafter_test): Likewise.
33012         (pow_test): Likewise.
33013         (scalbn_test): Likewise.
33014         (scalbln_test): Likewise.
33016 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33018         * sysdeps/x86_64/bits/atomic.h
33019         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33020         64bit integer.
33021         (atomic_exchange_acq): Likewise.
33022         (__arch_exchange_and_add_body): Likewise.
33023         (__arch_add_body): Likewise.
33024         (atomic_add_negative): Likewise.
33025         (atomic_add_zero): Likewise.
33027 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33029         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33030         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33032 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33034         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33035         Check __x86_64__ instead of __WORDSIZE.
33037 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33039         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33041 2012-03-19  David S. Miller  <davem@davemloft.net>
33043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33045         * sysdeps/sparc/fpu/fenv_private.h: New file.
33046         * sysdeps/sparc/fpu/math_private.h: Use it.
33047         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33048         Remove.
33049         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33050         (libc_feholdexcept_setroundl): Remove.
33051         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33052         Remove.
33053         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33054         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33056 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33058         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33059         int64_t instead of long int.
33060         (INSERT_WORDS64): Likwise.
33062 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33064         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33065         _Unwind_GetCFA return to _Unwind_Ptr first.
33067 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
33069         [BZ #13629]
33070         * math/s_clog.c: Include <float.h>.
33071         (__clog): Scale large or subnormal inputs.
33072         * math/s_clogf.c: Likewise.
33073         * math/s_clogl.c: Likewise.
33074         * math/s_clog10.c: Include <float.h>.
33075         (M_LOG10_2): Define.
33076         (__clog10): Scale large or subnormal inputs.
33077         * math/s_clog10f.c: Likewise.
33078         * math/s_clog10l.c: Likewise.
33079         * math/libm-test.inc (clog_test): Add more tests.
33080         (clog10_test): Likewise.
33081         * sysdeps/i386/fpu/libm-test-ulps: Update.
33082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33084         [BZ #11451]
33085         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33086         x and y.
33087         * math/libm-test.inc (atan2_test): Add another test.
33089         * Makerules (common-objdir-compile): Remove.
33090         * sysdeps/unix/Makefile (config-generated): Do not add
33091         $(unix-generated) to variable.
33092         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33093         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33094         Remove rule.
33095         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33096         Likewise.
33097         [generic bits/local_lim.h] (before-compile): Do not append to
33098         variable.
33099         [generic bits/local_lim.h] (common-generated): Likewise.
33100         [generic sys/param.h] (before-compile): Do not append to variable.
33101         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33102         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33103         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33104         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33105         include.
33106         [generic sys/param.h] (sys/param.h-includes): Remove variable.
33107         [generic sys/param.h] (sys/param.h-includes): Remove rule.
33108         [generic sys/param.h] ($(addprefix
33109         $(common-objpfx),$(sys/param.h-includes))): Likewise.
33110         [generic sys/param.h] (common-generated): Do not append to
33111         variable.
33112         [generic sys/param.h] (sysdep_headers): Likewise.
33113         [generic bits/errno.h] (before-compile): Do not append to
33114         variable.
33115         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33116         rule.
33117         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33118         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33119         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33120         [generic bits/errno.h] (common-generated): Do not append to
33121         variable.
33122         [generic bits/ioctls.h] (before-compile): Do not append to
33123         variable.
33124         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33125         rule.
33126         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33127         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33128         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33129         rule.
33130         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33131         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33132         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33133         [generic bits/ioctls.h] (common-generated): Do not append to
33134         variable.
33135         [generic sys/syscall.h] (syscall.h): Remove variable.
33136         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33137         rule.
33138         [generic sys/syscall.h] (before-compile): Do not append to
33139         variable.
33140         [generic sys/syscall.h] (common-generated): Likewise.
33141         * sysdeps/unix/errnos-tmpl.c: Remove file.
33142         * sysdeps/unix/errnos.awk: Likewise.
33143         * sysdeps/unix/ioctls-tmpl.c: Likewise.
33144         * sysdeps/unix/ioctls.awk: Likewise.
33145         * sysdeps/unix/mk-local_lim.c: Likewise.
33146         * sysdeps/unix/snarf-ioctls: Likewise.
33148 2012-03-19  Richard Henderson  <rth@twiddle.net>
33150         * sysdeps/i386/fpu/fenv_private.h: New file.
33151         * sysdeps/i386/fpu/math_private.h: Use it.
33152         (math_opt_barrier, math_force_eval): Remove.
33153         (libc_feholdexcept_setround_53bit): Remove.
33154         (libc_feupdateenv_53bit): Remove.
33155         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33156         (math_opt_barrier, math_force_eval): Remove.
33157         (libc_feholdexcept): Remove.
33158         (libc_feholdexcept_setround): Remove.
33159         (libc_fetestexcept, libc_fesetenv): Remove.
33160         (libc_feupdateenv_test): Remove.
33161         (libc_feupdateenv, libc_feholdsetround): Remove.
33162         (libc_feresetround): Remove.
33164         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33165         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33167         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33168         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33169         (libc_feupdateenv_testl): New.
33170         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33171         (libc_feupdateenv_testf): New.
33172         (libc_feupdateenv): Use libc_feupdateenv_test.
33173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33174         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33176         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33177         (libc_feholdsetroundf, libc_feholdsetroundl): New.
33178         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33179         (libc_feresetround_noex): New.
33180         (libc_feresetround_noexf): New.
33181         (libc_feresetround_noexl): New.
33182         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33183         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33184         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33185         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33186         SET_RESTORE_ROUND.
33187         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33188         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33189         (__cos): Likewise.
33190         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33191         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33192         SET_RESTORE_ROUND_NOEX.
33193         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33194         SET_RESTORE_ROUND_NOEXF.
33195         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33196         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33197         (libc_feholdsetroundf): New.
33198         (libc_feresetround, libc_feresetroundf): New.
33200         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33201         (libc_feholdexcept_setround_53bit): Convert from macro to function.
33202         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
33204         * sysdeps/generic/math_private.h: Include <fenv.h>.
33205         (default_libc_feholdexcept): New.
33206         (default_libc_feholdexcept_setround): New.
33207         (default_libc_fesetenv, default_libc_feupdateenv): New.
33208         (libc_feholdexcept): Only define if undefined.
33209         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33210         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33211         (libc_feholdexcept_setroundl): Likewise.
33212         (libc_feholdexcept_setround_53bit): Likewise.
33213         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33214         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33215         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33216         (libc_feupdateenv_53bit): Likewise.
33217         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33218         (libc_feholdexcept): Convert from macro to inline function.
33219         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33220         (libc_fesetenv, libc_feupdateenv): Likewise.
33222         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33223         not previously defined.
33224         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33225         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33226         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33227         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33228         * sysdeps/ieee754/flt-32/math_private.h: New file.
33229         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33230         math_private.h below SET_FLOAT_WORD.
33231         (__isnan, __isinf_ns, __finite): Remove.
33232         (__isnanf, __isinf_nsf, __finitef): Remove.
33234 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
33236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33238 2012-03-17  David S. Miller  <davem@davemloft.net>
33240         [BZ #6471]
33241         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33242         for 2.16.
33244 2012-03-16  David S. Miller  <davem@davemloft.net>
33246         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33247         warnings.
33249         [BZ #6471]
33250         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33251         properly.
33252         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33253         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33254         sysdep_routines when subdir is sysvipc.
33255         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33256         __getshmlba helper.
33258         * sysdeps/sparc/fpu/libm-test/ulps: Update.
33260 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33262         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33263         [__LP64__].
33265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33267         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33268         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33269         (__lround): Renamed to ...
33270         (__llround): This.  Replace long int with long long int.
33271         Define lround functions as aliases of llround functions.
33272         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33274 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33276         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33277         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
33278         adresses to uintptr_t.  Replace "long int" and "unsigned long
33279         int" with "greg_t" on va_arg.
33281 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33283         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33284         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33286         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33287         Move e_machine check before EI_CLASS check.  Handle x32
33288         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33289         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33290         SKIP_EM_IA_64 and include
33291         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33293         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33294         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33295         (add_system_dir): New macro.
33297         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33298         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33300 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33302         [BZ #2551]
33303         [BZ #2552]
33304         [BZ #2553]
33305         [BZ #2554]
33306         [BZ #2562]
33307         [BZ #2563]
33308         [BZ #2565]
33309         [BZ #2566]
33310         [BZ #2576]
33311         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33312         (y0): Likewise.
33313         * math/w_j0f.c (j0f): Likewise.
33314         (y0f): Likewise.
33315         * math/w_j0l.c (__j0l): Likewise.
33316         (__y0l): Likewise.
33317         * math/w_j1.c (j1): Likewise.
33318         (y1): Likewise.
33319         * math/w_j1f.c (j1f): Likewise.
33320         (y1f): Likewise.
33321         * math/w_j1l.c (__j1l): Likewise.
33322         (__y1l): Likewise.
33323         * math/w_jn.c (jn): Likewise.
33324         (yn): Likewise.
33325         * math/w_jnf.c (jnf): Likewise.
33326         (ynf): Likewise.
33327         * math/w_jnl.c (__jnl): Likewise.
33328         (__ynl): Likewise.
33329         * math/libm-test.inc (j0_test): Add more tests.
33330         (j1_test): Likewise.
33331         (jn_test): Likewise.  Add trailing semicolon to existing test.
33332         (y0_test): Likewise.
33333         (y1_test): Likewise.
33334         * sysdeps/i386/fpu/libm-test-ulps: Update.
33335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33337         [BZ #13851]
33338         [BZ #13854]
33339         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33340         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33341         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33342         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33343         (__tanl): Set errno for infinite argument.
33344         * sysdeps/i386/fpu/mptan.c: Remove.
33345         * sysdeps/i386/fpu/s_tan.S: Likewise.
33346         * sysdeps/i386/fpu/s_tanl.S: Likewise.
33347         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33348         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33349         * math/libm-test.inc (tan_test): Add more tests and enable more
33350         tests for double and long double.
33351         * sysdeps/i386/fpu/libm-test-ulps: Update.
33352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33354 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
33356         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33357         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33359 2012-03-16  Roland McGrath  <roland@hack.frob.com>
33361         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33362         * configure.in: Use it for both main tree and add-ons.
33363         * configure: Regenerated.
33365 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33367         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33369 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33371         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33372         in comment.
33374         [BZ #13851]
33375         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33376         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33377         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33378         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33379         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33380         infinite argument.
33381         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33382         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33383         != 0 for prec == 2.
33384         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33385         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33386         * sysdeps/i386/fpu/s_cosl.S: Likewise.
33387         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33388         * sysdeps/i386/fpu/s_sinl.S: Likewise.
33389         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33390         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33391         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33392         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33393         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33394         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33395         * math/libm-test.inc (cos_test): Add more tests and enable more
33396         tests for long double.
33397         (sin_test): Likewise.
33398         (sincos_test): Likewise.
33399         * sysdeps/i386/fpu/libm-test-ulps: Update.
33400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33402 2012-03-16  David S. Miller  <davem@davemloft.net>
33404         * sysdeps/sparc/fpu/math_private.h: New file.
33406 2012-03-15  David S. Miller  <davem@davemloft.net>
33408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33409         file.
33410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33412         file.
33413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33418         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33419         sysdep routines.
33420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33422         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33423         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33425         * sysdeps/sparc/sparc-ifunc.h: New file.
33426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33427         sparc-ifunc.h
33428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33430         Likewise.
33431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33432         Likewise.
33433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33437         Likewise.
33438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33443         Likewise.
33444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33445         Likewise.
33446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33452         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33453         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33454         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33455         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33460         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33461         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33462         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33464         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33465         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33468         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33469         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33471 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33473         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33474         scaling.
33475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33477 2012-03-15  Andreas Jaeger  <aj@suse.de>
33479         [BZ #13852]
33480         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33481         ieee754/flt-32 implementation for sin, cos and sincos.
33482         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33483         * sysdeps/i386/fpu/s_cosf.S: Likewise.
33484         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33485         * sysdeps/i386/fpu/s_sinf.S: Likewise.
33486         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33487         ieee754/flt-32 implementation for tan.
33489         * math/libm-test.inc (cos_test): Enable some large input tests for
33490         float as well
33491         (sin_test): Likewise.
33492         (sincos_test): Likewise.
33493         (tan_test): Add tests for large input.
33495         * sysdeps/i386/fpu/libm-test-ulps: Update.
33497 2012-03-15  Andreas Jaeger  <aj@suse.de>
33499         [BZ #13658]
33500         * math/libm-test.inc (cos_test): Add more test cases.
33501         (sin_test): Likewise.
33502         (sincos_test): Likewise.
33504 2012-03-15  Andreas Jaeger  <aj@suse.de>
33506         [BZ #13837]
33507         * math/libm-test.inc (cos_test): Add a test case for large input
33508         value.
33509         (sin_test): Likewise.
33510         (sincos_test): Likewise.
33512 2012-03-15  Andreas Jaeger  <aj@suse.de>
33513             Joseph Myers  <joseph@codesourcery.com>
33515         [BZ #13658]
33516         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33517         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33518         * sysdeps/i386/fpu/branred.c: Likewise.
33519         * sysdeps/i386/fpu/dosincos.c: Likewise.
33520         * sysdeps/i386/fpu/mpa.c: Likewise.
33521         * sysdeps/i386/fpu/s_cos.S: Likewise.
33522         * sysdeps/i386/fpu/s_sin.S: Likewise.
33523         * sysdeps/i386/fpu/s_sincos.S: Likewise.
33524         * sysdeps/i386/fpu/sincos32.c: Likewise.
33526         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33527         Define.
33528         (libc_feupdateenv_53bit): Define.
33529         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33530         Define.
33531         (libc_feupdateenv_53bit): Define.
33533         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33534         53 bit (without extend i386 double precision).
33536         * math/libm-test.inc (sincos_test): Add tests for large input.
33537         (sin): Likewise.
33538         (cos): Likewise.
33540         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33542 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33546 2012-03-15  David S. Miller  <davem@davemloft.net>
33548         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33549         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33550         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33551         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33556         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33564         file.
33565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33567         file.
33568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33570         file.
33571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33573         file.
33574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33575         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33576         fmin/fmax sysdep routines.
33577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33579 2012-03-14  David S. Miller  <davem@davemloft.net>
33581         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33582         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33583         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33585         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33586         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33587         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33588         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33589         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33593         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33594         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33595         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33596         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33601         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33602         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33603         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33604         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33605         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33606         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33607         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33608         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33609         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33610         routines.
33611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33612         file.
33613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33615         file.
33616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33618         file.
33619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33621         file.
33622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33624         file.
33625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33627         file.
33628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33629         file.
33630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33631         file.
33632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33633         file.
33634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33635         New file.
33636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33637         file.
33638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33639         file.
33640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33642         file.
33643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33645         file.
33646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33648         file.
33649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33651         VIS3 routines.
33653         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33654         New file.
33656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33658         * sysdeps/sparc/configure.in: New file.
33659         * sysdeps/sparc/configure: Generate.
33660         * configure.in (libc_cv_sparc_as_vis3): Substitute.
33661         * configure: Regenerate.
33662         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33663         * config.make.in (have-as-vis3): New.
33664         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33665         available use -Av9d instead of -Av9a.
33666         * sysdeps/sparc/sparc64/Makefile: Likewise.
33667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33669         New file.
33670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33671         file.
33672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33673         New file.
33674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33675         file.
33676         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33677         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33678         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33679         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33680         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33682         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33683         fzeros/fnegs to load 0x80000000 into a float register instead of
33684         using the stack.
33685         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33687 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33689         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33690         bits/syscall.h.
33691         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33692         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33693         ($(inst_includedir)/bits/syscall.h): Remove rule.
33694         ($(objpfx)bits/syscall.d): Include instead of
33695         $(objpfx)syscall-list.d.
33696         (generated): Change syscall-list.h and syscall-list.d to
33697         bits/syscall.h and bits/syscall.d.
33699 2012-03-14  Roland McGrath  <roland@hack.frob.com>
33701         [BZ #13846]
33702         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33704 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33706         [BZ #13841]
33707         * math/s_csqrt.c: Include <float.h>.
33708         (__csqrt): Scale large or subnormal inputs.
33709         * math/s_csqrtf.c: Likewise.
33710         * math/s_csqrtl.c: Likewise.
33711         * math/libm-test.inc (csqrt_test): Add more tests.
33712         * sysdeps/i386/fpu/libm-test-ulps: Update.
33713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33715         [BZ #13840]
33716         * math/libm-test.inc (hypot_test): Add more tests.
33718 2012-03-13  David S. Miller  <davem@davemloft.net>
33720         [BZ #13840]
33721         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33722         double-precision for the calculation instead of scaling.
33724 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
33726         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33727         manipulate bits before adding and subtracting TWO52[sx].
33728         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33729         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33730         Likewise.
33731         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33733 2012-03-13  David S. Miller  <davem@davemloft.net>
33735         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33736         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33737         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33738         rtld-global-offsets.h
33739         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33741         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33742         large parameters.
33744         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33746         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33747         'err' in the ifdef scope in which it is actually used.
33749         * nss/nss_db/db-init.c: Include string.h
33751 2012-03-12  David S. Miller  <davem@davemloft.net>
33753         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33754         masking out of the most significant byte of random value used.
33755         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33756         Fix coding style in previous change.
33758         * sysdeps/unix/sysv/linux/kernel-features.h
33759         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33760         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33761         expression.
33762         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33763         later.
33765 2012-03-11  David S. Miller  <davem@davemloft.net>
33767         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33768         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33769         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33770         for 'resultvar' otherwise things get truncated on 64-bit.
33772         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33773         Fix masking out of the most significant byte of random value used.
33775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33777 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
33779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33781 2012-03-09  David S. Miller  <davem@davemloft.net>
33783         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33784         variables with appropriate CPP guards.
33785         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33786         from the frame pointer, not the stack pointer.  Correct layout
33787         comments.  Fix test on resulting framesize and the management of
33788         the outregs buffer for pltexit.  Preserve floating point return
33789         values across _dl_call_pltexit call.
33790         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33791         framesize and the management of the outregs buffer for pltexit.
33792         Preserve floating point return values across _dl_call_pltexit
33793         call.
33794         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33795         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33796         (la_sparc64_gnu_pltexit): New functions.
33797         (print_exit): Fix format string for return register value.
33799 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
33801         * sunrpc/Makefile (others): Add rpcgen.
33802         ($(objpfx)rpcgen): Remove special build rule and dependency on
33803         libc.
33804         * sunrpc/rpcgen.c: New file.
33806 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
33808         [BZ #13673]
33809         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33810         * stdio-common/bug-vfprintf-nargs.c: Likewise.
33811         * sysdeps/i386/crti.S: Likewise.
33812         * sysdeps/i386/crtn.S: Likewise.
33813         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33814         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33815         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33816         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33817         * sysdeps/sh/crti.S: Likewise.
33818         * sysdeps/sh/crtn.S: Likewise.
33819         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33821         [BZ #13673]
33822         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33823         with URL.
33824         * locale/programs/locfile-kw.gperf: Likewise.
33825         * locale/programs/charmap-kw.h: Regenerated.
33826         * locale/programs/locfile-kw.h: Likewise.
33828         [BZ #13673]
33829         * intl/plural.y: Replace FSF snail mail address with URL.
33830         * intl/plural.c: Regenerated.
33832 2012-03-09  Richard Henderson  <rth@twiddle.net>
33834         * include/math_private.h: Remove file.
33835         * math/math_private.h: Move file ...
33836         * sysdeps/generic/math_private.h: ... here.
33838         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33839         * sysdeps/powerpc/fpu/math_private.h: Likewise.
33840         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33842         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33843         and <math_private.h>.
33844         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33845         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33846         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33847         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33848         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33849         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33850         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33851         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33852         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33853         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33854         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33855         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33856         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33857         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33858         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33859         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33860         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33861         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33862         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33863         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33864         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33865         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33866         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33867         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33868         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33869         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33870         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33871         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33873         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33874         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33875         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33876         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33877         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33878         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33879         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33880         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33881         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33882         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33883         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33884         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33885         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33886         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33887         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33888         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33889         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33890         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33891         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33892         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33893         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33894         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33895         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33896         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33897         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33898         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33899         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33900         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33901         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33902         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33903         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33904         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33905         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33906         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33907         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33908         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33909         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33910         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33911         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33912         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33913         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33914         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33915         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33916         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33917         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33918         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33919         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33920         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33921         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33922         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33923         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33924         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33925         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33926         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33927         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33928         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33929         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33930         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33931         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33932         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33933         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33934         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33935         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33936         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33937         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33938         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33939         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33940         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33941         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33942         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33943         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33944         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33945         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33946         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33947         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33948         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33949         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33950         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33951         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33952         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33953         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33954         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33955         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33956         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33957         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33958         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33959         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33960         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33961         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33962         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33963         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33964         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33965         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33966         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33967         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33968         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33969         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33970         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33971         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33972         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33973         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33974         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33975         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33976         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33977         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33978         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33979         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33980         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33981         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33982         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33983         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33984         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33985         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33986         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33987         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33988         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33989         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33990         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33991         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33992         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33993         * sysdeps/ieee754/k_standard.c: Likewise.
33994         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33995         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33996         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33997         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33998         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33999         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34000         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34001         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34002         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34003         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34004         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34005         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34006         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34007         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34008         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34009         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34010         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34011         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34012         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34013         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34014         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34015         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34016         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34017         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34018         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34019         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34020         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34021         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34022         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34023         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34024         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34025         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34026         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34027         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34028         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34029         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34030         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34031         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34032         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34033         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34034         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34035         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34036         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34037         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34038         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34039         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34040         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34041         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34042         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34043         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34044         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34045         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34046         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34047         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34048         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34049         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34050         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34051         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34052         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34053         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34054         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34055         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34056         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34057         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34058         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34059         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34060         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34061         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34062         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34063         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34064         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34065         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34066         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34067         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34068         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34069         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34070         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34071         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34072         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34073         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34074         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34075         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34076         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34077         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34078         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34079         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34080         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34081         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34082         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34083         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34084         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34085         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34086         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34087         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34088         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34089         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34090         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34091         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34092         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34093         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34094         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34095         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34096         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34097         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34098         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34099         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34100         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34101         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34102         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34103         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34104         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34105         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34106         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34107         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34108         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34109         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34110         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34111         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34112         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34113         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34114         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34115         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34116         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34117         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34118         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34119         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34120         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34121         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34122         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34123         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34124         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34125         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34126         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34127         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34128         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34129         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34130         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34131         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34132         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34133         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34134         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34135         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34136         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34137         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34138         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34139         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34140         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34141         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34142         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34143         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34144         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34145         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34146         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34147         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34148         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34149         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34150         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34151         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34152         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34153         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34154         * sysdeps/ieee754/s_lib_version.c: Likewise.
34155         * sysdeps/ieee754/s_matherr.c: Likewise.
34156         * sysdeps/ieee754/s_signgam.c: Likewise.
34157         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34158         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34159         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34160         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34161         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34162         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34163         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34164         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34165         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34166         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34167         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34168         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34169         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34170         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34171         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34172         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34173         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34174         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34175         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34176         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34177         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34179 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34181         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34182         * sunrpc/rpc_main.c: Likewise.
34183         * sunrpc/rpc_svcout.c: Likewise.
34185 2012-03-09  David S. Miller  <davem@davemloft.net>
34187         * include/math_private.h: New file.
34189 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34191         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34192         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34193         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34194         from <bits/socket_type.h>.
34195         (enum __socket_type): Don't define here.
34196         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34197         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34198         bits/socket_type.h.
34200         [BZ #13566]
34201         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34202         checking __USE_GNU.
34204         * Makerules ($(inst_includedir)/%.h): New rule.
34205         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34206         (install-others): Remove variable setting.
34207         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34209 2012-03-08  Richard Henderson  <rth@twiddle.net>
34211         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34212         from macro to inline function; merge with the
34213         !__LIBC_INTERNAL_MATH_INLINES version.
34214         (__ieee754_sqrtf): Likewise.
34216         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34217         to inline function.
34218         (__rintf, __floor, __floorf): Likewise.
34220         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34221         macro to inline function.
34222         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34224         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34225         not <math/math_private.h>.
34227 2012-03-08  David S. Miller  <davem@davemloft.net>
34229         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34230         copyright year.
34231         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34233 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
34235         * resolv/gai_misc.c (handle_requests): Fix struct timespec
34236         normalization.
34237         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34238         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34240 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
34242         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
34243         be defined individually, they must be defined as a block.  Define
34244         S for printing a string instead of hidint the different by using a
34245         macro for adding the 'l'.
34246         * stdio-common/tst-fphex-wide.c: Adjust.
34248 2012-03-07  Marek Polacek  <polacek@redhat.com>
34250         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34252 2012-03-08  Marek Polacek  <polacek@redhat.com>
34254         [BZ #13806]
34255         * stdio-common/Makefile (tests): Add tst-fphex-wide.
34256         * stdio-common/tst-fphex.c: Define a few macros to make the
34257         test reusable.  Use them.
34258         * stdio-common/tst-fphex-wide.c: New file.
34260 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
34262         [BZ #6911]
34263         * manual/macros.texi (gnusystems): New macro.
34264         (nongnusystems): Likewise.
34265         (gnulinuxhurdsystems): Likewise.
34266         (gnuhurdsystems): Likewise..
34267         (gnulinuxsystems): Likewise.
34268         * manual/charset.texi: Use new macros or @theglibc{} to refer to
34269         variants of the GNU system, not "GNU system".
34270         * manual/conf.texi: Likewise.
34271         * manual/errno.texi: Likewise.  Update example of errno macro
34272         expansion.
34273         * manual/filesys.texi: Likewise.
34274         (getumask): Document as specific to GNU/Hurd.
34275         * manual/install.texi: Likewise.  Reword some references to
34276         GNU/Linux.
34277         * manual/intro.texi: Likewise.
34278         * manual/io.texi: Likewise.
34279         (File Name Portability): Detail which constraints are inapplicable
34280         to all GNU systems and which are only inapplicable to GNU/Hurd.
34281         * manual/job.texi: Likewise.
34282         * manual/llio.texi: Likewise.
34283         (O_NOCTTY): Document as present on GNU/Linux.
34284         * manual/maint.texi: Likewise.
34285         * manual/memory.texi: Likewise.
34286         * manual/pattern.texi: Likewise.
34287         * manual/pipe.texi: Likewise.
34288         * manual/process.texi: Likewise.
34289         * manual/resource.texi: Likewise.
34290         (RUSAGE_CHILDREN): Remove statement about specifying a particular
34291         child on GNU/Hurd.
34292         * manual/setjmp.texi: Likewise.
34293         * manual/signal.texi: Likewise.
34294         * manual/startup.texi: Likewise.
34295         * manual/stdio.texi: Likewise.
34296         * manual/terminal.texi: Likewise.
34297         (ONLCR): Document as POSIX.
34298         (OXTABS): Document availability on GNU/Linux as XTABS.
34299         (ONOEOT): Document availability separately from other bits.
34300         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34301         * manual/time.texi: Likewise.
34302         * manual/users.texi: Likewise.
34303         * INSTALL: Regenerated.
34304         * sysdeps/gnu/errlist.c: Regenerated.
34306         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34307         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34308         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
34309         puts.
34310         * configure: Regenerated.
34312 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
34314         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34315         default includes instead of AC_HEADER_CHECK.
34316         * sysdeps/i386/configure: Regenerated.
34318         [BZ #10716]
34319         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34320         * math/s_cacoshf.c (__cacoshf): Likewise.
34321         * math/s_cacoshl.c (__cacoshl): Likewise.
34322         * math/s_casinh.c (__casinh): Set signs of result from argument.
34323         * math/s_casinhf.c (__casinhf): Likewise.
34324         * math/s_casinhl.c (__casinhl): Likewise.
34325         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34326         (casinh_test): Add more tests.
34327         * sysdeps/i386/fpu/libm-test-ulps: Update.
34328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34330 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
34332         * po/zh_TW.po: Update from translation team.
34334         * login/Makefile (distribute): Remove variable.
34335         * catgets/Makefile: Likewise.
34336         * mach/Makefile: Likewise.
34337         * malloc/Makefile: Likewise.
34338         * misc/Makefile: Likewise.
34339         * iconv/Makefile: Likewise.
34340         * nscd/Makefile: Likewise.
34341         * hurd/Makefile: Likewise.
34342         * manual/Makefile: Likewise.
34343         * locale/Makefile: Likewise.
34344         * intl/Makefile: Likewise.
34345         * conform/Makefile: Likewise.
34346         * nss/Makefile: Likewise.
34347         * time/Makefile: Likewise.
34348         * soft-fp/Makefile: Likewise.
34349         * dirent/Makefile: Likewise.
34350         * gmon/Makefile: Likewise.
34351         * po/Makefile: Likewise.
34352         * rt/Makefile: Likewise.
34353         * socket/Makefile: Likewise.
34354         * math/Makefile: Likewise.
34355         * signal/Makefile: Likewise.
34356         * debug/Makefile: Likewise.
34357         * elf/Makefile: Likewise.
34358         * timezone/Makefile: Likewise.
34359         * stdlib/Makefile: Likewise.
34360         * iconvdata/Makefile: Likewise.
34361         * sunrpc/Makefile: Likewise.
34362         * io/Makefile: Likewise.
34363         * argp/Makefile: Likewise.
34364         * inet/Makefile: Likewise.
34365         * hesiod/Makefile: Likewise.
34366         * grp/Makefile: Likewise.
34367         * csu/Makefile: Likewise.
34368         * wctype/Makefile: Likewise.
34369         * crypt/Makefile: Likewise.
34370         * libio/Makefile: Likewise.
34371         * string/Makefile: Likewise.
34372         * nis/Makefile: Likewise.
34373         * resolv/Makefile: Likewise.
34374         * stdio-common/Makefile: Likewise.
34375         * wcsmbs/Makefile: Likewise.
34376         * dlfcn/Makefile: Likewise.
34377         * posix/Makefile: Likewise.
34379         [BZ #6959]
34380         * timezone/Makefile: Don't install timezone files, just the programs
34381         and scripts.
34383 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
34385         * nss/databases.def: Add missing gshadow entry.
34387         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
34389 2012-03-06  Marek Polacek  <polacek@redhat.com>
34391         [BZ #13726]
34392         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34393         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34394         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34395         * stdio-common/tst-long-dbl-fphex.c: New file.
34397 2012-03-06  David S. Miller  <davem@davemloft.net>
34399         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34400         (set_obp_int): New function.
34401         (get_obp_int): New function.
34402         (__get_clockfreq_via_dev_openprom): Likewise.
34403         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34404         Avoid unused variable warnings on 'val' and use builtin_expect.
34405         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34406         __builtin_expect.
34407         (INLINE_CLONE_SYSCALL): Likewise.
34409 2012-03-05  David S. Miller  <davem@davemloft.net>
34411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34413 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
34415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34417         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34418         only for |x| >= 40.
34419         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34421 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34423         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34424         Replace gettimeofday with __vdso_gettimeofday.
34426         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34427         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34428         __vdso_clock_gettime and __vdso_getcpu.
34430         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34431         time with __vdso_time.
34433 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34435         * manual/lang.texi (size_t): Note types to which size_t may be
34436         equivalent with the GNU C Library, but do not describe when
34437         differences between them are significant.
34439 2012-03-05  Andreas Jaeger  <aj@suse.de>
34441         * sysdeps/i386/fpu/libm-test-ulps: Update.
34443 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34445         [BZ #3976]
34446         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34447         (__ieee754_pow): Save and restore rounding mode and use
34448         round-to-nearest for main computations.
34449         * math/libm-test.inc (pow_test_tonearest): New function.
34450         (pow_test_towardzero): Likewise.
34451         (pow_test_downward): Likewise.
34452         (pow_test_upward): Likewise.
34453         (main): Call the new functions.
34454         * sysdeps/i386/fpu/libm-test-ulps: Update.
34455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34457         [BZ #3976]
34458         * math/libm-test.inc (cosh_test_tonearest): New function.
34459         (cosh_test_towardzero): Likewise.
34460         (cosh_test_downward): Likewise.
34461         (cosh_test_upward): Likewise.
34462         (sinh_test_tonearest): Likewise.
34463         (sinh_test_towardzero): Likewise.
34464         (sinh_test_downward): Likewise.
34465         (sinh_test_upward): Likewise.
34466         (main): Call the new functions.
34467         * sysdeps/i386/fpu/libm-test-ulps: Update.
34468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34470 2012-03-05  Tom de Vries  <tom@codesourcery.com>
34472         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34473         default stack guard is set in last bytes.
34474         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34476 2012-03-05  Kees Cook  <keescook@chromium.org>
34478         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34480         [BZ #13656]
34481         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34482         possibly allocate from heap instead of stack.
34483         * stdio-common/bug-vfprintf-nargs.c: New file.
34484         * stdio-common/Makefile (tests): Add nargs overflow test.
34486 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
34488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34490 2012-03-03  Marek Polacek  <polacek@redhat.com>
34492         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34493         * math/math_private.h: Likewise.
34494         * stdlib/tst-strtod.c: Likewise.
34495         * sysdeps/i386/i486/bits/atomic.h: Likewise.
34496         * sysdeps/x86_64/bits/atomic.h: Likewise.
34498 2012-03-02  David S. Miller  <davem@davemloft.net>
34500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34504         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34505         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34506         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34507         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34509 2012-03-02  Roland McGrath  <roland@hack.frob.com>
34511         [BZ #13792]
34512         * manual/examples/README: New file, says the example source files
34513         can be used under GPL>=2.
34514         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34515         line containing just "*/".
34516         * manual/examples/add.c: Add copyright header (GPL>=2).
34517         * manual/examples/argp-ex1.c: Likewise.
34518         * manual/examples/argp-ex2.c: Likewise.
34519         * manual/examples/argp-ex3.c: Likewise.
34520         * manual/examples/argp-ex4.c: Likewise.
34521         * manual/examples/atexit.c: Likewise.
34522         * manual/examples/db.c: Likewise.
34523         * manual/examples/dir.c: Likewise.
34524         * manual/examples/dir2.c: Likewise.
34525         * manual/examples/execinfo.c: Likewise.
34526         * manual/examples/filecli.c: Likewise.
34527         * manual/examples/filesrv.c: Likewise.
34528         * manual/examples/fmtmsgexpl.c: Likewise.
34529         * manual/examples/genpass.c: Likewise.
34530         * manual/examples/inetcli.c: Likewise.
34531         * manual/examples/inetsrv.c: Likewise.
34532         * manual/examples/isockad.c: Likewise.
34533         * manual/examples/longopt.c: Likewise.
34534         * manual/examples/memopen.c: Likewise.
34535         * manual/examples/memstrm.c: Likewise.
34536         * manual/examples/mkfsock.c: Likewise.
34537         * manual/examples/mkisock.c: Likewise.
34538         * manual/examples/mygetpass.c: Likewise.
34539         * manual/examples/pipe.c: Likewise.
34540         * manual/examples/popen.c: Likewise.
34541         * manual/examples/rprintf.c: Likewise.
34542         * manual/examples/search.c: Likewise.
34543         * manual/examples/select.c: Likewise.
34544         * manual/examples/setjmp.c: Likewise.
34545         * manual/examples/sigh1.c: Likewise.
34546         * manual/examples/sigusr.c: Likewise.
34547         * manual/examples/stpcpy.c: Likewise.
34548         * manual/examples/strdupa.c: Likewise.
34549         * manual/examples/strftim.c: Likewise.
34550         * manual/examples/strncat.c: Likewise.
34551         * manual/examples/subopt.c: Likewise.
34552         * manual/examples/swapcontext.c: Likewise.
34553         * manual/examples/termios.c: Likewise.
34554         * manual/examples/testopt.c: Likewise.
34555         * manual/examples/testpass.c: Likewise.
34556         * manual/examples/timeval_subtract.c: Likewise.
34558         [BZ #13792]
34559         * manual/time.texi (Elapsed Time): Move timeval_subtract example
34560         function to ...
34561         * manual/timeval_subtract.c.texi: ... here, new file.
34563 2012-03-02  David S. Miller  <davem@davemloft.net>
34565         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34567 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
34569         [BZ #3976]
34570         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34571         (__sin): Save and restore rounding mode and use round-to-nearest
34572         for all computations.
34573         (__cos): Save and restore rounding mode and use round-to-nearest
34574         for all computations.
34575         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34576         <fenv.h>.
34577         (tan): Save and restore rounding mode and use round-to-nearest for
34578         all computations.
34579         * math/libm-test.inc (cos_test_tonearest): New function.
34580         (cos_test_towardzero): Likewise.
34581         (cos_test_downward): Likewise.
34582         (cos_test_upward): Likewise.
34583         (sin_test_tonearest): Likewise.
34584         (sin_test_towardzero): Likewise.
34585         (sin_test_downward): Likewise.
34586         (sin_test_upward): Likewise.
34587         (tan_test_tonearest): Likewise.
34588         (tan_test_towardzero): Likewise.
34589         (tan_test_downward): Likewise.
34590         (tan_test_upward): Likewise.
34591         (main): Call the new functions.
34592         * sysdeps/i386/fpu/libm-test-ulps: Update.
34593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34595         [BZ #10135]
34596         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34597         small n, then large n, before computing and testing k+n.
34598         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34599         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34600         Likewise.
34601         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34602         Likewise.
34603         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34604         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34605         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34606         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34607         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34608         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34609         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34610         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34611         * math/libm-test.inc (scalbn_test): Add more tests.
34612         (scalbln_test): Likewise.
34614         * manual/filesys.texi (mode_t): Describe constraints on size and
34615         signedness, not exact equivalence to a particular type.
34616         (ino_t): Likewise.
34617         (ino64_t): Likewise.
34618         (dev_t): Likewise.
34619         (nlink_t): Likewise.
34620         (blkcnt_t): Likewise.
34621         (blkcnt64_t): Likewise.
34622         * manual/llio.texi (off_t): Likewise.
34624         [BZ #3976]
34625         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34626         (__ieee754_exp): Save and restore rounding mode and use
34627         round-to-nearest for all computations.
34628         * math/libm-test.inc (exp_test_tonearest): New function.
34629         (exp_test_towardzero): Likewise.
34630         (exp_test_downward): Likewise.
34631         (exp_test_upward): Likewise.
34632         (main): Call the new functions.
34633         * sysdeps/i386/fpu/libm-test-ulps: Update.
34634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34636 2012-03-01  Chris Demetriou  <cgd@google.com>
34638         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34639         have predictable order.
34641 2012-03-01  David S. Miller  <davem@davemloft.net>
34643         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34645         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34646         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34647         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34648         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34650         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34651         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34652         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34654         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34655         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34656         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34657         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34658         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34662         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34663         * sysdeps/sparc/fpu/libm-test-ulps: to here.
34664         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34666         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34667         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34668         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34669         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34670         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34671         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34672         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34673         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34674         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34675         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34676         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34677         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34678         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34679         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34680         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34681         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34682         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34683         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34684         * sysdeps/sparc/elf/configure: Regenerated.
34686 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
34688         * configure.in (AS, LD): Require binutils 2.20 or later.
34689         * configure: Regenerated.
34690         * manual/install.texi (Tools for Compilation): Give binutils 2.20
34691         as required minimum version.
34692         * INSTALL: Regenerated.
34694         [BZ #2541]
34695         [BZ #4108]
34696         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34697         before squaring exponent.
34698         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34699         bottom long double and 27 bits of top long double before squaring
34700         exponent.
34701         * math/libm-test.inc (erfc_test): Add more tests.
34702         * sysdeps/i386/fpu/libm-test-ulps: Update.
34703         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34706 2012-03-01  Kai Tietz  <ktietz@redhat.com>
34708         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34709         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34710         containing bit-fields.
34711         * soft-fp/extended.h (_FP_UNION_E): Likewise.
34712         * soft-fp/single.h (_FP_UNION_S): Likewise.
34713         * soft-fp/double.h (_FP_UNION_D): Likewise.
34715 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34717         [BZ #13786]
34718         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34719         not include ../strcmp.S.
34720         [USE_AS_STRNCASECMP_L]: Likewise.
34721         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34722         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34723         * sysdeps/i386/i686/multiarch/strncase_l-c.c
34724         (__strncasecmp_l_ia32): Define as alias to
34725         __strncasecmp_l_nonascii.
34727         [BZ #5794]
34728         * math/libm-test.inc (expm1_test): Add test for bug 5794.
34729         * sysdeps/i386/fpu/libm-test-ulps: Update.
34730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34732         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34735 2012-02-29  Jeff Law  <law@redhat.com>
34737         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34738         out of bounds read.
34740 2012-02-29  Marek Polacek  <polacek@redhat.com>
34742         [BZ #13706]
34743         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34744         * elf/Makefile: Add rules to run tst-unused-dep.out.
34746 2012-02-28  David S. Miller  <davem@davemloft.net>
34748         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34749         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34750         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34751         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34752         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34753         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34755 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34757         * math/libm-test.inc (llround_test): Move one test from
34758         lround_test.  Use TEST_f_L in moved test.
34759         (lround_test): Move misplaced test to llround_test.  Add testcase
34760         from bug 2561.
34762 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
34764         * sysdeps/x86_64/fpu/e_expf.S: New file.
34765         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34767 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
34769         [BZ #13637]
34770         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34771         of remain_len that may cause incomplete multi-byte character and
34772         false match.
34773         * posix/bug-regex33.c: New file.
34774         * posix/Makefile (tests): Add bug-regex33.
34776 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
34778         * manual/macros.texi: New file.
34779         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34780         * manual/libc.texinfo: Include macros.texi.
34781         * manual/creatute.texi: Likewise.
34782         * manual/install.texi: Likewise.
34783         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34784         @glibcadj{} in references to the GNU C Library.
34785         * manual/charset.texi: Likewise.
34786         * manual/conf.texi: Likewise.
34787         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
34788         when not using those macros.
34789         * manual/creature.texi: Likewise.
34790         * manual/crypt.texi: Likewise.
34791         * manual/errno.texi: Likewise.
34792         * manual/filesys.texi: Likewise.
34793         * manual/header.texi: Likewise.
34794         * manual/install.texi: Likewise.
34795         * manual/intro.texi: Likewise.
34796         * manual/io.texi: Likewise.
34797         * manual/job.texi: Likewise.
34798         * manual/lang.texi: Likewise.
34799         * manual/libc.texiinfo: Likewise.
34800         * manual/llio.texi: Likewise.
34801         * manual/locale.texi: Likewise.
34802         * manual/maint.texi: Likewise.
34803         * manual/math.texi: Likewise.
34804         * manual/memory.texi: Likewise.
34805         * manual/message.texi: Likewise.
34806         * manual/nss.texi: Likewise.
34807         * manual/pattern.texi: Likewise.
34808         * manual/process.texi: Likewise.
34809         * manual/resource.texi: Likewise.
34810         * manual/search.texi: Likewise.
34811         * manual/setjmp.texi: Likewise.
34812         * manual/signal.texi: Likewise.
34813         * manual/socket.texi: Likewise.
34814         * manual/startup.texi: Likewise.
34815         * manual/stdio.texi: Likewise.
34816         * manual/string.texi: Likewise.
34817         * manual/sysinfo.texi: Likewise.
34818         * manual/syslog.texi: Likewise.
34819         * manual/terminal.texi: Likewise.
34820         * manual/time.texi: Likewise.
34821         * manual/users.texi: Likewise.
34822         * INSTALL: Regenerated.
34823         * NOTES: Regenerated.
34824         * sysdeps/gnu/errlist.c: Regenerated.
34826 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
34828         * include/dirent.h: Include <dirstream.h> before
34829         <dirent/dirent.h>.
34831 2012-02-28  David S. Miller  <davem@davemloft.net>
34833         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34834         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34835         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34836         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34838 2012-02-27  David S. Miller  <davem@davemloft.net>
34840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34842         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34843         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34846         frame pointer instead of stack pointer relative arg slot.
34847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34848         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34849         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34851 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
34853         [BZ #3992]
34854         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34856 2012-02-27  David S. Miller  <davem@davemloft.net>
34858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34862         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34863         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34864         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34865         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34867 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34869         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34870         later.  Allow versions 5-9.
34871         * configure: Regenerated.
34872         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34873         required minimum version and 4.6 as recommended version.  Do not
34874         mention bugs in GCC 2.7 and 2.8.
34875         * INSTALL: Regenerated.
34877 2012-02-27  David S. Miller  <davem@davemloft.net>
34879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34883         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34884         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34885         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34886         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34888         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34889         manipulate bits before adding and subtracting TWO112[sx].
34890         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34892 2012-02-27  Roland McGrath  <roland@hack.frob.com>
34894         [BZ #13775]
34895         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34896         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34897         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34898         being in POSIX, because they are in 1003.1-2008.
34900         * rt/tst-aio.c: Include <fcntl.h>.
34901         * rt/tst-aio7.c: Likewise.
34902         * rt/tst-aio64.c: Likewise.
34904         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34906 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34908         * manual/install.texi (--with-headers): Describe headers as
34909         interface headers, not private headers.
34910         (Specific advice for GNU/Linux systems): Describe use of headers
34911         from "make headers_install", not private headers from older
34912         kernels.
34913         * INSTALL: Regenerated.
34914         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34915         Change to 2.6.19.
34916         * sysdeps/unix/sysv/linux/configure: Regenerated.
34918         * manual/llio.texi (fclean): Remove documentation.
34920         * manual/Makefile (libc-texi-generated): New variable.  Include
34921         version.texi.
34922         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34923         $(libc-texi-generated), not duplicated list of files.
34924         (version.texi, stamp-version): New rules.
34925         (realclean): Remove $(libc-texi-generated), not individual files
34926         from that list.  Do not remove dir-add.texinfo.
34927         * manual/libc.texinfo: Comment out uses of edition numbers and
34928         references to printed manual.  Remove last-updated dates.
34929         (EDITION): Comment out.
34930         (ISBN): Likewise.
34931         (VERSION, UPDATED): Remove.
34932         (version.texi): Include.
34934 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
34936         * sysdeps/posix/spawni.c: Include <signal.h>.
34937         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34938         * sysdeps/pthread/aio_fsync.c: Likewise.
34940 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
34942         * conform/Makefile (tests): Run only when not cross-compiling and
34943         when fast-check is not defined.
34945         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34946         * conform/data/limits.h-data: Fixes for POSIX2008.
34947         * conform/run-conformtest.sh: Run all tests.
34948         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34949         headers.
34950         * include/bits/dlfcn.h: Likewise.
34951         * include/langinfo.h: Likewise.
34952         * include/monetary.h: Likewise.
34953         * include/sys/poll.h: Likewise.
34955         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34956         for __USE_GNU.
34957         * posix/spawn.h: Define __need_sigset_t.
34958         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34959         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34960         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
34961         to get sigevent_t only.
34962         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34963         only for __USE_GNU.
34964         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34965         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34966         process_vm_writev only for __USE_GNU.
34967         * termios/termios.h: Declare tcgetsid also for POSIX2008.
34969         * conform/Makefile: For now ignore errors from run-conformtest.
34970         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
34971         POSIX to avoid namespace pollution.  Don't prepend headers.
34972         * conform/data/aio.h-data: Fixes for POSIX testing.
34973         * conform/data/fcntl.h-data: Likewise.
34974         * conform/data/glob.h-data: Likewise.
34975         * conform/data/grp.h-data: Likewise.
34976         * conform/data/pthread.h-data: Likewise.
34977         * conform/data/pwd.h-data: Likewise.
34978         * conform/data/signal.h-data: Likewise.
34979         * conform/data/spawn.h-data: Likewise.
34980         * conform/data/stdio.h-data: Likewise.
34981         * conform/data/stdlib.h-data: Likewise.
34982         * conform/data/stropts.h-data: Likewise.
34983         * conform/data/sys/mman.h-data: Likewise.
34984         * conform/data/sys/stat.h-data: Likewise.
34985         * conform/data/sys/types.h-data: Likewise.
34986         * conform/data/sys/wait.h-data: Likewise.
34987         * conform/data/time.h-data: Likewise.
34988         * conform/data/unistd.h-data: Likewise.
34989         * conform/data/utime.h-data: Likewise.
34991         * io/sys/stat.h: fchmod was always in POSIX.
34992         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34993         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34994         * rt/aio.h: Define __need_timespec before including <time.h>.
34995         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34996         struct.  Add forward declaration of pthread_attr_t and use it in
34997         sigevent.
34998         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34999         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35000         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35001         always remove CLK_TCK definition.
35003 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
35005         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35007 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
35009         * conform/run-conformtest.sh: New file.
35010         * conform/Makefile: Run run-conformtest for tests.
35011         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
35012         support.
35014         * conform/data/uchar.h-data: New file.
35015         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35016         * conform/data/arpa/inet.h-data: Likewise.
35017         * conform/data/assert.h-data: Likewise.
35018         * conform/data/complex.h-data: Likewise.
35019         * conform/data/cpio.h-data: Likewise.
35020         * conform/data/ctype.h-data: Likewise.
35021         * conform/data/dirent.h-data: Likewise.
35022         * conform/data/dlfcn.h-data: Likewise.
35023         * conform/data/errno.h-data: Likewise.
35024         * conform/data/fcntl.h-data: Likewise.
35025         * conform/data/float.h-data: Likewise.
35026         * conform/data/fmtmsg.h-data: Likewise.
35027         * conform/data/fnmatch.h-data: Likewise.
35028         * conform/data/ftw.h-data: Likewise.
35029         * conform/data/glob.h-data: Likewise.
35030         * conform/data/grp.h-data: Likewise.
35031         * conform/data/iconv.h-data: Likewise.
35032         * conform/data/inttypes.h-data: Likewise.
35033         * conform/data/langinfo.h-data: Likewise.
35034         * conform/data/libgen.h-data: Likewise.
35035         * conform/data/limits.h-data: Likewise.
35036         * conform/data/locale.h-data: Likewise.
35037         * conform/data/math.h-data: Likewise.
35038         * conform/data/monetary.h-data: Likewise.
35039         * conform/data/mqueue.h-data: Likewise.
35040         * conform/data/ndbm.h-data: Likewise.
35041         * conform/data/net/if.h-data: Likewise.
35042         * conform/data/netdb.h-data: Likewise.
35043         * conform/data/netinet/in.h-data: Likewise.
35044         * conform/data/nl_types.h-data: Likewise.
35045         * conform/data/poll.h-data: Likewise.
35046         * conform/data/pthread.h-data: Likewise.
35047         * conform/data/pwd.h-data: Likewise.
35048         * conform/data/regex.h-data: Likewise.
35049         * conform/data/sched.h-data: Likewise.
35050         * conform/data/search.h-data: Likewise.
35051         * conform/data/semaphore.h-data: Likewise.
35052         * conform/data/setjmp.h-data: Likewise.
35053         * conform/data/signal.h-data: Likewise.
35054         * conform/data/spawn.h-data: Likewise.
35055         * conform/data/stdarg.h-data: Likewise.
35056         * conform/data/stdio.h-data: Likewise.
35057         * conform/data/stdlib.h-data: Likewise.
35058         * conform/data/string.h-data: Likewise.
35059         * conform/data/strings.h-data: Likewise.
35060         * conform/data/stropts.h-data: Likewise.
35061         * conform/data/sys/ipc.h-data: Likewise.
35062         * conform/data/sys/mman.h-data: Likewise.
35063         * conform/data/sys/msg.h-data: Likewise.
35064         * conform/data/sys/resource.h-data: Likewise.
35065         * conform/data/sys/select.h-data: Likewise.
35066         * conform/data/sys/sem.h-data: Likewise.
35067         * conform/data/sys/shm.h-data: Likewise.
35068         * conform/data/sys/socket.h-data: Likewise.
35069         * conform/data/sys/stat.h-data: Likewise.
35070         * conform/data/sys/statvfs.h-data: Likewise.
35071         * conform/data/sys/time.h-data: Likewise.
35072         * conform/data/sys/timeb.h-data: Likewise.
35073         * conform/data/sys/times.h-data: Likewise.
35074         * conform/data/sys/types.h-data: Likewise.
35075         * conform/data/sys/uio.h-data: Likewise.
35076         * conform/data/sys/un.h-data: Likewise.
35077         * conform/data/sys/utsname.h-data: Likewise.
35078         * conform/data/sys/wait.h-data: Likewise.
35079         * conform/data/syslog.h-data: Likewise.
35080         * conform/data/tar.h-data: Likewise.
35081         * conform/data/termios.h-data: Likewise.
35082         * conform/data/utime.h-data: Likewise.
35083         * conform/data/utmpx.h-data: Likewise.
35084         * conform/data/varargs.h-data: Likewise.
35085         * conform/data/wchar.h-data: Likewise.
35086         * conform/data/wctype.h-data: Likewise.
35087         * conform/data/wordexp.h-data: Likewise.
35089         * include/stropts.h: New file.
35090         * include/uchar.h: New file.
35091         * include/aio.h: Changes to allow conformtest.pl to use the headers.
35092         * include/assert.h: Likewise.
35093         * include/ctype.h: Likewise.
35094         * include/dirent.h: Likewise.
35095         * include/dlfcn.h: Likewise.
35096         * include/fcntl.h: Likewise.
35097         * include/fnmatch.h: Likewise.
35098         * include/glob.h: Likewise.
35099         * include/grp.h: Likewise.
35100         * include/libio.h: Likewise.
35101         * include/locale.h: Likewise.
35102         * include/math.h: Likewise.
35103         * include/net/if.h: Likewise.
35104         * include/netdb.h: Likewise.
35105         * include/netinet/in.h: Likewise.
35106         * include/pthread.h: Likewise.
35107         * include/pwd.h: Likewise.
35108         * include/regex.h: Likewise.
35109         * include/sched.h: Likewise.
35110         * include/search.h: Likewise.
35111         * include/setjmp.h: Likewise.
35112         * include/signal.h: Likewise.
35113         * include/stdio.h: Likewise.
35114         * include/stdlib.h: Likewise.
35115         * include/string.h: Likewise.
35116         * include/sys/cdefs.h: Likewise.
35117         * include/sys/mman.h: Likewise.
35118         * include/sys/msg.h: Likewise.
35119         * include/sys/resource.h: Likewise.
35120         * include/sys/select.h: Likewise.
35121         * include/sys/socket.h: Likewise.
35122         * include/sys/stat.h: Likewise.
35123         * include/sys/statvfs.h: Likewise.
35124         * include/sys/time.h: Likewise.
35125         * include/sys/times.h: Likewise.
35126         * include/sys/uio.h: Likewise.
35127         * include/sys/utsname.h: Likewise.
35128         * include/sys/wait.h: Likewise.
35129         * include/termios.h: Likewise.
35130         * include/time.h: Likewise.
35131         * include/ulimit.h: Likewise.
35132         * include/unistd.h: Likewise.
35133         * include/utime.h: Likewise.
35134         * include/wchar.h: Likewise.
35135         * include/wctype.h: Likewise.
35136         * include/wordexp.h: Likewise.
35138         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35140         * time/time.h: TIME_UTC must be a macro.
35141         Make timespec_get available for ISO C11 only as well.
35143 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
35145         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35146         Reported by Peng Haitao <penght@cn.fujitsu.com>.
35148 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35150         * configure.in: Use -o not -a in test for unsupported multi-arch.
35152 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35154         * manual/texinfo.tex: Update to version 2012-01-19.16.
35156 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35158         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35160 2012-02-24  Roland McGrath  <roland@hack.frob.com>
35162         [BZ #13738]
35163         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35164         * manual/fdl-1.3.texi: New file.
35165         * manual/fdl-1.1.texi: File removed.
35167         [BZ #13738]
35168         * manual/libc.texinfo (FDL_VERSION): New @set.
35169         Use it for mention of FDL in cover text.
35170         (Documentation License): Use it in @include file name.
35172 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35173             Roland McGrath  <roland@hack.frob.com>
35175         [BZ #5461]
35176         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35177         (not LONG_LONG_MAX and LONG_LONG_MIN.
35178         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35179         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
35180         name.
35181         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35183 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35185         [BZ #2547]
35186         [BZ #11365]
35187         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35188         manipulate bits before adding and subtracting TWO23[sx].
35189         * math/libm-test.inc (nearbyint_test): Add more tests.
35191 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35193         [BZ #2548]
35194         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35195         bits before adding and subtracting TWO23[sx].
35196         * math/libm-test.inc (rint_test): Add more tests.
35197         (rint_test_tonearest): Likewise.
35198         (rint_test_towardzero): Likewise.
35199         (rint_test_downward): Likewise.
35200         (rint_test_upward: Likewise.
35202 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35204         [BZ #10110]
35205         * include/stdc-predef.h: New file.  Extracted from features.h.
35206         * include/features.h: Include stdc-predef.h.
35207         * Makefile (headers): Add stdc-predef.h.
35208         * CONFORMANCE (Compiler limitations): Update.
35210 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35212         * manual/libc.texinfo (VERSION, UPDATED): Revert.
35214 2012-02-21  David S. Miller  <davem@davemloft.net>
35216         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35217         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35219 2012-02-20  David S. Miller  <davem@davemloft.net>
35221         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35222         using a normal save/restore sequence, rather than allocating a
35223         dummy stack frame just to store a frame pointer and restore.
35224         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35226 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35228         * manual/install.texi: Fix stray word in line-wrapped comment.
35230 2012-02-20  David S. Miller  <davem@davemloft.net>
35232         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35233         both binutils and gcc support GOTDATA.
35235         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35236         "rd %pc" in the PIC register setup sequences.
35238         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35239         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35240         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35241         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35242         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35243         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35244         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35245         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35246         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35247         (SYSCALL_ERROR_HANDLER): Likewise.
35248         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35249         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35251         (SYSCALL_ERROR_HANDLER): Likewise.
35253         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35254         (HAVE_GCC_GOTDATA): New.
35255         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35256         relocation support in both binutils and gcc.
35257         * sysdeps/sparc/elf/configure: Regenerate.
35259         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35260         * sysdeps/sparc/sparc32/elf/configure: Delete.
35261         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35262         * sysdeps/sparc/sparc64/elf/configure: Delete.
35263         * sysdeps/sparc/elf/configure.in: New file.
35264         * sysdeps/sparc/elf/configure: Generate.
35266         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35267         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35268         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35269         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35270         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35272 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35274         * manual/install.texi: Do not mention specific glibc version
35275         numbers.
35276         * manual/libc.texinfo (VERSION, UPDATED): Update.
35277         (@copying): Use @copyright{} and range of years.
35279 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35281         [BZ #13695]
35282         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35283         [crti.S not in sysdirs] (generated): Do not append.
35284         [crti.S not in sysdirs] (omit-deps): Likewise.
35285         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35286         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35287         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35288         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35289         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35290         Likewise.
35291         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35292         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35293         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35294         * csu/defs.awk: Remove file.
35295         * sysdeps/generic/initfini.c: Likewise.
35296         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35297         variable.
35298         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35299         Likewise.
35301 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35303         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35304         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35305         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35306         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35307         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35308         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35309         <bits/epoll.h>.
35310         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35311         (__EPOLL_PACKED): Define to empty if not defined by
35312         <bits/epoll.h>.
35313         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35315         bits/epoll.h.
35317 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35319         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35320         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35321         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35322         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35323         <bits/timerfd.h>.
35324         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35326         bits/timerfd.h.
35328 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35330         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35331         in C locale.
35332         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35333         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35334         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35337 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
35339         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35340         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35342 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
35344         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35345         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35346         defined.
35347         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35348         Likewise.
35349         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35350         entry for 2.16.
35352 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
35354         * math/w_acos.c: Use non-signaling floating-point comparisons.
35355         * math/w_acosf.c: Likewise.
35356         * math/w_acosh.c: Likewise.
35357         * math/w_acoshf.c: Likewise.
35358         * math/w_acoshl.c: Likewise.
35359         * math/w_acosl.c: Likewise.
35360         * math/w_asin.c: Likewise.
35361         * math/w_asinf.c: Likewise.
35362         * math/w_asinl.c: Likewise.
35363         * math/w_atanh.c: Likewise.
35364         * math/w_atanhf.c: Likewise.
35365         * math/w_atanhl.c: Likewise.
35366         * math/w_exp2.c: Likewise.
35367         * math/w_exp2f.c: Likewise.
35368         * math/w_exp2l.c: Likewise.
35369         * math/w_j0.c: Likewise.
35370         * math/w_j0f.c: Likewise.
35371         * math/w_j0l.c: Likewise.
35372         * math/w_j1.c: Likewise.
35373         * math/w_j1f.c: Likewise.
35374         * math/w_j1l.c: Likewise.
35375         * math/w_jn.c: Likewise.
35376         * math/w_jnf.c: Likewise.
35377         * math/w_log.c: Likewise.
35378         * math/w_log10.c: Likewise.
35379         * math/w_log10f.c: Likewise.
35380         * math/w_log10l.c: Likewise.
35381         * math/w_log2.c: Likewise.
35382         * math/w_log2f.c: Likewise.
35383         * math/w_log2l.c: Likewise.
35384         * math/w_logf.c: Likewise.
35385         * math/w_logl.c: Likewise.
35386         * math/w_sqrt.c: Likewise.
35387         * math/w_sqrtf.c: Likewise.
35388         * math/w_sqrtl.c: Likewise.
35389         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35390         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35391         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35392         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35393         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35395 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35397         [BZ #9739]
35398         * manual/string.texi (strnlen): Use correct parameter name in
35399         equivalent expression.
35401 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35403         [BZ #11174]
35404         * manual/users.texi (seteuid): Consistently use neweuid for
35405         argument name.
35407 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35409         [BZ #13704]
35410         * manual/nss.texi (Services in the NSS configuration): Correct
35411         list of services in example configuration file.
35413 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
35415         [BZ #11322]
35416         * manual/arith.texi: Remove statements about negative zero
35417         behaving identically to zero.
35419 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35421         [BZ #5993]
35422         * manual/install.texi: Do not document upgrading from libc5.
35424 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35426         [BZ #4596]
35427         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35429 2012-02-18  David S. Miller  <davem@davemloft.net>
35431         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35432         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35433         %o7 across the call.
35434         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35435         instead.
35436         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35437         SETUP_PIC_REG_LEAF.
35438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35439         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35440         * sysdeps/sparc/crtn.S: Likewise.
35442 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
35444         * aout/Makefile: Remove.
35446 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
35448         [BZ #13058]
35449         * manual/examples/argp-ex1.c (main): Format definition in GNU
35450         style.
35451         * manual/examples/argp-ex2.c (main): Likewise.
35452         * manual/examples/argp-ex3.c (main): Likewise.
35453         * manual/examples/argp-ex4.c (main): Likewise.
35454         * manual/examples/longopt.c (main): Use new-style prototype
35455         definition.
35456         * manual/examples/strncat.c (main): Specify return type and use
35457         (void) for arguments.
35458         * manual/examples/subopt.c (main): Use char **argv argument.
35460 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35462         [BZ #5077]
35463         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35464         rounding modes.
35466 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
35468         [BZ #6907]
35469         * manual/string.texi (strchr): Change when strchrnul is
35470         recommended.
35472 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
35474         [BZ #174]
35475         * manual/locale.texi (setlocale): Document LOCPATH.
35477 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35479         [BZ #10210]
35480         * manual/process.texi (execle): Move @dots{} before last argument.
35482 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
35484         [BZ #12047]
35485         * manual/charset.texi (Generic Charset Conversion): Fix typo
35486         (LC_TYPE -> LC_CTYPE).
35488 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
35490         [BZ #5805]
35491         * manual/arith.texi (scalbn): Use @var{} on parameter names.
35492         (scalbnf): Likewise.
35493         (scalbnl): Likewise.
35494         (scalbln): Likewise.
35495         (scalblnf): Likewise.
35496         (scalblnl): Likewise.
35497         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35498         (vwarnx): Likewise.
35499         (verr): Likewise.
35500         (verrx): Likewise.
35501         * manual/filesys.texi (telldir): Use braces around return type.
35502         * manual/llio.texi (mmap): Add space after comma.
35503         (mmap64): Likewise.
35504         * manual/math.texi (jn): Use @var{} on parameter names.
35505         (jnf): Likewise.
35506         (jnl): Likewise.
35507         (yn): Likewise.
35508         (ynf): Likewise.
35509         (ynl): Likewise.
35510         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35511         line.
35512         * manual/resource.texi (ulimit): Use @dots{} instead of literal
35513         "...".
35514         (sched_get_priority_min): Remove semicolon on @deftypefun line.
35515         (sched_get_priority_max): Likewise.
35516         * manual/signal.texi (sigvec): Add space after comma.
35517         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35518         names.
35519         (if_indextoname): Likewise.
35520         (if_freenameindex): Likewise.
35521         (sendto): Use ',' instead of '.' in prototype.
35522         * manual/startup.texi (syscall): Use @dots{} instead of literal
35523         "...".
35524         * manual/stdio.texi (__fpending): Separate initial words of
35525         paragraph from @deftypefun line.
35526         * manual/syslog.texi (syslog): Use @dots{} instead of literal
35527         "...".
35528         (vsyslog): Use @var{} on parameter names.
35529         * manual/terminal.texi (stty): Use @var{} on parameter names.
35530         * manual/users.texi (getutmp): Use @var{} on parameter names.
35531         (getutmpx): Likewise.
35533 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35535         [BZ #6884]
35536         * manual/stdio.texi (fopen): Fix typos in description of
35537         ",ccs=STRING".
35539 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
35541         [BZ #4026]
35542         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35543         get clock_id definition.
35545 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
35547         [BZ #4822]
35548         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35549         (madvise): Cast every argument to void on its own.
35551 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35553         [BZ #9902]
35554         * manual/startup.texi (Exit Status): Fix typo.
35556 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35558         [BZ #10140]
35559         * manual/examples/argp-ex1.c: Include <stdlib.h>.
35560         * manual/examples/argp-ex2.c: Likewise.
35561         * manual/examples/argp-ex3.c: Likewise.
35563 2012-02-16  Richard Henderson  <rth@redhat.com>
35565         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35566         * sysdeps/s390/s390-32/initfini.c: Remove.
35567         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35568         * sysdeps/s390/s390-64/initfini.c: Remove.
35570 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35572         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35573         compiler output for sysdeps/generic/initfini.c.
35574         * sysdeps/sh/elf/initfini.c: Remove file.
35576 2012-02-16  David S. Miller  <davem@davemloft.net>
35578         [BZ #11494]
35579         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35581         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35582         * sysdeps/sparc/crti.S: New file.
35583         * sysdeps/sparc/crtn.S: New file.
35584         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35585         * sysdeps/sparc/sparc64/Makefile: Likewise.
35587 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
35589         [BZ #3335]
35590         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35592 2012-02-15  Roland McGrath  <roland@hack.frob.com>
35594         [BZ #4822]
35595         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35597         * mach/devstream.c (cookie_io_functions_t): Macro removed.
35598         (write, read, close): Likewise.
35599         Patch by Aurelien Jarno <aurelien@aurel32.net>.
35601 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
35603         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35604         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35605         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35606         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35607         <bits/signalfd.h>.
35608         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35610         bits/signalfd.h.
35612 2012-02-14  Marek Polacek  <polacek@redhat.com>
35614         * sysdeps/x86_64/crti.S: New file.
35615         * sysdeps/x86_64/crtn.S: New file.
35616         * sysdeps/x86_64/elf/initfini.c: Remove file.
35618 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35620         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35621         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35622         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35623         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35624         <bits/inotify.h>.
35625         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35626         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35627         bits/inotify.h.
35629 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35631         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35632         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35633         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35634         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35635         <bits/eventfd.h>.
35636         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35637         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35638         bits/eventfd.h.
35640 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
35642         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35643         __feraiseexcept instead of feraiseexcept.
35645         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35646         nanosleep invocations.
35647         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35648         strings, and add error checking for a nanosleep invocations.
35650 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
35652         Replace FSF snail mail address with URLs, as per GNU coding standards.
35653         Most of the snail mail addresses were wrong anyway, and omitting
35654         them makes the source code easier to maintain.  Almost all of the
35655         changes are to license notices and to locale LC_IDENTIFICATION
35656         addresses, except for this one:
35657         * manual/libc.texinfo: In "Published by", give the FSF's URL,
35658         not its snail mail address.
35660 2012-02-09  Richard Henderson  <rth@twiddle.net>
35662         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35663         of kernel-features.h.
35665         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35667 2012-02-08  Marek Polacek  <polacek@redhat.com>
35669         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35670         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35671         * sysdeps/gnu/_G_config.h: Likewise.
35672         * sysdeps/generic/_G_config.h: Likewise.
35674 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
35676         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35677         tests.
35678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35680         * sysdeps/powerpc/powerpc32/crti.S: New file.
35681         * sysdeps/powerpc/powerpc32/crtn.S: New file.
35682         * sysdeps/powerpc/powerpc64/crti.S: New file.
35683         * sysdeps/powerpc/powerpc64/crtn.S: New file.
35685         * Makeconfig (have-initfini): Don't set.
35686         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35687         * configure.in (nopic_initfini): Don't substitute.
35688         * config.h.in (HAVE_INITFINI): Don't #undef.
35689         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35690         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35692 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
35694         Support crti.S and crtn.S provided directly by architectures.
35695         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35696         [crti.S in sysdirs] (omit-deps): Likewise.
35697         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35698         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35699         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35700         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35701         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35702         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35703         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35704         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35705         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35706         compiler output for sysdeps/generic/initfini.c.
35707         * sysdeps/i386/elf/Makefile: Remove file.
35708         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35710 2012-02-07  Marek Polacek  <polacek@redhat.com>
35712         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35713         * sysdeps/gnu/_G_config.h: Likewise.
35714         * sysdeps/mach/hurd/_G_config.h: Likewise.
35716 2012-02-07  Marek Polacek  <polacek@redhat.com>
35718         * math/Makefile (tests): Add tst-CMPLX2.
35719         * math/tst-CMPLX2.c: New file.
35721 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
35723         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35725         * math/libm-test.inc (jn_test): Add missing L suffix.
35727 2012-02-06  Marek Polacek  <polacek@redhat.com>
35729         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35730         * sysdeps/i386/fpu/e_powf.S: Likewise.
35731         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35732         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35733         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35734         * sysdeps/i386/fpu/e_pow.S: Likewise.
35735         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35736         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35737         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35738         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35739         * sysdeps/i386/fpu/e_log2.S: Likewise.
35740         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35741         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35742         * sysdeps/i386/fpu/e_powl.S: Likewise.
35743         * sysdeps/i386/fpu/s_log1p.S: Likewise.
35744         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35745         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35746         * sysdeps/i386/fpu/e_logl.S: Likewise.
35747         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35748         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35749         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35750         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35751         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35752         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35753         * sysdeps/i386/fpu/e_log.S: Likewise.
35754         * sysdeps/i386/fpu/s_cexp.S: Likewise.
35755         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35756         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35757         * sysdeps/i386/fpu/e_logf.S: Likewise.
35758         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35759         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35760         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35761         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35762         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35763         * sysdeps/i386/fpu/e_log10.S: Likewise.
35764         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35765         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35766         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35767         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35768         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35769         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35770         * sysdeps/i386/asm-syntax.h: Likewise.
35771         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35772         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35773         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35774         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35775         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35776         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35777         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35778         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35779         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35780         * sysdeps/powerpc/sysdep.h: Likewise.
35781         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35782         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35784 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35786         [BZ #411]
35787         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35789 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35791         * sysdeps/i386/sysdep.h: Include <features.h>.
35792         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35793         version.
35795 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
35797         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35798         Define.
35799         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35800         LOAD_PIC_REG_STR.
35802 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35804         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35805         (SETUP_PIC_REG): Use GET_PC_THUNK.
35806         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35807         macro.
35809 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35811         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35812         for non-PIC compilation.
35813         (SETUP_PIC_REG): Add .p2align directive.
35814         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35815         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35816         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35817         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35818         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35819         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35820         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35821         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35822         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35823         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35824         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35825         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35826         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35827         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35828         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35829         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35830         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35831         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35832         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35833         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35834         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35835         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35836         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35837         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35838         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35839         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35840         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35841         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35842         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35843         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35844         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35845         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35846         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35847         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35848         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35849         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35850         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35851         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35852         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35853         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35854         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35856 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35858         * math/tst-CMPLX.c: Include <stdio.h>.
35860 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
35862         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35863         float.
35864         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35865         * sysdeps/sparc/bits/mathdef.h: Likewise.
35867 2012-01-31  Marek Polacek  <polacek@redhat.com>
35869         * libio/libio.h: Don't define _PARAMS.
35870         * locale/programs/config.h: Don't define PARAMS.
35871         * stdlib/strtol_l.c: Likewise.
35872         (__strtol_l): Remove PARAMS from the prototype.
35874 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
35876         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
35877         names.  Just use the correct names.  Remove unnecessary wrapper
35878         functions.
35879         * malloc/arena.c: Likewise.
35880         * malloc/hooks.c: Likewise.
35882         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35883         ARENA_TEST says not to.  Simplify test for creation of a new arena.
35884         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35886 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
35888         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35889         into tail calls.
35890         (update_get_addr): New function.
35891         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35892         GET_ADDR_MODULE parameter.
35894 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35896         * crypt/cert.c: Remove __STDC__ conditionals.
35897         * crypt/crypt-entry.c: Likewise.
35898         * crypt/crypt_util.c: Likewise.
35899         * libio/filedoalloc.c: Likewise.
35900         * libio/fileops.c: Likewise.
35901         * libio/genops.c: Likewise.
35902         * libio/iofclose.c: Likewise.
35903         * libio/iofdopen.c: Likewise.
35904         * libio/iofopen.c: Likewise.
35905         * libio/iofopen64.c: Likewise.
35906         * libio/iogetdelim.c: Likewise.
35907         * libio/iopopen.c: Likewise.
35908         * libio/obprintf.c: Likewise.
35909         * libio/oldfileops.c: Likewise.
35910         * libio/oldiofclose.c: Likewise.
35911         * libio/oldiofdopen.c: Likewise.
35912         * libio/oldiofopen.c: Likewise.
35913         * libio/oldiopopen.c: Likewise.
35914         * libio/wfiledoalloc.c: Likewise.
35915         * libio/wgenops.c: Likewise.
35916         * locale/programs/xmalloc.c: Likewise.
35917         * misc/syslog.c: Likewise.
35918         * stdio-common/xbug.c: Likewise.
35919         * string/memchr.c: Likewise.
35920         * string/memcmp.c: Likewise.
35921         * string/memrchr.c: Likewise.
35922         * string/rawmemchr.c: Likewise.
35923         * sysdeps/posix/getcwd.c: Likewise.
35924         * time/strftime_l.c: Likewise.
35926 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35928         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35929         * config.make.in (config-cflags-sse2avx): Define.
35930         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35931         Fix typo.
35933 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
35935         * scripts/config.guess: Update from upstream config git repository.
35936         * scripts/config.sub: Likewise.
35938 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
35940         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35941         (EM_NUM): Update.
35942         (R_TILEPRO_*, R_TILEGX_*): New macros.
35944         * scripts/firstversions.awk: Fix bug in version range handling.
35946         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35948         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35950         * include/sys/epoll.h: New file.
35951         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35952         libc_hidden_def.
35954 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
35956         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35957         Avoid unnecessary __WORDSIZE == 64 test.
35958         (fmaxf): Use VEX format if possible.
35959         (fmax): Likewise.
35960         (fminf): Likewise.
35961         (fmin): Likewise.
35963         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35964         * math/math_private.h: Remove libc_fegetround* and
35965         libc_fesetround*.
35966         * sysdeps/i386/configure.in: Check for -msse2avx.
35967         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35968         also if SSE2AVX is defined.
35969         Remove libc_fegetround* and libc_fesetround*.
35970         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35971         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
35972         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35973         of HAS_YMM_USABLE.
35974         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35975         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35976         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35977         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35978         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35980         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35982 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35984         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35985         size is not set.
35986         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35988 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
35990         [BZ #13618]
35991         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35992         relocation.
35993         * Makeconfig (libm): Define.
35994         * elf/Makefile: Add rules to build and run tst-relsort1.
35995         * elf/tst-relsort1.c: New file.
35996         * elf/tst-relsort1mod1.c: New file.
35997         * elf/tst-relsort1mod2.c: New file.
35999 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
36001         * math/s_ldexp.c: Remove __STDC__ conditionals.
36002         * math/s_ldexpf.c: Likewise.
36003         * math/s_ldexpl.c: Likewise.
36004         * math/s_nextafter.c: Likewise.
36005         * math/s_nexttowardf.c: Likewise.
36006         * math/s_significand.c: Likewise.
36007         * math/s_significandf.c: Likewise.
36008         * math/s_significandl.c: Likewise.
36009         * math/w_jnl.c: Likewise.
36010         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36011         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36012         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36013         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36014         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36015         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36016         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36017         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36018         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36019         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36020         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36021         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36022         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36023         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36024         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36025         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36026         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36027         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36028         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36029         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36030         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36031         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36032         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36033         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36034         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36035         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36036         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36037         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36038         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36039         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36040         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36041         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36042         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36043         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36044         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36045         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36046         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36047         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36048         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36049         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36050         * sysdeps/ieee754/k_standard.c: Likewise.
36051         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36052         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36053         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36054         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36055         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36056         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36057         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36058         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36059         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36060         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36061         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36062         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36063         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36064         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36065         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36066         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36067         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36068         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36069         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36070         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36071         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36072         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36073         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36074         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36075         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36076         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36077         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36078         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36079         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36080         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36081         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36082         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36083         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36084         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36085         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36086         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36087         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36088         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36089         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36090         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36091         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36092         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36093         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36094         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36095         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36096         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36097         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36098         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36099         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36100         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36101         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36102         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36103         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36104         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36105         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36106         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36107         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36108         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36109         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36110         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36111         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36112         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36113         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36114         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36115         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36116         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36117         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36118         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36119         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36120         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36121         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36122         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36123         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36124         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36125         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36126         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36127         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36128         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36129         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36130         * sysdeps/ieee754/s_matherr.c: Likewise.
36131         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36132         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36133         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36134         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36136 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
36138         * crypt/md5.h: Remove __STDC__ conditionals.
36139         * libio/libioP.h: Likewise.
36140         * locale/programs/config.h: Likewise.
36141         * sysdeps/generic/sysdep.h: Likewise.
36142         * sysdeps/i386/asm-syntax.h: Likewise.
36143         * sysdeps/s390/asm-syntax.h: Likewise.
36144         * sysdeps/unix/sysdep.h: Likewise.
36145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36148 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
36150         * libio/libio.h: Remove __STDC__ conditionals.
36151         * malloc/obstack.h: Likewise.
36152         * math/complex.h: Likewise.
36153         * math/math.h: Likewise.
36154         * sysdeps/generic/_G_config.h: Likewise.
36155         * sysdeps/gnu/_G_config.h: Likewise.
36156         * sysdeps/mach/hurd/_G_config.h: Likewise.
36157         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36158         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36159         * sysdeps/sparc/bits/mathdef.h: Likewise.
36161 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
36163         [BZ #13583]
36164         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36165         Clean up HAS_* macros.
36166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36167         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36168         possible.
36169         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36170         HAS_AVX.
36171         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36172         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36173         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36174         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36175         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36177 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
36179         * elf/tst-unique3.cc (gets): Remove declaration.
36180         * elf/tst-unique3lib.cc (gets): Likewise.
36181         * elf/tst-unique3lib2.cc (gets): Likewise.
36182         * elf/tst-unique4.cc (gets): Likewise.
36184 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
36186         * include/stdio.h: Add C++ protection.  Add gets declarations and
36187         definitions.
36188         * debug/tst-chk1.c: Don't declare gets here.
36189         * stdio-common/tst-gets.c: Likewise.
36191 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36193         * posix/glob: Remove directory.
36195 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36197         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36199 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
36201         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36202         of the non-standard EPFNOSUPPORT.
36204 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36206         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36207         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36208         ANYWHERE set to 1 only on KERN_NO_SPACE error.
36210 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
36212         * wcsmbs/uchar.h: Test __STDC_VERSION__.
36214 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
36216         * nscd/aicache.c (addhstaiX): Do not cache negative results of
36217         transient errors.
36218         * nscd/grpcache.c (cache_addgr): Likewise.
36219         * nscd/hstcache.c (cache_addhst): Likewise.
36220         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36221         * nscd/pwdcache.c (cache_addpw): Likewise.
36222         * nscd/servicescache.c (cache_addserv): Likewise.
36224 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
36226         * malloc/malloc.c: Various cleanups.
36227         * malloc/hooks.c: Likewise.
36229         * stdlib/Makefile (tests): Add bug-fmtmsg1.
36230         * stdlib/bug-fmtmsg1.c: New file.
36232         * stdlib/fmtmsg.c (init): Add missing unlock.
36233         Patch by Peng Haitao <penght@cn.fujitsu.com>.
36235 2012-01-12  Marek Polacek  <polacek@redhat.com>
36237         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36238         and _GNU_SOURCE.
36240 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
36242         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36243         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36244         macro to ensure uniqueness of label name.
36245         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36246         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36248 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
36250         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36252         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36253         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36254         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36255         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36257 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
36259         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36261         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36262         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36263         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36265         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36267         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36268         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36269         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36270         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36272         * math/bits/math-finite.h: Add ldexp support.
36274 2012-01-10  Marek Polacek  <polacek@redhat.com>
36276         * locale/programs/localedef.h (show_archive_content): Add noreturn
36277         attribute.
36279 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
36281         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36283 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36285         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36287         * io/Makefile (headers): Add bits/poll2.h.
36289 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
36291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36292         typo #include statement.
36294 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36296         * include/sys/cdefs.h: Define __attribute_alloc_size.
36297         * catgets/gencat.c: Add alloc_size attribute and apply consistently
36298         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36299         * elf/pldd.c: Likewise.
36300         * iconv/iconv_charmap.c: Likewise.
36301         * iconv/iconvconfig.c: Likewise.
36302         * iconv/strtab.c: Likewise.
36303         * locale/programs/locale.c: Likewise.
36304         * locale/programs/localedef.h: Likewise.
36305         * locale/programs/simple-hash.c: Likewise.
36306         * nscd/nscd.h: Likewise.
36307         * nss/makedb.c: Likewise.
36308         * sysdeps/generic/ldconfig.h: Likewise.
36309         * locale/programs/localedef.c: Remove xmalloc prototype.
36310         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36312 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36314         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36315         appropriate.
36317 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36319         * math/Makefile (tests): Add tst-CMPLX.
36320         * math/tst-CMPLX.c: New file.
36322         * math/complex.h (CMPLXL): Fix typo.
36324         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36325         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36326         GLIBC_2.16.
36327         * debug/tst-chk1.c: Add poll and ppoll tests.
36328         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36329         * include/sys/poll.h: Add hidden proto for ppoll.
36330         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36331         * sysdeps/mach/hurd/ppoll.c: Likewise.
36332         * io/ppoll.c: Likewise.
36333         * debug/poll_chk.c: New file.
36334         * debug/ppoll_chk.c: New file.
36335         * include/bits/poll2.h: New file.
36336         * io/bits/poll2.h: New file.
36338         [BZ #1350]
36339         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36341         * configure.in: static is always set to yes.  Remove.
36342         * config.make.in: Don't set build-static.
36343         * Makeconfig: Remove use of build-static.
36344         * dlfcn/Makefile: Likewise.
36345         * elf/Makefile: Likewise.
36346         * math/Makefile: Likewise.
36347         * misc/Makefile: Likewise.
36348         * nptl/Makefile: Likewise.
36349         * sysdeps/mach/hurd/Makefile: Likewise.
36351         * configure.in: PWD_P is not used anymore.
36352         * config.make.in: Remove PWD_P entry.
36354         * configure.in: Remove last remnants of RANLIB.
36355         No need to check for signed size_t anymore.
36356         Don't set libc_commonpagesize and libc_relro_required here for Alpha
36357         and IA-64.
36358         Remove __builtin_expect test because we require at least gcc 3.4.
36359         * aclocal.m4: Likewise.
36361         * wcsmbs/mbrtoc16.c: Implement using towc function.
36362         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36363         * wcsmbs/wcsmbsload.c: Likewise.
36364         * iconv/gconv_simple.c: Likewise.
36365         * iconv/gconv_int.h: Likewise.
36366         * iconv/gconv_builtin.h: Likewise.
36367         * iconv/iconv_prog.c: Remove CHAR16 handling.
36369         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36371         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36373         * configure.in: Remove --with-elf and --enable-bounded options.
36374         Dont set base_machine for ia64.  More non-ELF conditions removed.
36375         Remove testing and setting of leading underscore information.
36376         * config.make.in (build-bounded): Set to no.
36377         * config.h.in: Remove NO_UNDERSCORES entry.
36378         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
36379         them.
36380         * csu/start.c: Remove !NO_UNDERSCORE code.
36381         * locale/localeinfo.h: Likewise.
36382         * sysdeps/generic/machine-gmon.h: Likewise.
36383         * sysdeps/generic/sysdep.h: Likewise.
36384         * sysdeps/i386/sysdep.h: Likewise.
36385         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36386         * sysdeps/mach/sysdep.h: Likewise.
36387         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36388         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36389         * sysdeps/sh/sysdep.h: Likewise.
36390         * sysdeps/sparc/sparc32/alloca.S: Likewise.
36391         * sysdeps/unix/i386/sysdep.S: Likewise.
36392         * sysdeps/unix/sparc/start.c: Likewise.
36393         * sysdeps/unix/sparc/sysdep.S: Likewise.
36394         * sysdeps/unix/sparc/sysdep.h: Likewise.
36395         * sysdeps/unix/start.c: Likewise.
36396         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36397         * sysdeps/x86_64/sysdep.h: Likewise.
36399 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
36401         [BZ #13553]
36402         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36403         for non-gcc.
36404         * argp/argp-fmtstream.h: Use const instead __const.
36405         * argp/argp.h: Likewise.
36406         * assert/assert.h: Likewise.
36407         * bits/fenv.h: Likewise.
36408         * bits/sched.h: Likewise.
36409         * bits/sigset.h: Likewise.
36410         * bits/sigthread.h: Likewise.
36411         * catgets/nl_types.h: Likewise.
36412         * conform/data/pthread.h-data: Likewise.
36413         * crypt/crypt-private.h: Likewise.
36414         * crypt/crypt.h: Likewise.
36415         * crypt/crypt_util.c: Likewise.
36416         * ctype/ctype.h: Likewise.
36417         * debug/execinfo.h: Likewise.
36418         * debug/mbsnrtowcs_chk.c: Likewise.
36419         * debug/mbsrtowcs_chk.c: Likewise.
36420         * debug/wcsnrtombs_chk.c: Likewise.
36421         * debug/wcsrtombs_chk.c: Likewise.
36422         * debug/wcstombs_chk.c: Likewise.
36423         * dirent/dirent.h: Likewise.
36424         * dlfcn/dlfcn.h: Likewise.
36425         * elf/neededtest4.c: Likewise.
36426         * grp/grp.h: Likewise.
36427         * gshadow/gshadow.h: Likewise.
36428         * iconv/gconv.h: Likewise.
36429         * iconv/gconv_int.h: Likewise.
36430         * iconv/gconv_simple.c: Likewise.
36431         * iconv/iconv.h: Likewise.
36432         * iconv/loop.c: Likewise.
36433         * iconv/skeleton.c: Likewise.
36434         * include/aio.h: Likewise.
36435         * include/aliases.h: Likewise.
36436         * include/argz.h: Likewise.
36437         * include/arpa/inet.h: Likewise.
36438         * include/assert.h: Likewise.
36439         * include/dirent.h: Likewise.
36440         * include/dlfcn.h: Likewise.
36441         * include/execinfo.h: Likewise.
36442         * include/fcntl.h: Likewise.
36443         * include/fenv.h: Likewise.
36444         * include/glob.h: Likewise.
36445         * include/grp.h: Likewise.
36446         * include/libintl.h: Likewise.
36447         * include/mntent.h: Likewise.
36448         * include/netdb.h: Likewise.
36449         * include/pwd.h: Likewise.
36450         * include/rpc/netdb.h: Likewise.
36451         * include/sched.h: Likewise.
36452         * include/search.h: Likewise.
36453         * include/shadow.h: Likewise.
36454         * include/signal.h: Likewise.
36455         * include/stdio.h: Likewise.
36456         * include/stdlib.h: Likewise.
36457         * include/string.h: Likewise.
36458         * include/sys/socket.h: Likewise.
36459         * include/sys/stat.h: Likewise.
36460         * include/sys/statfs.h: Likewise.
36461         * include/sys/statvfs.h: Likewise.
36462         * include/sys/syslog.h: Likewise.
36463         * include/sys/time.h: Likewise.
36464         * include/sys/uio.h: Likewise.
36465         * include/time.h: Likewise.
36466         * include/unistd.h: Likewise.
36467         * include/utmp.h: Likewise.
36468         * include/wchar.h: Likewise.
36469         * include/wctype.h: Likewise.
36470         * inet/aliases.h: Likewise.
36471         * inet/arpa/inet.h: Likewise.
36472         * inet/netinet/ether.h: Likewise.
36473         * inet/netinet/in.h: Likewise.
36474         * intl/libintl.h: Likewise.
36475         * io/bits/fcntl2.h: Likewise.
36476         * io/fcntl.h: Likewise.
36477         * io/ftw.h: Likewise.
36478         * io/sys/poll.h: Likewise.
36479         * io/sys/stat.h: Likewise.
36480         * io/sys/statfs.h: Likewise.
36481         * io/sys/statvfs.h: Likewise.
36482         * io/utime.h: Likewise.
36483         * libio/bits/stdio.h: Likewise.
36484         * libio/bits/stdio2.h: Likewise.
36485         * libio/libio.h: Likewise.
36486         * libio/libioP.h: Likewise.
36487         * libio/stdio.h: Likewise.
36488         * locale/lc-ctype.c: Likewise.
36489         * locale/locale.h: Likewise.
36490         * login/utmp.h: Likewise.
36491         * malloc/arena.c: Likewise.
36492         * malloc/malloc.c: Likewise.
36493         * malloc/malloc.h: Likewise.
36494         * malloc/mcheck.c: Likewise.
36495         * malloc/mtrace.c: Likewise.
36496         * math/bits/mathcalls.h: Likewise.
36497         * math/fenv.h: Likewise.
36498         * math/math_private.h: Likewise.
36499         * misc/bits/error.h: Likewise.
36500         * misc/bits/syslog.h: Likewise.
36501         * misc/err.h: Likewise.
36502         * misc/error.h: Likewise.
36503         * misc/fstab.h: Likewise.
36504         * misc/mntent.h: Likewise.
36505         * misc/regexp.h: Likewise.
36506         * misc/search.h: Likewise.
36507         * misc/sgtty.h: Likewise.
36508         * misc/sys/mman.h: Likewise.
36509         * misc/sys/syslog.h: Likewise.
36510         * misc/sys/uio.h: Likewise.
36511         * misc/sys/xattr.h: Likewise.
36512         * misc/ttyent.h: Likewise.
36513         * nis/rpcsvc/ypclnt.h: Likewise.
36514         * nss/nss.h: Likewise.
36515         * posix/bits/unistd.h: Likewise.
36516         * posix/fnmatch.h: Likewise.
36517         * posix/glob.h: Likewise.
36518         * posix/sched.h: Likewise.
36519         * posix/spawn.h: Likewise.
36520         * posix/sys/wait.h: Likewise.
36521         * posix/unistd.h: Likewise.
36522         * posix/wordexp.h: Likewise.
36523         * pwd/pwd.h: Likewise.
36524         * resolv/netdb.h: Likewise.
36525         * resource/sys/resource.h: Likewise.
36526         * rt/aio.h: Likewise.
36527         * rt/bits/mqueue2.h: Likewise.
36528         * rt/mqueue.h: Likewise.
36529         * shadow/shadow.h: Likewise.
36530         * signal/signal.h: Likewise.
36531         * socket/send.c: Likewise.
36532         * socket/sendto.c: Likewise.
36533         * socket/sys/socket.h: Likewise.
36534         * stdio-common/printf.h: Likewise.
36535         * stdlib/bits/stdlib.h: Likewise.
36536         * stdlib/fmtmsg.h: Likewise.
36537         * stdlib/monetary.h: Likewise.
36538         * stdlib/stdlib.h: Likewise.
36539         * stdlib/ucontext.h: Likewise.
36540         * streams/stropts.h: Likewise.
36541         * string/argz.h: Likewise.
36542         * string/bits/string2.h: Likewise.
36543         * string/string.h: Likewise.
36544         * string/strings.h: Likewise.
36545         * sunrpc/rpc/auth.h: Likewise.
36546         * sunrpc/rpc/auth_des.h: Likewise.
36547         * sunrpc/rpc/clnt.h: Likewise.
36548         * sunrpc/rpc/netdb.h: Likewise.
36549         * sunrpc/rpc/pmap_clnt.h: Likewise.
36550         * sunrpc/rpc/xdr.h: Likewise.
36551         * sysdeps/generic/inttypes.h: Likewise.
36552         * sysdeps/generic/net/if.h: Likewise.
36553         * sysdeps/generic/sys/swap.h: Likewise.
36554         * sysdeps/gnu/net/if.h: Likewise.
36555         * sysdeps/gnu/utmpx.h: Likewise.
36556         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36557         * sysdeps/i386/i486/bits/string.h: Likewise.
36558         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36559         * sysdeps/s390/bits/string.h: Likewise.
36560         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36561         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36562         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36563         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36564         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36565         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36566         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36567         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36568         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36569         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36570         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36571         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36572         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36573         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36574         * sysdeps/unix/sysv/linux/readv.c: Likewise.
36575         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36576         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36577         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36578         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36579         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36580         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36581         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36582         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36583         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36584         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36585         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36586         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36587         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36588         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36589         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36590         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36591         * sysvipc/sys/ipc.h: Likewise.
36592         * sysvipc/sys/msg.h: Likewise.
36593         * sysvipc/sys/sem.h: Likewise.
36594         * sysvipc/sys/shm.h: Likewise.
36595         * termios/termios.h: Likewise.
36596         * time/sys/time.h: Likewise.
36597         * time/time.h: Likewise.
36598         * wcsmbs/bits/wchar2.h: Likewise.
36599         * wcsmbs/uchar.h: Likewise.
36600         * wcsmbs/wchar.h: Likewise.
36601         * wctype/wctype.h: Likewise.
36603         [BZ #13551]
36604         * Makeconfig: Remove all but ELF support including AIX support.
36605         * Makerules: Likewise.
36606         * config.h.in: Likewise.
36607         * config.make.in: Likewise.
36608         * configure: Likewise.
36609         * configure.in: Likewise.
36610         * csu/Makefile: Likewise.
36611         * csu/version.c: Likewise.
36612         * debug/Makefile: Likewise.
36613         * dlfcn/Makefile: Likewise.
36614         * elf/Makefile: Likewise.
36615         * extra-lib.mk: Likewise.
36616         * iconv/Makefile: Likewise.
36617         * include/libc-symbols.h: Likewise.
36618         * include/shlib-compat.h: Likewise.
36619         * resolv/Makefile: Likewise.
36620         * resolv/res_libc.c: Likewise.
36621         * rt/Makefile: Likewise.
36622         * sysdeps/i386/asm-syntax.h: Likewise.
36623         * sysdeps/i386/sysdep.h: Likewise.
36624         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36625         * sysdeps/mach/sysdep.h: Likewise.
36626         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36627         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36628         * sysdeps/s390/asm-syntax.h: Likewise.
36629         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36630         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36631         * sysdeps/sh/sysdep.h: Likewise.
36632         * sysdeps/unix/sparc/sysdep.h: Likewise.
36633         * sysdeps/wordsize-32/divdi3.c: Likewise.
36634         * sysdeps/x86_64/sysdep.h: Likewise.
36636         * argp/Versions: Remove _argp_unlock_xxx.
36638         [BZ #13559]
36639         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
36640         * abilist/libBrokenLocale.abilist: Likewise.
36641         * abilist/libanl.abilist: Likewise.
36642         * abilist/libc.abilist: Likewise.
36643         * abilist/libcrypt.abilist: Likewise.
36644         * abilist/libdl.abilist: Likewise.
36645         * abilist/libm.abilist: Likewise.
36646         * abilist/libnsl.abilist: Likewise.
36647         * abilist/libpthread.abilist: Likewise.
36648         * abilist/libresolv.abilist: Likewise.
36649         * abilist/librt.abilist: Likewise.
36650         * abilist/libthread_db.abilist: Likewise.
36651         * abilist/libutil.abilist: Likewise.
36652         * abilist/libnss_db.abilist: New file.
36654         * scripts/abilist.awk: Add support for indirect functions.
36656         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36658         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36660         * shlib-versions: Remove entries for ports architectures.
36662         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
36663         files in ports.
36664         * elf/stackguard-macros.h: Remove support for IA-64.
36665         * elf/tst-auditmod1.c: Likewise.
36666         * sysdeps/generic/ldsodefs.h: Likewise.
36668         * sysdeps/unix/sysv/linux/configure.in: Ports should define
36669         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36670         configure files.
36672         [BZ #13552]
36673         * configure.in: Remove --enable-omitfp support.
36674         * FAQ.in: Adjust.
36675         * config.make.in: Likewise.
36676         * Makeconfig: Likewise.
36677         * manual/install.texi: Likewise.
36679         In case anyone cares, the IA-64 architecture could move to ports.
36680         * sysdeps/ia64/*: Removed.
36681         * sysdeps/unix/sysv/linux/ia64/*: Removed.
36682         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36684         [BZ #13555]
36685         * configure.in: Remove entries for unsupported architectures.
36687         [BZ #13533]
36688         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36689         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
36690         routines.
36691         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36692         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36693         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
36694         fall back to using wcrtomb.
36695         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36696         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
36697         renaming.
36698         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36699         * wcsmbs/tst-c16c32-1.c: New file.
36701         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36702         local variable.
36704         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36706         * elf/tst-unique3.cc: Add explicit declaration of gets.
36707         * elf/tst-unique3lib.cc: Likewise.
36708         * elf/tst-unique3lib2.cc: Likewise.
36709         * elf/tst-unique4.cc: Likewise.
36711         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36713 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
36715         [BZ #13566]
36716         * assert/assert.h (static_assert): Don't define for C++.
36717         * libio/stdio.h (gets): Do declare for C++ <= C++11.
36718         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36720 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
36722         * iconv/loop.c (single loop): Fix assertion in storing of
36723         remaining bytes.
36725         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36727 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
36729         * posix/getconf.c: Update copyright year.
36730         * nss/getent.c: Likewise.
36731         * nss/makedb.c: Likewise.
36732         * iconv/iconvconfig.c: Likewise.
36733         * iconv/iconv_prog.c: Likewise.
36734         * elf/ldconfig.c: Likewise.
36735         * elf/pldd.c: Likewise.
36736         * elf/sotruss.ksh: Likewise.
36737         * catgets/gencat.c: Likewise.
36738         * csu/version.c: Likewise.
36739         * elf/ldd.bash.in: Likewise.
36740         * elf/sprof.c (print_version): Likewise.
36741         * locale/programs/locale.c: Likewise.
36742         * locale/programs/localedef.c: Likewise.
36743         * login/programs/pt_chown.c: Likewise.
36744         * nscd/nscd.c (print_version): Likewise.
36745         * debug/xtrace.sh: Likewise.
36746         * malloc/memusage.sh: Likewise.
36747         * malloc/mtrace.pl: Likewise.
36748         * debug/catchsegv.sh: Likewise.
36750 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
36752         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36753         pure attribute.
36755 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
36757         [BZ #13533]
36758         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36759         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36760         transformations.
36761         * iconv/gconv_int.h: Likewise.
36762         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36763         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36764         from libc for GLIBC_2.16.
36765         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36766         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36767         * wcsmbs/uchar.h: Really define mbstate_t.
36768         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36769         * wcsmbs/c16rtomb.c: New file.
36770         * wcsmbs/mbrtoc16.c: New file.
36771         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36772         for C/POSIX locale.
36773         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36774         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36776         * wcsmbs/wchar.h: Add missing __restrict.
36778 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36780         [BZ #13532]
36781         * time/Makefile (routines): Add timespec_get.
36782         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36783         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
36784         timespec for ISO C11.
36785         * time/timespec_get.c: New file.
36786         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36787         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36789         [BZ #13531]
36790         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36791         * stdlib/stdlib.h: Declare aligned_alloc.
36792         * Versions.def: Add GLIBC_2.16 for libc.
36793         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36795         [BZ 13527]
36796         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36797         ISO C11.
36799         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36800         code.
36802         [BZ #13528]
36803         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36805         [BZ #13529]
36806         * assert/assert.h (static_assert): Define.
36808         * version.h: Update for 2.16 development version.
36810         [BZ #13526]
36811         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36812         _ISOC11_SOURCE.
36814         * version.h (RELEASE): Bump for 2.15 release.
36815         * include/features.h (__GLIBC_MINOR__): Bump to 15.
36817         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36818         Patch by Marek Polacek <mpolacek@redhat.com>.
36820         * bits/byteswap.h: Protect long long constants with __extension__.
36821         * sysdeps/i386/bits/byteswap.h: Likewise.
36822         * sysdeps/ia64/bits/byteswap.h: Likewise.
36823         * sysdeps/s390/bits/byteswap.h: Likewise.
36824         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36826 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36828         [BZ #13540]
36829         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36830         destination buffer.
36831         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36833 2011-12-23  Marek Polacek  <polacek@redhat.com>
36835         * elf/dl-addr.c (determine_info): Add inline keyword.
36836         * elf/tst-auditmod4b.c (check_avx): Likewise.
36837         * elf/tst-auditmod6b.c (check_avx): Likewise.
36838         * elf/tst-auditmod6c.c (check_avx): Likewise.
36839         * elf/tst-auditmod7b.c (check_avx): Likewise.
36841 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36843         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36844         !__SSE_MATH__.
36846 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36848         [BZ #13540]
36849         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36850         processing for last bytes.
36852 2011-08-06  Bruno Haible  <bruno@clisp.org>
36854         [BZ #13061]
36855         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36856         U+0385, not to U+1FEE.
36858         [BZ #13062]
36859         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36860         entry for U+00A5 U+0301.
36862 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36864         [BZ #13166]
36865         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36866         buffer for the output is too small.
36868         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36869         optimization.
36871         [BZ #13185]
36872         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36873         SSE flags if possible.
36875 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36877         [BZ #13540]
36878         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36879         processing for last bytes.
36881 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
36883         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36884         (syscall-list-default-options, syscall-list-default-condition)
36885         (syscall-list-includes): Define.
36886         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36887         list of ABIs and options and #if conditions for each ABI.  Do not
36888         handle common syscalls between ABIs specially.
36889         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36890         Remove.
36891         (syscall-list-variants, syscall-list-32bit-options)
36892         (syscall-list-32bit-condition, syscall-list-64bit-options)
36893         (syscall-list-64bit-condition): Define.
36894         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36895         (syscall-list-variants, syscall-list-32bit-options)
36896         (syscall-list-32bit-condition, syscall-list-64bit-options)
36897         (syscall-list-64bit-condition): Define.
36898         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36899         Remove.
36900         (syscall-list-variants, syscall-list-32bit-options)
36901         (syscall-list-32bit-condition, syscall-list-64bit-options)
36902         (syscall-list-64bit-condition): Define.
36903         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36904         Remove.
36905         (syscall-list-variants, syscall-list-32bit-options)
36906         (syscall-list-32bit-condition, syscall-list-64bit-options)
36907         (syscall-list-64bit-condition): Define.
36909 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36911         * locale/iso-639.def: Add brx entry.
36913         [BZ #13328]
36914         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36915         Proposed by Mariusz_Cukr <marcukr@op.pl>.
36917         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36918         __feraiseexcept_renamed.
36920 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36922         [BZ #13538]
36923         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36924         EPOLLET with unsigned values.
36925         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36926         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36928         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36929         to large cancellation.
36930         * math/s_cacoshf.c: Likewise.
36931         * math/s_cacoshl.c: Likewise.
36933 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
36935         [BZ #13305]
36936         [BZ #12786]
36937         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36938         * math/s_cacoshf.c: Likewise.
36939         * math/s_cacoshl.c: Likewise.
36941 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36943         [BZ #13439]
36944         * iconv/gconv.h: Define __GCONV_SWAP.
36945         * iconvdata/unicode.c: The swap bit must be stored in __flags.
36946         * iconvdata/utf-16.c: Likewise.
36947         * iconvdata/utf-32.c: Likewise.
36949 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36951         [BZ #13524]
36952         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36953         numerator after shifting it by one limb.
36955 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
36957         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36958         under [__USE_EXTERN_INLINES].
36960 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36962         [BZ #13446]
36963         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36965 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36967         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36968         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36969         optimized code.
36970         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36971         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36972         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36973         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36974         for strncasecmp/strncasecmp_l compilation.
36975         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36976         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36978 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
36980         [BZ #13484]
36981         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36982         of __asm__.
36984 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36986         [BZ #13506]
36987         * time/tzfile.c (__tzfile_read): Check values from file header.
36989 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36991         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36992         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36993         * powerpc/powerpc32/dl-start.S: Likewise.
36994         * powerpc/powerpc32/elf/start.S: Likewise.
36995         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36996         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36997         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36998         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36999         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37000         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37001         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37002         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37003         * powerpc/powerpc32/fpu/s_round.S: Likewise.
37004         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37005         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37006         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37007         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37008         * powerpc/powerpc32/memset.S: Likewise.
37009         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37010         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37011         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37012         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37013         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37014         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37015         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37016         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37017         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37018         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37019         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37020         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37021         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37023 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37025         * math/libm-test.inc: Added more nearbyint tests.
37026         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37027         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37028         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37029         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37031 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
37033         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37034         FD_CLOEXEC.
37036 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37038         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37039         Add wcscpy-ssse3 wcscpy-c.
37040         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37041         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37042         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37043         * sysdeps/x86_64/wcschr.S: New file.
37044         * sysdeps/x86_64/wcsrchr.S: New file.
37045         * string/test-strcmp.c: Remove checking of wcscmp function for
37046         wrong alignments.
37047         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37048         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37049         wcsrchr-sse2 wcsrchr-c.
37050         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37051         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37052         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37053         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37054         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37055         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37056         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37057         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37058         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37059         * wcsmbc/wcschr.c (WCSCHR): New macro.
37061 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37063         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37064         * wcsmbs/test-wcsrchr.c: New file.
37065         * string/test-strrchr.c: Add wcsrchr support.
37066         (WIDE): New macro.
37067         * wcsmbs/test-wcscpy.c: New file.
37068         * string/test-strcpy.c: Add wcscpy support.
37069         (WIDE): New macro.
37071 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
37073         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37074         the inner loop.
37076 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
37078         [BZ #13472]
37079         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37081 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
37083         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37084         Minor optimizations.
37086         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37087         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37088         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37090 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
37092         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37093         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37094         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37095         for gcc to avoid warnings.
37096         * inet/Makefile (tests): Add tst-checks.
37097         * inet/tst-checks.c: New file.
37099         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37100         warning.
37102         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37103         __wmemcmp_sse2.
37105         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37106         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37108         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37110 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
37112         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37113         problem.
37115         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37117 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
37119         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37120         conditional on GCC version.
37121         (__arch_compare_and_exchange_val_8_acq)
37122         (__arch_compare_and_exchange_val_16_acq)
37123         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37124         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37125         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37127 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
37129         * sysdeps/sh/backtrace.c: New file.
37131 2011-12-02  Andreas Schwab  <schwab@redhat.com>
37133         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
37134         parenthesis.
37136 2011-12-01  Andreas Schwab  <schwab@redhat.com>
37138         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37139         falling back to utime.
37141 2011-11-30  Andreas Schwab  <schwab@redhat.com>
37143         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37144         expectations for float.
37146 2011-11-29  Andreas Schwab  <schwab@redhat.com>
37148         * locale/weight.h (findidx): Add parameter len.
37149         * locale/weightwc.h (findidx): Likewise.
37150         * posix/fnmatch_loop.c (FCT): Adjust caller.
37151         * posix/regcomp.c (build_equiv_class): Likewise.
37152         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37153         * posix/regexec.c (check_node_accept_bytes): Likewise.
37154         * string/strcoll_l.c (STRCOLL): Likewise.
37155         * string/strxfrm_l.c (STRXFRM): Likewise.
37157 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
37159         * Makefile.in: Remove CVSOPT handling.
37160         * configure.in: Remove use of AC_REVISION.
37161         * iconvdata/Makefile (distribute): No need to filter out CVS.
37162         * scripts/list-sources.sh: Remove CVS, subversion and monotone
37163         handling.
37165 2011-11-16  Andreas Schwab  <schwab@redhat.com>
37167         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37168         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37169         [USE_AS_STRNCASECMP_L]: Likewise.
37170         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37171         NO_TLS_DIRECT_SEG_REFS.
37172         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37173         Fix argument offsets for non-PIC.
37174         [USE_AS_STRNCASECMP_L]: Likewise.
37175         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37176         NO_TLS_DIRECT_SEG_REFS.
37178 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37180         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37181         O_CLOEXEC.
37182         * locale/loadlocale.c (_nl_load_locale): Likewise.
37184 2011-11-15  Andreas Schwab  <schwab@redhat.com>
37186         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37187         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37188         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37189         (SYSCALL_GETTIME): Set errno on error.
37191         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37192         count references to noai6ai_cached.
37194 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37196         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37198         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37199         FD_CLOEXEC for /proc/self/maps.
37201         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37202         FD_CLOEXEC for /proc/meminfo.
37204         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37205         gai.conf.
37207         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
37208         FD_CLOEXEC for given file.
37210         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37212         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37213         FD_CLOEXEC for /etc/hosts.
37214         (_gethtent): Likewise.
37216         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37218         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37219         cancellation and set FD_CLOEXEC for /etc/netgroup.
37221         * nss/nss_files/files-key.c (search): Don't allow cancellation when
37222         reading /etc/publickey.
37224         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37225         allow cancellation when reading /etc/group.
37227         * nss/nss_files/files-alias.c (internal_setent): Don't allow
37228         cancellation.
37229         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
37231         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37232         when using data file.
37234         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37236         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37237         (write_nis_obj): Use "c" and "e" in fopen.
37239         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37241         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37243         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37245         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37247         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37248         locale.alias.
37250         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37252         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37254         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37256         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37257         file parsing and set FD_CLOEXEC.
37259 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37261         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37263 2011-11-14  Andreas Schwab  <schwab@redhat.com>
37265         * malloc/arena.c (arena_get2): Don't call reused_arena when
37266         _int_new_arena failed.
37268 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37270         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37271         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37272         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37273         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37274         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37275         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37276         to compile strcasecmp and strncasecmp.
37277         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37278         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37280         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37282 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
37284         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37285         locale-defines.sym to gen-as-const-headers.
37286         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37287         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37289         to compile strcasecmp and strncasecmp.
37290         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37291         strcasecmp_l and strncasecmp_l.
37292         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37293         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37294         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37295         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37296         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37297         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37298         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37299         * sysdeps/i386/i686/multiarch/strncase.S: New file.
37300         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37301         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37302         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37304 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
37306         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37307         result of SYSDEP_GETTIME_CPU to retval.
37308         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37309         parameter list to macro.  Remove trailing semicolon.  Adjust users.
37311         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37312         variable.
37314         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37315         mantissa words.
37316         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37318         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37319         from unused variable.
37321         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37322         DWARF definitions.
37323         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37324         for assembling.
37326         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37327         over namespaces.
37329         * sunrpc/rpc_prot.c (rejected): Fix case value.
37331         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37332         unsigned long long int to avoid warnings in shift.
37334         * posix/regex_internal.c (re_string_reconstruct): Actually use result
37335         of use of trans.
37336         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37337         variable tmp.
37339         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37340         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37341         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37343         * nis/nis_table.c (nis_list): Use variable of correct type for
37344         result of __follow_path call.
37346 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37348         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37349         of math functions ceil, trunc, floor, round, and sqrt, when
37350         avaliable on the platform.
37351         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37352         name clash.
37353         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37354         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37355         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37357 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
37359         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37360         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37362 2011-11-11  Roland McGrath  <roland@hack.frob.com>
37364         * include/unistd.h: Fix __readlink return type.
37365         Reported by Chris Metcalf <cmetcalf@tilera.com>.
37367 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
37369         * stdlib/ucontext.h: Undo last change for makecontext.
37371 2011-11-11  Andreas Schwab  <schwab@redhat.com>
37373         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37375         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37376         * setjmp/setjmp.h: Mark functions as non-leaf.
37377         * setjmp/bits/setjmp2.h: Likewise.
37378         * stdlib/ucontext.h: Likewise.
37380 2011-11-10  Andreas Schwab  <schwab@redhat.com>
37382         * malloc/arena.c (_int_new_arena): Don't increment narenas.
37383         (reused_arena): Don't check arena limit.
37384         (arena_get2): Atomically check arena limit.
37386 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
37388         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37389         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37391         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37392         instructions.
37394 2011-11-07  Andreas Schwab  <schwab@redhat.com>
37396         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37397         handler when locking.
37399         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37400         Fix size of allocated buffer.
37402 2011-11-04  Andreas Schwab  <schwab@redhat.com>
37404         [BZ #10103]
37405         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37406         declarations for long double functions.
37407         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37409         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37411 2011-11-03  Andreas Schwab  <schwab@redhat.com>
37413         * nscd/nscd.c (main): Don't start AVC thread until credentials are
37414         installed.
37416         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37417         is disabled.
37419 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37421         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37423 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37425         * include/alloca.h (stackinfo_alloca_round): Define.
37426         (extend_alloca): Use it.
37427         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37428         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37429         here.
37431         * scripts/check-local-headers.sh: Ignore libaudit.h.
37433         * nscd/Makefile (extra-objs): Make recursively expanded.
37435 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
37437         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37438         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37440         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37441         * posix/tst-rfc3484-2.c: Likewise.
37442         * posix/tst-rfc3484-3.c: Likewise.
37444         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37445         process_vm_writev.
37446         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37447         process_vm_writev.
37448         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37449         process_vm_writev from libc using GLIBC_2.15 version.
37451         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37453 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
37455         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37456         stack usage.
37458 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
37460         [BZ #13367]
37461         * nss/getent.c (initgroups_keys): Show error message in case no group
37462         names are given.
37464         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37465         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37466         __bump_nl_timestamp.
37467         * nscd/connections (nscd_init): When host database is served open
37468         netlink socket and request notification about configuration changes.
37469         (main_loop_poll): Track netlink file descriptor and bump timestamp
37470         in case data becomes available.
37471         (main_loop_epoll): Likewise.
37472         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37473         (database_pers_head): Add extra_data fileds.
37474         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37475         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37476         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37477         Adjust caller.
37478         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37479         in6ai data, call __free_in6ai.
37480         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37481         Add -DHAVE_NETLINK.
37482         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
37483         interface information.  Reuse previous data if netlink timestamp
37484         is not changed.
37485         (__bump_nl_timestamp): New function.
37486         (__free_in6ai): New function.
37488 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
37490         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37491         close_not_cancel_no_status here.
37492         (__check_pf): Reorganize code a bit to not call close twice if OOM.
37494 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37496         [BZ #13276]
37497         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37498         return value.
37500         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37501         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37502         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37504 2011-07-03  Andreas Jaeger  <aj@suse.de>
37506         [BZ #10709]
37507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37508         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37509         * math/libm-test.inc (sin_test): Add test case.
37511 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37513         [BZ #13337]
37514         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37515         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37517         * elf/chroot_canon.c (chroot_canon): Cleanups.
37519         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37521         [BZ #13335]
37522         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37523         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37525         * string/test-strchr.c: Make usable for strchrnul testing.
37526         * string/test-strchrnul.c: New file.
37527         * string/Makefile (strop-tests): Add strchrnul.
37529         * po/it.po: Update from translation team.
37530         * po/es.po: Likewise.
37532 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
37534         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37535         the three constants needed as parameters.  Drop the others.
37536         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37537         __m128i_strloadu_tolower.
37538         Create and initialize variable zero and use it in all the places
37539         where _mm_setzero_si128 was used.
37541         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37542         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37543         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37544         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37545         anymore.
37546         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37547         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37548         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37549         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37550         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37551         __mpranred, __mptan.
37552         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37553         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37554         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37555         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37556         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37557         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37558         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37559         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37560         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37562 2011-10-28  Andreas Schwab  <schwab@redhat.com>
37564         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37565         redefine if SHARED.
37566         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37568         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37569         wide char related routines to wcsmbs subdir.
37571 2011-10-27  Andreas Schwab  <schwab@redhat.com>
37573         [BZ #13344]
37574         * misc/sys/cdefs.h (__THROWNL): Define.
37575         * posix/unistd.h: Use __THREADNL instead of __THREAD
37576         for memory synchronization functions.
37578 2011-10-26  Roland McGrath  <roland@hack.frob.com>
37580         [BZ #13349]
37581         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37582         doesn't exist.
37583         * manual/stdio.texi (Obstack Streams): Node removed.
37585 2011-10-26  Andreas Schwab  <schwab@redhat.com>
37587         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37588         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37589         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37591         * math/math_private.h (math_force_eval): Allow non-addressable
37592         arguments.
37593         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37595 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37597         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37598         file is not needed.
37600         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37601         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37602         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37603         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37604         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37605         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37606         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37607         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37608         Add AVX variants.
37609         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37610         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37611         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37612         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37613         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37614         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37615         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37616         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37617         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37618         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37619         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37620         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37621         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37622         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37623         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37624         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37625         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37626         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37627         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37629         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37630         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
37632         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37633         place.  Use VEX encoding when compiling for AVX.
37635 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37637         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37638         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37640         * string/test-strchr.c (do_test): Don't generate NUL bytes.
37642 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37644         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37645         useless if() expression.
37646         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37647         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37648         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37649         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37650         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37651         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37652         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37653         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37654         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37655         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37656         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37657         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37658         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37659         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37660         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37661         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37662         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37663         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37664         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37666         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37668 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37670         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37671         condition.
37672         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37674 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37676         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37677         .text section.  Avoid duplicate constants.
37678         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37679         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37680         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37681         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37682         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37683         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37684         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37685         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37686         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37687         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37688         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37689         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37690         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37691         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37692         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37693         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37694         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37695         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37696         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37697         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37698         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37699         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37700         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37701         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37702         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37703         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37704         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37705         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37706         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37707         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37708         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37709         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37710         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37711         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37712         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37713         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37714         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37715         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37716         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37717         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37718         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37719         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37720         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37721         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37722         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37724 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
37726         * sysdeps/x86_64/dla.h: Move to ...
37727         * sysdeps/x86_64/fpu/dla.h: ...here.
37728         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37729         situations.  Use __builtin_fma only for gcc 4.6 and up.
37731         * config.make.in: Add have-mfma4 entry.
37732         * configure.in: Substitute libc_cv_cc_fma4.
37733         * math/Makefile (dbl-only-routines): Add sincostab.
37734         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37735         Use __sincostab not sincos.
37736         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37737         name is a macro.
37738         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37739         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37740         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
37742         using __copysign.
37743         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
37744         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
37745         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37746         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37747         and __inv.
37748         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37749         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37750         __copysign.
37751         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
37752         define aliases when function name is a macro.
37753         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37754         sysdeps/ieee754/dbl-64/sincos.tbl.
37755         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37756         fma4-enabled routines.
37757         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37758         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37759         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37760         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37761         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37762         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37763         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37764         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37765         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37766         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37767         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37768         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37769         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37770         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37771         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37772         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37773         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37774         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37775         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37776         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37777         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37778         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37779         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37780         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37781         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37782         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37783         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37784         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37785         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37786         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37788         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37789         rename.
37790         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37791         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37792         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37793         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37794         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37795         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37796         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37797         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37799 2011-10-24  Andreas Schwab  <schwab@redhat.com>
37801         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37803 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37805         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37807         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37808         prediction.
37809         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37811         * string/strnlen.c: Don't define STRNLEN, reverse logic.
37812         Remove unused variable magic_bits.
37813         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37815         * string/strnlen.c: Define and use STRNLEN macro.
37816         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37817         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37818         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37819         * wcsmbs/wcslen.c: Define and use WCSLEN.
37820         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37821         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37822         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37823         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37824         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37825         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37826         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37828 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37831         strnlen-sse2-no-bsf.
37832         Rename strlen-no-bsf to strlen-sse2-no-bsf.
37833         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37834         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37835         Add strnlen support.
37836         (USE_AS_STRNLEN): New macro.
37837         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37838         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37839         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37840         * sysdeps/x86_64/wcslen.S: New file.
37842 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
37844         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37845         XMM-moves are used for copying on small sizes.
37847 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37849         * wcsmbs/Makefile (strop-tests): Add wcschr.
37850         * wcsmbs/test-wcschr.c: New file.
37851         * string/test-strchr.c: Update.
37852         Add wcschr support.
37853         (WIDE): New macro.
37855 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37857         * wcsmbs/Makefile (strop-tests): Add wcslen.
37858         * wcsmbs/test-wcslen.c: New file.
37859         * string/test-strlen.c: Update.
37860         Add wcslen support.
37861         (WIDE): New macro.
37863 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37865         * po/it.po: Update from translation team.
37867 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37869         * sysdeps/x86_64/wcscmp.S: Update.
37870         Fix wrong comparison semantics.
37871         wcscmp shall use signed comparison not unsigned.
37872         Don't use substraction to avoid overflow bug.
37873         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37874         * wcsmbc/wcscmp.c: Likewise.
37875         * string/test-strcmp.c: Likewise.
37876         Add new tests to check cases with negative values.
37878 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37880         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37881         * sysdeps/x86_64/dla.h: ...here.  New file.
37882         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37883         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37884         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37885         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37886         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37887         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37888         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37889         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37890         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37892 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
37894         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37895         __ynl_finite aliases.
37897 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37901         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37902         define DLA_FMA.
37903         [DLA_FMA] (EMULV): Use DLA_FMA.
37904         [DLA_FMA] (MUL12): Use EMULV.
37905         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37906         that are not needed.
37907         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37908         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37909         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37910         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37911         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37912         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37913         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37915 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
37917         * math/s_nan.c: Undef __nan.
37918         * math/s_nanf.c: Undef __nanf.
37919         * math/s_nanl.c: Undef __nanl.
37920         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37921         "math_private.h".
37923 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37925         * math/s_catan.c: Add branch predictions.
37926         * math/s_catanf.c: Likewise.
37927         * math/s_catanh.c: Likewise.
37928         * math/s_catanhf.c: Likewise.
37929         * math/s_catanhl.c: Likewise.
37930         * math/s_catanl.c: Likewise.
37931         * math/s_cexp.c: Likewise.
37932         * math/s_cexpf.c: Likewise.
37933         * math/s_cexpl.c: Likewise.
37934         * math/s_clog.c: Likewise.
37935         * math/s_clog10.c: Likewise.
37936         * math/s_clog10f.c: Likewise.
37937         * math/s_clog10l.c: Likewise.
37938         * math/s_clogf.c: Likewise.
37939         * math/s_clogl.c: Likewise.
37940         * math/s_csqrt.c: Likewise.
37941         * math/s_csqrtf.c: Likewise.
37942         * math/s_csqrtl.c: Likewise.
37943         * math/s_ctanf.c: Likewise.
37944         * math/s_ctanh.c: Likewise.
37945         * math/s_ctanhf.c: Likewise.
37946         * math/s_ctanhl.c: Likewise.
37947         * math/s_ctanl.c: Likewise.
37949         * math/math_private.h: Define __nan, __nanf, __nanl.
37950         * math/s_cacosh.c: Include <math_private.h>.
37951         * math/s_cacoshl.c: Likewise.
37952         * math/s_casinh.c: Likewise.
37953         * math/s_casinhf.c: Likewise.
37954         * math/s_casinhl.c: Likewise.
37955         * math/s_ccos.c: Rely entire on ccosh.
37956         * math/s_ccosf.c: Rely entire on ccoshf.
37957         * math/s_ccosl.c: Rely entirely on ccoshl.
37958         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
37959         Remove tests for FE_INVALID.
37960         * math/s_ccoshf.c: Likewise.
37961         * math/s_ccoshl.c: Likewise.
37962         * math/s_csin.c: Likewise.
37963         * math/s_csinf.c: Likewise.
37964         * math/s_csinh.c Likewise.
37965         * math/s_csinhf.c: Likewise.
37966         * math/s_csinhl.c: Likewise.
37967         * math/s_csinl.c: Likewise.
37968         * math/s_ctan.c: Likewise.
37969         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37970         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37971         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37973 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
37975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37976         compilation problems.
37978         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37979         __builtin_expect.
37981 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
37983         * sysdeps/i386/configure.in: Test for -mfma4 option.
37984         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37985         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37986         COMMON_CPUID_INDEX_80000001.
37987         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37988         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37989         use it if FMA3 is not supported.
37990         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37992         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37993         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37995 2011-10-20  Andreas Schwab  <schwab@redhat.com>
37997         [BZ #12892]
37998         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37999         it would create a cycle with a link time dependency.
38001 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
38003         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38004         instruction.
38005         * string/Makefile (strop-tests): Add rawmemchr.
38006         * string/test-rawmemchr.c: New file.
38008         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38009         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
38010         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
38011         when compiling str{,n}casecmp and when AVX is available.  Hook up
38012         new optimized code in initializers.
38014 2011-10-19  Andreas Schwab  <schwab@redhat.com>
38016         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38017         __feraiseexcept instead of feraiseexcept.
38019 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
38021         * math/math_private.h: Define defaults for libc_fetestexcept and
38022         libc_feupdateenv.
38023         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38024         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38025         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38026         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38027         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38028         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38029         libc_fetestexcept and libc_feupdateenv.
38031         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38032         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38033         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38034         * sysdeps/x86_64/fpu/math_private.h: Define special version of
38035         libc_feholdexcept_setround.
38037         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38038         Add s_nearbyint-c and s_nearbyintf-c.
38039         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38040         nearbyintf inlines.
38041         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38042         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38043         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38044         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38046         * math/math_private.h: Define defaults for libc_fegetround,
38047         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38048         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38049         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38050         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38051         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38052         standard functions.
38053         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38054         Remove comments and hacks for old compiler versions.
38055         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38056         libc_fegetround, libc_fesetround, libc_feholdexcept, and
38057         libc_feholdexceptl.
38059 2011-10-18  Andreas Schwab  <schwab@redhat.com>
38061         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38062         (__feraiseexcept_renamed): Add __NTH.
38063         (feraiseexcept): Add __NTH.  Rename local variables to fix
38064         namespace violations.
38066 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
38068         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38070         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38072         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38073         recently added interfaces.
38074         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38076         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38077         about macro parameter expansion.
38079         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38080         __NO_MATH_INLINES is defined.  Cleanups.
38082         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38083         and __floorf is target has SSE4.1.
38084         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38085         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38086         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38087         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38089         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38090         name.
38091         (floorf): Likewise.
38093         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38095 2011-10-17  Andreas Schwab  <schwab@redhat.com>
38097         * misc/sys/cdefs.h: Fix last change.
38099         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38100         database lookup.
38102 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
38104         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38106         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38107         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38108         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38109         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38110         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38111         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38112         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38113         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38114         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38115         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38116         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38117         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38118         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38119         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38120         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38121         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38122         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38123         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38124         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38125         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38126         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38127         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38129         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38130         ceil, ceilf, floor, floorf.
38132         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38133         Perform IRELATIVE relocations last.
38135         * elf/do-rel.h: Add another parameter nrelative, replacing the
38136         local variable with the same name.  Change name of the function
38137         to end in Rel or Rela (uppercase).
38138         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38139         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
38140         elf_dynamic_do_##reloc function.
38142 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38144         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38145         is sufficient, at least on modern CPUs.
38147         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38149         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38150         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38152         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38153         __expl_finite.
38154         * math/bits/math-finite.h: Add entries for exp.
38155         * math/e_expl.c: Add __*_finite alias.
38156         * sysdeps/i386/fpu/e_exp.S: Likewise.
38157         * sysdeps/i386/fpu/e_expf.S: Likewise.
38158         * sysdeps/i386/fpu/e_expl.c: Likewise.
38159         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38160         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38161         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38162         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38163         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38164         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38165         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38167         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38168         is sufficient, at least on modern CPUs.
38170         * ctype/ctype-info.c (__ctype_init): Define.
38171         * include/ctype.h (__ctype_init): Declare.
38172         (__ctype_b_loc): The variable is always initialized.
38173         (__ctype_toupper_loc): Likewise.
38174         (__ctype_tolower_loc): Likewise.
38175         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38176         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38178 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
38180         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38182         * configure.in: Also look in $cxxmachine/include for C++ system
38183         headers.
38185 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38187         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38188         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38189         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38190         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
38191         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38192         (USE_AS_WMEMCMP): New macro.
38193         Fixing indents.
38194         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38195         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38196         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38197         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38199         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38200         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38201         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38202         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38203         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38204         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38205         (USE_AS_WMEMCMP): New macro.
38206         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38207         * sysdeps/string/test-memcmp.c: Update.
38208         Fix simple_wmemcmp.
38209         Add new tests.
38210         * wcsmbs/wmemcmp.c: Update.
38211         (WMEMCMP): New macro.
38212         Fix overflow bug.
38214 2011-10-12  Andreas Jaeger  <aj@suse.de>
38216         [BZ #13268]
38217         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38219 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38221         * libio/iofwide.c (do_length): Avoid warning.
38223         * ctype/ctype.h (__isctype_f): Add missing __THROW.
38225 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
38227         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38229         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38230         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38231         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38232         * sysdeps/i386/i686/fpu/e_log.S: New file.
38233         * sysdeps/i386/i686/fpu/e_logf.S: New file.
38234         * sysdeps/i386/i686/fpu/e_logl.S: New file.
38236         * ctype/ctype.h: Add support for inlined isXXX functions when
38237         compiling C++ code.
38239 2011-10-14  Andreas Schwab  <schwab@redhat.com>
38241         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38243         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38245 2011-10-13  Roland McGrath  <roland@hack.frob.com>
38247         [BZ #13291]
38248         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38250 2011-10-13  Andreas Schwab  <schwab@redhat.com>
38252         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38253         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38254         feraiseexcept.
38256         * sysdeps/x86_64/memrchr.S: Check for zero size.
38258         * string/stratcliff.c: Add memrchr tests.
38260 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38262         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38263         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38264         rawmemchr-sse2 rawmemchr-sse2-bsf.
38265         * sysdeps/i386/i686/multiarch/memchr.S: New file.
38266         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38267         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38268         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38269         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38270         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38271         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38272         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38273         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38274         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38275         * string/memrchr.c (MEMRCHR): New macro.
38277 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
38279         Add integration with gcc's -ffinite-math-only and optimize wrapper
38280         functions in libm.
38281         * Versions.def: Define GLIBC_2.15 version for libm.
38282         * math/Makefile (headers): Add bits/math-finite.h.
38283         * math/bits/math-finite.h: New file.
38284         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38285         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38286         * math/e_acoshl.c: Add __*_finite alias.
38287         * math/e_acosl.c: Likewise.
38288         * math/e_asinl.c: Likewise.
38289         * math/e_atan2l.c: Likewise.
38290         * math/e_atanhl.c: Likewise.
38291         * math/e_coshl.c: Likewise.
38292         * math/e_exp10.c: Likewise.
38293         * math/e_exp10f.c: Likewise.
38294         * math/e_exp10l.c: Likewise.
38295         * math/e_exp2l.c: Likewise.
38296         * math/e_fmodl.c: Likewise.
38297         * math/e_gammal_r.c: Likewise.
38298         * math/e_hypotl.c: Likewise.
38299         * math/e_j0l.c: Likewise.
38300         * math/e_j1l.c: Likewise.
38301         * math/e_jnl.c: Likewise.
38302         * math/e_lgammal_r.c: Likewise.
38303         * math/e_log10l.c: Likewise.
38304         * math/e_log2l.c: Likewise.
38305         * math/e_logl.c: Likewise.
38306         * math/e_powl.c: Likewise.
38307         * math/e_sinhl.c: Likewise.
38308         * math/e_sqrtl.c: Likewise.
38309         * math/e_scalb.c: Completely rewritten and optimized.
38310         * math/e_scalbf.c: Likewise.
38311         * math/e_scalbl.c: Likewise.
38312         * math/w_acos.c: Likewise.
38313         * math/w_acosf.c: Likewise.
38314         * math/w_acosl.c: Likewise.
38315         * math/w_acosh.c: Likewise.
38316         * math/w_acoshf.c: Likewise.
38317         * math/w_acoshl.c: Likewise.
38318         * math/w_asin.c: Likewise.
38319         * math/w_asinf.c: Likewise.
38320         * math/w_asinl.c: Likewise.
38321         * math/w_atan2.c: Likewise.
38322         * math/w_atan2f.c: Likewise.
38323         * math/w_atan2l.c: Likewise.
38324         * math/w_atanh.c: Likewise.
38325         * math/w_atanhf.c: Likewise.
38326         * math/w_atanhl.c: Likewise.
38327         * math/w_exp10.c: Likewise.
38328         * math/w_exp10f.c: Likewise.
38329         * math/w_exp10l.c: Likewise.
38330         * math/w_fmod.c: Likewise.
38331         * math/w_fmodf.c: Likewise.
38332         * math/w_fmodl.c: Likewise.
38333         * math/w_j0.c: Likewise.
38334         * math/w_j0f.c: Likewise.
38335         * math/w_j0l.c: Likewise.
38336         * math/w_j1.c: Likewise.
38337         * math/w_j1f.c: Likewise.
38338         * math/w_j1l.c: Likewise.
38339         * math/w_jn.c: Likewise.
38340         * math/w_jnf.c: Likewise.
38341         * math/w_log.c: Likewise.
38342         * math/w_logf.c: Likewise.
38343         * math/w_logl.c: Likewise.
38344         * math/w_log10.c: Likewise.
38345         * math/w_log10f.c: Likewise.
38346         * math/w_log10l.c: Likewise.
38347         * math/w_log2.c: Likewise.
38348         * math/w_log2f.c: Likewise.
38349         * math/w_log2l.c: Likewise.
38350         * math/w_pow.c: Likewise.
38351         * math/w_powf.c: Likewise.
38352         * math/w_powl.c: Likewise.
38353         * math/w_remainder.c: Likewise.
38354         * math/w_remainderf.c: Likewise.
38355         * math/w_remainderl.c: Likewise.
38356         * math/w_scalb.c: Likewise.
38357         * math/w_scalbf.c: Likewise.
38358         * math/w_scalbl.c: Likewise.
38359         * math/w_sqrt.c: Likewise.
38360         * math/w_sqrtf.c: Likewise.
38361         * math/w_sqrtl.c: Likewise.
38362         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38363         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
38364         used.
38365         * math/math_private.h: Declare __kernel_standard_f.
38366         * math/w_cosh.c: Remove cruft and optimize a bit.
38367         * math/w_coshf.c: Likewise.
38368         * math/w_coshl.c: Likewise.
38369         * math/w_exp2.c: Likewise.
38370         * math/w_exp2f.c: Likewise.
38371         * math/w_exp2l.c: Likewise.
38372         * math/w_hypot.c: Likewise.
38373         * math/w_hypotf.c: Likewise.
38374         * math/w_hypotl.c: Likewise.
38375         * math/w_lgamma.c: Likewise.
38376         * math/w_lgamma_r.c: Likewise.
38377         * math/w_lgammaf.c: Likewise.
38378         * math/w_lgammaf_r.c: Likewise.
38379         * math/w_lgammal.c: Likewise.
38380         * math/w_lgammal_r.c: Likewise.
38381         * math/w_sinh.c: Likewise.
38382         * math/w_sinhf.c: Likewise.
38383         * math/w_sinhl.c: Likewise.
38384         * math/w_tgamma.c: Likewise.
38385         * math/w_tgammaf.c: Likewise.
38386         * math/w_tgammal.c: Likewise.
38387         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38389         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38390         Minor optimizations.  Pretty printing.  Remove cruft.
38391         * sysdeps/i386/fpu/e_acosf.S: Likewise.
38392         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38393         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38394         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38395         * sysdeps/i386/fpu/e_acosl.c: Likewise.
38396         * sysdeps/i386/fpu/e_asin.S: Likewise.
38397         * sysdeps/i386/fpu/e_asinf.S: Likewise.
38398         * sysdeps/i386/fpu/e_atan2.S: Likewise.
38399         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38400         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38401         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38402         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38403         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38404         * sysdeps/i386/fpu/e_exp10.S: Likewise.
38405         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38406         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38407         * sysdeps/i386/fpu/e_exp2.S: Likewise.
38408         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38409         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38410         * sysdeps/i386/fpu/e_fmod.S: Likewise.
38411         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38412         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38413         * sysdeps/i386/fpu/e_hypot.S: Likewise.
38414         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38415         * sysdeps/i386/fpu/e_log.S: Likewise.
38416         * sysdeps/i386/fpu/e_log10.S: Likewise.
38417         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38418         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38419         * sysdeps/i386/fpu/e_log2.S: Likewise.
38420         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38421         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38422         * sysdeps/i386/fpu/e_logf.S: Likewise.
38423         * sysdeps/i386/fpu/e_logl.S: Likewise.
38424         * sysdeps/i386/fpu/e_pow.S: Likewise.
38425         * sysdeps/i386/fpu/e_powf.S: Likewise.
38426         * sysdeps/i386/fpu/e_powl.S: Likewise.
38427         * sysdeps/i386/fpu/e_remainder.S: Likewise.
38428         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38429         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38430         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38431         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38432         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38433         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38434         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38435         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38436         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38437         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38438         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38439         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38440         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38441         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38442         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38443         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38444         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38445         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38446         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38447         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38448         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38449         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38450         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38451         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38452         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38453         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38454         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38455         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38456         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38457         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38458         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38459         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38460         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38461         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38462         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38463         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38464         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38465         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38466         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38467         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38468         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38469         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38470         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38471         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38472         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38473         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38474         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38475         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38476         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38477         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38478         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38479         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38480         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38481         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38482         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38483         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38484         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38485         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38486         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38487         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38488         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38489         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38490         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38491         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38492         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38493         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38494         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38495         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38496         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38497         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38498         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38499         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38500         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38501         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38502         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38503         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38504         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38505         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38506         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38507         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38508         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38509         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38510         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38511         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38512         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38513         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38514         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38515         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38516         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38517         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38518         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38519         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38520         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38521         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38522         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38523         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38524         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38525         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38526         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38527         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38528         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38529         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38530         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38531         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38532         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38533         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38534         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38535         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38536         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38537         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38538         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38539         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38540         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38541         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38542         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38543         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38544         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38545         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38546         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
38547         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38548         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38549         (__isnanf): Likewise.
38550         (__isinf_ns): Likewise.
38551         (__isinf_nsf): Likewise.
38552         (__finite): Likewise.
38553         (__finitef): Likewise.
38554         (__ieee754_sqrt): Define as macro.
38555         (__ieee754_sqrtf): Define as macro.
38556         (__ieee754_sqrtl): Define as macro.
38557         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38558         inlined copy.
38559         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38560         __FINITE_MATH_ONLY__ consistent.
38561         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38563 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
38565         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38566         of rawmemchr.
38568         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38570 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
38572         * po/ja.po: Update from translation team.
38574 2011-10-08  Roland McGrath  <roland@hack.frob.com>
38576         * locale/programs/locarchive.c (prepare_address_space): New function.
38577         (create_archive, enlarge_archive, open_archive): Use it.
38579         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38580         inside [SHARED], where it is used.
38582         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38584         * nss/getent.c (netgroup_keys): Remove unused variable.
38585         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38587 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
38589         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38590         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38591         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38592         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38593         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38594         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38595         * math/Makefile (libm-calls): Add s_isinf_ns.
38596         * math/divtc3.c: Use __isinf_nsl instead of isinf.
38597         * math/multc3.c: Likewise.
38598         * math/s_casin.c: Likewise.
38599         * math/s_casinf.c: Likewise.
38600         * math/s_casinl.c: Likewise.
38601         * math/s_ccos.c: Likewise.
38602         * math/s_ccosf.c: Likewise.
38603         * math/s_ccosl.c: Likewise.
38604         * math/s_ctan.c: Likewise.
38605         * math/s_ctanf.c: Likewise.
38606         * math/s_ctanh.c: Likewise.
38607         * math/s_ctanhf.c: Likewise.
38608         * math/s_ctanhl.c: Likewise.
38609         * math/s_ctanl.c: Likewise.
38610         * math/w_fmod.c: Likewise.
38611         * math/w_fmodf.c: Likewise.
38612         * math/w_fmodl.c: Likewise.
38613         * math/w_remainder.c: Likewise.
38614         * math/w_remainderf.c: Likewise.
38615         * math/w_remainderl.c: Likewise.
38616         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38617         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38618         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38619         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38620         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38621         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38622         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38623         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38625         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38626         of the number.
38627         * stdio-common/printf_fphex.c: Likewise.
38628         * stdio-common/printf_size.c: Likewise.
38630         * math/e_exp10.c: Include math_private.h using <...> not "...".
38631         * math/e_exp10f.c: Likewise.
38632         * math/e_exp10l.c: Likewise.
38633         * math/e_exp2l.c: Likewise.
38634         * math/e_j0l.c: Likewise.
38635         * math/e_j1l.c: Likewise.
38636         * math/e_jnl.c: Likewise.
38637         * math/e_lgammal_r.c: Likewise.
38638         * math/e_rem_pio2l.c: Likewise.
38639         * math/e_scalb.c: Likewise.
38640         * math/e_scalbf.c: Likewise.
38641         * math/e_scalbl.c: Likewise.
38642         * math/k_cosl.c: Likewise.
38643         * math/k_sinl.c: Likewise.
38644         * math/k_tanl.c: Likewise.
38645         * math/s_cacoshf.c: Likewise.
38646         * math/s_catan.c: Likewise.
38647         * math/s_catanf.c: Likewise.
38648         * math/s_catanh.c: Likewise.
38649         * math/s_catanhf.c: Likewise.
38650         * math/s_catanhl.c: Likewise.
38651         * math/s_catanl.c: Likewise.
38652         * math/s_ccosh.c: Likewise.
38653         * math/s_ccoshf.c: Likewise.
38654         * math/s_ccoshl.c: Likewise.
38655         * math/s_cexp.c: Likewise.
38656         * math/s_cexpf.c: Likewise.
38657         * math/s_cexpl.c: Likewise.
38658         * math/s_clog.c: Likewise.
38659         * math/s_clog10.c: Likewise.
38660         * math/s_clog10f.c: Likewise.
38661         * math/s_clog10l.c: Likewise.
38662         * math/s_clogf.c: Likewise.
38663         * math/s_clogl.c: Likewise.
38664         * math/s_csin.c: Likewise.
38665         * math/s_csinf.c: Likewise.
38666         * math/s_csinh.c: Likewise.
38667         * math/s_csinhf.c: Likewise.
38668         * math/s_csinhl.c: Likewise.
38669         * math/s_csinl.c: Likewise.
38670         * math/s_csqrt.c: Likewise.
38671         * math/s_csqrtf.c: Likewise.
38672         * math/s_csqrtl.c: Likewise.
38673         * math/s_ctan.c: Likewise.
38674         * math/s_ctanf.c: Likewise.
38675         * math/s_ctanh.c: Likewise.
38676         * math/s_ctanhf.c: Likewise.
38677         * math/s_ctanhl.c: Likewise.
38678         * math/s_ctanl.c: Likewise.
38679         * math/s_ldexp.c: Likewise.
38680         * math/s_ldexpf.c: Likewise.
38681         * math/s_ldexpl.c: Likewise.
38682         * math/s_significand.c: Likewise.
38683         * math/s_significandf.c: Likewise.
38684         * math/s_significandl.c: Likewise.
38685         * math/w_acos.c: Likewise.
38686         * math/w_acosf.c: Likewise.
38687         * math/w_acosh.c: Likewise.
38688         * math/w_acoshf.c: Likewise.
38689         * math/w_acoshl.c: Likewise.
38690         * math/w_acosl.c: Likewise.
38691         * math/w_asin.c: Likewise.
38692         * math/w_asinf.c: Likewise.
38693         * math/w_asinl.c: Likewise.
38694         * math/w_atan2.c: Likewise.
38695         * math/w_atan2f.c: Likewise.
38696         * math/w_atan2l.c: Likewise.
38697         * math/w_atanh.c: Likewise.
38698         * math/w_atanhf.c: Likewise.
38699         * math/w_atanhl.c: Likewise.
38700         * math/w_cosh.c: Likewise.
38701         * math/w_coshf.c: Likewise.
38702         * math/w_coshl.c: Likewise.
38703         * math/w_dremf.c: Likewise.
38704         * math/w_exp10.c: Likewise.
38705         * math/w_exp10f.c: Likewise.
38706         * math/w_exp10l.c: Likewise.
38707         * math/w_exp2.c: Likewise.
38708         * math/w_exp2f.c: Likewise.
38709         * math/w_fmod.c: Likewise.
38710         * math/w_fmodf.c: Likewise.
38711         * math/w_fmodl.c: Likewise.
38712         * math/w_hypot.c: Likewise.
38713         * math/w_hypotf.c: Likewise.
38714         * math/w_hypotl.c: Likewise.
38715         * math/w_j0.c: Likewise.
38716         * math/w_j0f.c: Likewise.
38717         * math/w_j0l.c: Likewise.
38718         * math/w_j1.c: Likewise.
38719         * math/w_j1f.c: Likewise.
38720         * math/w_j1l.c: Likewise.
38721         * math/w_jn.c: Likewise.
38722         * math/w_jnf.c: Likewise.
38723         * math/w_jnl.c: Likewise.
38724         * math/w_lgamma.c: Likewise.
38725         * math/w_lgamma_r.c: Likewise.
38726         * math/w_lgammaf.c: Likewise.
38727         * math/w_lgammaf_r.c: Likewise.
38728         * math/w_lgammal.c: Likewise.
38729         * math/w_lgammal_r.c: Likewise.
38730         * math/w_log.c: Likewise.
38731         * math/w_log10.c: Likewise.
38732         * math/w_log10f.c: Likewise.
38733         * math/w_log10l.c: Likewise.
38734         * math/w_log2.c: Likewise.
38735         * math/w_log2f.c: Likewise.
38736         * math/w_log2l.c: Likewise.
38737         * math/w_logf.c: Likewise.
38738         * math/w_logl.c: Likewise.
38739         * math/w_pow.c: Likewise.
38740         * math/w_powf.c: Likewise.
38741         * math/w_powl.c: Likewise.
38742         * math/w_remainder.c: Likewise.
38743         * math/w_remainderf.c: Likewise.
38744         * math/w_remainderl.c: Likewise.
38745         * math/w_scalb.c: Likewise.
38746         * math/w_scalbf.c: Likewise.
38747         * math/w_scalbl.c: Likewise.
38748         * math/w_sinh.c: Likewise.
38749         * math/w_sinhf.c: Likewise.
38750         * math/w_sinhl.c: Likewise.
38751         * math/w_sqrt.c: Likewise.
38752         * math/w_sqrtf.c: Likewise.
38753         * math/w_sqrtl.c: Likewise.
38754         * math/w_tgamma.c: Likewise.
38755         * math/w_tgammaf.c: Likewise.
38756         * math/w_tgammal.c: Likewise.
38758         * po/ja.po: Update from translation team.
38760 2011-09-29  Andreas Jaeger  <aj@suse.de>
38762         [BZ #13179]
38763         * sunrpc/netname.c (netname2host): Fix logic.
38765         [BZ #6779]
38766         [BZ #6783]
38767         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38768         correctly.
38769         * math/w_remainder.c (__remainder): Likewise.
38770         * math/w_remainderf.c (__remainderf): Likewise.
38771         * math/libm-test.inc (remainder_test): Add test cases.
38773 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38775         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
38776         sdiv_qrnnd.
38778 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38780         * string/test-memcmp.c: Avoid unncessary #defines.
38781         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38783 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38785         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38786         Use new sse2 version for core i3 - i7 as it's faster
38787         than sse42 version.
38788         (bit_Prefer_PMINUB_for_stringop): New.
38789         * sysdeps/x86_64/rawmemchr.S: Update.
38790         Replace with faster SSE2 version.
38791         * sysdeps/x86_64/memrchr.S: New file.
38792         * sysdeps/x86_64/memchr.S: Update.
38793         Replace with faster SSE2 version.
38795 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
38797         * elf/dl-load.c (lose): Add cast to avoid warning.
38799 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38801         * po/ca.po: Update from translation team.
38803         * inet/getnetgrent_r.c: Hook up nscd.
38804         * nscd/Makefile (routines): Add nscd_netgroup.
38805         (nscd-modules): Add netgroupcache.
38806         (CFLAGS-netgroupcache.c): Define.
38807         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38808         (cache_search): Add const to second parameter.
38809         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38810         INNETGR.
38811         (dbs): Add netgrdb entry.
38812         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38813         (verify_persistent_db): Handle netgrdb.
38814         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38815         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38816         GETFDNETGR.
38817         (netgroup_response_header): Define.
38818         (innetgroup_response_header): Define.
38819         (datahead): Add netgroup_response_header and innetgroup_response_header
38820         elements.
38821         * nscd/nscd.conf: Add entries for netgroup cache.
38822         * nscd/nscd.h (dbtype): Add netgrdb.
38823         (_PATH_NSCD_NETGROUP_DB): Define.
38824         (netgroup_iov_disabled): Declare.
38825         (xmalloc, xcalloc, xrealloc): Move declarations here.
38826         (cache_search): Adjust prototype.
38827         Add netgroup-related prototypes.
38828         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38829         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38830         (__nscd_innetgr): Declare.
38831         * nscd/selinux.c (perms): Use access_vector_t as element type and
38832         add netgroup-related initializers.
38833         * nscd/netgroupcache.c: New file.
38834         * nscd/nscd_netgroup.c: New file.
38835         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38836         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38837         For four parameters use innetgr.
38838         * nss/nss_files/files-init.c: Add definition and callback for netgr.
38839         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38840         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38841         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38843         * nscd/connections.c (register_traced_file): Don't register file
38844         for disabled databases.
38846 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
38848         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38850         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38851         from tree and freeing node.
38853 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
38855         * nss/nsswitch.c (__nss_database_lookup): Handle
38856         nss_parse_service_list out of memory case.
38858 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
38860         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38861         out of memory case.
38863 2011-10-04  Andreas Schwab  <schwab@redhat.com>
38865         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38866         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38867         pass it down.
38868         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38869         elf_machine_rela, elf_machine_lazy_rel.
38870         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38871         (ELF_DYNAMIC_DO_REL): Likewise.
38872         (ELF_DYNAMIC_DO_RELA): Likewise.
38873         (ELF_DYNAMIC_RELOCATE): Likewise.
38874         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38875         to ELF_DYNAMIC_DO_REL.
38876         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38877         (dl_main): In trace mode always set __RTLD_NOIFUNC.
38878         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38879         elf_machine_rela.
38880         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38881         skip_ifunc, don't call ifunc function if non-zero.
38882         (elf_machine_rela): Likewise.
38883         (elf_machine_lazy_rel): Likewise.
38884         (elf_machine_lazy_rela): Likewise.
38885         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38886         (elf_machine_lazy_rel): Likewise.
38887         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38888         Likewise.
38889         (elf_machine_lazy_rel): Likewise.
38890         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38891         Likewise.
38892         (elf_machine_lazy_rel): Likewise.
38893         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38894         (elf_machine_lazy_rel): Likewise.
38895         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38896         (elf_machine_lazy_rel): Likewise.
38897         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38898         (elf_machine_lazy_rel): Likewise.
38899         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38900         (elf_machine_lazy_rel): Likewise.
38901         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38902         (elf_machine_lazy_rel): Likewise.
38903         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38904         (elf_machine_lazy_rel): Likewise.
38906 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
38908         * nss/nss_files/files-init.c (_nss_files_init): Use static
38909         initialization for all the *_traced_file variables.
38911 2011-09-28  Andreas Schwab  <schwab@redhat.com>
38913         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38915 2011-09-27  Roland McGrath  <roland@hack.frob.com>
38917         [BZ #13226]
38918         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38920 2011-09-27  Andreas Schwab  <schwab@redhat.com>
38922         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38923         Reread the line before reparsing it.
38925 2011-09-26  Andreas Schwab  <schwab@redhat.com>
38927         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38929 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
38930             Maxim Kuvyrkov  <maxim@codesourcery.com>
38931             Joseph Myers  <joseph@codesourcery.com>
38933         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38934         if needed for __stack_chk_guard.
38936 2011-09-19  Roland McGrath  <roland@hack.frob.com>
38938         * sysdeps/posix/spawni.c (script_execute): Always define it.
38939         It will be optimized away if unused.
38940         (maybe_script_execute): New function.
38941         (__spawni): Call it.
38943         * Makerules: Don't include tls.make.
38944         (config-tls): Always set to thread.
38945         * tls.make.c: File removed.
38947 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
38949         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38950         * config.make.in (CPPFLAGS-config): New substituted variable.
38952 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38954         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38956         [BZ #13192]
38957         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38958         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38960 2011-09-15  Roland McGrath  <roland@hack.frob.com>
38962         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38963         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38964         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38965         (CALL_FAIL): Likewise.
38966         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38967         (CALL_FAIL): Macro removed.
38968         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38970 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38972         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38973         for __FINITE_MATH_ONLY__ == 1.
38975 2011-09-15  Andreas Schwab  <schwab@redhat.com>
38977         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38978         __ieee754_sqrt instead of sqrt.
38979         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38980         __ieee754_sqrtf instead of sqrtf.
38981         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38982         __floorf instead of floorf.
38983         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38984         __floorf, __truncf instead of floorf, truncf.
38986 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
38988         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38990         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38991         __extern_always_inline.
38992         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38993         32-bit.
38995 2011-09-14  Andreas Schwab  <schwab@redhat.com>
38997         * elf/rtld.c (dl_main): Also relocate in dependency order when
38998         doing symbol dependency testing.
39000 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
39002         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39003         Always define `refsym'.
39005 2011-09-13  Andreas Schwab  <schwab@redhat.com>
39007         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39008         (__FD_ELT): Renamed from __FDELT.
39009         * misc/bits/select2.h (__FD_ELT): Likewise.
39010         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39011         __FD_MASK instead of __FDELT, __FDMASK.
39012         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39013         Likewise.
39014         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39015         Likewise.
39017         * elf/Makefile (gen-ldd): Fix pattern.
39019         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39020         (init_tls): Likewise.
39022 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
39024         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39026 2011-09-12  Andreas Schwab  <schwab@redhat.com>
39028         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39029         `struct cmsghdr *' instead of `void *'.
39030         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39031         Likewise.
39033 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
39035         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39036         if non-absolute.
39037         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39038         ldd_rewrite_script.
39040 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
39042         * configure.in: Remove --with-tls option.
39043         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39044         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39045         out in case it is missing.
39046         * sysdeps/ia64/elf/configure.in: Likewise.
39047         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39048         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39049         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39050         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39051         * sysdeps/sh/elf/configure.in: Likewise.
39052         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39053         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39054         * sysdeps/x86_64/elf/configure.in: Likewise.
39055         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39056         * sysdeps/mach/hurd/tls.h: Likewise.
39058         [BZ #13067]
39059         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39061         [BZ #13090]
39062         * configure.in: Fix use of AC_INIT.
39064         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39066 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
39068         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39069         __set_errno.
39070         * malloc/hooks.c: Likewise.
39072         [BZ #11929]
39073         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
39074         variables statically.
39075         (narenas): Initialize.
39076         (list_lock): Initialize.
39077         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
39078         initializtion of main_arena and list_lock.  Small cleanups.
39079         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39080         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
39081         Add initializers to main_arena and mp_.
39082         (malloc_state): Remove pagesize member.  Change all users to use
39083         GLRO(dl_pagesize).
39085         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39086         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
39087         is always initialized.
39089         * malloc/malloc.c: Removed unused configurations and dead code.
39090         * malloc/arena.c: Likewise.
39091         * malloc/hooks.c: Likewise.
39092         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39094         * include/tls.h: Removed.  USE___THREAD must always be defined.
39095         * bits/libc-tsd.h: Don't handle !USE___THREAD.
39096         * elf/dl-libc.c: Likewise.
39097         * elf/dl-tsd.c: Likewise.
39098         * include/errno.h: Likewise.
39099         * include/netdb.h: Likewise.
39100         * include/resolv.h: Likewise.
39101         * inet/herrno-loc.c: Likewise.
39102         * inet/herrno.c: Likewise.
39103         * malloc/arena.c: Likewise.
39104         * malloc/hooks.c: Likewise.
39105         * malloc/malloc.c: Likewise.
39106         * resolv/res-state.c: Likewise.
39107         * resolv/res_libc.c: Likewise.
39108         * sysdeps/i386/dl-machine.h: Likewise.
39109         * sysdeps/ia64/dl-machine.h: Likewise.
39110         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39111         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39112         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39113         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39114         * sysdeps/sh/dl-machine.h: Likewise.
39115         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39116         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39117         * sysdeps/unix/i386/sysdep.S: Likewise.
39118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39119         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39121         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39122         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39124         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39125         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39128         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39129         * sysdeps/x86_64/dl-machine.h: Likewise.
39130         * tls.make.c: Likewise.
39132         * configure.in: Remove --with-__thread option.  Make tests for
39133         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39134         tls_model attribute fail if no support is available.  Remove
39135         USE_IN_LIBIO.
39136         * Makeconfig: Adjust for dropped configure option.  All features are
39137         now mandatory.
39138         * Makerules: Likewise.
39139         * Versions.def: Likewise.
39140         * argp/argp-fmtstream.c: Likewise.
39141         * argp/argp-fmtstream.h: Likewise.
39142         * argp/argp-help.c: Likewise.
39143         * assert/assert.c: Likewise.
39144         * config.h.in: Likewise.
39145         * config.make.in: Likewise.
39146         * configure: Likewise.
39147         * configure.in: Likewise.
39148         * csu/Versions: Likewise.
39149         * csu/init.c: Likewise.
39150         * elf/tst-audit2.c: Likewise.
39151         * elf/tst-tls10.c: Likewise.
39152         * elf/tst-tls10.h: Likewise.
39153         * elf/tst-tls11.c: Likewise.
39154         * elf/tst-tls12.c: Likewise.
39155         * elf/tst-tls14.c: Likewise.
39156         * elf/tst-tlsmod11.c: Likewise.
39157         * elf/tst-tlsmod12.c: Likewise.
39158         * elf/tst-tlsmod13.c: Likewise.
39159         * elf/tst-tlsmod13a.c: Likewise.
39160         * elf/tst-tlsmod14a.c: Likewise.
39161         * elf/tst-tlsmod15b.c: Likewise.
39162         * elf/tst-tlsmod16a.c: Likewise.
39163         * elf/tst-tlsmod16b.c: Likewise.
39164         * elf/tst-tlsmod7.c: Likewise.
39165         * elf/tst-tlsmod8.c: Likewise.
39166         * elf/tst-tlsmod9.c: Likewise.
39167         * gmon/gmon.c: Likewise.
39168         * grp/fgetgrent_r.c: Likewise.
39169         * grp/putgrent.c: Likewise.
39170         * hurd/fopenport.c: Likewise.
39171         * include/libc-symbols.h: Likewise.
39172         * include/tls.h: Likewise.
39173         * intl/gettextP.h: Likewise.
39174         * intl/loadinfo.h: Likewise.
39175         * locale/global-locale.c: Likewise.
39176         * locale/localeinfo.h: Likewise.
39177         * mach/devstream.c: Likewise.
39178         * malloc/arena.c: Likewise.
39179         * malloc/set-freeres.c: Likewise.
39180         * misc/err.c: Likewise.
39181         * misc/getttyent.c: Likewise.
39182         * misc/mntent_r.c: Likewise.
39183         * posix/getopt.c: Likewise.
39184         * posix/wordexp.c: Likewise.
39185         * pwd/fgetpwent_r.c: Likewise.
39186         * resolv/Versions: Likewise.
39187         * resolv/res_hconf.c: Likewise.
39188         * shadow/fgetspent_r.c: Likewise.
39189         * shadow/putspent.c: Likewise.
39190         * stdio-common/printf_fphex.c: Likewise.
39191         * stdio-common/tmpfile.c: Likewise.
39192         * stdlib/abort.c: Likewise.
39193         * stdlib/fmtmsg.c: Likewise.
39194         * sunrpc/auth_unix.c: Likewise.
39195         * sunrpc/clnt_perr.c: Likewise.
39196         * sunrpc/clnt_tcp.c: Likewise.
39197         * sunrpc/clnt_udp.c: Likewise.
39198         * sunrpc/clnt_unix.c: Likewise.
39199         * sunrpc/openchild.c: Likewise.
39200         * sunrpc/svc_simple.c: Likewise.
39201         * sunrpc/svc_tcp.c: Likewise.
39202         * sunrpc/svc_udp.c: Likewise.
39203         * sunrpc/svc_unix.c: Likewise.
39204         * sunrpc/xdr.c: Likewise.
39205         * sunrpc/xdr_array.c: Likewise.
39206         * sunrpc/xdr_rec.c: Likewise.
39207         * sunrpc/xdr_ref.c: Likewise.
39208         * sunrpc/xdr_stdio.c: Likewise.
39210 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39212         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39214 2011-07-03  Andreas Jaeger  <aj@suse.de>
39216         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39217         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39218         regenerate with gen-libm-tests.pl.
39220 2010-05-12  Petr Baudis  <pasky@suse.cz>
39222         [BZ #11589]
39223         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39224         around j0() zero points by switching to j1().
39225         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39226         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39227         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39228         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39230 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39232         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39233         instead of 0.
39234         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39235         instead of 0.
39236         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39237         Patch in part by Pavel Roskin <proski@gnu.org>.
39239         [BZ #13138]
39240         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39241         realloc.
39242         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
39243         Free memory block if necessary.
39245         [BZ #12847]
39246         * libio/genops.c (INTDEF): For string streams the _lock pointer can
39247         be NULL.  Don't lock in this case.
39249 2011-09-09  Roland McGrath  <roland@hack.frob.com>
39251         * elf/elf.h (ELFOSABI_GNU): New macro.
39252         (ELFOSABI_LINUX): Define to that.
39254 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
39256         * string/strncat.c (strncat): Undef the symbol in case it has been
39257         defined in bits/string.h.
39259 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39261         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39263         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39264         link map.
39266 2011-08-17  Andreas Jaeger  <aj@suse.de>
39268         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39270 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39271             Ian Lance Taylor  <iant@google.com>
39273         * math/libm-test.inc (lround_test): New testcase.
39274         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39276 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
39278         * Makefile: Remove support for automatic cvs check-ins.
39279         * Makerules: Likewise.
39280         * config.make.in: Likewise.
39281         * configure.in: Likewise.
39282         * intl/Makefile: Likewise.
39283         * locale/Makefile: Likewise.
39284         * po/Makefile: Likewise.
39285         * posix/Makefile: Likewise.
39286         * sysdeps/gnu/Makefile: Likewise.
39287         * sysdeps/mach/hurd/Makefile: Likewise.
39288         * sysdeps/sparc/sparc32/Makefile: Likewise.
39290         [BZ #13118]
39291         * posix/Makefile (bug-regex32-ENV): Define.
39292         Patch by John Stanley <jpsinthemix@verizon.net>.
39294         * misc/Makefile (headers): Add bits/select2.h.
39295         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39296         * misc/bits/select2.h: New file.
39297         * include/bits/select2.h: New file.
39298         * debug/Makefile (routines): Add fdelt_chk.
39299         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39300         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39301         FD_ISSET.
39302         * debug/fdelt_chk.c: New file.
39304         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
39305         * wcsmbs/test-wmemcmp.c: Likewise.
39306         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39307         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39309 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39311         * string/Makefile (strop-tests): Add memcmp.
39312         * string/test-wmemcmp.c: New file.
39313         * string/test-memcmp.c: Add wmemcmp support.
39315 2011-09-08  Roland McGrath  <roland@hack.frob.com>
39317         [BZ #13153]
39318         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39319         2011-07-19 change.
39321         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39322         garbage value in a __mach_port_mod_refs call in the cases of the
39323         task-self and thread-self ports.
39325 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39327         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39329 2011-09-08  Andreas Schwab  <schwab@redhat.com>
39331         * elf/dl-load.c (lose): Check for non-null L.
39333 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39335         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39337         * elf/dl-libc.c (dlerror_run): Pass back error code from
39338         dl_catch_error.
39340         [BZ #13123]
39341         * elf/dl-load.c (lose): Free l_origin if it is valid.
39343         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39344         names.
39345         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39346         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39347         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39348         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39349         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39350         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39352 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39354         * sysdeps/powerpc/fpu/e_hypot.c: New file.
39355         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39356         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39357         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39358         * sysdeps/powerpc/fpu/k_cosf.c: New file.
39359         * sysdeps/powerpc/fpu/k_sinf.c: New file.
39360         * sysdeps/powerpc/fpu/s_cosf.c: New file.
39361         * sysdeps/powerpc/fpu/s_sinf.c: New file.
39362         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39363         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39365 2011-08-15  Alan Modra  <amodra@gmail.com>
39367         [BZ #13092]
39368         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39369         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39370         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
39371         ppc_mcount to static-only-routines.
39372         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39373         __mcount_internal.
39374         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39375         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
39377 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
39379         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39380         for finite and infinity parameters.
39382 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39384         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39385         and add nop instructions for throughput optimization.
39386         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39388 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
39390         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39391         aligned copy for power7 with vector-scalar instructions.
39392         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39394 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
39396         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39397         AVX check.
39399 2011-09-07  Andreas Schwab  <schwab@redhat.com>
39401         [BZ #13144]
39402         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39403         last change.
39405 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39407         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39408         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39409         syscall wrapper around clock_gettime in __vdso_clock_gettime.
39410         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39411         clock_gettime.
39413 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39415         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39416         Forgot to demangle the pointer.
39418         * sysdeps/i386/sysdep.h: Define atom_text_section.
39419         * sysdeps/x86_64/sysdep.h: Likewise.
39420         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39421         section with atom_text_section.
39422         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39423         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39424         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39425         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39426         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39428         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39429         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39430         already be defined.  Change to take two parameters and don't assign
39431         result to variable.  Adjust all users.
39432         Define INTERNAL_GETTIME if not already defined.
39433         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39434         call.
39435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39436         HAVE_CLOCK_GETTIME_VSYSCALL.
39437         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39439         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39440         gettimeofday vsyscall, just use time.
39442 2011-09-06  Andreas Schwab  <schwab@redhat.com>
39444         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39445         <errno.h>.
39447 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39449         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39450         syscall on x86-64.
39451         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39452         syscall.
39453         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39454         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39455         syscall if possible.
39457 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39459         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39460         e_ident.  Don't pass to find_mapsXX.
39461         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39463 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39466         strchr-sse2-no-bsf strrchr-sse2-no-bsf
39467         * sysdeps/x86_64/multiarch/strchr.S: Update.
39468         Check bit_slow_BSF bit.
39469         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39470         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39471         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39473 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39475         [BZ #13134]
39476         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39477         before glibc 2.15.
39478         (tryshell): Define.
39479         (__spawni): Change last parameter to be flag.  Test
39480         SPAWN_XFLAGS_USE_PATH flag to use path or not.
39481         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39482         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39483         * posix/spawni.c: Likewise.
39484         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39485         * posix/spawnp.c: Likewise.  Change normal version to use
39486         SPAWN_XFLAGS_USE_PATH.
39487         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39488         SPAWN_XFLAGS_TRY_SHELL.
39490         [BZ #13150]
39491         * posix/glob.h: Remove gcc 1.x support.
39493         [BZ #13068]
39494         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39496 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39499         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39500         strrchr-sse2-bsf
39501         * sysdeps/i386/i686/multiarch/strchr.S: New file.
39502         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39503         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39504         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39505         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39506         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39508 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39510         * sysdeps/x86_64/wcscmp.S: New file.
39512         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39513         wcscmp-c wcscmp-sse2
39514         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39515         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39516         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39517         * wcsmbs/wcscmp.c: Allow renaming.
39519 2011-09-05  David S. Miller  <davem@davemloft.net>
39521         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39522         stack slot, rather than the struct return pointer slot.
39523         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39524         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39526         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39528 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39530         * po/ja.po: Update from translation team.
39532         [BZ #13144]
39533         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39534         kernel in 64-bit binaries.
39536 2011-09-01  David S. Miller  <davem@davemloft.net>
39538         * elf/elf.h (HWCAP_SPARC_*): Move to..
39539         * sysdeps/sparc/sysdep.h: this new file and add new values.
39540         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39541         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39542         _DL_HWCAP_COUNT to 24.
39543         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39544         entries.
39545         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39546         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39547         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39548         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39549         instead of magic constants.
39550         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39552 2011-08-31  David S. Miller  <davem@davemloft.net>
39554         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39555         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39556         Reimplement to do errno handling inline.
39557         (SYSCALL_ERROR_HANDLER): New macro.
39558         (__SYSCALL_STRING): Do not do errno handling in asm.
39559         (__CLONE_SYSCALL_STRING): Delete.
39560         (__INTERNAL_SYSCALL_STRING): Delete.
39561         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39562         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39563         (PSEUDO): Reimplement to do errno handling inline.
39564         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39565         (SYSCALL_ERROR_HANDLER): New macro.
39566         (__SYSCALL_STRING): Do not do errno handling in asm.
39567         (__CLONE_SYSCALL_STRING): Delete.
39568         (__INTERNAL_SYSCALL_STRING): Delete.
39569         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39570         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39571         i386.
39572         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39573         (inline_syscall*): Add 'err' argument.
39574         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39575         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39576         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39577         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39579         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39580         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39582 2011-08-30  Andreas Schwab  <schwab@redhat.com>
39584         * elf/rtld.c (dl_main): Relocate objects in dependency order.
39586 2011-08-29  Jiri Olsa <jolsa@redhat.com>
39588         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39589         directive.
39591 2011-08-24  David S. Miller  <davem@davemloft.net>
39593         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39595 2011-08-24  Andreas Schwab  <schwab@redhat.com>
39597         * elf/Makefile: Add rules to build and run unload8 test.
39598         * elf/unload8.c: New file.
39599         * elf/unload8mod1.c: New file.
39600         * elf/unload8mod1x.c: New file.
39601         * elf/unload8mod2.c: New file.
39602         * elf/unload8mod3.c: New file.
39604         * elf/dl-close.c (_dl_close_worker): Reset private search list if
39605         it wasn't used.
39607 2011-08-23  David S. Miller  <davem@davemloft.net>
39609         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39610         subtract stack bias.
39611         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39612         %sp not %fp in calculations.
39613         (_JMPBUF_UNWINDS_ADJ): Likewise.
39615         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39616         (aio_suspend): Call it to force an exception region around the
39617         AIO_MISC_WAIT() invocation.
39619 2011-08-23  Andreas Schwab  <schwab@redhat.com>
39621         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39622         backslash.
39624 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
39626         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39627         protection macro.
39628         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39629         and <dl-machine.h>.
39630         (Elf64_FuncDesc): Remove.
39632 2011-08-22  David S. Miller  <davem@davemloft.net>
39634         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39635         sigaltstack check, add missing cfi directives.
39636         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39637         missing cfi directives, and sigaltstack handling.
39639 2011-08-16  Andreas Schwab  <schwab@redhat.com>
39641         [BZ #11724]
39642         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39643         object is seen twice.
39644         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39646         * elf/Makefile (distribute): Add tst-initorder2.c.
39647         (tests): Add tst-initorder2.
39648         (modules-names): Add tst-initorder2a tst-initorder2b
39649         tst-initorder2c tst-initorder2d.  Add rules to build them.
39650         ($(objpfx)tst-initorder2.out): New rule.
39651         * elf/tst-initorder2.c: New file.
39652         * elf/tst-initorder2.exp: New file.
39654 2011-08-22  Andreas Schwab  <schwab@redhat.com>
39656         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39658         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39659         dependencies back to end of function.
39661         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39662         $(elfobjdir)/ld.so.
39664 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
39666         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39667         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39668         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39669         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39670         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39671         of __vdso_gettimeofday.
39672         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39673         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
39674         attribute_hidden.
39675         (_libc_vdso_platform_setup): Remove initialization of
39676         __vdso_gettimeofday and __vdso_time.
39678 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39680         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39681         and fgetc_unlocked.
39682         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39683         getc_unlocked.
39685         * elf/dl-open.c (add_to_global): Report additions to the global scope
39686         for LD_DEBUG=scopes.
39687         (dl_open_worker): Also print scope of newly loaded dependencies.
39688         (_dl_show_scope): Indicate if there is no scope.
39690         [BZ #13114]
39691         * stdio-common/Makefile (tests): Add bug24.
39692         * stdio-common/bug24.c: New file.
39694 2011-08-19  Andreas Jaeger  <aj@suse.de>
39696         [BZ #13114]
39697         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39698         non-existant file when using close-on-exec mode.
39700 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39702         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39703         the very first instruction.
39705         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39706         the CFI state in the end.
39707         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39708         inclusion of dl-trampoline.h.
39709         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39711 2011-08-19  Andreas Schwab  <schwab@redhat.com>
39713         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39714         expectations for long double.
39716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39717         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39719 2011-08-14  David S. Miller  <davem@davemloft.net>
39721         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39722         artificual limit depends upon the system page size.
39724 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39726         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39727         * resolv/Makefile: Define CFLAGS-libresolv.
39729 2011-08-17  Andreas Schwab  <schwab@redhat.com>
39731         * nss/makedb.c (compute_tables): Make variables used in nested
39732         function static.
39734 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39736         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39737         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39738         if buffer was too small.
39740         * elf/pldd.c (main): Attach to all threads in the process.
39741         Rewrite /proc handling to use *at functions.
39743 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
39745         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39746         specifies first scope to show.
39747         (dl_open_worker): Update callers.  Move printing scope of new
39748         object to before the relocation.
39749         * elf/rtld.c (dl_main): Update _dl_show_scope call.
39750         * sysdeps/generic/ldsodefs.h: Update declaration.
39752         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39753         string for the scope number.
39755 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
39757         * nscd/servicescache.c (cache_addserv): Make sure written is always
39758         initialized.
39760 2011-08-14  Roland McGrath  <roland@hack.frob.com>
39762         * sysdeps/i386/i486/bits/atomic.h
39763         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39764         statement expression, so as to suppress "set but not used" warning.
39765         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39767         * string/strncat.c (STRNCAT): Use prototype definition.
39769         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39770         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39771         -Iprograms here.
39772         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39773         (localedef-modules): Add localedef.
39774         (locale-modules): Add locale.
39776         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39777         * elf/rtld.c (dl_main): Invert order of assignment in last change,
39778         to avoid a warning.
39780 2011-08-14  David S. Miller  <davem@davemloft.net>
39782         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39783         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39785 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
39787         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39788         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39789         * elf/rtld.c (dl_main): Set l_name of vDSO.
39790         Call _dl_show_scope when DL_DEBUG_SCOPES.
39791         (process_dl_debug): Recognize scopes flag and also set it for all.
39792         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39793         Declare _dl_show_scope.
39795         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39796         (do_dlopen): Pass caller_dlopen to dl_open.
39797         (__libc_dlopen_mode): Initialize caller_dlopen.
39799         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39800         of libc.  Make tolower call locale-independent.  Optimize a bit by
39801         using isdigit instead of isalnum.
39802         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39804 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
39806         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39807         was a dependency or dynamically loaded.
39809 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
39811         * intl/l10nflist.c: Allow architecture-specific pop function.
39812         * sysdeps/x86_64/l10nflist.c: New file.
39814         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39815         classification.
39817 2011-08-10  Andreas Schwab  <schwab@redhat.com>
39819         * include/dirent.h: Add libc_hidden_proto for scandirat and
39820         scandirat64.  Don't declare __scandirat64.
39821         * dirent/scandirat.c: Add libc_hidden_def.
39822         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39823         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39825 2011-08-10  David S. Miller  <davem@davemloft.net>
39827         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39828         enum.
39829         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39830         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39831         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39833 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
39835         * Versions.def [libc]: Add GLIBC_2.15.
39836         * dirent/Makefile (routines): Add scandirat and scandirat64.
39837         * dirent/Versions [libc]: Export scandirat and scandirat64 for
39838         GLIBC_2.15.
39839         * dirent/dirent.h: Declare scandirat and scandirat64.
39840         * dirent/scandirat.c: New file.
39841         * dirent/scandirat64.c: New file.
39842         * sysdeps/wordsize-64/scandirat.c: New file.
39843         * sysdeps/wordsize-64/scandirat64.c: New file.
39844         * dirent/opendir.c: Define opendirat.
39845         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
39846         using scandirat.
39847         * dirent/scandir64.c: Adjust for scandir.c change.
39848         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
39849         __scandirat64, and __scandir_cancel_handler.
39850         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
39851         additional parameter and use openat instead of open (outside of ld.so).
39852         Add new __opendir as wrapper around __opendirat.
39853         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39854         here without requiring old scandirat implementation.
39856 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
39858         * dirent/scandir.c (cancel_handler): Renamed to
39859         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
39860         defined.  Adjust users.
39861         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39862         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39864 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
39866         * string/test-string.h (IMPL): Use __STRING to expand name and then
39867         stringify it.
39869         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
39870         of cleanups.
39872 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39874         * string/Makefile: Update.
39875         (strop-tests): Append strncat.
39876         * string/test-wcscmp.c: New file.
39877         New comprehensive test for wcscmp.
39878         * string/test-strcmp.c: Update.
39879         (WIDE): New define.
39881 2011-07-22  Andreas Schwab  <schwab@redhat.com>
39883         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39884         line.
39886 2011-07-26  Andreas Schwab  <schwab@redhat.com>
39888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39889         encoding to ACE if AI_IDN.
39891 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
39893         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39894         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39896 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39898         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39899         Fix overflow bug in strncat.
39900         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39902         * string/test-strncat.c: Update.
39903         Add new tests for checking overflow bugs.
39905 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39908         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39909         * sysdeps/i386/i686/multiarch/strcat.S: New file.
39910         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39911         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39912         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39913         * sysdeps/i386/i686/multiarch/strncat.S: New file.
39914         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39915         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39917         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39918         (USE_AS_STRCAT): Define.
39919         Add strcat and strncat support.
39920         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39922 2011-07-25  Andreas Schwab  <schwab@redhat.com>
39924         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39925         __n bigger than INT_MAX+1.
39926         (__strncmp_g): Likewise.
39928 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
39930         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39931         * libio/stido.h: Likewise.
39933         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39934         (AF_NFC): Define.
39935         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39936         (AF_NFC): Define.
39938         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39939         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39940         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39941         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39942         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39944         [BZ #13021]
39945         * scripts/test-installation.pl: Don't expect libnss_test1 to be
39946         installed.
39948         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39949         typo.
39950         (_dl_x86_64_save_sse): Likewise.
39952 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
39954         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39955         OSXSAVE.
39956         (_dl_x86_64_save_sse): Likewise.
39958         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39960         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39962 2011-07-21  Andreas Schwab  <schwab@redhat.com>
39964         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39965         change.
39966         (_dl_x86_64_save_sse): Use correct AVX check.
39968 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39970         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39971         bug in strncpy/strncat.
39972         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39974 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
39976         * string/tester.c (test_strcat): Add tests for different alignments
39977         of source and destination.
39978         (test_strncat): Likewise.
39980 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39982         [BZ #12852]
39983         * posix/glob.c (glob): Check passed in values before using them in
39984         expressions to avoid some overflows.
39985         (glob_in_dir): Likewise.
39987         [BZ #13007]
39988         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39989         check for AVX enablement so that we don't crash with old kernels and
39990         new hardware.
39991         * elf/tst-audit4.c: Add same checks here.
39992         * elf/tst-audit6.c: Likewise.
39994         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39996 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
39998         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40000 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
40002         * po/cs.po: Update from translation team.
40003         * po/bg.po: Likewise.
40005 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
40007         * misc/sys/cdefs.h: Add support for const attribute.
40008         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40009         to gnu_dev_{major,minor,makedev} functions.
40011 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
40013         * intl/dcigettext.c (get_output_charset): Add missing bracket.
40015 2011-07-20  Andreas Schwab  <schwab@redhat.com>
40017         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40018         strlen results.
40020 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40022         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40023         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40024         register in order to avoid conflicts with the soft frame pointer
40025         being held in r11 when necessary.
40026         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40027         (INTERNAL_VSYSCALL_NCS): Likewise.
40029 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
40031         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40032         * elf/dl-fini.c (_dl_fini): Adjust caller.
40033         * elf/dl-close.c (_dl_close_worker): Likewise.
40034         * sysdeps/generic/ldsodefs.h: Adjust declaration.
40036 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
40038         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40039         "aux_cache->nlibs < 0".
40041         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40042         in the reload-count case.
40044 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40047         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40048         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40049         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40050         * sysdeps/x86_64/multiarch/strcat.S: New file.
40051         * sysdeps/x86_64/multiarch/strncat.S: New file.
40052         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40053         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40054         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40055         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40056         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40057         (USE_AS_STRCAT): Define.
40058         Add strcat and strncat support.
40059         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40060         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40061         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40062         * string/strncat.c: Update.
40063         (USE_AS_STRNCAT): Define.
40064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40065         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40066         and i7.
40067         * sysdeps/x86_64/multiarch/init-arch.h
40068         (bit_Prefer_PMINUB_for_stringop): New.
40069         (index_Prefer_PMINUB_for_stringop): Likewise.
40070         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40071         bit_Prefer_PMINUB_for_stringop.
40073 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
40075         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40076         buffer64.
40077         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40078         of casting of buffer.
40079         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40080         buffer32 and buffer64.
40081         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40082         writes instead of casting of buffer.
40083         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40084         buffer32.
40085         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40086         casting of buffer.
40088 2011-07-19  Andreas Schwab  <schwab@redhat.com>
40090         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40092 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
40094         * nscd/nscd.c (termination_handler): Don't do anything for a database
40095         if it has not yet been initialized.
40097 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
40099         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40101 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
40103         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40105 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
40107         * po/nl.po: Update from translation team.
40108         * po/sv.po: Likewise.
40110 2011-07-16  Roland McGrath  <roland@hack.frob.com>
40112         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40113         now disallowed by GCC.
40115         * configure.in (use-default-link): Default to yes if a test -shared
40116         link meets our qualifications.
40117         * configure: Regenerated.
40119         * config.make.in (output-format): New variable.
40120         * configure.in: Check for ld --print-output-format support.
40121         * configure: Regenerated.
40122         * Makerules ($(common-objpfx)format.lds)
40123         [$(output-format) != unknown]: Just use $(output-format),
40124         instead of the linker-script munging.
40126 2011-07-14  Roland McGrath  <roland@hack.frob.com>
40128         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40129         of $(common-objpfx)shlib.lds.
40130         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40132         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40133         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40135         * configure.in (-z relro check): Adjust test code to add a large
40136         writable data section after it.
40137         * configure: Regenerated.
40139 2011-07-11  Roland McGrath  <roland@hack.frob.com>
40141         * configure.in (-z relro check): Fix test code to make the variable
40142         truly const.
40143         * configure: Regenerated.
40145 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
40147         * nscd/nscd.h (struct traced_file): Define.
40148         (struct database_dyn): Remove inotify_descr, reset_res, and filename
40149         elements.  Add traced_files.
40150         (inotify_fd): Declare.
40151         (register_traced_file): Declare.
40152         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40153         (inotify_fd): Export.
40154         (resolv_conf_descr): Remove.
40155         (nscd_init): Move inotify descriptor creation to main.
40156         Don't register files for notification here.
40157         (register_traced_file): New function.
40158         (invalidate_cache): Don't use reset_res to determine whether to call
40159         res_init, go through the list of registered files.
40160         (main_loop_poll): The inotify descriptors are now stored in the
40161         structures for the traced files.
40162         (main_loop_epoll): Likewise
40163         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
40164         to __nss_disable_nscd.
40165         * nscd/cache.c (prune_cache): There is no single inotify descriptor
40166         for a database anymore.  Check the records for all the registered
40167         files instead.
40168         * nss/Makefile (libnss_files-routines): Add files-init.
40169         (libnss_db-routines): Add db-init.
40170         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40171         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40172         * nss/nss_db/db-init.c: New file.
40173         * nss/nss_files/files-init.c: New file.
40174         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
40175         __nss_lookup_function.
40176         (__nss_lookup_function): Call nss_load_library.
40177         (nss_load_all_libraries): New function.
40178         (__nss_disable_nscd): Take parameter with callback function for files
40179         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
40180         used for the cached services.
40181         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40182         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40183         options for features to all the files in nscd.
40185         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40187 2011-07-10  Roland McGrath  <roland@hack.frob.com>
40189         * csu/elf-init.c (__libc_csu_init): Comment typo.
40191 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
40193         * po/pl.po: Update from translation team.
40194         * po/ja.po: Likewise.
40195         * po/ru.po: Likewise.
40196         * po/ko.po: Likewise.
40197         * po/fr.po: Likewise.
40199 2011-07-09  Roland McGrath  <roland@hack.frob.com>
40201         * configure.in (.ctors/.dtors header and trailer check):
40202         Use an empirical test on a built program.
40203         * configure: Regenerated.
40205         * configure.in (-z relro check): Use an empirical test on a built DSO.
40206         Detect, but do not require, on ia64.
40207         * configure: Regenerated.
40209         * configure.in (READELF): Find it with AC_CHECK_TOOL.
40210         Update tests that use readelf to use $READELF instead.
40211         * configure: Regenerated.
40213 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
40215         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40216         if the result is not used.
40218 2011-07-05  Andreas Jaeger  <aj@suse.de>
40220         [BZ#9696]
40221         * stdlib/tst-strtod.c: Add testcase.
40223 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
40225         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40226         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40227         The latter has a higher limit.  Take additional parameter to pass to
40228         the new function.
40229         (__pathconf): Pass file to __statfs_link_max.
40230         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40231         __statfs_link_max.
40232         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40233         __statfs_link_max.
40235         [BZ #12868]
40236         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40237         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40238         Handle Lustre.
40239         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40240         (__statfs_filesize_max): Likewise.
40241         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40243 2011-07-05  Andreas Jaeger  <aj@suse.de>
40245         * resolv/res_comp.c (dn_skipname): Remove unused variable.
40247 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
40249         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40250         `status' variable.
40251         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40252         Likewise.
40254 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
40256         * Makefile (strop-tests): Add strncat.
40257         * string/test-strncat.c: New file.
40259 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
40261         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40263 2011-06-21  Andreas Jaeger  <aj@suse.de>
40265         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40266         Copy rule from iconvdata/Makefile.
40268 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40270         [BZ #12922]
40271         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40272         but no long options are defined, just return 'W'.
40274 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
40276         [BZ #9696]
40277         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40279 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40281         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40282         netgroups to read.
40283         (innetgr): Likewise.
40285 2011-07-05  Roland McGrath  <roland@hack.frob.com>
40287         * config.make.in (install_root): Default to $(DESTDIR).
40289 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
40291         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40293 2011-07-02  Roland McGrath  <roland@hack.frob.com>
40295         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40297         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40298         containing directory rather than embedding absolute directory names.
40300         * scripts/check-local-headers.sh: Rewritten using awk.
40301         Match by word, not by line.  Print error messages for matches.
40302         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40304         * Makerules [shlib-lds-flags empty]:
40305         ($(common-objpfx)libc_pic.opts): New target.
40306         ($(common-objpfx)libc_pic.os.clean): New target.
40307         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40309         * config.make.in (OBJCOPY): New variable.
40310         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40311         * configure: Regenerated.
40313         * config.make.in (use-default-link): New variable.
40314         * configure.in (use_default_link): Grok --with-default-link to set it.
40315         * configure: Regenerated.
40316         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40317         (shlib-lds, shlib-lds-flags): Define to empty.
40319         * Makerules (shlib-lds): New variable.
40320         (shlib-lds-flags): New variable.
40321         (build-shlib, build-moduile, build-module-asneeded): Use it.
40322         ($(common-objpfx)libc.so): Use $(shlib-lds).
40323         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40324         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40326         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40327         DT_FLAGS/DT_FLAGS_1 with zero flags.
40329         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40330         linker script munging.
40332 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
40334         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40335         as 128-bit value.
40336         * crypt/sha512.c (sha512_process_block): Perform total addition using
40337         128-bit if possible.
40338         (__sha512_finish_ctx): Likewise.
40339         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40340         as 64-bit value.
40341         * crypt/sha256.c (SWAP64): Define.
40342         (sha256_process_block): Perform total addition using 64-bit if
40343         possible.
40344         (__sha256_finish_ctx): Likewise.
40346 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
40348         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
40349         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40350         * nscd/hstcache.c (cache_addhst): Likewise.
40351         * nscd/grpcache.c (cache_addgr): Likewise.
40352         * nscd/aicache.c (addhstaiX): Likewise
40353         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40355 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
40357         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40358         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40359         * nscd/hstcache.c (cache_addhst): Likewise.
40360         * nscd/grpcache.c (cache_addgr): Likewise.
40361         * nscd/aicache.c (addhstaiX): Likewise
40363 2011-07-01  Andreas Schwab  <schwab@redhat.com>
40365         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40366         domain only when needed.
40368 2011-06-30  Andreas Schwab  <schwab@redhat.com>
40370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40371         is always restored.
40373 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
40375         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40376         are re-adding the entry.
40377         * nscd/servicescache.c (cache_addserv): Likewise.
40379 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
40381         * sysdeps/generic/dl-irel.h: fix protection against multiple
40382         inclusions.
40383         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40385 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
40387         [BZ #12935]
40388         * malloc/memusage.sh: Fix quoting in message.
40389         * debug/xtrace.sh: Likewise.
40391         * configure.in: Remove support for --experimental-malloc option, make
40392         it the default.
40393         * config.make.in: Likewise.
40394         * malloc/Makefile: Likewise.
40396 2011-06-27  Andreas Schwab  <schwab@redhat.com>
40398         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40399         two-byte characters.
40401 2011-06-27  Roland McGrath  <roland@hack.frob.com>
40403         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40404         AC_CACHE_CHECK invocation.
40405         * configure: Regenerated.
40407         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40409 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
40411         [BZ #12350]
40412         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
40413         bit from old_res_options.
40415         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40417         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40418         value type for setfct.
40420 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
40422         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40423         __gettimeofday instead of gettimeofday.
40425 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
40427         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40429 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
40431         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40433         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40434         info.
40436 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40439         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40440         strcpy-sse2-unaligned strncpy-sse2-unaligned
40441         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40442         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40443         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40444         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40445         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40446         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40447         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40448         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40449         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40450         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40451         (STRCPY): Support SSE2 and SSSE3 versions.
40453 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
40455         [BZ #12874]
40456         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40457         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40458         kernels which artificially limit size of requests.
40460 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40463         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40464         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40465         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40466         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40467         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40468         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40469         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40470         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40471         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40472         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40473         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40474         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40475         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40476         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40478         Enable unaligned load optimization for Intel Core i3, i5 and i7
40479         processors.
40480         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40481         Define.
40482         (index_Fast_Unaligned_Load): Define.
40483         (HAS_FAST_UNALIGNED_LOAD): Define.
40485 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
40487         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40489 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40491         [BZ #12907]
40492         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40493         until it is clear that the information is realy needed.
40494         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40496 2011-06-22  Andreas Schwab  <schwab@redhat.com>
40498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40500 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40502         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40503         /sys/devices/system/cpu/online if it is usable.
40505         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40506         reading the information from the /proc filesystem to once a second.
40508 2011-06-21  Andreas Jaeger  <aj@suse.de>
40510         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40511         NULL after inclusion of kernel headers.
40513 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
40515         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40516         calls to internal_setent.
40518         [BZ #12885]
40519         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40520         addresses using gethostbyname4_r ignore IPv4 addresses.
40522         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40523         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
40525         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40527 2011-06-20  David S. Miller  <davem@davemloft.net>
40529         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40530         inclusions.
40531         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40533         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40534         (elf_irel): Use it.
40535         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40536         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40537         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40538         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40539         * sysdeps/x86_64/dl-irel.h: Likewise.
40541         * elf/dl-runtime.c: Use elf_ifunc_invoke.
40542         * elf/dl-sym.c: Likewise.
40544 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40546         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
40547         need to dereference resplen2.
40549 2011-06-14  Andreas Schwab  <schwab@redhat.com>
40551         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40553 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40555         * Makeconfig: Define vardbdir and inst_vardbdir.
40556         * nss/Makefile: Add rules to install db-Makefile.
40558         * nss/nss_db/db-XXX.c: Cleanup.
40560         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40561         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40562         GLIBC_PRIVATE.
40563         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40564         * nss/makedb.c: Implement -g option to specify that value strings
40565         are generated and should not be added to table iterated over for
40566         get*ent calls.
40567         * nss/nss_db/db-initgroups.c: New file.
40569         * nss/getent.c: Add support for initgroups lookups through getgrouplist
40570         interface.
40572         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40573         (internal_getgrouplist): Adjust to name change.
40574         Update use_initgroups_entry if this is not the first call.
40575         * nss/databases.def: Add initgroups entry.
40577         * nss/makedb.c (compute_tables): Check result of multiple hash table
40578         sizes to minimize maximum chain length.
40580 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
40582         * Versions.def: Add entry for libnss_db.
40583         * shlib-versions: Likewise.
40584         * nss/Makefile: Add rules to build libnss_db.
40585         * nss/Versions: Add libnss_db information.  Organize libnss_files
40586         entries better.
40587         * nss/db-Makefile: Add gshadow support.  Change rules for the new
40588         makedb progra.  Some minor improvements to generate smaller files.
40589         * nss/nss_db/nss_db.h: Move NSS database header data structures to
40590         here from...
40591         * nss/makedb.c: ...here.
40592         Improve database format to be smaller and require less memory at
40593         runtime.
40594         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
40595         db anymore.
40596         * nss/nss_db/db-netgrp.c: Likewise.
40597         * nss/nss_db/db-open.c: Likewise.
40598         * nss/nss_files/flies-XXX.x: Adjust comments.
40599         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40600         * nss/nss_files/files-grp.c: Likewise.
40601         * nss/nss_files/files-hosts.c: Likewise.
40602         * nss/nss_files/files-network.c: Likewise.
40603         * nss/nss_files/files-proto.c: Likewise.
40604         * nss/nss_files/files-pwd.c: Likewise.
40605         * nss/nss_files/files-rpc.c: Likewise.
40606         * nss/nss_files/files-service.c: Likewise.
40607         * nss/nss_files/files-sgrp.c: Likewise.
40608         * nss/nss_files/files-spwd.c: Likewise.
40609         * nss/nss_db/db-alias.c: Removed.
40610         * nss/nss_db/dummy-db.h: Removed.
40612 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
40614         * nss/makedb.c: Rewritten to not use database library.
40615         * nss/Makefile: Update to build new makedb program.
40617 2011-06-14  Andreas Jaeger  <aj@suse.de>
40619         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40620         memset declaration.
40622 2011-06-10  Andreas Schwab  <schwab@redhat.com>
40624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40625         tmpbuf.
40627 2011-06-10  Roland McGrath  <roland@hack.frob.com>
40629         * Makerules (shlib.lds): Fail if the linker script comes out empty.
40630         * elf/Makefile ($(objpfx)ld.so): Likewise.
40632         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40633         Don't list ld.so twice in dependencies.
40635         * posix/bug-regex31.c: Include <stdlib.h>.
40637         * nscd/hstcache.c (cache_addhst): Remove unused variable.
40639         * nis/nss_compat/compat-spwd.c
40640         (getspent_next_nss_netgr): Remove unused variable.
40641         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40643         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40644         nonmembers" output to use the right array.
40646         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40648         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40650         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40651         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40652         * catgets/gencat.c (read_input_file): Likewise.
40653         * locale/programs/locarchive.c (enlarge_archive): Likewise.
40655         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40656         variable definition inside #if's controlling its use.
40658         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40660         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40662         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40664         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40665         unreachable code.
40667         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40669         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40670         * configure: Regenerated.
40672         * Makerules: Revert last change.
40673         * elf/Makefile: Likewise.
40675 2011-06-09  Roland McGrath  <roland@hack.frob.com>
40677         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40678         * elf/Makefile ($(objpfx)librtld.os): Likewise.
40679         (reloc-link): Likewise.
40681 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
40683         * elf/Makefile: Add rules to build pldd.
40684         * elf/pldd.c: New file.
40685         * elf/pldd-xx.c: New file.
40687 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
40689         * version.h: Update for 2.15 development version.
40691 2011-06-07  David S. Miller  <davem@davemloft.net>
40693         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40694         ifuncs.
40695         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40696         elf_machine_lazy_rel): Likewise.
40697         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40698         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40699         elf_machine_lazy_rel): Likewise.
40700         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40701         dl_hwcap via passed in argument.
40702         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40703         Likewise.
40705 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40707         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
40709 2011-06-06  Roland McGrath  <roland@hack.frob.com>
40711         [BZ #12849]
40712         * manual/fdl-1.1.texi: New file, verbatim from:
40713         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40714         * manual/lgpl-2.1.texi: New file, verbatim from:
40715         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40716         * manual/Makefile (licenses): New variable, list those new file names.
40717         (texis): Use it.
40718         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40720         * manual/fdl.texi: File removed.
40721         * manual/lesser.texi: File removed.
40722         * manual/libc.texinfo (Copying, Documentation License):
40723         Use new @include file names, put @appendix directive before @include.
40725 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
40727         [BZ #12841]
40728         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40729         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40730         (mq_open): Add __NTH.
40732 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
40734         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40735         Assume Intel Core i3/i5/i7 processor if AVX is available.
40737 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40739         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40740         typo.
40742 2011-05-31  Andreas Schwab  <schwab@redhat.com>
40744         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40745         memory.  Use alloca_account.  Fix memory leak when retrying.
40747 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40749         * version.h (RELEASE): Bump for 2.14 release.
40750         * include/features.h (__GLIBC_MINOR__): Bump to 14.
40752         * config.make.in (RANLIB): Remove entry.
40754 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
40756         * po/Makefile (po-sed-cmd): Add ksh to extensions.
40757         (libc.pot): Work around missing support for .ksh extension in xgettext.
40759         [BZ #12684]
40760         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40761         if both request failed.
40762         (send_dg): In case of server errors clear resplen or *resplen2.
40764         [BZ #12454]
40765         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40766         when there are multiple maps.
40767         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40768         (_dl_fini): Remove test here.
40770         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40772 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
40774         [BZ #12350]
40775         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40776         bit from old_res_options.
40777         (gaih_inet): Likewise.
40779         [BZ #11099]
40780         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40781         as signed.
40783         * resolv/res_init.c (res_setoptions): Make the code more compact.
40785         [BZ #11558]
40786         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40787         set RES_USEVC.
40789         [BZ #11634]
40790         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40792         * malloc/malloc.h: Mark malloc hook variables as deprecated.
40794         [BZ #11781]
40795         * malloc/malloc.h: Declare malloc hook variables as volatile.
40797         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40798         in last patch.
40800         [BZ #11799]
40801         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40802         raise in the comment.
40803         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40804         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40805         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40807 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
40809         [BZ #12811]
40810         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40811         grow the buffers more if it already has to be sufficient.
40812         (build_wcs_upper_buffer): Likewise.
40813         * posix/regexec.c (check_matching): Likewise.
40814         (clean_state_log_if_needed): Likewise.
40815         (extend_buffers): Don't enlarge buffers beyond size of the input
40816         buffer.
40817         Patches mostly by Emil Wojak <emil@wojak.eu>.
40818         * posix/bug-regex32.c: New file.
40819         * posix/Makefile (tests): Add bug-regex32.
40821         * locale/findlocale.c (_nl_find_locale): Return right away if
40822         _nl_explode_name failed.
40823         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40825         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40827         * debug/xtrace.sh: Unify messages.
40828         * malloc/memusage.sh: Likewise.
40830         [BZ #12813]
40831         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40832         time symbol from vDSO.  Substitute with vsyscall if not available.
40833         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40834         __vdso_time.
40836         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40837         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40838         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40839         Add sendmmsg and internal_sendmmsg.
40840         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40841         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40842         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40844         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40845         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40846         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40848 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
40850         [BZ #12813]
40851         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40852         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
40853         available.
40854         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40855         __vdso_getcpu.
40857         [BZ #12814]
40858         * iconvdata/Makefile (tests): Add bug-iconv9.
40859         * iconvdata/bug-iconv9.c: New file.
40861 2011-05-27  Andreas Schwab  <schwab@redhat.com>
40863         [BZ #12814]
40864         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40866 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
40868         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40869         (struct user_regs_struct): Change intcs field back to cs.
40871 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
40873         * po/ja.po: Update from translation team.
40875 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
40877         [BZ #12795]
40878         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40879         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40881 2011-05-20  Andreas Schwab  <schwab@redhat.com>
40883         * stdlib/longlong.h: Update from GCC.
40885 2011-05-23  Andreas Schwab  <schwab@redhat.com>
40887         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40888         parameter name.
40889         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40890         Add parameter name.
40891         (__sysconf): Pass it down.
40893 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
40895         [BZ #12671]
40896         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40897         some situations.
40898         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40899         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40900         add in in __libc_use_alloca calls.  Adjust callers.
40901         (glob): Use malloc in some situations.
40903         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40904         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40905         pltexit.
40907 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
40909         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40910         and CLOCK_BOOTTIME_ALARM.
40912         [BZ #12782]
40913         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40914         is returned.
40916         * string/_strerror.c (__strerror_r): Print negative errors as signed
40917         numbers.
40919         [BZ #12777]
40920         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40921         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40922         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40924         * configure.in: Fix typo in redirection and correct removal of test
40925         files in two cases.
40927         [BZ #12788]
40928         * locale/setlocale.c (new_composite_name): Fix test to check for
40929         identical name of all categories.
40931         [BZ #12792]
40932         * libio/filedoalloc.c (local_isatty): New function.
40933         (_IO_file_doallocate): Use local_isatty.
40934         * stdio-common/perror.c (perror): In case a new stream is used
40935         forward the stream error.
40936         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40937         error flag.
40939 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
40941         [BZ #11869]
40942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40943         alloca.
40944         * include/alloca.h (extend_alloca_account): Define.
40946         [BZ #11857]
40947         * posix/regex.h: Fix comments with documentation of user-accessible
40948         fields after compilation and describe correct free'ing of pattern
40949         after re_compile_pattern.
40950         Patch by Reuben Thomas <rrt@sc3d.org>.
40952 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
40954         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40955         and -mno-altivec to prevent the compiler from using Altivec and/or
40956         VSX instructions when the corresponding registers are not available.
40958 2011-05-19  Andreas Schwab  <schwab@redhat.com>
40960         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40962 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
40964         * libio/freopen.c (freopen): Use __dup2, not dup2.
40965         * libio/freopen64.c (freopen64): Likewise.
40967 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40969         [BZ #12775]
40970         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40971         * math/Makefile (tests): Add test-powl.
40972         (CFLAGS-test-powl.c): Define.
40973         * math/test-powl.c: New file.
40975 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40977         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40979 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
40981         [BZ #11837]
40982         * iconvdata/gb18030.c: Update to GB18020-2005.
40984 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
40986         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40987         RE_SYNTAX_POSIX_AWK): Update to match recent development.
40988         Patch by Aharon Robbins <arnold@skeeve.com>.
40990         [BZ #11892]
40991         * stdlib/putenv.c (putenv): Don't always create copy of the variable
40992         on the stack.
40994         [BZ #11895]
40995         * misc/pselect.c (__pselect): Handle timeout value errors hidden
40996         through underflows.
40998         [BZ #12766]
40999         * misc/error.c (error_at_line): Ensure file_name and old_file_name
41000         point to strings before performing equality test for error_one_per_line
41001         mode.
41003         [BZ #11697]
41004         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41006         [BZ #11820]
41007         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41008         (struct user_fpregs_struct): Avoid __uint*_t types.
41010         [BZ #6420]
41011         * malloc/mtrace.c (tr_where): Add additional parameter to point to
41012         symbol info.  Use it instead of calling _dl_addr locally.
41013         (lock_and_info): New function.
41014         (tr_freehook): Call lock_and_info and pass symbol info as additional
41015         parameter to tr_where.
41016         (tr_mallochook): Likewise.
41017         (tr_reallochook): Likewise.
41018         (tr_memalignhook): Likewise.
41020         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
41021         used and couldn't be at all thread-safe.
41023 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
41025         * libio/freopen.c (freopen): Don't close old file descriptor
41026         before the new one is opened.  Instead dup the new file descriptor
41027         to the old one after the new stream is created.
41028         * libio/freopen64.c (freopen64): Likewise.
41029         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41030         * libio/fileops.c (_IO_new_file_close_it): Handle new
41031         _IO_FLAGS2_NOCLOSE flag.
41032         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41033         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41034         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41035         _IO_FLAGS2_NOCLOSE flag.
41036         * include/unistd.h: Add hidden_proto for dup3.
41037         Define __have_dup3.
41038         * io/dup3.c: Define hidden symbol.
41039         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41041         [BZ #7101]
41042         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41043         when an incomplete long option is used.
41044         * posix/tst-getopt_long1.c: New file.
41045         * posix/Makefile (tests): Add tst-getopt_long1.
41047         [BZ #10138]
41048         * scripts/config.guess: Update from autoconf-2.68.
41049         * scripts/config.sub: Likewise.
41051         [BZ #10157]
41052         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41053         tests into ...
41054         (has_cpuclock): ...this.  New function.
41055         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41056         macro here based on has_cpuclock code.
41058         [BZ #10149]
41059         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41060         First byte (not low byte) is now always NUL.
41061         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41063         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41064         Use non-cancelable interfaces.
41066         [BZ #9809]
41067         * locale/iso-639.def: Add entry for Sorani.
41069         [BZ #11901]
41070         * include/stdlib.h: Move include protection to the right place.
41071         Define abort_msg_s.  Declare __abort_msg with it.
41072         * stdlib/abort.c (__abort_msg): Adjust type.
41073         * assert/assert.c (__assert_fail_base): New function.  Majority
41074         of code from __assert_fail.  Allocate memory for __abort_msg with
41075         mmap.
41076         (__assert_fail): Now call __assert_fail_base.
41077         * assert/assert-perr.c: Remove bulk of implementation.  Use
41078         __assert_fail_base.
41079         * include/assert.hL Declare __assert_fail_base.
41080         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41081         mmap.
41082         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41084 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
41086         [BZ #11952]
41087         [BZ #12453]
41088         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41089         until all modules are registered in the DTV.
41090         * elf/Makefile: Add rules to build and run tst-tls19.
41091         * elf/tst-tls19.c: New file.
41092         * elf/tst-tls19mod1.c: New file.
41093         * elf/tst-tls19mod2.c: New file.
41094         * elf/tst-tls19mod3.c: New file.
41095         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41097         [BZ #12083]
41098         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41099         correctly.
41101         [BZ #12601]
41102         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41103         two-byte sequence errors.
41104         * iconvdata/Makefile (tests): Add bug-iconv8.
41105         * iconvdata/bug-iconv8.c: New file.
41107         [BZ #12626]
41108         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41109         buf2 definition.
41111         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41113         [BZ #12432]
41114         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41115         (dummy_getcfa): New function.
41116         (init): Get _Unwind_GetCFA address, use dummy if not found.
41117         (backtrace_helper): In recursion check, also check whether CFA changes.
41118         (__backtrace): Completely initialize arg.
41120         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41121         storing incomplete byte sequence in state object.  Avoid testing for
41122         guaranteed too small input if we know there is enough data available.
41124 2011-05-11  Andreas Schwab  <schwab@redhat.com>
41126         * Makeconfig (+link-pie): Indent.
41127         * Rules (binaries-pie): Define if $(have-fpie) and
41128         $(build-shared).
41129         (binaries-shared): Also filter out $(binaries-pie).
41130         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41131         * nscd/Makefile (others-pie): Add nscd.
41132         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41133         ($(objpfx)nscd): Remove command override.
41134         * login/Makefile (others-pie): Add pt_chown.
41135         ($(objpfx)pt_chown): Remove command override.
41136         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41137         remove command overrides.
41139 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
41141         * libio/tst_putwc.c: Fix error messages.
41143         [BZ #12724]
41144         * libio/fileops.c (_IO_new_file_close_it): Always flush when
41145         currently writing and seek to current position when not.
41146         * libio/Makefile (tests): Add bug-fclose1.
41147         * libio/bug-fclose1.c: New file.
41149 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
41151         [BZ #12511]
41152         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41153         don't set DF_1_NODELETE here.
41154         (do_lookup_x): When entering new entry test for copy relocation
41155         and if necessary set DF_1_NODELETE flag.
41156         * elf/tst-unique4.cc: New file.
41157         * elf/tst-unique4.h: New file.
41158         * elf/tst-unique4lib.cc: New file.
41159         * elf/Makefile: Add rules to build and run tst-unique4.
41160         Patch by Piotr Bury <pbury@goahead.com>.
41162 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
41164         [BZ #12052]
41165         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41167         [BZ #12625]
41168         * misc/mntent_r.c (addmntent): Flush the stream after the output
41170         [BZ #12393]
41171         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41172         (is_trusted_path_normalize): Skip initial colon.  Append slash
41173         to empty buffer.  Duplicate is_trusted_path code but allow
41174         constructed patch to be prefix.
41175         (is_dst): Allow $ORIGIN followed by /.
41176         (_dl_dst_substitute): Correct clearing of check_for_trusted.
41177         Correct testing of result of is_trusted_path_normalize
41178         (decompose_rpath): Fix warning.
41180 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
41182         [BZ #11257]
41183         * grp/initgroups.c (internal_getgrouplist): When we found the service
41184         list through the initgroups entry in nsswitch.conf do not always
41185         continue on a successful lookup.  Don't always use the
41186         __nss_group_database value if it is set.
41187         * nss/nsswitch.conf (initgroups): Change action for successful db
41188         lookup to continue for compatibility.
41190 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
41192         [BZ #11532]
41193         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41194         and CP774 modules.
41195         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41196         and CP774 modules.
41197         * iconvdata/tst-tables.sh: Likewise.
41198         * iconvdata/cp770.c: New file.
41199         * iconvdata/cp771.c: New file.
41200         * iconvdata/cp772.c: New file.
41201         * iconvdata/cp773.c: New file.
41202         * iconvdata/cp774.c: New file.
41203         * iconvdata/testdata/CP770: New file.
41204         * iconvdata/testdata/CP770..UTF8: New file.
41205         * iconvdata/testdata/CP771: New file.
41206         * iconvdata/testdata/CP771..UTF8: New file.
41207         * iconvdata/testdata/CP772: New file.
41208         * iconvdata/testdata/CP772..UTF8: New file.
41209         * iconvdata/testdata/CP773: New file.
41210         * iconvdata/testdata/CP773..UTF8: New file.
41211         * iconvdata/testdata/CP774: New file.
41212         * iconvdata/testdata/CP774..UTF8: New file.
41214         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41215         END CHARMAP line.
41216         * iconvdata/gen-8bit-gap.sh: Likewise.
41217         * iconvdata/gen-8bit.sh: Likewise.
41219         * locale/iso-639.def: Add ary entry.
41221         [BZ #11258]
41222         * locale/C-translit.h.in: Add U20A1 transliteration.
41224         [BZ #12178]
41225         * locale/iso-639.def: Add wae entry.
41226         Patch by Kevin Bortis <bortis@translate-wae.ch>.
41228         [BZ #12545]
41229         * locale/programs/localedef.c (construct_output_path): Use ssize_t
41230         for n.
41232         [BZ #12711]
41233         * locale/C-translit.h.in: Add entry for U20B9.
41234         Patch by pravin.d.s@gmail.com.
41236 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
41238         [BZ #12713]
41239         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41240         ENAMETOOLONG use generic getcwd.
41241         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
41242         in rtld.  Use *stat64.
41243         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41244         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41245         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41246         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41247         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41248         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41249         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41250         __fstatat64 macros.
41251         * include/dirent.h: Add libc_hidden_proto for rewinddir.
41252         * dirent/rewinddir.c: Add libc_hidden_def.
41253         * sysdeps/mach/hurd/rewinddir.c: Likewise.
41254         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
41256         * include/dirent.h (__alloc_dir): Add flags parameter.
41257         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41258         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41259         __alloc_dir.
41260         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
41261         from fdopendir if O_CLOEXEC is already set.
41263 2011-03-15  Alan Modra  <amodra@gmail.com>
41265         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41266         l_tls_firstbyte_offset non-zero.  Save padding offset in
41267         l_tls_firstbyte_offset for later use.
41268         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41269         freeing static tls block.
41271 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
41273         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41274         where #ifdef was intended.  The intent is to prevent ARG_MAX from
41275         being defined by the kernel headers.
41277 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
41279         [BZ #12734]
41280         * resolv/resolv.h: Define RES_NOTLDQUERY.
41281         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41282         no-tld-query and set RES_NOTLDQUERY.
41283         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41284         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41285         modern BIND to search name as TLD unless forbidden.
41287 2011-05-07  Petr Baudis  <pasky@suse.cz>
41288             Ulrich Drepper  <drepper@gmail.com>
41290         [BZ #12393]
41291         * elf/dl-load.c (fillin_rpath): Move trusted path check...
41292         (is_trusted_path): ...to here.
41293         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41294         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41295         using is_trusted_path_normalize() in setuid scripts.
41297 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41299         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41300         __BEGIN/__END_DECLS.
41302 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
41304         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41305         NSS_STATUS_NOTFOUND if no record was found.
41307 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41309         * sunrpc/Makefile (headers): Add rpc/netdb.h.
41310         (headers-not-in-tirpc): Remove rpc/netdb.h
41311         * resolv/netdb.h: Revert last change.
41313 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41315         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41316         circular dependency between libgcc.a and libc.a.
41318 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41320         * resolv/netdb.h: Don't include <rpc/netdb.h>.
41321         * nis/Makefile: Don't install rpcsvc/*.
41322         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41323         instead of <rpc/types.h>.
41324         (MAXHOSTNAMELEN): Define.
41326 2011-05-03  Andreas Schwab  <schwab@redhat.com>
41328         * elf/ldconfig.c (add_dir): Don't crash on empty path.
41330 2011-04-28  Maciej Babinski  <mbabinski@google.com>
41332         [BZ #12714]
41333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41334         gethostbyname4_r when IPv6 results are possible.
41336 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
41338         [BZ #12723]
41339         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41340         _PC_PIPE_BUF handling.
41342 2011-04-30  Bruno Haible  <bruno@clisp.org>
41344         [BZ #12717]
41345         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41346         * resolv/netdb.h (getnameinfo): Change type of flags parameter
41347         to 'int'.
41348         * inet/getnameinfo.c (getnameinfo): Likewise.
41350 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
41352         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41353         to groups setting in database lookup.
41354         * nss/nsswitch.conf: Add initgroups entry.
41356 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
41358         [BZ #12685]
41359         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41360         mode string.
41361         Patch by Eric Blake <eblake@redhat.com>.
41363 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
41365         * sunrpc/Makefile (need-export-routines): Add svc_run.
41366         (routines): Remove svc_run.
41367         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41368         * sunrpc/clnt_perr.c (clnt_perrno): Export.
41369         * sunrpc/svc_run.c (svc_run): Likewise.
41370         * sunrpc/svc_udp.c (svcudp_create): Likewise.
41372 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
41374         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41375         problem in reallocation in last patch.
41377 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
41379         * sunrpc/Makefile: Move inclusion of Rules.
41381 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41383         * nss/nss_files/files-initgroups.c: New file.
41384         * nss/Makefile (libnss_files-routines): Add files-initgroups.
41385         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41386         _nss_files_initgroups_dyn.
41388 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
41390         * elf/elf.h (R_ARM_IRELATIVE): Define.
41392 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41394         * po/ru.po: Update from translation team.
41396 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41398         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41399         dependencies.
41401 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
41403         [BZ #12653]
41404         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41405         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41406         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41407         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41408         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41410 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
41412         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41413         differing bytes.
41414         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41415         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41416         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41418 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41420         [BZ #12420]
41421         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41422         storing it.
41423         * stdlib/bug-getcontext.c: New file.
41424         * stdlib/Makefile: Add rules to build and run bug-getcontext.
41426 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41428         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41429         instructions into .machine "z9-109".
41430         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41431         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41433 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41435         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41436         between environment variables and auxiliary vector.
41438 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
41440         * Makefile: Add rules to build linkobj/libc.so.
41441         * include/libc-symbols.h: Define libc_hidden_nolink.
41442         * include/rpc/auth.h: Mark functions which are to be hidden.
41443         * include/rpc/auth_des.h: Likewise.
41444         * include/rpc/auth_unix.h: Likewise.
41445         * include/rpc/clnt.h: Likewise.
41446         * include/rpc/des_crypt.h: Likewise.
41447         * include/rpc/key_prot.h: Likewise.
41448         * include/rpc/pmap_clnt.h: Likewise.
41449         * include/rpc/pmap_prot.h: Likewise.
41450         * include/rpc/pmap_rmt.h: Likewise.
41451         * include/rpc/rpc_msg.h: Likewise.
41452         * include/rpc/svc.h: Likewise.
41453         * include/rpc/svc_auth.h: Likewise.
41454         * include/rpc/xdr.h: Likewise.
41455         * nis/Makefile: Link all DSOs against linkobj/libc.so.
41456         * nss/Makefile: Likewise.
41457         * sunrpc/Makefile: Don't install headers.  Build library with normal
41458         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
41459         * sunrpc/auth_des.c: Hide exported symbols by default, export some
41460         for the compat linking library.  Remove use of INTDEF/INTUSE.
41461         * sunrpc/auth_none.c: Likewise.
41462         * sunrpc/auth_unix.c: Likewise.
41463         * sunrpc/authdes_prot.c: Likewise.
41464         * sunrpc/authuxprot.c: Likewise.
41465         * sunrpc/clnt_gen.c: Likewise.
41466         * sunrpc/clnt_perr.c: Likewise.
41467         * sunrpc/clnt_raw.c: Likewise.
41468         * sunrpc/clnt_simp.c: Likewise.
41469         * sunrpc/clnt_tcp.c: Likewise.
41470         * sunrpc/clnt_udp.c: Likewise.
41471         * sunrpc/clnt_unix.c: Likewise.
41472         * sunrpc/des_crypt.c: Likewise.
41473         * sunrpc/des_soft.c: Likewise.
41474         * sunrpc/get_myaddr.c: Likewise.
41475         * sunrpc/key_call.c: Likewise.
41476         * sunrpc/key_prot.c: Likewise.
41477         * sunrpc/netname.c: Likewise.
41478         * sunrpc/pm_getmaps.c: Likewise.
41479         * sunrpc/pm_getport.c: Likewise.
41480         * sunrpc/pmap_clnt.c: Likewise.
41481         * sunrpc/pmap_prot.c: Likewise.
41482         * sunrpc/pmap_prot2.c: Likewise.
41483         * sunrpc/pmap_rmt.c: Likewise.
41484         * sunrpc/publickey.c: Likewise.
41485         * sunrpc/rpc_cmsg.c: Likewise.
41486         * sunrpc/rpc_common.c: Likewise.
41487         * sunrpc/rpc_dtable.c: Likewise.
41488         * sunrpc/rpc_prot.c: Likewise.
41489         * sunrpc/rpc_thread.c: Likewise.
41490         * sunrpc/rtime.c: Likewise.
41491         * sunrpc/svc.c: Likewise.
41492         * sunrpc/svc_auth.c: Likewise.
41493         * sunrpc/svc_authux.c: Likewise.
41494         * sunrpc/svc_raw.c: Likewise.
41495         * sunrpc/svc_run.c: Likewise.
41496         * sunrpc/svc_simple.c: Likewise.
41497         * sunrpc/svc_tcp.c: Likewise.
41498         * sunrpc/svc_udp.c: Likewise.
41499         * sunrpc/svc_unix.c: Likewise.
41500         * sunrpc/svcauth_des.c: Likewise.
41501         * sunrpc/xcrypt.c: Likewise.
41502         * sunrpc/xdr.c: Likewise.
41503         * sunrpc/xdr_array.c: Likewise.
41504         * sunrpc/xdr_float.c: Likewise.
41505         * sunrpc/xdr_intXX_t.c: Likewise.
41506         * sunrpc/xdr_mem.c: Likewise.
41507         * sunrpc/xdr_rec.c: Likewise.
41508         * sunrpc/xdr_ref.c: Likewise.
41509         * sunrpc/xdr_sizeof.c: Likewise.
41510         * sunrpc/xdr_stdio.c: Likewise.
41512 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
41514         [BZ #12650]
41515         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41516         * sysdeps/ia64/dl-tls.h: Likewise.
41517         * sysdeps/powerpc/dl-tls.h: Likewise.
41518         * sysdeps/s390/dl-tls.h: Likewise.
41519         * sysdeps/sh/dl-tls.h: Likewise.
41520         * sysdeps/sparc/dl-tls.h: Likewise.
41521         * sysdeps/x86_64/dl-tls.h: Likewise.
41522         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41524 2011-03-14  Andreas Schwab  <schwab@redhat.com>
41526         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41527         rpath element also skip the following colon.
41528         (expand_dynamic_string_token): Add is_path parameter and pass
41529         down to DL_DST_REQUIRED and _dl_dst_substitute.
41530         (decompose_rpath): Call expand_dynamic_string_token with
41531         non-zero is_path.  Ignore empty rpaths.
41532         (_dl_map_object_from_fd): Call expand_dynamic_string_token
41533         with zero is_path.
41535 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
41537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41538         Make cancelable.
41540 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
41542         [BZ #12655]
41543         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41544         Patch by Filipe David Manana <fdmanana@apache.org>.
41546 2011-04-07  Andreas Schwab  <schwab@redhat.com>
41548         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41549         Maintain aligned stack.
41550         (CHECK_RSP): Remove unused macro.
41552 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
41554         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41555         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41557 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
41559         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41561         * include/features.h: Mention __USE_XOPEN2K8 in comment.
41563 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
41565         [BZ #12518]
41566         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41567         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41568         * sysdeps/x86_64/memmove.c: New file.
41569         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41570         (memcpy): Renamed to ...
41571         (__new_memcpy): This.
41572         (memcpy): Provide GLIBC_2_14 memcpy.
41573         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41574         (memcpy): Provide GLIBC_2_2_5 memcpy.
41576 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41578         [BZ #12631]
41579         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41581 2011-03-30  Andreas Schwab  <schwab@redhat.com>
41583         * misc/syncfs.c: New file.
41584         * misc/Makefile (routines): Add syncfs.
41585         * posix/unistd.h: Declare syncfs.
41586         * sysdeps/unix/syscalls.list: Add syncfs.
41588 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41590         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41591         open_by_handle_at.
41592         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41593         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41595         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41596         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41597         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41598         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41600 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41602         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41603         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41604         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41606         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41608         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41610         * io/Makefile: Compile fallocate.c, fallocate64.c, and
41611         sync_file_range.c with -fexceptions.
41612         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41613         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41614         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41615         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41616         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41617         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41618         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41619         sync_file_range as cancellation point
41620         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
41621         now a wrapper around __call_sync_file_range with cancellation handling.
41622         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41623         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
41624         function name to __call_sync_file_range.
41625         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41626         Add call_sync_file_range.
41628 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41631         bits/timex.h.
41633 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41635         * iconv/iconv.h: Fix typo in comment.
41636         * io/fcntl.h: Likewise.
41637         * libio/stdio.h: Likewise.
41638         * posix/spawn.h: Likewise.
41639         * posix/unistd.h: Likewise.
41640         * stdlib/stdlib.h: Likewise.
41641         * time/time.h: Likewise.
41642         * wcsmbs/wchar.h: Likewise.
41644         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41645         open_by_handle): Add.
41646         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41647         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
41648         Augment a few comments.
41649         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41650         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41651         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41652         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41653         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41654         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41655         open_by_handle.
41657         * io/fcntl.h (AT_EMPTY_PATH): Define.
41659 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
41661         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41662         * sysdeps/unix/sysv/linux/bits/time.h: New file.
41663         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41664         to...
41665         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
41666         * Versions.def: Add GLIBC_2.14.
41667         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41668         Export.
41670 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
41672         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41673         round counter.
41674         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41676 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41678         [BZ #12597]
41679         * string/test-strncmp.c (do_page_test): New function.
41680         (check2): Likewise.
41681         (test_main): Call check2.
41682         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41684 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
41686         [BZ #12587]
41687         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41688         Handle cache information in CPU leaf 4.
41689         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41691 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
41693         [BZ #12583]
41694         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41695         character representation.
41696         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41698 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
41700         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41701         END(__isnan) to END(__isnanf) to match function entry point/label
41702         EALIGN(__isnanf,...).
41704 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
41706         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41708 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
41710         [BZ #12510]
41711         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41712         copy from the symbol referenced in the relocation to initialize the
41713         used variable.
41714         Patch by Piotr Bury <pbury@goahead.com>.
41715         * elf/Makefile: Add rules to build and tst-unique3.
41716         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41717         * elf/tst-unique3.cc: New file.
41718         * elf/tst-unique3.h: New file.
41719         * elf/tst-unique3lib.cc: New file.
41720         * elf/tst-unique3lib2.cc: New file.
41722         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41724 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
41726         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41727         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
41728         to _start.
41730 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
41732         * elf/dl-load.c (_dl_map_object): If we are looking for the first
41733         to-be-loaded object along a path to loader is ld.so.
41735 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41736             Ulrich Drepper  <drepper@gmail.com>
41738         * sysdeps/x86_64/memset.S: After aligning destination, code
41739         branches to different locations depending on the value of
41740         misalignment, when multiarch is enabled. Fix this.
41742 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41744         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41745         Set _x86_64_preferred_memory_instruction for AMD processsors.
41746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41747         Set bit_Prefer_SSE_for_memop for AMD processors.
41749 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
41751         * libio/fmemopen.c (fmemopen): Optimize a bit.
41753 2011-03-03  Andreas Schwab  <schwab@redhat.com>
41755         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41757 2011-03-03  Roland McGrath  <roland@redhat.com>
41759         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41761 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
41763         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41764         __bzero_ultra1 instead of __memset_ultra1.
41766 2011-02-23  Andreas Schwab  <schwab@redhat.com>
41767             Ulrich Drepper  <drepper@gmail.com>
41769         [BZ #12509]
41770         * include/link.h (struct link_map): Add l_orig_initfini.
41771         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41772         returning unsuccessfully.
41773         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41774         close of a file loaded at startup, restore the original l_initfini
41775         list.
41776         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41777         list, store the pointer.
41778         * elf/Makefile ($(objpfx)noload-mem): New rule.
41779         (noload-ENV): Define.
41780         (tests): Add $(objpfx)noload-mem.
41781         * elf/noload.c: Include <memcheck.h>.
41782         (main): Call mtrace.  Close all opened handles.
41784 2011-02-17  Andreas Schwab  <schwab@redhat.com>
41786         [BZ #12454]
41787         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41788         dependencies are missing.
41790 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41792         Fix __if_freereq crash: Unlike the generic version which uses free,
41793         Hurd needs munmap.
41794         * sysdeps/mach/hurd/ifreq.h: New file.
41796 2011-01-27  Petr Baudis  <pasky@suse.cz>
41797             Ulrich Drepper  <drepper@gmail.com>
41799         [BZ 12445]#
41800         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41801         to extend_alloca().
41802         * stdio-common/bug23.c: New file.
41803         * stdio-common/Makefile (tests): Add bug23.
41805 2010-09-28  Andreas Schwab  <schwab@redhat.com>
41806             Ulrich Drepper  <drepper@gmail.com>
41808         [BZ #12489]
41809         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41810         before performing relro protection.  At old place add assertion
41811         to make sure nothing changed.
41813 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
41814             Glauber de Oliveira Costa  <glommer@gmail.com>
41816         * elf/elf.h: Add new ARM TLS relocs.
41818 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
41820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41821         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41822         cast from r3.
41823         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
41824         'tests' variable.
41825         * sysdeps/wordsize-64/tst-writev.c: New file.
41827 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
41829         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41830         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41831         insns in _dl_start to prevent a TOC reference before relocs are
41832         resolved.
41834 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
41836         [BZ #12469]
41837         * Makeconfig: Remove RANLIB definition.
41838         * Makerules: Don't use RANLIB.
41839         * aclocal.m4: Remove ranlib test.
41840         * configure.in: No need to check for ranlib.
41841         * elf/rtld-Rules: Don't use RANLIB.
41843 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41845         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41846         protection macro.
41847         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41848         inclusion protection macro.
41850         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41851         SIGRTMIN and SIGRTMAX and print information in that case only when
41852         SIGRTMIN is defined.
41854 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
41856         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41857         arginfo fn returning -1.
41859         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41860         and thousands string is zero terminated.
41862 2011-02-03  Andreas Schwab  <schwab@redhat.com>
41864         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41865         sysdeps/unix/sysv/linux/bits/socket.h.
41867 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41869         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41870         (__CPU_COUNT): Remove old macros.
41871         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41872         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41873         (__CPU_ALLOC, __CPU_FREE): Add macros.
41874         (__sched_cpualloc, __sched_cpufree): Add declarations.
41876 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
41878         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41879         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41880         * nscd/aicache.c (addhstaiX): Return timeout of added value.
41881         (readdhstai): Return value of addhstaiX call.
41882         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41883         (addgrbyX): Return value returned by cache_addgr.
41884         (readdgrbyname): Return value returned by addgrbyX.
41885         (readdgrbygid): Likewise.
41886         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41887         (addpwbyX): Return value returned by cache_addpw.
41888         (readdpwbyname): Return value returned by addhstbyX.
41889         (readdpwbyuid): Likewise.
41890         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41891         (addservbyX): Return value returned by cache_addserv.
41892         (readdservbyname): Return value returned by addservbyX:
41893         (readdservbyport): Likewise.
41894         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41895         (addhstbyX): Return value returned by cache_addhst.
41896         (readdhstbyname): Return value returned by addhstbyX.
41897         (readdhstbyaddr): Likewise.
41898         (readdhstbynamev6): Likewise.
41899         (readdhstbyaddrv6): Likewise.
41900         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41901         (readdinitgroups): Return value returned by addinitgroupsX.
41902         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41903         (prune_cache): Keep track of timeout value of re-added entries.
41904         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41905         * nscd/nscd.h: Adjust prototypes of readd* functions.
41907 2011-02-04  Roland McGrath  <roland@redhat.com>
41909         * nis/nis_server.c (nis_servstate): Use the right name for 0.
41910         (nis_stats): Likewise.
41911         * nis/nis_modify.c (nis_modify): Likewise.
41912         * nis/nis_remove.c (nis_remove): Likewise.
41913         * nis/nis_add.c (nis_add): Likewise.
41915         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41917         * posix/fnmatch_loop.c: Add some consts.
41919         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41921 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
41923         [BZ #12460]
41924         * config.make.in (config-cflags-novzeroupper): Define.
41925         * configure.in: Substitute libc_cv_cc_novzeroupper.
41926         * elf/Makefile (AVX-CFLAGS): Define.
41927         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41928         (CFLAGS-tst-auditmod4a.c): Likewise.
41929         (CFLAGS-tst-auditmod4b.c): Likewise.
41930         (CFLAGS-tst-auditmod6b.c): Likewise.
41931         (CFLAGS-tst-auditmod6c.c): Likewise.
41932         (CFLAGS-tst-auditmod7b.c): Likewise.
41933         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41935 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
41937         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41938         function to the callback.
41939         Patch partly by Jiri Olsa <jolsa@redhat.com>.
41941 2011-02-02  Andreas Schwab  <schwab@redhat.com>
41943         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41944         of errno.
41946 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
41948         [BZ #11724]
41949         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41950         of constructors.
41951         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41952         of destructors.
41953         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41955         [BZ #11724]
41956         * elf/Makefile: Add rules to build and run new test.
41957         * elf/tst-initorder.c: New file.
41958         * elf/tst-initorder.exp: New file.
41959         * elf/tst-initordera1.c: New file.
41960         * elf/tst-initordera2.c: New file.
41961         * elf/tst-initordera3.c: New file.
41962         * elf/tst-initordera4.c: New file.
41963         * elf/tst-initorderb1.c: New file.
41964         * elf/tst-initorderb2.c: New file.
41965         * elf/tst-order-a1.c: New file.
41966         * elf/tst-order-a2.c: New file.
41967         * elf/tst-order-a3.c: New file.
41968         * elf/tst-order-a4.c: New file.
41969         * elf/tst-order-b1.c: New file.
41970         * elf/tst-order-b2.c: New file.
41971         * elf/tst-order-main.c: New file.
41972         New test case by George Gensure <werkt0@gmail.com>.
41974 2010-10-01  Andreas Schwab  <schwab@redhat.com>
41976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41977         decoding ACE if AI_CANONIDN.
41979 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
41981         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41983 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
41985         * version.h (RELEASE): Bump for 2.13 release.
41986         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41988         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41990         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41991         MADV_NOHUGEPAGE.
41992         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41993         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41994         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41995         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41996         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41997         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41999         * posix/getconf.c: Update copyright year.
42000         * catgets/gencat.c: Likewise.
42001         * csu/version.c: Likewise.
42002         * debug/catchsegv.sh: Likewise.
42003         * debug/xtrace.sh: Likewise.
42004         * elf/ldconfig.c: Likewise.
42005         * elf/ldd.bash.in: Likewise.
42006         * elf/sprof.c (print_version): Likewise.
42007         * iconv/iconv_prog.c: Likewise.
42008         * iconv/iconvconfig.c: Likewise.
42009         * locale/programs/locale.c: Likewise.
42010         * locale/programs/localedef.c: Likewise.
42011         * malloc/memusage.sh: Likewise.
42012         * malloc/mtrace.pl: Likewise.
42013         * nscd/nscd.c (print_version): Likewise.
42014         * nss/getent.c: Likewise.
42016         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42017         PF_CAIF, and PF_ALG.
42018         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42020 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
42022         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42023         (modules-names): Use them.
42024         (ifunc-test-modules, ifunc-pie-tests): Define.
42025         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42026         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42027         (test-extras): Likewise.
42028         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42029         $(compile-command.c).
42030         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42031         (all-built-dso): Define.
42032         (check-textrel.out, check-execstack.out): Depend on it.
42034         * configure.in: Don't override --enable-multi-arch.
42036 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
42038         [BZ #6812]
42039         * nscd/hstcache.c (tryagain): Define.
42040         (cache_addhst): Return tryagain not notfound for temporary errors.
42041         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42042         failed.
42044 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
42046         [BZ #10563]
42047         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42048         to make the syscall.
42049         * sysdeps/unix/sysv/linux/setgroups.c: New file.
42051         [BZ #12378]
42052         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42053         and fall back to matching as normal character if the string ends before
42054         the matching ']' is found.  This is what POSIX requires.
42055         * posix/testfnm.c: Adjust test result.
42056         * posix/globtest.sh: Adjust test result.  Add new test.
42057         * posix/tst-fnmatch.input: Likewise.
42058         * posix/tst-fnmatch2.c: Add new test.
42060 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
42062         * elf/Makefile (check-execstack): Revert last change.  Depend on
42063         check-execstack.h.
42064         (check-execstack.h): New target.
42065         (generated): Add check-execstack.h.
42066         * elf/check-execstack.c: Include "check-execstack.h".
42067         (main): Revert last change.
42068         (handle_file): Return zero if GNU_STACK is absent and
42069         DEFAULT_STACK_PERMS doesn't include PF_X.
42071 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
42073         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42074         in child fails because the descriptor is already closed.
42075         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42076         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42077         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42079         [BZ #12397]
42080         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42081         syscall.
42083         [BZ #10484]
42084         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42085         temporary buffer used to handle multi lookups locally.
42086         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42088 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42090         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42091         loader is ld.so.
42093 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
42095         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42096         alignment for SSE2.
42098 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42100         [BZ #12394]
42101         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42102         characters.  When rounding increased number of integer digits recompute
42103         number of groups.
42104         * stdio-common/tst-grouping.c: New file.
42105         * stdio-common/Makefile: Add rules to build and run tst-grouping.
42107 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
42109         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42110         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
42112         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42113         void.
42114         * bits/select.h: Likewise.
42116 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
42118         * po/ja.po: Update from translation team.
42120 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
42122         [BZ #11155]
42123         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42124         implementation just like for lxstat, fxstatat, et al.
42126 2010-12-27  Jim Meyering  <meyering@redhat.com>
42128         [BZ #12348]
42129         * posix/regexec.c (build_trtable): Return failure indication upon
42130         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
42132 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
42134         [BZ #12201]
42135         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42136         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42137         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42138         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42140         [BZ #12207]
42141         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42143         [BZ #12204]
42144         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42145         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42147 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
42149         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42150         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42151         script has SORT_BY_INIT_PRIORITY.
42152         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42153         NO_CTORS_DTORS_SECTIONS is defined.
42154         * elf/soinit.c: Likewise.
42155         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42156         NO_CTORS_DTORS_SECTIONS is defined.
42157         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42158         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42159         * sysdeps/sh/init-first.c: Likewise.
42160         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42162 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
42164         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42165         always use the slow path.
42167 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
42169         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42170         similar rule which adds the sysdep directories to the header search in
42171         order to pick up the correct platform stackinfo.h.
42172         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42173         perform test if it is, otherwise return successfully without testing.
42174         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42175         DEFAULT_STACK_PERMS define in stackinfo.h.
42176         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42177         defined in stackinfo.h.
42178         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42179         DEFAULT_STACK_PERMS defined in stackinfo.h.
42180         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42181         * sysdeps/ia64/stackinfo.h: Likewise.
42182         * sysdeps/s390/stackinfo.h: Likewise.
42183         * sysdeps/sh/stackinfo.h: Likewise.
42184         * sysdeps/sparc/stackinfo.h: Likewise.
42185         * sysdeps/x86_64/stackinfo.h: Likewise.
42186         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42187         PF_X for powerpc64.  Retain PF_X for powerpc32.
42189 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
42191         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42192         accurately.
42193         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42194         GETDENTS_64BIT_ALIGNED.
42196 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
42198         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42200 2010-12-10  Andreas Schwab  <schwab@redhat.com>
42202         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42203         _GNU_SOURCE.
42205         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42206         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42207         Remove __restrict.
42208         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42209         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42211 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
42213         [BZ #11655]
42214         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42215         are initialized.
42217 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
42219         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42221 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
42223         * po/it.po: Update from translation team.
42225 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
42227         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42228         unused codes.
42230 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
42232         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42234 2010-11-24  Andreas Schwab  <schwab@redhat.com>
42236         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42237         specially.
42238         (gaih_getanswer_slice): Likewise.
42240 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
42242         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42244 2010-05-31  Petr Baudis  <pasky@suse.cz>
42246         [BZ #11149]
42247         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42248         silently even in the chroot mode.
42250 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
42252         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42253         last patch a bit.  Pretty printing
42255 2010-05-31  Petr Baudis <pasky@suse.cz>
42257         [BZ #10085]
42258         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42259         initialization of skip_initgroups_dyn.
42261 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
42263         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42264         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42266 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
42268         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42270 2010-11-11  Andreas Schwab  <schwab@redhat.com>
42272         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42273         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42274         (tst-fnmatch-ENV): Set MALLOC_TRACE.
42275         ($(objpfx)tst-fnmatch-mem): New rule.
42276         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42277         * posix/tst-fnmatch.c (main): Call mtrace.
42279 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
42281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42282         Support Intel processor model 6 and model 0x2c.
42284 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
42286         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42287           signed comparison.
42289 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
42291         [BZ #12205]
42292         * string/test-strncasecmp.c (check_result): New function.
42293         (do_one_test): Use it.
42294         (check1): New function.
42295         (test_main): Use it.
42296         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42297         Support strcasecmp and strncasecmp.
42299 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
42301         [BZ #12194]
42302         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42303         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42305 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42307         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42308         IFUNC support.
42309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42310         memset-x86-64.
42311         * sysdeps/x86_64/multiarch/bzero.S: New file.
42312         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42313         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42314         * sysdeps/x86_64/multiarch/memset.S: New file.
42315         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42317         Set bit_Prefer_SSE_for_memop for Intel processors.
42318         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42319         Define.
42320         (index_Prefer_SSE_for_memop): Define.
42321         (HAS_PREFER_SSE_FOR_MEMOP): Define.
42323 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
42325         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42326         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42328 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
42330         [BZ #12191]
42331         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42332         (__x86_64_raw_data_cache_size_half): Likewise.
42333         (__x86_64_raw_shared_cache_size): Likewise.
42334         (__x86_64_raw_shared_cache_size_half): Likewise.
42336         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42337         (__x86_64_raw_data_cache_size_half): Likewise.
42338         (__x86_64_raw_shared_cache_size): Likewise.
42339         (__x86_64_raw_shared_cache_size_half): Likewise.
42340         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42341         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42342         and __x86_64_raw_shared_cache_size_half.  Round
42343         __x86_64_data_cache_size_half, __x86_64_data_cache_size
42344         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42345         to multiple of 256 bytes.
42347 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
42349         [BZ #12167]
42350         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42351         of inacessible symlinks.  Verify result of symlink before returning it.
42352         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42353         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42355 2010-10-28  Erich Ritz  <erichritz@gmail.com>
42357         * math/math.h (isinf): Fix typo in comment.
42359 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
42361         * po/da.po: Update from translation team.
42363 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
42365         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42366         is added to the list.
42368 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42369             Ulrich Drepper  <drepper@gmail.com>
42371         * elf/dl-object.c (_dl_new_object): Don't append the new object to
42372         the global list here.  Move code to...
42373         (_dl_add_to_namespace_list): ...here.  New function.
42374         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42375         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42376         * elf/dl-load.c (lose): Don't remove the element from the list.
42377         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42378         (_dl_map_object): Likewise.
42380 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
42382         [BZ #12159]
42383         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42384         into all bytes of SSE register.
42385         Patch by Richard Li <richardpku@gmail.com>.
42387 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
42389         [BZ #12140]
42390         * malloc/malloc.c (_int_free): Fill correct number of bytes when
42391         perturbing.
42393 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
42395         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42396         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42397         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42398         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42400         submachine.
42401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42403 2010-10-22  Andreas Schwab  <schwab@redhat.com>
42405         * include/dlfcn.h (__RTLD_SECURE): Define.
42406         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
42407         mode & __RTLD_SECURE instead.
42408         (open_path): Rename preloaded parameter to secure.
42409         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42410         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42411         * elf/dl-deps.c (openaux): Likewise.
42412         * elf/rtld.c (struct map_args): Remove is_preloaded.
42413         (map_doit): Don't use it.
42414         (dl_main): Likewise.
42415         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42416         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42418 2010-09-09  Andreas Schwab  <schwab@redhat.com>
42420         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42421         (sysd-rules-targets): Remove duplicates.
42422         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42423         rtld-%.$o dependency.
42425 2010-10-18  Andreas Schwab  <schwab@redhat.com>
42427         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42428         _dl_map_object do it.
42430 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
42432         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42433         fast fma builtins, define the macros in the C99 standard.
42434         (FP_FAST_FMAF): Likewise.
42435         (FP_FAST_FMAL): Likewise.
42436         * sysdeps/x86_64/bits/mathdef.h: Likewise.
42438         * bits/mathdef.h: Update copyright year.
42439         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42441 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
42443         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42444         builtins, define the macros in the C99 standard.
42445         (FP_FAST_FMAF): Likewise.
42446         (FP_FAST_FMAL): Likewise.
42447         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42448         multiply/add.
42449         (FP_FAST_FMAF): Likewise.
42451 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
42453         [BZ #3268]
42454         * math/libm-test.inc (fma_test): Some new testcases.
42455         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42456         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42457         y and infinite z.  Do multiplication by C already in long double.
42458         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42460         y and infinite z.  Do bitwise or of inexact bit into u.d.
42461         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42462         * sysdeps/i386/fpu/s_fmaf.S: Removed.
42463         * sysdeps/i386/fpu/s_fma.S: Removed.
42464         * sysdeps/i386/fpu/s_fmal.S: Removed.
42466 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
42468         [BZ #3268]
42469         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42470         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42471         computation is not scheduled after fetestexcept.  Fix value
42472         of minimum denormal long double.
42474 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
42476         [BZ #3268]
42477         * math/libm-test.inc (fma_test): Add some more tests.
42478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42479         correctly.
42481 2010-10-15  Andreas Schwab  <schwab@redhat.com>
42483         * scripts/data/localplt-s390-linux-gnu.data: New file.
42484         * scripts/data/localplt-s390x-linux-gnu.data: New file.
42486 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
42488         [BZ #3268]
42489         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42490         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42491         instead of dbl-64.
42492         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42493         inlines.
42494         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42496         if one of x and y is very large and the other is subnormal.
42497         * sysdeps/s390/fpu/s_fmaf.c: New file.
42498         * sysdeps/s390/fpu/s_fma.c: New file.
42499         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42500         * sysdeps/powerpc/fpu/s_fma.S: New file.
42501         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42502         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42503         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42505 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
42507         [BZ #3268]
42508         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42509         fma tests.
42510         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42511         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42512         * sysdeps/i386/i686/multiarch/s_fma.c: Include
42513         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42514         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42515         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42516         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42518 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
42520         [BZ #12078]
42521         * posix/regcomp.c (parse_branch): One more memory leak plugged.
42522         * posix/bug-regex31.input: Add test case.
42524 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42526         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42527         * posix/bug-regex31.input: New file.
42529         [BZ #12078]
42530         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42531         (parse_sub_exp): Fix last change, use postorder.
42533         * posix/bug-regex31.c: New file.
42534         * posix/Makefile: Add rules to build and run bug-regex31.
42536         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42538         [BZ #12078]
42539         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42541         [BZ #12108]
42542         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42543         to have entries in sys_siglist.
42545         [BZ #12093]
42546         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42547         be NULL.
42549 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
42551         [BZ #3268]
42552         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42553         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42554         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42555         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42556         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42557         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42558         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42559         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42560         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42561         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42562         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42563         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42564         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42565         * math/ftestexcept.c (fetestexcept): Likewise.
42566         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42567         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42568         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42569         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42570         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42571         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42572         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42574 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42576         [BZ #12107]
42577         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42578         newline.
42580 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
42582         * string/bug-strstr1.c: New file.
42583         * string/Makefile: Add rules to build and run bug-strstr1.
42585 2010-10-05  Eric Blake  <eblake@redhat.com>
42587         [BZ #12092]
42588         * string/str-two-way.h (two_way_long_needle): Always clear memory
42589         when skipping input due to the shift table.
42591 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
42593         [BZ #12005]
42594         * malloc/mcheck.c: Handle large requests.
42596         [BZ #12077]
42597         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42598         for strncmp and strncasecmp.
42599         * string/stratcliff.c: Add tests for strcmp and strncmp.
42600         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42602 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42604         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42605         __set_fpscr.
42607 2010-09-30  Andreas Jaeger  <aj@suse.de>
42609         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42610         (CGROUP_SUPER_MAGIC): Define.
42611         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42612         Handle btrfs and cgroup file systems.
42613         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42614         Likewise.
42616 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
42618         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42619         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42621 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42623         [BZ #12067]
42624         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42625         trying to locate the ELF header.
42627 2010-09-27  Andreas Schwab  <schwab@redhat.com>
42629         [BZ #11611]
42630         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42631         Mask out sign-bit copies when constructing f_fsid.
42633 2010-09-24  Petr Baudis <pasky@suse.cz>
42635         * debug/stack_chk_fail_local.c: Add missing licence exception.
42636         * debug/warning-nop.c: Likewise.
42638 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
42640         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42641         implementing getdents64 using getdents syscall, set d_type if
42642         __ASSUME_GETDENTS32_D_TYPE.
42644 2010-09-16  Andreas Schwab  <schwab@redhat.com>
42646         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42647         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42649 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
42651         [BZ #12037]
42652         * posix/unistd.h: Undo change of feature selection for ftruncate from
42653         2010-01-11.
42655 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
42657         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42658         detection.
42660 2010-09-20  Andreas Schwab  <schwab@redhat.com>
42662         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42663         fanotify_mark.
42664         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42666 2010-09-14  Andreas Schwab  <schwab@redhat.com>
42668         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42669         variables after CHECK_SP call.
42670         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42672 2010-09-13  Andreas Schwab  <schwab@redhat.com>
42673             Ulrich Drepper  <drepper@redhat.com>
42675         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42676         re-relocationg ld.so.
42677         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42678         _dl_init_paths call.
42679         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
42680         here anymore.
42682 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
42684         * resolv/res_init.c (__res_vinit): Count the default server we added.
42686 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
42687             Ulrich Drepper  <drepper@redhat.com>
42689         [BZ #11968]
42690         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42691         (____longjmp_chk): Use %ebx for saving value across system call.
42692         Add unwind info.
42694 2010-09-06  Andreas Schwab  <schwab@redhat.com>
42696         * manual/Makefile: Don't mix pattern rules with normal rules.
42698 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42700         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42701         operation.
42702         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42703         * libio/iofopncook.c (_IO_cookie_init): Likewise.
42704         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42705         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42706         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42707         Likewise.
42709 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
42711         [BZ #11979]
42712         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42713         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42715 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
42717         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42718         * sysdeps/x86_64/addmul_1.S: Likewise.
42719         * sysdeps/x86_64/lshift.S: Likewise.
42720         * sysdeps/x86_64/mul_1.S: Likewise.
42721         * sysdeps/x86_64/rshift.S: Likewise.
42722         * sysdeps/x86_64/sub_n.S: Likewise.
42723         * sysdeps/x86_64/submul_1.S: Likewise.
42725 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42727         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42728         Define __sched_param instead of SCHED_* and sched_param when
42729         <bits/sched.h> is included with __need_schedparam defined.
42730         * bits/sched.h [__need_schedparam]
42731         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42732         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42733         (__defined_schedparam): Define to 1.
42734         (__sched_param): New structure, identical to sched_param.
42735         (__need_schedparam): Undefine.
42737 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
42739         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42740         (epoll_create1): Declare.
42742         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42744 2010-08-31  Andreas Schwab  <schwab@redhat.com>
42746         [BZ #7066]
42747         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42748         shifting retval into place.
42750 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
42752         * nis/rpcsvc/nis.h: Update copyright notice.
42753         * nis/rpcsvc/nis.x: Likewise.
42754         * nis/rpcsvc/nis_callback.h: Likewise.
42755         * nis/rpcsvc/nis_callback.x: Likewise.
42756         * nis/rpcsvc/nis_object.x: Likewise.
42757         * nis/rpcsvc/nis_tags.h: Likewise.
42758         * nis/rpcsvc/yp.h: Likewise.
42759         * nis/rpcsvc/yp.x: Likewise.
42760         * nis/rpcsvc/ypupd.h: Likewise.
42761         * nis/yp_xdr.c: Likewise.
42762         * nis/ypupdate_xdr.c: Likewise.
42764         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
42765         mainly the body of pmap_getport.  Add parameters to specify timeouts.
42766         (pmap_getport): Use __libc_rpc_getport.
42767         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42768         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42769         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42771 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
42773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42774         fanotify_mark.
42776 2010-08-27  Roland McGrath  <roland@redhat.com>
42778         * sysdeps/i386/i686/multiarch/Makefile
42779         (CFLAGS-varshift.c): New variable.
42781 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
42783         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42784         * sysdeps/i386/i686/multiarch/varshift.c: New file.
42786         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42788         * sysdeps/x86_64/strlen.S: Minimal code improvement.
42790 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
42792         * sysdeps/x86_64/strlen.S: Unroll the loop.
42793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42794         strlen-sse2 strlen-sse2-bsf.
42795         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42796         __strlen_no_bsf if bit_Slow_BSF is set.
42797         (__strlen_sse42): Removed.
42798         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42799         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42801 2010-08-25  Roland McGrath  <roland@redhat.com>
42803         * sysdeps/x86_64/multiarch/varshift.S: File removed.
42804         * sysdeps/x86_64/multiarch/varshift.c: New file.
42805         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42806         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42807         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42808         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42810 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
42812         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42813         strlen-sse2 strlen-sse2-bsf.
42814         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42815         __strlen_sse2_bsf if bit_Slow_BSF is unset.
42816         (__strlen_sse2): Removed.
42817         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42818         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42819         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42820         bit_Slow_BSF for Atom.
42821         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42822         (index_Slow_BSF): Define.
42823         (HAS_SLOW_BSF): Define.
42825 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
42827         [BZ #10851]
42828         * resolv/res_init.c (__res_vinit): When no server address at all
42829         is given default to loopback.
42831 2010-08-24  Roland McGrath  <roland@redhat.com>
42833         * configure.in: Remove config-name.h generation.
42834         * configure: Regenerated.
42835         * config-name.in: File removed.
42836         * scripts/config-uname.sh: New file.
42837         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42838         ($(objdir)config-name.h): New target.
42840         * sunrpc/rpc_parse.h: Avoid nested comment.
42842 2010-08-24  Richard Henderson  <rth@redhat.com>
42843             Ulrich Drepper  <drepper@redhat.com>
42844             H.J. Lu  <hongjiu.lu@intel.com>
42846         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42848         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42849         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
42850         _mm_alignr_epi8 with _mm_loadu_si128.
42851         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42852         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42853         (__m128i_shift_right): Removed.
42854         * sysdeps/i386/i686/multiarch/varshift.h: New file.
42855         * sysdeps/i386/i686/multiarch/varshift.S: New file.
42856         * sysdeps/x86_64/multiarch/varshift.h: New file.
42857         * sysdeps/x86_64/multiarch/varshift.S: New file.
42859 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
42861         * configure.in: Move assembler checks to before sysdep dir checking.
42863 2010-08-20  Petr Baudis  <pasky@suse.cz>
42865         * LICENSES: Sync the sunrpc license.
42867 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
42869         * sunrpc/auth_des.c: Update copyright notice once again.
42870         * sunrpc/auth_none.c: Likewise.
42871         * sunrpc/auth_unix.c: Likewise.
42872         * sunrpc/authdes_prot.c: Likewise.
42873         * sunrpc/authuxprot.c: Likewise.
42874         * sunrpc/bindrsvprt.c: Likewise.
42875         * sunrpc/clnt_gen.c: Likewise.
42876         * sunrpc/clnt_perr.c: Likewise.
42877         * sunrpc/clnt_raw.c: Likewise.
42878         * sunrpc/clnt_simp.c: Likewise.
42879         * sunrpc/clnt_tcp.c: Likewise.
42880         * sunrpc/clnt_udp.c: Likewise.
42881         * sunrpc/clnt_unix.c: Likewise.
42882         * sunrpc/des_crypt.c: Likewise.
42883         * sunrpc/des_soft.c: Likewise.
42884         * sunrpc/get_myaddr.c: Likewise.
42885         * sunrpc/getrpcport.c: Likewise.
42886         * sunrpc/key_call.c: Likewise.
42887         * sunrpc/key_prot.c: Likewise.
42888         * sunrpc/openchild.c: Likewise.
42889         * sunrpc/pm_getmaps.c: Likewise.
42890         * sunrpc/pm_getport.c: Likewise.
42891         * sunrpc/pmap_clnt.c: Likewise.
42892         * sunrpc/pmap_prot.c: Likewise.
42893         * sunrpc/pmap_prot2.c: Likewise.
42894         * sunrpc/pmap_rmt.c: Likewise.
42895         * sunrpc/rpc/auth.h: Likewise.
42896         * sunrpc/rpc/auth_unix.h: Likewise.
42897         * sunrpc/rpc/clnt.h: Likewise.
42898         * sunrpc/rpc/des_crypt.h: Likewise.
42899         * sunrpc/rpc/key_prot.h: Likewise.
42900         * sunrpc/rpc/netdb.h: Likewise.
42901         * sunrpc/rpc/pmap_clnt.h: Likewise.
42902         * sunrpc/rpc/pmap_prot.h: Likewise.
42903         * sunrpc/rpc/pmap_rmt.h: Likewise.
42904         * sunrpc/rpc/rpc.h: Likewise.
42905         * sunrpc/rpc/rpc_des.h: Likewise.
42906         * sunrpc/rpc/rpc_msg.h: Likewise.
42907         * sunrpc/rpc/svc.h: Likewise.
42908         * sunrpc/rpc/svc_auth.h: Likewise.
42909         * sunrpc/rpc/types.h: Likewise.
42910         * sunrpc/rpc/xdr.h: Likewise.
42911         * sunrpc/rpc_clntout.c: Likewise.
42912         * sunrpc/rpc_cmsg.c: Likewise.
42913         * sunrpc/rpc_common.c: Likewise.
42914         * sunrpc/rpc_cout.c: Likewise.
42915         * sunrpc/rpc_dtable.c: Likewise.
42916         * sunrpc/rpc_hout.c: Likewise.
42917         * sunrpc/rpc_main.c: Likewise.
42918         * sunrpc/rpc_parse.c: Likewise.
42919         * sunrpc/rpc_parse.h: Likewise.
42920         * sunrpc/rpc_prot.c: Likewise.
42921         * sunrpc/rpc_sample.c: Likewise.
42922         * sunrpc/rpc_scan.c: Likewise.
42923         * sunrpc/rpc_scan.h: Likewise.
42924         * sunrpc/rpc_svcout.c: Likewise.
42925         * sunrpc/rpc_tblout.c: Likewise.
42926         * sunrpc/rpc_util.c: Likewise.
42927         * sunrpc/rpc_util.h: Likewise.
42928         * sunrpc/rpcinfo.c: Likewise.
42929         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42930         * sunrpc/rpcsvc/key_prot.x: Likewise.
42931         * sunrpc/rpcsvc/klm_prot.x: Likewise.
42932         * sunrpc/rpcsvc/mount.x: Likewise.
42933         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42934         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42935         * sunrpc/rpcsvc/rex.x: Likewise.
42936         * sunrpc/rpcsvc/rstat.x: Likewise.
42937         * sunrpc/rpcsvc/rusers.x: Likewise.
42938         * sunrpc/rpcsvc/sm_inter.x: Likewise.
42939         * sunrpc/rpcsvc/spray.x: Likewise.
42940         * sunrpc/rpcsvc/yppasswd.x: Likewise.
42941         * sunrpc/rtime.c: Likewise.
42942         * sunrpc/svc.c: Likewise.
42943         * sunrpc/svc_auth.c: Likewise.
42944         * sunrpc/svc_authux.c: Likewise.
42945         * sunrpc/svc_raw.c: Likewise.
42946         * sunrpc/svc_run.c: Likewise.
42947         * sunrpc/svc_simple.c: Likewise.
42948         * sunrpc/svc_tcp.c: Likewise.
42949         * sunrpc/svc_udp.c: Likewise.
42950         * sunrpc/svc_unix.c: Likewise.
42951         * sunrpc/svcauth_des.c: Likewise.
42952         * sunrpc/xcrypt.c: Likewise.
42953         * sunrpc/xdr.c: Likewise.
42954         * sunrpc/xdr_array.c: Likewise.
42955         * sunrpc/xdr_float.c: Likewise.
42956         * sunrpc/xdr_mem.c: Likewise.
42957         * sunrpc/xdr_rec.c: Likewise.
42958         * sunrpc/xdr_ref.c: Likewise.
42959         * sunrpc/xdr_sizeof.c: Likewise.
42960         * sunrpc/xdr_stdio.c: Likewise.
42962         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42963         handling.
42965 2010-08-19  Andreas Schwab  <schwab@redhat.com>
42967         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42969 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
42971         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42972         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42973         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42974         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42975         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42976         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42977         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42978         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42979         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42980         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42981         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42982         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42983         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42984         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42986 2010-07-26  Anton Blanchard  <anton@samba.org>
42988         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42989         * malloc/arena.c (heap_trim): Likewise.
42991 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
42993         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42994         here.  Not...
42995         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42996         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42998 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43000         * sysdeps/i386/elf/Makefile: New file.
43002 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
43004         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43005         from fanotify_init.
43006         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43007         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43009 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
43011         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43012         of strncasecmp_l.
43013         * sysdeps/multiarch/strcmp.S: Likewise.
43015 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
43017         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43018         strncase_l-nonascii.
43019         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43020         Add strncase_l-ssse3.
43021         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43022         * sysdeps/x86_64/strcmp.S: Likewise.
43023         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43024         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43025         * sysdeps/x86_64/strncase.S: New file.
43026         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43027         * sysdeps/x86_64/strncase_l.S: New file.
43028         * string/Makefile (strop-tests): Add strncasecmp.
43029         * string/test-strncasecmp.c: New file.
43031         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43032         warning.
43034         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43035         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43037 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
43039         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43041 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
43043         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43044         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43045         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43047 2010-05-01  Alan Modra  <amodra@gmail.com>
43049         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43050         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43051         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43052         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43053         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43054         tidying.  Don't tail-call __sigjmp_save for static lib.
43055         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43056         save location.
43057         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43058         (CALL_MCOUNT): Add eh info, and nop after bl.
43059         (TAIL_CALL_SYSCALL_ERROR): New macro.
43060         (PSEUDO_RET): Use it.
43061         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43062         Correct save location of integer regs and cr.
43063         (_dl_profile_resolve): Correct cr save location.  Delete nops
43064         after bl when SHARED.  Reduce cfi size a little by better
43065         placement of cfi directives.
43066         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43067         make a stack frame.  Instead use parm save area as a temp.
43068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43069         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
43070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43071         Don't make a stack frame for parent, use parm save area.
43072         Increase child stack frame to 112 bytes.  Don't save unused reg,
43073         and adjust reg usage.  Set up cfi on error recovery and
43074         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43076         (__makecontext): Add dummy nop after jump to exit.
43077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43078         Use correct parm save area and cr save, reduce stack frame.
43079         Correct cfi for possible PSEUDO_RET frame setup.
43080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43081         Branch to local label emitted by PSEUDO_RET rather than
43082         __syscall_error.
43084 2010-08-12  Andreas Schwab  <schwab@redhat.com>
43086         [BZ #11904]
43087         * locale/programs/locale.c (print_assignment): New function.
43088         (show_locale_vars): Use it.
43090 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
43092         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43093         field.
43094         (struct statfs64): Likewise.
43095         (_STATFS_F_FLAGS): Define.
43096         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43097         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43098         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43099         (ST_VALID): Define locally.
43100         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43101         __statvfs_getflags, use the provided value.
43102         * sysdeps/unix/sysv/linux/kernel-features.h: Define
43103         __ASSUME_STATFS_F_FLAGS.
43105         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43107         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43108         Add sys/fanotify.h.
43109         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43110         fanotify_mask for GLIBC_2.13.
43111         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43112         fanotify_init and fanotify_mark.
43113         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43114         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43116         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43117         Add prlimit.
43118         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43119         prlimit64 for GLIBC_2.13.
43120         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43121         prlimit64.
43122         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43123         syscall.
43124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43125         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43126         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43127         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43128         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
43129         add prlimit alias.
43130         * sysdeps/unix/sysv/linux/prlimit.c: New file.
43132         [BZ #11903]
43133         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43134         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43136         * nss/Makefile: Add rules to build and run tst-nss-test1.
43137         * shlib-versions: Add entry for libnss_test1.
43138         * nss/nss_test1.c: New file.
43139         * nss/tst-nss-test1.c: New file.
43141         * nss/nsswitch.c (__nss_database_custom): Define new variable.
43142         (__nss_configure_lookup): Set appropriate entry in
43143         __nss_configure_lookup to true.
43144         * nss/nsswitch.h: Define enum with indeces of databases in
43145         databases and __nss_database_custom arrays.  Declare
43146         __nss_database_custom.
43147         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43148         to avoid using nscd when custom rules are installed.
43149         * nss/getXXbyYY_r.c: Likewise.
43150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43152         * nss/nss_files/files-parse.c: Whitespace fixes.
43154 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
43156         [BZ #11883]
43157         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43158         * posix/fnmatch_loop.c: Likewise.
43160 2010-07-17  Andi Kleen  <ak@linux.intel.com>
43162         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43163         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43164         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43165         * Versions.def [GLIBC_2.13]: Add.
43167 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
43169         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43170         Also fail if tpwd after pwuid call is NULL.
43172 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43174         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43175         when converting to ms.
43177 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43179         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43180         EOPNOTSUPP errors with ENOTTY.
43181         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43182         EOPNOTSUPP errors with ENOTTY.
43184 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
43186         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43187         Add strcasecmp_l-ssse3.
43188         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43189         strcasecmp.
43190         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43191         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43192         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43194 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
43196         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43198         * string/Makefile (strop-tests): Add strcasecmp.
43199         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43200         strcasecmp_l-nonascii.
43201         (gen-as-const-headers): Add locale-defines.sym.
43202         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43203         * sysdeps/x86_64/strcasecmp.S: New file.
43204         * sysdeps/x86_64/strcasecmp_l.S: New file.
43205         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43206         * sysdeps/x86_64/locale-defines.sym: New file.
43207         * string/test-strcasecmp.c: New file.
43209         * string/test-strcasestr.c: Test both ends of the range of characters.
43210         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43212 2010-07-29  Roland McGrath  <roland@redhat.com>
43214         [BZ #11856]
43215         * manual/locale.texi (Yes-or-No Questions): Fix example code.
43217 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
43219         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43220         for ld.so.
43222 2010-07-27  Andreas Schwab  <schwab@redhat.com>
43224         * manual/memory.texi (Malloc Tunable Parameters): Document
43225         M_PERTURB.
43227 2010-07-26  Roland McGrath  <roland@redhat.com>
43229         [BZ #11840]
43230         * configure.in (-fgnu89-inline check): Set and substitute
43231         gnu89_inline, not libc_cv_gnu89_inline.
43232         * configure: Regenerated.
43233         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43235 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
43237         * string/test-strnlen.c: New file.
43238         * string/Makefile (strop-tests): Add strnlen.
43239         * string/tester.c (test_strnlen): Add a few more test cases.
43240         * string/tst-strlen.c: Better error reporting.
43242         * sysdeps/x86_64/strnlen.S: New file.
43244 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
43246         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43247         lower-latency instructions.
43249 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
43251         * string/test-strcasestr.c: New file.
43252         * string/test-strstr.c: New file.
43253         * string/Makefile (strop-tests): Add strstr and strcasestr.
43254         * string/str-two-way.h: Don't undefine MAX.
43255         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43257 2010-07-21  Andreas Schwab  <schwab@redhat.com>
43259         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43260         strcasestr-nonascii.
43261         (CFLAGS-strcasestr-nonascii.c): Define.
43262         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43263         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43264         Remove unused attribute.
43266 2010-07-20  Roland McGrath  <roland@redhat.com>
43268         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43269         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
43270         ld.so.cache was broken.  With it, there is no way to disable dsocaps
43271         like LD_HWCAP_MASK can disable hwcaps.
43273 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43275         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43277 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
43279         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43280         call in strcasestr.
43281         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43282         __strcasestr_sse42_nonascii.
43283         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43284         strcasestr-nonascii.c.
43285         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43287 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
43289         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43290         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43291         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43292         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43294 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
43296         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43297         fcntl.
43299 2010-07-06  Andreas Schwab  <schwab@redhat.com>
43301         [BZ #11577]
43302         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43303         dl_signal_cerror.
43305 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
43307         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43308         _PC_PIPE_BUF using F_GETPIPE_SZ.
43310 2010-07-05  Roland McGrath  <roland@redhat.com>
43312         * manual/arith.texi (Rounding Functions): Fix rint description
43313         implicit in round description.
43315 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
43317         * elf/Makefile: Fix linking for a few tests to make recent linker
43318         happy.
43320 2010-06-30  Andreas Schwab  <schwab@redhat.com>
43322         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43323         $(common-objpfx)libc_nonshared.a.
43325 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
43327         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43328         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43329         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43330         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43331         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43332         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43333         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43334         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43349         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43350         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43351         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43352         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43353         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43354         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43355         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43356         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43357         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43358         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43359         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43360         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43376 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
43378         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43379         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
43380         * string/memmove.c (memmove): Renamed to ...
43381         (MEMMOVE): ...this.  Default to memmove.
43382         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43383         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43384         (END_CHK): Define.
43385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43386         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43387         mempcpy-ssse3-back memmove-ssse3-back.
43388         * sysdeps/x86_64/multiarch/bcopy.S: New file .
43389         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43390         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43391         * sysdeps/x86_64/multiarch/memcpy.S: New file.
43392         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43393         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43394         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43395         * sysdeps/x86_64/multiarch/memmove.c: New file.
43396         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43397         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43398         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43399         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43400         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43401         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43402         Define.
43403         (index_Fast_Copy_Backward): Define.
43404         (HAS_ARCH_FEATURE): Define.
43405         (HAS_FAST_REP_STRING): Define.
43406         (HAS_FAST_COPY_BACKWARD): Define.
43408 2010-06-21  Andreas Schwab  <schwab@redhat.com>
43410         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43411         Restore proper fallback handling.
43413 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
43415         [BZ #11701]
43416         * posix/group_member.c (__group_member): Correct checking loop.
43418         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43419         OOM in getpwuid_r correctly.  Return error number when the caller
43420         should return, otherwise -1.
43421         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43422         call returning > 0 value.
43423         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43425 2010-06-07  Andreas Schwab  <schwab@redhat.com>
43427         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43428         libc_nonshared.a from targets in modules-names.
43430 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
43432         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43433         requires it.
43435 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
43437         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43438         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43439         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43440         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43442 2010-06-02  Andreas Schwab  <schwab@redhat.com>
43444         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43446 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
43448         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43449         and F_GETPIPE_SZ.
43450         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43451         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43453         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43454         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43455         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43457 2010-06-14  Roland McGrath  <roland@redhat.com>
43459         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43461 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
43463         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43464         __REDIRECT followed by __THROW.
43465         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43466         * posix/getopt.h (getopt): Likewise.
43468 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43470         * hurd/lookup-at.c (__file_name_lookup_at): Accept
43471         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
43472         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43473         in AT_FLAGS.
43474         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43475         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43477 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
43479         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43481 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
43483         [BZ #11640]
43484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43485         Properly check family and model.
43487 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
43489         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43491 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
43493         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43495 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
43497         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43498         symbol reference.
43500 2010-05-19  Andreas Schwab  <schwab@redhat.com>
43502         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43503         symbol reference.
43505 2010-05-21  Andreas Schwab  <schwab@redhat.com>
43507         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43508         and internal_recvmmsg.
43509         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43510         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43511         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43512         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43514         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43515         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43516         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43518 2010-05-20  Andreas Schwab  <schwab@redhat.com>
43520         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43522 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
43524         POWER7 optimizations.
43525         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43526         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43528 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
43530         * version.h: Update for 2.13 development version.
43532 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
43534         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43535         exceptions.  Return 0.
43537 2010-05-07  Roland McGrath  <roland@redhat.com>
43539         * elf/ldconfig.c (main): Add a const.
43541 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
43543         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43544         (args_options): Add no-idn option.
43545         (ahosts_keys_int): Add idn_flags to ai_flags.
43546         (parse_option): Handle 'i' option to clear idn_flags.
43548         * malloc/malloc.c (_int_free): Possible race in the most recently
43549         added check.  Only act on the data if no current modification
43550         happened.
43552 See ChangeLog.17 for earlier changes.