BZ #15583: r7 uninitialized in strcpy.S when ARM_HAS_T2 undefined
[glibc.git] / ChangeLog
blob8e212923c03ad4e71acf43bc2fbf0f22218fcc42
1 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3         * posix/transbug.c: Likewise.
5 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7         * crypt/speeds.c: Remove trailing whitespace.
8         * dlfcn/default.c: Likewise.
9         * elf/ifuncdep2.c: Likewise.
10         * elf/ifuncmain1.c: Likewise.
11         * elf/ifuncmain1vis.c: Likewise.
12         * elf/testobj.h: Likewise.
13         * elf/tst-stackguard1.c: Likewise.
14         * gmon/sys/gmon.h: Likewise.
15         * hurd/hurdmsg.c: Likewise.
16         * hurd/new-fd.c: Likewise.
17         * hurd/ports-get.c: Likewise.
18         * iconvdata/ibm1008_420.c: Likewise.
19         * inet/tst-getni1.c: Likewise.
20         * inet/tst-getni2.c: Likewise.
21         * libio/ioungetc.c: Likewise.
22         * libio/wfiledoalloc.c: Likewise.
23         * manual/libm-err-tab.pl: Likewise.
24         * math/w_dremf.c: Likewise.
25         * misc/ftruncate.c: Likewise.
26         * posix/bug-glob2.c: Likewise.
27         * posix/tst-pcre.c: Likewise.
28         * posix/wait4.c: Likewise.
29         * resolv/README: Likewise.
30         * resolv/res_debug.h: Likewise.
31         * resolv/tst-inet_ntop.c: Likewise.
32         * setjmp/bug269-setjmp.c: Likewise.
33         * soft-fp/extended.h: Likewise.
34         * soft-fp/op-1.h: Likewise.
35         * soft-fp/op-2.h: Likewise.
36         * soft-fp/op-4.h: Likewise.
37         * soft-fp/op-8.h: Likewise.
38         * soft-fp/testit.c: Likewise.
39         * stdio-common/bug16.c: Likewise.
40         * stdlib/random.c: Likewise.
41         * sunrpc/rpcsvc/rquota.x: Likewise.
42         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
43         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
69         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71         * sysdeps/ieee754/s_lib_version.c: Likewise.
72         * sysdeps/mach/hurd/check_fds.c: Likewise.
73         * sysdeps/mach/hurd/getsockname.c: Likewise.
74         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
75         * sysdeps/mach/hurd/recvfrom.c: Likewise.
76         * sysdeps/powerpc/bits/link.h: Likewise.
77         * sysdeps/powerpc/dl-procinfo.c: Likewise.
78         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
79         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
80         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
81         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
82         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
83         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
84         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
85         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
86         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
87         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
88         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
89         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
90         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
91         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
92         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
93         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
94         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
95         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
96         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
97         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
98         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
99         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
100         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
101         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
102         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
103         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
104         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
105         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
106         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
107         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
108         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
109         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
110         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
111         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
112         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
113         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
114         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
115         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
116         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
117         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
118         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
119         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
120         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
121         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
122         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
123         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
124         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
125         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
126         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
127         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
128         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
129         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
130         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
131         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
132         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
133         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
134         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
135         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
136         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
137         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
138         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
139         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
140         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
141         * sysdeps/powerpc/sysdep.h: Likewise.
142         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
143         * sysdeps/s390/s390-64/sub_n.S: Likewise.
144         * sysdeps/sh/dl-trampoline.S: Likewise.
145         * sysdeps/sh/memset.S: Likewise.
146         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
147         * sysdeps/sh/strlen.S: Likewise.
148         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
149         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
150         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
151         * sysdeps/sparc/sparc32/rem.S: Likewise.
152         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
153         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
154         * sysdeps/sparc/sparc32/strchr.S: Likewise.
155         * sysdeps/sparc/sparc32/udiv.S: Likewise.
156         * sysdeps/sparc/sparc32/urem.S: Likewise.
157         * sysdeps/sparc/sparc64/add_n.S: Likewise.
158         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
159         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
160         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
161         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
162         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
163         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
164         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
165         * sysdeps/unix/bsd/times.c: Likewise.
166         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
167         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
171         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
172         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
173         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
174         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
175         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
176         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
177         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
178         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
179         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
180         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
181         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
182         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
183         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
184         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
185         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
186         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
187         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
188         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
189         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
190         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
191         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
192         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
193         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
194         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
195         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
196         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
197         * sysdeps/x86_64/strcspn.S: Likewise.
199 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
201         * locale/C-translit.h: Revert #include <stdint.h> because this is a
202         generated file.  Regenerate properly from gen-translit.pl.
203         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
204         locale/C-translit.h.
206 2013-06-05  Andreas Schwab  <schwab@suse.de>
208         [BZ #15100]
209         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
210         week as 6 instead of -1.
211         * time/tst-strptime.c (day_tests): Add test case.
213 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
215         * sysdeps/generic/math_private.h
216         (libc_feholdexcept_setround_53bit): Replace with
217         libc_feholdsetround_53bit.
218         (libc_feupdateenv_53bit): Replace with
219         libc_feresetround_53bit.
220         (SET_RESTORE_ROUND_53BIT): Adjust.
222 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
224         * string/test-strchrnul.c: Add copyright header.
226         * posix/tst-getaddrinfo4.c: Increase test timeout.
228 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
230         [BZ #15536]
231         * math/libm-test.inc (MAX_EXP): Remove
232         (MIN_EXP): Define.
233         (ulp): Use MIN_EXP - MANT_DIG.
234         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
236 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
238         * po/be.po: Revert last change.
239         * po/zh_CN.po: Likewise.
240         * po/header.pot: Likewise.
242 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
244         * Makefile ($(common-objpfx)linkobj/libc.so): Define
245         link-libc-deps to empty as target-specific variable.
246         * Makerules (link-libc-args): New variable.
247         (libc-for-link): Likewise.
248         (link-libc-deps): Likewise.
249         (lib%.so): Depend on $(link-libc-deps).  Link with
250         $(link-libc-args).
251         (build-module): Link with $(link-libc-args).
252         (build-module-asneeded): Likewise.
253         (build-module-helper-objlist): Filter out $(link-libc-deps) from
254         list of objects.
255         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
256         target-specific variable.
257         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
258         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
259         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
260         libc.
261         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
262         libc and ld.so.
263         ($(objpfx)libpcprofile.so): Likewise.
264         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
265         libc_nonshared.a.
266         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
267         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
268         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
269         $(link-libc-deps).
270         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
271         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
272         * login/Makefile ($(objpfx)libutil.so): Likewise.
273         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
274         * math/Makefile ($(objpfx)libm.so): Likewise.
275         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
276         $(objpfx)libnsl.so): Define libc-for-link as target-specific
277         variable instead of depending directly on libc.
278         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
279         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
280         $(link-libc-deps).
281         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
282         libc.
283         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
284         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
285         ($(objpfx)libanl.so): Likewise.
286         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
287         ld.so.
288         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
289         $(link-libc-deps).
290         * sysdeps/i386/fpu/Makefile: Remove file.
291         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
292         ($(objpfx)libm.so): Remove dependency on ld.so.
294 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
296         [BZ # 15553]
297         * nis/yp_xdr.c (XDRMAXNAME): Define.
298         (XDRMAXRECORD): Define.
299         (xdr_domainname): Use XDRMAXNAME.
300         (xdr_mapname): Likewise.
301         (xdr_peername): Likewise.
302         (xdr_keydat): Use XDRMAXRECORD.
303         (xdr_valdat): Likewise.
305 2013-05-30  Jeff Law  <law@redhat.com>
307         [BZ #14256]
308         * manual/errno.texi (ESTALE): Update to account for more than
309         just NFS file systems.
310         * sysdeps/gnu/errlist.c: Regenerated.
312 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
314         [BZ #15465]
315         * elf/Makefile (tests): Add tst-null-argv.
316         (modules-names):  Add tst-null-argv-lib.
317         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
318         (tst-null-argv-ENV): Set environment for tst-null-argv.
319         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
320         (RTLD_PROGNAME): New macro.
321         * elf/tst-null-argv.c: New test case.
322         * elf/tst-null-argv-lib.c: Library for test case.
323         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
324         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
325         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
326         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
327         * elf/dl-init.c (call_init): Likewise.
328         (_dl_init): Likewise.
329         * elf/dl-load.c (print_search_path): Likewise.
330         (_dl_map_object): Likewise.
331         * elf/dl-lookup.c (do_lookup_x): Likewise.
332         (add_dependency): Likewise.
333         (_dl_lookup_symbol_x): Likewise.
334         (_dl_debug_bindings): Likewise.
335         * elf/dl-open.c (_dl_show_scope): Likewise.
336         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
337         * elf/dl-version.c (match_symbol): Likewise.
338         (_dl_check_map_versions): Likewise.
339         * elf/rtld.c (dl_main): Likewise.
340         (print_unresolved): Use RTLD_PROGNAME.
341         (print_missing_version): Likewise.
342         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
343         (elf_machine_rela): Likewise.
344         * sysdeps/powerpc/powerpc32/dl-machine.c
345         (__process_machine_rela): Likewise.
346         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
347         Likewise.
348         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
349         Likewise.
350         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
351         Likewise.
352         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
353         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
354         Likewise.
355         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
356         Likewise.
357         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
359 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
361         * po/be.po: Add descriptive title.
362         * po/zh_CN.po: Likewise.
363         * po/header.pot: Likewise.
365 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
367         * locale/programs/locarchive.c (create_archive): Inlucde fname in
368         error message.
369         (enlarge_archive): Likewise.
371 2013-05-28  Ben North  <ben@redfrontdoor.org>
373         * manual/arith.texi (frexp): It is the magnitude of the return
374         value which lies in [0.5, 1), not the return value itself.
376 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
380 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
382         * stdio-common/bug26.c (main): Correct fscanf template.
384         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
385         declare _dl_skip_args.
387         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
388         Don't declare.
390         * manual/platform.texi: Add missing @end deftypefun.
392 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
394         [BZ #15529]
395         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
396         bit of mantissa of 2^16382.
397         * math/libm-test.inc (hypot_test_data): Add more tests.
399         * math/libm-test.inc: Add drem and pow10 to list of tested
400         functions.
401         (pow10_test): New function.
402         (drem_test): Likewise.
403         (drem_test_tonearest): Likewise.
404         (drem_test_towardzero): Likewise.
405         (drem_test_downward): Likewise.
406         (drem_test_upward): Likewise.
407         (main): Call the new functions.
409         * math/libm-test.inc (finite_test_data): Remove.
410         (finite_test): Run tests from isfinite_test_data.
411         (gamma_test_data): Remove.
412         (gamma_test): Run tests from lgamma_test_data.
413         * sysdeps/i386/fpu/libm-test-ulps: Update.
414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
416 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
418         * manual/platform.texi: Add PowerPC PPR function set documentation.
419         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
420         implementation.
422 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
424         * math/libm-test.inc (MAX_EXP): Define.
425         (ULPDIFF): Define.
426         (ulp): New function.
427         (check_float_internal): Use ULPDIFF.
428         (cpow_test): Disable failing test.
429         (check_ulp): Test ulp() implemetnation.
430         (main): Call check_ulp before starting tests.
432 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
434         * math/gen-libm-test.pl (generate_testfile): Do not handle
435         START_DATA and END_DATA.
436         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
437         END_DATA.
438         (acos_tonearest_test_data): Likewise.
439         (acos_towardzero_test_data): Likewise.
440         (acos_downward_test_data): Likewise.
441         (acos_upward_test_data): Likewise.
442         (acosh_test_data): Likewise.
443         (asin_test_data): Likewise.
444         (asin_tonearest_test_data): Likewise.
445         (asin_towardzero_test_data): Likewise.
446         (asin_downward_test_data): Likewise.
447         (asin_upward_test_data): Likewise.
448         (asinh_test_data): Likewise.
449         (atan_test_data): Likewise.
450         (atanh_test_data): Likewise.
451         (atan2_test_data): Likewise.
452         (cabs_test_data): Likewise.
453         (cacos_test_data): Likewise.
454         (cacosh_test_data): Likewise.
455         (carg_test_data): Likewise.
456         (casin_test_data): Likewise.
457         (casinh_test_data): Likewise.
458         (catan_test_data): Likewise.
459         (catanh_test_data): Likewise.
460         (cbrt_test_data): Likewise.
461         (ccos_test_data): Likewise.
462         (ccosh_test_data): Likewise.
463         (ceil_test_data): Likewise.
464         (cexp_test_data): Likewise.
465         (cimag_test_data): Likewise.
466         (clog_test_data): Likewise.
467         (clog10_test_data): Likewise.
468         (conj_test_data): Likewise.
469         (copysign_test_data): Likewise.
470         (cos_test_data): Likewise.
471         (cos_tonearest_test_data): Likewise.
472         (cos_towardzero_test_data): Likewise.
473         (cos_downward_test_data): Likewise.
474         (cos_upward_test_data): Likewise.
475         (cosh_test_data): Likewise.
476         (cosh_tonearest_test_data): Likewise.
477         (cosh_towardzero_test_data): Likewise.
478         (cosh_downward_test_data): Likewise.
479         (cosh_upward_test_data): Likewise.
480         (cpow_test_data): Likewise.
481         (cproj_test_data): Likewise.
482         (creal_test_data): Likewise.
483         (csin_test_data): Likewise.
484         (csinh_test_data): Likewise.
485         (csqrt_test_data): Likewise.
486         (ctan_test_data): Likewise.
487         (ctan_tonearest_test_data): Likewise.
488         (ctan_towardzero_test_data): Likewise.
489         (ctan_downward_test_data): Likewise.
490         (ctan_upward_test_data): Likewise.
491         (ctanh_test_data): Likewise.
492         (ctanh_tonearest_test_data): Likewise.
493         (ctanh_towardzero_test_data): Likewise.
494         (ctanh_downward_test_data): Likewise.
495         (ctanh_upward_test_data): Likewise.
496         (erf_test_data): Likewise.
497         (erfc_test_data): Likewise.
498         (exp_test_data): Likewise.
499         (exp_tonearest_test_data): Likewise.
500         (exp_towardzero_test_data): Likewise.
501         (exp_downward_test_data): Likewise.
502         (exp_upward_test_data): Likewise.
503         (exp10_test_data): Likewise.
504         (exp2_test_data): Likewise.
505         (expm1_test_data): Likewise.
506         (fabs_test_data): Likewise.
507         (fdim_test_data): Likewise.
508         (finite_test_data): Likewise.
509         (floor_test_data): Likewise.
510         (fma_test_data): Likewise.
511         (fma_towardzero_test_data): Likewise.
512         (fma_downward_test_data): Likewise.
513         (fma_upward_test_data): Likewise.
514         (fmax_test_data): Likewise.
515         (fmin_test_data): Likewise.
516         (fmod_test_data): Likewise.
517         (fpclassify_test_data): Likewise.
518         (frexp_test_data): Likewise.
519         (gamma_test_data): Likewise.
520         (hypot_test_data): Likewise.
521         (ilogb_test_data): Likewise.
522         (isfinite_test_data): Likewise.
523         (isgreater_test_data): Likewise.
524         (isgreaterequal_test_data): Likewise.
525         (isinf_test_data): Likewise.
526         (isless_test_data): Likewise.
527         (islessequal_test_data): Likewise.
528         (islessgreater_test_data): Likewise.
529         (isnan_test_data): Likewise.
530         (isnormal_test_data): Likewise.
531         (issignaling_test_data): Likewise.
532         (isunordered_test_data): Likewise.
533         (j0_test_data): Likewise.
534         (j1_test_data): Likewise.
535         (jn_test_data): Likewise.
536         (ldexp_test_data): Likewise.
537         (lgamma_test_data): Likewise.
538         (lrint_test_data): Likewise.
539         (lrint_tonearest_test_data): Likewise.
540         (lrint_towardzero_test_data): Likewise.
541         (lrint_downward_test_data): Likewise.
542         (lrint_upward_test_data): Likewise.
543         (llrint_test_data): Likewise.
544         (llrint_tonearest_test_data): Likewise.
545         (llrint_towardzero_test_data): Likewise.
546         (llrint_downward_test_data): Likewise.
547         (llrint_upward_test_data): Likewise.
548         (log_test_data): Likewise.
549         (log10_test_data): Likewise.
550         (log1p_test_data): Likewise.
551         (log2_test_data): Likewise.
552         (logb_test_data): Likewise.
553         (logb_downward_test_data): Likewise.
554         (lround_test_data): Likewise.
555         (llround_test_data): Likewise.
556         (modf_test_data): Likewise.
557         (nearbyint_test_data): Likewise.
558         (nextafter_test_data): Likewise.
559         (nexttoward_test_data): Likewise.
560         (pow_test_data): Likewise.
561         (pow_tonearest_test_data): Likewise.
562         (pow_towardzero_test_data): Likewise.
563         (pow_downward_test_data): Likewise.
564         (pow_upward_test_data): Likewise.
565         (remainder_test_data): Likewise.
566         (remainder_tonearest_test_data): Likewise.
567         (remainder_towardzero_test_data): Likewise.
568         (remainder_downward_test_data): Likewise.
569         (remainder_upward_test_data): Likewise.
570         (remquo_test_data): Likewise.
571         (rint_test_data): Likewise.
572         (rint_tonearest_test_data): Likewise.
573         (rint_towardzero_test_data): Likewise.
574         (rint_downward_test_data): Likewise.
575         (rint_upward_test_data): Likewise.
576         (round_test_data): Likewise.
577         (scalb_test_data): Likewise.
578         (scalbn_test_data): Likewise.
579         (scalbln_test_data): Likewise.
580         (signbit_test_data): Likewise.
581         (sin_test_data): Likewise.
582         (sin_tonearest_test_data): Likewise.
583         (sin_towardzero_test_data): Likewise.
584         (sin_downward_test_data): Likewise.
585         (sin_upward_test_data): Likewise.
586         (sincos_test_data): Likewise.
587         (sinh_test_data): Likewise.
588         (sinh_tonearest_test_data): Likewise.
589         (sinh_towardzero_test_data): Likewise.
590         (sinh_downward_test_data): Likewise.
591         (sinh_upward_test_data): Likewise.
592         (sqrt_test_data): Likewise.
593         (tan_test_data): Likewise.
594         (tan_tonearest_test_data): Likewise.
595         (tan_towardzero_test_data): Likewise.
596         (tan_downward_test_data): Likewise.
597         (tan_upward_test_data): Likewise.
598         (tanh_test_data): Likewise.
599         (tgamma_test_data): Likewise.
600         (trunc_test_data): Likewise.
601         (y0_test_data): Likewise.
602         (y1_test_data): Likewise.
603         (yn_test_data): Likewise.
604         (significand_test_data): Likewise.
606         * math/gen-libm-test.pl (@functions): Remove variable.
607         (generate_testfile): Don't handle START and END lines.
608         * math/libm-test.inc (START): New macro.
609         (END): Likewise.
610         (END_COMPLEX): Likewise.
611         (acos_test): Use END macro without arguments.
612         (acos_test_tonearest): Likewise.
613         (acos_test_towardzero): Likewise.
614         (acos_test_downward): Likewise.
615         (acos_test_upward): Likewise.
616         (acosh_test): Likewise.
617         (asin_test): Likewise.
618         (asin_test_tonearest): Likewise.
619         (asin_test_towardzero): Likewise.
620         (asin_test_downward): Likewise.
621         (asin_test_upward): Likewise.
622         (asinh_test): Likewise.
623         (atan_test): Likewise.
624         (atanh_test): Likewise.
625         (atan2_test): Likewise.
626         (cabs_test): Likewise.
627         (cacos_test): Use END_COMPLEX macro without arguments.
628         (cacosh_test): Likewise.
629         (carg_test): Use END macro without arguments.
630         (casin_test): Use END_COMPLEX macro without arguments.
631         (casinh_test): Likewise.
632         (catan_test): Likewise.
633         (catanh_test): Likewise.
634         (cbrt_test): Use END macro without arguments.
635         (ccos_test): Use END_COMPLEX macro without arguments.
636         (ccosh_test): Likewise.
637         (ceil_test): Use END macro without arguments.
638         (cexp_test): Use END_COMPLEX macro without arguments.
639         (cimag_test): Use END macro without arguments.
640         (clog_test): Use END_COMPLEX macro without arguments.
641         (clog10_test): Likewise.
642         (conj_test): Likewise.
643         (copysign_test): Use END macro without arguments.
644         (cos_test): Likewise.
645         (cos_test_tonearest): Likewise.
646         (cos_test_towardzero): Likewise.
647         (cos_test_downward): Likewise.
648         (cos_test_upward): Likewise.
649         (cosh_test): Likewise.
650         (cosh_test_tonearest): Likewise.
651         (cosh_test_towardzero): Likewise.
652         (cosh_test_downward): Likewise.
653         (cosh_test_upward): Likewise.
654         (cpow_test): Use END_COMPLEX macro without arguments.
655         (cproj_test): Likewise.
656         (creal_test): Use END macro without arguments.
657         (csin_test): Use END_COMPLEX macro without arguments.
658         (csinh_test): Likewise.
659         (csqrt_test): Likewise.
660         (ctan_test): Likewise.
661         (ctan_test_tonearest): Likewise.
662         (ctan_test_towardzero): Likewise.
663         (ctan_test_downward): Likewise.
664         (ctan_test_upward): Likewise.
665         (ctanh_test): Likewise.
666         (ctanh_test_tonearest): Likewise.
667         (ctanh_test_towardzero): Likewise.
668         (ctanh_test_downward): Likewise.
669         (ctanh_test_upward): Likewise.
670         (erf_test): Use END macro without arguments.
671         (erfc_test): Likewise.
672         (exp_test): Likewise.
673         (exp_test_tonearest): Likewise.
674         (exp_test_towardzero): Likewise.
675         (exp_test_downward): Likewise.
676         (exp_test_upward): Likewise.
677         (exp10_test): Likewise.
678         (exp2_test): Likewise.
679         (expm1_test): Likewise.
680         (fabs_test): Likewise.
681         (fdim_test): Likewise.
682         (finite_test): Likewise.
683         (floor_test): Likewise.
684         (fma_test): Likewise.
685         (fma_test_towardzero): Likewise.
686         (fma_test_downward): Likewise.
687         (fma_test_upward): Likewise.
688         (fmax_test): Likewise.
689         (fmin_test): Likewise.
690         (fmod_test): Likewise.
691         (fpclassify_test): Likewise.
692         (frexp_test): Likewise.
693         (gamma_test): Likewise.
694         (hypot_test): Likewise.
695         (ilogb_test): Likewise.
696         (isfinite_test): Likewise.
697         (isgreater_test): Likewise.
698         (isgreaterequal_test): Likewise.
699         (isinf_test): Likewise.
700         (isless_test): Likewise.
701         (islessequal_test): Likewise.
702         (islessgreater_test): Likewise.
703         (isnan_test): Likewise.
704         (isnormal_test): Likewise.
705         (issignaling_test): Likewise.
706         (isunordered_test): Likewise.
707         (j0_test): Likewise.
708         (j1_test): Likewise.
709         (jn_test): Likewise.
710         (ldexp_test): Likewise.
711         (lgamma_test): Likewise.
712         (lrint_test): Likewise.
713         (lrint_test_tonearest): Likewise.
714         (lrint_test_towardzero): Likewise.
715         (lrint_test_downward): Likewise.
716         (lrint_test_upward): Likewise.
717         (llrint_test): Likewise.
718         (llrint_test_tonearest): Likewise.
719         (llrint_test_towardzero): Likewise.
720         (llrint_test_downward): Likewise.
721         (llrint_test_upward): Likewise.
722         (log_test): Likewise.
723         (log10_test): Likewise.
724         (log1p_test): Likewise.
725         (log2_test): Likewise.
726         (logb_test): Likewise.
727         (logb_test_downward): Likewise.
728         (lround_test): Likewise.
729         (llround_test): Likewise.
730         (modf_test): Likewise.
731         (nearbyint_test): Likewise.
732         (nextafter_test): Likewise.
733         (nexttoward_test): Likewise.
734         (pow_test): Likewise.
735         (pow_test_tonearest): Likewise.
736         (pow_test_towardzero): Likewise.
737         (pow_test_downward): Likewise.
738         (pow_test_upward): Likewise.
739         (remainder_test): Likewise.
740         (remainder_test_tonearest): Likewise.
741         (remainder_test_towardzero): Likewise.
742         (remainder_test_downward): Likewise.
743         (remainder_test_upward): Likewise.
744         (remquo_test): Likewise.
745         (rint_test): Likewise.
746         (rint_test_tonearest): Likewise.
747         (rint_test_towardzero): Likewise.
748         (rint_test_downward): Likewise.
749         (rint_test_upward): Likewise.
750         (round_test): Likewise.
751         (scalb_test): Likewise.
752         (scalbn_test): Likewise.
753         (scalbln_test): Likewise.
754         (signbit_test): Likewise.
755         (sin_test): Likewise.
756         (sin_test_tonearest): Likewise.
757         (sin_test_towardzero): Likewise.
758         (sin_test_downward): Likewise.
759         (sin_test_upward): Likewise.
760         (sincos_test): Likewise.
761         (sinh_test): Likewise.
762         (sinh_test_tonearest): Likewise.
763         (sinh_test_towardzero): Likewise.
764         (sinh_test_downward): Likewise.
765         (sinh_test_upward): Likewise.
766         (sqrt_test): Likewise.
767         (tan_test): Likewise.
768         (tan_test_tonearest): Likewise.
769         (tan_test_towardzero): Likewise.
770         (tan_test_downward): Likewise.
771         (tan_test_upward): Likewise.
772         (tanh_test): Likewise.
773         (tgamma_test): Likewise.
774         (trunc_test): Likewise.
775         (y0_test): Likewise.
776         (y1_test): Likewise.
777         (yn_test): Likewise.
778         (significand_test): Likewise.
780 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
782         [BZ #15381]
783         * libio/genops.c (_IO_no_init): Initialize wide struct info.
785 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
787         [BZ #14894]
788         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
789         __ppc_mdoio and __ppc_mdoom.
790         * manual/platform.texi: Document new functions __ppc_yield,
791         __ppc_mdoio and __ppc_mdoom.
793 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
795         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
796         (main): Mention "tls" pseudo-hwcap is legacy.
797         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
799 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
801         * math/gen-libm-test.pl (parse_args): Output only string of
802         arguments as text for test name, not full call or descriptions of
803         tests for extra outputs.
804         (generate_testfile): Do not pass function name to parse_args.
805         Generate this_func variable from START.
806         * math/libm-test.inc (struct test_f_f_data): Rename test_name
807         field to arg_str.
808         (struct test_ff_f_data): Likewise.
809         (test_ff_f_data_nexttoward): Likewise.
810         (struct test_fi_f_data): Likewise.
811         (struct test_fl_f_data): Likewise.
812         (struct test_if_f_data): Likewise.
813         (struct test_fff_f_data): Likewise.
814         (struct test_c_f_data): Likewise.
815         (struct test_f_f1_data): Likewise.  Remove field extra_name.
816         (struct test_fF_f1_data): Likewise.
817         (struct test_ffI_f1_data): Likewise.
818         (struct test_c_c_data): Rename test_name field to arg_str.
819         (struct test_cc_c_data): Likewise.
820         (struct test_f_i_data): Likewise.
821         (struct test_ff_i_data): Likewise.
822         (struct test_f_l_data): Likewise.
823         (struct test_f_L_data): Likewise.
824         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
825         and extra2_name.
826         (COMMON_TEST_SETUP): New macro.
827         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
828         (COMMON_TEST_CLEANUP): Likewise.
829         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
830         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
831         macros.
832         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
833         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
834         macros.
835         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
836         (RUN_TEST_fff_f): Take argument string.  Call new setup and
837         cleanup macros.
838         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
839         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
840         macros.
841         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
842         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
843         macros.
844         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
845         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
846         cleanup macros.
847         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
848         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
849         cleanup macros.
850         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
851         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
852         cleanup macros.
853         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
854         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
855         macros.
856         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
857         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
858         macros.
859         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
860         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
861         macros.
862         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
863         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
864         cleanup macros.
865         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
866         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
867         cleanup macros.
868         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
869         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
870         macros.
871         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
872         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
873         cleanup macros.
874         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
875         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
876         macros.
877         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
878         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
879         macros.
880         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
881         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
882         cleanup macros.
883         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
885 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
887         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
888         to _sifields.sigfault.
889         (si_addr_lsb): Define new macro.
890         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
891         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
892         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
894 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
896         [BZ #15441]
897         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
898         returns -1.
899         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
900         null return -1.
901         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
902         loading the domain.
904 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
906         * math/gen-libm-test.pl (parse_args): Do not include expected
907         result in test name.
908         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
909         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
910         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
911         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
912         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
915 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
917         * benchtests/Makefile: Sort function entries.
919         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
920         tanh, asinh, acosh, atanh.
921         * benchtests/acos-inputs: New file.
922         * benchtests/acosh-inputs: New file.
923         * benchtests/asin-inputs: New file.
924         * benchtests/asinh-inputs: New file.
925         * benchtests/atanh-inputs: New file.
926         * benchtests/cosh-inputs: New file.
927         * benchtests/log-inputs: New file.
928         * benchtests/sinh-inputs: New file.
929         * benchtests/tanh-inputs: New file.
931 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
933         [BZ #15339]
934         * posix/tst-getaddrinfo4.c: New test.
935         * posix/Makefile (tests): Add it.
937 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
939         [BZ #15339]
940         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
941         when no services were used.
942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
943         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
945 2013-05-21  Andreas Schwab  <schwab@suse.de>
947         [BZ #15014]
948         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
949         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
950         successful.
951         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
952         redundant variable declarations and reallocation of buffer when
953         parsing as IPv6 address.  Always set NSS status when called from
954         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
955         buffer too small.  Correct computation of needed size.
956         * nss/Makefile (tests): Add test-digits-dots.
957         * nss/test-digits-dots.c: New test.
959 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
961         * benchtests/Makefile: Remove instructions for adding
962         benchmark tests.
963         * benchtests/README: New file to explain how to execute and
964         enhance the benchmark tests.
966 2013-05-21  Andreas Schwab  <schwab@suse.de>
968         [BZ #15493]
969         * setjmp/Makefile (tests): Add tst-sigsetjmp.
970         * setjmp/tst-sigsetjmp.c: New test.
972 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
974         * sysdeps/x86_64/memset.S (memset): New implementation.
975         (__bzero): Likewise.
976         (__memset_tail): New function.
978 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
980         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
981         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
982         __memcpy_sse2_unaligned ifunc selection.
983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
984         Add memcpy-sse2-unaligned.S.
985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
986         Add: __memcpy_sse2_unaligned.
988 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
990         [BZ #15490]
991         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
992         math_force_eval before restoring floating-point envrionment.
993         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
994         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
995         Likewise.
996         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
997         <math_private.h>.
998         (__nearbyintl): Use math_force_eval before restoring
999         floating-point environment.
1000         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1002         * math/gen-libm-test.pl (special_functions): Remove.
1003         (parse_args): Don't handle TEST_extra.  Handle functions with no
1004         return value.
1005         * math/libm-test.inc (struct test_sincos_data): Replace with
1006         struct test_fFF_11_data.
1007         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1008         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1009         (sincos_test_data): Change element type to struct
1010         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
1011         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1012         RUN_TEST_LOOP_sincos.
1013         * math/README.libm-test: Don't mention special handling of
1014         individual functions.
1015         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1016         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1017         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1018         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1019         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1022         * math/gen-libm-test.pl (get_variable): Remove function.
1023         (parse_args): Don't show pointer parameters to call in test
1024         names.  Use "extra output N" in test names for extra outputs
1025         rather than naming variables.
1027 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
1029         [BZ #15488]
1030         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1031         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1032         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1033         double tests.
1034         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1035         disable.
1036         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1037         check_long_double.
1039         * math/gen-libm-test.pl (@tests): Remove variable.
1040         ($count): Likewise.
1041         (new_test): Remove function.
1042         (show_exceptions): New function.
1043         (special_functions): Use show_exceptions instead of new_test.
1044         (parse_args): Likewise.
1045         (generate_testfile): Pass only function name in generated call to
1046         print_max_error or print_complex_max_error.
1047         (get_ulps): Do not handle complex tests specially.
1048         (output_test): Rename to ...
1049         (get_all_ulps_for_test): ... this.  Return a string rather than
1050         printing to a file.  Require ulps to be present.
1051         (output_ulps): Generate arrays rather than #defines.
1052         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1053         (struct ulp_data): New type.
1054         (BUILD_COMPLEX_ULP): Remove macro.
1055         (compare_ulp_data): New function.
1056         (find_ulps): Likewise.
1057         (find_test_ulps): Likewise.
1058         (find_function_ulps): Likewise.
1059         (find_complex_function_ulps): Likewise.
1060         (print_max_error): Determine allowed ulps using
1061         find_function_ulps.
1062         (print_complex_max_error): Determine allowed ulps using
1063         find_complex_function_ulps.
1064         (check_float_internal): Determine max ulps using find_test_ulps.
1065         (check_float): Do not take max_ulp parameter.  Update call to
1066         check_float_internal.
1067         (check_complex): Likewise.
1068         (check_int): Do not take max_ulp parameter.
1069         (check_long): Likewise.
1070         (check_bool): Likewise.
1071         (check_longlong): Likewise.
1072         (struct test_f_f_data): Remove max_ulp field.
1073         (struct test_ff_f_data): Likewise.
1074         (struct test_ff_f_data_nexttoward): Likewise.
1075         (struct test_fi_f_data): Likewise.
1076         (struct test_fl_f_data): Likewise.
1077         (struct test_if_f_data): Likewise.
1078         (struct test_fff_f_data): Likewise.
1079         (struct test_c_f_data): Likewise.
1080         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1081         (struct test_fF_f1_data): Likewise.
1082         (struct test_ffI_f1_data): Likewise.
1083         (struct test_c_c_data): Remove max_ulp field.
1084         (struct test_cc_c_data): Likewise.
1085         (struct test_f_i_data): Likewise.
1086         (struct test_ff_i_data): Likewise.
1087         (struct test_f_l_data): Likewise.
1088         (struct test_f_L_data): Likewise.
1089         (struct test_sincos_data): Likewise.
1090         (RUN_TEST_f_f): Do not handle ulps.
1091         (RUN_TEST_LOOP_f_f): Likewise.
1092         (RUN_TEST_2_f): Likewise.
1093         (RUN_TEST_LOOP_2_f): Likewise.
1094         (RUN_TEST_fff_f): Likewise.
1095         (RUN_TEST_LOOP_fff_f): Likewise.
1096         (RUN_TEST_c_f): Likewise.
1097         (RUN_TEST_LOOP_c_f): Likewise.
1098         (RUN_TEST_f_f1): Likewise.
1099         (RUN_TEST_LOOP_f_f1): Likewise.
1100         (RUN_TEST_fF_f1): Likewise.
1101         (RUN_TEST_LOOP_fF_f1): Likewise.
1102         (RUN_TEST_fI_f1): Likewise.
1103         (RUN_TEST_LOOP_fI_f1): Likewise.
1104         (RUN_TEST_ffI_f1): Likewise.
1105         (RUN_TEST_LOOP_ffI_f1): Likewise.
1106         (RUN_TEST_c_c): Likewise.
1107         (RUN_TEST_LOOP_c_c): Likewise.
1108         (RUN_TEST_cc_c): Likewise.
1109         (RUN_TEST_LOOP_cc_c): Likewise.
1110         (RUN_TEST_f_i): Likewise.
1111         (RUN_TEST_LOOP_f_i): Likewise.
1112         (RUN_TEST_f_i_tg): Likewise.
1113         (RUN_TEST_LOOP_f_i_tg): Likewise.
1114         (RUN_TEST_ff_i_tg): Likewise.
1115         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1116         (RUN_TEST_f_b): Likewise.
1117         (RUN_TEST_LOOP_f_b): Likewise.
1118         (RUN_TEST_f_b_tg): Likewise.
1119         (RUN_TEST_LOOP_f_b_tg): Likewise.
1120         (RUN_TEST_f_l): Likewise.
1121         (RUN_TEST_LOOP_f_l): Likewise.
1122         (RUN_TEST_f_L): Likewise.
1123         (RUN_TEST_LOOP_f_L): Likewise.
1124         (RUN_TEST_sincos): Likewise.
1125         (RUN_TEST_LOOP_sincos): Likewise.
1127 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
1129         [BZ #15480]
1130         [BZ #15485]
1131         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1132         main case of finite arguments, set rounding mode to FE_TONEAREST
1133         and discard exceptions.
1134         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1135         exceptions.
1136         (remainder_tonearest_test_data): New variable.
1137         (remainder_test_tonearest): New function.
1138         (remainder_towardzero_test_data): New variable.
1139         (remainder_test_towardzero): New function.
1140         (remainder_downward_test_data): New variable.
1141         (remainder_test_downward): New function.
1142         (remainder_upward_test_data): New variable.
1143         (remainder_test_upward): New function.
1144         (main): Call the new test functions.
1146         * math/libm-test.inc (struct test_f_f1_data): Remove field
1147         extra_init.
1148         (struct test_fF_f1_data): Likewise.
1149         (struct test_ffI_f1_data): Likewise.
1150         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
1151         based on value of EXTRA_EXPECTED.
1152         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1153         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
1154         EXTRA_VAR based on value of EXTRA_EXPECTED.
1155         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1156         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
1157         EXTRA_VAR based on value of EXTRA_EXPECTED.
1158         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1159         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
1160         EXTRA_VAR based on value of EXTRA_EXPECTED.
1161         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1162         * math/gen-libm-test.pl (parse_args): Don't output initializers
1163         for extra output values.
1165         * math/libm-test.inc (check_int): Expect result to be exactly
1166         equal to expected value and do not handle ulps.
1167         (check_long): Likewise.
1168         (check_longlong): Likewise.
1170         * math/libm-test.inc (ceil_test_data): Test for "inexact"
1171         exceptions.
1172         (cimag_test_data): Likewise.
1173         (conj_test_data): Likewise.
1174         (copysign_test_data): Likewise.
1175         (cproj_test_data): Likewise.
1176         (creal_test_data): Likewise.
1177         (fabs_test_data): Likewise.
1178         (fdim_test_data): Likewise.
1179         (finite_test_data): Likewise.
1180         (floor_test_data): Likewise.
1181         (fmax_test_data): Likewise.
1182         (fmin_test_data): Likewise.
1183         (fmod_test_data): Likewise.
1184         (fpclassify_test_data): Likewise.
1185         (frexp_test_data): Likewise.
1186         (ilogb_test_data): Likewise.
1187         (isfinite_test_data): Likewise.
1188         (isgreater_test_data): Likewise.
1189         (isgreaterequal_test_data): Likewise.
1190         (isinf_test_data): Likewise.
1191         (isless_test_data): Likewise.
1192         (islessequal_test_data): Likewise.
1193         (islessgreater_test_data): Likewise.
1194         (isnan_test_data): Likewise.
1195         (isnormal_test_data): Likewise.
1196         (issignaling_test_data): Likewise.
1197         (isunordered_test_data): Likewise.
1198         (ldexp_test_data): Likewise.
1199         (lrint_test_data): Likewise.
1200         (lrint_test_data) [TEST_FLOAT]: Disable one test.
1201         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1202         (lrint_tonearest_test_data): Test for "inexact" exceptions.
1203         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1204         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1205         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1206         test input.
1207         (lrint_towardzero_test_data): Test for "inexact" exceptions.
1208         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1209         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1210         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1211         that test input.
1212         (lrint_downward_test_data): Test for "inexact" exceptions.
1213         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1214         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1215         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1216         test input.
1217         (lrint_upward_test_data): Test for "inexact" exceptions.
1218         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1219         test input.
1220         (llrint_test_data): Test for "inexact" exceptions.
1221         (llrint_test_data) [TEST_FLOAT]: Disable one test.
1222         (llrint_tonearest_test_data): Test for "inexact" exceptions.
1223         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1224         (llrint_towardzero_test_data): Test for "inexact" exceptions.
1225         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1226         (llrint_downward_test_data): Test for "inexact" exceptions.
1227         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1228         (llrint_upward_test_data): Test for "inexact" exceptions.
1229         (logb_test_data): Likewise.
1230         (logb_downward_test_data): Likewise.
1231         (nextafter_test_data): Likewise.
1232         (nexttoward_test_data): Likewise.
1233         (remainder_test_data): Likewise.
1234         (remquo_test_data): Likewise.
1235         (scalbn_test_data): Likewise.
1236         (scalbln_test_data): Likewise.
1237         (signbit_test_data): Likewise.
1238         (sqrt_test_data): Likewise.
1239         (significand_test_data): Likewise.
1241 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1243         [BZ #15424]
1244         * benchtests/bench-modf.c (struct args): Mark arg0 as
1245         volatile.
1246         * scripts/bench.pl: Mark members of struct args as volatile.
1248 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1250         [BZ # 15497]
1251         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1252         negative infinity on POWER6 or lower.
1253         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1255 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1257         [BZ #15442]
1258         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1259         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1260         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1261         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1262         (_FP_SETQNAN): New macro.
1263         (_FP_SETQNAN_SEMIRAW): Likewise.
1264         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1265         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1266         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1267         (FP_EXTEND): Use _FP_FRAC_SNANP.
1268         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1269         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1270         into account.
1271         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1272         New macro.
1273         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1274         Likewise.
1276 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1278         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1279         with DIVIDE_BY_ZERO_EXCEPTION.
1280         (gamma_test_data): Likewise.
1281         (lgamma_test_data): Likewise.
1282         (log_test_data): Likewise.
1283         (log10_test_data): Likewise.
1284         (log2_test_data): Likewise.
1285         (tgamma_test_data): Likewise.
1287         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1288         (acos_test_tonearest): Likewise.
1289         (acos_test_towardzero): Likewise.
1290         (acos_test_downward): Likewise.
1291         (acos_test_upward): Likewise.
1292         (acosh_test): Likewise.
1293         (asin_test): Likewise.
1294         (asin_test_tonearest): Likewise.
1295         (asin_test_towardzero): Likewise.
1296         (asin_test_downward): Likewise.
1297         (asin_test_upward): Likewise.
1298         (asinh_test): Likewise.
1299         (atan_test): Likewise.
1300         (atanh_test): Likewise.
1301         (atan2_test): Likewise.
1302         (cabs_test): Likewise.
1303         (cacos_test): Likewise.
1304         (cacosh_test): Likewise.
1305         (casin_test): Likewise.
1306         (casinh_test): Likewise.
1307         (catan_test): Likewise.
1308         (catanh_test): Likewise.
1309         (cbrt_test): Likewise.
1310         (ccos_test): Likewise.
1311         (ccosh_test): Likewise.
1312         (cexp_test): Likewise.
1313         (clog_test): Likewise.
1314         (clog10_test): Likewise.
1315         (cos_test): Likewise.
1316         (cos_test_tonearest): Likewise.
1317         (cos_test_towardzero): Likewise.
1318         (cos_test_downward): Likewise.
1319         (cos_test_upward): Likewise.
1320         (cosh_test): Likewise.
1321         (cosh_test_tonearest): Likewise.
1322         (cosh_test_towardzero): Likewise.
1323         (cosh_test_downward): Likewise.
1324         (cosh_test_upward): Likewise.
1325         (cpow_test): Likewise.
1326         (csin_test): Likewise.
1327         (csinh_test): Likewise.
1328         (csqrt_test): Likewise.
1329         (ctan_test): Likewise.
1330         (ctan_test_tonearest): Likewise.
1331         (ctan_test_towardzero): Likewise.
1332         (ctan_test_downward): Likewise.
1333         (ctan_test_upward): Likewise.
1334         (ctanh_test): Likewise.
1335         (ctanh_test_tonearest): Likewise.
1336         (ctanh_test_towardzero): Likewise.
1337         (ctanh_test_downward): Likewise.
1338         (ctanh_test_upward): Likewise.
1339         (erf_test): Likewise.
1340         (erfc_test): Likewise.
1341         (exp_test): Likewise.
1342         (exp_test_tonearest): Likewise.
1343         (exp_test_towardzero): Likewise.
1344         (exp_test_downward): Likewise.
1345         (exp_test_upward): Likewise.
1346         (exp10_test): Likewise.
1347         (exp2_test): Likewise.
1348         (expm1_test): Likewise.
1349         (fmod_test): Likewise.
1350         (gamma_test): Likewise.
1351         (hypot_test): Likewise.
1352         (j0_test): Likewise.
1353         (j1_test): Likewise.
1354         (jn_test): Likewise.
1355         (lgamma_test): Likewise.
1356         (log_test): Likewise.
1357         (log10_test): Likewise.
1358         (log1p_test): Likewise.
1359         (log2_test): Likewise.
1360         (logb_test_downward): Likewise.
1361         (pow_test): Likewise.
1362         (pow_test_tonearest): Likewise.
1363         (pow_test_towardzero): Likewise.
1364         (pow_test_downward): Likewise.
1365         (pow_test_upward): Likewise.
1366         (remainder_test): Likewise.
1367         (remquo_test): Likewise.
1368         (sin_test): Likewise.
1369         (sin_test_tonearest): Likewise.
1370         (sin_test_towardzero): Likewise.
1371         (sin_test_downward): Likewise.
1372         (sin_test_upward): Likewise.
1373         (sincos_test): Likewise.
1374         (sinh_test): Likewise.
1375         (sinh_test_tonearest): Likewise.
1376         (sinh_test_towardzero): Likewise.
1377         (sinh_test_downward): Likewise.
1378         (sinh_test_upward): Likewise.
1379         (sqrt_test): Likewise.
1380         (tan_test): Likewise.
1381         (tan_test_tonearest): Likewise.
1382         (tan_test_towardzero): Likewise.
1383         (tan_test_downward): Likewise.
1384         (tan_test_upward): Likewise.
1385         (tanh_test): Likewise.
1386         (tgamma_test): Likewise.
1387         (y0_test): Likewise.
1388         (y1_test): Likewise.
1389         (yn_test): Likewise.
1391         * math/gen-libm-test.pl (adjust_arg): Remove function.
1392         (special_function): Remove argument $in_func.  Only handle
1393         generating output for tables of tests, not inside functions.
1394         (parse_args): Likewise.
1395         (generate_testfile): Remove variable $in_func.  Update call to
1396         parse_args.
1397         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1398         (MINUS_ZERO_INIT): Rename macro to minus_zero.
1399         (PLUS_INFTY_INIT): Rename macro to plus_infty.
1400         (MINUS_INFTY_INIT): Rename macro to minus_infty.
1401         (QNAN_VALUE_INIT): Rename macro to qnan_value.
1402         (MAX_VALUE_INIT): Rename macro to max_value.
1403         (MIN_VALUE_INIT): Rename macro to min_value.
1404         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1405         (plus_zero): Remove variable.
1406         (minus_zero): Likewise.
1407         (plus_infty): Likewise.
1408         (minus_infty): Likewise.
1409         (qnan_value): Likewise.
1410         (max_value): Likewise.
1411         (min_value): Likewise.
1412         (min_subnorm_value): Likewise.
1414 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1416         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1417         uint64_t or uint32_t usage.
1418         * crypt/sha256-block.c: Likewise.
1419         * crypt/sha256-crypt.c: Likewise.
1420         * crypt/sha256.c: Likewise.
1421         * crypt/sha512-block.c: Likewise.
1422         * crypt/sha512-crypt.c: Likewise.
1423         * crypt/sha512.c: Likewise.
1424         * debug/backtrace-tst.c: Likewise.
1425         * debug/pcprofiledump.c: Likewise.
1426         * elf/cache.c: Likewise.
1427         * elf/dl-cache.c: Likewise.
1428         * elf/dl-misc.c: Likewise.
1429         * elf/dl-profile.c: Likewise.
1430         * elf/dl-support.c: Likewise.
1431         * elf/ldconfig.c: Likewise.
1432         * elf/sprof.c: Likewise.
1433         * iconv/dummy-repertoire.c: Likewise.
1434         * iconv/iconv_charmap.c: Likewise.
1435         * iconv/skeleton.c: Likewise.
1436         * iconvdata/8bit-generic.c: Likewise.
1437         * iconvdata/cp737.h: Likewise.
1438         * iconvdata/cp775.h: Likewise.
1439         * iconvdata/ibm1008.h: Likewise.
1440         * iconvdata/ibm1025.h: Likewise.
1441         * iconvdata/ibm1046.h: Likewise.
1442         * iconvdata/ibm1097.h: Likewise.
1443         * iconvdata/ibm1112.h: Likewise.
1444         * iconvdata/ibm1122.h: Likewise.
1445         * iconvdata/ibm1123.h: Likewise.
1446         * iconvdata/ibm1124.h: Likewise.
1447         * iconvdata/ibm1129.h: Likewise.
1448         * iconvdata/ibm1130.h: Likewise.
1449         * iconvdata/ibm1132.h: Likewise.
1450         * iconvdata/ibm1133.h: Likewise.
1451         * iconvdata/ibm1137.h: Likewise.
1452         * iconvdata/ibm1140.h: Likewise.
1453         * iconvdata/ibm1141.h: Likewise.
1454         * iconvdata/ibm1142.h: Likewise.
1455         * iconvdata/ibm1143.h: Likewise.
1456         * iconvdata/ibm1144.h: Likewise.
1457         * iconvdata/ibm1145.h: Likewise.
1458         * iconvdata/ibm1146.h: Likewise.
1459         * iconvdata/ibm1147.h: Likewise.
1460         * iconvdata/ibm1148.h: Likewise.
1461         * iconvdata/ibm1149.h: Likewise.
1462         * iconvdata/ibm1153.h: Likewise.
1463         * iconvdata/ibm1154.h: Likewise.
1464         * iconvdata/ibm1155.h: Likewise.
1465         * iconvdata/ibm1156.h: Likewise.
1466         * iconvdata/ibm1157.h: Likewise.
1467         * iconvdata/ibm1158.h: Likewise.
1468         * iconvdata/ibm1160.h: Likewise.
1469         * iconvdata/ibm1161.h: Likewise.
1470         * iconvdata/ibm1162.h: Likewise.
1471         * iconvdata/ibm1163.h: Likewise.
1472         * iconvdata/ibm1164.h: Likewise.
1473         * iconvdata/ibm1166.h: Likewise.
1474         * iconvdata/ibm1167.h: Likewise.
1475         * iconvdata/ibm12712.h: Likewise.
1476         * iconvdata/ibm1390.h: Likewise.
1477         * iconvdata/ibm1399.h: Likewise.
1478         * iconvdata/ibm16804.h: Likewise.
1479         * iconvdata/ibm4517.h: Likewise.
1480         * iconvdata/ibm4899.h: Likewise.
1481         * iconvdata/ibm4909.h: Likewise.
1482         * iconvdata/ibm4971.h: Likewise.
1483         * iconvdata/ibm5347.h: Likewise.
1484         * iconvdata/ibm803.h: Likewise.
1485         * iconvdata/ibm856.h: Likewise.
1486         * iconvdata/ibm901.h: Likewise.
1487         * iconvdata/ibm902.h: Likewise.
1488         * iconvdata/ibm9030.h: Likewise.
1489         * iconvdata/ibm9066.h: Likewise.
1490         * iconvdata/ibm921.h: Likewise.
1491         * iconvdata/ibm922.h: Likewise.
1492         * iconvdata/ibm9448.h: Likewise.
1493         * iconvdata/isiri-3342.h: Likewise.
1494         * iconvdata/jis0201.h: Likewise.
1495         * include/link.h: Likewise.
1496         * include/netdb.h: Likewise.
1497         * inet/check_native.c: Likewise.
1498         * inet/check_pf.c: Likewise.
1499         * inet/getipv4sourcefilter.c: Likewise.
1500         * inet/getnameinfo.c: Likewise.
1501         * inet/getsourcefilter.c: Likewise.
1502         * inet/htonl.c: Likewise.
1503         * inet/setipv4sourcefilter.c: Likewise.
1504         * inet/setsourcefilter.c: Likewise.
1505         * inet/test-inet6_opt.c: Likewise.
1506         * inet/tst-network.c: Likewise.
1507         * locale/C-collate.c: Likewise.
1508         * locale/C-ctype.c: Likewise.
1509         * locale/C-time.c: Likewise.
1510         * locale/C-translit.h: Likewise.
1511         * locale/loadarchive.c: Likewise.
1512         * locale/programs/3level.h: Likewise.
1513         * locale/programs/charmap.c: Likewise.
1514         * locale/programs/charmap.h: Likewise.
1515         * locale/programs/ld-address.c: Likewise.
1516         * locale/programs/ld-collate.c: Likewise.
1517         * locale/programs/ld-ctype.c: Likewise.
1518         * locale/programs/ld-identification.c: Likewise.
1519         * locale/programs/ld-measurement.c: Likewise.
1520         * locale/programs/ld-messages.c: Likewise.
1521         * locale/programs/ld-monetary.c: Likewise.
1522         * locale/programs/ld-name.c: Likewise.
1523         * locale/programs/ld-numeric.c: Likewise.
1524         * locale/programs/ld-paper.c: Likewise.
1525         * locale/programs/ld-telephone.c: Likewise.
1526         * locale/programs/ld-time.c: Likewise.
1527         * locale/programs/linereader.c: Likewise.
1528         * locale/programs/locale.c: Likewise.
1529         * locale/programs/locarchive.c: Likewise.
1530         * locale/programs/locfile.h: Likewise.
1531         * locale/programs/repertoire.c: Likewise.
1532         * locale/programs/simple-hash.c: Likewise.
1533         * locale/programs/simple-hash.h: Likewise.
1534         * malloc/memusage.c: Likewise.
1535         * malloc/memusagestat.c: Likewise.
1536         * nis/nis_defaults.c: Likewise.
1537         * nis/nis_hash.c: Likewise.
1538         * nis/nis_print.c: Likewise.
1539         * nis/nis_xdr.c: Likewise.
1540         * nscd/connections.c: Likewise.
1541         * nscd/hstcache.c: Likewise.
1542         * nscd/nscd_gethst_r.c: Likewise.
1543         * nscd/nscd_getserv_r.c: Likewise.
1544         * nscd/nscd_helper.c: Likewise.
1545         * nscd/servicescache.c: Likewise.
1546         * nss/makedb.c: Likewise.
1547         * nss/nss_db/db-XXX.c: Likewise.
1548         * nss/nss_db/db-initgroups.c: Likewise.
1549         * nss/nss_db/db-netgrp.c: Likewise.
1550         * nss/nss_files/files-network.c: Likewise.
1551         * nss/nss_files/files-parse.c: Likewise.
1552         * posix/bug-regex5.c: Likewise.
1553         * posix/fnmatch_loop.c: Likewise.
1554         * posix/regcomp.c: Likewise.
1555         * posix/regexec.c: Likewise.
1556         * posix/tst-rfc3484-2.c: Likewise.
1557         * posix/tst-rfc3484-3.c: Likewise.
1558         * posix/tst-rfc3484.c: Likewise.
1559         * resolv/nss_dns/dns-canon.c: Likewise.
1560         * resolv/nss_dns/dns-network.c: Likewise.
1561         * resolv/res_init.c: Likewise.
1562         * resolv/res_mkquery.c: Likewise.
1563         * resolv/tst-aton.c: Likewise.
1564         * stdlib/cxa_atexit.c: Likewise.
1565         * stdlib/cxa_finalize.c: Likewise.
1566         * stdlib/gen-fpioconst.c: Likewise.
1567         * stdlib/strtol_l.c: Likewise.
1568         * string/tst-endian.c: Likewise.
1569         * sunrpc/auth_des.c: Likewise.
1570         * sunrpc/clnt_udp.c: Likewise.
1571         * sunrpc/rtime.c: Likewise.
1572         * sunrpc/svcauth_des.c: Likewise.
1573         * sunrpc/xdr.c: Likewise.
1574         * sunrpc/xdr_intXX_t.c: Likewise.
1575         * sunrpc/xdr_rec.c: Likewise.
1576         * sysdeps/generic/ldconfig.h: Likewise.
1577         * sysdeps/generic/ldsodefs.h: Likewise.
1578         * sysdeps/generic/memusage.h: Likewise.
1579         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1580         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1581         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1582         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1583         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1584         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1585         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1586         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1587         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1588         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1589         * sysdeps/posix/getaddrinfo.c: Likewise.
1590         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1591         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1592         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1593         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1594         * sysdeps/powerpc/test-gettimebase.c: Likewise.
1595         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1596         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1597         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1598         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1599         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1600         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1601         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1602         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1603         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1604         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1605         * sysdeps/x86_64/dl-tls.h: Likewise.
1606         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1607         * time/alt_digit.c: Likewise.
1608         * time/era.c: Likewise.
1609         * wcsmbs/tst-c16c32-1.c: Likewise.
1611 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1613         * math/libm-test.inc (struct test_sincos_data): New type.
1614         (RUN_TEST_LOOP_sincos): New macro.
1615         (sincos_test_data): New variable.
1616         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1618 2013-05-16  Richard Henderson  <rth@redhat.com>
1620         * math/atest-exp2.c (LIMB64): New macro.
1621         (CONSTSZ): New macro.
1622         (mp_exp1, mp_exp_m1, mp_log2): New variables.
1623         (hexdig): Move ...
1624         (print_mpn_fp): ... to function scope.
1625         (read_mpn_hex): Remove.
1626         (get_log2): Remove.
1627         (exp2_mpn): Use mp_log2.
1628         (main): Use mp_exp1.
1630 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1632         * math/libm-test.inc: Remove comment about not testing "inexact"
1633         exceptions.
1634         (INEXACT_EXCEPTION): New macro.
1635         (NO_INEXACT_EXCEPTION): Likewise.
1636         (INVALID_EXCEPTION_OK): Update value.
1637         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1638         (OVERFLOW_EXCEPTION_OK): Likewise.
1639         (UNDERFLOW_EXCEPTION_OK): Likewise.
1640         (IGNORE_ZERO_INF_SIGN): Likewise.
1641         (ERRNO_UNCHANGED): Likewise.
1642         (ERRNO_EDOM): Likewise.
1643         (ERRNO_ERANGE): Likewise.
1644         (test_exceptions): Handle testing "inexact" exceptions.
1645         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1646         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1647         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1648         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1649         INEXACT_EXCEPTION.
1650         (rint_towardzero_test_data): Likewise.
1651         (rint_downward_test_data): Likewise.
1652         (rint_upward_test_data): Likewise.
1654         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1655         with OVERFLOW_EXCEPTION.
1656         (exp10_test_data): Likewise.
1657         (exp2_test_data): Likewise.
1658         (expm1_test_data): Likewise.
1659         (lgamma_test_data): Likewise.
1660         (pow_test_data): Likewise.
1661         (tgamma_test_data): Likewise.
1662         (yn_test_data): Remove duplicate test of overflow.
1664         * math/libm-test.inc (struct test_cc_c_data): New type.
1665         (RUN_TEST_LOOP_cc_c): New macro.
1666         (cpow_test_data): New variable.
1667         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1669         * math/libm-test.inc (struct test_f_L_data): New type.
1670         (RUN_TEST_LOOP_f_L): New macro.
1671         (llrint_test_data): New variable.
1672         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1673         (llrint_tonearest_test_data): New variable.
1674         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1675         (llrint_towardzero_test_data): New variable.
1676         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1677         (llrint_downward_test_data): New variable.
1678         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1679         (llrint_upward_test_data): New variable.
1680         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1681         (llround_test_data): New variable.
1682         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1684 2013-05-13  Peter Collingbourne  <pcc@google.com>
1686         * math/atest-exp2.c (get_log2): Remove const attribute.
1688 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
1690         * math/libm-test.inc (struct test_f_l_data): New type.
1691         (RUN_TEST_LOOP_f_l): New macro.
1692         (lrint_test_data): New variable.
1693         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1694         (lrint_tonearest_test_data): New variable.
1695         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1696         (lrint_towardzero_test_data): New variable.
1697         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1698         (lrint_downward_test_data): New variable.
1699         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1700         (lrint_upward_test_data): New variable.
1701         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1702         (lround_test_data): New variable.
1703         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1705 2013-05-15  Peter Collingbourne  <pcc@google.com>
1707         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1708         (EXTRACT_WORDS64) Use where appropriate.
1709         (INSERT_WORDS64) Likewise.
1711         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1712         constraints with x constraints.
1713         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1715         * malloc/obstack.c (_obstack_compat): Add initializer.
1717 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1719         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1720         si_trapno and add si_addr_lsb to _sifields.sigfault.
1721         (si_trapno): Remove macro.
1722         (si_addr_lsb): Define new macro.
1723         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1725 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
1727         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1728         instead of TEST_f_l.
1729         (llrint_test_tonearest): Likewise.
1730         (llrint_test_towardzero): Likewise.
1731         (llrint_test_downward): Likewise.
1732         (llrint_test_upward): Likewise.
1733         (llround_test): Likewise.
1735         * math/libm-test.inc (struct test_f_i_data): Add comment.
1736         (RUN_TEST_LOOP_f_b): New macro.
1737         (RUN_TEST_LOOP_f_b_tg): Likewise.
1738         (finite_test_data): New variable.
1739         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1740         (isfinite_test_data): New variable.
1741         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1742         (isinf_test_data): New variable.
1743         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1744         (isnan_test_data): New variable.
1745         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1746         (isnormal_test_data): New variable.
1747         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1748         (issignaling_test_data): New variable.
1749         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1750         (signbit_test_data): New variable.
1751         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1753         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1754         with INVALID_EXCEPTION.
1755         (acosh_test_data): Likewise.
1756         (asin_test_data): Likewise.
1757         (atanh_test_data): Likewise.
1758         (fmod_test_data): Likewise.
1759         (log_test_data): Likewise.
1760         (log10_test_data): Likewise.
1761         (log2_test_data): Likewise.
1762         (pow_test_data): Likewise.
1763         (sqrt_test_data): Likewise.
1764         (y0_test_data): Likewise.
1765         (y1_test_data): Likewise.
1766         (yn_test_data): Likewise.
1768         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1769         function contents.
1771         * math/libm-test.inc (struct test_ff_i_data): New type.
1772         (RUN_TEST_LOOP_ff_i_tg): New macro.
1773         (isgreater_test_data): New variable.
1774         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1775         (isgreaterequal_test_data): New variable.
1776         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1777         (isless_test_data): New variable.
1778         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1779         (islessequal_test_data): New variable.
1780         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1781         (islessgreater_test_data): New variable.
1782         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1783         (isunordered_test_data): New variable.
1784         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1786 2013-05-14  David S. Miller  <davem@davemloft.net>
1788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1790 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
1792         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1794         * math/libm-test.inc (struct test_fF_f1_data): Change type of
1795         extra_test to int.
1796         (struct test_f_i_data): Change type of max_ulp to int.
1798         * math/libm-test.inc (test_ffI_f1_data): New type.
1799         (RUN_TEST_LOOP_ffI_f1): New macro.
1800         (remquo_test_data): New variable.
1801         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1803         * setjmp/tst-setjmp-fp.c: New file.
1804         * setjmp/Makefile (tests): Add tst-setjmp-fp.
1805         (link-libm): New variable.
1806         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1808         * math/libm-test.inc (struct test_f_i_data): New type.
1809         (RUN_TEST_LOOP_f_i): New macro.
1810         (RUN_TEST_LOOP_f_i_tg): Likewise.
1811         (fpclassify_test_data): New variable.
1812         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1813         (ilogb_test_data): New variable.
1814         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1816         * math/libm-test.inc (scalbln_test): Correct function name in END
1817         call.
1819         * math/libm-test.inc (struct test_f_f1_data): Add comment.
1820         (RUN_TEST_LOOP_fI_f1): New macro.
1821         (frexp_test_data): New variable.
1822         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1824         * math/libm-test.inc (struct test_fF_f1_data): New type.
1825         (RUN_TEST_LOOP_fF_f1): New macro.
1826         (modf_test_data): New variable.
1827         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1829         * math/libm-test.inc (struct test_f_f1_data): New type.
1830         (RUN_TEST_LOOP_f_f1): New macro.
1831         (gamma_test_data): New variable.
1832         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1833         (lgamma_test_data): New variable.
1834         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1836 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
1838         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1839         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1840         (main): Comment "tls" pseudo-hwcap.
1842 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
1844         * math/libm-test.inc (struct test_fl_f_data): New type.
1845         (RUN_TEST_LOOP_fl_f): New variable.
1846         (scalbln_test_data): New variable.
1847         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1849         * math/libm-test.inc (struct test_fi_f_data): New type.
1850         (RUN_TEST_LOOP_fi_f): New macro.
1851         (ldexp_test_data): New variable.
1852         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1853         (scalbn_test_data): New variable.
1854         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1856         * math/libm-test.inc (struct test_c_f_data): New type.
1857         (RUN_TEST_LOOP_c_f): New macro.
1858         (cabs_test_data): New variable.
1859         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1860         (carg_test_data): New variable.
1861         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1862         (cimag_test_data): New variable.
1863         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1864         (creal_test_data): New variable.
1865         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1867         * math/libm-test.inc (struct test_if_f_data): New type.
1868         (RUN_TEST_LOOP_if_f): New macro.
1869         (jn_test_data): New variable.
1870         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1871         (yn_test_data): New variable.
1872         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1874         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1876 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1878         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1879         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1881 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1883         * benchtests/Makefile (CPPFLAGS-nonlib): Add
1884         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1885         (bench-deps): Add bench-timing.h.
1886         * benchtests-bench-skeleton.c: Include bench-timing.h.
1887         (main): Use TIMING_* macros instead of clock_gettime.
1888         * benchtests/bench-timing.h: New file.
1890         [BZ #14582]
1891         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1892         Renamed from _LIB_VERSION.
1893         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1895 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
1897         * math/libm-test.inc (struct test_fff_f_data): New type.
1898         (RUN_TEST_LOOP_fff_f): New macro.
1899         (fma_test_data): New variable.
1900         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1901         (fma_towardzero_test_data): New variable.
1902         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1903         (fma_downward_test_data): New variable.
1904         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1905         (fma_upward_test_data): New variable.
1906         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1908         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1909         (struct test_c_c_data): New type.
1910         (RUN_TEST_LOOP_c_c): New macro.
1911         (cacos_test_data): New variable.
1912         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1913         (cacosh_test_data): New variable.
1914         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1915         (casin_test_data): New variable.
1916         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1917         (casinh_test_data): New variable.
1918         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1919         (catan_test_data): New variable.
1920         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1921         (catanh_test_data): New variable.
1922         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1923         (ccos_test_data): New variable.
1924         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1925         (ccosh_test_data): New variable.
1926         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1927         (cexp_test_data): New variable.
1928         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1929         (clog_test_data): New variable.
1930         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1931         (clog10_test_data): New variable.
1932         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1933         (conj_test_data): New variable.
1934         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1935         (cproj_test_data): New variable.
1936         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1937         (csin_test_data): New variable.
1938         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1939         (csinh_test_data): New variable.
1940         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1941         (csqrt_test_data): New variable.
1942         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1943         (ctan_test_data): New variable.
1944         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1945         (ctan_tonearest_test_data): New variable.
1946         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1947         (ctan_towardzero_test_data): New variable.
1948         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1949         (ctan_downward_test_data): New variable.
1950         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1951         (ctan_upward_test_data): New variable.
1952         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1953         (ctanh_test_data): New variable.
1954         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1955         (ctanh_tonearest_test_data): New variable.
1956         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1957         (ctanh_towardzero_test_data): New variable.
1958         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1959         (ctanh_downward_test_data): New variable.
1960         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1961         (ctanh_upward_test_data): New variable.
1962         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1963         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1964         of BUILD_COMPLEX.
1966         * math/libm-test.inc (struct test_ff_f_data): New type.
1967         (struct test_ff_f_data_nexttoward): Likewise.
1968         (RUN_TEST_LOOP_2_f): New macro.
1969         (RUN_TEST_LOOP_ff_f): Likewise.
1970         (atan2_test_data): New variable.
1971         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1972         (copysign_test_data): New variable.
1973         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1974         (fdim_test_data): New variable.
1975         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1976         (fmax_test_data): New variable.
1977         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1978         (fmin_test_data): New variable.
1979         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1980         (fmod_test_data): New variable.
1981         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1982         (hypot_test_data): New variable.
1983         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1984         (nextafter_test_data): New variable.
1985         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1986         (nexttoward_test_data): New variable.
1987         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1988         (pow_test_data): New variable.
1989         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1990         (pow_tonearest_test_data): New variable.
1991         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1992         (pow_towardzero_test_data): New variable.
1993         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1994         (pow_downward_test_data): New variable.
1995         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1996         (pow_upward_test_data): New variable.
1997         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1998         (remainder_test_data): New variable.
1999         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2000         (scalb_test_data): New variable.
2001         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2002         * sysdeps/i386/fpu/libm-test-ulps: Update.
2004 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
2006         * math/libm-test.inc (fma_test): Use max_value instead of local
2007         variable fltmax.
2008         (nextafter_test): Likewise.
2010         * math/libm-test.inc (acos_towardzero_test_data): New variable.
2011         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2012         (acos_downward_test_data): New variable.
2013         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2014         (acos_upward_test_data): New variable.
2015         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2016         (acosh_test_data): New variable.
2017         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2018         (asin_test_data): New variable.
2019         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2020         (asin_tonearest_test_data): New variable.
2021         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2022         (asin_towardzero_test_data): New variable.
2023         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2024         (asin_downward_test_data): New variable.
2025         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2026         (asin_upward_test_data): New variable.
2027         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2028         (asinh_test_data): New variable.
2029         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2030         (atan_test_data): New variable.
2031         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2032         (atanh_test_data): New variable.
2033         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2034         (cbrt_test_data): New variable.
2035         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2036         (ceil_test_data): New variable.
2037         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2038         (cos_test_data): New variable.
2039         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2040         (cos_tonearest_test_data): New variable.
2041         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2042         (cos_towardzero_test_data): New variable.
2043         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2044         (cos_downward_test_data): New variable.
2045         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2046         (cos_upward_test_data): New variable.
2047         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2048         (cosh_test_data): New variable.
2049         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2050         (cosh_tonearest_test_data): New variable.
2051         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2052         (cosh_towardzero_test_data): New variable.
2053         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2054         (cosh_downward_test_data): New variable.
2055         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2056         (cosh_upward_test_data): New variable.
2057         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2058         (erf_test_data): New variable.
2059         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2060         (erfc_test_data): New variable.
2061         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2062         (exp_test_data): New variable.
2063         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2064         (exp_tonearest_test_data): New variable.
2065         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2066         (exp_towardzero_test_data): New variable.
2067         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2068         (exp_downward_test_data): New variable.
2069         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2070         (exp_upward_test_data): New variable.
2071         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2072         (exp10_test_data): New variable.
2073         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2074         (exp2_test_data): New variable.
2075         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2076         (expm1_test_data): New variable.
2077         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2078         (fabs_test_data): New variable.
2079         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2080         (floor_test_data): New variable.
2081         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2082         (j0_test_data): New variable.
2083         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2084         (j1_test_data): New variable.
2085         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2086         (log_test_data): New variable.
2087         (log_test): Run tests with RUN_TEST_LOOP_f_f.
2088         (log10_test_data): New variable.
2089         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2090         (log1p_test_data): New variable.
2091         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2092         (log2_test_data): New variable.
2093         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2094         (logb_test_data): New variable.
2095         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2096         (logb_downward_test_data): New variable.
2097         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2098         (nearbyint_test_data): New variable.
2099         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2100         (rint_test_data): New variable.
2101         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2102         (rint_tonearest_test_data): New variable.
2103         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2104         (rint_towardzero_test_data): New variable.
2105         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2106         (rint_downward_test_data): New variable.
2107         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2108         (rint_upward_test_data): New variable.
2109         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2110         (round_test_data): New variable.
2111         (round_test): Run tests with RUN_TEST_LOOP_f_f.
2112         (sin_test_data): New variable.
2113         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2114         (sin_tonearest_test_data): New variable.
2115         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2116         (sin_towardzero_test_data): New variable.
2117         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2118         (sin_downward_test_data): New variable.
2119         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2120         (sin_upward_test_data): New variable.
2121         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2122         (sinh_test_data): New variable.
2123         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2124         (sinh_tonearest_test_data): New variable.
2125         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2126         (sinh_towardzero_test_data): New variable.
2127         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2128         (sinh_downward_test_data): New variable.
2129         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2130         (sinh_upward_test_data): New variable.
2131         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2132         (sqrt_test_data): New variable.
2133         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2134         (tan_test_data): New variable.
2135         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2136         (tan_tonearest_test_data): New variable.
2137         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2138         (tan_towardzero_test_data): New variable.
2139         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2140         (tan_downward_test_data): New variable.
2141         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2142         (tan_upward_test_data): New variable.
2143         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2144         (tanh_test_data): New variable.
2145         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2146         (tgamma_test_data): New variable.
2147         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2148         (trunc_test_data): New variable.
2149         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2150         (y0_test_data): New variable.
2151         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2152         (y1_test_data): New variable.
2153         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2154         (significand_test_data): New variable.
2155         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2157 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
2159         [BZ #12387]
2160         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2162 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2164         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2166 2013-05-10  Andreas Jaeger  <aj@suse.de>
2168         [BZ #15448]
2169         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2170         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2172 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
2174         * math/gen-libm-test.pl (adjust_arg): New function.
2175         (special_functions): Handle generating output in both functions
2176         and arrays.
2177         (parse_args): Likewise.
2178         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
2179         $in_func argument to parse_args.
2180         * math/libm-test.inc (struct test_f_f_data): New type.
2181         (IF_ROUND_INIT_): New macro.
2182         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2183         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2184         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2185         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2186         (ROUND_RESTORE_): Likewise.
2187         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2188         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2189         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2190         (ROUND_RESTORE_FE_UPWARD): Likewise.
2191         (RUN_TEST_LOOP_f_f): New macro.
2192         (acos_test_data): New variable.
2193         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2194         (acos_tonearest_test_data): New variable.
2195         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2197 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2199         * benchtests/bench-skeleton.c (startup): Fix coding style.
2201 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
2203         [BZ #6809]
2204         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2205         negative infinity argument.
2206         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2207         negative infinity argument.
2208         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2209         negative infinity argument.
2210         * math/libm-test.inc (tgamma_test): Expect errno to be set for
2211         domain errors.
2213 2013-05-10  Florian Weimer  <fweimer@redhat.com>
2215         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2216         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2217         * iconv/iconv_prog.c (main): Likewise.
2218         * locale/programs/charmap-dir.c (charmap_readdir)
2219         (fopen_uncompressed): Likewise.
2220         * locale/programs/locfile.c (siblings_uncached)
2221         (write_locale_data): Use lstat64 instead of lstat.
2222         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2223         stat.
2225 2013-05-10  Andreas Jaeger  <aj@suse.de>
2227         [BZ #15395]
2228         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2229         localization.
2230         Include <locale.h>.
2232 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
2234         * elf/dl-close.c (_dl_close_worker): Add comments.
2236 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
2238         [BZ #15359]
2239         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2240         high part of pi/2.
2241         (__ieee754_rem_pio2l): Update comments.
2243         [BZ #15429]
2244         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2245         high part of pi/2.
2246         (__ieee754_rem_pio2l): Update comments.
2248         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2249         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2251         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2252         M_PI_4l.
2254         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2255         (M_PI_34_LOG10El): Likewise.
2256         (M_PI2_LOG10El): Likewise.
2257         (M_PI4_LOG10El): Likewise.
2258         (M_PI_LOG10El): Likewise.
2260 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2264 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
2266         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2267         (MINUS_ZERO_INIT): Likewise.
2268         (PLUS_INFTY_INIT): Likewise.
2269         (MINUS_INFTY_INIT): Likewise.
2270         (QNAN_VALUE_INIT): Likewise.
2271         (MAX_VALUE_INIT): Likewise.
2272         (MIN_VALUE_INIT): Likewise.
2273         (MIN_SUBNORM_VALUE_INIT): Likewise.
2274         (plus_zero): Initialize with PLUS_ZERO_INIT.
2275         (minus_zero): Initialize with MINUS_ZERO_INIT.
2276         (plus_infty): Initialize with PLUS_INFTY_INIT.
2277         (minus_infty): Initialize with MINUS_INFTY_INIT.
2278         (qnan_value): Initialize with QNAN_VALUE_INIT.
2279         (max_value): Initialize with MAX_VALUE_INIT.
2280         (min_value): Initialize with MIN_VALUE_INIT.
2281         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2283         * math/libm-test.inc (RUN_TEST_if_f): New macro.
2284         (jn_test): Use TEST_if_f instead of TEST_ff_f.
2285         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2286         (yn_test): Use TEST_if_f instead of TEST_ff_f.
2288         * math/libm-test.inc (RUN_TEST_f_f): New macro.
2289         (RUN_TEST_2_f): Likewise.
2290         (RUN_TEST_ff_f): Likewise.
2291         (RUN_TEST_fi_f): Likewise.
2292         (RUN_TEST_fl_f): Likewise.
2293         (RUN_TEST_fff_f): Likewise.
2294         (RUN_TEST_c_f): Likewise.
2295         (RUN_TEST_f_f1): Likewise.
2296         (RUN_TEST_fF_f1): Likewise.
2297         (RUN_TEST_fI_f1): Likewise.
2298         (RUN_TEST_ffI_f1): Likewise.
2299         (RUN_TEST_c_c): Likewise.
2300         (RUN_TEST_cc_c): Likewise.
2301         (RUN_TEST_f_i): Likewise.
2302         (RUN_TEST_f_i_tg): Likewise.
2303         (RUN_TEST_ff_i_tg): Likewise.
2304         (RUN_TEST_f_b): Likewise.
2305         (RUN_TEST_f_b_tg): Likewise.
2306         (RUN_TEST_f_l): Likewise.
2307         (RUN_TEST_f_L): Likewise.
2308         (RUN_TEST_sincos): Likewise.
2309         * math/gen-libm-test.pl (new_test): Take new argument to indicate
2310         whether to show exceptions.  Do not include ");\n" in return
2311         value.
2312         (special_functions): Output call to RUN_TEST_sincos instead of
2313         check_float calls.  Update calls to new_test.
2314         (parse_args): Output call to single RUN_TEST_* macro instead of
2315         check_* calls and other assignments.  Update calls to new_test.
2317         [BZ #2546]
2318         [BZ #2560]
2319         [BZ #5159]
2320         [BZ #15426]
2321         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2322         input to result for tgamma overflow.
2323         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2324         (gamma_coeff): New variable.
2325         (NCOEFF): New macro.
2326         (gamma_positive): New function.
2327         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2328         underflow here.  Use gamma_positive instead of exp (lgamma) for
2329         other arguments.
2330         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2331         (gamma_coeff): New variable.
2332         (NCOEFF): New macro.
2333         (gammaf_positive): New function.
2334         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2335         underflow here.  Use gamma_positive instead of exp (lgamma) for
2336         other arguments.
2337         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2338         (gamma_coeff): New variable.
2339         (NCOEFF): New macro.
2340         (gammal_positive): New function.
2341         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2342         underflow here.  Use gamma_positive instead of exp (lgamma) for
2343         other arguments.
2344         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2345         (gamma_coeff): New variable.
2346         (NCOEFF): New macro.
2347         (gammal_positive): New function.
2348         (__ieee754_gammal_r): Handle positive infinity, overflow and
2349         underflow here.  Handle NaN the same as positive infinity.  Remove
2350         check x < 0xffffffff for negative integers.  Use gamma_positive
2351         instead of exp (lgamma) for other arguments.
2352         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2353         (gamma_coeff): New variable.
2354         (NCOEFF): New macro.
2355         (gammal_positive): New function.
2356         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2357         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2361         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2362         * sysdeps/generic/math_private.h (__gamma_productf): New
2363         prototype.
2364         (__gamma_product): Likewise.
2365         (__gamma_productl): Likewise.
2366         * math/Makefile (libm-calls): Add gamma_product.
2367         * math/libm-test.inc (tgamma_test): Add more tests.
2368         * sysdeps/i386/fpu/libm-test-ulps: Update.
2369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2371 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
2373         * benchtests/bench-skeleton.c (main): Preheat CPU.
2375 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
2377         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2379 2013-05-07  Roland McGrath  <roland@hack.frob.com>
2381         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2382         and _dl_skip_args_internal.
2384 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
2386         * manual/message.texi (Message Translation): Talk about users.
2387         Message to key mapping impacts design.
2389 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2391         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2393         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2395         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2396         * sysdeps/wordsize-64/glob64.c: ... here.
2398         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2399         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2400         New macros.
2402         * debug/getlogin_r_chk.c: Moved to ...
2403         * login/getlogin_r_chk.c: ... here.
2404         * debug/Makefile (routines): Move getlogin_r_chk to ...
2405         * login/Makefile (routines): ... here.
2406         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2407         * login/Versions (libc: GLIBC_2.4): ... here.
2409         * io/poll.c (__poll): Renamed from poll.
2410         Add libc_hidden_def.
2411         (poll): Define as weak alias.
2413         * debug/ptsname_r_chk.c: Moved to ...
2414         * login/ptsname_r_chk.c: ... here.
2415         * debug/Makefile (routines): Move ptsname_r_chk to ...
2416         * login/Makefile (routines): ... here.
2417         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2418         * login/Versions (libc: GLIBC_2.4): ... here.
2420         * posix/getlogin.c: Moved to ...
2421         * login/getlogin.c: ... here.
2422         * posix/getlogin_r.c: Moved to ...
2423         * login/getlogin_r.c: ... here.
2424         * posix/getlogin_r.c: Moved to ...
2425         * login/getlogin_r.c: ... here.
2426         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2427         * login/Makefile (routines): ... here.
2428         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2429         * login/Versions (libc: GLIBC_2.0): ... here.
2431         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2432         (setrlimit): Define as weak alias.
2434         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2435         Call __ names for open, ftruncate, and close.
2436         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2437         (truncate): Define as weak alias.
2439 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
2441         * math/gen-libm-test.pl (parse_args): Initialize x before each
2442         test of frexp, modf and remquo.
2444         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2445         test signgam value.
2447 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2449         [BZ #15418]
2450         [BZ #15419]
2451         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2452         internal tests.
2453         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2455 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2457         * elf/dl-writev.h: New file.
2458         * elf/dl-misc.c: Include it.
2459         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2460         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2462 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
2464         * math/libm-test.inc (noXFails): Remove variable.
2465         (noXPasses): Likewise.
2466         (BUILD_COMPLEX_INT): Remove macro.
2467         (print_screen): Remove xfail argument.
2468         (print_screen_max_error): Likewise.
2469         (update_stats): Likewise.
2470         (print_max_error): Likewise.  Update calls to other affected
2471         functions.
2472         (print_complex_max_error): Likewise.
2473         (test_single_exception): Update calls to print_screen.
2474         (test_single_errno): Likewise.
2475         (check_float_internal): Remove xfail argument.  Update calls to
2476         other affected functions.
2477         (check_float): Likewise.
2478         (check_complex): Likewise.
2479         (check_int): Likewise.
2480         (check_long): Likewise.
2481         (check_bool): Likewise.
2482         (check_longlong): Likewise.
2483         (main): Don't print noXFails and noXPasses.
2484         * math/gen-libm-test.pl (top level): Don't mention expected
2485         failure handling in comment.
2486         (new_test): Don't handle expected failures.
2487         (parse_args): Don't mention expected failure handling in comment.
2488         (generate_testfile): Don't handle expected failures.
2489         (parse_ulps): Likewise.
2490         (print_ulps_file): Likewise.
2491         (get_failure): Remove function.
2492         (output_test): Don't handle expected failures.
2493         * make/README.libm-test: Don't mention expected failure handling.
2495         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
2496         (minus_zero): Likewise.
2497         (plus_infty): Likewise.
2498         (minus_infty): Likewise.
2499         (qnan_value): Likewise.
2500         (max_value): Likewise.
2501         (min_value): Likewise.
2502         (min_subnorm_value): Likewise.
2503         (initialize): Do not initialize those variables dynamically.
2505 2013-05-03  Roland McGrath  <roland@hack.frob.com>
2507         * io/open.c (__open_2): Moved to ...
2508         * io/open_2.c: ... this new file.
2509         * io/open64.c (__open64_2): Moved to ...
2510         * io/open64_2.c: ... this new file.
2511         * io/openat.c (__openat_2): Moved to ...
2512         * io/openat_2.c: ... this new file.
2513         * io/openat64.c (__openat64_2): Moved to ...
2514         * io/openat64_2.c: ... this new file.
2515         * io/Makefile (routines): Add them.
2516         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2517         * sysdeps/unix/sysv/linux/open_2.c: File removed.
2518         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2519         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2520         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2521         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2522         (__openat64): Add hidden_ver.
2523         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2524         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2526         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2527         Separately conditionalize setting of GLRO(dl_sysinfo) so
2528         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2529         as well, but the actual setting is only under [NEED_DL_SYSINFO].
2531 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2533         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2534         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2535         definition.
2536         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2537         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2538         (_libc_vdso_platform_setup): Add __vdso_time initialization.
2539         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2540         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2542 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
2544         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2545         test signgam value.
2547         * math/libm-test.inc (hypot_test): Do not use
2548         IGNORE_ZERO_INF_SIGN.
2550 2013-05-03  Andreas Jaeger  <aj@suse.de>
2552         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2553         Linux 3.9.
2554         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2555         (PF_MAX): Adjust for VSOCK change.
2557 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2561 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
2563         [BZ #15264]
2564         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2565         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2566         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2568 2013-05-02  David S. Miller  <davem@davemloft.net>
2570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2572 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
2574         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2576 2013-05-01  Roland McGrath  <roland@hack.frob.com>
2578         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2580 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
2582         [BZ #14952]
2583         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2584         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2585         Use __attribute__ ((__gnu_inline__)).
2586         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2587         Don't use __attribute__ ((__gnu_inline__)).
2589 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
2591         [BZ #15423]
2592         * math/s_catan.c (__catan): Handle small real or imaginary part of
2593         input specially to avoid spurious underflow.
2594         * math/s_catanf.c (__catanf): Likewise.
2595         * math/s_catanh.c (__catanh): Likewise.
2596         * math/s_catanhf.c (__catanhf): Likewise.
2597         * math/s_catanhl.c (__catanhl): Likewise.
2598         * math/s_catanl.c (__catanl): Likewise.
2599         * math/libm-test.inc (catan_test): Add more tests.
2600         (catanh_test): Likewise.
2601         * sysdeps/i386/fpu/libm-test-ulps: Update.
2602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2604 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2608 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
2610         [BZ #15416]
2611         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2612         accurately for denominator in atan2.
2613         * math/s_catanf.c (__catanf): Likewise.
2614         * math/s_catanh.c (__catanh): Likewise.
2615         * math/s_catanhf.c (__catanhf): Likewise.
2616         * math/s_catanhl.c (__catanhl): Likewise.
2617         * math/s_catanl.c (__catanl): Likewise.
2618         * math/libm-test.inc (catan_test): Add more tests.
2619         (catanh_test): Likewise.
2620         * sysdeps/i386/fpu/libm-test-ulps: Update.
2621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2623 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2625         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2627         * benchtests/Makefile (bench): Remove slow benchmarks.
2628         * benchtests/atan-inputs: Add slow benchmark inputs.
2629         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2630         (BENCH_FUNC): Accept variant offset.
2631         (VARIANT): Define.
2632         * benchtests/bench-skeleton.c (main): Run benchmark for each
2633         variant.
2634         * benchtests/cos-inputs: Add slow benchmark inputs.
2635         * benchtests/exp-inputs: Likewise.
2636         * benchtests/pow-inputs: Likewise.
2637         * benchtests/sin-inputs: Likewise.
2638         * benchtests/slowatan-inputs: Remove.
2639         * benchtests/slowatan.c: Remove.
2640         * benchtests/slowcos-inputs: Remove.
2641         * benchtests/slowcos.c: Remove.
2642         * benchtests/slowexp-inputs: Remove.
2643         * benchtests/slowexp.c: Remove.
2644         * benchtests/slowpow-inputs: Remove.
2645         * benchtests/slowpow.c: Remove.
2646         * benchtests/slowsin-inputs: Remove.
2647         * benchtests/slowsin.c: Remove.
2648         * benchtests/slowtan-inputs: Remove.
2649         * benchtests/slowtan.c: Remove.
2650         * benchtests/tan-inputs: Add slow benchmark inputs.
2651         * scripts/bench.pl: Parse comments and directives.
2653         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
2654         in CPPFLAGS.
2655         ($(objpfx)bench-%.c): Remove *-ITER.
2656         * benchtests/bench-modf.c: Remove definition of ITER.
2657         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2658         (main): Loop for DURATION seconds instead of fixed number of
2659         iterations.
2660         * scripts/bench.pl: Don't expect iterations in parameters.
2662 2013-04-29  Roland McGrath  <roland@hack.frob.com>
2664         * io/fchdir.c (__fchdir): Renamed from fchdir.
2665         (fchdir): Define as weak alias.
2667 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
2669         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2670         (ERRNO_EDOM): Likewise.
2671         (ERRNO_ERANGE): Likewise.
2672         (noErrnoTests): New variable.
2673         (init_max_error): Set errno to 0.
2674         (test_single_errno): New function.
2675         (test_errno): Likewise.
2676         (check_float_internal): Call test_errno.  Set errno to 0.
2677         (check_complex): Refer to errno tests in comment.
2678         (check_int): Call test_errno.  Set errno to 0.
2679         (check_long): Likewise.
2680         (check_bool): Likewise.
2681         (check_longlong): Likewise.
2682         (cos_test): Use ERRNO_* flags for errno tests instead of
2683         check_int.
2684         (expm1_test): Likewise.
2685         (fmod_test): Likewise.
2686         (ilogb_test): Likewise.
2687         (lgamma_test): Likewise.
2688         (pow_test): Likewise.
2689         (remainder_test): Likewise.
2690         (sin_test): Likewise.
2691         (tan_test): Likewise.
2692         (yn_test): Likewise.
2693         (initialize): Set errno to 0.
2694         (main): Print number of errno tests.
2695         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2697 2013-04-29  Andreas Jaeger  <aj@suse.de>
2699         [BZ #15084]
2700         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2701         and RES_USEVC.
2703         [BZ #15085]
2704         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2705         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2706         unimplemented.
2708         [BZ #15380]
2709         * stdlib/random.c (__initstate): Return NULL if
2710         __initstate fails.
2712         [BZ #15086]
2713         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2714         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2715         RES_SNGLKUPREOP.
2717 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2721 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
2723         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2724         of individual tests.
2725         (casin_test): Likewise.
2726         (casinh_test): Likewise.
2728 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
2730         [BZ #15409]
2731         * math/s_catan.c (__catan): Handle arguments with large real or
2732         imaginary part separately without squaring.
2733         * math/s_catanf.c (__catanf): Likewise.
2734         * math/s_catanh.c (__catanh): Likewise.
2735         * math/s_catanhf.c (__catanhf): Likewise.
2736         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2737         and redefine.
2738         (__catanhl): Handle arguments with large real or imaginary part
2739         separately without squaring.
2740         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2741         and redefine.
2742         (__catanl): Handle arguments with large real or imaginary part
2743         separately without squaring.
2744         * math/libm-test.inc (catan_test): Add more tests.
2745         (catanh_test): Likewise.
2746         * sysdeps/i386/fpu/libm-test-ulps: Update.
2747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2749 2013-04-27  Andreas Jaeger  <aj@suse.de>
2751         [BZ #15007]
2752         * stdlib/stdlib.h: Update guards for qecvt.
2753         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2754         <stdlib.h>.
2756 2013-04-27  Allan McRae  <allan@archlinux.org>
2758         * sysdeps/i386/fpu/libm-test-ulps: Update.
2760 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
2762         [BZ #15406]
2763         * math/s_catan.c: Include <float.h>.
2764         (__catan): Ensure underflow exception occurs for underflowed
2765         result.
2766         * math/s_catanf.c: Include <float.h>.
2767         (__catanf): Ensure underflow exception occurs for underflowed
2768         result.
2769         * math/s_catanh.c: Include <float.h>.
2770         (__catanh): Ensure underflow exception occurs for underflowed
2771         result.
2772         * math/s_catanhf.c: Include <float.h>.
2773         (__catanhf): Ensure underflow exception occurs for underflowed
2774         result.
2775         * math/s_catanhl.c: Include <float.h>.
2776         (__catanhl): Ensure underflow exception occurs for underflowed
2777         result.
2778         * math/s_catanl.c: Include <float.h>.
2779         (__catanl): Ensure underflow exception occurs for underflowed
2780         result.
2781         * math/libm-test.inc (catan_test): Add more tests.
2782         (catanh_test): Likewise.
2784         [BZ #15405]
2785         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2786         underflowed result.
2787         * math/s_ccoshf.c (__ccoshf): Likewise.
2788         * math/s_ccoshl.c (__ccoshl): Likewise.
2789         * math/s_csin.c (__csin): Likewise.
2790         * math/s_csinf.c (__csinf): Likewise.
2791         * math/s_csinh.c (__csinh): Likewise.
2792         * math/s_csinhf.c (__csinhf): Likewise.
2793         * math/s_csinhl.c (__csinhl): Likewise.
2794         * math/s_csinl.c (__csinl): Likewise.
2795         * math/libm-test.inc (ccos_test): Add more tests.
2796         (ccosh_test): Likewise.
2797         (csin_test): Likewise.
2798         (csinh_test): Likewise.
2800 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2802         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2803         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2804         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2805         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2806         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2807         powerpc/power5+/fpu folders.
2808         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2811 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
2813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2815 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
2817         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2818         additions to variable.
2819         [$(config-machine) = x86_64] (modules-names): Likewise.
2820         ($(objpfx)tst-audit3): Remove dependency.
2821         ($(objpfx)tst-audit3.out): Likewise.
2822         ($(objpfx)tst-audit4): Likewise.
2823         ($(objpfx)tst-audit4.out): Likewise.
2824         ($(objpfx)tst-audit5): Likewise.
2825         ($(objpfx)tst-audit5.out): Likewise.
2826         ($(objpfx)tst-audit6): Likewise.
2827         ($(objpfx)tst-audit6.out): Likewise.
2828         ($(objpfx)tst-audit7): Likewise.
2829         ($(objpfx)tst-audit7.out): Likewise.
2830         (tst-audit3-ENV): Remove variable.
2831         (tst-audit4-ENV): Likewise.
2832         (tst-audit5-ENV): Likewise.
2833         (tst-audit6-ENV): Likewise.
2834         (tst-audit7-ENV): Likewise.
2835         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2836         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2837         addition to variable.
2838         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2839         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2840         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2841         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2842         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2843         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2844         tst-audit3, tst-audit4 and tst-audit5.
2845         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2846         tst-audit6 and tst-audit7.
2847         [$(subdir) = elf] (modules-names): Add audit modules for those
2848         tests.
2849         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2850         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2851         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2852         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2853         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2854         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2855         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2856         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2857         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2858         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2859         [$(subdir) = elf] (tst-audit3-ENV): New variable.
2860         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2861         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2862         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2863         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2864         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2865         Likewise.
2866         [$(subdir) = elf && $(config-cflags-avx) = yes]
2867         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2868         [$(subdir) = elf && $(config-cflags-avx) = yes]
2869         (CFLAGS-tst-auditmod4a.c): Likewise.
2870         [$(subdir) = elf && $(config-cflags-avx) = yes]
2871         (CFLAGS-tst-auditmod4b.c): Likewise.
2872         [$(subdir) = elf && $(config-cflags-avx) = yes]
2873         (CFLAGS-tst-auditmod6b.c): Likewise.
2874         [$(subdir) = elf && $(config-cflags-avx) = yes]
2875         (CFLAGS-tst-auditmod6c.c): Likewise.
2876         [$(subdir) = elf && $(config-cflags-avx) = yes]
2877         (CFLAGS-tst-auditmod7b.c): Likewise.
2878         * elf/tst-audit3.c: Move to ...
2879         * sysdeps/x86_64/tst-audit3.c: ... here.
2880         * elf/tst-audit4.c: Move to ...
2881         * sysdeps/x86_64/tst-audit4.c: ... here.
2882         * elf/tst-audit5.c: Move to ...
2883         * sysdeps/x86_64/tst-audit5.c: ... here.
2884         * elf/tst-audit6.c: Move to ...
2885         * sysdeps/x86_64/tst-audit6.c: ... here.
2886         * elf/tst-audit7.c: Move to ...
2887         * sysdeps/x86_64/tst-audit7.c: ... here.
2888         * elf/tst-auditmod3a.c: Move to ...
2889         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2890         * elf/tst-auditmod3b.c: Move to ...
2891         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2892         * elf/tst-auditmod4a.c: Move to ...
2893         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2894         * elf/tst-auditmod4b.c: Move to ...
2895         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2896         * elf/tst-auditmod5a.c: Move to ...
2897         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2898         * elf/tst-auditmod5b.c: Move to ...
2899         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2900         * elf/tst-auditmod6a.c: Move to ...
2901         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2902         * elf/tst-auditmod6b.c: Move to ...
2903         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2904         * elf/tst-auditmod6c.c: Move to ...
2905         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2906         * elf/tst-auditmod7a.c: Move to ...
2907         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2908         * elf/tst-auditmod7b.c: Move to ...
2909         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2911 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
2913         [BZ #15366]
2914         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2915         define unconditionally.
2916         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2917         define unconditionally.
2918         (INT8_C, INT16_C, etc.): Likewise.
2920 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
2922         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2923         __ehdr_start with hidden visibility.
2925         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2927 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
2929         * math/libm-test.inc (cos_test): Use accurate hex constants.
2930         (sincost_test): Likewise.
2932 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
2934         * math/libm-test.inc (catan_test): Add more tests.
2935         (catanh_test): Likewise.
2937         * math/s_catanf.c (__catanf): Use suffixed floating-point
2938         constants.
2939         * math/s_catanhf.c (__catanhf): Likewise.
2940         * math/s_catanhl.c (__catanhl): Likewise.
2941         * math/s_catanl.c (__catanl): Likewise.
2943         [BZ #15394]
2944         * math/s_catan.c (__catan): Calculate imaginary part of result
2945         with log1p not log unless computing log of number close to 0.
2946         * math/s_catanf.c (__catanf): Likewise.
2947         * math/s_catanl.c (__catanl): Likewise.
2948         * math/s_catanh.c (__catanh): Calculate real part of result with
2949         log1p not log unless computing log of number close to 0.
2950         * math/s_catanhf.c (__catanhf): Likewise.
2951         * math/s_catanhl.c (__catanhl): Likewise.
2952         * math/libm-test.inc (catan_test): Add more tests.
2953         (catanh_test): Likewise.
2954         * sysdeps/i386/fpu/libm-test-ulps: Update.
2955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2957 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2959         * benchtests/Makefile: Mention files in which fast and slow
2960         paths of math functions are implemented.
2962 2013-04-23  Roland McGrath  <roland@hack.frob.com>
2964         * sysdeps/posix/timespec_get.c: New file.
2966 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2968         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2969         POWER.
2970         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2971         for POWER.
2972         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2973         powerpc/power5/fpu folders.
2974         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2975         * benchtests/Makefile: Add modf testcase.
2976         * benchtests/bench-modf.c: New file: Benchmark test for mo
2978 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2980         [BZ #14888]
2981         * time/Makefile (tests): Add tst-strptime-whitespace.
2982         * time/strptime_l.c (get_number): Use ISSPACE.
2983         (__strptime_internal): Likewise.
2984         * time/tst-strptime-whitespace.c: New test case.
2986 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
2988         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2989         member.
2990         (_nss_files_init): Set it here.
2992 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
2994         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2995         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2996         unsigned.
2998 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
3000         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3002 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3004         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3005         size just once.
3007 2013-04-21  David S. Miller  <davem@davemloft.net>
3009         * po/ru.po: Update Russion translation from translation project.
3011 2013-04-17  Adam Conrad  <adconrad@0c3.net>
3013         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3014         and setfsgid.
3016 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
3018         * configure.in: Remove i386 configure warning. Remove i386 case.
3019         * configure: Regenerate.
3020         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3021         Add example to error message.
3022         * sysdeps/i386/configure: Regenerate.
3024 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3026         * benchtests/Makefile (bench): Add cos, tan, slowcos and
3027         slowtan.
3028         * benchtests/cos-inputs: New file.
3029         * benchtests/slowcos-inputs: New file.
3030         * benchtests/slowcos.c: New file.
3031         * benchtests/slowtan-inputs: New file.
3032         * benchtests/slowtan.c: New file.
3033         * benchtests/tan-inputs: New file.
3035 2013-04-16  Roland McGrath  <roland@hack.frob.com>
3037         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3038         considered kosher.
3040 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3042         * benchtests/Makefile: Include cppflags-iterator.mk to add
3043         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3045         * Makefile.in (bench-clean): New target.
3046         * benchtests/Makefile (bench-clean): Likewise.
3048 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
3050         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3052 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
3054         * stdio-common/tstdiomisc.c: Fix coding-style violation.
3056 2013-04-15  Andreas Schwab  <schwab@suse.de>
3058         * nscd/grpcache.c (cache_addgr): Properly check for short write.
3059         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3060         * nscd/pwdcache.c (cache_addpw): Likewise.
3061         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
3062         more than recsize.
3064 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3066         * benchtests/Makefile (bench): Write all output to
3067         bench-out.tmp together.
3069 2013-04-15  Andreas Schwab  <schwab@suse.de>
3071         * nscd/nscd.c (main): Don't fork again after closing files.
3073 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3075         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3077         * benchtests/Rules (bench-deps): Collect dependencies into a
3078         single variable.  Add Makefile to dependencies.
3079         ($(objpfx)bench-%.c): Depend on bench-deps.
3081 2013-04-12  Roland McGrath  <roland@hack.frob.com>
3082             Xavier Roche  <roche+kml2@exalead.com>
3084         [BZ #15361]
3085         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3086         just that it's a file descriptor.
3087         * manual/llio.texi (Synchronizing AIO Operations): Update description
3088         for EBADF error from aio_fsync.
3090 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3092         * Rules (bench): Move target definition...
3093         * benchtests/Makefile: ... here.
3095 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
3097         * math/libm-test.inc (cos_test): Fix PI/2 test.
3098         (sincos_test): Likewise.
3099         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3100         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3102 2013-04-11  Andreas Schwab  <schwab@suse.de>
3104         [BZ #13988]
3105         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3106         accept exponent character only when digits were seen.
3107         * stdio-common/Makefile (tests): Add bug26.
3108         * stdio-common/bug26.c: New file.
3110         [BZ #14293]
3111         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3112         non-freeable.
3114 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3116         * Makeconfig (rtld-prefix): Define built linker prefix.
3117         * Rules (run-bench): Use it.
3118         * math/Makefile (run-regen-ulps): Likewise.
3120         * Rules (bench): Remove eval.
3122 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3123             Roland McGrath  <roland@hack.frob.com>
3124             Ondrej Bilka  <neleai@seznam.cz>
3126         [BZ #15346]
3127         * time/getdate.c: Include ctype.h and alloca.h.
3128         (__getdate_r): Trim leading and trailing spaces of input.
3129         * time/tst-getdate.c (tests): Add tests with leading and
3130         trailing spaces.
3132 2013-04-08  Roland McGrath  <roland@hack.frob.com>
3134         [BZ #14280]
3135         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3136         when computing value.
3138 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3140         * math/README.libm-test (How can I generate "libm-test-ulps"?):
3141         Use testrun.sh to run libm tests.
3143         [BZ #15309]
3144         * elf/dl-open.c (dl_open_worker): memset all of seen array.
3146 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
3148         [BZ #15264]
3149         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3151 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3153         * Makefile.in (regen-ulps): New target.
3154         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3155         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3156         [ifneq (no,$(PERL)] (regen-ulps): New target.
3157         [ifeq (no,$(PERL)] (regen-ulps): New target.
3158         * math/libm-test.inc (ulps_file_name): Define.
3159         (output_dir): New variable.
3160         (options): Add "output-dir" option.
3161         (parse_opt): Handle 'o' case.
3162         (main): If output_dir is non-NULL use it as a prefix
3163         otherwise use "".
3164         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3166 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3168         [BZ #10060, #10062]
3169         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3170         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3171         fail configure if __sync_val_compare_and_swap is not inlined.
3172         * sysdeps/i386/configure: Regenerate.
3173         * configure.in: Build for i686 when configured for i386.
3174         * configure: Regenerate.
3175         * README: Remove i386 reference.
3177 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3179         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3180         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3182 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
3184         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3185         (lmsnanval): New variables.
3186         (F): Add conversion tests.
3187         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3188         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3190         * stdio-common/tstdiomisc.c (F): Properly collect individual
3191         tests' results.
3193         [BZ #14686, #15336]
3194         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3195         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3196         Instead, use input NaN values or generate a qNaN by arithmetic
3197         operation.  Also fix bugs to comply with the standard.
3198         * math/libm-test.inc (remainder_test): Add more tests.
3200         [BZ #15335, #15342]
3201         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3202         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3203         input NaN values or generate a qNaN by arithmetic operation.
3205         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3206         unreachable code.
3208         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3209         definitions.
3211 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
3213         [BZ #14478]
3214         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3215         underflowed result.
3216         * math/s_cexpf.c (__cexpf): Likewise.
3217         * math/s_cexpl.c (__cexpl): Likewise.
3218         * math/libm-test.inc (cexp_test): Add more tests.
3220 2013-04-03  Andreas Schwab  <schwab@suse.de>
3222         [BZ #15330]
3223         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3224         order arrays from heap if bigger than alloca cutoff.
3226 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
3228         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3229         (SNAN_TESTS_double): Refer to GCC PR56831.
3230         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3231         GCC PR56828.
3233 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3235         * Rules (bench): Move bench.out after the run is complete.
3237         * Rules (bench): Echo currently running benchmark.
3239         * benchtests/Makefile (bench): Add atan and slowatan.
3240         * benchtests/atan-inputs: New file.
3241         * benchtests/slowatan-inputs: New file.
3242         * benchtests/slowatan.c: New file.
3244         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3245         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3246         its value.
3248         [BZ #15305]
3249         * sysdeps/unix/sysv/linux/kernel-features.h
3250         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3251         __ASSUME_XFS_RESTRICTED_CHOWN.
3252         * sysdeps/unix/sysv/linux/pathconf.c
3253         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3254         Save and restore errno.
3256 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
3258         [BZ #15327]
3259         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3260         arguments using __kernel_casinh.
3261         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3262         arguments using __kernel_casinhf.
3263         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3264         arguments using __kernel_casinhl.
3265         * math/libm-test.inc (cacosh_test): Add more tests.
3266         * sysdeps/i386/fpu/libm-test-ulps: Update.
3267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3269 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3271         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3272         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3274         * bench/Makefile (bench): Add sin and slowsin.
3275         * benchtests/sin-inputs: New file.
3276         * benchtests/slowsin-inputs: New file.
3277         * benchtests/slowsin.c: New file.
3279         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3280         (bench): Add slowexp and slowpow.
3281         (exp-ITER): Increase iterations.
3282         (pow-ITER): Likewise.
3283         * benchtests/exp-inputs: Change input.
3284         * benchtests/pow-inputs: Likewise.
3285         * benchtests/slowexp-inputs: New file.
3286         * benchtests/slowexp.c: New file.
3287         * benchtests/slowpow-inputs: New file.
3288         * benchtests/slowpow.c: New file.
3290 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3292         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3293         instructions.
3294         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3295         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3296         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3297         * benchtests/Makefile: Add rint benchtest.
3298         * benchtests/rint-inputs: Input for rint benchtest.
3300 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
3302         * Versions.def (libm): Add GLIBC_2.18.
3303         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3304         hidden libm prototypes.
3305         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3306         * math/Makefile (libm-calls): Add s_issignaling.
3307         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3308         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
3309         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3310         declaration.
3311         * math/math.h [__USE_GNU] (issignaling): New macro.
3312         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3313         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3314         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3315         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3316         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3317         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3318         * manual/arith.texi (issignaling): New section.
3319         * manual/libm-err-tab.pl (@all_functions): Update comment.
3320         * math/gen-libm-test.pl (parse_args): Apply special handling for
3321         issignaling.
3322         * math/libm-test.inc (print_float, issignaling_test): New
3323         functions.
3324         (check_float_internal): Add issignaling checks.
3325         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3326         default definition.
3327         * sysdeps/powerpc/math-tests.h: New file.
3328         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3329         tests.
3330         * math/test-snan.c (TEST_FUNC): Likewise.
3332 2013-03-30  David S. Miller  <davem@davemloft.net>
3334         * po/de.po: Update from translation team.
3336 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
3338         [BZ #10357]
3339         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3340         imaginary part less than 1.0 and real part less than 0.5
3341         specially.
3342         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3343         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3344         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3345         (cacos_test): Add more tests.
3346         (casin_test): Likewise.
3347         (casinh_test): Likewise.
3348         * sysdeps/i386/fpu/libm-test-ulps: Update.
3349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3351 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3353         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3354         ONE with its value.
3356         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3357         (__pow_mp): Replace ONE and MONE with their values.
3358         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3359         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3360         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3361         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3362         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3363         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3365         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3367         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3368         (__pow_mp): Replace ZERO and MZERO with their values.
3369         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3370         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3371         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3372         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3373         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3374         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3375         (__sqr): Likewise.
3377         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3379         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3381 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3383         * include/stdlib.h [!SHARED] (__call_tls_dtors):
3384         Declare with __attribute__ ((weak)).
3385         * stdlib/exit.c (__libc_atexit) [!SHARED]:
3386         Call __call_tls_dtors only if it's not NULL.
3388 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3390         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3391         didn't do it already, then set _dl_phdr and _dl_phnum based on the
3392         magic __ehdr_start linker symbol if it's defined.
3393         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3394         them up here if it was already done.
3396         * elf/dl-support.c (_dl_phdr): Make pointer to const.
3397         (_dl_aux_init): Use const in cast when setting it.
3398         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3399         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3400         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3402         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3403         Declare them here.
3404         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3405         * csu/libc-tls.c: Nor here.
3406         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3408         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3409         (__libc_message): Never call vsyslog.
3411 2013-03-28  Alan Modra  <amodra@gmail.com>
3413         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3414         Define as empty.
3415         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3416         Likewise.
3418 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3420         [BZ #15214]
3421         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3422         underflow.
3423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3425 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3427         [BZ #15304]
3428         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3429         Don't add gid passed as argument.
3431         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3433 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
3435         [BZ #15307]
3436         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3437         imaginary part between 1.0 and 1.5 and real part less than 0.5
3438         specially.
3439         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3440         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3441         * math/libm-test.inc (cacos_test): Add more tests.
3442         (casin_test): Likewise.
3443         (casinh_test): Likewise.
3444         * sysdeps/i386/fpu/libm-test-ulps: Update.
3445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3447 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3449         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3450         constants.
3451         (norm): Likewise.
3452         (denorm): Likewise.
3453         (__dbl_mp): Likewise.
3454         (add_magnitudes): Likewise.
3455         (sub_magnitudes): Likewise.
3456         (__add): Likewise.
3457         (__sub): Likewise.
3458         (__mul): Likewise.
3459         (__sqr): Likewise.
3460         (__inv): Likewise.
3461         (__dvd): Likewise.
3463         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3464         commented code.
3465         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3466         (__dubcos): Likewise.
3467         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3468         (__ieee754_acos): Likewise.
3469         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3470         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3471         (__exp1): Likewise.
3472         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3473         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3474         (log1): Likewise.
3475         (my_log2): Likewise.
3476         (checkint): Likewise.
3477         * sysdeps/ieee754/dbl-64/e_remainder.c
3478         (__ieee754_remainder): Likewise.
3479         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3480         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3481         (bsloww): Likewise.
3482         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3484         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3485         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3486         MANTISSA_STORE_T to store computations on mantissa.  Use
3487         macros for rounding and division.
3488         (denorm): Likewise.
3489         (__dbl_mp): Likewise.
3490         (add_magnitudes): Likewise.
3491         (sub_magnitudes): Likewise.
3492         (__mul): Likewise.
3493         (__sqr): Likewise.
3494         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
3495         powers of two in terms of TWOPOW macro.
3496         (mp_no): Make type of mantissa as MANTISSA_T.
3497         [!RADIXI]: Define RADIXI.
3498         [!TWO52]: Define TWO52.
3499         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3501 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3503         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3504         llroundl symbol when building for PPC32.
3506 2013-03-24  Mark H Weaver  <mhw@netris.org>
3508         * manual/arith.texi (Normalization Functions): Fix prototypes for
3509         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3511 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3513         [BZ #13889]
3514         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3515         high value to check if expl overflow.
3516         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3517         to check for underflow and overflow.
3518         * math/libm-test.inc: Add exp test.
3520 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
3522         [BZ #11120]
3523         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3524         with NOT_IN_libc.
3526 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3528         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3529         symbol.
3531 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3533         * math/gen-libm-test.pl (parse_args, special_functions): Properly
3534         wrap blocks consisting of several statements.
3536         * sysdeps/generic/math-tests.h: New file.
3537         * sysdeps/i386/fpu/math-tests.h: Likewise.
3538         * math/test-snan.c: Include it.
3539         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3541 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
3543         [BZ #15285]
3544         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3545         (__ieee754_j0l): Do not improve calculations using cos of twice
3546         input for inputs above LDBL_MAX / 2.0L.
3547         (__ieee754_y0l): Likewise.
3548         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3549         (__ieee754_j1l): Do not improve calculations using cos of twice
3550         input for inputs above LDBL_MAX / 2.0L.
3551         (__ieee754_y1l): Likewise.
3552         * math/libm-test.inc (j0_test): Add another test.
3553         (j1_test): Likewise.
3554         (y0_test): Likewise.
3555         (y1_test): Likewise.
3556         * sysdeps/i386/fpu/libm-test-ulps: Update.
3558 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3560         * Rules ($(objpfx)bench-%.c): Include code from a C source
3561         file.
3563 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
3565         [BZ #15287]
3566         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3567         imaginary part 1.0 and real part less than 0.5 specially.
3568         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3569         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3570         * math/libm-test.inc (cacos_test): Add more tests.
3571         (casin_test): Likewise.
3572         (casinh_test): Likewise.
3573         * sysdeps/i386/fpu/libm-test-ulps: Update.
3574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3576 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3578         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3579         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3581 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
3583         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3584         * config.make.in (config-cflags-sse4): Remove variable.
3585         (config-cflags-avx): Likewise.
3586         (config-cflags-sse2avx): Likewise.
3587         (config-cflags-novzeroupper): Likewise.
3588         (config-asflags-i686): Likewise.
3589         (have-mfma4): Likewise.
3590         (have-as-vis3): Likewise.
3591         (MIG): Likewise.
3592         * configure.in (MIG): Do not AC_SUBST.
3593         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3594         (libc_cv_cc_sse4): Do not AC_SUBST.
3595         (libc_cv_cc_avx): Likewise.
3596         (libc_cv_cc_sse2avx): Likewise.
3597         (libc_cv_cc_novzeroupper): Likewise.
3598         (libc_cv_cc_fma4): Likewise.
3599         (libc_cv_as_i686): Likewise.
3600         (libc_cv_sparc_as_vis3): Likewise.
3601         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3602         LIBC_CONFIG_VAR.
3603         (config-asflags-i686): Likewise.
3604         (config-cflags-avx): Likewise.
3605         (config-cflags-sse2avx): Likewise.
3606         (have-mfma4): Likewise.
3607         (config-cflags-novzeroupper): Likewise.
3608         * sysdeps/mach/configure.in (MIG): Likewise.
3609         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3610         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3611         LIBC_CONFIG_VAR.
3612         (config-cflags-avx): Likewise.
3613         (config-cflags-sse2avx): Likewise.
3614         (have-mfma4): Likewise.
3615         (config-cflags-novzeroupper): Likewise.
3616         * configure: Regenerated.
3617         * sysdeps/i386/configure: Likewise.
3618         * sysdeps/mach/configure: Likewise.
3619         * sysdeps/sparc/configure: Likewise.
3620         * sysdeps/x86_64/configure: Likewise.
3622 2013-03-20  Roland McGrath  <roland@hack.frob.com>
3624         [BZ #14812]
3625         * locale/programs/localedef.c (options): Put N_ translation marker
3626         on argument names, not just descriptions.
3628 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3630         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3632 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
3634         [BZ #14176]
3635         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3637 2013-03-19  Roland McGrath  <roland@hack.frob.com>
3639         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3640         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3641         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3642         [!BEFORE_ABORT] (before_abort): New function.
3643         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3644         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3645         (writev_for_fatal): New function.
3646         (WRITEV_FOR_FATAL): New macro; call that.
3647         (backtrace_and_maps): New function.
3648         (BEFORE_ABORT): New macro; call that.
3649         (struct str_list): Type removed.
3650         (__libc_message, __libc_fatal): Functions removed.
3651         Include <sysdeps/posix/libc_fatal.c> instead.
3653 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
3655         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3656         constants.
3657         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3658         double constants.
3660 2013-03-19  Andreas Schwab  <schwab@suse.de>
3662         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3663         * sysdeps/gnu/configure: Regenerate.
3665         * configure.in: Substitute libc_cv_rtlddir.
3666         * configure: Regenerate.
3667         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3668         * Makeconfig (rtlddir, inst_rtlddir): New variables.
3669         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3670         * elf/Makefile (install-others, CFLAGS-interp.c)
3671         (ldso_install, common-ldd-rewrite): Likewise.
3672         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3673         $(inst_slibdir)/$(rtld-installed-name).
3674         * scripts/rellns-sh: Add -p option.
3675         * Makerules (make-shlib-link): Use rellns-sh to get relative name
3676         for source.
3678 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3680         * manual/nptl.texi: Renamed to ...
3681         * manual/threads.texi: ... this.
3682         * manual/Makefile (chapters): Update.
3684 2013-03-18  Roland McGrath  <roland@hack.frob.com>
3686         [BZ #14812]
3687         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3688         on argument names, not just descriptions.
3689         * malloc/memusagestat.c (options): Likewise.
3690         * nss/getent.c (options): Likewise.
3692 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
3694         [BZ #14812]
3695         * iconv/iconv_prog.c (options): Put N_ translation marker
3696         on argument names, not just descriptions.
3697         * iconv/iconvconfig.c (options): Likewise.
3699 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
3701         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3702         implementation which is faster on all x86_64 architectures.
3703         Tested on AMD, Intel Nehalem, SNB, IVB.
3704         * sysdeps/x86_64/strnlen.S: Likewise.
3706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3707         Remove all multiarch strlen and strnlen versions.
3708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3709         Remove strlen and strnlen related parts.
3711         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3712         Inline strlen part.
3713         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3715         * sysdeps/x86_64/multiarch/strlen.S: Remove.
3716         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3717         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3718         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3719         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3720         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3722 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
3724         * manual/memory.texi (Malloc Tunable Parameters):
3725         Sort parameters alphabetically. Add comments for missing entries.
3727 2013-03-17  David S. Miller  <davem@davemloft.net>
3729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3731 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
3733         [BZ #15283]
3734         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3735         for arguments at most half maximum finite value.
3736         * math/libm-test.inc (j0_test): Add more tests.
3737         (j1_test): Likewise.
3738         (y0_test): Likewise.
3739         (y1_test): Likewise.
3740         * sysdeps/i386/fpu/libm-test-ulps: Update.
3741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3743         [BZ #14155]
3744         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3745         1 / x and functions P and Q for arguments above 0x1p256L.
3746         (__ieee754_y0l): Likewise.
3747         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3748         (__ieee754_y1l): Likewise.
3749         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3750         (j1_test): Likewise.
3751         (y0_test): Likewise.
3752         (y1_test): Likewise.
3754 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
3756         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3757         variable.
3759 2013-03-15  Roland McGrath  <roland@hack.frob.com>
3761         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3762         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3763         zero since it's initialized to EXEC_PAGESIZE.
3765         * sysdeps/unix/sysv/linux/ldsodefs.h
3766         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3767         * sysdeps/generic/ldsodefs.h: ... here.
3769 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
3771         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3773         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3774         math/test-snan.c.
3775         * math/test-snan.c: Renamed from
3776         sysdeps/powerpc/fpu/test-powerpc-snan.c.
3777         * math/Makefile (tests): Add test-snan.
3778         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3779         test-powerpc-snan.
3781         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3782         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
3783         functions.
3784         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
3785         __builtin_nan family of functions.
3786         * math/libm-test.inc (initialize): Initialize qnan_value with
3787         __builtin_nan family of functions.
3788         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3789         Remove variables.
3790         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3791         Remove functions.
3792         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
3793         storage class.  Initialize qNaN_var and sNaN_var with
3794         __builtin_nan and __builtin_nans families of functions,
3795         respectively.
3797         * math/libm-test.inc (acosh_test): Also test with qNaN input.
3798         (sqrt_test): Remove duplicate test with qNaN input.
3799         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3800         (round_test, signbit_test, significand_test): Note missing +/-Inf
3801         as well as qNaN tests.
3803         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3804         qNaN_var.  Fix a few strings, too.
3805         * math/libm-test.inc (nan_value): Rename to qnan_value.
3806         * math/gen-libm-test.pl (%beautify): Adjust to that.
3807         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3808         * math/test-misc.c (main): Likewise.
3809         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3810         to __qnan_bytes, and __qnan_union, respectively.
3811         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3812         Likewise.
3813         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3814         and lqnanval, respectively.
3815         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3816         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3817         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3818         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3820         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3821         * math/test-misc.c (main) [__x86_64__]: Enable test for long
3822         doubles.
3824         * math/test-misc.c (main): Fix copy'n'pastos.
3825         * misc/tst-efgcvt.c (special): Likewise.
3827         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3828         Remove declarations.
3830 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3832         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3833         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3834         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3835         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3837 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3839         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3840         macro to return vdso values correctly in IFUNC implementations.
3841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3842         Optimization by using IFUNC.
3844 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3845             Richard Henderson  <rth@redhat.com>
3846             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3848         * Makefile.in (bench): New target.
3849         * NEWS: Mention the benchmark framework.
3850         * Rules (bench): Likewise.
3851         (binaries-bench): Generate binaries for functions to
3852         benchmark.
3853         * benchtests/Makefile: New makefile for benchmark tests.
3854         * benchtests/bench-skeleton.c: New skeleton file for benchmark
3855         programs.
3856         * benchtests/exp-inputs: New input file for EXP function.
3857         * benchtests/pow-inputs: New input file for POW function.
3858         * scripts/bench.pl: New script to generate source files for
3859         benchmark programs.
3861 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3863         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3864         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3865         computations on mantissa.  Use macros for rounding and
3866         division.
3867         (denorm): Likewise.
3868         (__dbl_mp): Likewise.
3869         (add_magnitudes): Likewise.
3870         (sub_magnitudes): Likewise.
3871         (__mul): Likewise.
3872         (__sqr): Likewise.
3873         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
3874         powers of two in terms of TWOPOW macro.
3875         (mp_no): Make type of mantissa as MANTISSA_T.
3876         [!RADIXI]: Define RADIXI.
3877         [!TWO52]: Define TWO52.
3878         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3880         * manual/nptl.texi (cindex): Modify threads to pthreads.
3882 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
3884         * sysdeps/x86_64/preconfigure: Regenerated.
3886 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
3888         [BZ #14155]
3889         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3890         0x1p28 and above.
3891         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3892         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3893         0x1p28 and above.
3894         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3895         * math/libm-test.inc (j0_test): Do not allow one spurious
3896         underflow exception.
3897         (y1_test): Likewise.
3899 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3901         * manual/Makefile (chapters): Add nptl.
3902         * manual/debug.texi (Debugging Support): Add link to Threads
3903         chapter.
3904         * manual/nptl.texi: New file.
3906         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3908 2013-03-14  Petr Baudis  <pasky@ucw.cz>
3910         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3911         for non-NULL pointer before the memory validity test. Pointed
3912         out by Holger Brunck <holger.brunck@keymile.com>.
3914 2013-03-13  Andreas Schwab  <schwab@suse.de>
3916         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3917         instead of .os.
3919 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
3921         * timezone/zic.c: Update from tzcode 2013b.
3923 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
3925         * manual/install.texi (Configuring and compiling):
3926         Mention i686 and i586.
3927         * INSTALL: Regenerate.
3929 2013-03-12  Roland McGrath  <roland@hack.frob.com>
3931         * sysdeps/init_array/elf-init.c: New file.
3932         * csu/elf-init.c
3933         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3934         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3936         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3937         __gmon_start__ as global, but as static with a .preinit_array pointer.
3938         * sysdeps/init_array/gmon-start.c: New file.  Use that.
3939         * sysdeps/init_array/crti.S: New file, empty except for comments.
3940         * sysdeps/init_array/crtn.S: Likewise.
3942 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
3944         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3945         definining bcopy.
3946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3947         Remove Prefer_SSE_for_memop.
3948         * sysdeps/x86_64/multiarch/init-arch.h: Remove
3949         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3950         HAS_PREFER_SSE_FOR_MEMOP.
3951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3952         memset-x86-64.
3953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3954         Remove bzero, memset ifunc support.
3955         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3956         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3957         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3958         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3960 2013-03-11  Andreas Schwab  <schwab@suse.de>
3962         [BZ #15234]
3963         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3964         by SHLIB_COMPAT.
3965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3966         (GLIBC_2.16): Remove pthread_atfork.
3968 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3970         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3971         (ptestcases.h): Likewise.
3973 2013-03-08  Roland McGrath  <roland@hack.frob.com>
3975         * Makeconfig ($(common-objpfx)config.status): Depend on
3976         sysdeps/*/preconfigure{,.in} too.
3978 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
3980         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3981         (__free_hook): Use void * instead of __malloc_ptr_t.
3982         (__malloc_hook): Likewise.
3983         (__realloc_hook): Likewise.
3984         (__memalign_hook): Likewise.
3985         (__after_morecore_hook): Likewise.
3986         * malloc/arena.c (save_malloc_hook): Likewise.
3987         (save_free_hook): Likewise.
3988         * malloc/hooks.c (malloc_hook_ini): Likewise.
3989         (realloc_hook_ini): Likewise.
3990         (memalign_hook_ini): Likewise.
3991         * malloc/malloc.c (malloc_hook_ini): Likewise.
3992         (realloc_hook_ini): Likewise.
3993         (memalign_hook_ini): Likewise.
3994         (__free_hook): Likewise.
3995         (__malloc_hook): Likewise.
3996         (__realloc_hook): Likewise.
3997         (__memalign_hook): Likewise.
3998         (__libc_malloc): Likewise.
3999         (__libc_free): Likewise.
4000         (__libc_realloc): Likewise.
4001         (__libc_memalign): Likewise.
4002         (__libc_valloc): Likewise.
4003         (__libc_pvalloc): Likewise.
4004         (__libc_calloc): Likewise.
4005         (__posix_memalign): Likewise.
4006         * malloc/morecore.c (__sbrk): Likewise.
4007         (__default_morecore): Likewise.
4009         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4011         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4012         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4013         __malloc_ptrdiff_t.
4015         * malloc/malloc.h (__malloc_size_t): Remove macro.
4016         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4017         __malloc_size_t.
4018         (old_memalign_hook): Likewise.
4019         (old_realloc_hook): Likewise.
4020         (struct hdr): Likewise.
4021         (flood): Likewise.
4022         (mallochook): Likewise.
4023         (memalignhook): Likewise.
4024         (reallochook): Likewise.
4025         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4026         (tr_old_realloc_hook): Likewise.
4027         (tr_old_memalign_hook): Likewise.
4028         (tr_mallochook): Likewise.
4029         (tr_reallochook): Likewise.
4030         (tr_memalignhook): Likewise.
4032 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4034         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4035         default_ldbl_pack and using as default implementation.
4036         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4037         implementation.
4038         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4039         redundant definition.
4040         (ldbl_insert_mantissa): Likewise.
4041         (ldbl_canonicalize): Likewise.
4042         (ldbl_nearbyint): Likewise.
4043         (ldbl_pack): Rename to ldbl_pack_ppc.
4044         (ldbl_unpack): Rename to ldbl_unpack_ppc.
4045         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4046         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4048 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4051         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4052         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4053         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4055         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4056         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4057         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4059 2013-03-07  Andreas Jaeger  <aj@suse.de>
4061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4062         bits/mman-linux.h.
4064 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4066         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4067         Include mpa.h and declare __MPEXP.
4068         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4069         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4070         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4071         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4072         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4073         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4074         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4076         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4077         (__slowpow): Use long double EXPL and LOGL functions to
4078         compute POW.
4079         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4080         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4081         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4082         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4083         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4084         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4086         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4087         intermediate variable to calculate exponent.
4088         (__sqr): Likewise.
4089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4090         Likewise.
4091         (__sqr): Likewise.
4093         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4094         [!NO__SQR]: Define __sqr.
4095         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4096         and NO__SQR.  Remove all code except __mul and __sqr.  Include
4097         sysdeps/ieee754/dbl-64/mpa.c.
4098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4100         [BZ #12723]
4101         * posix/Makefile (tests): Add tst-pathconf.
4102         * posix/tst-pathconf.c: New test case.
4103         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4104         _PC_PIPE_BUF.
4105         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4107 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
4109         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4111 2013-03-06  Andreas Jaeger  <aj@suse.de>
4113         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4114         definition via __MAP_ANONYMOUS.
4116         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4117         it's not part of Linux headers.
4119         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4120         (MAP_HUGE_MASK): Define.
4122         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4123         Define.
4124         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4125         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4126         Define.
4127         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4128         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4129         Define.
4130         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4131         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4132         Define.
4133         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4135         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4136         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4137         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4138         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4139         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4140         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4142         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4143         Handle f2fs.
4145         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4146         Handle f2fs and efivarfs.
4148         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4149         f2fs.
4151         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4152         (EFIVARFS_MAGIC): Add.
4153         (F2FS_LINK_MAX): Add.
4155 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4157         * stdio-common/vfprintf.c: Replace __builtin_expect with
4158         __glibc_unlikely.
4160 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
4162         [BZ #13550]
4163         * sysdeps/generic/bp-sym.h: Remove file.
4164         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4165         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4166         <bp-sym.h> and <bp-asm.h>.
4167         (__longjmp): Don't use BP_SYM.
4168         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4169         and <bp-asm.h>.
4170         (memcpy): Don't use BP_SYM.
4171         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4172         <bp-sym.h> and <bp-asm.h>.
4173         (memcpy): Don't use BP_SYM.
4174         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4175         <bp-asm.h>.
4176         (memcpy): Don't use BP_SYM.
4177         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4178         <bp-asm.h>.
4179         (memset): Don't use BP_SYM.
4180         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4181         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4182         (__bzero): Don't use BP_SYM.
4183         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4184         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4185         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4186         <bp-sym.h> and <bp-asm.h>.
4187         (memcmp): Don't use BP_SYM.  Remove comment about bounded
4188         pointers.
4189         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4190         <bp-sym.h> and <bp-asm.h>.
4191         (memcpy): Don't use BP_SYM.
4192         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4193         <bp-sym.h> and <bp-asm.h>.
4194         (memset): Don't use BP_SYM.
4195         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4196         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4197         (__bzero): Don't use BP_SYM.
4198         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4199         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4200         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4201         <bp-sym.h> and <bp-asm.h>.
4202         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4203         pointers.
4204         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4205         <bp-sym.h> and <bp-asm.h>.
4206         (memcpy): Don't use BP_SYM.
4207         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4208         <bp-sym.h> and <bp-asm.h>.
4209         (memset): Don't use BP_SYM.
4210         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4211         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4212         (__bzero): Don't use BP_SYM.
4213         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4214         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4215         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4216         <bp-sym.h> and <bp-asm.h>.
4217         (__memchr): Don't use BP_SYM.
4218         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4219         <bp-sym.h> and <bp-asm.h>.
4220         (memcmp): Don't use BP_SYM.  Remove comment about bounded
4221         pointers.
4222         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4223         <bp-sym.h> and <bp-asm.h>.
4224         (memcpy): Don't use BP_SYM.
4225         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4226         <bp-sym.h> and <bp-asm.h>.
4227         (__mempcpy): Don't use BP_SYM.
4228         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4229         <bp-sym.h> and <bp-asm.h>.
4230         (__memrchr): Don't use BP_SYM.
4231         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4232         <bp-sym.h> and <bp-asm.h>.
4233         (memset): Don't use BP_SYM.
4234         (__bzero): Likewise.
4235         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4236         <bp-sym.h> and <bp-asm.h>.
4237         (__rawmemchr): Don't use BP_SYM.
4238         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4239         <bp-sym.h> and <bp-asm.h>.
4240         (__STRCMP): Don't use BP_SYM.
4241         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4242         <bp-sym.h> and <bp-asm.h>.
4243         (strchr): Don't use BP_SYM.
4244         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4245         <bp-sym.h> and <bp-asm.h>.
4246         (__strchrnul): Don't use BP_SYM.
4247         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4248         <bp-sym.h> and <bp-asm.h>.
4249         (strlen): Don't use BP_SYM.
4250         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4251         <bp-sym.h> and <bp-asm.h>.
4252         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4253         pointers.
4254         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4255         <bp-sym.h> and <bp-asm.h>.
4256         (__strnlen): Don't use BP_SYM.
4257         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4258         <bp-sym.h> and <bp-asm.h>.
4259         (__GI__setjmp): Don't use BP_SYM.
4260         (_setjmp): Likewise.
4261         (__sigsetjmp): Likewise.
4262         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4263         (L(start_addresses)): Don't use BP_SYM.
4264         (_start): Likewise.
4265         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4266         <bp-asm.h>.
4267         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4268         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4269         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4270         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4271         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4272         <bp-asm.h>.
4273         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4274         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
4275         about bounded pointers.
4276         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4277         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4278         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4279         <bp-asm.h>.
4280         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4281         about bounded pointers.  Remove GKM FIXME comments.
4282         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4283         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4284         <bp-asm.h>.
4285         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4286         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
4287         Remove GKM FIXME comments.
4288         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4289         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4290         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4291         <bp-asm.h>.
4292         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4293         about bounded pointers.  Remove GKM FIXME comment.
4294         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4295         and <bp-asm.h>.
4296         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4297         pointers.
4298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4299         <bp-sym.h> and <bp-asm.h>.
4300         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4302         <bp-sym.h> and <bp-asm.h>.
4303         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4304         comment.
4306 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4308         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4309         call free(NULL).
4311 2013-03-05  David S. Miller  <davem@davemloft.net>
4313         * po/es.po: Update from translation team.
4315 2013-03-05  Andreas Jaeger  <aj@suse.de>
4317         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4318         <bits/mman-linux.h>.
4319         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4320         is fine.
4321         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4322         <bits/mman-linux.h> to end of file.
4323         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4324         is fine.
4325         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4326         <bits/mman-linux.h> to end of file.
4327         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4328         is fine.
4329         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4330         <bits/mman-linux.h> to end of file.
4332         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4333         (MCL_CURRENT, MCL_FUTURE): Define here.
4335 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4337         [BZ #15232]
4338         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4339         attribute_hidden.
4340         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4342 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4344         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4345         fourth parameter needed for rt_sigprocmask syscall.
4346         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4347         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4348         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4349         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4350         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4351         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4353 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
4355         [BZ #13550]
4356         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4357         comment about bounded pointers.
4358         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4359         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4361 2013-03-04  Andreas Jaeger  <aj@suse.de>
4363         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4364         common definitions.
4366         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4367         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4368         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4369         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4370         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4371         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4373 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4375         [BZ #15055]
4376         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4377         __ieee754_sqrl instead of __sqrl.
4379 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
4381         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4382         * sysdeps/powerpc/fpu_control.h: ... here.
4383         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4384         * sysdeps/powerpc/bits/fenvinline.h: ... here.
4385         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4386         * sysdeps/powerpc/bits/mathinline.h: ... here.
4388 2013-03-01  Roland McGrath  <roland@hack.frob.com>
4390         * elf/dl-hwcaps.c (_dl_important_hwcaps):
4391         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4392         to just [NEED_DL_SYSINFO_DSO].
4393         * elf/dl-support.c: Likewise.
4394         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4395         * elf/rtld.c (dl_main): Likewise.
4396         * elf/setup-vdso.h (setup_vdso): Likewise.
4397         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4398         * sysdeps/unix/sysv/linux/dl-sysdep.c
4399         (_dl_discover_osversion): Likewise.
4401 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
4403         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4404         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4406 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4408         * NEWS: Mention libm performance improvements and non-x86 PI
4409         futex support.
4411         * csu/libc-start.c (__pthread_initialize_minimal): Change
4412         function arguments.
4413         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4415 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
4417         [BZ #13550]
4418         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4419         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4420         <bp-sym.h> and <bp-asm.h>.
4421         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4422         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4423         and <bp-asm.h>.
4424         (memcpy): Don't use BP_SYM.
4425         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4426         <bp-asm.h>.
4427         (__mpn_add_n): Don't use BP_SYM.
4428         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4429         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4430         and <bp-asm.h>.
4431         (__mpn_addmul_1): Don't use BP_SYM.
4432         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4433         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4434         <bp-sym.h>.
4435         (_setjmp): Don't use BP_SYM.
4436         (__novmx_setjmp): Likewise.
4437         (__GI__setjmp): Likewise.
4438         (__vmx_setjmp): Likewise.
4439         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4440         <bp-sym.h>.
4441         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4442         (__bzero): Don't use BP_SYM.
4443         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4444         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4445         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4446         <bp-sym.h> and <bp-asm.h>.
4447         (memcpy): Don't use BP_SYM.
4448         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4449         <bp-sym.h> and <bp-asm.h>.
4450         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4451         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4452         <bp-sym.h> and <bp-asm.h>.
4453         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4454         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4455         <bp-asm.h>.
4456         (__mpn_lshift): Don't use BP_SYM.
4457         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4458         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4459         <bp-asm.h>.
4460         (memset): Don't use BP_SYM.
4461         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4462         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4463         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4464         <bp-asm.h>.
4465         (__mpn_mul_1): Don't use BP_SYM.
4466         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4467         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4468         <bp-sym.h> and <bp-asm.h>.
4469         (memcmp): Don't use BP_SYM.
4470         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4471         <bp-sym.h> and <bp-asm.h>.
4472         (memcpy): Don't use BP_SYM.
4473         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4474         <bp-sym.h> and <bp-asm.h>.
4475         (memset): Don't use BP_SYM.
4476         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4477         <bp-sym.h> and <bp-asm.h>.
4478         (strncmp): Don't use BP_SYM.
4479         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4480         <bp-sym.h> and <bp-asm.h>.
4481         (memcpy): Don't use BP_SYM.
4482         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4483         <bp-sym.h> and <bp-asm.h>.
4484         (memset): Don't use BP_SYM.
4485         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4486         <bp-sym.h> and <bp-asm.h>.
4487         (__memchr): Don't use BP_SYM.
4488         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4489         <bp-sym.h> and <bp-asm.h>.
4490         (memcmp): Don't use BP_SYM.
4491         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4492         <bp-sym.h> and <bp-asm.h>.
4493         (memcpy): Don't use BP_SYM.
4494         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4495         <bp-sym.h> and <bp-asm.h>.
4496         (__mempcpy): Don't use BP_SYM.
4497         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4498         <bp-sym.h> and <bp-asm.h>.
4499         (__memrchr): Don't use BP_SYM.
4500         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4501         <bp-sym.h> and <bp-asm.h>.
4502         (memset): Don't use BP_SYM.
4503         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4504         <bp-sym.h> and <bp-asm.h>.
4505         (__rawmemchr): Don't use BP_SYM.
4506         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4507         <bp-sym.h> and <bp-asm.h>.
4508         (__STRCMP): Don't use BP_SYM.
4509         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4510         <bp-sym.h> and <bp-asm.h>.
4511         (strchr): Don't use BP_SYM.
4512         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4513         <bp-sym.h> and <bp-asm.h>.
4514         (__strchrnul): Don't use BP_SYM.
4515         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4516         <bp-sym.h> and <bp-asm.h>.
4517         (strlen): Don't use BP_SYM.
4518         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4519         <bp-sym.h> and <bp-asm.h>.
4520         (strncmp): Don't use BP_SYM.
4521         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4522         <bp-sym.h> and <bp-asm.h>.
4523         (__strnlen): Don't use BP_SYM.
4524         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4525         <bp-asm.h>.
4526         (__mpn_rshift): Don't use BP_SYM.
4527         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4528         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4529         <bp-sym.h> and <bp-asm.h>.
4530         (__sigsetjmp): Don't use BP_SYM.
4531         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4532         (L(start_addresses)): Don't use BP_SYM.
4533         (_start): Likewise.
4534         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4535         <bp-asm.h>.
4536         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4537         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4538         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4539         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4540         <bp-asm.h>.
4541         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4542         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4543         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4544         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4545         <bp-asm.h>.
4546         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
4547         comments.
4548         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4549         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4550         <bp-asm.h>.
4551         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
4552         FIXME comments.
4553         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4554         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4555         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4556         <bp-asm.h>.
4557         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
4558         comment.
4559         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4560         and <bp-asm.h>.
4561         (strncmp): Don't use BP_SYM,
4562         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4563         <bp-asm.h>.
4564         (__mpn_sub_n): Don't use BP_SYM.
4565         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4566         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4567         and <bp-asm.h>.
4568         (__mpn_submul_1): Don't use BP_SYM.
4569         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4571         <bp-sym.h> and <bp-asm.h>.
4572         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4574         <bp-sym.h> and <bp-asm.h>.
4575         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4576         comment.
4578 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4581         Use ZK to minimize writes to Z.
4582         (sub_magnitudes): Simplify code a bit.
4583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4584         Use ZK to minimize writes to Z.
4585         (sub_magnitudes): Simplify code a bit.
4587 2013-02-27  Roland McGrath  <roland@hack.frob.com>
4589         * csu/gmon-start.c: Add special exception to license text.
4591 2013-02-27  Richard Henderson  <rth@redhat.com>
4593         * scripts/config.guess: Update from config.git.
4594         * scripts/config.sub: Likewise.
4596 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4598         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4600         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4602         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4604         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4606         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4608 2013-02-26  Roland McGrath  <roland@hack.frob.com>
4610         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4611         [$(build-shared = yes].
4613 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4615         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4616         (__mul): Reduce iterations for calculating mantissa.
4618         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4619         MPTWO.
4620         (__mpranred): Likewise.
4622         [BZ #15160]
4623         * malloc/memusagestat.c (main): Draw graphs for heap and stack
4624         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4626 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
4628         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4629         Define __attribute__.
4631 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4633         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4634         unused.
4635         * posix/regex_internal.h (__attribute): Remove.
4636         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4637         (re_string_context_at): Likewise.
4638         (bitset_not): Use __attribute__ and mark function as possibly
4639         unused.
4640         (bitset_merge): Likewise.
4641         (bitset_mask): Likewise.
4642         (re_string_char_size_at): Likewise.
4643         (re_string_wchar_at): Likewise.
4644         (re_string_elem_size_at): Likewise.
4646 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4648         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4649         code.
4650         (cc32): Likewise.
4652         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4653         (__acr): Likewise.
4654         (__cpy): Likewise.
4655         (norm): Likewise.
4656         (denorm): Likewise.
4657         (__dbl_mp): Likewise.
4658         (add_magnitudes): Likewise.
4659         (sub_magnitudes): Likewise.
4660         (__mul): Likewise.
4661         (__inv): Likewise.
4663         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4664         style.
4666         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4667         style.
4669         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4670         code.
4672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4673         up changes with default code.
4674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4675         Likewise.
4677 2013-02-24  Allan McRae  <allan@archlinux.org>
4679         * manual/socket.texi (The Internet Namespace): Order menu items
4680         to match that in the file.
4682         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4683         node listing of the info page menu.
4685 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
4687         [BZ #13550]
4688         * sysdeps/i386/bp-asm.h: Remove file.
4689         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4690         (PARMS): Do not use macros from bp-asm.h.
4691         (S1): Likewise.
4692         (S2): Likewise.
4693         (SIZE): Likewise.
4694         (__mpn_add_n): Do not use BP_SYM
4695         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4696         "bp-asm.h".
4697         (PARMS): Do not use macros from bp-asm.h.
4698         (S1): Likewise.
4699         (SIZE): Likewise.
4700         (__mpn_addmul_1): Do not use BP_SYM
4701         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4702         "bp-asm.h".
4703         (PARMS): Do not use macros from bp-asm.h.
4704         (SIGMSK): Likewise.
4705         (_setjmp): Likewise.  Do not use BP_SYM.
4706         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4707         "bp-asm.h".
4708         (PARMS): Do not use macros from bp-asm.h.
4709         (SIGMSK): Likewise.
4710         (setjmp): Likewise.  Do not use BP_SYM.
4711         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4712         "bp-asm.h".
4713         (PARMS): Do not use macros from bp-asm.h.
4714         (__frexp): Do not use BP_SYM.
4715         (frexp): Likewise.
4716         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4717         "bp-asm.h".
4718         (PARMS): Do not use macros from bp-asm.h.
4719         (__frexpf): Do not use BP_SYM.
4720         (frexpf): Likewise.
4721         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4722         "bp-asm.h".
4723         (PARMS): Do not use macros from bp-asm.h.
4724         (__frexpl): Do not use BP_SYM.
4725         (frexpl): Likewise.
4726         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4727         "bp-asm.h".
4728         (PARMS): Do not use macros from bp-asm.h.
4729         (__remquo): Do not use BP_SYM.
4730         (remquo): Likewise.
4731         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4732         "bp-asm.h".
4733         (PARMS): Do not use macros from bp-asm.h.
4734         (__remquof): Do not use BP_SYM.
4735         (remquof): Likewise.
4736         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4737         "bp-asm.h".
4738         (PARMS): Do not use macros from bp-asm.h.
4739         (__remquol): Do not use BP_SYM.
4740         (remquol): Likewise.
4741         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4742         "bp-asm.h".
4743         (PARMS): Do not use macros from bp-asm.h.
4744         (DEST): Likewise.
4745         (SRC): Likewise.
4746         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
4747         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4748         "bp-asm.h".
4749         (PARMS): Do not use macros from bp-asm.h.
4750         (strlen): Do not use BP_SYM.
4751         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4752         "bp-asm.h".
4753         (PARMS): Do not use macros from bp-asm.h.
4754         (S1): Likewise.
4755         (S2): Likewise.
4756         (SIZE): Likewise.
4757         (__mpn_add_n): Do not use BP_SYM.
4758         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4759         "bp-asm.h".
4760         (PARMS): Do not use macros from bp-asm.h.
4761         (S1): Likewise.
4762         (SIZE): Likewise.
4763         (__mpn_addmul_1): Do not use BP_SYM.
4764         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4765         weak_alias.
4766         (bzero): Likewise.
4767         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4768         "bp-asm.h".
4769         (PARMS): Do not use macros from bp-asm.h.
4770         (S): Likewise.
4771         (SIZE): Likewise.
4772         (__mpn_lshift): Do not use BP_SYM.
4773         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4774         "bp-asm.h".
4775         (PARMS): Do not use macros from bp-asm.h.
4776         (DEST): Likewise.
4777         (SRC): Likewise.
4778         (LEN): Likewise.
4779         (memcpy): Likewise.  Do not use BP_SYM.
4780         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4781         libc_hidden_def and weak_alias.
4782         (mempcpy): Do not use BP_SYM in weak_alias.
4783         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4784         "bp-asm.h".
4785         (PARMS): Do not use macros from bp-asm.h.
4786         (DEST): Likewise.
4787         (LEN): Likewise.
4788         [!BZERO_P] (CHR): Likewise.
4789         (memset): Likewise.  Do not use BP_SYM.
4790         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4791         "bp-asm.h".
4792         (PARMS): Do not use macros from bp-asm.h.
4793         (S1): Likewise.
4794         (SIZE): Likewise.
4795         (__mpn_mul_1): Do not use BP_SYM.
4796         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4797         "bp-asm.h".
4798         (PARMS): Do not use macros from bp-asm.h.
4799         (S): Likewise.
4800         (SIZE): Likewise.
4801         (__mpn_rshift): Do not use BP_SYM.
4802         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4803         "bp-asm.h".
4804         (PARMS): Do not use macros from bp-asm.h.
4805         (STR): Likewise.
4806         (CHR): Likewise.
4807         (strchr): Likewise.  Do not use BP_SYM.
4808         (index): Do not use BP_SYM in weak_alias.
4809         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4810         "bp-asm.h".
4811         (PARMS): Do not use macros from bp-asm.h.
4812         (DEST): Likewise.
4813         (SRC): Likewise.
4814         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
4815         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4816         "bp-asm.h".
4817         (PARMS): Do not use macros from bp-asm.h.
4818         (strlen): Do not use BP_SYM.
4819         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4820         "bp-asm.h".
4821         (PARMS): Do not use macros from bp-asm.h.
4822         (S1): Likewise.
4823         (S2): Likewise.
4824         (SIZE): Likewise.
4825         (__mpn_sub_n): Do not use BP_SYM.
4826         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4827         "bp-asm.h".
4828         (PARMS): Do not use macros from bp-asm.h.
4829         (S1): Likewise.
4830         (SIZE): Likewise.
4831         (__mpn_submul_1): Do not use BP_SYM.
4832         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4833         "bp-asm.h".
4834         (PARMS): Do not use macros from bp-asm.h.
4835         (S1): Likewise.
4836         (S2): Likewise.
4837         (SIZE): Likewise.
4838         (__mpn_add_n): Do not use BP_SYM.
4839         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4840         weak_alias.
4841         (bzero): Likewise.
4842         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4843         "bp-asm.h".
4844         (PARMS): Do not use macros from bp-asm.h.
4845         (BLK2): Likewise.
4846         (LEN): Likewise.
4847         (memcmp): Do not use BP_SYM.
4848         (bcmp): Do not use BP_SYM in weak_alias.
4849         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4850         "bp-asm.h".
4851         (PARMS): Do not use macros from bp-asm.h.
4852         (DEST): Likewise.
4853         (SRC): Likewise.
4854         (LEN): Likewise.
4855         (memcpy): Likewise.  Do not use BP_SYM.
4856         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4857         "bp-asm.h".
4858         (PARMS): Do not use macros from bp-asm.h.
4859         (DEST): Likewise.
4860         (SRC): Likewise.
4861         (LEN): Likewise.
4862         (memmove): Likewise.  Do not use BP_SYM.
4863         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4864         "bp-asm.h".
4865         (PARMS): Do not use macros from bp-asm.h.
4866         (DEST): Likewise.
4867         (SRC): Likewise.
4868         (LEN): Likewise.
4869         (__mempcpy): Likewise.  Do not use BP_SYM.
4870         (mempcpy): Do not use BP_SYM in weak_alias.
4871         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4872         "bp-asm.h".
4873         (PARMS): Do not use macros from bp-asm.h.
4874         (DEST): Likewise.
4875         (LEN): Likewise.
4876         [!BZERO_P] (CHR): Likewise.
4877         (memset): Likewise.  Do not use BP_SYM.
4878         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4879         "bp-asm.h".
4880         (PARMS): Do not use macros from bp-asm.h.
4881         (STR2): Likewise.
4882         (strcmp): Do not use BP_SYM.
4883         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4884         "bp-asm.h".
4885         (PARMS): Do not use macros from bp-asm.h.
4886         (STR): Likewise.
4887         (DELIM): Likewise.
4888         [USE_AS_STRTOK_R] (SAVE): Likewise.
4889         (FUNCTION): Likewise.  Do not use BP_SYM.
4890         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4891         aliases.
4892         (strtok_r): Likewise.
4893         (__GI___strtok_r): Likewise.
4894         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4895         (PARMS): Do not use macros from bp-asm.h.
4896         (S): Likewise.
4897         (SIZE): Likewise.
4898         (__mpn_lshift): Do not use BP_SYM.
4899         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4900         (PARMS): Do not use macros from bp-asm.h.
4901         (STR): Likewise.
4902         (CHR): Likewise.
4903         (__memchr): Do not use BP_SYM.
4904         (memchr): Do not use BP_SYM in weak_alias.
4905         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4906         (PARMS): Do not use macros from bp-asm.h.
4907         (BLK2): Likewise.
4908         (LEN): Likewise.
4909         (memcmp): Do not use BP_SYM.
4910         (bcmp): Do not use BP_SYM in weak_alias.
4911         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4912         (PARMS): Do not use macros from bp-asm.h.
4913         (S1): Likewise.
4914         (SIZE): Likewise.
4915         (__mpn_mul_1): Do not use BP_SYM.
4916         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4917         "bp-asm.h".
4918         (PARMS): Do not use macros from bp-asm.h.
4919         (STR): Likewise.
4920         (CHR): Likewise.
4921         (__rawmemchr): Do not use BP_SYM.
4922         (rawmemchr): Do not use BP_SYM in weak_alias.
4923         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4924         (PARMS): Do not use macros from bp-asm.h.
4925         (S): Likewise.
4926         (SIZE): Likewise.
4927         (__mpn_rshift): Do not use BP_SYM.
4928         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4929         (PARMS): Do not use macros from bp-asm.h.
4930         (SIGMSK): Likewise.
4931         (__sigsetjmp): Likewise.  Do not use BP_SYM.
4932         * sysdeps/i386/start.S: Do not include "bp-sym.h".
4933         (_start): Do not use BP_SYM.
4934         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4935         (PARMS): Do not use macros from bp-asm.h.
4936         (DEST): Likewise.
4937         (SRC): Likewise.
4938         (__stpcpy): Likewise.  Do not use BP_SYM.
4939         (stpcpy): Do not use BP_SYM in weak_alias.
4940         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4941         "bp-asm.h".
4942         (PARMS): Do not use macros from bp-asm.h.
4943         (DEST): Likewise.
4944         (SRC): Likewise.
4945         (LEN): Likewise.
4946         (__stpncpy): Likewise.  Do not use BP_SYM.
4947         (stpncpy): Do not use BP_SYM in weak_alias.
4948         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4949         (PARMS): Do not use macros from bp-asm.h.
4950         (STR): Likewise.
4951         (CHR): Likewise.
4952         (strchr): Likewise.  Do not use BP_SYM.
4953         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4954         "bp-asm.h".
4955         (PARMS): Do not use macros from bp-asm.h.
4956         (STR): Likewise.
4957         (CHR): Likewise.
4958         (__strchrnul): Likewise.  Do not use BP_SYM.
4959         (strchrnul): Do not use BP_SYM in weak_alias.
4960         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4961         "bp-asm.h".
4962         (PARMS): Do not use macros from bp-asm.h.
4963         (STOP): Likewise.
4964         (strcspn): Do not use BP_SYM.
4965         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4966         "bp-asm.h".
4967         (PARMS): Do not use macros from bp-asm.h.
4968         (STR): Likewise.
4969         (STOP): Likewise.
4970         (strpbrk): Likewise.  Do not use BP_SYM.
4971         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4972         "bp-asm.h".
4973         (PARMS): Do not use macros from bp-asm.h.
4974         (STR): Likewise.
4975         (CHR): Likewise.
4976         (strrchr): Likewise.  Do not use BP_SYM.
4977         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4978         (PARMS): Do not use macros from bp-asm.h.
4979         (SKIP): Likewise.
4980         (strspn): Do not use BP_SYM.
4981         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4982         (PARMS): Do not use macros from bp-asm.h.
4983         (STR): Likewise.
4984         (DELIM): Likewise.
4985         (SAVE): Likewise.
4986         (FUNCTION): Likewise.  Do not use BP_SYM.
4987         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4988         aliases.
4989         (strtok_r): Likewise.
4990         (__GI___strtok_r): Likewise.
4991         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4992         (PARMS): Do not use macros from bp-asm.h.
4993         (S1): Likewise.
4994         (S2): Likewise.
4995         (SIZE): Likewise.
4996         (__mpn_sub_n): Do not use BP_SYM.
4997         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4998         "bp-asm.h".
4999         (PARMS): Do not use macros from bp-asm.h.
5000         (S1): Likewise.
5001         (SIZE): Likewise.
5002         (__mpn_submul_1): Do not use BP_SYM.
5003         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5004         <bp-sym.h>.
5005         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5006         and <bp-asm.h>.
5007         (PARMS): Do not use macros from bp-asm.h.
5008         (FLAGS): Likewise.
5009         (PTID): Likewise.
5010         (TLS): Likewise.
5011         (CTID): Likewise.
5012         (__clone): Do not use BP_SYM.
5013         (clone): Do not use BP_SYM in weak_alias.
5014         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5015         and <bp-asm.h>.
5016         (PARMS): Do not use macros from bp-asm.h.
5017         (LEN): Likewise.
5018         (__mmap64): Do not use BP_SYM.
5019         (mmap64): Do not use BP_SYM in weak_alias.
5020         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5021         <bp-sym.h> and <bp-asm.h>.
5022         (PARMS): Do not use macros from bp-asm.h.
5023         (__posix_fadvise64_l64): Do not use BP_SYM.
5024         * sysdeps/unix/sysv/linux/i386/semtimedop.S
5025         (PARMS): Do not use macros from bp-asm.h.
5026         (NSOPS): Likewise.
5027         (semtimedop): Do not use BP_SYM.
5028         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5029         and <bp-asm.h>.
5031 2013-02-21  Allan McRae  <allan@archlinux.org>
5033         * manual/message.texi (Charset conversion in gettext):
5034         Move @end statement to beginning of line.
5036 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5039         static.
5040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5041         Likewise.
5043         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5044         (denorm): Likewise.
5045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5048 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5050         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5051         tail-call to the resolved function if pltexit isn't needed.
5053 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5056         or Y being zero as being unlikely.
5057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5058         Likewise.
5060 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
5062         * manual/nss.texi (System Databases and Name Service Switch):
5063         Remove frobnicate @pxref.
5065 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
5067         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5068         __attribute__ ((unused)) to __attribute__ ((__unused__)).
5070 2013-02-20  Petr Machata  <pmachata@redhat.com>
5072         * elf/elf.h (R_ARM_TARGET1): New macro.
5073         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5074         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5075         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5076         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5077         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5078         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5079         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5080         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5081         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5082         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5083         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5084         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5085         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5086         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5087         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5088         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5089         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5090         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5091         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5092         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5093         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5094         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5095         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5096         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5097         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5098         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5099         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5100         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5101         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5102         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5103         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5104         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5105         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5106         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5107         (R_ARM_THM_GOT_BREL12): Likewise.
5108         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5109         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5110         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5111         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5112         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5113         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5114         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5115         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5116         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5118 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
5120         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5121         __attribute_used__ to __attribute__ ((unused)).
5123 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5125         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5126         powerpc mpa.c.
5127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5128         comment formatting.
5129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5131 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
5133         [BZ #13550]
5134         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5135         Remove macro.
5136         (ENTER): Remove both macro definitions.
5137         (LEAVE): Likewise.
5138         (CHECK_BOUNDS_LOW): Likewise.
5139         (CHECK_BOUNDS_HIGH): Likewise.
5140         (CHECK_BOUNDS_BOTH): Likewise.
5141         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5142         (RETURN_BOUNDED_POINTER): Likewise.
5143         (RETURN_NULL_BOUNDED_POINTER): Likewise.
5144         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5145         (POP_ERRNO_LOCATION_RETURN): Likewise.
5146         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5147         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5148         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5149         macros.
5150         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5151         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5152         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5153         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5154         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5155         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5156         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5157         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5158         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5159         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5160         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5161         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5162         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5163         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5164         removed macros.
5165         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5166         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5167         macros.
5168         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5169         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5170         * sysdeps/i386/i586/memset.S (memset): Likewise.
5171         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5172         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5173         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5174         macros.
5175         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5176         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5177         Change uses of L(2) to L(out).
5178         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5179         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5180         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5181         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5182         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5183         removed macros.
5184         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5185         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5186         macros.
5187         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5188         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5189         (RETURN): Do not use macro LEAVE.
5190         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5191         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5192         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5193         * sysdeps/i386/i686/memset.S (memset): Likewise.
5194         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5195         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5196         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5197         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5198         Likewise.
5199         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5200         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
5201         L(1_2) and L(1_3) into L(1).
5202         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5203         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5204         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5205         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5206         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5207         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5208         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5209         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5210         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5211         macros.
5212         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5213         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5214         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5215         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5216         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5217         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5218         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5219         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5220         * sysdeps/i386/strcspn.S (strcspn): Likewise.
5221         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5222         * sysdeps/i386/strrchr.S (strrchr): Likewise.
5223         * sysdeps/i386/strspn.S (strspn): Likewise.
5224         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5225         conditional code.
5226         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5227         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5228         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5229         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
5230         L(1_3) into L(1_1).
5231         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5232         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5233         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5234         macros.
5235         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5237 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
5239         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5240         macro.
5242 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5244         * math/atest-exp.c (exp_mpn): Remove ROUND.
5245         * math/atest-exp2.c (exp_mpn): Likewise.
5246         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5248         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5249         * stdlib/tst-tls-atexit-lib.c: Likewise.
5250         * stdlib/tst-tls-atexit.c: Likewise.
5252 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5254         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5255         and __attribute_alloc_size__.
5257 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5259         * include/programs/xmalloc.h: Change __attribute_alloc_size to
5260         __attribute_alloc_size__.
5261         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5262         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5264 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5266         * include/programs/xmalloc.h: New file.
5267         * catgets/gencat.c: Include it.
5268         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5269         * elf/pldd.c: Likewise.
5270         * iconv/iconv_charmap.c: Likewise.
5271         * iconv/iconvconfig.c: Likewise.
5272         * iconv/strtab.c: Likewise.
5273         * locale/programs/locale.c: Likewise.
5274         * locale/programs/localedef.h: Likewise.
5275         * locale/programs/simple-hash.c: Likewise.
5276         * nscd/nscd.h: Likewise.
5277         * nss/makedb.c: Likewise.
5278         * sysdeps/generic/ldconfig.h: Likewise.
5280 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5282         * Versions.def: Add GLIBC_2.18.
5283         * include/link.h (struct link_map): New member l_tls_dtor_count.
5284         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5285         (__call_tls_dtors): Likewise.
5286         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5287         __cxa_thread_atexit_impl.
5288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5289         Likewise.
5290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5291         Likewise.
5292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5293         Likewise.
5294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5295         Likewise.
5296         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5298         Likewise.
5299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5300         Likewise.
5301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5303         Likewise.
5304         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5305         (tests): Add test case tst-tls-atexit.
5306         (modules-names): Add shared library for tst-tls-atexit.
5307         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5308         (GLIBC_PRIVATE): Add __call_tls_dtors.
5309         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5310         for libstdc++.
5311         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5312         * stdlib/tst-tls-atexit.c: New test case.
5313         * stdlib/tst-tls-atexit-lib.c: New test case.
5315         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5317         * elf/Versions (ld): Add _dl_find_dso_for_object.
5318         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5319         * elf/dl-open.c (_dl_find_dso_for_object): New function.
5320         (dl_open_worker): Use _dl_find_dso_for_object.
5321         * elf/dl-sym.c (do_sym): Likewise.
5322         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5324 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5326         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5327         Syntactic changes only.
5328         (_dl_runtime_profile): Do a tail-call to the resolved function.
5330 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
5332         [BZ #13550]
5333         * sysdeps/x86_64/bp-asm.h: Remove file.
5334         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5335         <bp-sym.h> and <bp-asm.h>.
5336         (__clone): Do not use BP_SYM.
5337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5338         <bp-sym.h> and <bp-asm.h>.
5339         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5340         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5341         "bp-asm.h".
5342         (_setjmp): Do not use BP_SYM.
5343         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5344         "bp-asm.h".
5345         (setjmp): Do not use BP_SYM.
5346         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5347         libc_hidden_def.
5348         (mempcpy): Do not use BP_SYM in weak_alias.
5349         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5350         "bp-asm.h".
5351         (strchr): Do not use BP_SYM.
5352         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5353         "bp-asm.h".
5354         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5355         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5356         (_start): Do not use BP_SYM.
5357         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5358         "bp-asm.h".
5359         (strcat): Do not use BP_SYM.
5360         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5361         "bp-asm.h".
5362         (STRCMP): Do not use BP_SYM.
5363         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5364         "bp-asm.h".
5365         (STRCPY): Do not use BP_SYM.
5366         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5367         "bp-asm.h".
5368         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5369         "bp-asm.h".
5370         (FUNCTION): Do not use BP_SYM.
5371         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5372         weak_alias.
5373         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5375 2013-02-17  Andreas Jaeger  <aj@suse.de>
5377         * time/Versions: Sort entries.
5378         * string/Versions: Likewise.
5379         * resolv/Versions: Likewise.
5380         * posix/Versions: Likewise.
5381         * iconv/Versions: Likewise.
5382         * elf/Versions: Likewise.
5383         * wcsmbs/Versions: Likewise.
5385 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5387         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5388         loop termination condition.
5390         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5391         variable to calculate EZ.
5392         (__sqr): Likewise.
5394         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5395         the lower precision input.
5397 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
5399         [BZ #13550]
5400         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5401         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5402         (run-via-rtld-prefix): Do not handle %-bp tests.
5403         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5404         (all-object-suffixes): Remove .ob.
5405         (bppfx): Remove variable.
5406         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5407         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5408         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5409         [$(build-bounded) = yes] (libtype.ob): Likewise.
5410         * Makerules (elide-routines.ob): Remove variable.
5411         (do-tests-clean): Do not handle *-bp.out.
5412         (common-mostlyclean): Do not handle *-bp and *-bp.out.
5413         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5414         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5415         (tests): Do not include $(tests-bp.out).
5416         (xtests): Do not include $(xtests-bp.out).
5417         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5418         [$(build-bounded) = yes] ($(addprefix
5419         $(objpfx),$(binaries-bounded))): Remove rule.
5420         ($(objpfx)%-bp.out): Remove rule.
5421         * config.make.in (build-bounded): Remove variable.
5422         * crypt/Makefile [$(build-bounded) = yes]
5423         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5424         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5425         append to variable.
5426         [$(build-bounded) = yes] (install-lib): Likewise.
5427         [$(build-bounded) = yes] (generated): Likewise.
5428         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5429         Remove rule.
5430         * intl/Makefile [$(build-bounded) = yes]
5431         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5432         * math/Makefile [$(build-bounded) = yes]
5433         ($(tests:%=$(objpfx)%-bp): Likewise.
5434         * misc/Makefile [$(build-bounded) = yes]
5435         ($(objpfx)tst-tsearch-bp): Likewise.
5436         * nptl/Makeconfig (bounded-thread-library): Remove variable.
5437         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5438         Remove dependency.
5439         * string/Makefile (o-objects.ob): Remove variable.
5440         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5441         (CFLAGS-.ob): Remove variable.
5442         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5443         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5444         both definitions of variable.
5445         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5446         (ASFLAGS-.ob): Remove variable.
5448 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
5450         [BZ #13550]
5451         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5452         Remove __BOUNDED_POINTERS__ from condition.
5453         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5454         * string/bits/string2.h [!__NO_STRING_INLINES &&
5455         !__BOUNDED_POINTERS__]: Likewise.
5456         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5457         Likewise.
5458         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5459         Remove conditional code.
5460         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5461         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5462         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5463         condition.
5465         [BZ #13550]
5466         * csu/libc-start.c: Do not include <bp-sym.h>.
5467         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5468         * elf/dl-open.c: Do not include <bp-sym.h>.
5469         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5470         * math/fegetenv.c: Do not include <bp-sym.h>.
5471         (fegetenv): Do not use BP_SYM in versioned symbols.
5472         * nptl/sysdeps/pthread/bits/libc-lockP.h
5473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5474         <bp-sym.h>.
5475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5476         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5478         (__pthread_mutex_destroy): Likewise.
5479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5480         (__pthread_mutex_lock): Likewise.
5481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5482         (__pthread_mutex_trylock): Likewise.
5483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5484         (__pthread_mutex_unlock): Likewise.
5485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5486         (__pthread_mutexattr_init): Likewise.
5487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5488         (__pthread_mutexattr_destroy): Likewise.
5489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5490         (__pthread_mutexattr_settype): Likewise.
5491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5492         (__pthread_rwlock_init): Likewise.
5493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5494         (__pthread_rwlock_destroy): Likewise.
5495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5496         (__pthread_rwlock_rdlock): Likewise.
5497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5498         (__pthread_rwlock_tryrdlock): Likewise.
5499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5500         (__pthread_rwlock_wrlock): Likewise.
5501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5502         (__pthread_rwlock_trywrlock): Likewise.
5503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5504         (__pthread_rwlock_unlock): Likewise.
5505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5506         (__pthread_key_create): Likewise.
5507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5508         (__pthread_setspecific): Likewise.
5509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5510         (__pthread_getspecific): Likewise.
5511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5512         Likewise.
5513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5514         (_pthread_cleanup_push_defer): Likewise.
5515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5516         (_pthread_cleanup_pop_restore): Likewise.
5517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5518         (pthread_setcancelstate): Likewise.
5519         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5520         <bp-sym.h>.
5521         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5522         (memchr): Do not use BP_SYM in weak_alias.
5523         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5524         (fegetenv): Do not use BP_SYM in versioned symbols.
5525         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5526         (fesetenv): Do not use BP_SYM in versioned symbols.
5527         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5528         (feupdateenv): Do not use BP_SYM in versioned symbols.
5529         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5530         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5531         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5532         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5533         (open64): Do not use BP_SYM in weak_alias.
5534         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5535         (fegetenv): Do not use BP_SYM in versioned symbols.
5536         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5537         (fesetenv): Do not use BP_SYM in versioned symbols.
5538         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5539         (feupdateenv): Do not use BP_SYM in versioned symbols.
5540         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5541         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5542         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5543         (feraiseexcept): Do not use BP_SYM in versioned symbols.
5544         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5545         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5546         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5547         <bp-sym.h>.
5548         (__libc_start_main): Do not use BP_SYM.
5550 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5553         redundant return line.
5554         (norm): Likewise.
5555         (denorm): Likewise.
5556         (dbl_mp): Likewise.
5557         (sub_magnitudes): Likewise.
5558         (__add): Likewise.
5559         (__sub): Likewise.
5560         (__mul): Likewise.
5561         (__inv): Likewise.
5562         (__dvd): Likewise.
5563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5564         (norm): Likewise.
5565         (denorm): Likewise.
5566         (dbl_mp): Likewise.
5567         (sub_magnitudes): Likewise.
5568         (__add): Likewise.
5569         (__sub): Likewise.
5570         (__mul): Likewise.
5571         (__inv): Likewise.
5572         (__dvd): Likewise.
5574         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5575         instead of __mul.
5576         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5577         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5578         (cc32): Likewise.
5580         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5581         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5582         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5583         of __mul for squares.
5584         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5585         function
5586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5587         Likewise.
5588         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5589         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5591 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
5593         [BZ #13550]
5594         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5595         code.
5596         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5597         prototype or function definition.  Rename ubp_* variables and
5598         parameters.  Remove argv definitions conditional on
5599         [__BOUNDED_POINTERS__].
5600         * debug/backtrace.c (__backtrace): Do not use __unbounded.
5601         * elf/dl-runtime.c (_dl_fixup): Likewise.
5602         * include/set-hooks.h (RUN_HOOK): Likewise.
5603         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5604         definition.
5605         * string/strcpy.c (strcpy): Do not use __unbounded.
5606         * sysdeps/generic/frame.h (struct layout): Likewise.
5607         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5608         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5609         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5610         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5611         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5612         (__backtrace): Likewise.
5613         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5614         use __ptrvalue.
5615         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5616         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5617         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5618         Likewise.
5619         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5620         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5621         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5622         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5623         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5624         Do not use __unbounded.
5625         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5626         Rename __unboundedrlimits parameter to rlimits in prototype.
5627         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5628         Do not use __unbounded.
5629         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5630         not use __ptrvalue.
5631         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5632         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5633         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5634         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5635         __ptrvalue or __unbounded.
5636         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5637         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5638         use __unbounded.
5639         (__new_msgctl): Do not use __ptrvalue.
5640         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5641         __unbounded.
5642         (__libc_msgrcv): Do not use __ptrvalue.
5643         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5644         startup_info): Do not use __unbounded.
5645         (__libc_start_main): Likewise.  Rename ubp_* variables and
5646         parameters.  Remove argv definitions conditional on
5647         [__BOUNDED_POINTERS__].
5648         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5649         __ptrvalue.
5650         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5651         use __unbounded.
5652         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5653         or __ptrvalue.
5654         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5655         use __unbounded.
5656         (__new_shmctl): Do not use __ptrvalue.
5657         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5658         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5659         Likewise.
5660         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5661         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5662         (__libc_sigaction): Likewise.
5663         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5664         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5665         Likewise.
5666         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5668 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
5670         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
5672         * string/mempcpy.c: Implement by calling memcpy.
5674 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5676         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5678         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5679         evaluation.
5681         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5682         values in the mantissa.
5684         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5685         minimize writes to Z.
5686         (sub_magnitudes): Simplify code a bit.
5688 2013-02-12  Roland McGrath  <roland@hack.frob.com>
5690         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5691         from the message.  The linker prefixes all warnings with that already.
5693 2013-02-12  Andreas Schwab  <schwab@suse.de>
5695         [BZ #15078]
5696         * posix/regexec.c (extend_buffers): Add parameter min_len.
5697         (check_matching): Pass minimum needed length.
5698         (clean_state_log_if_needed): Likewise.
5699         (get_subexp): Likewise.
5700         * posix/Makefile (tests): Add bug-regex34.
5701         (bug-regex34-ENV): Define.
5702         * posix/bug-regex34.c: New file.
5704         [BZ #11561]
5705         * posix/regcomp.c (parse_bracket_exp): When looking up collating
5706         elements compare against the byte sequence of it, not its name.
5707         * posix/Makefile (tests): Add bug-regex35.
5708         (bug-regex35-ENV): Define.
5709         * posix/bug-regex35.c: New file.
5711 2013-02-11  Tom de Vries  <tom@codesourcery.com>
5713         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
5714         comment.
5715         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5716         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5717         (CHECK_EOL): Add undef.
5719 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
5721         * bits/stdlib-bsearch.h: New file.
5722         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
5723         * stdlib/stdlib.h: Likewise.
5725 2013-02-11  Roland McGrath  <roland@hack.frob.com>
5727         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5728         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5729         declaration.
5730         * manual/search.texi (Array Search Function): Add missing const in
5731         lfind prototype.
5732         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5733         declaration to use rlim_t.
5734         (Basic Scheduling Functions): Remove erroneous const from
5735         sched_getparam prototype.  Remove erroneous * from
5736         sched_get_priority_max and sched_get_priority_min prototypes.
5737         (Resource Usage): Fix summary @comment on vtimes to refer to
5738         sys/vtimes.h rather than vtimes.h.
5739         Add missing *s in vtimes prototype.
5740         (Limits on Resources): Fix ulimit prototype to return long int.
5741         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5742         prototypes to use long int rather than double.
5743         (BSD Random): Fix initstate and setstate to use char *, not void *.
5744         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5745         prototype to make second argument 'struct aiocb64 *const[]'.
5746         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5747         (Status of AIO Operations): Remove erroneous const in aio_return and
5748         aio_return64 prototypes.
5749         (Synchronizing I/O): Fix sync prototype to return void.
5750         * manual/startup.texi (Suboptions): Remove an erroneous const in
5751         getsubopt prototype.
5752         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5753         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5754         use size_t rather than int.
5755         (Scanning All Users): Likewise for getpwent_r.
5756         (Setting Groups): Add missing const to setgroups prototype.
5757         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5758         * manual/socket.texi (Host Names): Fix gethostbyaddr and
5759         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5760         'const void *' rather than 'const char *'.
5761         (Host Address Functions): Likewise for inet_ntop.
5762         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5763         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5764         ssize_t for return value.
5765         (Sending Data): Likewise for send, sendto, sendmsg.
5766         (Socket Option Functions): Add a missing const in setsockopt prototype.
5767         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5768         use wchar_t for the argument.
5769         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5770         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5771         take no arguments.
5772         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5773         double/float/long double for second argument.
5774         Fix return types of significand, significandf, significandl.
5775         * manual/filesys.texi (Setting Permissions): Use mode_t for second
5776         argument in fchmod prototype.
5777         (File Owner): Use uid_t and gid_t in fchown prototype.
5778         (File Times): Add const to utimes, futimes, and lutimes prototypes.
5779         (Making Special Files): Use mode_t and dev_t in mknod prototype.
5780         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5781         use 'const struct dirent **' as argument types to CMP function pointer
5782         argument.
5783         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5784         (File Times): Fix summary magic @comment for struct utimbuf and utime
5785         to refer to utime.h, not time.h.
5786         * manual/string.texi (Argz Functions): Add missing const in
5787         argz_extract and argz_next prototypes.
5788         (Finding Tokens in a String): Likewise for basename.
5789         (String/Array Comparison): Fix typo in wcscasecmp prototype.
5790         (Copying and Concatenation): Fix typo in wmemmove prototype.
5791         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5792         (Signal Stack): Remove erroneous const in sigstack prototype.
5793         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5794         prototype.
5795         (Simple Calendar Time): Likewise for stime.
5796         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5797         prototype.
5798         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5799         say sys/sysctl.h instead.
5800         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5801         and vsyslog prototypes.
5803 2013-02-11  Tom de Vries  <tom@codesourcery.com>
5805         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5806         Remove.
5808 2013-02-11  Roland McGrath  <roland@hack.frob.com>
5810         * misc/sys/mman.h: Fix typo in mremap comment.
5812 2013-02-08  Roland McGrath  <roland@hack.frob.com>
5814         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5815         the '\0' terminator.
5817 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
5819         [BZ #13550]
5820         * debug/segfault.c: Don't include <bp-checks.h>.
5821         * sysdeps/generic/bp-checks.h: Remove file.
5822         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5823         (__GETDENTS): Don't use CHECK_N.
5824         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5825         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5826         (__getgroups): Don't use CHECK_N.
5827         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5828         (setgroups): Don't use CHECK_N.
5829         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5830         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5831         (__libc_msgrcv): Don't use CHECK_N.
5832         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5833         (__libc_msgsnd): Don't use CHECK_N.
5834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5835         <bp-checks.h>.
5836         (__libc_pread): Don't use CHECK_N.
5837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5838         include <bp-checks.h>.
5839         (__libc_pread64): Don't use CHECK_N.
5840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5841         include <bp-checks.h>.
5842         (__libc_pwrite): Don't use CHECK_N.
5843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5844         include <bp-checks.h>.
5845         (__libc_pwrite64): Don't use CHECK_N.
5846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5847         <bp-checks.h>.
5848         (__libc_pread): Don't use CHECK_N.
5849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5850         include <bp-checks.h>.
5851         (__libc_pread64): Don't use CHECK_N.
5852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5853         include <bp-checks.h>.
5854         (__libc_pwrite): Don't use CHECK_N.
5855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5856         include <bp-checks.h>.
5857         (__libc_pwrite64): Don't use CHECK_N.
5858         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5859         (do_pread): Don't use CHECK_N.
5860         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5861         (do_pread64): Don't use CHECK_N.
5862         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5863         (do_pwrite): Don't use CHECK_N.
5864         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5865         (do_pwrite64): Don't use CHECK_N.
5866         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5867         (__libc_readv): Don't use CHECK_N.
5868         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5869         (semop): Don't use CHECK_N.
5870         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5871         <bp-checks.h>.
5872         (semtimedop): Don't use CHECK_N.
5873         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5874         (__libc_pread): Don't use CHECK_N.
5875         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5876         <bp-checks.h>.
5877         (__libc_pread64): Don't use CHECK_N.
5878         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5879         <bp-checks.h>.
5880         (__libc_pwrite): Don't use CHECK_N.
5881         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5882         <bp-checks.h>.
5883         (__libc_pwrite64): Don't use CHECK_N.
5884         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5885         <bp-checks.h>.
5886         (__libc_msgrcv): Don't use CHECK_N.
5887         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5888         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
5889         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5890         (__libc_writev): Don't use CHECK_N.
5892 2013-02-08  Roland McGrath  <roland@hack.frob.com>
5894         * string/strcpy.c: Removed unused variable.
5896         * Makeconfig (+sysdep-includes): Define with := rather than =.
5897         Use an existing include/ subdir of each sysdeps dir before it.
5899 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
5901         * nscd/connection.c (register_traced_file): Comment function.
5902         [HAVE_INOTIFY] (union __inev): Define.
5903         [HAVE_INOTIFY] (inotify_check_files): New function.
5904         [HAVE_INOTIFY] (clear_db_cache): Likewise.
5905         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5906         clear_db_cache.
5907         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5909 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
5911         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5912         loaded if not already and that a failure is permanent.
5914 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
5916         [BZ #15006]
5917         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5918         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5920 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
5922         [BZ #13550]
5923         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5924         (CHECK_1_NULL_OK): Likewise.
5925         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5926         (__fxstat): Do not use CHECK_1.
5927         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5928         <bp-checks.h>.
5929         (___fxstat64): Do not use CHECK_1.
5930         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5931         <bp-checks.h>.
5932         (__fxstatat): Do not use CHECK_1.
5933         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5934         <bp-checks.h>.
5935         (__fxstatat64): Do not use CHECK_1.
5936         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5937         <bp-checks.h>.
5938         (__fxstat): Do not use CHECK_1.
5939         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5940         <bp-checks.h>.
5941         (__fxstatat): Do not use CHECK_1.
5942         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5943         <bp-checks.h>.
5944         (__getresgid): Do not use CHECK_1.
5945         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5946         <bp-checks.h>.
5947         (__getresuid): Do not use CHECK_1.
5948         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5949         <bp-checks.h>.
5950         (__lxstat): Do not use CHECK_1.
5951         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5952         <bp-checks.h>.
5953         (__old_msgctl): Do not use CHECK_1.
5954         (__new_msgctl): Likewise.
5955         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5956         <bp-checks.h>.
5957         (__new_setrlimit): Do not use CHECK_1.
5958         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5959         <bp-checks.h>.
5960         (__old_shmctl): Do not use CHECK_1.
5961         (__new_shmctl): Likewise.
5962         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5963         <bp-checks.h>.
5964         (__xstat): Do not use CHECK_1.
5965         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5966         (__lxstat): Do not use CHECK_1.
5967         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5968         <bp-checks.h>.
5969         (___lxstat64): Do not use CHECK_1.
5970         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5971         (__old_msgctl): Do not use CHECK_1.
5972         (__new_msgctl): Likewise.
5973         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5974         <bp-checks.h>.
5975         (__gettimeofday): Do not use CHECK_1.
5976         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5977         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5978         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5979         <bp-checks.h>.
5980         (__gettimeofday): Do not use CHECK_1.
5981         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5982         (__old_shmctl): Do not use CHECK_1_NULL_OK.
5983         (__new_shmctl): Do not use CHECK_1.
5984         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5985         <bp-checks.h>.
5986         (do_sigtimedwait): Do not use CHECK_1.
5987         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5988         <bp-checks.h>.
5989         (do_sigwaitinfo): Do not use CHECK_1.
5990         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5991         <bp-checks.h>.
5992         (msgctl): Do not use CHECK_1.
5993         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5994         <bp-checks.h>.
5995         (shmctl): Do not use CHECK_1.
5996         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5997         (ustat): Do not use CHECK_1.
5998         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5999         <bp-checks.h>.
6000         (__fxstat): Do not use CHECK_1.
6001         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6002         <bp-checks.h>.
6003         (__fxstatat): Do not use CHECK_1.
6004         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6005         <bp-checks.h>.
6006         (__lxstat): Do not use CHECK_1.
6007         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6008         <bp-checks.h>.
6009         (__xstat): Do not use CHECK_1.
6010         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6011         (__xstat): Do not use CHECK_1.
6012         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6013         (___xstat64): Do not use CHECK_1.
6015         [BZ #13550]
6016         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6017         definitions.
6018         (CHECK_BOUNDS_HIGH): Likewise.
6019         * string/strcpy.c: Do not include <bp-checks.h>.
6020         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6022 2013-02-07  Roland McGrath  <roland@hack.frob.com>
6024         * nscd/nscd-client.h (__nscd_drop_map_ref):
6025         Add __attribute__ ((unused)).
6026         * nis/nss-nisplus.h (niserr2nss): Likewise.
6028         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6029         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6031         * csu/libc-tls.c (init_static_tls, init_slotinfo):
6032         Remove inline keyword.
6033         * include/rounding-mode.h (round_away): Likewise.
6034         * libio/wfileops.c (adjust_wide_data): Likewise.
6035         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6036         (__m128i_strloadu_tolower): Likewise.
6037         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6038         (__m128i_strloadu_tolower): Likewise.
6039         * time/mktime.c (ydhms_diff): Likewise.
6040         * locale/elem-hash.h (elem_hash): Likewise.
6041         * locale/setlocale.c (setdata): Likewise.
6042         * posix/regex_internal.h (re_string_char_size_at): Likewise.
6043         (re_string_wchar_at): Likewise.
6044         (bitset_not, bitset_merge, bitset_mask): Likewise.
6045         [!(__GNUC__ > 3)] (inline): Remove macro.
6046         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6047         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6048         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6049         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6050         * string/memcmp.c (memcmp_bytes): Likewise.
6051         * locale/programs/locarchive.c (compute_hashval): Likewise.
6052         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6053         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6054         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6055         * nss/getent.c (print_rpc, print_protocols): Likewise.
6056         (print_passwd, print_group, print_aliases): Likewise.
6057         * nis/nss-nisplus.h (niserr2nss): Likewise.
6058         * nscd/connections.c (restart_p): Likewise.
6059         Change return type to bool.
6061 2013-02-05  Roland McGrath  <roland@hack.frob.com>
6063         * Makeconfig (all-Depend-files): Add existing
6064         $(sorted-subdirs:=/Depend) files.
6065         (all-subdirs): Remove nss.
6066         * sysdeps/unix/inet/Subdirs: Add it here instead.
6067         * hesiod/Depend: New file.
6069         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6070         instead of calling alloca.
6072         * io/lseek.c (__lseek): Rename to __libc_lseek.
6073         Define __lseek as an alias.
6075         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6077 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
6079         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6080         else clause and remove check for non-standard endianness.
6082 2013-02-04  David S. Miller  <davem@davemloft.net>
6084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6086 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
6088         [BZ #13550]
6089         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6090         (__ubp_memchr): Remove prototype.
6091         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6092         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6093         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6094         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6095         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6096         Remove alias.
6097         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6098         (__ubp_memchr): Likewise.
6099         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6100         (__ubp_memchr): Likewise.
6101         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6102         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6103         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6104         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6105         CHECK_STRING.
6106         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6107         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6108         (__getcwd): Do not use CHECK_STRING.
6109         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6110         <bp-checks.h>.
6111         (__real_chown): Do not use CHECK_STRING.
6112         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6113         <bp-checks.h>.
6114         (fchownat): Do not use CHECK_STRING.
6115         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6116         CHECK_STRING.
6117         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6118         <bp-checks.h>.
6119         (__lchown): Do not use CHECK_STRING.
6120         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6121         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6122         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6123         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6125         include <bp-checks.h>.
6126         (truncate64): Do not use CHECK_STRING.
6127         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6128         <bp-checks.h>.
6129         (__real_chown): Do not use CHECK_STRING.
6130         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6131         <bp-checks.h>.
6132         (__lchown): Do not use CHECK_STRING.
6133         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6134         <bp-checks.h>.
6135         (__chown): Do not use CHECK_STRING.
6136         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6137         <bp-checks.h>.
6138         (truncate64): Do not use CHECK_STRING.
6139         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6140         Likewise.
6141         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6142         (__xmknod): Do not use CHECK_STRING.
6143         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6144         <bp-checks.h>.
6145         (__xmknodat): Do not use CHECK_STRING.
6146         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6147         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6149 2013-02-04  Andreas Schwab  <schwab@suse.de>
6151         [BZ #14142]
6152         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6153         * include/netdb.h: Likewise for h_errno.
6154         * elf/tst-stackguard1.c: Include <tls.h>.
6156 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6158         * elf/link.h (struct link_map): Extend the l_addr comment.
6159         * include/link.h (struct link_map): Likewise.
6161 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
6163         [BZ #13550]
6164         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6165         (BOUNDED_1): Remove macro.
6166         * debug/backtrace.c: Don't include <bp-checks.h>.
6167         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6168         (__backtrace): Likewise.
6169         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6170         <bp-checks.h>.
6171         (__backtrace): Don't use BOUNDED_1.
6172         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6173         <bp-checks.h>.
6174         (__backtrace): Don't use BOUNDED_1.
6175         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6176         (__backtrace): Don't use BOUNDED_1.
6177         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6178         (shmat): Don't use BOUNDED_N.
6180 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
6182         [BZ #13550]
6183         * sysdeps/generic/bp-start.h: Remove file.
6184         * csu/libc-start.c: Don't include <bp-start.h>.
6185         (LIBC_START_MAIN): Set up __environ directly instead of using
6186         INIT_ARGV_and_ENVIRON.
6187         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6188         <bp-start.h>.
6190         [BZ #13550]
6191         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6192         definitions.
6193         (CHECK_FCNTL): Likewise.
6194         (CHECK_N_PAGES): Likewise.
6196         [BZ #13550]
6197         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6198         definitions.
6199         (CHECK_SIGSET_NULL_OK): Likewise.
6200         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6201         <bp-checks.h>.
6202         (sigpending): Don't use CHECK_SIGSET.
6203         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6204         <bp-checks.h>.
6205         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6206         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6207         <bp-checks.h>.
6208         (do_sigsuspend): Don't use CHECK_SIGSET.
6209         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6210         use CHECK_SIGSET.
6211         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6212         (do_sigwait): Don't use CHECK_SIGSET.
6213         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6214         use CHECK_SIGSET.
6215         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6216         include <bp-checks.h>.
6217         (sigpending): Don't use CHECK_SIGSET.
6218         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6219         include <bp-checks.h>.
6220         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6221         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6222         <bp-checks.h>.
6223         (sigpending): Don't use CHECK_SIGSET.
6224         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6225         <bp-checks.h>.
6226         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6228         [BZ #13550]
6229         * sysdeps/generic/bp-semctl.h: Remove file.
6230         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6231         <bp-checks.h> and <bp-semctl.h>.
6232         (__old_semctl): Don't use CHECK_SEMCTL.
6233         (__new_semctl): Likewise.
6234         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6235         and <bp-semctl.h>.
6236         (__old_semctl): Don't use CHECK_SEMCTL.
6237         (__new_semctl): Likewise.
6238         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6239         <bp-checks.h> and <bp-semctl.h>.
6240         (__old_semctl): Don't use CHECK_SEMCTL.
6241         (__new_semctl): Likewise.
6242         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6243         <bp-checks.h> and <bp-semctl.h>.
6244         (semctl): Don't use CHECK_SEMCTL.
6246         [BZ #13550]
6247         * Makerules (elide-bp-thunks): Remove variable.
6248         (elide-routines.oS): Don't use $(elide-bp-thunks).
6249         (elide-routines.os): Likewise.
6250         (elide-routines.o): Likewise.
6251         (elide-routines.op): Likewise.
6252         (elide-routines.og): Likewise.
6253         (objects): Don't use $(bp-thunks).
6254         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6255         include.
6256         (common-generated): Do not add s-proto-bp.d.
6257         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6258         (int): Likewise.
6259         (typ): Likewise.
6260         Do not generate makefile rules for bounded-pointer thunks.
6261         * sysdeps/generic/bp-thunks.h: Remove file.
6262         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6263         * sysdeps/unix/s-proto-bp.S: Likewise.
6265         [BZ #15062]
6266         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6267         parts of result separately when argument is not close to line from
6268         -i to i and one part of argument is small.
6269         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6270         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6271         * math/libm-test.inc (cacos_test): Add more tests.
6272         (casin_test): Likewise.
6273         (casinh_test): Likewise.
6274         * sysdeps/i386/fpu/libm-test-ulps: Update.
6275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6277 2013-01-31  David S. Miller  <davem@davemloft.net>
6279         * po/de.po: Update from translation team.
6281 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
6283         * time/tzfile.c: Include stdint.h for SIZE_MAX.
6285 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
6287         * configure.in (_AC_PROG_CC_C89): New definition.
6288         * configure: Regenerate.
6290         * configure.in (AC_PROG_CPP): New definition.
6291         * configure: Regenerate.
6293 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6295         * debug/tst-backtrace.h: New file.
6296         * debug/tst-backtrace2.c: Include tst-backtrace.h.
6297         (ret): Remove variable.
6298         (x): Likewise.
6299         (FAIL): Remove macro.
6300         (NO_INLINE): Likewise.
6301         (fn1): Use match function instead of strstr.
6302         * debug/tst-backtrace3.c: Include tst-backtrace.h.
6303         (ret): Remove variable.
6304         (x): Likewise.
6305         (FAIL): Remove macro.
6306         (NO_INLINE): Likewise.
6307         (fn): Use match function instead of strstr.
6308         * debug/tst-backtrace4.c: Include tst-backtrace.h.
6309         (ret): Remove variable.
6310         (x): Likewise.
6311         (FAIL): Remove macro.
6312         (NO_INLINE): Likewise.
6313         (handle_signal): Use match function instead of strstr.
6314         * debug/tst-backtrace5.c: Include tst-backtrace.h.
6315         (ret): Remove variable.
6316         (x): Likewise.
6317         (FAIL): Remove macro.
6318         (NO_INLINE): Likewise.
6319         (handle_signal): Use match function instead of strstr.
6321 2013-01-23  Roland McGrath  <roland@hack.frob.com>
6323         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6325 2013-01-23  David S. Miller  <davem@davemloft.net>
6327         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6328         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6329         argument of CAS if possible.
6330         * sysdeps/sparc/sparc64/bits/atomic.h
6331         (__arch_compare_and_exchange_val_32_acq): Likewise.
6332         (__arch_compare_and_exchange_val_64_acq): Likewise.
6334 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
6336         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6337         * sysdeps/posix/ulimit.c: ... this.
6338         Include <limits.h>.
6339         * sysdeps/unix/bsd/ulimit.c: Remove file.
6341 2013-01-23  Adam Conrad  <adconrad@0c3.net>
6343         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6344         (LDFLAGS-tst-array5): Likewise.
6346 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6348         [BZ #15036]
6349         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6350         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6351         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6352         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6354 2013-01-21  David S. Miller  <davem@davemloft.net>
6356         * sysdeps/sparc/backtrace.c: New file.
6357         * sysdeps/sparc/sparc32/backtrace.h: New file.
6358         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6359         * sysdeps/sparc/sparc64/backtrace.h: New file.
6360         * sysdeps/sparc/sparc64/backtrace.c: Delete.
6361         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6362         -funwind-tables.
6364 2013-01-21  Andreas Schwab  <schwab@suse.de>
6366         [BZ #15020]
6367         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6368         closed its stdout.
6370 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
6372         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6373         "mpa2.h".
6374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6376 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
6377             Mark Mitchell  <mark@codesourcery.com>
6378             Tom de Vries  <tom@codesourcery.com>
6379             Paul Pluzhnikov  <ppluzhnikov@google.com>
6381         * debug/tst-backtrace2.c: New file.
6382         * debug/tst-backtrace3.c: Likewise.
6383         * debug/tst-backtrace4.c: Likewise.
6384         * debug/tst-backtrace5.c: Likewise.
6385         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6386         (CFLAGS-tst-backtrace3.c): Likewise.
6387         (CFLAGS-tst-backtrace4.c): Likewise.
6388         (CFLAGS-tst-backtrace5.c): Likewise.
6389         (LDFLAGS-tst-backtrace2): Likewise.
6390         (LDFLAGS-tst-backtrace3): Likewise.
6391         (LDFLAGS-tst-backtrace4): Likewise.
6392         (LDFLAGS-tst-backtrace5): Likewise.
6393         (tests): Add new tests tst-backtrace2, tst-backtrace3,
6394         tst-backtrace4 and tst-backtrace5.
6396 2013-01-18  Anton Blanchard  <anton@samba.org>
6397             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6399         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6400         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6401         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6402         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6404         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6405         "+r" and remove output regs list as redundant.  Add explicit inline
6406         asm to specify register of return val to work around compiler codegen
6407         bug.  Remove (int) cast on return value.  Add return type parameter to
6408         use in macro so that this macro does not truncate return value for
6409         64-bit values.
6410         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6411         pass to INTERNAL_VSYSCALL_NCS.
6412         (INLINE_VSYSCALL): Add 'long int' as return type to
6413         INTERNAL_VSYSCALL_NCS macro invocation.
6414         (INTERNAL_VSYSCALL): Add 'long int' as return type to
6415         INTERNAL_VSYSCALL_NCS macro invocation.
6416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6418 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6420         [BZ #14496]
6421         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6422         Fix application of SIMD FP exception mask.
6424         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6425         mp_no from a power of two.
6426         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6427         __mpexp_twomm1.  Use __pow_mp.
6429         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6430         multiplication.
6432 2013-01-17  David S. Miller  <davem@davemloft.net>
6434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6436 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
6438         [BZ #15023]
6439         * include/complex.h: Condition contents on [!_COMPLEX_H].
6440         (__kernel_casinhf): New prototype.
6441         (__kernel_casinh): Likewise.
6442         (__kernel_casinhl): Likewise.
6443         * math/Makefile (libm_calls): Add k_casinh.
6444         * math/k_casinh.c: New file.
6445         * math/k_casinhf.c: Likewise.
6446         * math/k_casinhl.c: Likewise.
6447         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6448         finite nonzero arguments.
6449         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6450         finite nonzero arguments.
6451         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6452         finite nonzero arguments.
6453         * math/s_casinh.c: Do not include <float.h>.
6454         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6455         * math/s_casinhf.c: Do not include <float.h>.
6456         (__casinhf): Move code for finite nonzero arguments to
6457         k_casinhf.c.
6458         * math/s_casinhl.c: Do not include <float.h>.
6459         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6460         redefine.
6461         (__casinhl): Move code for finite nonzero arguments to
6462         k_casinhl.c.
6463         * math/libm-test.inc (cacos_test): Add more tests.
6464         * sysdeps/i386/fpu/libm-test-ulps: Update.
6465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6467 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
6469         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6470         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6471         [!HAVE_MREMAP]: Remove [defined linux] case.
6472         * malloc/arena.c: Do not include <malloc-sysdep.h>.
6474 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6476         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6478 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
6480         * elf/elf.h (R_386_SIZE32): New relocation.
6481         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6482         R_386_SIZE32.
6483         (elf_machine_rela): Likewise.
6484         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6485         R_X86_64_SIZE64 and R_X86_64_SIZE32.
6487 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
6489         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6490         (FP_FAST_FMA): Do not define.
6491         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6492         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6493         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6494         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6495         !_SOFT_FLOAT]: Likewise.
6496         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6497         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6498         value.
6499         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6500         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6501         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6502         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6503         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6504         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6505         file.
6507 2013-01-16  Andreas Schwab  <schwab@suse.de>
6509         [BZ #14327]
6510         * include/stdlib.h (__mktemp): Add declaration.
6511         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6512         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6514 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6516         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6517         definitions.
6518         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6519         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6520         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6521         definitions here.
6522         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6523         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6524         definitions.
6525         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6526         and ONE.
6527         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6528         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6529         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6530         definitions.
6531         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6532         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6533         definitions.
6534         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6536         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6538 2013-01-15  David S. Miller  <davem@davemloft.net>
6540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6541         trunc{,f} to libm-sysdep_routes.
6542         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6544         file.
6545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6547         file.
6548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6549         file.
6550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6552         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6553         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6554         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6555         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6556         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6557         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6560         nearbyint{,f} to libm-sysdep_routes.
6561         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6563         New file.
6564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6565         file.
6566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6567         New file.
6568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6569         file.
6570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6572         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6573         file.
6574         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6575         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6576         file.
6577         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6578         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6579         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6581         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6582         libc_feholdexcept and libc_fesetenv.
6584 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
6586         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6588 2013-01-14  David S. Miller  <davem@davemloft.net>
6590         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6591         (SPARC_ASM_VIS2_IFUNC): Likewise.
6592         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6594         use of 'siam' instruction.
6595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6596         Likewise.
6597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6598         Likewise.
6599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6600         Likewise.
6601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6606         file.
6607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6608         file.
6609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6610         file.
6611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6612         file.
6613         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6615         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6618         new VIS2 routines.
6619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6622         Likewise.
6623         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6624         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6625         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6626         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6628         routines to libm-sysdep_routines.
6629         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6632         fdim/fdimf to libm-sysdep_routines.
6633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6634         file.
6635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6637         file.
6638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6641         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6642         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6643         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6644         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6646 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6648         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6649         to optimize copies.
6651         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6656         local variable MPTWO.
6657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6658         Likewise.
6660 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
6662         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6663         GLOB_NOESCAPE.
6665 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
6667         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6669 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
6671         * manual/pattern.texi (glob_t): Document gl_flags.
6672         (glob64_t): Likewise.
6674 2013-01-11  David S. Miller  <davem@davemloft.net>
6676         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6677         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6678         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
6679         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6680         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6681         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6682         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6683         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6684         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6685         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6686         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6687         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6688         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6690         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6691         sparc V9 rather than using V8 code.
6692         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6693         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6695         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6696         Move to...
6697         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6698         Here.
6700 2013-01-11  Roland McGrath  <roland@hack.frob.com>
6702         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6703         not in the main loop.
6704         * configure: Regenerated.
6706 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
6708         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6709         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6710         to just #else.
6711         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
6712         [!__GLIBC_HAVE_LONG_LONG] case.
6713         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6714         condition to just #else.
6715         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6716         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6717         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6718         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6719         unconditional.
6720         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6721         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6722         #elif condition to just #else.
6723         * sysdeps/unix/sysv/linux/sys/sysmacros.h
6724         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6725         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6726         #elif condition to just #else.
6728 2013-01-11  Steve Ellcey  <sellcey@mips.com>
6730         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6731         (EF_MIPS_ARCH_64): Fix value.
6732         (EF_MIPS_ARCH_32R2): New.
6733         (EF_MIPS_ARCH_64R2): New.
6735 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
6737         * Makeconfig (+link-pie-before-libc): New.
6738         (+link-pie-after-libc): Likewise.
6739         (+link-pie-tests): Likewise.
6740         (+link-pie): Rewritten.
6741         (link-before-libc): Remove $(config-LDFLAGS).
6742         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6743         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6744         (config-LDFLAGS): Renamed to ...
6745         (rtld-LDFLAGS): This.
6746         (rtld-tests-LDFLAGS): New macro.
6747         (link-libc-rpath-link): Likewise.
6748         (link-libc-tests-rpath-link): Likewise.
6749         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6750         (link-libc): Prepand $(link-libc-rpath-link).
6751         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6752         (test-program-prefix): New macro.
6753         (test-via-rtld-prefix): Likewise.
6754         (test-program-cmd): Likewise.
6755         (host-test-program-cmd): Likewise.
6756         * Makefile ($(common-objpfx)testrun.sh): Replace
6757         $(run-program-prefix) with $(test-program-prefix).
6758         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6759         $(rtld-LDFLAGS).
6760         ($(common-objpfx)shlib.lds): Likewise.
6761         (build-module-helper): Likewise.
6762         ($(common-objpfx)format.lds): Likewise.
6763         * Rules (binaries-pie-tests): New.
6764         (binaries-pie-notests): Likewise.
6765         (binaries-pie): Rewritten.
6766         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6767         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6768         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6769         (make-test-out): Replace $(host-built-program-cmd) with
6770         $(host-test-program-cmd).
6771         * config.make.in (build-hardcoded-path-in-tests): New variable.
6772         * configure.in (--enable-hardcoded-path-in-tests): New configure
6773         option.
6774         (hardcoded_path_in_tests): New AC_SUBST.
6775         * configure: Regenerated.
6776         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6777         $(built-program-cmd) with $(test-program-cmd).
6778         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6779         (test_program_cmd): This.
6780         * elf/Makefile ($(objpfx)order.out): Run test with
6781         $(test-program-prefix).
6782         ($(objpfx)order2.out): Likewise.
6783         ($(objpfx)tst-initorder.out): Likewise.
6784         ($(objpfx)tst-initorder2.out): Likewise.
6785         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6786         $(test-program-cmd).
6787         ($(objpfx)tst-array1-static.out): Likewise.
6788         ($(objpfx)tst-array2.out): Likewise.
6789         ($(objpfx)tst-array3.out): Likewise.
6790         ($(objpfx)tst-array4.out): Likewise.
6791         ($(objpfx)tst-array5.out): Likewise.
6792         ($(objpfx)tst-array5-static.out): Likewise.
6793         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6794         $(test-program-cmd).
6795         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6796         $(run-program-prefix) with $(test-program-prefix).
6797         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6798         (test_program_prefix): This.
6799         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6800         $(run-program-prefix) with $(test-program-prefix).
6801         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6802         (test_program_prefix): This.
6803         * iconvdata/tst-tables.sh: Likewise.
6804         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6805         $(run-program-prefix) with $(test-program-prefix).
6806         ($(objpfx)tst-translit.out): Likewise.
6807         ($(objpfx)tst-gettext2.out): Likewise.
6808         ($(objpfx)tst-gettext4.out): Likewise.
6809         ($(objpfx)tst-gettext6.out): Likewise.
6810         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6811         (test_program_prefix): This.
6812         * intl/tst-gettext2.sh: Likewise.
6813         * intl/tst-gettext4.sh  Likewise.
6814         * intl/tst-gettext6.sh: Likewise.
6815         * intl/tst-translit.sh: Likewise.
6816         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6817         with $(test-program-cmd).
6818         * libio/Makefile ($(objpfx)test-freopen.out): Replace
6819         $(run-program-prefix) with $(test-program-prefix).
6820         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6821         (test_program_prefix): This.
6822         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6823         $(run-program-prefix) with $(test-program-prefix).
6824         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6825         (test_program_prefix): This.
6826         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6827         * posix/Makefile ($(objpfx)globtest.out): Replace
6828         $(run-via-rtld-prefix) and $(test-wrapper) with
6829         $(test-program-prefix) and $(test-via-rtld-prefix).
6830         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6831         $(test-program-prefix).
6832         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6833         $(host-test-program-cmd).
6834         (tst-spawn-ARGS): Likewise.
6835         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6836         $(test-program-prefix).
6837         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6838         (test_via_rtld_prefix): This.
6839         (test_wrapper): Renamed to ...
6840         (test_program_prefix): This.
6841         (run_program_prefix): Replaced by test_program_prefix.
6842         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6843         (test_program_prefix): This.
6844         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6845         with $(host-test-program-cmd).
6846         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6847         $(run-program-prefix) with $(test-program-prefix).
6848         ($(objpfx)tst-printf.out): Likewise.
6849         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6850         $(test-program-cmd).
6851         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6852         (test_program_prefix): This.
6853         * stdio-common/tst-unbputc.sh: Likewise.
6854         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6855         $(run-program-prefix) with $(test-program-prefix).
6856         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6857         (test_program_prefix): This.
6858         * string/Makefile ($(objpfx)tst-svc.out):  Replace
6859         $(built-program-cmd) with $(test-program-cmd).
6861 2013-01-11  Andreas Jaeger  <aj@suse.de>
6863         [BZ #15003]
6864         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6865         value. Sync with Linux 3.7.
6867 2013-01-10  David S. Miller  <davem@davemloft.net>
6869         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6870         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6871         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6873 2013-01-10  Roland McGrath  <roland@hack.frob.com>
6875         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6876         never set.
6877         * configure: Regenerated.
6879 2013-01-10  David S. Miller  <davem@davemloft.net>
6881         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6882         sparc V9 rather than using V8 code.
6883         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6884         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6886 2013-01-10  Roland McGrath  <roland@hack.frob.com>
6888         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6889         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6890         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6891         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6892         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6893         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6894         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6895         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6896         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6897         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6898         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6899         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6900         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6901         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6902         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6903         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6904         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6905         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6906         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6907         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6908         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6909         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6910         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6911         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6912         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6913         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6914         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6916 2013-01-10  David S. Miller  <davem@davemloft.net>
6918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6920 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
6922         * posix/Makefile (tests-static): New variable.
6923         (tests): Add $(tests-static).
6924         (tst-exec-static-ARGS): New variable.
6925         (tst-spawn-static-ARGS): Likewise.
6926         * posix/tst-exec-static.c: New file.
6927         * posix/tst-spawn-static.c: Likewise.
6928         * posix/tst-exec.c: Support run directly.
6929         * posix/tst-spawn.c: Likewise.
6931 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
6933         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6934         long.
6935         * math/bits/mathcalls.h (llrint): Likewise.
6936         (llround): Likewise.
6937         * stdlib/stdlib.h (struct drand48_data): Likewise.
6938         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6939         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6940         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6941         Likewise.
6942         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6943         Likewise.
6944         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6945         (elf_greg_t): Likewise.
6946         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6947         (__jmp_buf): Likewise.
6948         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6949         definitions.
6950         (llrint): Likewise, for all definitions.
6951         (llrintl): Likewise.
6953         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6954         Remove [__GNUC__] condition.
6955         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6956         condition to just [__USE_ISOC99].
6957         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6959 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
6961         [BZ #14200]
6962         * sysdeps/unix/sysv/linux/x86/bits/environments.h
6963         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6964         defined.
6965         (_POSIX_V6_ILP32_OFF32): Likewise.
6966         (_XBS5_ILP32_OFF32): Likewise.
6967         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6968         (__ILP32_OFFBIG_LDFLAGS): Likewise.
6970 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6972         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6975         doubles __mpexp_twomm1.  Adjust usage.
6976         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6977         Remove.
6979 2013-01-10  Andreas Schwab  <schwab@suse.de>
6981         [BZ #14964]
6982         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6983         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6985 2013-01-09  David S. Miller  <davem@davemloft.net>
6987         [BZ #15003]
6988         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6989         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6990         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6991         TCP_FASTOPEN): Define.
6992         (tcp_repair_opt): New structure.
6993         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6994         enum values.
6995         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6996         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6997         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6998         (tcp_cookie_transactions): New structure.
7000 2013-01-09  Anton Blanchard  <anton@samba.org>
7002         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7003         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7004         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7005         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7007 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
7009         * include/features.h (__USE_ANSI): Remove.
7011 2013-01-09  Roland McGrath  <roland@hack.frob.com>
7013         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7015         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7017 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7019         * sysdeps/s390/fpu/libm-test-ulps: Update.
7021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7023         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7024         (__acr): Likewise.
7025         (__cpy): Likewise.
7026         (norm): Likewise.
7027         (denorm): Likewise.
7028         (__mp_dbl): Likewise.
7029         (__dbl_mp): Likewise.
7030         (add_magnitudes): Likewise.
7031         (sub_magnitudes): Likewise.
7032         (__add): Likewise.
7033         (__sub): Likewise.
7034         (__mul): Likewise.
7035         (__inv): Likewise.
7036         (__dvd): Likewise.
7037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7038         (__acr): Likewise.
7039         (__cpy): Likewise.
7040         (norm): Likewise.
7041         (denorm): Likewise.
7042         (__mp_dbl): Likewise.
7043         (__dbl_mp): Likewise.
7044         (add_magnitudes): Likewise.
7045         (sub_magnitudes): Likewise.
7046         (__add): Likewise.
7047         (__sub): Likewise.
7048         (__mul): Likewise.
7049         (__inv): Likewise.
7050         (__dvd): Likewise.
7051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7052         (__acr): Likewise.
7053         (__cpy): Likewise.
7054         (norm): Likewise.
7055         (denorm): Likewise.
7056         (__mp_dbl): Likewise.
7057         (__dbl_mp): Likewise.
7058         (add_magnitudes): Likewise.
7059         (sub_magnitudes): Likewise.
7060         (__add): Likewise.
7061         (__sub): Likewise.
7062         (__mul): Likewise.
7063         (__inv): Likewise.
7064         (__dvd): Likewise.
7066 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
7068         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7069         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7070         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7071         2 && __USE_EXTERN_INLINES]: Likewise.
7073 2013-01-08  Andreas Jaeger  <aj@suse.de>
7075         [BZ# 14985]
7076         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7077         Remove.
7078         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7079         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7081 2013-01-07  Anton Blanchard  <anton@samba.org>
7083         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7084         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7085         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7086         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7087         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7088         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7089         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7090         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7092         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7093         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7094         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7095         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7096         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7097         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7098         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7099         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7100         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7101         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7102         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7103         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7104         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7105         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7106         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7107         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7108         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7109         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7110         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7111         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7112         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7113         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7115         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7116         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7117         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7118         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7119         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7120         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7121         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7122         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7123         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7124         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7125         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7127 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
7129         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7130         (__MALLOC_PMT): Likewise.
7131         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7132         [__GNUC__], only on [_LIBC].
7133         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7134         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7135         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7136         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7137         forward declaration.
7138         (realloc_hook_ini): Likewise.
7139         (memalign_hook_ini): Likewise.
7140         (__libc_memalign): Do not use __MALLOC_PMT in variable
7141         declaration.
7142         (__libc_valloc): Likewise.
7143         (__libc_pvalloc): Likewise.
7144         (__libc_calloc): Likewise.
7145         (__posix_memalign): Likewise.
7147         [BZ #14996]
7148         * math/s_casinh.c: Include <float.h>.
7149         (__casinh): Do not do computation with squaring and square root
7150         for large arguments.
7151         * math/s_casinhf.c: Include <float.h>.
7152         (__casinhf): Do not do computation with squaring and square root
7153         for large arguments.
7154         * math/s_casinhl.c: Include <float.h>.
7155         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7156         (__casinhl): Do not do computation with squaring and square root
7157         for large arguments.
7158         * math/libm-test.inc (casin_test): Add more tests.
7159         (casinh_test): Likewise.
7160         * sysdeps/i386/fpu/libm-test-ulps: Update.
7161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7163 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
7165         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7166         (__x86_64_raw_data_cache_size): Likewise.
7167         (__x86_64_data_cache_size_half): Likewise.
7168         (__x86_64_raw_data_cache_size_half): Likewise.
7169         (__x86_64_shared_cache_size): Likewise.
7170         (__x86_64_raw_shared_cache_size): Likewise.
7171         (__x86_64_shared_cache_size_half): Likewise.
7172         (__x86_64_raw_shared_cache_size_half): Likewise.
7173         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7174         to ...
7175         (__x86_data_cache_size): This.
7176         (__x86_64_raw_data_cache_size): Renamed to ...
7177         (__x86_raw_data_cache_size): This.
7178         (__x86_64_data_cache_size_half): Renamed to ...
7179         (__x86_data_cache_size_half): This.
7180         (__x86_64_raw_data_cache_size_half): Renamed to ...
7181         (__x86_raw_data_cache_size_half): This.
7182         (__x86_64_shared_cache_size): Renamed to ...
7183         (__x86_shared_cache_size): This.
7184         (__x86_64_raw_shared_cache_size): Renamed to ...
7185         (__x86_raw_shared_cache_size): This.
7186         (__x86_64_shared_cache_size_half): Renamed to ...
7187         (__x86_shared_cache_size_half): This.
7188         (__x86_64_raw_shared_cache_size_half): Renamed to ...
7189         (__x86_raw_shared_cache_size_half): This.
7190         * sysdeps/x86_64/memcpy.S: Updated.
7191         * sysdeps/x86_64/memset.S: Likewise.
7192         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7193         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7194         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7196 2013-01-04  David S. Miller  <davem@davemloft.net>
7198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7200 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
7202         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7203         1 to avoid redefinition warning.
7204         (__USE_GNU): Don't define.
7205         (init_signaling_nan): Protoize.
7207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7209 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7211         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7213         (__cpymn): Likewise.
7214         (norm): Remove commented code.
7215         (denorm): Likewise.
7216         (__mp_dbl): Likewise.
7217         (__inv): Likewise.
7218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7219         (__cpymn): Likewise.
7220         (norm): Remove commented code.
7221         (denorm): Likewise.
7222         (__mp_dbl): Likewise.
7223         (__inv): Likewise.
7225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7226         mp_no value for 1.0 and 2.0.
7227         (norm): Use RADIXI instead of radixi.d.
7228         (denorm): Likewise.
7229         (__mul): Use 0.0 instead of zero.d.
7230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7231         mp_no value for 1.0 and 2.0.
7232         (norm): Use RADIXI instead of radixi.d.
7233         (denorm): Likewise.
7234         (__mul): Use 0.0 instead of zero.d.
7236 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
7238         [BZ #14994]
7239         * math/s_casinh.c (__casinh): Reduce finite argument to first
7240         quadrant then set signs of results at the end.
7241         * math/s_casinhf.c (__casinhf): Likewise.
7242         * math/s_casinhl.c (__casinhl): Likewise.
7243         * math/libm-test.inc (casin_test): Add more tests.
7244         (casinh_test): Likewise.
7245         * sysdeps/i386/fpu/libm-test-ulps: Update.
7246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7248 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7250         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7252         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7254         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7255         declarations.
7256         (denorm): Likewise.
7257         (__mp_dbl): Likewise.
7258         (__inv): Likewise.
7260         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7261         and adjust the header comment.
7263         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7264         variable name from declaration.
7266 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
7268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7269         Initialize COMMON_CPUID_INDEX_7 element.
7270         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7271         (CPUID_RTM): Likewise.
7272         (HAS_RTM): Likewise.
7273         (COMMON_CPUID_INDEX_7): New enum.
7275 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
7277         [BZ #14981]
7278         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7279         size is zero, record memory as freed.
7281 2013-01-03  Andreas Jaeger  <aj@suse.de>
7283         * po/ia.po: Add new Interlingua translation.
7285 2012-01-03  Allan McRae  <allan@archlinux.org>
7287         * locale/programs/localedef.c: Fix description of '--posix' flag.
7289 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
7291         * NEWS: Update dates in second copyright notice.
7292         * README: Update copyright dates in example.
7293         * manual/libc.texinfo: Update copyright dates.
7294         * scripts/test-installation.pl: Update copyright date in --version
7295         output.
7297         * hurd/ctty-input.c: Fix copyright notice formatting.
7298         * hurd/ctty-output.c: Likewise.
7299         * hurd/dtable.c: Likewise.
7300         * hurd/hurd-raise.c: Likewise.
7301         * hurd/hurdprio.c: Likewise.
7302         * hurd/msgportdemux.c: Likewise.
7303         * misc/sys/file.h: Likewise.
7304         * misc/sys/ioctl.h: Likewise.
7305         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7306         * sysdeps/mach/hurd/chdir.c: Likewise.
7307         * sysdeps/mach/hurd/fchdir.c: Likewise.
7308         * sysdeps/mach/hurd/rename.c: Likewise.
7309         * sysdeps/mach/hurd/rmdir.c: Likewise.
7310         * sysdeps/mach/hurd/seekdir.c: Likewise.
7311         * sysdeps/mach/hurd/setsid.c: Likewise.
7312         * sysdeps/posix/wait3.c: Likewise.
7314         * All files with FSF copyright notices: Update copyright dates
7315         using scripts/update-copyrights.
7316         * intl/plural.c: Regenerated.
7317         * locale/programs/charmap-kw.h: Likewise.
7318         * locale/programs/locfile-kw.h: Likewise.
7320 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7322         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7323         four values.
7325         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7326         calculation loop and add branch prediction.
7328         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7329         check access beyond bounds of m1np.
7331         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7332         MPTWO.
7333         (__inv): Remove local variable MPTWO to use the global
7334         constant.
7335         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7336         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7337         variable MPTWO.
7338         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7339         MP3HALFS static const.
7341 2013-01-01  David S. Miller  <davem@davemloft.net>
7343         * po/ca.po: Update from translation team.
7345 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
7347         * scripts/update-copyrights: New file.
7348         * Makeconfig: Reformat copyright notice.
7349         * ctype/ctype.h: Likewise.
7350         * debug/swprintf_chk.c: Likewise.
7351         * elf/dl-cache.c: Likewise.
7352         * elf/dl-debug.c: Likewise.
7353         * elf/dl-object.c: Likewise.
7354         * grp/initgroups.c: Likewise.
7355         * hurd/Makefile: Likewise.
7356         * hurd/hurd/signal.h: Likewise.
7357         * hurd/hurdfault.c: Likewise.
7358         * hurd/hurdioctl.c: Likewise.
7359         * hurd/hurdlookup.c: Likewise.
7360         * hurd/intr-msg.c: Likewise.
7361         * iconv/gconv_open.c: Likewise.
7362         * libio/swprintf.c: Likewise.
7363         * locale/lc-ctype.c: Likewise.
7364         * locale/nl_langinfo.c: Likewise.
7365         * mach/Machrules: Likewise.
7366         * mach/Makefile: Likewise.
7367         * malloc/obstack.h: Likewise.
7368         * manual/Makefile: Likewise.
7369         * manual/tsort.awk: Likewise.
7370         * misc/bits/stab.def: Likewise.
7371         * nis/nis_print_group_entry.c: Likewise.
7372         * nis/nis_table.c: Likewise.
7373         * nis/nss_compat/compat-pwd.c: Likewise.
7374         * nis/nss_compat/compat-spwd.c: Likewise.
7375         * po/Makefile: Likewise.
7376         * posix/fnmatch.c: Likewise.
7377         * posix/regex.h: Likewise.
7378         * resolv/Makefile: Likewise.
7379         * resolv/nss_dns/dns-network.c: Likewise.
7380         * resolv/res_hconf.c: Likewise.
7381         * scripts/gen-sorted.awk: Likewise.
7382         * soft-fp/soft-fp.h: Likewise.
7383         * stdio-common/printf.h: Likewise.
7384         * stdlib/monetary.h: Likewise.
7385         * stdlib/random.c: Likewise.
7386         * stdlib/random_r.c: Likewise.
7387         * sysdeps/generic/Makefile: Likewise.
7388         * sysdeps/gnu/Makefile: Likewise.
7389         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7390         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7391         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7393         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7394         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7395         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7396         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7397         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7398         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7399         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7400         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7401         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7402         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7403         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7404         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7405         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7406         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7407         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7408         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7409         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7410         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7411         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7412         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7413         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7414         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7415         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7416         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7417         * sysdeps/mach/hurd/errnos.awk: Likewise.
7418         * sysdeps/mach/hurd/fork.c: Likewise.
7419         * sysdeps/mach/hurd/getcwd.c: Likewise.
7420         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7421         * sysdeps/mach/hurd/mmap.c: Likewise.
7422         * sysdeps/mach/hurd/utimes.c: Likewise.
7423         * sysdeps/mach/hurd/xmknod.c: Likewise.
7424         * sysdeps/posix/profil.c: Likewise.
7425         * sysdeps/posix/readdir_r.c: Likewise.
7426         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7427         * sysdeps/powerpc/bits/setjmp.h: Likewise.
7428         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7429         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7431         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7432         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7433         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7435         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7436         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7437         * sysdeps/pthread/lio_listio.c: Likewise.
7438         * sysdeps/sparc/dl-procinfo.h: Likewise.
7439         * sysdeps/unix/i386/sysdep.S: Likewise.
7440         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7441         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7442         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7443         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7445         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7446         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7447         * sysdeps/unix/sysv/linux/speed.c: Likewise.
7448         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7449         * sysdeps/wordsize-32/divdi3.c: Likewise.
7450         * time/sys/time.h: Likewise.
7451         * wcsmbs/Makefile: Likewise.
7453 2013-01-01  David S. Miller  <davem@davemloft.net>
7455         * po/fr.po: Update from translation team.
7457         * catgets/gencat.c: Update copyright year.
7458         * csu/version.c: Likewise.
7459         * debug/catchsegv.sh: Likewise.
7460         * debug/pcprofiledump.c: Likewise.
7461         * debug/xtrace.sh: Likewise.
7462         * elf/ldconfig.c: Likewise.
7463         * elf/ldd.bash.in: Likewise.
7464         * elf/pldd.c: Likewise.
7465         * elf/sotruss.ksh: Likewise.
7466         * elf/sprof.c: Likewise.
7467         * iconv/iconv_prog.c: Likewise.
7468         * iconv/iconvconfig.c: Likewise.
7469         * locale/programs/locale.c: Likewise.
7470         * locale/programs/localedef.c: Likewise.
7471         * login/programs/pt_chown.c: Likewise.
7472         * malloc/memusage.sh: Likewise.
7473         * malloc/memusagestat.c: Likewise.
7474         * malloc/mtrace.pl: Likewise.
7475         * nscd/nscd.c: Likewise.
7476         * nss/getent.c: Likewise.
7477         * nss/makedb.c: Likewise.
7478         * posix/getconf.c: Likewise.
7480 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7482         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7483         numbers.
7485 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
7487         * math/bits/mathcalls.h (modf): Use __nonnull.
7489 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7491         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7492         (split): Use macro CN instead of the bare value.
7493         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7494         could be used.
7495         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7496         instead of the bare value.
7497         (power1): Likewise.
7499 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7501         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7502         __ATAN_TWOM.
7503         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7505         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7506         their values.
7507         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7508         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7509         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7510         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7512 2012-12-28  Andreas Jaeger  <aj@suse.de>
7514         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
7515         values are from Linux 3.7.
7517         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7518         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
7520 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7522         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7523         TRUE case.
7525         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7526         (norm): Likewise.
7527         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7528         variables with preprocessor constants.
7529         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7530         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7531         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7533 2012-12-27  Bruno Haible  <bruno@clisp.org>
7535         [BZ #14317]
7536         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7537         only if needed.
7539 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7542         and use variable directly.
7543         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7545         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7546         MPONE.
7547         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7548         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7549         variable MPONE.
7550         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7551         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7552         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7553         include directive.  Remove local variable MPONE.
7554         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7555         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7556         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7558 2012-12-25  David S. Miller  <davem@davemloft.net>
7560         * version.h (RELEASE): Set to "development".
7561         (VERSION): Set to "2.17.90".
7562         * NEWS: Add 2.18 section.
7564 2012-12-21  David S. Miller  <davem@davemloft.net>
7566         * po/hr.po: Update from translation team.
7568 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7570         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7572 2012-12-19  Steve Ellcey  <sellcey@mips.com>
7574         * NEWS:  Mention new memcpy for MIPS.
7576 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7578         * manual/contrib.texi (Contributors): Spelling correction.
7580 2012-12-15  David S. Miller  <davem@davemloft.net>
7582         * po/ru.po: Update from translation team.
7584 2012-12-13  David S. Miller  <davem@davemloft.net>
7586         * NEWS: Mention IFUNC testsuite enhancements.
7588         * po/pl.po: Update from translation team.
7589         * po/bg.po: Likewise.
7591         * manual/contrib.texi (Contributors): Update entries for Hongjiu
7592         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
7594 2012-12-11  David S. Miller  <davem@davemloft.net>
7596         * po/sv.po: Update from translation team.
7598         * po/vi.po: Update from translation team.
7600         * po/cs.po: Update from translation team.
7602         * po/de.po: Update from translation team.
7603         * po/eo.po: Likewise.
7604         * po/nl.po: Likewise.
7606 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7608         [BZ #14246]
7609         * manual/argp.texi (Argp Helper Functions): Move node to follow
7610         Argp Parsing State.
7612         [BZ #14872]
7613         * manual/conf.texi (Limits on File System Capacity): Mention if
7614         terminating null is included in the max size.
7616 2012-12-10  Andreas Jaeger  <aj@suse.de>
7618         * po/cs.po: Update from translation team.
7620 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7622         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7623         void pointer and cast to uintptr_t.
7624         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7625         path.
7626         * sysdeps/s390/s390-64/memcpy.S: Likewise.
7627         * sysdeps/s390/s390-64/memset.S: Likewise.
7629 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
7631         [BZ #14833]
7632         * menual/message.texi (Message Translation): Fix typos.
7633         (Helper programs for gettext): Likewise.
7635 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
7637         [BZ #14898]
7638         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7639         Change to -1.
7641 2012-12-07  David S. Miller  <davem@davemloft.net>
7643         * po/libc.pot: Update.
7645 2012-12-07  Richard Henderson  <rth@redhat.com>
7647         [BZ #10114]
7648         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7649         normal/normal case to before the switch.
7650         (_FP_DIV): Likewise.
7652 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
7653             Mike Frysinger  <vapier@gentoo.org>
7655         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7656         check for __NR_fadvise64_64.
7658 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
7660         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7661         0, not just to plain "0" as a statement.
7662         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7663         with cw.
7665 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
7667         * NEWS: Use sourceware.org in Bugzilla URL.
7669 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7672         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7674         * stdio-common/tst-put-error.c (do_test): Add newline to the
7675         padded test to ensure flush.
7677 2012-12-05  Jeff Law  <law@redhat.com>
7679         * sunrpc/etc.rpc (fedfs_admin): Add entry.
7681 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
7683         * README: Don't refer to ports add-on as distributed separately.
7684         Mention AArch64 in list of systems supported in the ports add-on.
7686         * LICENSES: Add more non-FSF copyright and license notices.
7688         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7689         ((unused)).
7691         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7693         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7694         10000 as width of padded output.
7696 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
7698         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7700         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7701         variable LX with __attribute__ ((unused)).
7702         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7703         Likewise.
7704         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7705         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7706         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7707         with __attribute__ ((unused)).
7709 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
7711         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7713 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
7715         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7716         (CFLAGS-nldbl-acos.c): New variable.
7717         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7718         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7719         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7720         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7721         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7722         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7723         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7724         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7725         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7726         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7727         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7728         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7729         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7730         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7731         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7732         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7733         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7734         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7735         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7736         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7737         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7738         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7739         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7740         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7741         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7742         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7743         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7744         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7745         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7746         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7747         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7748         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7749         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7750         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7751         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7752         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7753         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7754         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7755         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7756         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7757         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7758         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7759         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7760         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7761         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7762         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7763         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7764         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7765         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7766         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7767         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7768         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7769         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7770         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7771         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7772         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7773         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7774         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7775         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7776         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7777         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7778         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7779         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7780         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7781         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7782         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7783         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7784         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7785         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7786         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7787         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7788         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7789         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7790         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7791         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7792         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7793         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7794         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7795         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7796         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7797         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7798         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7799         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7800         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7801         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7802         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7803         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7804         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7805         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7806         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7807         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7808         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7809         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7810         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7811         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7812         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7813         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7816         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7818         [BZ #14914]
7819         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7820         whole low double instead of just low 47 bits when splitting values
7821         into two parts.
7823 2012-12-03  Allan McRae  <allan@archlinux.org>
7825         * manual/stdio.texi (Predefined Printf Handlers): Remove
7826         @hsep and @vsep usage.
7828 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
7830         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7831         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7833 2012-12-03  Jeff Law  <law@redhat.com>
7835         * time/sys/time.h (settimeofday): Do not mark TV argument
7836         as __nonnull.
7838 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
7840         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7841         when currently writing and seek to current position when not.
7842         * libio/Makefile (tests): Remove bug-fclose1.
7843         * libio/bug-fclose1.c: Delete.
7845 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
7847         * manual/arith.texi (feenableexcept): Fix typo.
7848         (fedisableexcept): Likewise.
7850 2012-11-30  Roland McGrath  <roland@hack.frob.com>
7852         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7853         second, differently-typed declaration, rather than a cast.
7855 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7857         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7858         * include/rpc/svc.h: ... here.
7860 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
7862         [BZ #13013]
7863         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7864         depending n and resplen2 to catch cases where answer
7865         equals answerp2.
7867 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
7869         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7870         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7872 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
7874         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7876 2012-11-29  Roland McGrath  <roland@hack.frob.com>
7878         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7880 2012-11-28  Jeff Law  <law@redhat.com>
7882         [BZ #13761]
7883         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7884         dataset_temporary.  Track alloca usage into alloca_used.
7885         If dataset is large allocate and release it via malloc/free.
7887 2012-06-04  Florian Weimer  <fweimer@redhat.com>
7889         [BZ #14197]
7890         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7892 2012-11-28  David S. Miller  <davem@davemloft.net>
7894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7896 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
7898         [BZ #14803]
7899         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7900         of pi/2 rounded to nearest to 64 bits.
7901         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7902         nearest to 64 bits.
7903         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7904         bits.
7906 2012-11-28  Jeff Law <law@redhat.com>
7907             Martin Osvald <mosvald@redhat.com>
7909         [BZ #14889]
7910         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7911         * sunrpc/svc.c: Include time.h.
7912         (__svc_accept_failed): New function.
7913         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7914         any reason other than EINTR, call __svc_accept_failed.
7915         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7916         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7918 2012-11-28  Andreas Schwab  <schwab@suse.de>
7920         * scripts/abilist.awk: Also handle indirect functions in .opd
7921         section.
7923 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
7925         [BZ #13881]
7926         * sysdeps/x86/fpu/powl_helper.c: New file.
7927         * sysdeps/x86/fpu/Makefile: Likewise.
7928         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7929         (p3): New object.
7930         (__ieee754_powl): Use __powl_helper for finite arguments except
7931         integer exponents below 8.
7932         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7933         (p3): New object.
7934         (__ieee754_powl): Use __powl_helper for finite arguments except
7935         integer exponents below 8.
7936         * math/libm-test.inc (pow_test): Add more tests and enable some
7937         previously disabled tests.
7938         * sysdeps/i386/fpu/libm-test-ulps: Update.
7939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7941 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7942             Carlos O'Donell  <carlos_odonell@mentor.com>
7944         * nss/makedb.c (is_prime): Assert that input is odd and greater
7945         than 4.  Note that fact in a comment too.
7946         (next_prime): Add 4 to input.
7948 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7950         [BZ #11741]
7951         * libio/Makefile (tests): Add test case tst-fwrite-error.
7952         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7953         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7954         * libio/tst-fwrite-error.c: New test case.
7956 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
7958         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7959         before casting to void *.
7960         * include/libc-internal.h (__pointer_type): New macro.
7961         (__integer_if_pointer_type_sub): Likewise.
7962         (__integer_if_pointer_type): Likewise.
7963         (cast_to_integer): Likewise.
7964         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7965         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7966         before casting to atomic64_t.
7967         (atomic_exchange_acq): Likewise.
7968         (__arch_exchange_and_add_body): Likewise.
7969         (__arch_add_body): Likewise.
7970         (atomic_add_negative): Likewise.
7971         (atomic_add_zero): Likewise.
7973 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
7975         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7976         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7977         (add_fdes): Likewise.
7978         (linear_search_fdes): Likewise.
7979         (binary_search_unencoded_fdes): Likewise.
7981 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
7983         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7985 2012-11-24  Adam Conrad  <adconrad@0c3.net>
7987         * configure.in: Autodetect C++ header directories.
7988         * configure: Regenerated.
7990 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
7992         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7994 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
7996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7998 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
8000         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8001         LDBL_MANT_DIG == 106]: Disable some tests.
8002         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8003         Likewise.
8004         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8005         Likewise.
8007         [BZ #14871]
8008         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8009         input for small inputs.  Return +/- pi/2 for large inputs.
8010         * math/libm-test.inc (atan_test): Add more tests.
8012         * sysdeps/generic/unwind-dw2-fde-glibc.c
8013         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8014         __attribute__ ((unused)).
8016         [BZ #14645]
8017         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8018         x * y if x and y are nonzero and z is zero.
8020         [BZ #14811]
8021         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8022         nonzero exponents with absolute value below 0x1p-117 to +/-
8023         0x1p-117.
8025         [BZ #14869]
8026         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8027         up arguments below 2**-450, not just those below 2**-500.
8028         * math/libm-test.inc (hypot_test): Add another test.
8030         [BZ #14868]
8031         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8032         Return a+b for ratio over 2**120, not 2**60.
8033         * math/libm-test.inc (hypot_test): Add another test.
8035         * math/libm-test.inc (clog_test): Use
8036         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8037         (clog10_test): Likewise.
8039         [BZ #6778]
8040         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8042 2012-11-22  Andreas Schwab  <schwab@suse.de>
8044         * sysdeps/i386/fpu/libm-test-ulps: Update.
8046 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
8048         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8049         printf output with newline.
8051 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
8053         [BZ #14865]
8054         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8055         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8056         -z nodlopen, -z initfirst and -z execstack support.
8057         * configure: Regenerated.
8059         * elf/elf.h (DF_1_NODIRECT): New macro.
8060         (DF_1_IGNMULDEF): Likewise.
8061         (DF_1_NOKSYMS): Likewise.
8062         (DF_1_NOHDR): Likewise.
8063         (DF_1_EDITED): Likewise.
8064         (DF_1_NORELOC): Likewise.
8065         (DF_1_SYMINTPOSE): Likewise.
8066         (DF_1_GLOBAUDIT): Likewise.
8067         (DF_1_SINGLETON): Likewise.
8068         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8069         DT_1_SUPPORTED_MASK bits.
8070         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8072 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
8074         * sysdeps/unix/make-syscalls.sh: Document prefixes.
8076 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
8078         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8079         macro.
8081         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8082         (sendmmsg): Move declarations...
8083         * socket/sys/socket.h: ... here.
8084         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8085         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8086         include it from...
8087         * socket/recvmmsg.c: ... this new file.
8088         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8089         (sendmmsg): Rename to __sendmmsg, create weak alias and make
8090         definition of __sendmmsg hidden.
8091         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8092         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8093         Move ENOSYS stub into and include it from...
8094         * socket/sendmmsg.c: ... this new file.
8095         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8096         (sysdep_routines): Move recvmmsg and sendmmsg...
8097         * socket/Makefile (routines): ... here.
8098         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8099         (GLIBC_PRIVATE): Add __sendmmsg.
8100         * include/sys/socket.h (__sendmmsg): Add declarations.
8101         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8102         sendmmsg.
8104 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
8106         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8107         variable I1 with __attribute__ ((unused)).
8108         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8110 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
8112         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8113         DUMMY variables with __attribute__ ((unused)).
8115         * bits/byteswap.h: Include <bits/types.h>.
8116         (__bswap_64): Use __uint64_t instead of unsigned long long int.
8118 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
8120         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8121         string_t.  Do not manually set errno.
8122         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8123         length with __strnlen.  Make sure to both set errno and return it on
8124         failure.
8126 2012-11-19  David S. Miller  <davem@davemloft.net>
8128         With help from Joseph Myers.
8129         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8130         very large arguments properly.
8131         * math/libm-test.inc (atan_test): New tests.
8132         (atan2_test): New tests.
8133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8136 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
8138         [BZ #14856]
8139         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8140         Define to 3.
8142         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8143         [POSIX] (EADDRNOTAVAIL): Likewise.
8144         [POSIX] (EAFNOSUPPORT): Likewise.
8145         [POSIX] (EALREADY): Likewise.
8146         [POSIX] (ECONNABORTED): Likewise.
8147         [POSIX] (ECONNREFUSED): Likewise.
8148         [POSIX] (ECONNRESET): Likewise.
8149         [POSIX] (EDESTADDRREQ): Likewise.
8150         [POSIX] (EDQUOT): Likewise.
8151         [POSIX] (EHOSTUNREACH): Likewise.
8152         [POSIX] (EIDRM): Likewise.
8153         [POSIX] (EISCONN): Likewise.
8154         [POSIX] (ELOOP): Likewise.
8155         [POSIX] (EMULTIHOP): Likewise.
8156         [POSIX] (ENETDOWN): Likewise.
8157         [POSIX] (ENETUNREACH): Likewise.
8158         [POSIX] (ENOBUFS): Likewise.
8159         [POSIX] (ENODATA): Likewise.
8160         [POSIX] (ENOLINK): Likewise.
8161         [POSIX] (ENOMSG): Likewise.
8162         [POSIX] (ENOPROTOOPT): Likewise.
8163         [POSIX] (ENOSR): Likewise.
8164         [POSIX] (ENOSTR): Likewise.
8165         [POSIX] (ENOTCONN): Likewise.
8166         [POSIX] (ENOTSOCK): Likewise.
8167         [POSIX] (EOPNOTSUPP): Likewise.
8168         [POSIX] (EOVERFLOW): Likewise.
8169         [POSIX] (EPROTO): Likewise.
8170         [POSIX] (EPROTONOSUPPORT): Likewise.
8171         [POSIX] (EPROTOTYPE): Likewise.
8172         [POSIX] (ESTALE): Likewise.
8173         [POSIX] (ETIME): Likewise.
8174         [POSIX] (ETXTBSY): Likewise.
8175         [POSIX] (EWOULDBLOCK): Likewise.
8176         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8177         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8178         [POSIX] (SEEK_CUR): Likewise.
8179         [POSIX] (SEEK_END): Likewise.
8180         [POSIX || UNIX98] (mode_t): Do not require.
8181         [POSIX] (off_t): Likewise.
8182         [POSIX] (pid_t): Likewise.
8183         [POSIX] (sys/stat.h): Do not allow header.
8184         [POSIX] (unistd.h): Likewise.
8185         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8186         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8187         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8188         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8189         require.
8190         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8191         sigevent): Specify elements.
8192         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8193         entry.
8194         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8195         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8197         * conform/data/cpio.h-data [POSIX]: Disable whole file.
8198         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8199         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8200         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8201         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8202         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8203         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8204         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8205         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8206         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8207         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8208         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8209         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8210         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8211         Likewise.
8212         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8213         Likewise.
8214         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8215         Likewise.
8216         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8217         Likewise.
8218         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8219         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8220         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8221         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8222         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8223         Specify lower bound on value.
8224         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8225         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8226         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8227         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8228         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8229         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8230         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8231         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8232         value.
8233         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8234         as optional.
8235         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8236         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8237         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8238         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8239         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8240         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8241         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8242         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8243         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8244         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8245         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8246         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8247         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8248         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8249         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8250         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8251         entry.
8252         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8253         optional.
8254         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8255         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8256         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8257         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8258         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8259         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8260         Likewise.
8261         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8262         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8263         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8264         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8265         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
8266         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8267         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8268         as optional.
8269         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8270         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8271         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8272         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8273         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8274         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8275         specify as optional.
8276         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8277         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8278         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8279         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8280         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8281         [XPG3] (NL_LANGMAX): Likewise.
8282         [POSIX || XPG3] (NL_MSGMAX): Likewise.
8283         [POSIX || XPG3] (NL_NMAX): Likewise.
8284         [POSIX || XPG3] (NL_SETMAX): Likewise.
8285         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8286         [XPG3] (NZERO): Likewise.
8287         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8288         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8289         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8290         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8291         (REG_ERANGE): Expect.
8292         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8293         optional-constant.
8294         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8295         Use (void) in prototype.
8296         [POSIX] (*_t): Allow.
8297         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8298         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8299         (WRDE_BADVAL): Expect.
8301         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8302         expect.
8303         [XPG3 || XPG4] (O_RSYNC): Likewise.
8304         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8305         Likewise.
8306         [XPG3 || XPG4] (pthread_sigmask): Likewise.
8307         [XPG3 || XPG4] (sigqueue): Likewise.
8308         [XPG3 || XPG4] (sigtimedwait): Likewise.
8309         [XPG3 || XPG4] (sigwaitinfo): Likewise.
8310         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8311         [XPG3 || XPG4] (vsnprintf): Likewise.
8312         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8313         Likewise.
8314         [XPG3 || XPG4] (blksize_t): Likewise.
8315         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8316         Likewise.
8317         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8318         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8319         [XPG3 || XPG4] (struct itimerspec): Likewise.
8320         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8321         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8322         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8323         [XPG3 || XPG4] (clockid_t): Likewise.
8324         [XPG3 || XPG4] (timer_t): Likewise.
8325         [XPG3 || XPG4] (clock_getres): Likewise.
8326         [XPG3 || XPG4] (clock_gettime): Likewise.
8327         [XPG3 || XPG4] (clock_settime): Likewise.
8328         [XPG3 || XPG4] (nanosleep): Likewise.
8329         [XPG3 || XPG4] (timer_create): Likewise.
8330         [XPG3 || XPG4] (timer_delete): Likewise.
8331         [XPG3 || XPG4] (timer_gettime): Likewise.
8332         [XPG3 || XPG4] (timer_getoverrun): Likewise.
8333         [XPG3 || XPG4] (timer_settime): Likewise.
8334         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8335         [XPG3 || XPG4] (getlogin_r): Likewise.
8336         [XPG3 || XPG4] (pread): Likewise.
8337         [XPG3 || XPG4] (pthread_atfork): Likewise.
8338         [XPG3 || XPG4] (pwrite): Likewise.
8340         [BZ #14835]
8341         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8342         <bits/siginfo.h>.
8344 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
8346         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8347         finalizing MALLSTREAM.
8349         * sysdeps/mach/hurd/syncfs.c: New file.
8351 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8353         [BZ #14719]
8354         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8355         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8356         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8357         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8358         (_nss_dns_gethostbyname4_r): Likewise.
8359         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8360         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8362 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
8364         [BZ #13763]
8365         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8367 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
8369         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8370         * elf/cache.c (print_entry): Print ",AArch64" for
8371         FLAG_AARCH64_LIB64
8373         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8374         * elf/cache.c (print_entry): Print ",hard-float" for
8375         FLAG_ARM_LIBHF.
8377 2012-11-18  David S. Miller  <davem@davemloft.net>
8379         With help from Joseph Myers.
8380         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8381         cutoff to 2**-13.
8382         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8383         cutoff to 2**-25.
8384         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8385         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8386         small.
8387         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8388         * math/libm-test.inc (y0_test): New tests.
8389         (y1_test): New tests.
8390         * sysdeps/i386/fpu/libm-test-ulps: Update.
8391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8394 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
8396         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8397         64-bit targets.
8398         * configure: Regenerated.
8400 2012-11-17  David S. Miller  <davem@davemloft.net>
8402         [BZ #14811]
8403         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8404         nonzero exponents with absolute value below 0x1p-128 to +/-
8405         0x1p-128.
8407 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
8409         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8411         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8413         * posix/getconf-speclist.c: New file.
8414         * posix/posix-envs.def: Likewise.
8415         * posix/confstr.c (START_ENV_GROUP): New macro.
8416         (END_ENV_GROUP): Likewise.
8417         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8418         (KNOWN_PRESENT_ENV_STRING): Likewise.
8419         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8420         (UNKNOWN_ENVIRONMENT): Likewise.
8421         (confstr): Include posix-envs.def instead of handling
8422         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8423         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8424         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8425         (END_ENV_GROUP): Likewise.
8426         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8427         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8428         (UNKNOWN_ENVIRONMENT): Likewise.
8429         (__sysconf): Include posix-envs.def instead of handling associated
8430         cases directly here.
8431         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8432         preprocessing getconf-speclist.c rather than running getconf or
8433         generating empty file.
8435 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
8437         * scripts/check-local-headers.sh: Ignore 'mach' headers.
8439 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
8441         [BZ #14672]
8442         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8444 2012-11-16  David S. Miller  <davem@davemloft.net>
8446         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8447         smaller than LDBL_EPSILON/2.0L, just return xm1.
8449 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
8451         * elf/tst-array1.c (init): Set constructor priority to 1000.
8452         (fini): Set destructor priority to 1000.
8453         * elf/tst-array2dep.c: Likewise.
8455 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8457         [BZ #11741]
8458         * libio/fileops.c (_IO_new_file_write): Correctly return error.
8459         (_IO_new_file_xsputn): Also return EOF if none of the input
8460         data was written when overflow failed.
8461         * libio/iopadn.c (_IO_padn): Likewise.
8462         * libio/iowpadn.c (_IO_wpadn): Likewise.
8463         * stdio-common/tst-put-error.c: Add copyright notice.
8464         (do_test): Add case for printing padded string.
8465         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8466         _IO_padn returned error.
8467         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8468         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8469         return EOF.
8471 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8473         * libio/libioP.h: Add comment note that the references to C++
8474         bits are now obsolete.
8476 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8478         * math/libm-test.inc (check_complex): Use asprintf.
8480 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
8482         * debug/pcprofiledump.c (print_version): Update copyright year.
8483         * malloc/memusagestat.c (print_version): Likewise.
8485 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8487         [BZ #14831]
8488         * elf/Makefile (tests): Add tst-audit8.
8489         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8490         ($(objpfx)tst-audit8.out): New target.
8491         (tst-audit8-ENV): New variable.
8492         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8493         audit if l_reloc_result is NULL.
8494         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8495         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8496         * elf/tst-audit8.c: New file.
8498 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8500         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8501         * misc/Makefile (CFLAGS-select.c): Define.
8502         * posix/Makefile (CFLAGS-pause.c): Define.
8504 2012-11-13  David S. Miller  <davem@davemloft.net>
8506         * crypt/Makefile: Move test targets after toplevel Rules
8507         inclusion.  Grab any necessary sysdep routines when linking.
8508         * crypt/md5.c (md5_process_block): Remove define, we will always
8509         name it __md5_process_block.
8510         (md5_finish_ctx): Update md5_process_block call.
8511         (md5_stream): Likewise.
8512         (md5_process_bytes): Likewise.
8513         (md5_process_block): Rename to __md5_process_block and move to ...
8514         * crypt/md5-block.c: ... here.
8515         * crypt/sha256.c (sha256_process_block): Move to ...
8516         * crypt/sha256-block.c: ... here.
8517         * crypt/sha512.c (sha512_process_block): Move to ...
8518         * crypt/sha512-block.c: ... here.
8519         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8520         path.
8521         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8522         * sysdeps/sparc/sparc64/multiarch/Makefile
8523         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8524         crypt subdir.
8525         (localedef-aux): Add md5 crypto assembler when in locale subdir.
8526         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8527         multiarch changes.
8528         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8529         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8530         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8531         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8532         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8533         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8534         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8535         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8536         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8537         file.
8538         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8539         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8540         file.
8541         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8543 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
8545         * timezone/tzselect.ksh: Update from tzcode git revision
8546         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8547         * timezone/zdump.c: Likewise.
8548         * timezone/zic.c: Likewise.
8549         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8550         in TZVERSION setting, not $(PKGVERSION).
8551         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
8552         REPORT_BUGS_TO settings.
8554         [BZ #14838]
8555         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8556         macro.
8558 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8560         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8561         detection to immediately after _FP_ROUND().
8562         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8563         bits are 0.
8565 2012-11-11  David S. Miller  <davem@davemloft.net>
8567         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8568         inttypes.h
8569         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8570         __close rather than their public counterparts.
8572 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
8574         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8575         file.
8576         [UNIX98] (sem_timedwait): Do not expect.
8577         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8578         [XPG4 || UNIX98] (sockatmark): Do not expect.
8579         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8580         (clock_getcpuclockid): Do not expect.
8581         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8582         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8583         Do not expect.
8584         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8585         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8586         [UNIX98] (vwscanf): Likewise.
8587         [UNIX98] (vswscanf): Likewise.
8589 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
8591         * timezone/version.h: Remove file.
8592         * timezone/README: Do not refer to version.h.
8593         * timezone/Makefile ($(objpfx)zic.o): New dependency on
8594         $(objpfx)version.h.
8595         ($(objpfx)zdump.o): Likewise.
8596         ($(objpfx)version.h): New target.
8598         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8599         2012i.
8600         * timezone/README: Don't mention modification to tzselect.ksh.
8601         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8602         work on unmodified tzselect.ksh.  Substitute version numbers in
8603         tzselect.ksh.
8605         * Makefile (format-me): Remove.
8606         (INSTALL): Adjust indentation.  Use commands directly instead of
8607         using $(format-me).
8609         * aclocal.m4 (ACX_PKGVERSION): New macro.
8610         (ACX_BUGURL): Likewise.
8611         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8612         (PKGVERSION): New AC_DEFINE_UNQUOTED.
8613         (REPORT_BUGS_TO): Likewise.
8614         * configure: Regenerated.
8615         * config.h.in (PKGVERSION): New macro.
8616         (REPORT_BUGS_TO): Likewise.
8617         * config.make.in (PKGVERSION): New variable.
8618         (PKGVERSION_TEXI): Likewise.
8619         (REPORT_BUGS_TO): Likewise.
8620         (REPORT_BUGS_TEXI): Likewise.
8621         * Makefile (format-me): Use -I$(common-objpfx)manual.
8622         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8623         ($(common-objpfx)manual/%): New target.
8624         (manual/%): Remove target.
8625         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8626         (print_version): Use PKGVERSION.
8627         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8628         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8629         and REPORT_BUGS_TO.
8630         ($(objpfx)xtrace): Likewise.
8631         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8632         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8633         (print_version): Use PKGVERSION.
8634         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8635         (do_version): Use PKGVERSION.
8636         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8637         REPORT_BUGS_TO.
8638         (common-ldd-rewrite): Likewise.
8639         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8640         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8641         (print_version): Use PKGVERSION.
8642         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8643         * elf/pldd.c (argp_program_bug_address): Remove variable.
8644         (more_help): New function.
8645         (argp): Use more_help.
8646         (print_version): Use PKGVERSION.
8647         * elf/sln.c (main): Use PKGVERSION.
8648         (usage): Use REPORT_BUGS_TO.
8649         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8650         (top level): Use PKGVERSION.
8651         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8652         (print_version): Use PKGVERSION.
8653         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8654         (print_version): Use PKGVERSION.
8655         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8656         (print_version): Use PKGVERSION.
8657         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8658         (print_version): Use PKGVERSION.
8659         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8660         (print_version): Use PKGVERSION.
8661         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8662         (print_version): Use PKGVERSION.
8663         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8664         and BUGURL.
8665         ($(objpfx)memusage): Likewise.
8666         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8667         (do_version): Use PKGVERSION.
8668         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8669         (print_version): Use PKGVERSION.
8670         * malloc/mtrace.pl ($PACKAGE): Remove variable.
8671         ($PKGVERSION): New variable.
8672         ($REPORT_BUGS_TO): Likewise.
8673         (usage): Use $REPORT_BUGS_TO.
8674         (top level): Use $PKGVERSION.
8675         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8676         ($(objpfx)pkgvers.texi): New rule.
8677         ($(objpfx)stamp-pkgvers): Likewise.
8678         * manual/install.texi: Include pkgvers.texi.
8679         (--with-pkgversion): Document new configure option.
8680         (--with-bugurl): Likewise.
8681         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8682         than necessarily for this particular distribution.  Use
8683         REPORT_BUGS_TO for where to report bugs.
8684         * INSTALL: Regenerated.
8685         * manual/libc.texinfo: Include pkgvers.texi.
8686         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8687         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8688         (print_version): Use PKGVERSION.
8689         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8690         (print_version): Use PKGVERSION.
8691         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8692         (print_version): Use PKGVERSION.
8693         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8694         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8695         macro.
8696         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8697         (print_version): Use PKGVERSION.
8698         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8699         (print_version): Use PKGVERSION.
8700         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8701         and PKGVERSION.
8703         * timezone/checktab.awk: Update from tzcode 2012i.
8704         * timezone/ialloc.c: Likewise.
8705         * timezone/private.h: Likewise.
8706         * timezone/scheck.c: Likewise.
8707         * timezone/tzfile.h: Likewise.
8708         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8709         (TZVERSION): Hardcode tzcode version number.
8710         * timezone/zdump.c: Update from tzcode 2012i.
8711         * timezone/zic.c: Likewise.
8712         * timezone/version.h: New file.
8713         * timezone/README: Describe version.h.  Update upstream location.
8715         [BZ #14824]
8716         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8717         (mktemp): Enable declaration.
8718         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8719         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8720         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8721         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8722         Likewise.
8723         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8724         Likewise.
8725         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8726         Likewise.
8727         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8728         Likewise.
8729         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8730         Likewise.
8731         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8732         Likewise.
8734         [BZ #14821]
8735         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8736         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
8737         for copies of such integer values.
8738         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8739         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8741 2012-11-09  Andreas Jaeger  <aj@suse.de>
8743         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8744         definitions and declarations that are provided by
8745         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8747 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8749         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
8750         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8751         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8752         definition.
8754 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8756         * elf/elf.h: Update comment before AArch64 relocations.
8758 2012-11-07  David S. Miller  <davem@davemloft.net>
8760         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8761         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8762         (__start_context): Declare.
8763         (__makecontext_ret): Delete.
8764         (__makecontext): Hook up __start_context instead of
8765         __makecontext_ret.
8766         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8767         (sysdep_routines): Add __start_context when in stdlib.
8769 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8771         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8772         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8773         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
8774         hardcoded "nm".
8775         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
8776         (READELF): New variable.  Use it instead of hardcoded "readelf".
8778 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8780         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8781         * sysdeps/x86/Makefile: Here.
8782         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8783         * sysdeps/x86/tst-xmmymm.sh: This.
8785 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
8787         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8788         expectations.
8789         [UNIX98] (pthread_barrier_t): Do not expect.
8790         [UNIX98] (pthread_barrierattr_t): Likewise.
8791         [UNIX98] (pthread_spinlock_t): Likewise.
8792         [UNIX98] (pthread_barrier_destroy): Likewise.
8793         [UNIX98] (pthread_barrier_init): Likewise.
8794         [UNIX98] (pthread_barrier_wait): Likewise.
8795         [UNIX98] (pthread_barrierattr_destroy): Likewise.
8796         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8797         [UNIX98] (pthread_barrierattr_init): Likewise.
8798         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8799         [UNIX98] (pthread_getcpuclockid): Likewise.
8800         [UNIX98] (pthread_mutex_timedlock): Likewise.
8801         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8802         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8803         [UNIX98] (pthread_sigmask): Likewise.
8804         [UNIX98] (pthread_spin_destroy): Likewise.
8805         [UNIX98] (pthread_spin_init): Likewise.
8806         [UNIX98] (pthread_spin_lock): Likewise.
8807         [UNIX98] (pthread_spin_trylock): Likewise.
8808         [UNIX98] (pthread_spin_unlock): Likewise.
8809         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8810         Do not expect.
8811         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8812         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8813         [XPG3 || XPG4] (pthread_cond_t): Likewise.
8814         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8815         [XPG3 || XPG4] (pthread_key_t): Likewise.
8816         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8817         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8818         [XPG3 || XPG4] (pthread_once_t): Likewise.
8819         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8820         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8821         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8822         [XPG3 || XPG4] (pthread_t): Likewise.
8824         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8825         not expect.
8826         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8828         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8829         Change function return type to int.
8831         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8832         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8833         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8834         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8835         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8836         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8837         [!POSIX] (posix_madvise): Likewise.
8838         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8839         && !UNIX98].
8840         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8841         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8842         (mode_t): Likewise.
8843         (posix_mem_offset): Likewise.
8844         (posix_typed_mem_get_info): Likewise.
8845         (posix_typed_mem_open): Likewise.
8847         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8848         Change condition to [XOPEN2K8].
8850         * conform/conformtest.pl: Preprocess allow-header data with -x c
8851         instead of from stdin.
8852         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8853         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8854         [C99-based standards] (cerfc): Likewise.
8855         [C99-based standards] (cexp2): Likewise.
8856         [C99-based standards] (cexpm1): Likewise.
8857         [C99-based standards] (clog10): Likewise.
8858         [C99-based standards] (clog1p): Likewise.
8859         [C99-based standards] (clog2): Likewise.
8860         [C99-based standards] (clgamma): Likewise.
8861         [C99-based standards] (ctgamma): Likewise.
8862         [C99-based standards] (cerff): Likewise.
8863         [C99-based standards] (cerfcf): Likewise.
8864         [C99-based standards] (cexp2f): Likewise.
8865         [C99-based standards] (cexpm1f): Likewise.
8866         [C99-based standards] (clog10f): Likewise.
8867         [C99-based standards] (clog1pf): Likewise.
8868         [C99-based standards] (clog2f): Likewise.
8869         [C99-based standards] (clgammaf): Likewise.
8870         [C99-based standards] (ctgammaf): Likewise.
8871         [C99-based standards] (cerfl): Likewise.
8872         [C99-based standards] (cerfcl): Likewise.
8873         [C99-based standards] (cexp2l): Likewise.
8874         [C99-based standards] (cexpm1l): Likewise.
8875         [C99-based standards] (clog10l): Likewise.
8876         [C99-based standards] (clog1pl): Likewise.
8877         [C99-based standards] (clog2l): Likewise.
8878         [C99-based standards] (clgammal): Likewise.
8879         [C99-based standards] (ctgammal): Likewise.
8880         * conform/data/inttypes.h-data [C99-based standards]: Include
8881         stdint.h-data.  Remove all expectations for stdint.h contents.
8882         [C99-based standards] (PRI*): Do not allow.
8883         [C99-based standards] (SCN*): Likewise.
8884         [C99-based standards] (*_t): Likewise.
8885         [C99-based-standards] (PRId8): Expect macro.
8886         [C99-based-standards] (PRIi8): Likewise.
8887         [C99-based-standards] (PRIo8): Likewise.
8888         [C99-based-standards] (PRIu8): Likewise.
8889         [C99-based-standards] (PRIx8): Likewise.
8890         [C99-based-standards] (PRIX8): Likewise.
8891         [C99-based-standards] (SCNd8): Likewise.
8892         [C99-based-standards] (SCNi8): Likewise.
8893         [C99-based-standards] (SCNo8): Likewise.
8894         [C99-based-standards] (SCNu8): Likewise.
8895         [C99-based-standards] (SCNx8): Likewise.
8896         [C99-based-standards] (PRIdLEAST8): Likewise.
8897         [C99-based-standards] (PRIiLEAST8): Likewise.
8898         [C99-based-standards] (PRIoLEAST8): Likewise.
8899         [C99-based-standards] (PRIuLEAST8): Likewise.
8900         [C99-based-standards] (PRIxLEAST8): Likewise.
8901         [C99-based-standards] (PRIXLEAST8): Likewise.
8902         [C99-based-standards] (SCNdLEAST8): Likewise.
8903         [C99-based-standards] (SCNiLEAST8): Likewise.
8904         [C99-based-standards] (SCNoLEAST8): Likewise.
8905         [C99-based-standards] (SCNuLEAST8): Likewise.
8906         [C99-based-standards] (SCNxLEAST8): Likewise.
8907         [C99-based-standards] (PRIdFAST8): Likewise.
8908         [C99-based-standards] (PRIiFAST8): Likewise.
8909         [C99-based-standards] (PRIoFAST8): Likewise.
8910         [C99-based-standards] (PRIuFAST8): Likewise.
8911         [C99-based-standards] (PRIxFAST8): Likewise.
8912         [C99-based-standards] (PRIXFAST8): Likewise.
8913         [C99-based-standards] (SCNdFAST8): Likewise.
8914         [C99-based-standards] (SCNiFAST8): Likewise.
8915         [C99-based-standards] (SCNoFAST8): Likewise.
8916         [C99-based-standards] (SCNuFAST8): Likewise.
8917         [C99-based-standards] (SCNxFAST8): Likewise.
8918         [C99-based-standards] (PRId16): Likewise.
8919         [C99-based-standards] (PRIi16): Likewise.
8920         [C99-based-standards] (PRIo16): Likewise.
8921         [C99-based-standards] (PRIu16): Likewise.
8922         [C99-based-standards] (PRIx16): Likewise.
8923         [C99-based-standards] (PRIX16): Likewise.
8924         [C99-based-standards] (SCNd16): Likewise.
8925         [C99-based-standards] (SCNi16): Likewise.
8926         [C99-based-standards] (SCNo16): Likewise.
8927         [C99-based-standards] (SCNu16): Likewise.
8928         [C99-based-standards] (SCNx16): Likewise.
8929         [C99-based-standards] (PRIdLEAST16): Likewise.
8930         [C99-based-standards] (PRIiLEAST16): Likewise.
8931         [C99-based-standards] (PRIoLEAST16): Likewise.
8932         [C99-based-standards] (PRIuLEAST16): Likewise.
8933         [C99-based-standards] (PRIxLEAST16): Likewise.
8934         [C99-based-standards] (PRIXLEAST16): Likewise.
8935         [C99-based-standards] (SCNdLEAST16): Likewise.
8936         [C99-based-standards] (SCNiLEAST16): Likewise.
8937         [C99-based-standards] (SCNoLEAST16): Likewise.
8938         [C99-based-standards] (SCNuLEAST16): Likewise.
8939         [C99-based-standards] (SCNxLEAST16): Likewise.
8940         [C99-based-standards] (PRIdFAST16): Likewise.
8941         [C99-based-standards] (PRIiFAST16): Likewise.
8942         [C99-based-standards] (PRIoFAST16): Likewise.
8943         [C99-based-standards] (PRIuFAST16): Likewise.
8944         [C99-based-standards] (PRIxFAST16): Likewise.
8945         [C99-based-standards] (PRIXFAST16): Likewise.
8946         [C99-based-standards] (SCNdFAST16): Likewise.
8947         [C99-based-standards] (SCNiFAST16): Likewise.
8948         [C99-based-standards] (SCNoFAST16): Likewise.
8949         [C99-based-standards] (SCNuFAST16): Likewise.
8950         [C99-based-standards] (SCNxFAST16): Likewise.
8951         [C99-based-standards] (PRId32): Likewise.
8952         [C99-based-standards] (PRIi32): Likewise.
8953         [C99-based-standards] (PRIo32): Likewise.
8954         [C99-based-standards] (PRIu32): Likewise.
8955         [C99-based-standards] (PRIx32): Likewise.
8956         [C99-based-standards] (PRIX32): Likewise.
8957         [C99-based-standards] (SCNd32): Likewise.
8958         [C99-based-standards] (SCNi32): Likewise.
8959         [C99-based-standards] (SCNo32): Likewise.
8960         [C99-based-standards] (SCNu32): Likewise.
8961         [C99-based-standards] (SCNx32): Likewise.
8962         [C99-based-standards] (PRIdLEAST32): Likewise.
8963         [C99-based-standards] (PRIiLEAST32): Likewise.
8964         [C99-based-standards] (PRIoLEAST32): Likewise.
8965         [C99-based-standards] (PRIuLEAST32): Likewise.
8966         [C99-based-standards] (PRIxLEAST32): Likewise.
8967         [C99-based-standards] (PRIXLEAST32): Likewise.
8968         [C99-based-standards] (SCNdLEAST32): Likewise.
8969         [C99-based-standards] (SCNiLEAST32): Likewise.
8970         [C99-based-standards] (SCNoLEAST32): Likewise.
8971         [C99-based-standards] (SCNuLEAST32): Likewise.
8972         [C99-based-standards] (SCNxLEAST32): Likewise.
8973         [C99-based-standards] (PRIdFAST32): Likewise.
8974         [C99-based-standards] (PRIiFAST32): Likewise.
8975         [C99-based-standards] (PRIoFAST32): Likewise.
8976         [C99-based-standards] (PRIuFAST32): Likewise.
8977         [C99-based-standards] (PRIxFAST32): Likewise.
8978         [C99-based-standards] (PRIXFAST32): Likewise.
8979         [C99-based-standards] (SCNdFAST32): Likewise.
8980         [C99-based-standards] (SCNiFAST32): Likewise.
8981         [C99-based-standards] (SCNoFAST32): Likewise.
8982         [C99-based-standards] (SCNuFAST32): Likewise.
8983         [C99-based-standards] (SCNxFAST32): Likewise.
8984         [C99-based-standards] (PRId64): Likewise.
8985         [C99-based-standards] (PRIi64): Likewise.
8986         [C99-based-standards] (PRIo64): Likewise.
8987         [C99-based-standards] (PRIu64): Likewise.
8988         [C99-based-standards] (PRIx64): Likewise.
8989         [C99-based-standards] (PRIX64): Likewise.
8990         [C99-based-standards] (SCNd64): Likewise.
8991         [C99-based-standards] (SCNi64): Likewise.
8992         [C99-based-standards] (SCNo64): Likewise.
8993         [C99-based-standards] (SCNu64): Likewise.
8994         [C99-based-standards] (SCNx64): Likewise.
8995         [C99-based-standards] (PRIdLEAST64): Likewise.
8996         [C99-based-standards] (PRIiLEAST64): Likewise.
8997         [C99-based-standards] (PRIoLEAST64): Likewise.
8998         [C99-based-standards] (PRIuLEAST64): Likewise.
8999         [C99-based-standards] (PRIxLEAST64): Likewise.
9000         [C99-based-standards] (PRIXLEAST64): Likewise.
9001         [C99-based-standards] (SCNdLEAST64): Likewise.
9002         [C99-based-standards] (SCNiLEAST64): Likewise.
9003         [C99-based-standards] (SCNoLEAST64): Likewise.
9004         [C99-based-standards] (SCNuLEAST64): Likewise.
9005         [C99-based-standards] (SCNxLEAST64): Likewise.
9006         [C99-based-standards] (PRIdFAST64): Likewise.
9007         [C99-based-standards] (PRIiFAST64): Likewise.
9008         [C99-based-standards] (PRIoFAST64): Likewise.
9009         [C99-based-standards] (PRIuFAST64): Likewise.
9010         [C99-based-standards] (PRIxFAST64): Likewise.
9011         [C99-based-standards] (PRIXFAST64): Likewise.
9012         [C99-based-standards] (SCNdFAST64): Likewise.
9013         [C99-based-standards] (SCNiFAST64): Likewise.
9014         [C99-based-standards] (SCNoFAST64): Likewise.
9015         [C99-based-standards] (SCNuFAST64): Likewise.
9016         [C99-based-standards] (SCNxFAST64): Likewise.
9017         [C99-based-standards] (PRIdMAX): Likewise.
9018         [C99-based-standards] (PRIiMAX): Likewise.
9019         [C99-based-standards] (PRIoMAX): Likewise.
9020         [C99-based-standards] (PRIuMAX): Likewise.
9021         [C99-based-standards] (PRIxMAX): Likewise.
9022         [C99-based-standards] (PRIXMAX): Likewise.
9023         [C99-based-standards] (SCNdMAX): Likewise.
9024         [C99-based-standards] (SCNiMAX): Likewise.
9025         [C99-based-standards] (SCNoMAX): Likewise.
9026         [C99-based-standards] (SCNuMAX): Likewise.
9027         [C99-based-standards] (SCNxMAX): Likewise.
9028         [C99-based-standards] (PRIdPTR): Likewise.
9029         [C99-based-standards] (PRIiPTR): Likewise.
9030         [C99-based-standards] (PRIoPTR): Likewise.
9031         [C99-based-standards] (PRIuPTR): Likewise.
9032         [C99-based-standards] (PRIxPTR): Likewise.
9033         [C99-based-standards] (PRIXPTR): Likewise.
9034         [C99-based-standards] (SCNdPTR): Likewise.
9035         [C99-based-standards] (SCNiPTR): Likewise.
9036         [C99-based-standards] (SCNoPTR): Likewise.
9037         [C99-based-standards] (SCNuPTR): Likewise.
9038         [C99-based-standards] (SCNxPTR): Likewise.
9039         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9040         allow.
9041         * conform/data/stdint.h-data: Update comments to clarify
9042         requirements.
9043         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
9044         type.
9045         [C99-based standards] (INT8_MAX): Likewise.
9046         [C99-based standards] (INT16_MIN): Likewise.
9047         [C99-based standards] (INT16_MAX): Likewise.
9048         [C99-based standards] (INT32_MIN): Likewise.
9049         [C99-based standards] (INT32_MAX): Likewise.
9050         [C99-based standards] (INT64_MIN): Likewise.
9051         [C99-based standards] (INT64_MAX): Likewise.
9052         [C99-based standards] (UINT8_MAX): Likewise.
9053         [C99-based standards] (UINT16_MAX): Likewise.
9054         [C99-based standards] (UINT32_MAX): Likewise.
9055         [C99-based standards] (UINT64_MAX): Likewise.
9056         [C99-based standards] (INT_LEAST8_MIN): Likewise.
9057         [C99-based standards] (INT_LEAST8_MAX): Likewise.
9058         [C99-based standards] (INT_LEAST16_MIN): Likewise.
9059         [C99-based standards] (INT_LEAST16_MAX): Likewise.
9060         [C99-based standards] (INT_LEAST32_MIN): Likewise.
9061         [C99-based standards] (INT_LEAST32_MAX): Likewise.
9062         [C99-based standards] (INT_LEAST64_MIN): Likewise.
9063         [C99-based standards] (INT_LEAST64_MAX): Likewise.
9064         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9065         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9066         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9067         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9068         [C99-based standards] (INT_FAST8_MIN): Likewise.
9069         [C99-based standards] (INT_FAST8_MAX): Likewise.
9070         [C99-based standards] (INT_FAST16_MIN): Likewise.
9071         [C99-based standards] (INT_FAST16_MAX): Likewise.
9072         [C99-based standards] (INT_FAST32_MIN): Likewise.
9073         [C99-based standards] (INT_FAST32_MAX): Likewise.
9074         [C99-based standards] (INT_FAST64_MIN): Likewise.
9075         [C99-based standards] (INT_FAST64_MAX): Likewise.
9076         [C99-based standards] (UINT_FAST8_MAX): Likewise.
9077         [C99-based standards] (UINT_FAST16_MAX): Likewise.
9078         [C99-based standards] (UINT_FAST32_MAX): Likewise.
9079         [C99-based standards] (UINT_FAST64_MAX): Likewise.
9080         [C99-based standards] (INTPTR_MIN): Likewise.
9081         [C99-based standards] (INTPTR_MAX): Likewise.
9082         [C99-based standards] (UINTPTR_MAX): Likewise.
9083         [C99-based standards] (INTMAX_MIN): Likewise.
9084         [C99-based standards] (INTMAX_MAX): Likewise.
9085         [C99-based standards] (UINTMAX_MAX): Likewise.
9086         [C99-based standards] (PTRDIFF_MIN): Likewise.
9087         [C99-based standards] (PTRDIFF_MAX): Likewise.
9088         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9089         [C99-based standards] (SIZE_MAX): Likewise.
9090         [C99-based standards] (WCHAR_MAX): Likewise.
9091         [C99-based standards] (WINT_MAX): Likewise.
9092         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
9093         constraint on value.
9094         [C99-based standards] (WCHAR_MIN): Likewise.
9095         [C99-based standards] (WINT_MIN): Likewise.
9096         [C99-based standards] (*_t): Allow.
9097         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9098         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9099         Include math.h-data and complex.h-data.  Remove all expectations
9100         of math.h and complex.h contents.
9101         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9102         at end of line.
9103         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9104         (struct tm): Expect tag.
9105         [C99-based-standards] (wcstof): Expect function.
9106         [C99-based-standards] (wcstold): Likewise.
9107         [C99-based-standards] (wcstoll): Likewise.
9108         [C99-based-standards] (wcstoull): Likewise.
9109         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9110         macro-int-constant.  Specify type.
9111         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
9112         constraint on value.
9113         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9114         Specify type.
9115         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9116         Specify value.
9117         [ISO C standards]: Do not allow headers.
9118         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9119         wcs[abcdefghijklmnopqrstuvwxyz]*.
9120         [ISO C standards] (*_t): Do not allow.
9121         * conform/data/wctype.h-data [C99-based standards] (iswblank):
9122         Expect function.
9123         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9124         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9125         Specify type.
9126         [ISO C standards]: Do not allow headers.
9127         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9128         is[abcdefghijklmnopqrstuvwxyz]*.
9129         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9130         to[abcdefghijklmnopqrstuvwxyz]*.
9131         [ISO C standards] (*_t): Do not allow.
9132         * conform/data/stdalign.h-data: New file.
9133         * conform/data/stdbool.h-data: Likewise.
9134         * conform/data/stdnoreturn.h-data: Likewise.
9136 2012-11-07  Roland McGrath  <roland@hack.frob.com>
9138         [BZ #14815]
9139         * manual/filesys.texi (Directory Entries): Typo fix.
9140         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9142 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9144         * elf/elf.h (EM_AARCH64): New macro.
9145         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9146         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9147         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9148         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9149         (R_AARCH64_TLSDESC): Likewise.
9150         (NT_ARM_TLS): Likewise.
9151         (NT_ARM_HW_BREAK): Likewise.
9152         (NT_ARM_HW_WATCH): Likewise.
9154 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9156         [BZ #14811]
9157         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9158         (__ieee754_powl): Saturate nonzero exponents with absolute value
9159         below 0x1p-79 to +/- 0x1p-79.
9160         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9161         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9162         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9163         nonzero exponents with absolute value below 0x1p-32 to +/-
9164         0x1p-32.
9165         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9166         (__ieee754_powl): Saturate nonzero exponents with absolute value
9167         below 0x1p-79 to +/- 0x1p-79.
9168         * math/libm-test.inc (pow_test): Add more tests.
9170 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9172         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9173         _dl_s390_cap_flags with kernel. Increase string length.
9174         (_dl_s390_platforms): Add z196 and zEC12.
9176 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9178         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9179         Change XOPEN21K to XOPEN2K.
9181 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
9183         * string/memmove.c: Use memcpy when possible.
9185 2012-11-06  Andreas Jaeger  <aj@suse.de>
9187         * po/eo.po: Update from translation team.
9189 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
9191         [BZ #14793]
9192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9193         exponent and small x and y exponents, scale x or y up.  Increase
9194         by 2 the exponent used in scaling up.
9195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9197         * math/libm-test.inc (fma_test): Add more tests.
9198         (fma_test_towardzero): Likewise.
9199         (fma_test_downward): Likewise.
9200         (fma_test_upward): Likewise.
9202 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
9204         [BZ #14805]
9205         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9206         fenv_t *.
9208         [BZ #14801]
9209         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9210         namespace for names of struct fields.
9211         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9212         fenv_t fields.
9213         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9214         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9216 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9218         [BZ #3665]
9219         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9221 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9223         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9224         PTR_DEMANGLE.
9226         [BZ #5246]
9227         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9228         PTR_DEMANGLE.
9230 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
9232         [BZ #14797]
9233         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9234         definitely overflow as x * y not x * y + z.
9235         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9236         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9237         * math/libm-test.inc (fma_test): Add more tests.
9238         (fma_test_towardzero): Likewise.
9239         (fma_test_downward): Likewise.
9240         (fma_test_upward): Likewise.
9242 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9244         [BZ #157]
9246         * include/stub-tag.h: Remove file.
9247         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9248         '#include' of it.
9249         * manual/maint.texi (Porting): Don't reference it.
9250         * Makerules ($(objpfx)stubs): Likewise.
9251         * dirent/closedir.c: Don't include <stub-tag.h>.
9252         * dirent/dirfd.c: Likewise.
9253         * dirent/fdopendir.c: Likewise.
9254         * dirent/getdents.c: Likewise.
9255         * dirent/getdents64.c: Likewise.
9256         * dirent/opendir.c: Likewise.
9257         * dirent/readdir.c: Likewise.
9258         * dirent/readdir64.c: Likewise.
9259         * dirent/readdir64_r.c: Likewise.
9260         * dirent/readdir_r.c: Likewise.
9261         * dirent/rewinddir.c: Likewise.
9262         * dirent/seekdir.c: Likewise.
9263         * dirent/telldir.c: Likewise.
9264         * gmon/profil.c: Likewise.
9265         * grp/setgroups.c: Likewise.
9266         * inet/if_index.c: Likewise.
9267         * io/access.c: Likewise.
9268         * io/chdir.c: Likewise.
9269         * io/chmod.c: Likewise.
9270         * io/chown.c: Likewise.
9271         * io/close.c: Likewise.
9272         * io/dup.c: Likewise.
9273         * io/dup2.c: Likewise.
9274         * io/dup3.c: Likewise.
9275         * io/euidaccess.c: Likewise.
9276         * io/faccessat.c: Likewise.
9277         * io/fchdir.c: Likewise.
9278         * io/fchmod.c: Likewise.
9279         * io/fchmodat.c: Likewise.
9280         * io/fchown.c: Likewise.
9281         * io/fchownat.c: Likewise.
9282         * io/fcntl.c: Likewise.
9283         * io/flock.c: Likewise.
9284         * io/fstatfs.c: Likewise.
9285         * io/fstatfs64.c: Likewise.
9286         * io/fstatvfs.c: Likewise.
9287         * io/fstatvfs64.c: Likewise.
9288         * io/futimens.c: Likewise.
9289         * io/fxstat.c: Likewise.
9290         * io/fxstat64.c: Likewise.
9291         * io/fxstatat.c: Likewise.
9292         * io/fxstatat64.c: Likewise.
9293         * io/getcwd.c: Likewise.
9294         * io/isatty.c: Likewise.
9295         * io/lchmod.c: Likewise.
9296         * io/lchown.c: Likewise.
9297         * io/link.c: Likewise.
9298         * io/linkat.c: Likewise.
9299         * io/lseek.c: Likewise.
9300         * io/lseek64.c: Likewise.
9301         * io/lxstat64.c: Likewise.
9302         * io/mkdir.c: Likewise.
9303         * io/mkdirat.c: Likewise.
9304         * io/mkfifo.c: Likewise.
9305         * io/mkfifoat.c: Likewise.
9306         * io/open.c: Likewise.
9307         * io/open64.c: Likewise.
9308         * io/openat.c: Likewise.
9309         * io/openat64.c: Likewise.
9310         * io/pipe.c: Likewise.
9311         * io/pipe2.c: Likewise.
9312         * io/poll.c: Likewise.
9313         * io/posix_fadvise.c: Likewise.
9314         * io/posix_fadvise64.c: Likewise.
9315         * io/posix_fallocate.c: Likewise.
9316         * io/posix_fallocate64.c: Likewise.
9317         * io/read.c: Likewise.
9318         * io/readlink.c: Likewise.
9319         * io/readlinkat.c: Likewise.
9320         * io/rmdir.c: Likewise.
9321         * io/sendfile.c: Likewise.
9322         * io/sendfile64.c: Likewise.
9323         * io/statfs.c: Likewise.
9324         * io/statfs64.c: Likewise.
9325         * io/statvfs.c: Likewise.
9326         * io/statvfs64.c: Likewise.
9327         * io/symlink.c: Likewise.
9328         * io/symlinkat.c: Likewise.
9329         * io/ttyname.c: Likewise.
9330         * io/ttyname_r.c: Likewise.
9331         * io/umask.c: Likewise.
9332         * io/unlink.c: Likewise.
9333         * io/unlinkat.c: Likewise.
9334         * io/utime.c: Likewise.
9335         * io/utimensat.c: Likewise.
9336         * io/write.c: Likewise.
9337         * io/xmknod.c: Likewise.
9338         * io/xmknodat.c: Likewise.
9339         * io/xstat.c: Likewise.
9340         * io/xstat64.c: Likewise.
9341         * login/getpt.c: Likewise.
9342         * login/grantpt.c: Likewise.
9343         * login/unlockpt.c: Likewise.
9344         * math/e_acoshl.c: Likewise.
9345         * math/e_acosl.c: Likewise.
9346         * math/e_asinl.c: Likewise.
9347         * math/e_atan2l.c: Likewise.
9348         * math/e_atanhl.c: Likewise.
9349         * math/e_coshl.c: Likewise.
9350         * math/e_expl.c: Likewise.
9351         * math/e_fmodl.c: Likewise.
9352         * math/e_gammal_r.c: Likewise.
9353         * math/e_hypotl.c: Likewise.
9354         * math/e_j0l.c: Likewise.
9355         * math/e_j1l.c: Likewise.
9356         * math/e_jnl.c: Likewise.
9357         * math/e_lgammal_r.c: Likewise.
9358         * math/e_log10l.c: Likewise.
9359         * math/e_log2l.c: Likewise.
9360         * math/e_logl.c: Likewise.
9361         * math/e_powl.c: Likewise.
9362         * math/e_rem_pio2l.c: Likewise.
9363         * math/e_sinhl.c: Likewise.
9364         * math/e_sqrtl.c: Likewise.
9365         * math/fclrexcpt.c: Likewise.
9366         * math/fedisblxcpt.c: Likewise.
9367         * math/feenablxcpt.c: Likewise.
9368         * math/fegetenv.c: Likewise.
9369         * math/fegetexcept.c: Likewise.
9370         * math/fegetround.c: Likewise.
9371         * math/feholdexcpt.c: Likewise.
9372         * math/fesetenv.c: Likewise.
9373         * math/fesetround.c: Likewise.
9374         * math/feupdateenv.c: Likewise.
9375         * math/fgetexcptflg.c: Likewise.
9376         * math/fraiseexcpt.c: Likewise.
9377         * math/fsetexcptflg.c: Likewise.
9378         * math/ftestexcept.c: Likewise.
9379         * math/k_cosl.c: Likewise.
9380         * math/k_rem_pio2l.c: Likewise.
9381         * math/k_sinl.c: Likewise.
9382         * math/k_tanl.c: Likewise.
9383         * math/s_asinhl.c: Likewise.
9384         * math/s_atanl.c: Likewise.
9385         * math/s_cbrtl.c: Likewise.
9386         * math/s_erfl.c: Likewise.
9387         * math/s_expm1l.c: Likewise.
9388         * math/s_log1pl.c: Likewise.
9389         * math/s_tanhl.c: Likewise.
9390         * misc/acct.c: Likewise.
9391         * misc/brk.c: Likewise.
9392         * misc/chflags.c: Likewise.
9393         * misc/chroot.c: Likewise.
9394         * misc/fchflags.c: Likewise.
9395         * misc/fgetxattr.c: Likewise.
9396         * misc/flistxattr.c: Likewise.
9397         * misc/fremovexattr.c: Likewise.
9398         * misc/fsetxattr.c: Likewise.
9399         * misc/fsync.c: Likewise.
9400         * misc/ftruncate.c: Likewise.
9401         * misc/futimes.c: Likewise.
9402         * misc/futimesat.c: Likewise.
9403         * misc/getdomain.c: Likewise.
9404         * misc/getdtsz.c: Likewise.
9405         * misc/gethostid.c: Likewise.
9406         * misc/gethostname.c: Likewise.
9407         * misc/getloadavg.c: Likewise.
9408         * misc/getpagesize.c: Likewise.
9409         * misc/getsysstats.c: Likewise.
9410         * misc/getxattr.c: Likewise.
9411         * misc/gtty.c: Likewise.
9412         * misc/ioctl.c: Likewise.
9413         * misc/lgetxattr.c: Likewise.
9414         * misc/listxattr.c: Likewise.
9415         * misc/llistxattr.c: Likewise.
9416         * misc/lremovexattr.c: Likewise.
9417         * misc/lsetxattr.c: Likewise.
9418         * misc/lutimes.c: Likewise.
9419         * misc/madvise.c: Likewise.
9420         * misc/mincore.c: Likewise.
9421         * misc/mlock.c: Likewise.
9422         * misc/mlockall.c: Likewise.
9423         * misc/mmap.c: Likewise.
9424         * misc/mprotect.c: Likewise.
9425         * misc/msync.c: Likewise.
9426         * misc/munlock.c: Likewise.
9427         * misc/munlockall.c: Likewise.
9428         * misc/munmap.c: Likewise.
9429         * misc/preadv.c: Likewise.
9430         * misc/preadv64.c: Likewise.
9431         * misc/ptrace.c: Likewise.
9432         * misc/pwritev.c: Likewise.
9433         * misc/pwritev64.c: Likewise.
9434         * misc/readv.c: Likewise.
9435         * misc/reboot.c: Likewise.
9436         * misc/remap_file_pages.c: Likewise.
9437         * misc/removexattr.c: Likewise.
9438         * misc/revoke.c: Likewise.
9439         * misc/select.c: Likewise.
9440         * misc/setdomain.c: Likewise.
9441         * misc/setegid.c: Likewise.
9442         * misc/seteuid.c: Likewise.
9443         * misc/sethostid.c: Likewise.
9444         * misc/sethostname.c: Likewise.
9445         * misc/setregid.c: Likewise.
9446         * misc/setreuid.c: Likewise.
9447         * misc/setxattr.c: Likewise.
9448         * misc/sstk.c: Likewise.
9449         * misc/stty.c: Likewise.
9450         * misc/swapoff.c: Likewise.
9451         * misc/swapon.c: Likewise.
9452         * misc/sync.c: Likewise.
9453         * misc/syncfs.c: Likewise.
9454         * misc/syscall.c: Likewise.
9455         * misc/truncate.c: Likewise.
9456         * misc/ualarm.c: Likewise.
9457         * misc/usleep.c: Likewise.
9458         * misc/ustat.c: Likewise.
9459         * misc/utimes.c: Likewise.
9460         * misc/vhangup.c: Likewise.
9461         * misc/writev.c: Likewise.
9462         * posix/_exit.c: Likewise.
9463         * posix/alarm.c: Likewise.
9464         * posix/execve.c: Likewise.
9465         * posix/fexecve.c: Likewise.
9466         * posix/fork.c: Likewise.
9467         * posix/fpathconf.c: Likewise.
9468         * posix/getaddrinfo.c: Likewise.
9469         * posix/getegid.c: Likewise.
9470         * posix/geteuid.c: Likewise.
9471         * posix/getgid.c: Likewise.
9472         * posix/getgroups.c: Likewise.
9473         * posix/getlogin.c: Likewise.
9474         * posix/getlogin_r.c: Likewise.
9475         * posix/getpgid.c: Likewise.
9476         * posix/getpid.c: Likewise.
9477         * posix/getppid.c: Likewise.
9478         * posix/getresgid.c: Likewise.
9479         * posix/getresuid.c: Likewise.
9480         * posix/getsid.c: Likewise.
9481         * posix/getuid.c: Likewise.
9482         * posix/glob64.c: Likewise.
9483         * posix/nanosleep.c: Likewise.
9484         * posix/pathconf.c: Likewise.
9485         * posix/pause.c: Likewise.
9486         * posix/posix_madvise.c: Likewise.
9487         * posix/pread.c: Likewise.
9488         * posix/pread64.c: Likewise.
9489         * posix/pwrite.c: Likewise.
9490         * posix/pwrite64.c: Likewise.
9491         * posix/sched_getaffinity.c: Likewise.
9492         * posix/sched_getp.c: Likewise.
9493         * posix/sched_gets.c: Likewise.
9494         * posix/sched_primax.c: Likewise.
9495         * posix/sched_primin.c: Likewise.
9496         * posix/sched_rr_gi.c: Likewise.
9497         * posix/sched_setaffinity.c: Likewise.
9498         * posix/sched_setp.c: Likewise.
9499         * posix/sched_sets.c: Likewise.
9500         * posix/sched_yield.c: Likewise.
9501         * posix/setgid.c: Likewise.
9502         * posix/setlogin.c: Likewise.
9503         * posix/setpgid.c: Likewise.
9504         * posix/setresgid.c: Likewise.
9505         * posix/setresuid.c: Likewise.
9506         * posix/setsid.c: Likewise.
9507         * posix/setuid.c: Likewise.
9508         * posix/sleep.c: Likewise.
9509         * posix/spawni.c: Likewise.
9510         * posix/sysconf.c: Likewise.
9511         * posix/times.c: Likewise.
9512         * posix/wait.c: Likewise.
9513         * posix/wait3.c: Likewise.
9514         * posix/wait4.c: Likewise.
9515         * posix/waitpid.c: Likewise.
9516         * resolv/gai_sigqueue.c: Likewise.
9517         * resource/getpriority.c: Likewise.
9518         * resource/getrlimit.c: Likewise.
9519         * resource/getrusage.c: Likewise.
9520         * resource/nice.c: Likewise.
9521         * resource/setpriority.c: Likewise.
9522         * resource/setrlimit.c: Likewise.
9523         * resource/ulimit.c: Likewise.
9524         * rt/aio_cancel.c: Likewise.
9525         * rt/aio_fsync.c: Likewise.
9526         * rt/aio_read.c: Likewise.
9527         * rt/aio_sigqueue.c: Likewise.
9528         * rt/aio_suspend.c: Likewise.
9529         * rt/aio_write.c: Likewise.
9530         * rt/clock_getres.c: Likewise.
9531         * rt/clock_gettime.c: Likewise.
9532         * rt/clock_nanosleep.c: Likewise.
9533         * rt/clock_settime.c: Likewise.
9534         * rt/lio_listio.c: Likewise.
9535         * rt/mq_close.c: Likewise.
9536         * rt/mq_getattr.c: Likewise.
9537         * rt/mq_notify.c: Likewise.
9538         * rt/mq_open.c: Likewise.
9539         * rt/mq_receive.c: Likewise.
9540         * rt/mq_send.c: Likewise.
9541         * rt/mq_setattr.c: Likewise.
9542         * rt/mq_timedreceive.c: Likewise.
9543         * rt/mq_timedsend.c: Likewise.
9544         * rt/mq_unlink.c: Likewise.
9545         * rt/shm_open.c: Likewise.
9546         * rt/shm_unlink.c: Likewise.
9547         * rt/timer_create.c: Likewise.
9548         * rt/timer_delete.c: Likewise.
9549         * rt/timer_getoverr.c: Likewise.
9550         * rt/timer_gettime.c: Likewise.
9551         * rt/timer_settime.c: Likewise.
9552         * setjmp/__longjmp.c: Likewise.
9553         * setjmp/setjmp.c: Likewise.
9554         * signal/kill.c: Likewise.
9555         * signal/killpg.c: Likewise.
9556         * signal/raise.c: Likewise.
9557         * signal/sigaction.c: Likewise.
9558         * signal/sigaltstack.c: Likewise.
9559         * signal/sigblock.c: Likewise.
9560         * signal/sigignore.c: Likewise.
9561         * signal/sigintr.c: Likewise.
9562         * signal/signal.c: Likewise.
9563         * signal/sigpause.c: Likewise.
9564         * signal/sigpending.c: Likewise.
9565         * signal/sigqueue.c: Likewise.
9566         * signal/sigreturn.c: Likewise.
9567         * signal/sigset.c: Likewise.
9568         * signal/sigsetmask.c: Likewise.
9569         * signal/sigstack.c: Likewise.
9570         * signal/sigsuspend.c: Likewise.
9571         * signal/sigtimedwait.c: Likewise.
9572         * signal/sigvec.c: Likewise.
9573         * signal/sigwait.c: Likewise.
9574         * signal/sigwaitinfo.c: Likewise.
9575         * signal/sysv_signal.c: Likewise.
9576         * socket/accept.c: Likewise.
9577         * socket/accept4.c: Likewise.
9578         * socket/bind.c: Likewise.
9579         * socket/connect.c: Likewise.
9580         * socket/getpeername.c: Likewise.
9581         * socket/getsockname.c: Likewise.
9582         * socket/getsockopt.c: Likewise.
9583         * socket/isfdtype.c: Likewise.
9584         * socket/listen.c: Likewise.
9585         * socket/recv.c: Likewise.
9586         * socket/recvfrom.c: Likewise.
9587         * socket/recvmsg.c: Likewise.
9588         * socket/send.c: Likewise.
9589         * socket/sendmsg.c: Likewise.
9590         * socket/sendto.c: Likewise.
9591         * socket/setsockopt.c: Likewise.
9592         * socket/shutdown.c: Likewise.
9593         * socket/sockatmark.c: Likewise.
9594         * socket/socket.c: Likewise.
9595         * socket/socketpair.c: Likewise.
9596         * stdio-common/ctermid.c: Likewise.
9597         * stdio-common/cuserid.c: Likewise.
9598         * stdio-common/remove.c: Likewise.
9599         * stdio-common/rename.c: Likewise.
9600         * stdio-common/renameat.c: Likewise.
9601         * stdio-common/tempname.c: Likewise.
9602         * stdlib/getcontext.c: Likewise.
9603         * stdlib/makecontext.c: Likewise.
9604         * stdlib/setcontext.c: Likewise.
9605         * stdlib/swapcontext.c: Likewise.
9606         * stdlib/system.c: Likewise.
9607         * streams/fattach.c: Likewise.
9608         * streams/fdetach.c: Likewise.
9609         * streams/getmsg.c: Likewise.
9610         * streams/getpmsg.c: Likewise.
9611         * streams/putmsg.c: Likewise.
9612         * streams/putpmsg.c: Likewise.
9613         * sysdeps/unix/bsd/getpt.c: Likewise.
9614         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9615         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9616         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9618         Likewise.
9619         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9620         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9621         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9622         * sysvipc/msgctl.c: Likewise.
9623         * sysvipc/msgget.c: Likewise.
9624         * sysvipc/msgrcv.c: Likewise.
9625         * sysvipc/msgsnd.c: Likewise.
9626         * sysvipc/semctl.c: Likewise.
9627         * sysvipc/semget.c: Likewise.
9628         * sysvipc/semop.c: Likewise.
9629         * sysvipc/semtimedop.c: Likewise.
9630         * sysvipc/shmat.c: Likewise.
9631         * sysvipc/shmctl.c: Likewise.
9632         * sysvipc/shmdt.c: Likewise.
9633         * sysvipc/shmget.c: Likewise.
9634         * termios/tcdrain.c: Likewise.
9635         * termios/tcflow.c: Likewise.
9636         * termios/tcflush.c: Likewise.
9637         * termios/tcgetattr.c: Likewise.
9638         * termios/tcgetpgrp.c: Likewise.
9639         * termios/tcsendbrk.c: Likewise.
9640         * termios/tcsetattr.c: Likewise.
9641         * termios/tcsetpgrp.c: Likewise.
9642         * time/adjtime.c: Likewise.
9643         * time/clock.c: Likewise.
9644         * time/getitimer.c: Likewise.
9645         * time/gettimeofday.c: Likewise.
9646         * time/setitimer.c: Likewise.
9647         * time/settimeofday.c: Likewise.
9648         * time/stime.c: Likewise.
9649         * time/time.c: Likewise.
9651 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
9653         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9654         /usr/old/bin.
9656         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9657         instead of spaces.
9658         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9660 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
9662         [BZ #14796]
9663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9664         FE_TONEAREST before applying Dekker multiplication and Knuth
9665         addition.  Clear inexact exceptions and check for exact zero
9666         results afterwards.
9667         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9668         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9669         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9670         * math/libm-test.inc (fma_test): Add more tests.
9671         (fma_test_towardzero): Likewise.
9672         (fma_test_downward): Likewise.
9673         (fma_test_upward): Likewise.
9674         * sysdeps/generic/math_private.h (default_libc_fesetround): New
9675         function.
9676         (libc_fesetround): New macro.
9677         (libc_fesetroundf): Likewise.
9678         (libc_fesetroundl): Likewise.
9679         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9680         function.
9681         (libc_fesetround_387): Likewise.
9682         (libc_fesetroundf): New macro.
9683         (libc_fesetround): Likewise.
9684         (libc_fesetroundl): Likewise.
9685         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9686         function.
9687         (libc_fesetroundf): New macro.
9688         (libc_fesetround): Likewise.
9689         (libc_fesetroundl): Likewise.
9690         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9691         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9692         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9693         libm_hidden_ver.
9694         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9695         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9696         libm_hidden_def.
9697         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9698         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9699         libm_hidden_ver.
9700         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9701         libm_hidden_def.
9703         [BZ #3439]
9704         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9705         integer constant usable in #if and use that to give value to enum
9706         constant.
9707         (FE_DIVBYZERO): Likewise.
9708         (FE_UNDERFLOW): Likewise.
9709         (FE_OVERFLOW): Likewise.
9710         (FE_INVALID): Likewise.
9711         (FE_INVALID_SNAN): Likewise.
9712         (FE_INVALID_ISI): Likewise.
9713         (FE_INVALID_IDI): Likewise.
9714         (FE_INVALID_ZDZ): Likewise.
9715         (FE_INVALID_IMZ): Likewise.
9716         (FE_INVALID_COMPARE): Likewise.
9717         (FE_INVALID_SOFTWARE): Likewise.
9718         (FE_INVALID_SQRT): Likewise.
9719         (FE_INVALID_INTEGER_CONVERSION): Likewise.
9720         (FE_TONEAREST): Likewise.
9721         (FE_TOWARDZERO): Likewise.
9722         (FE_UPWARD): Likewise.
9723         (FE_DOWNWARD): Likewise.
9724         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9725         (FE_DIVBYZERO): Likewise.
9726         (FE_OVERFLOW): Likewise.
9727         (FE_UNDERFLOW): Likewise.
9728         (FE_INEXACT): Likewise.
9729         (FE_TONEAREST): Likewise.
9730         (FE_DOWNWARD): Likewise.
9731         (FE_UPWARD): Likewise.
9732         (FE_TOWARDZERO): Likewise.
9733         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9734         (FE_UNDERFLOW): Likewise.
9735         (FE_OVERFLOW): Likewise.
9736         (FE_DIVBYZERO): Likewise.
9737         (FE_INVALID): Likewise.
9738         (FE_TONEAREST): Likewise.
9739         (FE_TOWARDZERO): Likewise.
9740         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9741         (FE_OVERFLOW): Likewise.
9742         (FE_UNDERFLOW): Likewise.
9743         (FE_DIVBYZERO): Likewise.
9744         (FE_INEXACT): Likewise.
9745         (FE_TONEAREST): Likewise.
9746         (FE_TOWARDZERO): Likewise.
9747         (FE_UPWARD): Likewise.
9748         (FE_DOWNWARD): Likewise.
9749         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9750         (FE_DIVBYZERO): Likewise.
9751         (FE_OVERFLOW): Likewise.
9752         (FE_UNDERFLOW): Likewise.
9753         (FE_INEXACT): Likewise.
9754         (FE_TONEAREST): Likewise.
9755         (FE_DOWNWARD): Likewise.
9756         (FE_UPWARD): Likewise.
9757         (FE_TOWARDZERO): Likewise.
9759 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
9761         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9763 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
9765         * scripts/cross-test-ssh.sh (command): Use newlines to separate
9766         commands.  Quote $PWD.
9767         (blacklist_exports): Don't use remove_newlines.  Replace "declare
9768         -x" by "export".
9769         (remove_newlines): Remove.
9771 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
9773         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9774         * stdlib/stdlib.h (atof): Moved to ...
9775         * include/bits/stdlib-float.h: Here.  New file.
9776         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9777         * stdlib/bits/stdlib-float.h: New file.
9778         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9779         -mno-sse -mno-mmx.
9780         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9781         <xmmintrin.h>.
9783 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
9785         * conform/conformtest.pl (@headers): Add fenv.h.
9786         * conform/data/fenv.h-data: New file.
9787         * include/fenv.h [_ISOMAC]: Disable all contents of file except
9788         include of <math/fenv.h>.
9790         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9791         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9792         && !UNIX98].  Enables tests for XOPEN2K8.
9793         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9794         POSIX2008]: Likewise.
9796         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9797         (struct rusage): Do not expect type or its members.
9799         [BZ #3439]
9800         * math/math.h (FP_NAN): Define macro to integer constant usable in
9801         #if and use that to give value to enum constant.
9802         (FP_INFINITE): Likewise.
9803         (FP_ZERO): Likewise.
9804         (FP_SUBNORMAL): Likewise.
9805         (FP_NORMAL): Likewise.
9807 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
9809         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9810         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9811         arguments.
9813 2012-11-02  Roland McGrath  <roland@hack.frob.com>
9815         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9816         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9817         autoconf-time if not.
9818         * configure.in: Remove AC_PREREQ.
9820 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9822         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9823         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9824         of the internal implementation.
9826 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
9828         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9829         except include of <misc/sys/syslog.h>.
9831 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
9833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9834         function returns with a NULL context exit with zero.
9836 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9838         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9840 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
9842         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9843         (run_program_cmd): This.
9844         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9845         (tst_langinfo): New variable.  Use it.
9847 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
9849         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9850         floating point opcodes.
9852 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
9854         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9855         variable.
9857         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9859         * sysdeps/mach/hurd/powerpc: Remove directory.
9860         * sysdeps/mach/powerpc: Likewise.
9862 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
9864         * scripts/check-local-headers.sh: Ignore c++ headers.
9866 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
9868         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9869         __libc_cleanup_region_start argument.
9871 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
9873         [BZ #14784]
9874         [BZ #14785]
9875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9876         x * y using scaling, not as x * y + z.
9877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9879         * math/libm-test.inc (fma_test): Add more tests.
9880         (fma_test_towardzero): Likewise.
9881         (fma_test_downward): Likewise.
9882         (fma_test_upward): Likewise.
9884 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
9886         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9888 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
9890         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9891         New variable.
9893 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
9895         * rt/tst-shm.c (worker): Correct checking for mmap failure.
9897 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9900         Fix sort order.
9901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9902         Likewise.
9904 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9907         Fix the order of the list for glibc 2.17.
9908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9909         Likewise.
9911 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
9913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9915 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
9917         [BZ #14610]
9918         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9919         for low part of x being zero before using __atanl (y).
9920         * math/libm-test.inc (atan2_test): Add another test.
9922         * manual/install.texi (Configuring and compiling): Document
9923         general use of test-wrapper and test-wrapper-env.
9924         * INSTALL: Regenerated.
9926         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9927         (__fma): Do not extract and scale down low bits on after-rounding
9928         systems when result rounded to normal precision would have normal
9929         exponent.
9930         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9931         (__fmal): Do not extract and scale down low bits on after-rounding
9932         systems when result rounded to normal precision would have normal
9933         exponent.
9934         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9935         (__fmal): Do not extract and scale down low bits on after-rounding
9936         systems when result rounded to normal precision would have normal
9937         exponent.
9938         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9939         macro.
9940         (fma_test): Add more tests.
9941         (fma_test_towardzero): Likewise.
9942         (fma_test_downward): Likewise.
9943         (fma_test_upward): Likewise.
9945 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
9947         * sysdeps/i386/tininess.h: Renamed to ...
9948         * sysdeps/x86/tininess.h: This.
9949         * sysdeps/x86_64/tininess.h: Removed.
9951 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
9953         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9954         input.  Use $(build-program-cmd).
9955         ($(objpfx)tst-array1-static.out): Likewise.
9956         ($(objpfx)tst-array2.out): Likewise.
9957         ($(objpfx)tst-array3.out): Likewise.
9958         ($(objpfx)tst-array4.out): Likewise.
9959         ($(objpfx)tst-array5.out): Likewise.
9960         ($(objpfx)tst-array5-static.out): Likewise.
9962 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
9964         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9965         if defined.
9967         * nss/nsswitch.h (nss_interface_function): Provide new
9968         macro for use with NSS functions.
9969         * grp/initgroups.c: Use new macro.
9970         * nss/getXXbyYY.c: Likewise.
9971         * nss/getXXbyYY_r.c: Likewise.
9972         * nss/getXXent.c: Likewise.
9973         * nss/getXXent_r.c: Likewise.
9974         * sysdeps/posix/getaddrinfo.c: Likewise.
9976 2012-10-30  Andreas Jaeger  <aj@suse.de>
9978         * po/ru.po: Update Russion translation from translation project.
9980 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
9982         [BZ #14152]
9983         [BZ #14783]
9984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9985         result and shift together with sticky bit instead of replicating
9986         round-to-nearest rounding.
9987         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9988         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9989         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
9990         missing underflow exceptions.
9991         (fma_test_towardzero): Add more tests.
9992         (fma_test_downward): Likewise.
9993         (fma_test_upward): Likewise.
9995         [BZ #14047]
9996         * sysdeps/generic/tininess.h: New file.
9997         * sysdeps/i386/tininess.h: Likewise.
9998         * sysdeps/sh/tininess.h: Likewise.
9999         * sysdeps/x86_64/tininess.h: Likewise.
10000         * stdlib/tst-strtod-underflow.c: Likewise.
10001         * stdlib/tst-tininess.c: Likewise.
10002         * stdlib/strtod_l.c: Include <tininess.h>.
10003         (round_and_return): Do not set errno for exact underflow cases.
10004         Force an underflow exception when setting errno for underflow.
10005         Determine underflow based on rounding to normal precision if
10006         TININESS_AFTER_ROUNDING.
10007         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10008         ERANGE for exact underflow cases.
10009         * stdlib/Makefile (tests): Add tst-tininess and
10010         tst-strtod-underflow.
10011         ($(objpfx)tst-tininess): Use $(link-libm).
10012         ($(objpfx)tst-strtod-underflow): Likewise.
10014 2012-10-30  Andreas Jaeger  <aj@suse.de>
10016         [BZ#14767]
10017         * elf/Makefile (tests): Remove conditional for have-initfini-array
10018         since this is now always required and the variable does not exist
10019         anymore.
10020         (tests-static): Likewise.
10021         (modules-names): Likewise.
10023         * po/eo.po: Add Esperanto translation from translation project.
10025         * elf/tst-array1.c (fini_array): Make writeable so that it can be
10026         merged with constructor/destructor.
10027         (init_array): Likewise.
10028         * elf/tst-array2dep.c (fini_array): Likewise.
10029         (init_array): Likewise.
10031 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
10033         * manual/message.texi: Delete @cartouche tags.
10035 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
10037         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10038         EOPNOTSUPP.
10039         * sysdeps/mach/hurd/fsync.c: Likewise.
10041         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10042         [_POSIX_REALTIME_SIGNALS]: Change condition to
10043         [_POSIX_REALTIME_SIGNALS > 0].
10045 2012-10-27  Andreas Jaeger  <aj@suse.de>
10047         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10048         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10049         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10050         [__WORDSIZE != 64]: Likewise.
10052 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
10054         *  iconvdata/tst-table.sh: Remove ${SHELL}.
10055         *  iconvdata/tst-tables.sh: Likewise.
10057 2012-10-25  David S. Miller  <davem@davemloft.net>
10059         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10060         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10061         of strtoull.
10063         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10064         ifunc-impl-list.c
10065         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10066         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10067         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10068         file.
10070 2012-10-25  Roland McGrath  <roland@hack.frob.com>
10072         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10073         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10074         __getdirentries.
10076 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
10077             Jim Blandy  <jimb@codesourcery.com>
10079         * scripts/cross-test-ssh.sh: New file.
10080         * manual/install.texi (Configuring and compiling): Document use of
10081         cross-test-ssh.sh.
10082         * INSTALL: Regenerated.
10084 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
10086         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10087         EOPNOTSUPP.
10089 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
10091         * Makeconfig (run-program-prefix): Fix comment.
10093 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
10094             Jim Blandy  <jimb@codesourcery.com>
10096         * Makeconfig (test-wrapper): New variable,
10097         (test-wrapper-env): Likewise.
10098         [$(cross-compiling) = yes && $(test-wrapper) != ""]
10099         (run-built-tests): Define to yes.
10100         (run-program-prefix): Use $(test-wrapper).
10101         (built-program-cmd): Likewise.
10102         * Rules (make-test-out): Use $(test-wrapper-env) and
10103         $(host-built-program-cmd).
10104         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10105         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10106         tst-pathopt.sh.
10107         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10108         $(test-wrapper-env) to tst-rtld-load-self.sh.
10109         ($(objpfx)order2.out): Use $(test-wrapper).
10110         ($(objpfx)tst-initorder.out): Likewise.
10111         ($(objpfx)tst-initorder2.out): Likewise.
10112         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10113         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10114         (test_wrapper_env): New variable.  Use it to run ld.so.
10115         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10116         Use it to run ld.so.
10117         (test_wrapper_env): Likewise.
10118         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10119         $(test-wrapper) to run-iconv-test.sh.
10120         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10121         (ICONV): Use $test_wrapper.
10122         * posix/Makefile ($(objpfx)globtest.out): Pass
10123         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10124         globtest.sh, not $(run-program-prefix).
10125         * posix/globtest.sh (run_via_rtld_prefix): New variable.
10126         (test_wrapper): Likewise.
10127         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
10128         set together with run_via_rtld_prefix.
10129         (run_program_prefix): Define in terms of test_wrapper and
10130         run_via_rtld_prefix.
10132 2012-10-24  Roland McGrath  <roland@hack.frob.com>
10134         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10135         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10136         Targets removed.
10138         [BZ #14743]
10139         * include/time.h: Remove librt_hidden_proto (clock_gettime).
10140         Declare __clock_getres, __clock_gettime, __clock_settime,
10141         __clock_nanosleep, and __clock_getcpuclockid.
10142         * rt/clock_gettime.c: Define __clock_gettime as an alias.
10143         Remove librt_hidden_def (clock_gettime).
10144         * sysdeps/unix/clock_gettime.c: Likewise.
10145         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10147         * rt/clock_getres.c: Define __clock_getres as an alias.
10148         * sysdeps/posix/clock_getres.c: Likewise.
10149         * rt/clock_settime.c: Define __clock_settime as an alias.
10150         * sysdeps/unix/clock_settime.c: Likewise.
10151         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10152         * sysdeps/unix/clock_nanosleep.c: Likewise.
10153         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10154         * rt/clock-compat.c: New file.
10155         * rt/Makefile (librt-routines): Add clock-compat and move
10156         $(clock-routines) to ...
10157         (routines): ... here, new variable.
10158         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10159         Don't add get_clockfreq here.
10160         * rt/Versions (libc: GLIBC_2.17): New version set.
10161         Add clock_* symbols here.
10162         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
10163         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10164         (GLIBC_2.17): Add clock_* symbols.
10165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10167         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10169         Likewise.
10170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10171         Likewise.
10172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10176         * NEWS: Mention the move.
10178         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10179         Use __open, __read, __close rather than their public counterparts.
10180         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10181         (__get_clockfreq_via_cpuinfo): Likewise.
10182         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10183         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10185         * config.h.in (HAVE_IFUNC): New #undef.
10186         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10187         was successful.
10188         * configure: Regenerated.
10190 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
10192         * configure.in: Move READELF check to start of file.
10193         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10194         libc_cv_asm_gnu_indirect_function in the process.
10195         * configure: Regenerated.
10197 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
10199         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10200         send the output to /dev/null.
10201         (libc_cv_cc_with_libunwind): Likewise.
10202         (libc_cv_as_noexecstack): Likewise.
10203         * configure: Regenerate.
10205 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
10207         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10209         * posix/globtest.sh (TMPDIR): Do not set.
10210         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10211         (testout): Likewise.
10213 2012-10-24  Andreas Jaeger  <aj@suse.de>
10215         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10216         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10217         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10218         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10219         posix_fadvise64, posix_fallocate64.
10221         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10222         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10223         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10224         Likewise.
10225         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10226         Likewise.
10227         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10229         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10230         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10231         <bits/fcntl-linux.h>.
10232         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10234         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10235         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10236         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10237         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10238         [__WORDSIZE != 64]: Likewise.
10240 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10242         * Makeconfig (run-built-tests): New variable.
10243         * Rules [$(cross-compiling) = yes]: Change condition to
10244         [$(run-built-tests) = no].
10245         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10246         to [$(run-built-tests) = yes].
10247         * elf/Makefile [$(cross-compiling) = no]: Likewise
10248         * grp/Makefile [$(cross-compiling) = no]: Likewise.
10249         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10250         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10251         * intl/Makefile [$(cross-compiling) = no]: Likewise.
10252         * io/Makefile [$(cross-compiling) = no]: Likewise.
10253         * libio/Makefile [$(cross-compiling) = no]: Likewise.
10254         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10255         * misc/Makefile [$(cross-compiling) = no]: Likewise.
10256         * posix/Makefile [$(cross-compiling) = no]: Likewise.
10257         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10258         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10259         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10260         * string/Makefile [$(cross-compiling) = no]: Likewise.
10262         * posix/Makefile ($(objpfx)globtest.out): Pass
10263         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10264         $(rtld-installed-name).
10265         * posix/globtest.sh (elf_objpfx): Remove variable.
10266         (rtld_installed_name): Likewise.
10267         (library_path): Likewise.
10268         (run_program_prefix): New variable.  Use for running globtest
10269         binary.
10271 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
10272             Joseph Myers  <joseph@codesourcery.com>
10274         * Makeconfig (host-built-program-cmd): New variable.
10275         * elf/Makefile (tst-stackguard1-ARGS): Use
10276         $(host-built-program-cmd).
10277         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10278         (tst-spawn-ARGS): Likewise.
10279         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10281 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10282             Jim Blandy  <jimb@codesourcery.com>
10284         * Makeconfig (run-via-rtld-prefix): New variable.
10285         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10286         (built-program-cmd): Likewise.
10288 2012-10-22  Andreas Jaeger  <aj@suse.de>
10290         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10291         __O_RSYNC if it exists, otherwise to O_SYNC.
10293 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
10294             Joseph Myers  <joseph@codesourcery.com>
10296         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10297         /dev/null.
10298         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10299         from /dev/null
10300         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10301         /dev/null.
10303 2012-10-22  Andreas Jaeger  <aj@suse.de>
10305         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10306         Define always.
10307         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10310         bits/fcntl-linux.h.
10312         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10313         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10315         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10316         to __O_LARGEFILE.
10317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10318         to __O_LARGEFILE.
10320 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
10321             Joseph Myers  <joseph@codesourcery.com>
10323         * config.make.in (NM): New variable.
10325 2012-10-21  Andreas Jaeger  <aj@suse.de>
10327         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10328         definitions and declarations that are provided by
10329         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10331 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
10333         [BZ #14683]
10334         * elf/Makefile (tests-static): Add tst-leaks1-static.
10335         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10336         ($(objpfx)tst-leaks1-static): New rule.
10337         ($(objpfx)tst-leaks1-static-mem): Likewise.
10338         (tst-leaks1-static-ENV): New macro.
10339         * elf/dl-open.c (dl_open_worker): Check the main application
10340         only if SHARED is defined.
10341         * elf/tst-leaks1-static.c: New file.
10343 2012-10-20  Andreas Jaeger  <aj@suse.de>
10345         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10346         generic values for Linux.
10347         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10348         and declarations that are provided by <bits/fcntl-linux.h> and
10349         include <bits/fcntl-linux.h>.
10350         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10351         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10353 2012-10-20  Roland McGrath  <roland@hack.frob.com>
10355         * io/fcntl.h: Move include of <bits/types.h> to the top and
10356         include it unconditionally.
10358 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
10360         * wcsmbs/Makefile (tests-ifunc): New variable.
10361         (tests): Add $(tests-ifunc).
10362         * wcsmbs/test-wcschr-ifunc.c: New file.
10363         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10364         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10365         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10366         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10367         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10369         * string/Makefile (tests-ifunc): New variable.
10370         (tests): Add $(tests-ifunc).
10371         * string/test-memccpy.c (TEST_NAME): New macro.
10372         * string/test-memchr.c (TEST_NAME): Likewise.
10373         * string/test-memcmp.c (TEST_NAME): Likewise.
10374         * string/test-memcpy.c (TEST_NAME): Likewise.
10375         * string/test-memmem.c (TEST_NAME): Likewise.
10376         * string/test-memmove.c (TEST_NAME): Likewise.
10377         * string/test-memset.c (TEST_NAME): Likewise.
10378         * string/test-rawmemchr.c (TEST_NAME): Likewise.
10379         * string/test-stpcpy.c (TEST_NAME): Likewise.
10380         * string/test-stpncpy.c (TEST_NAME): Likewise.
10381         * string/test-strcasecmp.c (TEST_NAME): Likewise.
10382         * string/test-strcasestr.c (TEST_NAME): Likewise.
10383         * string/test-strcat.c (TEST_NAME): Likewise.
10384         * string/test-strchr.c (TEST_NAME): Likewise.
10385         * string/test-strcmp.c(TEST_NAME): Likewise.
10386         * string/test-strcpy.c (TEST_NAME): Likewise.
10387         * string/test-strcspn.c (TEST_NAME): Likewise.
10388         * string/test-strlen.c (TEST_NAME): Likewise.
10389         * string/test-strncasecmp.c (TEST_NAME): Likewise.
10390         * string/test-strncmp.c (TEST_NAME): Likewise.
10391         * string/test-strncpy.c (TEST_NAME): Likewise.
10392         * string/test-strnlen.c (TEST_NAME): Likewise.
10393         * string/test-strpbrk.c (TEST_NAME): Likewise.
10394         * string/test-strrchr.c (TEST_NAME): Likewise.
10395         * string/test-strspn.c (TEST_NAME): Likewise.
10396         * string/test-strstr.c (TEST_NAME): Likewise.
10397         * string/test-bcopy-ifunc.c: New file.
10398         * string/test-bzero-ifunc.c: Likewise.
10399         * string/test-memccpy-ifunc.c: Likewise.
10400         * string/test-memchr-ifunc.c: Likewise.
10401         * string/test-memcmp-ifunc.c: Likewise.
10402         * string/test-memcpy-ifunc.c: Likewise.
10403         * string/test-memmem-ifunc.c: Likewise.
10404         * string/test-memmove-ifunc.c: Likewise.
10405         * string/test-mempcpy-ifunc.c: Likewise.
10406         * string/test-memset-ifunc.c: Likewise.
10407         * string/test-rawmemchr-ifunc.c: Likewise.
10408         * string/test-stpcpy-ifunc.c: Likewise.
10409         * string/test-stpncpy-ifunc.c: Likewise.
10410         * string/test-strcasecmp-ifunc.c: Likewise.
10411         * string/test-strcasestr-ifunc.c: Likewise.
10412         * string/test-strcat-ifunc.c: Likewise.
10413         * string/test-strchr-ifunc.c: Likewise.
10414         * string/test-strchrnul-ifunc.c: Likewise.
10415         * string/test-strcmp-ifunc.c: Likewise.
10416         * string/test-strcpy-ifunc.c: Likewise.
10417         * string/test-strcspn-ifunc.c: Likewise.
10418         * string/test-strlen-ifunc.c: Likewise.
10419         * string/test-strncasecmp-ifunc.c: Likewise.
10420         * string/test-strncat-ifunc.c: Likewise.
10421         * string/test-strncmp-ifunc.c: Likewise.
10422         * string/test-strncpy-ifunc.c: Likewise.
10423         * string/test-strnlen-ifunc.c: Likewise.
10424         * string/test-strpbrk-ifunc.c: Likewise.
10425         * string/test-strrchr-ifunc.c: Likewise.
10426         * string/test-strspn-ifunc.c: Likewise.
10427         * string/test-strstr-ifunc.c: Likewise.
10429         * debug/Makefile (tests-ifunc): New variable.
10430         (tests): Add $(tests-ifunc).
10431         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10432         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10433         * debug/test-stpcpy_chk-ifunc.c: New file.
10434         * debug/test-strcpy_chk-ifunc.c: Likewise.
10436 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10438         [BZ #13601]
10439         * elf/dl-load.c (open_verify): Retry read if the entire ELF
10440         header is not read in.
10442 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
10444         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
10445         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
10446         directly.  Pass built executable to script as
10447         $(built-program-cmd).
10448         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
10449         $testprogram without using LD_LIBRARY_PATH and $ldso.
10451         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10452         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10453         $(rtld-installed-name).
10454         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10455         (rtld_installed_name): Likewise.
10456         (library_path): Likewise.
10457         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
10458         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10459         $(run-program-prefix) to tst-tables.sh.
10460         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
10461         it to run tst-table-from and tst-table-to.
10462         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10463         Pass it to tst-table.sh.
10464         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10465         $(run-program-prefix) to tst-gettext.sh.
10466         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10467         tst-translit.sh.
10468         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10469         tst-gettext2.sh.
10470         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
10471         to run tst-gettext.
10472         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
10473         to run tst-gettext2.
10474         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
10475         to run tst-translit.
10476         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10477         $(run-program-prefix) to tst-mtrace.sh.
10478         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
10479         to run tst-mtrace.
10480         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10481         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10482         $(rtld-installed-name).
10483         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10484         (rtld_installed_name): Likewise.
10485         (run_program_prefix): New variable.  Use it to run wordexp-test.
10487         * Makeconfig (ARCH): Remove all definitions.
10488         (machine): Likewise.
10489         [ARCH]: Remove conditional code.
10490         [!objdir]: Give error.
10491         [!objdir] (objpfx): Remove.
10492         [!objdir] (common-objpfx): Likewise.
10493         [!objdir] (common-objdir): Likewise.
10494         * configure.in (config_makefile): Remove.  Hardcode Makefile in
10495         AC_CONFIG_FILES call.
10496         * configure: Regenerated.
10498         [BZ #13888]
10499         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10500         or TMPDIR.
10501         (testout): Likewise.
10503         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10504         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10505         $(rtld-installed-name).
10506         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10507         (rtld_installed_name): Likwise.
10508         (runit): Remove function.
10509         (run_getconf): New variable,  Use it for running getconf binary.
10511 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
10513         [BZ #14716]
10514         * string/test-memmem.c (check_result): New function.
10515         (do_one_test): Use it.
10516         (check1): New function.
10517         (test_main): Use it.
10519 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
10521         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10523 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
10525         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10526         (_G_LSEEK64): Likewise.
10527         (_G_MMAP64): Likewise.
10528         (_G_FSTAT64): Likewise.
10529         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10530         (_G_LSEEK64): Likewise.
10531         (_G_MMAP64): Likewise.
10532         (_G_FSTAT64): Likewise.
10533         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10534         unconditional.  Call __mmap64 directly.
10535         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10536         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
10537         __lseek64 directly.
10538         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10539         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
10540         __mmap64 directly.
10541         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10542         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
10543         __lseek64 directly.
10544         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10545         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
10546         __lseek64 directly.
10547         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10548         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
10549         __lseek64 directly.
10550         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10551         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
10552         __fxstat64 directly.
10553         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10554         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10555         unconditional.
10556         (freopen64) [!_G_OPEN64]: Remove conditional code.
10557         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10558         unconditional.
10559         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10560         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10561         unconditional.
10562         (ftello64) [!_G_LSEEK64]: Remove conditional code.
10563         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10564         unconditional.
10565         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10566         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10567         unconditional.
10568         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10569         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10570         unconditional.
10571         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10572         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10573         unconditional.
10574         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10575         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10576         unconditional.
10577         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10579 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10581         [BZ #12140]
10582         * manual/memory.texi (Malloc Tunable Parameters): Add note
10583         about free list pointers overwriting some perturb bytes.
10584         Wording suggested by Roland McGrath.
10586 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
10588         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10589         (lgamma_test): Likewise.
10590         (tgamma_test): Likewise.
10592 2012-10-16  Florian Weimer  <fweimer@redhat.com>
10594         [BZ #14700]
10595         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10596         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10598 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
10600         * NEWS: Mention BZ #14716.
10601         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10602         when removing AVAILABLE1_USES_J macro.
10604 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10606         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10607         (__bswap_64): __uint64_t for unsigned 64-bit int.
10609 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
10611         * include/string.h (memmem): Declare libc hidden alias.
10612         * string/memmem.c (memmem): Define libc hidden alias.
10613         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10614         __read, __close instead of open, read, close.
10616 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
10618         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10619         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10620         global and hidden.
10621         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10622         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10623         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10624         Likewise.
10625         (__rawmemchr_sse2): Likewise.
10626         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10627         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10628         (__strchr_sse2): Likewise.
10629         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10630         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10631         (__strcasecmp_sse2): Likewise.
10632         (__strncasecmp_sse2): Likewise.
10633         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10634         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10635         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10636         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10637         (__strrchr_sse2): Likewise.
10638         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10639         ifunc-impl-list.c.
10640         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10641         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10642         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10643         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10644         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10645         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10646         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10647         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10648         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10649         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10650         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10651         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10652         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10653         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10654         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10655         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10656         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10657         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10658         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10659         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10660         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10661         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10662         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10663         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10664         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10665         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10666         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10667         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10668         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10669         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10671         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10672         global and hidden.
10673         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10674         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10675         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10676         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10677         Likewise.
10678         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10679         Likewise.
10680         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10681         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10682         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10683         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10684         ifunc-impl-list.c.
10685         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10686         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10687         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10688         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10689         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10690         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10691         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10692         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10693         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10694         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10695         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10696         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10697         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10698         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10699         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10700         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10701         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10702         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10703         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10704         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10705         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10706         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10707         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10708         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10709         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10710         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10711         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10712         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10713         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10714         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10715         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10716         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10717         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10718         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10719         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10720         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10721         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10722         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10723         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10724         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10725         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10727         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10728         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10729         * include/ifunc-impl-list.h: New file.
10730         * misc/ifunc-impl-list.c: Likewise.
10731         * misc/Makefile (routines): Add ifunc-impl-list.
10732         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10733         * string/test-string.h: Include <ifunc-impl-list.h>.
10734         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10735         impl_array): New variables.
10736         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10737         are defined.
10738         (test_init): Call __libc_ifunc_impl_list to initialize
10739         func_list if TEST_IFUNC and TEST_NAME are defined.
10741         * string/Makefile (strop-tests): Add bcopy and bzero.
10742         * string/test-bcopy.c: New file.
10743         * string/test-bzero.c: Likewise.
10744         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10745         defined.
10746         * string/test-memset.c: Support bzero test if TEST_BZERO is
10747         defined.
10748         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10749         __libc_memmove.
10750         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10751         __libc_memset.
10752         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10753         of memset.
10755 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
10757         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10758         * configure: Regenerated.
10760         * Makeconfig (+link-static-before-libc): Don't include
10761         $(link-static-libc).
10763         * libio/libio.h (_IO_pos_t): Remove.
10765 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
10767         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
10768         McGrath.
10770 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
10772         * crypt/crypt-entry.c: Include fips-private.h.
10773         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10774         * crypt/md5c-test.c (main): Tolerate disabled MD5.
10775         * sysdeps/unix/sysv/linux/fips-private.h: New file.
10776         * sysdeps/generic/fips-private.h: New file, dummy fallback.
10778 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
10780         * crypt/crypt-private.h: Include stdbool.h.
10781         (_ufc_setup_salt_r): Return bool.
10782         * crypt/crypt-entry.c: Include errno.h.
10783         (__crypt_r): Return NULL with EINVAL for bad salt.
10784         * crypt/crypt_util.c (bad_for_salt): New.
10785         (_ufc_setup_salt_r): Check that salt is long enough and within
10786         the specified alphabet.
10787         * crypt/badsalttest.c: New file.
10788         * crypt/Makefile (tests): Add it.
10789         ($(objpfx)badsalttest): New.
10791 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
10793         * NEWS: Add entry for BZ #14602.
10795 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
10797         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10798         type-generic.
10799         * math/libm-test.inc: Update comment listing what functions and
10800         macros are tested.
10801         (isgreater_test): New function.
10802         (isgreaterequal_test): Likewise.
10803         (isless_test): Likewise.
10804         (islessequal_test): Likewise.
10805         (islessgreater_test): Likewise.
10806         (isunordered_test): Likewise.
10807         (main): Call the new functions.
10809 2012-10-09  Roland McGrath  <roland@hack.frob.com>
10811         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10812         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10813         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10814         * sysdeps/i386/configure: Regenerated.
10815         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10816         * sysdeps/mach/configure: Regenerated.
10817         * sysdeps/mach/hurd/configure: Regenerated.
10818         * sysdeps/powerpc/configure: Regenerated.
10819         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10820         * sysdeps/powerpc/powerpc64/configure: Regenerated.
10821         * sysdeps/s390/s390-32/configure: Regenerated.
10822         * sysdeps/s390/s390-64/configure: Regenerated.
10823         * sysdeps/sh/configure: Regenerated.
10824         * sysdeps/sparc/configure: Regenerated.
10825         * sysdeps/unix/sysv/linux/configure: Regenerated.
10826         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10827         * sysdeps/x86_64/configure: Regenerated.
10829         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10830         defined.  Don't check if MAP is NULL.
10832 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
10834         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10835         (_G_stat64): Likewise.
10836         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10837         (_G_stat64): Likewise.
10838         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10839         instead of struct _G_stat64.
10840         * libio/fileops.c (mmap_remap_check): Likewise.
10841         (decide_maybe_mmap): Likewise.
10842         (_IO_new_file_seekoff): Likewise.
10843         (_IO_file_stat): Likewise.
10844         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10845         _G_off64_t.
10846         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10847         instead of struct _G_stat64.
10848         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10850 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
10852         [BZ #14602]
10853         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10854         Replace with ...
10855         (CHECK_EOL): New macro.
10856         (two_way_short_needle): Check beginning of haystack for EOL.  Use
10857         CHECK_EOL.
10858         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10859         Replace with CHECK_EOL.
10860         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10861         Replace with CHECK_EOL.
10863 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
10865         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10866         type-generic.
10867         * math/libm-test.inc: Update comment listing what functions and
10868         macros are tested.
10869         (finite_test): New function.
10870         (isinf_test): Likewise.
10871         (isnan_test): Likewise.
10872         (fpclassify_test): Test subnormal input.
10873         (isfinite_test): Likewise.
10874         (isnormal_test): Likewise.
10875         (main): Call the new functions.
10877 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
10879         [BZ #14660]
10880         * Makerules (%.dynsym): Force C locale when running
10881         $(OBJDUMP) --dynamic-syms.
10883 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
10885         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10886         <stdint.h>.
10888 2012-10-06  David S. Miller  <davem@davemloft.net>
10890         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10891         upper 32-bits of the length value in %o2 since we use branch-on-register
10892         tests which consider the entire 64-bit register.
10894 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
10896         * string/test-strstr.c (check2): Add a test for page boundary.
10898 2012-10-05  David S. Miller  <davem@davemloft.net>
10900         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10901         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10902         file.
10903         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10904         sysdep_routines.
10905         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10906         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10907         and bzero when HWCAP_SPARC_CRYPTO is present.
10909 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
10911         [BZ #14602]
10912         * string/test-strstr.c (check2): New function.
10913         (test_main): Call check2.
10915         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10916         and bug-strchr1.
10917         * string/bug-strcasestr1.c (do_test): Moved to ...
10918         * string/test-strcasestr.c (check1): Here.  New function.
10919         (do_one_test): Break out result checking code into ...
10920         (check_result): This.  New function.
10921         (do_one_test): Call check_result.
10922         (test_main): Call check1.
10923         * string/bug-strchr1.c (do_test): Moved to ...
10924         * string/test-strchr.c (check1): Here.  New function.
10925         (do_one_test): Break out result checking code into ...
10926         (check_result): This.  New function.
10927         (do_one_test): Call check_result.
10928         (test_main): Call check1.
10929         * string/bug-strstr1.c (main): Moved to ...
10930         * string/test-strstr.c (check1): Here.  New function.
10931         (do_one_test): Break out result checking code into ...
10932         (check_result): This.  New function.
10933         (do_one_test): Call check_result.
10934         (test_main): Call check1.
10935         * string/bug-strcasestr1.c: Removed.
10936         * string/bug-strchr1.c: Likewise.
10937         * string/bug-strstr1.c: Likewise.
10939         * elf/Makefile (dl-routines): Add hwcaps.
10940         * elf/dl-support.c (_dl_important_hwcaps): Removed.
10941         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10942         (_dl_important_hwcaps): Moved to ...
10943         * elf/dl-hwcaps.c: Here.  New file.
10944         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10946         [BZ #14557]
10947         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10948         if IS_IN_rtld isn't defined.
10950         * elf/dl-support.c (_dl_sysinfo_map): New.
10951         Include "get-dynamic-info.h" and "setup-vdso.h".
10952         (_dl_non_dynamic_init): Call setup_vdso.
10953         * elf/dynamic-link.h: Don't include <assert.h>.
10954         (elf_get_dynamic_info): Moved to ...
10955         * elf/get-dynamic-info.h: Here.  New file.
10956         * elf/dynamic-link.h: Include "get-dynamic-info.h".
10957         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10958         * elf/setup-vdso.h: Here.  New file.
10959         * elf/rtld.c: Include "setup-vdso.h".
10960         (dl_main): Call setup_vdso.
10962 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
10964         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10965         creal in comment listing functions tested.  List finite, isinf,
10966         isnan, isless, islessequal, isgreater, isgreaterequal,
10967         islessgreater, isunordered, lgamma_r and pow10 as functions and
10968         macros not tested.  Mention which functions not tested are aliases
10969         for other functions.  Fix typo.  Note that signs of NaNs are not
10970         tested.
10972         * scripts/config.guess: Update from config.git.
10973         * scripts/config.sub: Likewise.
10975 2012-10-04  Roland McGrath  <roland@hack.frob.com>
10977         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10978         * misc/madvise.c (madvise): Renamed to __madvise.
10979         Make madvise a weak alias.
10980         * include/sys/mman.h: Declare __madvise.
10981         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10982         * sysdeps/unix/syscalls.list
10983         (madvise): Make __madvise the strong name, and madvise a weak alias.
10984         * sysdeps/unix/sysv/linux/syscalls.list
10985         (madvise, mmap): Remove redundant entries.
10986         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10987         * malloc/malloc.c (mtrim): Likewise.
10988         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10990 2012-10-03  Roland McGrath  <roland@hack.frob.com>
10992         * sysdeps/mach/hurd/dl-cache.c: File removed.
10993         * config.h.in (USE_LDCONFIG): New #undef.
10994         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10995         * configure: Regenerated.
10996         * elf/Makefile (dl-routines): Add dl-cache only under
10997         [$(use-ldconfig) = yes].
10998         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10999         cache on [USE_LDCONFIG].
11000         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11001         [USE_LDCONFIG].
11002         * elf/rtld.c (dl_main): Likewise.
11004 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
11006         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11007         _SC_LEVEL4_CACHE_LINESIZE.
11009 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11011         * sysdeps/unix/bsd/confstr.h: File removed.
11013 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
11015         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11016         sys/sdt-config.h.
11018 2012-10-02  Roland McGrath  <roland@hack.frob.com>
11020         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11021         Make 'mapoff' field ElfW(Off) rather than off_t.
11023 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
11025         * nscd/Makefile: Remove nscd-cflags and all its users.
11026         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11027         (CFLAGS-nonlib): Add compiler flags for nscd modules.
11029         [BZ #10631]
11030         * malloc.c (malloc_printerr): Clarify error message.
11032 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
11034         [BZ #14648]
11035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11036         Set bit_FMA_Usable if FMA is supported.
11037         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11038         macro.
11039         (bit_FMA4_Usable): Updated.
11040         (index_FMA_Usable): New macro.
11041         (CPUID_FMA): Likewise
11042         (HAS_FMA): Defined with bit_FMA_Usable.
11044 2012-10-01  Roland McGrath  <roland@hack.frob.com>
11046         * bits/types.h (__swblk_t): Type removed.
11047         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11048         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11050         (__SWBLK_T_TYPE): Likewise.
11051         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11052         (__SWBLK_T_TYPE): Likewise.
11053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11054         (__SWBLK_T_TYPE): Likewise.
11055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11056         (__SWBLK_T_TYPE): Likewise.
11058 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
11059             Honza Horak <hhorak@redhat.com>
11061         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11062         (xdr_mapname): Use YPMAXMAP as maxsize.
11063         (xdr_peername): Use YPMAXPEER as maxsize.
11064         (xdr_keydat): Use YPAXRECORD as maxsize.
11065         (xdr_valdat): Use YPMAXRECORD as maxsize.
11067 2012-10-01  Roland McGrath  <roland@hack.frob.com>
11069         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11071         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11072         * csu/init-first.c: ... here.
11073         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11074         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11075         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11076         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11077         * sysdeps/i386/init-first.c: File removed.
11078         * sysdeps/sh/init-first.c: File removed.
11080 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
11082         [BZ #14645]
11083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11084         if x * y might underflow to zero and z is zero.
11085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11087         * math/libm-test.inc (min_subnorm_value): New variable.
11088         (fma_test): Add more tests.
11089         (fma_test_towardzero): Likewise.
11090         (fma_test_downward): Likewise
11091         (fma_test_upward): Likewise.
11092         (initialize): Set min_subnorm_value.
11094 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
11096         [BZ #14638]
11097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11098         0 + 0.
11099         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11100         mode for addition resulting in exact zero.
11101         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11103         exact 0 + 0.
11104         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11105         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11106         * math/libm-test.inc (fma_test): Add more tests.
11107         (fma_test_towardzero): New function.
11108         (fma_test_downward): Likewise.
11109         (fma_test_upward): Likewise.
11110         (main): Call the new functions.
11112 2012-09-28  David S. Miller  <davem@davemloft.net>
11114         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11116 2012-09-28  Roland McGrath  <roland@hack.frob.com>
11118         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11119         instead of SIGALRM.
11121         * sysdeps/gnu/_G_config.h: Moved to ...
11122         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11123         * sysdeps/mach/hurd/_G_config.h: Moved to ...
11124         * sysdeps/generic/_G_config.h: ... here.
11126         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
11128         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11130         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11131         Conditionalize target on [libnss_test1.so-version].
11133         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11135         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11136         (elfobjdir): Move out of conditionals.
11138         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11139         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11140         (__nss_lookup_function): Conditionalize label remove_from_tree on
11141         [!DO_STATIC_NSS || SHARED], matching its only use.
11143 2012-09-28  David S. Miller  <davem@davemloft.net>
11145         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11146         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11147         file.
11148         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11149         sysdep_routines.
11150         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11151         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11152         when HWCAP_SPARC_CRYPTO is present.
11154 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11156         * io/tst-mknodat.c: Create a FIFO instead of a socket.
11158 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
11160         [BZ #6530]
11161         * stdio-common/vfprintf.c (process_string_arg): Revert
11162         2000-07-22 change.
11164 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
11166         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11167         for testcase.
11168         * stdio-common/tst-sprintf.c: Include <locale.h>
11169         (main): Test sprintf's handling of incomplete multibyte
11170         characters.
11172 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
11174         * elf/dl-runtime.c (VERSYMIDX): Removed.
11175         * elf/dl-version.c (VERSYMIDX): Likewise.
11176         * elf/do-rel.h (VERSYMIDX): Likewise.
11177         (VALIDX): Likewise.
11178         * elf/dynamic-link.h (VERSYMIDX): Likewise.
11179         * elf/rtld.c (VALIDX): Likewise.
11180         (ADDRIDX): Likewise.
11181         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11182         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11183         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11184         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11185         (VALIDX): Likewise.
11186         (ADDRIDX): Likewise.
11188 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11190         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11192 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
11194         [BZ #11438]
11195         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11196         to global scope.
11197         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11198         addresses are in the same scope as 192.0.2/24.
11199         * posix/gai.conf: Document new scope table defaults.
11201 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11203         [BZ #5298]
11204         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11205         for ftell.  Compute offsets from write pointers instead.
11206         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11208 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11210         [BZ #14543]
11211         * libio/Makefile (tests): New test case tst-fseek.
11212         * libio/tst-fseek.c: New test case to verify that fseek/ftell
11213         combination works in wide mode.
11214         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11215         state when the external buffer state changes.
11217 2012-09-27  David S. Miller  <davem@davemloft.net>
11219         [BZ #14376]
11220         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11221         pass reloc->r_addend in as the 'high' argument to
11222         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11226 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11228         * rt/tst-aio2.c: Include <pthread.h>.
11229         * rt/tst-aio3.c: Likewise.
11231 2012-09-27  Steve Ellcey  <sellcey@mips.com>
11233         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11235 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11237         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11238         contents on [SHARED].
11240 2012-09-26  Marek Polacek  <polacek@redhat.com>
11242         [BZ #14530]
11243         [BZ #13741]
11244         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11245         for C++ and GCC <4.3 as well as for non GCC compilers.
11247 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11251 2012-09-25  Roland McGrath  <roland@hack.frob.com>
11253         * Makefile.in (all, install): Declare with .PHONY.
11254         Reported by Michael Hope <michael.hope@linaro.org>.
11256 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11258         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11259         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11260         system header.
11261         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11262         Likewise.
11263         (sydep_routines): Add the new and the internal functions.
11264         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11265         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11267         (GLIBC_2.17): Add the new function.
11268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11269         (GLIBC_2.17): Likewise.
11270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11271         (GLIBC_2.17): Likewise.
11272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11273         (GLIBC_2.17): Likewise.
11274         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11276 2012-09-25  Alan Modra  <amodra@gmail.com>
11278         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11279         Add release barrier before setting once_control to say
11280         initialisation is done.  Add hints on lwarx.  Use macro in
11281         place of isync.
11282         (clear_once_control): Add release barrier.
11284 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11286         [BZ #13629]
11287         * math/s_clog.c (__clog): Handle more values close to |z| = 1
11288         specially.
11289         * math/s_clog10.c (__clog10): Likewise.
11290         * math/s_clog10f.c (__clog10f): Likewise.
11291         * math/s_clog10l.c (__clog10l): Likewise.
11292         * math/s_clogf.c (__clogf): Likewise.
11293         * math/s_clogl.c (__clogl): Likewise.
11294         * math/Makefile (libm-calls): Add x2y2m1.
11295         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11296         (__x2y2m1): Likewise.
11297         (__x2y2m1l): Likewise.
11298         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11299         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11300         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11301         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11302         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11303         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11304         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11305         * sysdeps/i386/fpu/libm-test-ulps: Update.
11306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11308         [BZ #14621]
11309         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11310         int as type of variable DEPTH.
11311         (glob): Use size_t instead of int as type of variables NEWCOUNT
11312         and OLD_PATHC.
11314 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11316         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11317         Add s_sincosf-sse2.
11318         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11319         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11320         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11321         macros for using routine as __sincosf_ia32.
11322         Use macro for function declaration and weak_alias.
11323         * sysdeps/i386/fpu/libm-test-ulps: Update.
11325         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11328         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11329         subnormal argument.
11330         * math/s_cexpf.c (__cexpf): Likewise.
11331         * math/s_csinf.c (__csinf): Likewise.
11332         * math/s_csinhf.c (__csinhf): Likewise.
11333         * math/s_ctanf.c (__ctanf): Likewise.
11334         * math/s_ctanhf.c (__ctanhf): Likewise.
11335         * math/s_ccosh.c (__ccoshf): Likewise.
11336         * math/s_cexp.c (__cexpl): Likewise.
11337         * math/s_csin.c (__csin): Likewise.
11338         * math/s_csinh.c (__csinh): Likewise.
11339         * math/s_ctan.c (__ctan): Likewise.
11340         * math/s_ctanh.c (ctanh): Likewise.
11341         * math/s_ccoshl.c (__ccoshl): Likewise.
11342         * math/s_cexpl.c (__cexpl): Likewise.
11343         * math/s_csinl.c (__csinl): Likewise.
11344         * math/s_csinhl.c (__csinhl): Likewise.
11345         * math/s_ctanl.c (__ctanl): Likewise.
11346         * math/s_ctanhl.c (__ctanhl): Likewise.
11348 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11350         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11351         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11352         (_IO_off_t): Define to __off_t, not _G_off_t.
11353         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11354         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11355         (_IO_wint_t): Define to wint_t, not _G_wint_t.
11356         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11357         type of __dummy and __dummy2 fields.
11358         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11359         (_G_ssize_t): Likewise.
11360         (_G_off_t): Likewise.
11361         (_G_pid_t): Likewise.
11362         (_G_uid_t): Likewise.
11363         (_G_wchar_t): Likewise.
11364         (_G_wint_t): Likewise.
11365         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11366         (_G_ssize_t): Likewise.
11367         (_G_off_t): Likewise.
11368         (_G_pid_t): Likewise.
11369         (_G_uid_t): Likewise.
11370         (_G_wchar_t): Likewise.
11371         (_G_wint_t): Likewise.
11372         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11373         (_G_ssize_t): Likewise.
11374         (_G_off_t): Likewise.
11375         (_G_pid_t): Likewise.
11376         (_G_uid_t): Likewise.
11377         (_G_wchar_t): Likewise.
11378         (_G_wint_t): Likewise.
11380 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11382         * malloc/arena.c: Include malloc-sysdep.h.
11383         (shrink_heap): Use check_may_shrink_heap to decide if madvise
11384         is sufficient to shrink the heap or an unmap is needed.
11385         * sysdeps/generic/malloc-sysdep.h: New file.  Define
11386         new function check_may_shrink_heap.
11387         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
11388         new function check_may_shrink_heap.
11390 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11392         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11393         comments.
11395 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
11397         * catgets/test-gencat.sh: Add "set -e".
11398         * elf/tst-pathopt.sh: Likewise.
11399         * grp/tst_fgetgrent.sh: Likewise.
11400         * iconvdata/run-iconv-test.sh: Likewise.
11401         * intl/tst-gettext.sh: Likewise.
11402         * intl/tst-gettext2.sh: Likewise.
11403         * intl/tst-gettext4.sh: Likewise.
11404         * intl/tst-gettext6.sh: Likewise.
11405         * intl/tst-translit.sh: Likewise.
11406         * io/ftwtest-sh: Likewise.
11407         * libio/test-freopen.sh: Likewise.
11408         * malloc/tst-mtrace.sh: Likewise.
11409         * posix/globtest.sh: Likewise.
11410         * posix/tst-getconf.sh: Likewise.
11411         * posix/wordexp-tst.sh: Likewise.
11412         * stdio-common/tst-printf.sh: Likewise.
11413         * stdio-common/tst-unbputc.sh: Likewise.
11414         * stdlib/tst-fmtmsg.sh: Likewise.
11415         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11416         * catgets/Makefile: Do not specify -e option when running
11417         testsuite shell scripts.
11418         * elf/Makefile: Likewise.
11419         * grp/Makefile: Likewise.
11420         * iconvdata/Makefile: Likewise.
11421         * intl/Makefile: Likewise.
11422         * io/Makefile: Likewise.
11423         * libio/Makefile: Likewise.
11424         * malloc/Makefile: Likewise.
11425         * posix/Makefile: Likewise.
11426         * stdio-common/Makefile: Likewise.
11427         * stdlib/Makefile: Likewise.
11428         * sysdeps/x86_64/Makefile: Likewise.
11430         * io/ftwtest-sh: Add copyright header.
11431         * posix/globtest.sh: Likewise.
11432         * posix/tst-getconf.sh: Likewise.
11433         * posix/wordexp-tst.sh: Likewise.
11434         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11436 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
11438         [BZ #13679]
11439         * Makeconfig (+link): Defined as $(+link-static) if
11440         $(build-shared) isn't yes.
11441         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11442         isn't yes.
11443         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11445         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11447         [BZ #14562]
11448         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11449         new chunk size with MALLOC_ALIGN_MASK.
11451 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
11453         [BZ #5044]
11454         * stdio-common/printf_fphex.c: Include <stdbool.h> and
11455         <rounding-mode.h>.
11456         (__printf_fphex): Determine rounding using get_rounding_mode and
11457         round_away.
11458         * stdio-common/tst-printf-round.c (struct hex_test): New
11459         structure.
11460         (hex_tests): New variable.
11461         (test_hex_in_one_mode): New function.
11462         (do_test): Also run tests for hex float output.
11464 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
11466         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11467         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11468         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11469         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11470         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11471         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11472         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11473         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11475 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
11477         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11478         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11479         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11480         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11482 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
11484         [BZ #14579]
11485         * elf/rtld.c (dl_main): Limit the check for self loading to normal
11486         mode only.
11487         * elf/tst-rtld-load-self.sh: New test.
11488         * elf/Makefile: Run it.
11490 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
11492         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11493         (tst-writev-ENV): Remove.
11494         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11496 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
11498         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11500 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
11502         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11503         unconditional.
11504         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11505         Likewise.
11506         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11507         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11508         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11509         Likewise.
11511 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11513         [BZ #14587]
11514         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11515         * config.make.in (have-cpp-asm-debuginfo): Removed.
11516         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11517         * configure: Regenerated.
11519 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
11521         [BZ #5044]
11522         * stdio-common/printf_fp.c: Include <stdbool.h> and
11523         <rounding-mode.h>.
11524         (___printf_fp): Determine rounding using get_rounding_mode and
11525         round_away.
11526         * stdio-common/tst-printf-round.c: New file.
11527         * stdio-common/Makefile (tests): Add tst-printf-round.
11528         (link-libm): New variable.
11529         ($(objpfx)tst-printf-round): Depend in $(link-libm).
11531 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
11533         [BZ #14576]
11534         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11535         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11536         Likewise.
11537         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11538         Likewise.
11540 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
11542         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11543         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11544         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11545         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11547 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
11549         [BZ #14518]
11550         * include/rounding-mode.h: New file.
11551         * sysdeps/generic/get-rounding-mode.h: Likewise.
11552         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11553         * stdlib/strtod_l.c: Include <rounding-mode.h>.
11554         (MAX_VALUE): New macro.
11555         (MIN_VALUE): Likewise.
11556         (overflow_value): New function.
11557         (underflow_value): Likewise.
11558         (round_and_return): Use overflow_value and underflow_value to
11559         determine return values in overflow and underflow cases.  Use
11560         round_away to determine rounding depending on rounding mode.
11561         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11562         determine return values in overflow and underflow cases.
11563         * stdlib/tst-strtod-round.c: Include <fenv.h>.
11564         (struct test_results): New structure.
11565         (struct test): Use struct test_results to store expected results
11566         for all rounding modes.
11567         (TEST): Include expected results for all rounding modes.
11568         (test_in_one_mode): New function.
11569         (do_test): Use test_in_one_mode to compute and check results.
11570         Check results for all rounding modes.
11571         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11572         $(link-libm).
11574 2012-12-09  Allan McRae  <allan@archlinux.org>
11576         * sysdeps/i386/fpu/libm-test-ulps: Update
11578 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
11580         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11581         (_G_int32_t): Likewise.
11582         (_G_uint16_t): Likewise.
11583         (_G_uint32_t): Likewise.
11584         (_G_HAVE_BOOL): Likewise.
11585         (_G_HAVE_ATEXIT): Likewise.
11586         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11587         (_G_HAVE_IO_FILE_OPEN): Likewise.
11588         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11589         (_G_int32_t): Likewise.
11590         (_G_uint16_t): Likewise.
11591         (_G_uint32_t): Likewise.
11592         (_G_HAVE_BOOL): Likewise.
11593         (_G_HAVE_ATEXIT): Likewise.
11594         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11595         (_G_HAVE_IO_FILE_OPEN): Likewise.
11596         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11597         (_G_int32_t): Likewise.
11598         (_G_uint16_t): Likewise.
11599         (_G_uint32_t): Likewise.
11600         (_G_HAVE_BOOL): Likewise.
11601         (_G_HAVE_ATEXIT): Likewise.
11602         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11603         (_G_HAVE_IO_FILE_OPEN): Likewise.
11605 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
11607         * csu/libc-tls.c: Update copyright years.
11609 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
11611         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11612         [!_G_USING_THUNKS]: Remove conditional code.
11613         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11614         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11616         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11617         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11618         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11619         (_G_VTABLE_LABEL_PREFIX): Likewise.
11620         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11621         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11622         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11623         (_G_VTABLE_LABEL_PREFIX): Likewise.
11624         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11625         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11626         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11627         (_G_VTABLE_LABEL_PREFIX): Likewise.
11628         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11630 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
11632         * libio/Makefile: Include ../Makeconfig before tests.
11633         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11634         only if $(build-shared) is yes.
11636         * iconv/gconv_db.c: Update copyright years.
11638 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11640         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11641         unwind info if defined PIC. Fix special cases description.
11642         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11644         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11645         DP_HI_MASK entry.
11646         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11648 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
11650         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11652         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11653         is NULL.
11655         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11656         (LDLIBS-tst-chk4): This.
11657         (LDFLAGS-tst-chk5): Renamed to ...
11658         (LDLIBS-tst-chk5): This.
11659         (LDFLAGS-tst-chk6): Renamed to ...
11660         (LDLIBS-tst-chk6): This.
11661         (LDFLAGS-tst-lfschk4): Renamed to ...
11662         (LDLIBS-tst-lfschk4): This.
11663         (LDFLAGS-tst-lfschk5): Renamed to ...
11664         (LDLIBS-tst-lfschk5): This.
11665         (LDFLAGS-tst-lfschk6): Renamed to ...
11666         (LDLIBS-tst-lfschk6): This.
11668         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11669         on $(common-objpfx)soversions.mk.
11671 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
11673         [BZ #10014]
11674         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11675         example host name.
11677 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11679         * malloc/arena.c (arena_get_retry): New function that gets
11680         another arena for the caller to try its request on.
11681         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11682         current arena cannot fulfill the request.
11683         (__libc_memalign): Likewise.
11684         (__libc_memalign): Likewise.
11685         (__libc_pvalloc): Likewise.
11686         (__libc_calloc): Likewise.
11688 2012-09-05  John Tobey  <john.tobey@gmail.com>
11690         [BZ #13542]
11691         * manual/arith.texi (Operations on Complex): Fix description
11692         of carg branch cut.
11694 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
11696         [BZ #10014]
11697         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11698         host name.
11700         [BZ #10038]
11701         * manual/memory.texi (Memory): Make order of menu items match
11702         order of sections.
11704 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11706         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11707         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
11708         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11710 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11712         * csu/libc-tls.c (static_dtv): Renamed to ...
11713         (_dl_static_dtv): This.  Make it global.
11714         (_dl_initial_dtv): Removed.
11715         (__libc_setup_tls): Updated.
11716         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11717         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11718         DL_INITIAL_DTV.
11720 2012-09-06  Petr Machata  <pmachata@redhat.com>
11722         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11723         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11724         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11725         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11727 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11729         [BZ #14545]
11730         * csu/libc-tls.c (_dl_initial_dtv): New variable.
11731         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11732         freeing dtv[-1].
11734 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11736         [BZ #14544]
11737         * Makeconfig (link-static-before-libc): Replace $(+prector)
11738         with $(+prectorT).
11739         (link-static-after-libc): Replace $(+postctor) with
11740         $(+postctorT).
11741         (link-bounded): Replace $(+prector)/$(+postctor) with
11742         $(+prectorT)/$(+postctorT).
11743         (+prectorT): New macro.
11744         (+postctorT): Likewise.
11746 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
11748         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11749         (round_str): Handle values above the maximum for IBM long double
11750         as inexact.
11751         * stdlib/tst-strtod-round.c (tests): Regenerated.
11753 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11755         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11756         assembler flag.
11757         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11758         zarch_nohighgprs around the zarch optimized routines.
11759         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11760         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11761         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11762         for zarch.
11764 2012-09-05  David S. Miller  <davem@davemloft.net>
11766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11768         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11769         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11770         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11771         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11772         entries.
11774 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11776         * malloc/arena.c: Fold copyright years.
11777         * malloc/mcheck.c, malloc/memusage.c: Likewise.
11779 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11781         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11783 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11785         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
11787 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11789         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11790         change internal state upon failure.
11792 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
11794         * malloc/mcheck.c (mcheck_check_all): Fix typo.
11795         * malloc/memusage.c (mmap): Likewise.
11796         (mmap64, mremap): Likewise.  Adjust name in comment.
11798 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11800         * libio/fileops.c: Fix typos in comments.
11801         * libio/oldfileops.c: Likewise.
11802         * libio/wfileops.c: Likewise.
11804 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11806         [BZ #1349]
11807         * malloc/Makefile (tests): Add tst-malloc-usable test case.
11808         (tst-malloc-usable-ENV): Set environment for test case.
11809         * malloc/hooks.c (malloc_check_get_size): New function to get
11810         requested size.
11811         * malloc/malloc.c (musable): Use malloc_check_get_size.
11812         * malloc/tst-malloc-usable.c: New test case.
11814 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11816         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11818 2012-09-05  Allan McRae  <allan@archlinux.org>
11820         [BZ #13966]
11821         * configure.in (CXX_SYSINCLUDES): Use compiler output to
11822         determine header location.
11823         * configure: Regenerated.
11825 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11827         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11828         float format.
11829         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
11830         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11831         format.
11832         (test): Regenerate.
11834 2012-09-04  David S. Miller  <davem@davemloft.net>
11836         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11837         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11838         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11840 2012-09-04  Florian Weimer  <fweimer@redhat.com>
11842         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11843         failures.
11845         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11847 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
11849         [BZ #9914]
11850         * libio/iogetdelim.c: Include <limits.h>.
11851         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11852         + len + 1 would overflow.
11854 2012-09-03  Andreas Jaeger  <aj@suse.de>
11856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11857         * sysdeps/i386/fpu/libm-test-ulps: Update.
11859 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11861         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11862         Add s_sinf-sse2, s_conf-sse2.
11864         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11865         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11866         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11867         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11869         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11870         for using routine as __sinf_ia32.
11871         Use macro for function declaration and weak_alias.
11872         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11873         for using routine as __cosf_ia32.
11874         Use macro for function declaration and weak_alias.
11876         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11877         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11879         * sysdeps/x86_64/fpu/s_sinf.S: New file.
11880         * sysdeps/x86_64/fpu/s_cosf.S: New file.
11881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11883         * math/libm-test.inc (cos_test): Add more test cases.
11884         (sin_test): Likewise.
11885         (sincos_test): Likewise.
11887 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11889         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11890         (IFUNC_RESOLVE): Make pointers to the specialized implementations
11891         hidden.
11892         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11894 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
11896         [BZ #14538]
11897         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11898         first element of the GOT.
11899         (elf_machine_load_address): Return the difference between
11900         the runtime address of _DYNAMIC and elf_machine_dynamic ().
11902 2012-09-01  Allan McRae  <allan@archlinux.org>
11904         [BZ #13412]
11905         * configure.in (AWK): Require gawk version 3.0 or later.
11906         * configure: Regenerated.
11908 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
11910         * sysdeps/unix/sysv/linux/kernel-features.h
11911         (__ASSUME_POSIX_CPU_TIMERS): Remove.
11912         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11913         [__NR_clock_getres]: Make code unconditional.
11914         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11915         (clock_getcpuclockid): Remove code left unreachable by removal of
11916         conditionals.
11917         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11918         code unconditional.
11919         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11920         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11921         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11922         Make code unconditional.
11923         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11924         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11925         * sysdeps/unix/sysv/linux/clock_settime.c
11926         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11927         conditional code.
11928         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11929         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11931 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
11933         [BZ #14476]
11934         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11935         scripts/test-installation.pl.
11937         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11938         and $ld_so_version if it is set.
11940 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11942         [BZ #14516]
11943         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11944         failure if reading from procfs failed.
11945         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11947 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
11949         * sysdeps/unix/sysv/linux/kernel-features.h
11950         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11951         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11952         Remove conditional code.
11953         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11954         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11955         Remove conditional code.
11956         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11957         * sysdeps/unix/sysv/linux/i386/fxstat.c
11958         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11959         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11960         * sysdeps/unix/sysv/linux/i386/fxstatat.c
11961         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11962         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11963         * sysdeps/unix/sysv/linux/i386/lxstat.c
11964         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11965         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11966         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11967         Remove conditional code.
11968         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11969         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11970         Remove conditional code.
11971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11972         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11973         <kernel-features.h>.
11974         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11975         Remove.
11976         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11977         Remove conditional code.
11978         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11979         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11980         Remove conditional.
11982 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
11984         [BZ #5400]
11985         * NEWS: Add fixed bug number.
11987 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
11989         [BZ #14519]
11990         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11991         underflowing exponent in case of negative sign.
11992         * stdlib/tst-strtod-round-data: Add more tests.
11993         * stdlib/tst-strtod-round.c (tests): Regenerated.
11995         [BZ #3479]
11996         * stdlib/strtod_l.c (NDIG): Remove.
11997         (HEXNDIG): Likewise.
11998         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11999         smallest representable value.
12000         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12001         lie within an exact representation of 1/2 ulp of the result.
12002         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12003         unconditionally.
12004         (TENS_P9_IDX): Define unconditionally.
12005         (TENS_P9_SIZE): Likewise.
12006         (TENS_P10_IDX): Likewise.
12007         (TENS_P10_SIZE): Likewise.
12008         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12009         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12010         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12011         entries for 10^2^13 and 10^2^14.
12012         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12013         (TENS_P13_IDX): Define.
12014         (TENS_P13_SIZE): Likewise.
12015         (TENS_P14_IDX): Likewise.
12016         (TENS_P14_SIZE): Likewise.
12017         (_fpioconst_pow10): Change array size to
12018         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
12019         unconditional.
12020         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12021         1024]: Add entries for 10^2^13 and 10^2^14.
12022         [LAST_POW10 > _LAST_POW10]: Remove #error.
12023         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12024         (_fpioconst_pow10): Change array size to
12025         FPIOCONST_POW10_ARRAY_SIZE.
12026         * stdlib/gen-fpioconst.c: New file.
12027         * stdlib/gen-tst-strtod-round.c: Likewise.
12028         * stdlib/tst-strtod-round-data: Likewise.
12029         * stdlib/tst-strtod-round.c: Likewise.
12030         * stdlib/Makefile (tests): Add tst-strtod-round.
12032         [BZ #14459]
12033         * stdlib/strtod_l.c: Include <stdint.h>.
12034         (NDEBUG): Do not define.
12035         (round_and_return): Change EXPONENT parameter to type intmax_t.
12036         Rearrange calculations to avoid internal overflow possibilities.
12037         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12038         Rearrange calculations to avoid internal overflow possibilities.
12039         Assert that number fits inside MPNSIZE limbs.
12040         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12041         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
12042         calculations and add assertions to avoid internal overflow
12043         possibilities.  Add casts to avoid signed/unsigned operations.
12044         * stdlib/tst-strtod-overflow.c: New file.
12045         * stdlib/Makefile (tests): Add tst-strtod-overflow.
12047 2012-08-25  Marek Polacek  <polacek@redhat.com>
12049         * time/time.h: Fix some typos in comments.
12051 2012-08-23  Roland McGrath  <roland@hack.frob.com>
12053         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12054         * posix/tst-rfc3484-2.c: Likewise.
12055         * posix/tst-rfc3484-3.c: Likewise.
12057 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
12059         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12060         (EF_ARM_ABI_FLOAT_HARD): Likewise.
12062 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
12064         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12065         #include of fxstatat64.c.
12067 2012-08-22  Roland McGrath  <roland@hack.frob.com>
12069         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12070         * shadow/getspent_r.c: Likewise.
12071         * shadow/getspnam.c: Likewise.
12072         * shadow/getspnam_r.c: Likewise.
12073         * gshadow/getsgent.c: Likewise.
12074         * gshadow/getsgent_r.c: Likewise.
12075         * gshadow/getsgnam.c: Likewise.
12076         * gshadow/getsgnam_r.c: Likewise.
12077         * inet/getnetbyad.c: Likewise.
12078         * inet/getnetbyad_r.c: Likewise.
12079         * inet/getnetbynm.c: Likewise.
12080         * inet/getnetbynm_r.c: Likewise.
12081         * inet/getnetent.c: Likewise.
12082         * inet/getnetent_r.c: Likewise.
12083         * inet/getproto.c: Likewise.
12084         * inet/getproto_r.c: Likewise.
12085         * inet/getprtent.c: Likewise.
12086         * inet/getprtent_r.c: Likewise.
12087         * inet/getprtname.c: Likewise.
12088         * inet/getprtname_r.c: Likewise.
12089         * inet/getrpcbyname.c: Likewise.
12090         * inet/getrpcbyname_r.c: Likewise.
12091         * inet/getrpcbynumber.c: Likewise.
12092         * inet/getrpcbynumber_r.c: Likewise.
12093         * inet/getrpcent.c: Likewise.
12094         * inet/getrpcent_r.c: Likewise.
12095         * inet/getaliasent.c: Likewise.
12096         * inet/getaliasent_r.c: Likewise.
12097         * inet/getaliasname.c: Likewise.
12098         * inet/getaliasname_r.c: Likewise.
12099         * nscd/getgrgid_r.c: Likewise.
12100         * nscd/getgrnam_r.c: Likewise.
12101         * nscd/gethstbyad_r.c: Likewise.
12102         * nscd/gethstbynm3_r.c: Likewise.
12103         * nscd/getpwnam_r.c: Likewise.
12104         * nscd/getpwuid_r.c: Likewise.
12105         * nscd/getsrvbynm_r.c: Likewise.
12106         * nscd/getsrvbypt_r.c: Likewise.
12107         * nscd/gai.c: Likewise.
12109         * configure.in (build_nscd): New substituted variable, set
12110         by --disable-build-nscd and defaults to $use_nscd.
12111         * configure: Regenerated.
12112         * config.make.in (build-nscd): New substituted variable.
12113         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12114         Change conditional to require [$(build-nscd) = yes] as well.
12115         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12117         [BZ# 13696]
12118         * configure.in (use_nscd): New substituted variable, set by
12119         --disable-nscd.  If enabled, define USE_NSCD.
12120         * configure: Regenerated.
12121         * config.h.in: Add USE_NSCD.
12122         * config.make.in (use-nscd): New substituted variable.
12123         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12124         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12125         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12126         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12127         (CFLAGS-getgrnam_r.c): Likewise.
12128         (CFLAGS-initgroups.c): Likewise.
12129         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12130         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12131         Variables removed.
12132         * inet/getnetgrent_r.c
12133         (nscd_setnetgrent): New function, broken out of ...
12134         (setnetgrent): ... here.  Call it.
12135         (innetgr): Conditionalize nscd bits on [USE_NSCD].
12136         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12137         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12138         * nscd/Makefile (routines, aux): Move definitions after include of
12139         Makeconfig.  Conditionalize on [$(use-nscd) != no].
12140         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12141         Conditionalize on [USE_NSCD].
12142         (is_nscd, nscd_init_cb): Likewise.
12143         (nss_load_library): Conditionalize init callback on [USE_NSCD].
12144         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12145         * nss/nss_db/db-init.c: Likewise.
12146         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12147         [USE_NSCD].
12148         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12149         (make_request): Use it.
12150         (cache_valid_p): New function.
12151         (__check_pf): Use it.
12152         * NEWS: Add item for --disable-nscd.
12154 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
12156         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12157         to support sed >= 4.2.1-20-ga9bf076.
12158         * configure: Regenerated.
12160 2012-08-22  Roland McGrath  <roland@hack.frob.com>
12162         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12163         Conditionalize whole body on [IREL].
12165 2012-08-22  Jeff Law <law@redhat.com>
12167         [BZ #14505]
12168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12169         if the family is PF_UNSPEC.
12171 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
12173         * Makerules (lib-version): Rename from V.
12174         (install-lib-nosubdir): Change V to lib-version.
12176 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
12178         [BZ #14252]
12179         * powerpc32/power6/wcschr.c: New file.
12180         * powerpc32/power6/wcscpy.c: New file.
12181         * powerpc32/power6/wcsrchr.c: New file.
12182         * powerpc64/power6/wcschr.c: New file.
12183         * powerpc64/power6/wcscpy.c: New file.
12184         * powerpc64/power6/wcsrchr.c: New file.
12186 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
12188         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12189         (two_way_short_needle): Use it.
12190         * string/strstr.c (AVAILABLE1_USES_J): Define.
12191         * string/strcasestr.c: Likewise.
12193         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12194         array references.
12195         * string/strcasestr.c (TOLOWER): Make side-effect safe.
12197         [BZ #11607]
12198         * NEWS: Add an entry.
12199         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12200         define their defaults.
12201         (two_way_short_needle): Detect end-of-string on-the-fly.
12202         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12203         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12204         * string/bug-strcasestr1.c: New test.
12205         * string/Makefile: Run it.
12207 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
12209         [BZ #11607]
12210         * string/str-two-way.h (two_way_short_needle): Optimize matching of
12211         the first character.
12213 2012-08-21  Roland McGrath  <roland@hack.frob.com>
12215         * csu/elf-init.c (__libc_csu_irel): Function removed.
12216         * csu/libc-start.c (apply_irel): New function.
12217         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12219 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
12221         * sysdeps/unix/sysv/linux/kernel-features.h
12222         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12223         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12224         <kernel-features.h>.
12225         [__NR_fadvise64_64]: Make code unconditional.
12226         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12227         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12228         !__NR_fadvise64_64)]: Likewise.
12229         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12230         !__NR_fadvise64_64))]: Likewise.
12231         [__NR_fadvise64]: Make code unconditional.
12232         [!__NR_fadvise64]: Remove conditional code.
12233         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12234         <kernel-features.h>.
12235         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12236         unconditional.
12237         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12238         conditional code.
12239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12240         not include <kernel-features.h>.
12241         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12242         unconditional.
12243         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12244         conditional code.
12245         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12246         include <kernel-features.h>.
12247         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12248         unconditional.
12249         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12250         conditional code.
12252 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
12254         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12255         slight instruction rearrangements per scrollpipe analysis.
12256         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12258 2012-08-20  Roland McGrath  <roland@hack.frob.com>
12260         * manual/syslog.texi (syslog; vsyslog, closelog):
12261         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12262         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12264         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12265         DSOCAPS to match condition on defining it.
12267 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
12269         * sysdeps/unix/sysv/linux/kernel-features.h
12270         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12272         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12273         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12275         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12276         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12278         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12279         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12281         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12282         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12284         * sysdeps/unix/sysv/linux/kernel-features.h
12285         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12286         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12287         unconditional.
12288         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12289         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12290         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12291         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12292         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12293         Make code unconditional.
12294         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12295         (__mmap64) [!__NR_mmap2]: Likewise.
12296         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12297         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12298         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12299         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12300         [__NR_mmap2]: Make code unconditional.
12301         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12302         (__mmap64) [!__NR_mmap2]: Likewise.
12304 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12306         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12308 2012-08-18  Andreas Jaeger  <aj@suse.de>
12310         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12312 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12314         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12315         * include/unistd.h (__have_sock_cloexec): Likewise.
12316         (__have_pipe2): Likewise.
12317         (__have_dup3): Likewise.
12319 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12321         [BZ #9685]
12322         * include/unistd.h (__have_pipe2): Change define into an extern int.
12323         (__have_dup3): Likewise.
12324         * socket/have_sock_cloexec.c: Include fcntl.h.
12325         (__have_pipe2): New variable.
12326         (__have_dup3): Likewise.
12328 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
12330         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12332 2012-08-17  Marek Polacek  <polacek@redhat.com>
12334         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12335         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12337 2012-08-17  Roland McGrath  <roland@hack.frob.com>
12339         * configure.in: Add AC_SUBST for sysheaders.
12340         * configure: Regenerated.
12341         * config.make.in (sysheaders): New substituted variable.
12343         * sysdeps/unix/mkfifo.c: Moved ...
12344         * sysdeps/posix/mkfifo.c: ... here.
12345         * sysdeps/unix/mkfifoat.c: Moved ...
12346         * sysdeps/posix/mkfifoat.c: ... here.
12348         * sysdeps/unix/utime.c: Moved ...
12349         * sysdeps/posix/utime.c: ... here.
12351         * sysdeps/unix/time.c: Moved ...
12352         * sysdeps/posix/time.c: ... here.
12353         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12354         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12356         * sysdeps/unix/nice.c: Moved ...
12357         * sysdeps/posix/nice.c: ... here.
12359         * sysdeps/unix/alarm.c: Moved ...
12360         * sysdeps/posix/alarm.c: ... here.
12362         * intl/Makefile ($(codeset_mo)): Depend on the input file.
12364 2012-08-17  Jeff Law <law@redhat.com>
12366         * intl/Makefile (codeset_mo): New variable.
12367         ($(codeset_mo)): New target.
12368         (tst-codeset.out): Depend on that.  Remove explicit rule.
12369         (tst-gettext3.out, tst-gettext5.out): Likewise.
12370         (LOCPATH-ENV, tst-codeset-ENV): New variables.
12371         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12372         * intl/tst-codeset.sh: Remove.
12373         * intl/tst-gettext3.sh: Likewise.
12374         * intl/tst-gettext5.sh: Likewise.
12376 2012-08-17  Roland McGrath  <roland@hack.frob.com>
12378         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
12379         * sysdeps/unix/syscalls.list: ... here.
12381         * sysdeps/posix/getaddrinfo.c
12382         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12383         (gaiconf_init, gaiconf_reload): Use them.
12384         [!_STATBUF_ST_NSEC]
12385         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12386         Define using time_t rather than struct timespec.
12388         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12389         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12390         Macros removed.
12391         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12392         [!NO_THREADS].
12393         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12394         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12395         Likewise.
12397         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12398         __libc_cleanup_push argument.
12400         * bits/param.h: New file.
12401         * misc/sys/param.h: New file.
12402         * include/sys/param.h: New file.
12403         * misc/Makefile (headers): Add bits/param.h.
12404         * sysdeps/generic/sys/param.h: File removed.
12405         * sysdeps/unix/sysv/linux/bits/param.h: New file.
12406         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12407         * sysdeps/mach/hurd/bits/param.h: New file.
12408         * sysdeps/mach/hurd/sys/param.h: File removed.
12410         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12411         last change.
12413         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12414         [_IO_MTSAFE_IO].
12415         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12416         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12417         New macros.
12419         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12420         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12421         rather than -D_IO_MTSAFE_IO conditionally.
12422         * stdio-common/Makefile (CPPFLAGS): Likewise.
12423         * wcsmbs/Makefile (CPPFLAGS): Likewise.
12424         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12425         Use $(libio-mtsafe).
12426         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12427         of -D_IO_MTSAFE_IO.
12428         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12429         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12430         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12431         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12432         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12433         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12434         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12435         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12436         (CFLAGS-fread_u_chk.c): Likewise.
12437         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12438         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12439         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12440         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12441         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12442         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12443         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12444         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12445         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12447         * libio/Makefile: Test [$(libc-reentrant) = yes]
12448         instead of [$(filter %REENTRANT, $(defines)) nonempty].
12450         * Makeconfig
12451         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12452         * sysdeps/pthread/configure: File removed.
12453         * sysdeps/pthread/Makeconfig: New file.
12454         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12455         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12457 2012-08-16  Gary Benson  <gbenson@redhat.com>
12459         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12460         unmapping the first object in a namespace.
12462 2012-08-16  Roland McGrath  <roland@hack.frob.com>
12464         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12465         (__internal_setnetgrent): ... this.  Add internal_function to
12466         definition.  Add libc_hidden_def.
12467         (setnetgrent): Update caller.
12468         (internal_endnetgrent): Renamed to ...
12469         (__internal_endnetgrent): ... this.  Add internal_function to
12470         definition.  Add libc_hidden_def.
12471         (endnetgrent): Update caller.
12472         (internal_getnetgrent_r): Renamed to ...
12473         (__internal_getnetgrent_r): ... this.  Add internal_function to
12474         definition.  Add libc_hidden_def.
12475         (__getnetgrent_r): Update caller.
12476         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
12478 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
12480         * stdlib/longlong.h: Update from GCC.
12482 2012-08-16  Roland McGrath  <roland@hack.frob.com>
12484         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12485         on _QL, which is set by umul_ppmm but never used.
12486         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12487         variables, which are set by GMP macros but never used.
12488         * stdio-common/_itowa.c (_itowa): Likewise.
12489         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12490         * stdlib/mod_1.c (mpn_mod_1): Likewise.
12492 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
12494         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12495         struct La_sh_regs is not constant.
12496         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12497         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12498         and struct La_sparc64_regs are not constant.
12500 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
12502         * sysdeps/unix/sysv/linux/kernel-features.h
12503         (__ASSUME_POSIX_TIMERS): Remove.
12504         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12505         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12506         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12507         Make code unconditional.
12508         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12509         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12510         Make code unconditional.
12511         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12512         * sysdeps/unix/sysv/linux/clock_nanosleep.c
12513         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12514         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12515         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12516         Make code unconditional.
12517         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12518         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12519         (__libc_missing_posix_timers): Remove.
12521 2012-08-15  Roland McGrath  <roland@hack.frob.com>
12523         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12524         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12526         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12528         * elf/dl-sym.c: Include <stdlib.h>.
12530         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12531         constants, which avoids warnings in 32-bit builds.
12533         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12534         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12536         * misc/lseek.c: File moved to ...
12537         * io/lseek.c: ... here.
12539         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12541         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12542         shifting LEN more than 31 bits at once.
12544 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12546         [BZ #14195]
12547         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12548         segmentation fault for a case of two empty input strings.
12549         * string/test-strncasecmp.c (check1): Renamed to...
12550         (bz12205): ...this.
12551         (bz14195): Add new testcase for two empty input strings and N > 0.
12552         (test_main): Call new testcase, adapt for renamed function.
12554 2012-08-15  Andreas Jaeger  <aj@suse.de>
12556         [BZ #14090]
12557         * crypt/md5test2.c: New test, based on test supplied by Serge
12558         Belyshev <belyshev@depni.sinp.msu.ru>.
12559         * crypt/Makefile (xtests): Add md5test-giant..
12560         * crypt/Makefile ($(objpfx)md5test-giant): Add.
12562 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
12564         [BZ #14090]
12565         * crypt/md5.c (md5_process_block): Don't assume the buffer
12566         length is less than 2**32.
12567         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12568         length is less than 2**64.
12570 2012-08-15  Roland McGrath  <roland@hack.frob.com>
12572         * string/str-two-way.h: Include <sys/param.h>.
12573         (MAX): Macro removed.
12575         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12576         Move #define and #undef of memmove to just before and after
12577         including <string.h>.
12579         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12580         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12581         and after including <string.h>.  Move declarations of
12582         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12583         to before #include "string/memmove.c".
12585         * include/dirent.h: Declare __getdirentries.
12587         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12588         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12590 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
12592         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12593         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12594         * sysdeps/i386/configure: Regenerated.
12595         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12596         STABS_CURRENT_FILE, and STABS_FUN.
12597         (END): Remove call to STABS_FUN_END.
12598         (STABS_CURRENT_FILE1): Delete.
12599         (STABS_CURRENT_FILE): Likewise.
12600         (STABS_FUN): Likewise.
12601         (STABS_FUN_END): Likewise.
12602         (STABS_FUN2): Likewise.
12603         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12604         * sysdeps/x86_64/configure: Regenerated.
12606 2012-08-14  Roland McGrath  <roland@hack.frob.com>
12608         * elf/dl-open.c: Include <atomic.h>.
12609         * elf/dl-lookup.c: Likewise.
12611 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
12613         * sysdeps/unix/sysv/linux/kernel-features.h
12614         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12615         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12616         unconditionally.
12617         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12618         unconditionally.
12619         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12620         condition on __ASSUME_CLONE_THREAD_FLAGS.
12622 2012-08-14  Andreas Jaeger  <aj@suse.de>
12624         * sysdeps/i386/fpu/libm-test-ulps: Update.
12626 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
12628         * include/atomic.h (atomic_exchange_and_add): Split into ...
12629         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12630         New atomic macros.
12632 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
12634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12636 2012-08-13  Jeff Law <law@redhat.com>
12638         * manual/stdio.texi (snprintf): Clarify handling of the trailing
12639         null byte in the output string.
12641 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
12643         * sysdeps/unix/sysv/linux/kernel-features.h
12644         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12645         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12646         (__ASSUME_ARG_MAX_STACK_BASED): Define.
12647         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12648         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12649         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
12650         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12652 2012-08-09  Jeff Law <law@redhat.com>
12654         [BZ #13939]
12655         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12656         When avoid_arena is set, don't retry in the that arena.  Pick the
12657         next one, whatever it might be.
12658         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12659         (arena_lock): Pass in new parameter to arena_get2.
12660         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12661         arena_get2.
12662         (__libc_malloc): Unify retrying after main arena failure with
12663         __libc_memalign version.
12664         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12666 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12668         [BZ #14166]
12669         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12670         to __redirect_strstr.
12671         (__strstr_sse42): Use typeof __redirect_strstr.
12672         (__strstr_ia32): Likewise.
12673         (__libc_strstr): New prototype.
12674         (strstr): Renamed to ...
12675         (__libc_strstr): This.
12676         (strstr): New strong alias of __libc_strstr.
12677         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12678         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12679         __redirect_time.
12680         Include <time.h>.
12681         (__libc_time): New prototype.
12682         (time_ifunc): Replace time with __libc_time.
12683         (time): New strong alias and hidden definition of __libc_time.
12684         (__GI_time): Remove strong alias.
12685         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12686         Include <stddef.h>.
12687         (memmove): Redefined to __redirect_memmove.
12688         (__memmove_sse2): Use typeof __redirect_memmove.
12689         (__memmove_ssse3): Likewise.
12690         (__memmove_ssse3_back): Likewise.
12691         (__libc_memmove): New prototype.
12692         (memmove): Renamed to ...
12693         (__libc_memmove): This.
12694         (memmove): New strong alias of __libc_memmove.
12696 2012-08-08  Mark Salter  <msalter@redhat.com>
12698         * elf/elf.h
12699         (R_MN10300_TLS_GD): Define.
12700         (R_MN10300_TLS_LD): Likewise.
12701         (R_MN10300_TLS_LDO): Likewise.
12702         (R_MN10300_TLS_GOTIE): Likewise.
12703         (R_MN10300_TLS_IE): Likewise.
12704         (R_MN10300_TLS_LE): Likewise.
12705         (R_MN10300_TLS_DTPMOD): Likewise.
12706         (R_MN10300_TLS_DTPOFF): Likewise.
12707         (R_MN10300_TLS_TPOFF): Likewise.
12708         (R_MN10300_SYM_DIFF): Likewise.
12709         (R_MN10300_ALIGN): Likewise.
12710         (R_MN10300_NUM): Update.
12712 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
12714         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12715         Remove.
12717 2012-08-08  Roland McGrath  <roland@hack.frob.com>
12719         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12721         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12722         sysdeps/unix -> sysdeps/posix move.
12723         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12725 2012-08-07      Allan McRae     <allan@archlinux.org>
12727         [BZ #14303]
12728         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12729         (SUNOS_CPP): Likewise.
12730         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12731         not found.
12732         (open_input): Call CPP using execvp.
12734 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
12736         * sysdeps/unix/sysv/linux/kernel-features.h
12737         (__ASSUME_PROT_GROWSUPDOWN): Remove.
12738         (__ASSUME_NO_CLONE_DETACHED): Likewise.
12739         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12740         (__ASSUME_WAITID_SYSCALL): Likewise.
12741         * sysdeps/unix/sysv/linux/dl-execstack.c
12742         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12743         code unconditional.
12744         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12745         conditional code.
12746         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12747         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12748         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12749         code.
12750         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12751         unconditional.
12752         [__ASSUME_WAITID_SYSCALL]: Likewise.
12753         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12755 2012-08-07  Roland McGrath  <roland@hack.frob.com>
12757         * sysdeps/unix/closedir.c: Renamed to ...
12758         * sysdeps/posix/closedir.c: ... here.
12759         * sysdeps/unix/dirfd.c: Renamed to ...
12760         * sysdeps/posix/dirfd.c: ... here.
12761         * sysdeps/unix/dirstream.h: Renamed to ...
12762         * sysdeps/posix/dirstream.h: ... here.
12763         * sysdeps/unix/fdopendir.c: Renamed to ...
12764         * sysdeps/posix/fdopendir.c: ... here.
12765         * sysdeps/unix/opendir.c: Renamed to ...
12766         * sysdeps/posix/opendir.c: ... here.
12767         * sysdeps/unix/readdir.c: Renamed to ...
12768         * sysdeps/posix/readdir.c: ... here.
12769         * sysdeps/unix/readdir_r.c: Renamed to ...
12770         * sysdeps/posix/readdir_r.c: ... here.
12771         * sysdeps/unix/rewinddir.c: Renamed to ...
12772         * sysdeps/posix/rewinddir.c: ... here.
12773         * sysdeps/unix/seekdir.c: Renamed to ...
12774         * sysdeps/posix/seekdir.c: ... here.
12775         * sysdeps/unix/telldir.c: Renamed to ...
12776         * sysdeps/posix/telldir.c: ... here.
12777         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12778         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12779         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12780         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12782         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12783         * bits/fcntl.h: ... here.
12785         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12786         not 0.
12787         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12788         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12789         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12790         (struct flock): Move l_start, l_len to the beginning.
12791         Use __pid_t for l_pid.
12792         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12793         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12794         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12795         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12796         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12797         [__USE_LARGEFILE64] (struct flock64): New type.
12798         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12800         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12801         * bits/dirent.h: ... here.
12803         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12804         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12806 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
12808         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12809         Change from 2.6.0 to 2.6.16.
12810         * sysdeps/unix/sysv/linux/configure: Regenerated.
12811         * sysdeps/unix/sysv/linux/kernel-features.h
12812         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12813         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12814         version.
12815         (__ASSUME_UTIMES): Likewise.
12816         (__ASSUME_CLONE_STOPPED): Remove.
12817         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12818         architectures, not kernel version.
12819         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12820         (__ASSUME_NO_CLONE_DETACHED): Likewise.
12821         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12822         (__ASSUME_WAITID_SYSCALL): Likewise.
12823         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12824         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12825         * README: State 2.6.16 as minimum Linux kernel version.  Do not
12826         refer to older versions.
12828 2012-08-06  Roland McGrath  <roland@hack.frob.com>
12830         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12831         Define alphasort64 as an alias.
12832         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12833         Define versionsort64 as an alias.
12834         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12835         Define scandir64 as an alias.
12836         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12837         Define scandirat64 as an alias.
12838         * dirent/alphasort64.c (alphasort64):
12839         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12840         * dirent/versionsort64.c: Likewise.
12841         * dirent/scandir64.c: Likewise.
12842         * dirent/scandirat64.c: Likewise.
12843         * sysdeps/wordsize-64/alphasort.c: File removed.
12844         * sysdeps/wordsize-64/alphasort64.c: File removed.
12845         * sysdeps/wordsize-64/scandir.c: File removed.
12846         * sysdeps/wordsize-64/scandir64.c: File removed.
12847         * sysdeps/wordsize-64/scandirat.c: File removed.
12848         * sysdeps/wordsize-64/scandirat64.c: File removed.
12849         * sysdeps/wordsize-64/versionsort.c: File removed.
12850         * sysdeps/wordsize-64/versionsort64.c: File removed.
12851         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12852         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12853         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12854         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12855         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12856         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12857         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12858         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12860         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12861         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12862         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12863         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12864         [defined __arch64__ || defined __sparcv9]
12865         (__INO_T_MATCHES_INO64_T): New macro.
12866         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12867         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12868         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12869         * sysdeps/unix/sysv/linux/bits/dirent.h
12870         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12871         (_DIRENT_MATCHES_DIRENT64): New macro.
12873         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12874         Define lockf64 as an alias.
12875         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12876         Define fseeko64 as an alias.
12877         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12878         Define ftello64 as an alias.
12879         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12880         Define _IO_fgetpos64 and fgetpos64 as aliases.
12881         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12882         Define _IO_fsetpos64 and fsetpos64 as aliases.
12883         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12884         Conditionalize body on this.
12885         * libio/fseeko64.c: Likewise.
12886         * libio/ftello64.c: Likewise.
12887         * libio/iofgetpos64.c: Likewise.
12888         * libio/iofsetpos64.c: Likewise.
12889         * sysdeps/wordsize-64/lockf.c: File removed.
12890         * sysdeps/wordsize-64/lockf64.c: File removed.
12891         * sysdeps/wordsize-64/fseeko.c: File removed.
12892         * sysdeps/wordsize-64/fseeko64.c: File removed.
12893         * sysdeps/wordsize-64/ftello.c: File removed.
12894         * sysdeps/wordsize-64/ftello64.c: File removed.
12895         * sysdeps/wordsize-64/iofgetpos.c: File removed.
12896         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12897         * sysdeps/wordsize-64/iofsetpos.c: File removed.
12898         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12899         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12900         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12901         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12902         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12903         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12904         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12905         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12906         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12907         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12908         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12910         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12911         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12912         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12913         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12914         [defined __arch64__ || defined __sparcv9]
12915         (__OFF_T_MATCHES_OFF64_T): New macro.
12916         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12917         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12918         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12919         (__OFF_T_MATCHES_OFF64_T): New macro.
12921 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
12923         * stdlib/secure-getenv.c (__secure_getenv): Replace
12924         GLIBC_2_16 with GLIBC_2_17.
12926 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
12928         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12929         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12931 2012-08-03  David S. Miller  <davem@davemloft.net>
12933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12935 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
12937         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12938         Remove.
12939         (__ASSUME_CORRECT_SI_PID): Likewise.
12940         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12941         (__ASSUME_TMPFS_NAME): Likewise.
12942         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12943         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12944         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12945         (HAVE_AUX_SECURE): Make definition unconditional.
12946         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12947         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12949 2012-08-03  Roland McGrath  <roland@hack.frob.com>
12951         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12952         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12953         * sysdeps/mach/hurd/eloop-threshold.h: New file.
12954         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12955         __eloop_threshold instead of SYMLOOP_MAX.
12957         * sysdeps/generic/eloop-threshold.h: New file.
12958         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12959         of MAXSYMLINKS.
12960         * elf/chroot_canon.c (chroot_canon): Likewise.
12962 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
12964         [BZ #13717]
12965         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12966         Change to 2.6.0 everywhere.
12967         * sysdeps/unix/sysv/linux/configure: Regenerated.
12968         * sysdeps/unix/sysv/linux/kernel-features.h
12969         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12970         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12971         kernel versions.
12972         (__ASSUME_POSIX_TIMERS): Define unconditionally.
12973         (__ASSUME_FUTEX_REQUEUE): Remove.
12974         (__ASSUME_STATFS64): Define unconditionally.
12975         (__ASSUME_AT_SECURE): Likewise.
12976         (__ASSUME_CORRECT_SI_PID): Likewise.
12977         (__ASSUME_TGKILL): Define without depending on kernel version for
12978         i386.
12979         (__ASSUME_UTIMES): Likewise.
12980         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12981         kernel version.
12982         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12983         (__ASSUME_TMPFS_NAME): Likewise.
12984         * README: Update reference to Linux kernel versions.
12986 2012-08-02  Marek Polacek  <polacek@redhat.com>
12988         [BZ# 14150]
12989         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
12990         libc_cv_asm_type_prefix with %.
12991         * configure: Regenerated.
12992         * include/libc-symbols.h: Remove comment about
12993         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12994         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12995         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12996         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12997         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12998         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12999         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13000         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13001         * elf/tst-unique2mod1.c: Likewise.
13002         * elf/tst-unique1mod2.c: Likewise.
13003         * elf/tst-unique1mod1.c: Likewise.
13004         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13005         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13006         Replace ASM_TYPE_DIRECTIVE with .type.
13007         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13008         * sysdeps/i386/sysdep.h: Likewise.
13009         * sysdeps/x86_64/sysdep.h: Likewise.
13010         * sysdeps/sh/sysdep.h: Likewise.
13011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13012         Do not define ASM_TYPE_DIRECTIVE.
13013         * sysdeps/powerpc/sysdep.h: Likewise.
13014         * sysdeps/powerpc/powerpc32/sysdep.h:
13015         Replace ASM_TYPE_DIRECTIVE with .type.
13016         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13017         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13018         * sysdeps/i386/fpu/e_powf.S: Likewise.
13019         * sysdeps/i386/fpu/e_expl.S: Likewise.
13020         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13021         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13022         * sysdeps/i386/fpu/e_pow.S: Likewise.
13023         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13024         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13025         * sysdeps/i386/fpu/s_expm1.S: Likewise.
13026         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13027         * sysdeps/i386/fpu/e_log2.S: Likewise.
13028         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13029         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13030         * sysdeps/i386/fpu/e_powl.S: Likewise.
13031         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13032         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13033         * sysdeps/i386/fpu/e_logl.S: Likewise.
13034         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13035         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13036         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13037         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13038         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13039         * sysdeps/i386/fpu/e_log.S: Likewise.
13040         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13041         * sysdeps/i386/fpu/e_logf.S: Likewise.
13042         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13043         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13044         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13045         * sysdeps/i386/fpu/e_log10.S: Likewise.
13046         * sysdeps/i386/fpu/s_frexp.S: Likewise.
13047         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13048         * sysdeps/i386/fpu/s_asinh.S: Likewise.
13049         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13050         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13051         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13052         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13053         * sysdeps/i386/i686/strtok.S: Likewise.
13054         * sysdeps/i386/i386-mcount.S: Likewise.
13055         * sysdeps/i386/strtok.S: Likewise.
13056         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13057         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13058         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13059         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13060         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13061         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13062         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13063         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13064         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13065         * sysdeps/x86_64/_mcount.S: Likewise.
13066         * sysdeps/x86_64/strtok.S: Likewise.
13067         * sysdeps/sh/_mcount.S: Likewise.
13069 2012-08-01  Roland McGrath  <roland@hack.frob.com>
13071         * libio/iofopen.c: Include <fcntl.h>.
13072         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13073         (_IO_fopen64, fopen64): Define as aliases.
13074         * libio/iofopen64.c: Include <fcntl.h>.
13075         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13076         Conditionalize body on this.
13077         * sysdeps/wordsize-64/iofopen.c: File removed.
13078         * sysdeps/wordsize-64/iofopen64.c: File removed.
13080 2012-08-01  Marek Polacek  <polacek@redhat.com>
13082         * libc/Makeconfig: Use elf in place of binfmt-subdir.
13083         Use dlfcn directly instead of a variable.
13084         (binfmt-subdir): Do not define.
13085         (dlfcn): Likewise.
13087 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
13089         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13090         Remove all definitions.
13091         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13092         <kernel-features.h>.
13093         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13094         (miss_F_GETOWN_EX): Remove all definitions.
13095         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13096         macro definition.
13097         [!__ASSUME_FCNTL64]: Remove conditional code.
13098         [__ASSUME_FCNTL64]: Make code unconditional.
13099         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13100         <kernel-features.h>.
13101         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13102         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13103         (lockf64) [__NR_fcntl64]: Make code unconditional.
13104         (lockf64) [__ASSUME_FCNTL64]: Likewise.
13106         * sysdeps/unix/sysv/linux/kernel-features.h
13107         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13108         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13109         Make code unconditional.
13110         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13111         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13113         [__NR_vfork]: Make code unconditional.
13114         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13115         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13117         [__NR_vfork]: Make code unconditional.
13118         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13119         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13121 2012-08-01  Roland McGrath  <roland@hack.frob.com>
13123         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13124         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13126         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13127         Define mkstemp64 as an alias.
13128         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13129         Define mkstemps64 as an alias.
13130         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13131         Define mkostemp64 as an alias.
13132         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13133         Define mkostemps64 as an alias.
13134         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13135         Conditionalize body on this.
13136         * misc/mkostemp64.c: Likewise.
13137         * misc/mkostemps64.c: Likewise.
13138         * misc/mkstemps64.c: Likewise.
13139         * sysdeps/wordsize-64/mkstemp64.c: File removed.
13140         * sysdeps/wordsize-64/mkostemp64.c: File removed.
13141         * sysdeps/wordsize-64/mkostemp.c: File removed.
13142         * sysdeps/wordsize-64/mkstemp.c: File removed.
13143         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13144         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13145         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13146         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13148         [BZ #14138]
13149         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13150         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13151         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13152         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13154         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13155         compat_symbol macros from <shlib-compat.h> rather than the underlying
13156         default_symbol_version and symbol_version macros, so that DEFAULT
13157         lines in shlib-versions are respected.
13158         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13160 2012-08-01  Florian Weimer  <fweimer@redhat.com>
13162         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13163         Declare with warn_unused_result.
13164         (setgid, setregid, setegid, setresgid): Likewise.
13165         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13166         Likewise.
13167         * WUR-REPORT: Remove set*id functions.
13169 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
13171         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13173 2012-07-31  Roland McGrath  <roland@hack.frob.com>
13175         [BZ #10191]
13176         * include/sys/socket.h (__libc_accept, __libc_accept4):
13177         Add attribute_hidden.
13178         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13180         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13181         use of PTR_MANGLE.
13182         * inet/getnetgrent_r.c (setup): Likewise.
13184         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13186 2012-07-31  David S. Miller  <davem@davemloft.net>
13188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13190 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
13192         [BZ #13629]
13193         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13194         value between 1.0 and 2.0 and smaller part has absolute value less
13195         than 1.0.
13196         * math/s_clog10.c (__clog10): Likewise.
13197         * math/s_clog10f.c (__clog10f): Likewise.
13198         * math/s_clog10l.c (__clog10l): Likewise.
13199         * math/s_clogf.c (__clogf): Likewise.
13200         * math/s_clogl.c (__clogl): Likewise.
13201         * math/libm-test.inc (clog_test): Add more tests.
13202         (clog10_test): Likewise.
13203         * sysdeps/i386/fpu/libm-test-ulps: Update.
13204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13206 2012-07-31  Florian Weimer  <fweimer@redhat.com>
13208         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13209         Exit with zero in case no suitable GID is found, and write a
13210         message to standard error.
13212 2012-07-30  Roland McGrath  <roland@hack.frob.com>
13214         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13215         rather than to 1.
13216         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13217         (MAXPATHLEN): Removed.
13218         (NOGROUP, NODEV): New macros.
13219         (setbit, clrbit, isset, isclr): New macros.
13220         (howmany, roundup, powerof2): New macros.
13221         (DEV_BSIZE): New macro.
13223         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13224         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13226         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13227         definition on [!__NO_LONG_DOUBLE_MATH].
13229         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13230         PTR_MANGLE and PTR_DEMANGLE.
13232         * socket/accept4.c (accept4): Rename to __libc_accept4.
13233         Define accept4 as a weak alias.
13235         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13236         on [_DIRENT_HAVE_D_TYPE].
13237         * io/ftw.c (ftw_dir): Likewise.
13239         * io/xmknod.c (__xmknod): Don't check PATH for being null.
13241         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13243         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13244         Use the BSD numbers rather than the arbitrary ones we had.
13245         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13246         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13247         (SIGXCPU, SIGXFSZ): New macros.
13248         (_NSIG): Now 32.
13250         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13251         initializer on [_LIBC_REENTRANT].
13253         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13254         definitions inside [_POSIX_MAPPED_FILES].
13256         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13258         * dirent/opendir.c: Include <fcntl.h>.
13260         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13261         (__libc_getspecific): Likewise.
13262         (__libc_key_create): Likewise.
13264         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13265         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13266         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13267         (tmpfile64): Define as alias.
13268         * sysdeps/wordsize-64/tmpfile.c: File removed.
13269         * sysdeps/wordsize-64/tmpfile64.c: File removed.
13270         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13271         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13273         * stdio-common/vfscanf.c: Include <stdbool.h>.
13274         * nss/makedb.c: Likewise.
13275         * stdio-common/_i18n_number.h: Likewise.
13276         * argp/argp-help.c: Likewise.
13277         * posix/wordexp.c: Likewise.
13278         * sysdeps/posix/spawni.c: Likewise.
13279         * nss/nss_files/files-initgroups.c: Likewise.
13280         * stdio-common/reg-modifier.c: Include <stdlib.h>.
13281         * nss/nss_files/files-initgroups.c: Likewise.
13282         * nss/nss_db/db-netgrp.c: Likewise.
13283         * nss/nss_db/db-initgroups.c: Likewise.
13284         * io/fchmodat.c: Include <sys/stat.h>.
13286         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13287         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13289         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13290         [HAVE_MMAP].
13292         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13293         Add multiple inclusion protection.
13295 2012-07-27  David S. Miller  <davem@davemloft.net>
13297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13299 2012-07-27  Gary Benson  <gbenson@redhat.com>
13301         [BZ #14298]
13302         * elf/rtld.c: Include <stap-probe.h>.
13303         (dl_main): Added static probes "init_start" and "init_complete".
13304         * elf/dl-load.c: Include <stap-probe.h>.
13305         (lose): Take new parameter "nsid".
13306         Added static probe "map_failed".
13307         (_dl_map_object_from_fd): Pass namespace id to lose.
13308         Added static probe "map_start".
13309         (open_verify): Pass namespace id to lose.
13310         * elf/dl-open.c: Include <stap-probe.h>.
13311         (dl_open_worker) Added static probes "map_complete", "reloc_start"
13312         and "reloc_complete".
13313         * elf/dl-close.c: Include <stap-probe.h>.
13314         (_dl_close_worker): Added static probes "unmap_start" and
13315         "unmap_complete".
13316         * elf/rtld-debugger-interface.txt: New file documenting the above.
13318 2012-07-26  Roland McGrath  <roland@hack.frob.com>
13320         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13321         rather than a string variable.
13322         * sunrpc/rpc_main.c (h_output): Likewise.
13323         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13325 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
13327         * inet/check_native.c: New file.
13329 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
13331         [BZ #13629]
13332         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13333         if larger part has absolute value 1.0.
13334         * math/s_clog10.c (__clog10): Likewise.
13335         * math/s_clog10f.c (__clog10f): Likewise.
13336         * math/s_clog10l.c (__clog10l): Likewise.
13337         * math/s_clogf.c (__clogf): Likewise.
13338         * math/s_clogl.c (__clogl): Likewise.
13339         * math/libm-test.inc (clog_test): Add more tests.
13340         (clog10_test): Likewise.
13341         * sysdeps/i386/fpu/libm-test-ulps: Update.
13342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13344         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13345         (pltexit): Likewise.
13346         (La_regs): Likewise.
13347         (La_retval): Likewise.
13348         (int_retval): Likewise.
13349         Update #error for removed macros to refer only to definitions in
13350         tst-audit.h.
13351         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13352         macro.
13353         (pltexit): Likewise.
13354         (La_regs): Likewise.
13355         (La_retval): Likewise.
13356         (int_retval): Likewise.
13357         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13358         macro.
13359         (pltexit): Likewise.
13360         (La_regs): Likewise.
13361         (La_retval): Likewise.
13362         (int_retval): Likewise.
13363         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13364         macro.
13365         (pltexit): Likewise.
13366         (La_regs): Likewise.
13367         (La_retval): Likewise.
13368         (int_retval): Likewise.
13369         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13370         macro.
13371         (pltexit): Likewise.
13372         (La_regs): Likewise.
13373         (La_retval): Likewise.
13374         (int_retval): Likewise.
13375         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13376         macro.
13377         (pltexit): Likewise.
13378         (La_regs): Likewise.
13379         (La_retval): Likewise.
13380         (int_retval): Likewise.
13381         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13382         macro.
13383         (pltexit): Likewise.
13384         (La_regs): Likewise.
13385         (La_retval): Likewise.
13386         (int_retval): Likewise.
13387         * sysdeps/generic/tst-audit.h: Update comment to refer only to
13388         macro definitions in tst-audit.h.
13389         * sysdeps/i386/tst-audit.h: New file.
13390         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13391         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13392         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13393         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13394         * sysdeps/sh/tst-audit.h: Likewise.
13395         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13396         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13397         * sysdeps/x86_64/tst-audit.h: Likewise.
13399 2012-07-26  Andreas Jaeger  <aj@suse.de>
13401         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13402         ptrace.
13404         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13405         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13406         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13407         PTRACE_O_MASK.
13408         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13409         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13410         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13412         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13413         value.
13415         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13416         _sigsys.
13417         (si_call_addr, si_syscall, si_arch): Define new macro.
13418         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13419         _sigsys.
13420         (si_call_addr, si_syscall, si_arch): Define new marcro.
13421         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13422         _sigsys.
13423         (si_call_addr, si_syscall, si_arch): Define new macro.
13424         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13425         _sigsys.
13426         (si_call_addr, si_syscall, si_arch): Define new macro.
13428 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
13430         [BZ #13717]
13431         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13432         Change to 2.4.21 where previously 2.4.1.
13433         * sysdeps/unix/sysv/linux/configure: Regenerated.
13434         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13435         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13436         Linux kernel version.
13437         (__ASSUME_STD_AUXV): Remove.
13438         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13439         kernel version.
13440         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13441         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13442         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13443         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13444         (__ASSUME_NETLINK_SUPPORT): Likewise.
13445         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13446         (__no_netlink_support): Remove conditional definition.
13447         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13448         Remove.
13449         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13450         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13451         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13452         (if_nameindex_ioctl): Remove.
13453         (if_nameindex_netlink): Do not handle __no_netlink_support.
13454         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13455         code.
13456         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13457         Remove conditional code.
13458         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13459         code.
13460         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13461         unconditional.
13462         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13463         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13464         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13465         Remove.
13466         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13467         [!__ASSUME_STD_AUXV]: Remove conditional code.
13468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13469         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13470         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13472         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13473         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13474         code.
13475         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13477         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13478         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13479         conditional code.
13480         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13482         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13483         code.
13484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13485         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13486         conditional code.
13487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13488         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13489         code unconditional.
13490         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13491         conditional code.
13492         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13493         unconditional.
13494         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13495         conditional code.
13496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13497         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13498         unconditional.
13499         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13500         conditional code.
13501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13502         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13503         code unconditional.
13504         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13505         conditional code.
13506         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13507         unconditional.
13508         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13509         conditional code.
13510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13511         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13512         code unconditional.
13513         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13514         conditional code.
13515         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13516         unconditional.
13517         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13518         conditional code.
13520 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
13522         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13523         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13524         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13525         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13526         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13527         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13528         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13529         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13530         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13531         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13532         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13533         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13534         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13535         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13536         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13537         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13538         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13539         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13540         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13541         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13542         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13543         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13544         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13546 2012-07-25  Florian Weimer  <fweimer@redhat.com>
13548         * Versions.def: Add GLIBC_2.17.
13549         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13550         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13551         Introduce __libc_secure_getenv.
13552         * stdlib/Versions (2.17): Add secure_getenv
13553         (GLIBC_PRIVATE): Add __libc_secure_getenv.
13554         * stdlib/secure-getenv.c: Rename __secure_getenv to
13555         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
13556         symbol __secure_getenv for GLIBC_2.0.
13557         * stdlib/tst-secure-getenv.c: New.
13558         * stdlib/Makefile (tests): Add testcase.
13559         * manual/startup.texi (Environment Access): Document
13560         secure_getenv.
13561         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13562         __libc_secure_getenv.
13563         * inet/ruserpass.c (ruserpass): Likewise.
13564         * malloc/mtrace.c (mtrace): Likewise.
13565         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13566         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13567         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13568         * sysdeps/posix/tempname.c: Likewise.  Evaluate
13569         HAVE_SECURE_GETENV.
13570         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13571         __secure_getenv to __libc_secure_getenv.
13572         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13574         Likewise.
13575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13576         Likewise.
13577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13579         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13585 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
13587         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13588         (struct La_i86_retval): Likewise.
13589         (struct La_x86_64_regs): Likewise.
13590         (struct La_x86_64_retval): Likewise.
13591         (struct La_x32_regs): Likewise.
13592         (struct La_x32_retval): Likewise.
13593         (struct La_ppc32_regs): Likewise.
13594         (struct La_ppc32_retval): Likewise.
13595         (struct La_ppc64_regs): Likewise.
13596         (struct La_ppc64_retval): Likewise.
13597         (struct La_sh_regs): Likewise.
13598         (struct La_sh_retval): Likewise.
13599         (struct La_s390_32_regs): Likewise.
13600         (struct La_s390_32_retval): Likewise.
13601         (struct La_s390_64_regs): Likewise.
13602         (struct La_s390_64_retval): Likewise.
13603         (struct La_sparc32_regs): Likewise.
13604         (struct La_sparc32_retval): Likewise.
13605         (struct La_sparc64_regs): Likewise.
13606         (struct La_sparc64_retval): Likewise.
13607         (struct audit_ifaces): Remove architecture-specific pltenter and
13608         pltexit members.
13609         * sysdeps/i386/ldsodefs.h: New file.
13610         * sysdeps/powerpc/ldsodefs.h: Likewise.
13611         * sysdeps/s390/ldsodefs.h: Likewise.
13612         * sysdeps/sh/ldsodefs.h: Likewise.
13613         * sysdeps/sparc/ldsodefs.h: Likewise.
13614         * sysdeps/x86_64/ldsodefs.h: Likewise.
13616 2012-07-25  Marek Polacek  <polacek@redhat.com>
13618         [BZ #6808]
13619         * math/libm-test.inc (yn_test): Add another test.
13620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13621         to ERANGE when the result is +-Inf.
13622         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13623         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13624         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13625         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13627 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
13629         * conform/data/time.h-data (NULL): Use macro-constant.  Require
13630         equal to 0.
13631         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
13632         clock_t.
13633         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
13635 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
13637         * configure.in <sysdeps resolving>: Correct printing
13638         Implies_before.
13639         * configure: Regenerate.
13641 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
13643         * math/w_ilogb.c: Include <limits.h>.
13644         * math/w_ilogbl.c: Likewise.
13646 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
13648         * manual/lang.texi (__va_copy): Document primarily as ISO C99
13649         va_copy.  Document allowing for unavailable va_copy only as
13650         pre-C99 compatibility.
13651         * manual/string.texi (Copying and Concatenation): Use va_copy
13652         instead of __va_copy in concat example.
13654 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
13656         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13657         (__sendto): Use create_address_port.  Initialize APORT and deallocate
13658         it if not null.
13660         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13661         with O_NOLINK passed to __file_name_lookup.
13663         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13664         with O_NOLINK passed to __file_name_lookup.
13666         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13667         negative N or less than NGIDS.
13669         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13670         type to string_t.  Set ERANGE as errno and return it if NAME is not big
13671         enough.  Use memcpy instead of strncpy.
13673 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
13675         * elf/Makefile (check-data): Remove.
13676         (localplt.data): New vpath directive.
13677         ($(objpfx)check-localplt.out): Use localplt.data from vpath
13678         instead of $(check-data).
13679         * scripts/data/localplt-generic.data: Move to ...
13680         * sysdeps/generic/localplt.data: ... here.
13681         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13682         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13683         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13685         ... here.
13686         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13688         ... here.
13689         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13691         ... here.
13692         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13694         ... here.
13695         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13697         ... here.
13698         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13700         ... here.
13702 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13704         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13705         PPC32 and PPC64 files.
13706         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13707         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13709 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13711         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13712         __makecontext_ret to ...
13713         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13714         ... here and call exit if uc_link is NULL.  New file.
13715         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13716         __makecontext_ret.S.
13717         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13718         __makecontext_ret to ...
13719         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13720         ... here and call exit if uc_link is NULL.  New file.
13721         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13722         __makecontext_ret.S.
13724 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13726         * elf/elf.h (R_390_IRELATIVE): New definition.
13727         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13728         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
13729         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13730         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13731         (elf_machine_lazy_rel): Likewise.
13732         * sysdeps/s390/dl-irel.h: New file.
13733         * sysdeps/s390/s390-64/memcpy.S: New asm code.
13734         * sysdeps/s390/s390-64/memset.S: New asm code.
13735         * sysdeps/s390/s390-64/memcmp.S: New asm code.
13736         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13737         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13738         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13739         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13740         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13741         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13742         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13743         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13744         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13745         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13746         * sysdeps/s390/s390-32/memcpy.S: New asm code.
13747         * sysdeps/s390/s390-32/memset.S: New asm code.
13748         * sysdeps/s390/s390-32/memcmp.S: New asm code.
13750 2012-07-17  Marek Polacek  <polacek@redhat.com>
13752         [BZ #14349]
13753         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13754         * sysdeps/s390/s390-64/configure.in: Likewise.
13755         * sysdeps/sparc/configure.in: Likewise.
13756         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13757         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13758         * sysdeps/i386/configure.in: Likewise.
13759         * sysdeps/x86_64/configure.in: Likewise.
13760         * sysdeps/sh/configure.in: Likewise.
13761         * sysdeps/s390/s390-32/configure: Regenerated.
13762         * sysdeps/s390/s390-64/configure: Likewise.
13763         * sysdeps/x86_64/configure: Likewise.
13764         * sysdeps/sh/configure: Likewise.
13765         * sysdeps/powerpc/powerpc64/configure: Likewise.
13766         * sysdeps/powerpc/powerpc32/configure: Likewise.
13767         * sysdeps/sparc/configure: Likwise.
13768         * sysdeps/i386/configure: Likewise.
13770         * elf/dl-open.c: Comment fixes.
13772 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
13774         * Makefile [CXX] (check-data): Remove.
13775         [CXX] (c++-types.data): New vpath directive.
13776         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13777         vpath.  Do not allow for C++ type data being missing.
13778         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13779         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13780         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13781         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13782         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13783         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13784         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13786         ... here.
13787         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13789         ... here.
13790         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13792         ... here.
13793         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13795         ... here.
13796         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13798         ... here.
13799         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13801         ... here.
13802         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13804         ... here.
13805         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13808         * elf/tls-macros.h (TLS_LE): Move architecture-specific
13809         definitions to architecture-specific files.
13810         (TLS_IE): Likewise.
13811         (TLS_LD): Likewise.
13812         (TLS_GD): Likewise.
13813         * sysdeps/i386/tls-macros.h: New file.
13814         * sysdeps/powerpc/tls-macros.h: Likewise.
13815         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13816         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13817         * sysdeps/sh/tls-macros.h: Likewise.
13818         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13819         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13820         * sysdeps/x86_64/tls-macros.h: Likewise.
13822 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
13824         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13825         zero value for regular exit case.
13827         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13828         (__start_context): Preserve zero value for regular exit case.
13830 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
13831             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13833         * manual/setjmp.texi (setcontext): Clarify normal process
13834         termination when uc_link is the null pointer.
13835         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13836         exit call.
13838 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
13840         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13841         preprocessor.  Test for each exception mask separately.
13843 2012-07-16  Andreas Jaeger  <aj@suse.de>
13845         * po/ru.po: Update from translation team.
13847 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
13849         * conform/data/string.h-data (NULL): Use macro-constant.  Require
13850         equal to 0.
13851         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13852         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13853         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13854         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13855         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13857 2012-07-13  Andreas Jaeger  <aj@suse.de>
13859         * po/fr.po: Update from translation team.
13861 2012-07-12  Marek Polacek  <polacek@redhat.com>
13863         [BZ #14173]
13864         * math/libm-test.inc (yn_test): Add test for BZ #14173.
13865         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13866         loop condition.
13868 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
13870         [BZ #13717]
13871         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13872         Change to 2.4.1 where previously 2.4.0.
13873         * sysdeps/unix/sysv/linux/configure: Regenerated.
13874         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13875         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13876         version.
13877         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13878         (__ASSUME_AT_CLKTCK): Remove.
13879         (__ASSUME_AT_PAGESIZE): Likewise.
13880         (__ASSUME_AT_XID): Likewise.
13881         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13882         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13883         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13884         unconditionally.
13885         (HAVE_AUX_PAGESIZE): Likewise.
13886         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13887         [__ASSUME_AT_CLKTCK]: Make code unconditional.
13888         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13890 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
13892         [BZ #14307]
13893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13894         the temporary buffer used to invoke __gethostbyname2_r,
13895         __gethostbyaddr_r and gethostbyname4_r to make room for struct
13896         host_data / struct gaih_addrtuple.
13897         * resolv/nss_dns/dns-host.c (global scope): Move definition of
13898         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13899         header file nss/nsswitch.h.
13900         * nss/nsswitch.h (global scope): Add definition of implementation
13901         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13902         resolv/nss_dns/dns-host.c).
13904 2012-07-11  Andreas Jaeger  <aj@suse.de>
13906         * po/fr.po: Update from translation team.
13908         * po/sv.po: Update from translation team
13909         * po/fr.po: Another update from translation team.
13911 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13913         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13914         for subnormals or multiply small sinh result by itself.
13915         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13918 2012-07-11  David S. Miller  <davem@davemloft.net>
13920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13922 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
13924         [BZ #14347]
13925         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13926         (INTERNAL_MARK): Shift it here.
13928 2012-07-10  Marek Polacek  <polacek@redhat.com>
13930         [BZ #14151]
13931         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
13932         libc_cv_asm_global_directive with .globl.
13933         * configure: Regenerated.
13934         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13935         with .globl.
13936         * sysdeps/i386/configure: Regenerated.
13937         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13938         with .globl.
13939         * sysdeps/x86_64/configure: Regenerated.
13940         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13941         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13942         * elf/tst-unique2mod2.c: Likewise.
13943         * elf/tst-unique2mod1.c: Likewise.
13944         * elf/tst-unique1mod2.c: Likewise.
13945         * elf/tst-unique1mod1.c: Likewise.
13946         * sysdeps/s390/s390-32/sysdep.h: Likewise.
13947         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13948         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13949         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13950         * sysdeps/mach/sysdep.h: Likewise.
13951         * sysdeps/i386/sysdep.h: Likewise.
13952         * sysdeps/i386/i386-mcount.S: Likewise.
13953         * sysdeps/x86_64/_mcount.S: Likewise.
13954         * sysdeps/x86_64/sysdep.h: Likewise.
13955         * sysdeps/sh/_mcount.S: Likewise.
13956         * sysdeps/sh/sysdep.h: Likewise.
13957         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13958         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13959         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13960         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13961         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13962         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13963         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13964         * locale/localeinfo.h: Likewise.
13965         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13966         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13968 2012-07-09  Roland McGrath  <roland@hack.frob.com>
13970         [BZ #14336]
13971         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13972         system".
13973         * manual/message.texi (The Uniforum approach): Likewise.
13974         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13975         (glibc iconv Implementation): Likewise.
13977 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
13979         [BZ #14337]
13980         * math/s_clog.c (__clog): Avoid scaling a value down where that
13981         could result in underflow.
13982         * math/s_clog10.c (__clog10): Likewise.
13983         * math/s_clog10f.c (__clog10f): Likewise.
13984         * math/s_clog10l.c (__clog10l): Likewise.
13985         * math/s_clogf.c (__clogf): Likewise.
13986         * math/s_clogl.c (__clogl): Likewise.
13987         * math/libm-test.inc (clog_test): Add more tests.
13988         (clog10_test): Likewise.
13989         * sysdeps/i386/fpu/libm-test-ulps: Update.
13990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13992 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
13994         [BZ #14283]
13995         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13996         by 7 not 8 to examine high bit of fractional part.
13998         [BZ #14042]
13999         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14000         for call to __mcount_internal.
14001         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14002         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14003         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14005 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
14007         [BZ #14154]
14008         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14009         approximation for values within 0x1p-13f of an odd multiple of
14010         pi/4.
14011         * math/libm-test.inc (tan_test): Do not allow spurious underflow
14012         exception.  Add more tests.
14013         * sysdeps/i386/fpu/libm-test-ulps: Update.
14015         [BZ #6778]
14016         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14017         inputs and return -1 for them.  Do not check for +Inf in case not
14018         reachable for +Inf.
14019         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14020         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14021         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14022         and return -1 for them.  Do not check for +Inf in case not
14023         reachable for +Inf.
14024         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14025         define.
14026         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14027         and return -1 for them.  Do not check for +Inf in case not
14028         reachable for +Inf.
14029         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
14030         spurious underflow.
14031         * sysdeps/i386/fpu/libm-test-ulps: Update.
14032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14034 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
14036         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14038 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
14040         [BZ #14157]
14041         [BZ #14331]
14042         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14043         could result in spurious underflow.  Scale down values above
14044         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14045         * math/s_csqrtf.c (__csqrtf): Likewise.
14046         * math/s_csqrtl.c (__csqrtl): Likewise.
14047         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
14048         spurious underflow.
14049         * sysdeps/i386/fpu/libm-test-ulps: Update.
14050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14052 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
14054         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14055         xopen-msg.sed.
14056         * catgets/xopen-msg.awk: New file.
14057         * catgets/xopen-msg.sed: Removed.
14059         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14060         po2text.sed.
14061         * intl/po2test.awk: New file.
14062         * intl/po2test.sed: Removed.
14064 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
14066         [BZ #14328]
14067         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14068         or multiply small sinh result by itself.
14069         * math/s_ctanf.c (__ctanf): Likewise.
14070         * math/s_ctanh.c (__ctanh): Likewise.
14071         * math/s_ctanhf.c (__ctanhf): Likewise.
14072         * math/s_ctanhl.c (__ctanhl): Likewise.
14073         * math/s_ctanl.c (__ctanl): Likewise.
14074         * math/libm-test.inc (ctan_test_tonearest): New function.
14075         (ctan_test_towardzero): Likewise.
14076         (ctan_test_downward): Likewise.
14077         (ctan_test_upward): Likewise.
14078         (ctanh_test_tonearest): Likewise.
14079         (ctanh_test_towardzero): Likewise.
14080         (ctanh_test_downward): Likewise.
14081         (ctanh_test_upward): Likewise.
14082         (main): Call these new functions.
14083         * sysdeps/i386/fpu/libm-test-ulps: Update.
14084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14086 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
14088         * .gitignore: Delete /ports entry.
14090 2012-07-03  Andreas Jaeger  <aj@suse.de>
14092         * po/bg.po: Update from translation team.
14093         * po/cs.po: Likewise.
14094         * po/de.po: Likewise.
14095         * po/hr.po: Likewise.
14096         * po/nl.pl: Likewise.
14097         * po/pl.po: Likewise.
14098         * po/vi.po: Likewise.
14100 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
14102         * Makeconfig [!+link] (+link-before-libc): New variable.
14103         [!+link] (+link-after-libc): Likewise.
14104         [!+link] (+link-tests): Likewise.
14105         [!+link] (+link): Define in terms of $(+link-before-libc) and
14106         $(+link-after-libc).
14107         [!+link-static] (+link-static-before-libc): New variable.
14108         [!+link-static] (+link-static-after-libc): Likewise.
14109         [!+link-static] (+link-static-tests): Likewise.
14110         [!+link-static] (+link-static): Define in terms of
14111         $(+link-static-before-libc) and $(+link-static-after-libc).
14112         [build-shared] (link-libc-before-gnulib): New variable.
14113         [build-shared] (link-libc-tests): Likewise.
14114         [build-shared] (link-libc): Define in terms of
14115         $(link-libc-before-gnulib).
14116         [!build-shared] (link-libc-tests): New variable.
14117         (link-libc-static-tests): New variable.
14118         [!gnulib] (gnulib-arch): New variable.
14119         [!gnulib] (gnulib-tests): Likewise.
14120         [!gnulib] (static-gnulib-arch): Likewise.
14121         [!gnulib] (static-gnulib-tests): Likewise.
14122         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
14123         Define with "=" instead of ":=".
14124         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
14125         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
14126         * Rules (binaries-all-notests): New variable.
14127         (binaries-all-tests): Likewise.
14128         (binaries-static-notests): Likewise.
14129         (binaries-static-tests): Likewise.
14130         (binaries-all): Define using $(binaries-all-notests) and
14131         $(binaries-all-tests).
14132         (binaries-static): Define using $(binaries-static-notests) and
14133         $(binaries-static-tests).
14134         (binaries-shared-tests): New variable.
14135         (binaries-shared-notests): Likewise.
14136         (binaries-shared): Remove variable.
14137         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14138         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14139         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14140         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14141         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14142         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14143         * elf/Makefile (sln-modules): New variable.
14144         (extra-objs): Add $(sln-modules:=.o).
14145         (ldconfig-modules): Add static-stubs.
14146         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14147         * elf/static-stubs.c: New file.
14149         [BZ #14283]
14150         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14151         by 7 not 8 to examine high bit of fractional part.  Use volatile
14152         variables when splitting into final array of floats if
14153         __FLT_EVAL_METHOD__ != 0.
14154         * math/libm-test.inc (cos_test): Add another test.
14155         (sin_test): Likewise.
14156         * sysdeps/i386/fpu/libm-test-ulps: Update.
14158         [BZ #14273]
14159         * math/libm-test.inc (cosh_test): Add more tests.
14161         * version.h (RELEASE): Set to "development".
14162         (VERSION): Set to "2.16.90".
14164 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
14166         * NEWS: Update copyright. Remove last-updated date.
14167         Mention math library bug fixes and timezone data changes.
14168         * README: Mention GNU/Hurd, x32, and HPPA support status.
14170 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
14172         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14174 2012-06-27  Andreas Jaeger  <aj@suse.de>
14176         * manual/contrib.texi (Contributors): Add Samuel Thibault.
14178 2012-06-25  Andreas Jaeger  <aj@suse.de>
14180         * sysdeps/s390/fpu/libm-test-ulps: Update.
14182 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
14183             Thomas Schwinge  <thomas@codesourcery.com>
14185         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14186         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14187         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14188         fanotify_mark.
14190 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
14192         * sysdeps/mach/start.c: Remove file.
14193         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14194         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14195         * sysdeps/sh/init-first.c: Likewise.
14197         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14198         registers for frame unwinding purposes, add CFI directives.
14199         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14200         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14201         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14202         Likewise.
14204         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14205         __fortify_fail returning.
14206         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14208         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14209         sysdeps/sh/____longjmp_chk.S.
14210         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14211         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14212         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14213         (gen-as-const-headers): Append sigaltstack-offsets.sym.
14215         * sysdeps/sh/abort-instr.h: New file.
14216         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14217         process in case exit returns.
14219         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14220         initialize the GOT register before use.
14222         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14223         calculation of ARGC > 4.
14225         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14226         meaningful names to some local labels.
14228 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14229             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14231         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14232         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14233         (__arch_compare_and_exchange_val_16_acq): Likewise.
14234         (__arch_compare_and_exchange_val_32_acq): Likewise.
14235         (atomic_exchange_and_add): Fix gUSA sequence.
14236         (atomic_add): Likewise.
14237         (atomic_add_negative): Likewise.
14238         (atomic_add_zero): Likewise.
14239         (atomic_bit_test_set): Likewise.
14241 2012-06-22  Andreas Schwab  <schwab@redhat.com>
14243         [BZ #13579]
14244         * include/link.h (struct link_map): Add l_free_initfini.
14245         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14246         l_initfini.
14247         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14248         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14249         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14250         set.
14252 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
14254         * configure.in: Use AC_LANG_SOURCE.
14255         * configure: Regenerate.
14257 2012-06-22  Roland McGrath  <roland@hack.frob.com>
14259         * configure.in (libc_cv_localstatedir): New substituted variable.
14260         * configure: Regenerated.
14261         * config.make.in (localstatedir): New variable, substituted from
14262         libc_cv_localstatedir.
14263         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14264         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14265         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14266         * sysdeps/gnu/configure: Regenerated.
14268 2012-06-21  Jeff Law  <law@redhat.com>
14270         [BZ #14277]
14271         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14272         free.  Simplify list management for _LIBC case.
14274 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
14276         [BZ #14273]
14277         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14278         Clear sign bit of 64-bit integer value before comparing against
14279         overflow value.
14281         * sysdeps/mach/configure: Regenerated.
14283 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
14285         [BZ #14278]
14286         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14288 2012-06-21  Jeff Law  <law@redhat.com>
14290         [BZ #13882]
14291         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
14292         uint16_t for elements in the "seen" array to avoid char overflows.
14293         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14294         * elf/dl-open.c (dl_open_worker): Likewise.
14296 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
14298         * scripts/list-sources.sh: Scan PORTS for translations.
14299         * po/libc.pot: Regenerated.
14301 2012-06-21  Andreas Jaeger  <aj@suse.de>
14303         [BZ #12194]
14304         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14305         warning.
14306         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14307         * bits/byteswap-16.h (__bswap_16): Likewise.
14308         * bits/byteswap.h (__bswap_constant_16): Likewise.
14310 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
14312         [BZ #14117]
14313         * sysdeps/i386/fpu_control.h: Removed.
14314         * sysdeps/x86_64/fpu_control.h: Moved to ...
14315         * sysdeps/x86/fpu_control.h: Here.
14317         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14318         (_FPU_SETCW): Likewise.
14320 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
14322         [BZ #14117]
14323         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14324         * sysdeps/x86/fpu/bits/mathinline.h: This.
14325         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14327         [BZ #14050]
14328         [BZ #14117]
14329         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14330         functions if __x86_64__ is defined.
14332 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
14334         * string/endian.h: Add !__ASSEMBLER__ condition for including
14335         conversion interfaces.
14337 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
14339         [BZ #14241]
14340         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14341         of ABS(x) in calculating zero to negative powers other than odd
14342         integers.
14343         * math/libm-test.inc (pow_test): Add more tests.
14345 2012-06-15  Andreas Jaeger  <aj@suse.de>
14347         * manual/contrib.texi (Contributors): Update entry of Liubov
14348         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14349         Machado Filho.
14351 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
14353         * string/string.h: Add __wur to GNU version of strerror_r.
14355 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
14357         [BZ #14229]
14358         * string/Makefile (tests): Add tst-strtok_r.
14359         * string/tst-strtok_r.c: New file.
14360         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14361         RAX_LP/RDX_LP on SAVE_PTR.
14363 2012-06-14  Roland McGrath  <roland@hack.frob.com>
14365         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14367 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
14369         * libm_test.inc (csqrt_test): Allow more spurious underflow
14370         exceptions.
14371         (j0_test): Likewise.
14372         (j1_test): Likewise.
14373         (y0_test): Likewise.
14374         (y1_test): Likewise.
14376 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
14378         * po/Makefile (libc.pot): Use UTF-8 charset.
14380 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
14382         [BZ #14210]
14383         Suppress sign-conversion warning from FD_SET.
14384         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14385         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14386         not unsigned long int.
14387         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14389 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
14391         [BZ #14050]
14392         [BZ #14117]
14393         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14394         __extern_always_inline instead of __extern_inline.
14395         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14396         (__signbit): Likewise.
14397         (__signbitl): Support C++ namespace.
14398         (lrintf): New inline function.
14399         (lrint): Likewise.
14400         (llrintf): Likewise.
14401         (llrint): Likewise.
14402         (fmaxf): Likewise.
14403         (fmax): Likewise.
14404         (fminf): Likewise.
14405         (fmin): Likewise.
14406         (rint): Likewise.
14407         (rintf): Likewise.
14408         (ceil): Likewise.
14409         (ceilf): Likewise.
14410         (floor): Likewise.
14411         (floorf): Likewise.
14412         (nearbyint): Likewise.
14413         (nearbyintf): Likewise.
14415 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
14417         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14418         non-default versions.
14420 2012-06-11  Roland McGrath  <roland@hack.frob.com>
14422         [BZ #14218]
14423         * manual/argp.texi (Argp): Reword argp_parse description slightly.
14425 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
14427         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14428         (FE_UPWARD, FE_DOWNWARD): Don't define.
14429         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14430         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14432         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14433         reading it.
14434         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14435         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14437 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14439         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14441         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14442         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14444 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14446         [BZ #14117]
14447         * sysdeps/i386/fpu/bits/fenv.h: Removed.
14448         * sysdeps/i386/fpu/Implies: New file.
14449         * sysdeps/x86_64/fpu/Implies: Likewise.
14450         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14451         * sysdeps/x86/fpu/bits/fenv.h: This.
14453         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14454         __SSE_MATH__.
14456 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14458         [BZ #14134]
14459         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14460         character 0xffff that matches the last element of the
14461         conversion table.
14463 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14465         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14466         fmodl commit.
14468 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14470         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14471         values higher than 25.6283.
14473 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14475         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14476         subnormal exponent extraction and add some __builtin_expect.
14477         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14478         Fix for subnormal mantissa calculation.
14480 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
14482         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14483         cpu2 is -1 and errno is not ENOSYS.
14485 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
14487         [BZ #14117]
14488         * sysdeps/i386/i486/bits/string.h: Renamed to ...
14489         * sysdeps/x86/bits/string.h: This.
14490         * sysdeps/x86_64/bits/string.h: Removed.
14492         * sysdeps/i386/i486/bits/string.h: Define inline functions only
14493         if not compiling for x86-64, but compiling for >= i486.
14495         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14496         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14498         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14499         New macro from Linux kernel 3.4.0.
14500         (FP_XSTATE_MAGIC2): Likewise.
14501         (FP_XSTATE_MAGIC2_SIZE): Likewise.
14502         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14503         (struct _fpx_sw_bytes): New struct.
14504         (struct _xsave_hdr): Likewise.
14505         (struct _ymmh_state): Likewise.
14506         (struct _xstate): Likewise.
14508         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14509         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14510         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14511         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14512         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14513         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14515         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14516         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14517         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14518         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14519         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14520         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14522 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14524         [BZ #13743]
14525         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14526         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14527         (sysdep_headers): Include sys/platform/ppc.h.
14528         * sysdeps/powerpc/test-gettimebase.c: Test for
14529         __ppc_get_timebase() to catch future ISA opcode/insn changes.
14530         * manual/Makefile (appendices): Include platform.texi.
14531         * manual/contrib.texi (Contributors): Update @node pointers.
14532         * manual/maint.texi (Maintenance): Likewise.
14533         (Platform): New node.
14534         * manual/platform.texi: New file.  Document the new features.
14536 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14537             Jakub Jelinek  <jakub@redhat.com>
14539         [BZ #14188]
14540         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14541         where __builtin_expect is unavailable.
14543 2012-06-03  David S. Miller  <davem@davemloft.net>
14545         * stdlib/longlong.h: Updated from GCC.
14547 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
14549         [BZ #14042]
14550         * sysdeps/powerpc/powerpc32/mcount.c: New file.
14551         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14552         __mcount_internal.
14553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14554         (GLIBC_2.16): Likewise.
14556 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14558         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14560 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
14562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14563         (default-abi): New variable.
14564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14565         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14566         variable.
14567         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14568         Likewise.
14569         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14570         Likewise.
14571         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14572         Likewise.
14574         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14575         definition.  Document in comment.
14577 2012-06-01  David S. Miller  <davem@davemloft.net>
14579         * stdlib/longlong.h: Updated from GCC.
14581 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14583         [BZ #14117]
14584         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14585         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14586         sys/debugreg.h sys/io.h here.
14587         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14588         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14589         sys/io.h.
14590         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14591         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14592         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14593         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14594         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14595         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14597         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14598         Define only if __x86_64__ is defined.
14600 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
14602         [BZ #14048]
14603         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14604         Use int64_t for variable i.
14605         * math/libm-test.inc (fmod_test): Add more tests.
14607         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14608         z computation is not scheduled after fetestexcept.
14609         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14610         Use math_force_eval instead of asm to ensure calculation scheduled
14611         before exception test.
14612         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14613         Ensure a1 + u.d computation is not scheduled after fetestexcept.
14615 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
14617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14618         computation is not scheduled after fetestexcept.
14620 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14622         [BZ #14117]
14623         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14624         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14626 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14628         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14629         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14631 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
14633         [BZ #14117]
14634         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14635         <bits/wordsize.h>.
14636         (__WCHAR_MIN): Support __WORDSIZE == 64.
14637         (__WCHAR_MAX): Likewise.
14639         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14640         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14642         [BZ #14183]
14643         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14644         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14646         [BZ #14117]
14647         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14648         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14650         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14651         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14653         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14654         Defined to 1 if __x86_64__ isn't defined.
14655         (_STAT_VER_LINUX_OLD): New.
14656         (st_atime): Remove duplicate.
14657         (st_mtime): Likewise.
14658         (st_ctime): Likewise.
14660 2012-05-31  David S. Miller  <davem@davemloft.net>
14662         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14663         entries.
14665 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
14667         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14668         gen-libm-test.pl.
14670         [BZ #14132]
14671         * elf/dl-reloc.c: Include <_itoa.h>.
14672         (_dl_reloc_bad_type): Remove use of INTUSE.
14673         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14674         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14675         * stdio-common/psiginfo.c (psiginfo): Likewise.
14676         * stdio-common/psignal.c (psignal): Likewise.
14677         * string/strsignal.c (strsignal): Likewise.
14678         * include/signal.h (_sys_siglist): Declare hidden proto.
14679         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
14680         INTVARDEF with libc_hidden_data_def.
14681         * stdio-common/itoa-udigits.c: Likewise.
14682         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14683         (_itoa_lower_digits_internal): Remove declaration.
14684         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14685         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14686         (_sys_sigabbrev_internal): Remove aliases.
14687         (_sys_siglist): Define hidden alias.
14689 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
14691         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14692         bits/sysctl.h.
14694 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
14696         [BZ #14117]
14697         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14698         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14700         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14701         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14702         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14703         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14704         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14705         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14707         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14708         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14709         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14711         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14712         with __addr.
14713         (insw): Likewise.
14714         (insl): Likewise.
14715         (outsb): Likewise.
14716         (outsw): Likewise.
14717         (outsl): Likewise.
14719         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14720         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14721         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14723         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14724         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14725         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14726         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14727         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14728         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14730         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14731         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14733         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14734         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14736         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14737         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14738         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14740         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14741         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14742         to ...
14743         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14745         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14746         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14747         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14749         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14750         for x86-64.
14751         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14753 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
14755         * math/math.h (M_El): Use two more decimal places.
14756         (M_LOG2El): Likewise.
14757         (M_LOG10El): Likewise.
14758         (M_LN2l): Likewise.
14759         (M_LN10l): Likewise.
14760         (M_PIl): Likewise.
14761         (M_PI_2l): Likewise.
14762         (M_PI_4l): Likewise.
14763         (M_1_PIl): Likewise.
14764         (M_2_PIl): Likewise.
14765         (M_2_SQRTPIl): Likewise.
14766         (M_SQRT2l): Likewise.
14767         (M_SQRT1_2l): Likewise.
14769 2012-05-31  David S. Miller  <davem@davemloft.net>
14771         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14772         values between float registers.
14773         * sysdeps/sparc/sparc64/memset.S: Likewise.
14774         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14776 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
14778         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14779         -D_FORTIFY_SOURCE=1.
14780         (CPPFLAGS-tst-longjmp_chk.c): Define.
14781         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14782         (CPPFLAGS-tst-longjmp_chk2.c): Define.
14783         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14784         CFLAGS-tst-wchar-h.c.
14786 2012-05-31  Marek Polacek  <polacek@redhat.com>
14788         [BZ #14132]
14789         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14790         __endmntent_internal): Remove declaration.
14791         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14792         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14793         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14795 2012-05-30  David S. Miller  <davem@davemloft.net>
14797         * sysdeps/sparc/sparc32/soft-fp/q_util.c
14798         (___Q_simulate_exceptions): Use real FP ops rather than writing
14799         into the %fsr.
14800         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14801         Likewise.
14803 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14805         [BZ #14117]
14806         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14807         * sysdeps/x86/bits/xtitypes.h: This.
14809         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14810         * sysdeps/x86/bits/wordsize.h: This.
14812         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14813         * sysdeps/x86/bits/huge_vall.h: This.
14815         * sysdeps/i386/bits/select.h: Removed.
14816         * sysdeps/x86_64/bits/select.h: Renamed to ...
14817         * sysdeps/x86/bits/select.h: This.
14819         * sysdeps/i386/bits/setjmp.h: Removed.
14820         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14821         * sysdeps/x86/bits/setjmp.h: This.
14823         * sysdeps/i386/bits/mathdef.h: Removed.
14824         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14825         * sysdeps/x86/bits/mathdef.h: This.
14827 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
14829         [BZ #14132]
14830         * include/sys/socket.h (__connect_internal)
14831         (__libc_sa_len_internal): Remove declaration.
14832         (__connect, __libc_sa_len): Declare hidden_proto.
14833         (SA_LEN): Remove use of INTUSE.
14834         * socket/connect.c: Add libc_hidden_def.
14835         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14836         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14837         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14838         alias.
14839         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14840         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14841         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14842         of adding _internal alias.
14844 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14846         [BZ #14117]
14847         * sysdeps/i386/bits/link.h: Removed.
14848         * sysdeps/i386/bits/linkmap.h: Likewise.
14849         * sysdeps/x86_64/bits/link.h: Renamed to ...
14850         * sysdeps/x86/bits/link.h: This.
14851         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14852         * sysdeps/x86/bits/linkmap.h: This.
14854         * sysdeps/i386/bits/endian.h: Removed.
14855         * sysdeps/x86_64/bits/endian.h: Renamed to ...
14856         * sysdeps/x86/bits/endian.h: This.
14858         * sysdeps/i386/bits/byteswap.h: Removed.
14859         * sysdeps/i386/bits/byteswap-16.h: Likewise.
14860         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14861         * sysdeps/x86/bits/byteswap.h: This.
14862         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14863         * sysdeps/x86/bits/byteswap-16.h: This.
14864         * sysdeps/i386/Implies: Add x86.
14865         * sysdeps/x86_64/Implies: Likewise.
14867 2012-05-30  David S. Miller  <davem@davemloft.net>
14869         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14870         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14871         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14872         (FP_TRAPPING_EXCEPTIONS): Define.
14873         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14874         (FP_TRAPPING_EXCEPTIONS): Define.
14875         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14876         subnormals only when inexact has been signalled or underflow
14877         exceptions are enabled.
14878         (_FP_PACK_CANONICAL): Likewise.
14880 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14882         [BZ #14183]
14883         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14884         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14886 2012-05-30  Richard Henderson  <rth@twiddle.net>
14888         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14889         with #ifndef NOT_IN_libc.
14891         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
14892         marked to avoid plt entry.
14894 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
14896         [BZ #14112]
14897         * Makeconfig (default-abi): New macro.
14898         (abi-includes): Likewise.
14899         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
14900         $(abi-$(default-abi)-lib-soname) for soname if defined.
14901         ($(common-objpfx)gnu/lib-names.stmp): Generate from
14902         abi-variants.
14903         * Makefile (installed-stubs): Likewise.
14904         * include/stubs-biarch.h: Removed.
14905         * scripts/lib-names.awk: Only handle one library at a time.
14906         * scripts/soversions.awk: Remove WORDSIZE support.
14907         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14908         entries.
14909         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14910         Removed.
14911         (syscall-list-default-condition): Likewise.
14912         (syscall-list-default-condition): Likewise.
14913         (syscall-list-includes): Likewise.
14914         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14915         syscall-list-* with abi-*.  Handle undefined abi-variants.
14916         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14917         * sysdeps/unix/sysv/linux/i386/Implies: New file.
14918         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14919         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14920         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14921         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14922         Removed.
14923         (syscall-list-32-options): Likewise.
14924         (syscall-list-32-condition): Likewise.
14925         (syscall-list-64-options): Likewise.
14926         (syscall-list-64-condition): Likewise.
14927         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14928         macro.
14929         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14930         Renamed to ...
14931         (abi-*): This.
14932         (abi-64-ld-soname): New macro.
14933         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14934         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14935         Renamed to ...
14936         (abi-*): This.
14937         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14938         * sysdeps/x86_64/x32/shlib-versions: Likewise.
14940 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
14942         * sysdeps/unix/sysv/linux/kernel-features.h
14943         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14944         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14945         include <kernel-features.h>.
14946         [!__NR_ftruncate64]: Remove conditional code.
14947         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14948         [__NR_ftruncate64]: Make code unconditional.
14949         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14950         * sysdeps/unix/sysv/linux/truncate64.c: Do not
14951         include <kernel-features.h>.
14952         [!__NR_ftruncate64]: Remove conditional code.
14953         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14954         [__NR_ftruncate64]: Make code unconditional.
14955         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14957         include <kernel-features.h>.
14958         [!__NR_ftruncate64]: Remove conditional code.
14959         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14960         [__NR_ftruncate64]: Make code unconditional.
14961         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14963         include <kernel-features.h>.
14964         [!__NR_ftruncate64]: Remove conditional code.
14965         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14966         [__NR_ftruncate64]: Make code unconditional.
14967         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14969         * configure.in (libc_cv_fpie): Weaken to a compile test using
14970         LIBC_TRY_CC_OPTION.
14971         * configure: Regenerated.
14973 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14979         Refreshed.
14980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14986         Refreshed.
14988 2012-05-27  David S. Miller  <davem@davemloft.net>
14990         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14991         (___Q_zero): New.
14992         (__Q_simulate_exceptions): Return void.  Change to simulate
14993         exceptions by writing into the %fsr.
14994         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14995         (__Qp_handle_exceptions): Likewise.
14996         (numbers): Delete.
14997         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14998         __Qp_handle_exceptions.
14999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15000         __Qp_handle_exceptions.
15001         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15002         as unused and give dummy FP_RND_NEAREST initializer.
15003         (FP_INHIBIT_RESULTS): Define.
15004         (___Q_simulate_exceptions): Update declaration.
15005         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15006         formatting.
15007         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15008         as unused and give dummy FP_RND_NEAREST initializer.
15009         (__Qp_handle_exceptions): Update declaration.
15010         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15011         formatting.
15013 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
15015         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15016         the temporary FPU control word.
15017         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15018         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15019         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15020         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15021         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15022         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15023         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15024         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15025         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15026         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15027         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15029 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15031         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15032         fields.
15034 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
15036         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15037         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15038         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15039         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15040         Likewise.
15041         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15042         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15043         Likewise.
15045 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
15047         * po/h.po: Update from translation team.
15049 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
15051         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15053         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15054         handling of denormals.
15055         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15056         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15057         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15058         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15059         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15060         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15061         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15062         Likewise.
15064 2012-05-26  Marek Polacek  <polacek@redhat.com>
15066         [BZ #14152]
15067         * math/libm-test.inc (fma_test): Don't always expect underflow
15068         exception.
15070 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15072         [BZ #12416]
15073         * elf/tst-execstack.c: Include stackinfo.h.
15074         (do_test): Adjust test case to ensure that pthread_getattr_np
15075         behaviour remains the same after marking stack executable.
15077 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
15079         * sysdeps/unix/sysv/linux/kernel-features.h
15080         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15081         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15082         kernel-features.h.
15083         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15084         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15085         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15086         kernel-features.h.
15087         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15088         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15090 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
15092         * configure.in: Define the default includes to being none.
15093         * configure: Regenerated.
15095 2012-05-25  Roland McGrath  <roland@hack.frob.com>
15097         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15098         * sysdeps/x86_64/setjmp.S: Likewise.
15099         * sysdeps/i386/bsd-setjmp.S: Likewise.
15100         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15101         * sysdeps/i386/setjmp.S: Likewise.
15102         * sysdeps/i386/__longjmp.S: Likewise.
15103         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15104         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15106         * include/stap-probe.h: New file.
15107         * configure.in: Handle --enable-systemtap.
15108         * configure: Regenerated.
15109         * config.h.in (USE_STAP_PROBE): New #undef.
15110         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15111         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15112         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15114 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
15116         [BZ #13717]
15117         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15118         to 2.4.0 where earlier.
15119         * sysdeps/unix/sysv/linux/configure: Regenerated.
15120         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15121         <kernel-features.h>.
15122         [__ASSUME_32BITUIDS]: Make code unconditional.
15123         [!__ASSUME_32BITUIDS]: Remove conditional code.
15124         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15125         <kernel-features.h>.
15126         [__ASSUME_32BITUIDS]: Make code unconditional.
15127         [!__ASSUME_32BITUIDS]: Remove conditional code.
15128         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15129         [__ASSUME_32BITUIDS]: Make code unconditional.
15130         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15131         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15132         <kernel-features.h>.
15133         [__ASSUME_32BITUIDS]: Make code unconditional.
15134         [!__ASSUME_32BITUIDS]: Remove conditional code.
15135         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15136         <kernel-features.h>.
15137         [__ASSUME_32BITUIDS]: Make code unconditional.
15138         [!__ASSUME_32BITUIDS]: Remove conditional code.
15139         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15140         <kernel-features.h>.
15141         [__ASSUME_32BITUIDS]: Make code unconditional.
15142         [!__ASSUME_32BITUIDS]: Remove conditional code.
15143         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15144         <kernel-features.h>.
15145         [__ASSUME_32BITUIDS]: Make code unconditional.
15146         [!__ASSUME_32BITUIDS]: Remove conditional code.
15147         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15148         <kernel-features.h>.
15149         [__ASSUME_32BITUIDS]: Make code unconditional.
15150         [!__ASSUME_32BITUIDS]: Remove conditional code.
15151         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15152         <kernel-features.h>.
15153         [__ASSUME_32BITUIDS]: Make code unconditional.
15154         [!__ASSUME_32BITUIDS]: Remove conditional code.
15155         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15156         <kernel-features.h>.
15157         [__ASSUME_32BITUIDS]: Make code unconditional.
15158         [!__ASSUME_32BITUIDS]: Remove conditional code.
15159         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15160         <kernel-features.h>.
15161         [__ASSUME_32BITUIDS]: Make code unconditional.
15162         [!__ASSUME_32BITUIDS]: Remove conditional code.
15163         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15164         <kernel-features.h>.
15165         [__ASSUME_32BITUIDS]: Make code unconditional.
15166         [!__ASSUME_32BITUIDS]: Remove conditional code.
15167         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15168         <kernel-features.h>.
15169         [__ASSUME_32BITUIDS]: Make code unconditional.
15170         [!__ASSUME_32BITUIDS]: Remove conditional code.
15171         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15172         <kernel-features.h>.
15173         [__NR_setresgid] (__setresgid): Do not declare.
15174         [__ASSUME_32BITUIDS]: Make code unconditional.
15175         [!__ASSUME_32BITUIDS]: Remove conditional code.
15176         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15177         <kernel-features.h>.
15178         [__NR_setresuid] (__setresuid): Do not declare.
15179         [__ASSUME_32BITUIDS]: Make code unconditional.
15180         [!__ASSUME_32BITUIDS]: Remove conditional code.
15181         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15182         <kernel-features.h>.
15183         [__ASSUME_32BITUIDS]: Make code unconditional.
15184         [!__ASSUME_32BITUIDS]: Remove conditional code.
15185         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15186         <kernel-features.h>.
15187         [__ASSUME_32BITUIDS]: Make code unconditional.
15188         [!__ASSUME_32BITUIDS]: Remove conditional code.
15189         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15190         <kernel-features.h>.
15191         [__ASSUME_32BITUIDS]: Make code unconditional.
15192         [!__ASSUME_32BITUIDS]: Remove conditional code.
15193         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15194         <kernel-features.h>.
15195         [__ASSUME_32BITUIDS]: Make code unconditional.
15196         [!__ASSUME_32BITUIDS]: Remove conditional code.
15197         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15198         <kernel-features.h>.
15199         [__ASSUME_32BITUIDS]: Make code unconditional.
15200         [!__ASSUME_32BITUIDS]: Remove conditional code.
15201         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15202         <kernel-features.h>.
15203         [__ASSUME_32BITUIDS]: Make code unconditional.
15204         [!__ASSUME_32BITUIDS]: Remove conditional code.
15205         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15206         <kernel-features.h>.
15207         [__ASSUME_32BITUIDS]: Make code unconditional.
15208         [!__ASSUME_32BITUIDS]: Remove conditional code.
15209         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15210         <kernel-features.h>.
15211         [__ASSUME_32BITUIDS]: Make code unconditional.
15212         [!__ASSUME_32BITUIDS]: Remove conditional code.
15213         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15214         <kernel-features.h>.
15215         [__ASSUME_32BITUIDS]: Make code unconditional.
15216         [!__ASSUME_32BITUIDS]: Remove conditional code.
15217         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15218         <kernel-features.h>.
15219         [__ASSUME_32BITUIDS]: Make code unconditional.
15220         [!__ASSUME_32BITUIDS]: Remove conditional code.
15221         * sysdeps/unix/sysv/linux/kernel-features.h
15222         (__ASSUME_SETRESUID_SYSCALL): Remove.
15223         (__ASSUME_SETRESGID_SYSCALL): Likewise.
15224         (__ASSUME_32BITUIDS): Likewise.
15225         (__ASSUME_LDT_WORKS): Likewise.
15226         (__ASSUME_O_DIRECTORY): Likewise.
15227         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15228         architecture but not kernel version.
15229         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15230         (__ASSUME_MMAP2_SYSCALL): Likewise.
15231         (__ASSUME_STAT64_SYSCALL): Likewise.
15232         (__ASSUME_IPC64): Likewise.
15233         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15234         <kernel-features.h>.
15235         [__ASSUME_32BITUIDS]: Make code unconditional.
15236         [!__ASSUME_32BITUIDS]: Remove conditional code.
15237         * sysdeps/unix/sysv/linux/opendir.c: Do not include
15238         <kernel-features.h>.
15239         [__ASSUME_O_DIRECTORY]: Make code unconditional.
15240         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15241         132096]: Remove conditional code.
15242         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15243         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15244         <kernel-features.h>.
15245         [__ASSUME_32BITUIDS]: Make code unconditional.
15246         [!__ASSUME_32BITUIDS]: Remove conditional code.
15247         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15248         <kernel-features.h>.
15249         [__ASSUME_32BITUIDS]: Make code unconditional.
15250         [!__ASSUME_32BITUIDS]: Remove conditional code.
15251         * sysdeps/unix/sysv/linux/setegid.c: Do not include
15252         <kernel-features.h>.
15253         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15254         unconditional.
15255         (__setresgid): Do not declare.
15256         [__ASSUME_32BITUIDS]: Make code unconditional.
15257         [!__ASSUME_32BITUIDS]: Remove conditional code.
15258         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15259         <kernel-features.h>.
15260         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15261         unconditional.
15262         (__setresuid): Do not declare.
15263         [__ASSUME_32BITUIDS]: Make code unconditional.
15264         [!__ASSUME_32BITUIDS]: Remove conditional code.
15265         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15266         <kernel-features.h>.
15267         [__ASSUME_32BITUIDS]: Make code unconditional.
15268         [!__ASSUME_32BITUIDS]: Remove conditional code.
15269         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15270         <kernel-features.h>.
15271         [__ASSUME_32BITUIDS]: Make code unconditional.
15272         [!__ASSUME_32BITUIDS]: Remove conditional code.
15274 2012-05-25  Richard Henderson  <rth@twiddle.net>
15276         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15277         dl_hwcap to ifunc resolver.
15278         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15279         elf_ifunc_invoke.
15280         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15281         dl_hwcap to ifunc resolver.
15282         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15284 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15286         [BZ #14153]
15287         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15288         for |x| <= 2**-26, not 2**-57.
15289         * math/libm-test.inc (acos_test): Do not allow spurious underflow
15290         exception.
15292 2012-05-24  Jeff Law  <law@redhat.com>
15294         * stdio-common/Makefile (tests): Add bug25.
15295         * stdio-common/bug25.c: New test.
15297 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15299         [BZ #13576]
15300         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15301         multiple of MALLOC_ALIGNMENT in size.
15302         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15304 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15306         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15307         Require >= 256.
15308         (FILENAME_MAX): Use macro-int-constant.
15309         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
15310         (_IOFBF): Use macro-int-constant.
15311         (_IOLBF): Likewise.
15312         (_IONBF): Likewise.
15313         (SEEK_CUR): Likewise.
15314         (SEEK_END): Likewise.
15315         (SEEK_SET): Likewise.
15316         (TMP_MAX): Likewise.
15317         (EOF): Use macro-int-constant.  Require < 0.
15318         (NULL): Use macro-constant.  Require == 0.
15319         (stdin): Require type to be FILE *.
15320         (stdout): Likewise.
15321         (stderr): Likewise.
15322         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15323         macro-int-constant.
15324         (EXIT_SUCCESS): Likewise.
15325         (NULL): Use macro-constant.  Require == 0.
15326         (RAND_MAX): Use macro-int-constant.
15327         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15328         [C99-based standards] (strtof): Require function.
15329         [C99-based standards] (strtold): Likewise.
15330         [C99-based standards] (strtoll): Likewise.
15331         [C99-based standards] (strtoull): Likewise.
15332         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15333         [ISO || ISO99 || ISO11] (limits.h): Likewise.
15334         [ISO || ISO99 || ISO11] (math.h): Likewise.
15335         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15336         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15337         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15339 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
15341         [BZ #14132]
15342         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15343         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15344         * intl/dgettext.c (DCGETTEXT): Likewise.
15345         * intl/gettext.c (DCGETTEXT): Likewise.
15346         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15347         * posix/regex_internal.h (gettext): Likewise.
15348         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15349         Remove declaration.
15350         * include/argz.h (__argz_count_internal)
15351         (__argz_stringify_internal): Remove declaration.
15352         (__argz_count, __argz_stringify): Declare hidden proto.
15353         * intl/dcgettext.c: Remove use of INTDEF.
15354         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15355         * string/argz-stringify.c: Likewise.
15356         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15357         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15358         Declare hidden proto.
15359         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15360         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15361         Declare hidden proto.
15362         * include/stdio.h (__asprintf_internal): Don't declare.
15363         (__asprintf): Don't define as macro.  Declare hidden proto.
15364         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15365         (__fsetlocking): Declare hidden proto.
15366         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15367         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15368         hidden proto.
15369         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15370         (_IO_setlinebuf): Remove use of INTUSE.
15371         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15372         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15373         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15374         Remove declaration.
15375         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15376         (_IO_do_flush): Remove use of INTUSE.
15377         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15378         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15379         (_IO_adjust_column, _IO_least_wmarker)
15380         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15381         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15382         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15383         (_IO_default_doallocate, _IO_wdefault_doallocate)
15384         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15385         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15386         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15387         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15388         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15389         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15390         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15391         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15392         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15393         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15394         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15395         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15396         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15397         proto.
15398         (_IO_flush_all_internal, _IO_adjust_column_internal)
15399         (_IO_default_uflow_internal, _IO_default_finish_internal)
15400         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15401         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15402         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15403         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15404         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15405         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15406         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15407         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15408         (_IO_file_close_internal, _IO_file_close_it_internal)
15409         (_IO_file_underflow_internal, _IO_file_overflow_internal)
15410         (_IO_file_init_internal, _IO_file_attach_internal)
15411         (_IO_file_fopen_internal, _IO_file_read_internal)
15412         (_IO_file_sync_internal, _IO_file_seek_internal)
15413         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15414         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15415         (_IO_str_underflow_internal, _IO_str_overflow_internal)
15416         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15417         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15418         (_IO_list_all_internal, _IO_link_in_internal)
15419         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15420         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15421         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15422         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15423         (_IO_do_write_internal, _IO_padn_internal)
15424         (_IO_getline_info_internal, _IO_getline_internal)
15425         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15426         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15427         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15428         (_IO_vfscanf_internal, _IO_vfprintf_internal)
15429         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15430         (_IO_init_internal, _IO_un_link_internal): Don't declare.
15431         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15432         with libc_hidden_ver, remove use of INTUSE.
15433         * libio/genops.c: Likewise.
15434         * libio/freopen.c: Likewise.
15435         * libio/freopen64.c: Likewise.
15436         * libio/iofclose.c: Likewise.
15437         * libio/iofdopen.c: Likewise.
15438         * libio/iofflush.c: Likewise.
15439         * libio/iofflush_u.c: Likewise.
15440         * libio/iofgets.c: Likewise.
15441         * libio/iofgets_u.c: Likewise.
15442         * libio/iofopen.c: Likewise.
15443         * libio/iofopncook.c: Likewise.
15444         * libio/iofread.c: Likewise.
15445         * libio/iofread_u.c: Likewise.
15446         * libio/ioftell.c: Likewise.
15447         * libio/iofwrite.c: Likewise.
15448         * libio/iogetline.c: Likewise.
15449         * libio/iogets.c: Likewise.
15450         * libio/iogetwline.c: Likewise.
15451         * libio/iopadn.c: Likewise.
15452         * libio/iopopen.c: Likewise.
15453         * libio/ioseekoff.c: Likewise.
15454         * libio/ioseekpos.c: Likewise.
15455         * libio/iosetbuffer.c: Likewise.
15456         * libio/iosetvbuf.c: Likewise.
15457         * libio/ioungetc.c: Likewise.
15458         * libio/ioungetwc.c: Likewise.
15459         * libio/iovdprintf.c: Likewise.
15460         * libio/iovsprintf.c: Likewise.
15461         * libio/iovsscanf.c: Likewise.
15462         * libio/memstream.c: Likewise.
15463         * libio/obprintf.c: Likewise.
15464         * libio/oldfileops.c: Likewise.
15465         * libio/oldiofclose.c: Likewise.
15466         * libio/oldiofdopen.c: Likewise.
15467         * libio/oldiofopen.c: Likewise.
15468         * libio/oldiopopen.c: Likewise.
15469         * libio/oldstdfiles.c: Likewise.
15470         * libio/putc.c: Likewise.
15471         * libio/setbuf.c: Likewise.
15472         * libio/setlinebuf.c: Likewise.
15473         * libio/stdfiles.c: Likewise.
15474         * libio/strops.c: Likewise.
15475         * libio/vasprintf.c: Likewise.
15476         * libio/vscanf.c: Likewise.
15477         * libio/vsnprintf.c: Likewise.
15478         * libio/vswprintf.c: Likewise.
15479         * libio/wfiledoalloc.c: Likewise.
15480         * libio/wfileops.c: Likewise.
15481         * libio/wgenops.c: Likewise.
15482         * libio/wmemstream.c: Likewise.
15483         * libio/wstrops.c: Likewise.
15484         * libio/__fpurge.c: Likewise.
15485         * libio/__fsetlocking.c: Likewise.
15486         * assert/assert.c: Likewise.
15487         * debug/fgets_chk.c: Likewise.
15488         * debug/fgets_u_chk.c: Likewise.
15489         * debug/fread_chk.c: Likewise.
15490         * debug/fread_u_chk.c: Likewise.
15491         * debug/gets_chk.c: Likewise.
15492         * debug/obprintf_chk.c: Likewise.
15493         * debug/vasprintf_chk.c: Likewise.
15494         * debug/vdprintf_chk.c: Likewise.
15495         * debug/vsnprintf_chk.c: Likewise.
15496         * debug/vsprintf_chk.c: Likewise.
15497         * malloc/mtrace.c: Likewise.
15498         * misc/error.c: Likewise.
15499         * misc/syslog.c: Likewise.
15500         * stdio-common/asprintf.c: Likewise.
15501         * stdio-common/fxprintf.c: Likewise.
15502         * stdio-common/getw.c: Likewise.
15503         * stdio-common/isoc99_fscanf.c: Likewise.
15504         * stdio-common/isoc99_scanf.c: Likewise.
15505         * stdio-common/isoc99_vfscanf.c: Likewise.
15506         * stdio-common/isoc99_vscanf.c: Likewise.
15507         * stdio-common/isoc99_vsscanf.c: Likewise.
15508         * stdio-common/printf-prs.c: Likewise.
15509         * stdio-common/printf_fp.c: Likewise.
15510         * stdio-common/printf_fphex.c: Likewise.
15511         * stdio-common/printf_size.c: Likewise.
15512         * stdio-common/putw.c: Likewise.
15513         * stdio-common/scanf.c: Likewise.
15514         * stdio-common/sprintf.c: Likewise.
15515         * stdio-common/tmpfile.c: Likewise.
15516         * stdio-common/vfprintf.c: Likewise.
15517         * stdio-common/vfscanf.c: Likewise.
15518         * stdlib/strfmon_l.c: Likewise.
15519         * sunrpc/openchild.c: Likewise.
15520         * sunrpc/xdr_stdio.c: Likewise.
15521         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15522         * sysdeps/mach/hurd/tmpfile.c: Likewise.
15524 2012-05-24  Roland McGrath  <roland@hack.frob.com>
15526         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15528         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15529         in the third column, to generate for the shared library an IFUNC
15530         that uses _dl_vdso_vsym.
15531         * Makerules (COMPILE.c, compile-stdin.c): New variables.
15532         * Makeconfig (object-suffixes-noshared): New variable.
15534         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15535         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15536         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15537         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15539         [BZ #14132]
15540         * include/sys/time.h (__gettimeofday): Remove macro.
15541         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15542         * time/gettimeofday.c (__gettimeofday): Remove #undef.
15543         Remove INTDEF.
15544         (__gettimeofday): Add libc_hidden_def.
15545         (gettimeofday): Add libc_hidden_weak.
15546         * sysdeps/mach/gettimeofday.c: Likewise.
15547         * sysdeps/posix/gettimeofday.c: Likewise.
15548         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15549         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15550         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15551         (__gettimeofday_internal): Remove strong_alias.
15552         (__gettimeofday): Add libc_hidden_def.
15553         (gettimeofday): Add libc_hidden_weak.
15554         * sysdeps/unix/syscalls.list (gettimeofday):
15555         Remove __gettimeofday_internal alias.
15557 2012-05-24  Daniel Jacobowitz  <drow@false.org>
15558             H.J. Lu  <hongjiu.lu@intel.com>
15560         [BZ #12495]
15561         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15562         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15563         (largebin_index_32_big): New.
15564         (largebin_index): Use it for 16-byte alignment.
15565         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
15566         correction with front_misalign.
15568 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15572         Likewise.
15573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15574         Likewise.
15575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15576         Likewise.
15577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15578         Likewise.
15579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15580         Likewise.
15581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15582         Likewise.
15583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15584         Likewise.
15585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15586         Likewise.
15587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15588         Likewise.
15589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15590         Likewise.
15591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15592         Likewise.
15593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15594         Likewise.
15596         * scripts/data/c++-types-x32-linux-gnu.data: New file.
15597         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15599 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15601         [BZ #10846]
15602         [BZ #14036]
15603         * math/libm-test.inc (exp_test): Add test from bug 14036.
15604         (pow_test): Add test from bug 10846.
15606         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15607         and other flags.
15608         (special_function): Do not include flags in test name.
15609         (parse_args): Likewise.
15610         * sysdeps/i386/fpu/libm-test-ulps: Update.
15611         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15612         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15613         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15616         * math/gen-libm-test.pl (%beautify): Add entries for underflow
15617         exceptions.
15618         * math/libm-test.inc ("Philosophy"): Update comment about
15619         exception testing.
15620         (UNDERFLOW_EXCEPTION): New macro.
15621         (UNDERFLOW_EXCEPTION_OK): Likewise.
15622         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15623         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15624         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15625         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15626         (INVALID_EXCEPTION_OK): Update value.
15627         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15628         (OVERFLOW_EXCEPTION_OK): Likewise.
15629         (IGNORE_ZERO_INF_SIGN): Likewise.
15630         (test_exceptions): Handle underflow exceptions.
15631         (acos_test): Update for underflow exception expectations.
15632         (cexp_test): Likewise.
15633         (clog_test): Likewise.
15634         (clog10_test): Likewise.
15635         (csqrt_test): Likewise.
15636         (ctan_test): Likewise.
15637         (ctanh_test): Likewise.
15638         (exp_test): Likewise.
15639         (exp10_test): Likewise.
15640         (exp2_test): Likewise.
15641         (expm1_test): Likewise.
15642         (fma_test): Likewise.
15643         (j0_test): Likewise.
15644         (jn_test): Likewise.
15645         (nexttoward_test): Likewise.
15646         (pow_test): Likewise.
15647         (scalbn_test): Likewise.
15648         (scalbln_test): Likewise.
15649         (tan_test): Likewise.
15650         (y1_test): Likewise.
15651         * sysdeps/i386/fpu/libm-test-ulps: Update.
15652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15654 2012-05-23  David S. Miller  <davem@davemloft.net>
15656         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15657         (__libc_sigaction): Remove unused local variables.
15659 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
15661         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15663 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
15665         mktime: avoid signed integer overflow
15666         * time/mktime.c (__mktime_internal): Do not mishandle the case
15667         where diff == INT_MIN.
15669         mktime: simplify computation of average
15670         * time/mktime.c (ranged_convert): Use new time_t_avg function
15671         instead of rolling our own (probably-slower) code.
15673         mktime: do not assume signed right shift propagates sign bit
15674         * time/mktime.c (isdst_differ): New static function.
15675         (__mktime_internal): No need to normalize tm_isdst now.
15676         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15677         tm_isdst values.
15679         mktime: merge another wrapv change from gnulib
15680         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15681         from some compilers.
15683         mktime: remove incorrect attempt at unusual arithmetics
15684         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15685         The code didn't really work on such machines anyway.
15686         (TYPE_MINIMUM): Assume two's complement.
15687         (twos_complement_arithmetic): Verify that long_int and time_t
15688         are two's complement (or unsigned, in the latter case).
15690         mktime: check signed shifts on long_int and time_t, too
15691         * time/mktime.c (SHR): Check that shifts work as desired
15692         on the types long_int and time_t too, as SHR is used on
15693         such types.
15695         mktime: do not assume 'long' is wide enough
15696         * time/mktime.c (verify): Move decl up.
15697         (long_int): New type.
15698         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15699         to remove assumption in the code that 'long' is wide enough to
15700         store year values.  This assumption is not true on x32 and on
15701         some non-glibc platforms.
15703         mktime: merge wrapv change from gnulib
15704         * time/mktime.c (WRAPV): New macro.
15705         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15706         (guess_time_tm, __mktime_internal): Do not assume that signed
15707         integer overflow wraps around; modern compilers generate code
15708         where this assumption is no longer valid.
15710 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
15712         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15713         Replace "jmp L(pseudo_end)" with "ret".
15714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15715         Likewise.
15717 2012-05-23  Andreas Jaeger  <aj@suse.de>
15719         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15720         * sysdeps/unix/sysv/linux/poll.c: Remove file.
15722 2012-05-23  Andreas Jaeger  <aj@suse.de>
15723             Maximilian Attems  <max@stro.at>
15725         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15726         New macros.
15728 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
15730         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15731         code so that pseudo_end is just ret and the stack pointer is
15732         correct also for static library in error case.
15734 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
15736         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15737         move to syscalls.list.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15743         * manual/install.texi (Running make install): Do not mention Linux
15744         kernel version for which pt_chown is not needed.
15745         (Linux): Do not mention problems with nscd with 2.0 kernels.
15746         * INSTALL: Regenerated.
15748 2012-05-23  Andreas Jaeger  <aj@suse.de>
15750         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15751         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15752         macro.
15753         * sysdeps/unix/sysv/linux/s390/bits/mman.h
15754         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15755         * sysdeps/unix/sysv/linux/sh/bits/mman.h
15756         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15757         * sysdeps/unix/sysv/linux/i386/bits/mman.h
15758         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15759         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15760         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15761         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15762         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15763         * sysdeps/unix/sysv/linux/bits/in.h
15764         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15766 2012-05-22  Roland McGrath  <roland@hack.frob.com>
15768         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15769         (PREPARE_VERSION): Just use assert instead, it will be elided
15770         under [NDEBUG] anyway.
15772 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15774         * sysdeps/unix/sysv/linux/Makefile: Include
15775         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
15776         (sysdep_routines): Remove sysctl.
15777         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15778         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15779         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15780         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15781         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15783 2012-05-22  Andreas Jaeger  <aj@suse.de>
15785         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15786         that pseudo_end is just ret and the stack pointer is correct also
15787         for static library in error case.
15789 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15791         [BZ #14122]
15792         * nss/nsswitch.c (defconfig_entries): New variable.
15793         (__nss_database_lookup): Don't leak defconfig entries.
15794         (nss_parse_service_list): Don't leak on error paths.
15795         (free_database_entries): New function.
15796         (free_defconfig): New function.
15797         (free_mem): Move common code to free_database_entries.
15799 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15801         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15802         Add arch_prctl.
15803         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15805         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15806         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15808         New macro.
15809         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15810         (INTERNAL_SYSCALL_TYPES): Likewise.
15811         (LOAD_ARGS_TYPES_[1-6]): Likewise.
15812         (LOAD_REGS_TYPES_[1-6]): Likewise.
15813         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15814         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15816 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15818         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15819         copysignl for GLIBC_2_0.
15820         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15821         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15822         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15823         logbl for GLIBC_2_0.
15824         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15825         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15827 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15829         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15830         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
15832         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15833         Use "neg %eax".
15835         * time/mktime.c: Update copyright years.
15837 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15839         mktime: merge comment-quoting-style change from gnulib
15840         * time/mktime.c: Quote 'like this' in comments.
15841         The GNU coding standards suggest that we no longer quote `like this',
15842         as "`" and "'" are typically rendered asymmetrically nowadays.
15843         The typical gnulib style is to quote 'like this' when quoting
15844         code, and "like this" when quoting English.
15846         * time/mktime.c (compile-command): Add "-I.".
15848         mktime: merge mktime-internal.h change from gnulib
15849         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15851         mktime: merge time_r change from gnulib
15852         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15854         mktime: merge DEBUG change from gnulib
15855         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15856         case system <time.h> has a #define.
15858         mktime: merge <sys/types.h> change from gnulib
15859         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15860         since <time.t> is now guaranteed to define time_t.
15862         mktime: merge HAVE_CONFIG_H change from gnulib
15863         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15865 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15867         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15868         Use "neg %eax".
15870         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15871         __rlim_t cast.
15872         (struct rusage): Use anonymous union to pad each field to
15873         __syscall_slong_t.
15875 2012-05-21  David S. Miller  <davem@davemloft.net>
15877         * Makefules (o-iterator): Remove .s cases.
15878         (compile-command.s): Delete.
15879         (COMPILE.s): Delete.
15880         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15882 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
15884         * configure.in (libc_cv_predef_stack_protector): Only consider
15885         "foobar" and "__stack_chk_fail" lines in libc_undefs.
15886         * configure: Regenerated.
15888 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
15890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15891         New macro.  Use R*LP on int and pointer.
15892         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
15893         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15894         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
15895         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15897         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15898         [__WORDSIZE_TIME64_COMPAT32] instead of
15899         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15900         (struct utmp): Likewise.
15901         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15902         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15903         Renamed to ...
15904         (__WORDSIZE_TIME64_COMPAT32): This.
15905         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15906         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15907         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15908         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15909         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15910         (__WORDSIZE_TIME64_COMPAT32): New macro.
15912 2012-05-21  Andreas Jaeger  <aj@suse.de>
15914         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15915         only if [SHARED]. Add prototype for __wcschr_ia32.
15917 2012-05-21  Roland McGrath  <roland@hack.frob.com>
15919         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15920         of %rbp unmolested in the jmp_buf while mangling the low bits.
15921         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15922         unmolested high bits of %rbp while demangling the low bits.
15923         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15925 2012-05-21  Andreas Jaeger  <aj@suse.de>
15927         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15928         * sunrpc/svc_simple.c: Use it for registerrpc.
15929         * sunrpc/xcrypt.c: Use it for passwd2des.
15931         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15933 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
15935         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15936         Don't define if [__SYSCALL_WORDSIZE != 32].
15937         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15938         New macro.
15940 2012-05-21  Bruno Haible  <bruno@clisp.org>
15941             Andreas Jaeger  <aj@suse.de>
15943         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15944         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15945         inptr and inend for must_buffer_ch.
15946         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15947         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15948         * stdio-common/Makefile (tests): Remove bug15.
15949         (bug15-ENV): Remove macro.
15950         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15951         anymore.
15953 2012-05-19  Andreas Jaeger  <aj@suse.de>
15954             Roland McGrath  <roland@hack.frob.com>
15956         * manual/contrib.texi: Completely rewritten. It contains now an
15957         alphabetical list of contributors and their contributions.
15959 2012-05-21  Richard Henderson  <rth@twiddle.net>
15961         * misc/getauxval.c (__getauxval): Use unsigned long int.
15962         * misc/sys/auxv.h: Include <sys/cdefs.h>.
15963         (getauxval): Use unsigned long int.
15965 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
15967         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15969 2012-05-21  Roland McGrath  <roland@hack.frob.com>
15971         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15972         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15973         __alignof__ (long double).
15975 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15979 2012-05-20  Richard Henderson  <rth@twiddle.net>
15981         * misc/getauxval.c: New file.
15982         * misc/sys/auxv.h: New file.
15983         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15984         (routines): Add getauxval.
15985         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15986         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15987         * elf/dl-sysdep.c (_dl_auxv): Remove.
15988         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15989         * elf/dl-support.c (_dl_auxv): New variable.
15990         (_dl_aux_init): Initialize it.
15991         * manual/startup.texi (Auxiliary Vector): New node.
15992         * sysdeps/generic/bits/hwcap.h: New file.
15993         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15994         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
15995         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15996         * sysdeps/sparc/sysdep.h: ... here.  Include it.
15997         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15998         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16000         Update.
16001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16004         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16010 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16014 2012-05-19  David S. Miller  <davem@davemloft.net>
16016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16018 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16020         [BZ #14123]
16021         * math/s_ccosh.c: Include <float.h>
16022         (__ccosh): Avoid internal overflow calculating sinh and cosh
16023         values before multiplying by sin and cos values.
16024         * math/s_ccoshf.c: Likewise.
16025         * math/s_ccoshl.c: Likewise.
16026         * math/s_csin.c: Likewise.
16027         * math/s_csinf.c: Likewise.
16028         * math/s_csinl.c: Likewise.
16029         * math/s_csinh.c: Likewise.
16030         * math/s_csinhf.c: Likewise.
16031         * math/s_csinhl.c: Likewise.
16032         * math/libm-test.inc (ccos_test): Add more tests.
16033         (ccosh_test): Likewise.
16034         (csin_test): Likewise.
16035         (csinh_test): Likewise.
16036         * sysdeps/i386/fpu/libm-test-ulps: Update.
16037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16039 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16041         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16042         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16044         * sysdeps/x86_64/x32/_itoa.h: Add comment.
16046 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16048         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16049         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16050         * sysdeps/powerpc/soft-fp/Versions: Likewise.
16051         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16052         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16053         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16054         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16055         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16056         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16057         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16058         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16059         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16060         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16061         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16062         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16063         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16064         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16065         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16066         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16067         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16068         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16069         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16070         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16071         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16072         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16073         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16074         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16075         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16076         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16077         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16078         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16080 2012-05-18  Andreas Jaeger  <aj@suse.de>
16082         * csu/.gitignore: Delete.
16084 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16086         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16087         (timex): Use __syscall_slong_t.
16089 2012-05-18  Andreas Jaeger  <aj@suse.de>
16090             Carlos O'Donell  <carlos_odonell@mentor.com>
16092         * manual/install.texi (Configuring and compiling): Update
16093         description about files modified in the source directory.
16094         * INSTALL: Regenerated.
16096 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16098         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16099         value.  Use "or" to set return value to -1.
16100         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16101         negate return value.
16103 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16105         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16106         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16107         failure if the compiler has Graphite support disabled.
16108         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16109         Likewise.
16110         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16111         CFLAGS-memmove.c): Likewise.
16112         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16113         Likewise.
16115 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16117         * sysdeps/x86_64/x32/_itoa.h: New file.
16119         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16120         getdents system call only if kernel and user dirents have the
16121         same d_ino and d_off.
16123         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16124         LLONG_MAX != LONG_MAX.
16125         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16126         (_fitoa_word): Likewise.
16128         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16129         years.
16130         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16131         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16132         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16134         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16135         include <bits/wordsize.h>.  Check __x86_64__ instead of
16136         __WORDSIZE.
16137         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16138         if __x86_64__ is defined.  Use anonymous union on fpstate.
16140         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16141         anonymous union.
16143 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
16145         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16146         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16147         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16148         Refer to _rtld_local_ro instead of _rtld_global_ro.
16149         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16150         Likewise.
16151         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16152         Likewise.
16153         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16154         Likewise.
16155         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16156         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16157         of _rtld_global, and rtld_progname instead of _dl_argv[0].
16159         * sysdeps/powerpc/powerpc32/dl-machine.c
16160         (__elf_machine_runtime_setup) [PROF]: Don't reference
16161         _dl_prof_resolve.
16163 2012-05-18  Andreas Jaeger  <aj@suse.de>
16165         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16166         function only available for GCCs before 3.4 since GCC 3.4
16167         introduced a builtin.
16168         (lrint): Likewise.
16169         (llrintf): Likewise.
16170         (llrint): Likewise.
16171         (fmaxf): Likewise.
16172         (fmax): Likewise.
16173         (fminf): Likewise.
16174         (fmin): Likewise.
16175         (rint): Likewise.
16176         (rintf): Likewise.
16177         (nearbyint): Likewise.
16178         (nearbyintf): Likewise.
16179         (ceil): Likewise.
16180         (ceilf): Likewise.
16181         (floor): Likewise.
16182         (floorf): Likewise.
16184 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16186         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16187         on both fields and cast pointer to __syscall_ulong_t.
16189         * bits/types.h (__fsword_t): New type.
16190         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16191         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16192         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16193         (__FSWORD_T_TYPE): Likewise.
16194         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16195         (__FSWORD_T_TYPE): Likewise.
16196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16197         (__FSWORD_T_TYPE): Likewise.
16198         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16199         (__FSWORD_T_TYPE): Likewise.
16200         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16201         __SWORD_TYPE with __fsword_t.
16202         (statfs64): Likewise.
16204 2012-05-17  David S. Miller  <davem@davemloft.net>
16206         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16208 2012-05-17  Andreas Jaeger  <aj@suse.de>
16210         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16211         warning.
16213 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16215         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16217 2012-05-17  Andreas Jaeger  <aj@suse.de>
16219         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16220         when it is used.
16222 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16224         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16226 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16228         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16229         * sysdeps/x86_64/tst-mallocalign1.c: New file.
16231 2012-05-17  Andreas Jaeger  <aj@suse.de>
16232             Carlos O'Donell  <carlos_odonell@mentor.com>
16234         [BZ #14059]
16235         * sysdeps/x86_64/multiarch/init-arch.h
16236         (bit_YMM_Usable): Rename to...
16237         (bit_AVX_Usable): ... this.
16238         (bit_FMA4_Usable): New macro.
16239         (bit_XMM_state): New macro.
16240         (bit_YMM_state): New macro.
16241         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16242         [__ASSEMBLER__] (index_AVX_Usable): ... this.
16243         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16244         (CPUID_OSXSAVE): New macro.
16245         (CPUID_AVX): New macro.
16246         (CPUID_FMA4): New macro.
16247         (index_YMM_Usable): Rename to...
16248         (index_AVX_Usable): ... this.
16249         (HAS_AVX): Use HAS_ARCH_FEATURE.
16250         (HAS_FMA4): Likewise.
16251         (HAS_YMM_USABLE): Remove.
16252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16253         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16254         are present.
16255         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16256         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16257         * sysdeps/x86_64/multiarch/Makefile: Likewise.
16258         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16259         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16261 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16263         * math/libm-test.c: Support platforms without multiple rounding modes.
16264         * math/bug-nextafter.c: Support platforms without FP exceptions.
16265         * math/bug-nexttoward.c: Likewise.
16266         * math/test-fenv.c: Likewise.
16267         * math/test-misc.c: Likewise.
16268         * stdlib/bug-getcontext.c: Likewise.
16270 2012-05-17  Andreas Jaeger  <aj@suse.de>
16272         * manual/examples/search.c (critter_cmp): Change signature to
16273         avoid warnings.
16274         * manual/string.texi (Collation Functions): Likewise.
16276 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16278         * bits/types.h: Fold copyright years.
16279         * bits/typesizes.h: Likewise.
16280         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16281         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16282         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16284         * time/time.h: Likewise.
16286 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
16288         [BZ #208]
16289         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16290         in instead of returning them.  Return void.
16291         (__libc_mallinfo): Accumulate over all arenas.
16292         (__malloc_stats): Adjust for change in int_mallinfo interface.
16294 2012-05-16  Roland McGrath  <roland@hack.frob.com>
16296         [BZ #10375]
16297         * configure.in (NM): Add AC_CHECK_TOOL for it.
16298         (libc_extra_cflags): New substituted variable.
16299         Check for -fstack-protector being used implicitly.
16300         * configure: Regenerated.
16301         * config.make.in (config-extra-cflags): New variable,
16302         gets @libc_extra_cflags@.
16303         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16305         [BZ #10375]
16306         * configure.in: Check for _FORTIFY_SOURCE being predefined.
16307         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16308         * configure: Regenerated.
16309         * config.make.in (CPPUNDEFS): New substituted variable.
16310         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16311         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16312         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16314 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16316         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16317         (mq_attr): Use __syscall_slong_t.
16319 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16321         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16322         Check __x86_64__ instead of __WORDSIZE.
16323         (_STAT_VER_LINUX): Likewise.
16324         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
16325         __syscall_ulong_t and __syscall_slong_t.
16326         (stat64): Likewise.
16328 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16330         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16332 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16334         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16336 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16338         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16339         __syscall_ulong_t.
16341         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16342         include <bits/wordsize.h>.  Check __x86_64__ instead of
16343         __WORDSIZE.
16344         (greg_t): Use "__extension__ long long int" if __x86_64__ is
16345         defined.
16346         (mcontext_t): Replace "unsigned long" with "unsigned long long".
16348         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16349         include <bits/wordsize.h>.  Check __x86_64__ instead of
16350         __WORDSIZE.
16351         (user_regs_struct): Use "__extension__ unsigned long long"
16352         instead of "unsigned long" if __x86_64__ is defined.
16353         (user): Likewise.  Pad after pointer field if __ILP32__ is
16354         defined.
16356 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
16358         * configure.in (makeinfo): Require version 4.5 or later.  Allow
16359         versions 5 to 9.
16360         * configure: Regenerated.
16361         * manual/install.texi (texinfo): Increase version requirement to
16362         4.5 or later.
16363         * INSTALL: Regenerated.
16365         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16367 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16369         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16371         * sysdeps/x86_64/x32/ffs.c: New file.
16373         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16374         __syscall_ulong_t.
16375         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16376         defined.  Use __syscall_ulong_t.
16377         (shminfo): Use __syscall_ulong_t.
16378         (shm_info): Likewise.
16380         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16381         __syscall_ulong_t.
16383         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16384         <bits/wordsize.h>.
16385         (msgqnum_t): Use __syscall_ulong_t.
16386         (msglen_t): Likewise.
16387         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
16388         __syscall_ulong_t.
16390         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16391         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16393         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16395         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16396         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16398         * sysvipc/sys/msg.h (msgbuf): Replace long int with
16399         __syscall_slong_t.
16401         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16402         include <bits/wordsize.h>.  Check __x86_64__ instead of
16403         __WORDSIZE.
16405         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16406         "unsigned long long int" if __x86_64__ is defined.
16407         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16409         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16410         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16411         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16413         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16414         <stdint.h>.
16415         (GET_PC): Cast to uintptr_t first.
16416         (GET_FRAME): Likewise.
16417         (GET_STACK): Likewise.
16419         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16420         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16421         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16422         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16423         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16424         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16425         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16426         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16427         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16428         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16429         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16430         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16431         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16432         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16433         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16434         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16435         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16436         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16437         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16438         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16439         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16440         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16441         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16442         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16443         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16444         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16445         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16446         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16447         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16449 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
16451         * Makerules (+depfiles): Also collect depfiles from .oS in
16452         $(extra-objs).
16453         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16454         .oS, $(libnldbl-routines)).
16456         * Makerules (native-compile-mkdep-flags): Define.
16457         * sunrpc/Makefile (extra-objs): Add $(addprefix
16458         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16459         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16460         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
16461         calling $(make-target-directory).
16463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16465         * bits/types.h (__snseconds_t): Removed.
16466         * time/time.h (struct timespec): Replace __snseconds_t with
16467         __syscall_slong_t.
16468         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16469         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16470         Likewise.
16471         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16472         (__SNSECONDS_T_TYPE): Likewise.
16473         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16474         (__SNSECONDS_T_TYPE): Likewise.
16475         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16476         (__SNSECONDS_T_TYPE): Likewise.
16478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16480         * sysdeps/mach/hurd/bits/typesizes.h
16481         (__SYSCALL_SLONG_TYPE): New macro.
16482         (__SYSCALL_ULONG_TYPE): Likewise.
16484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16486         * bits/types.h (__syscall_slong_t): New type.
16487         (__syscall_ulong_t): Likewise.
16489         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16490         (__SYSCALL_ULONG_TYPE): Likewise.
16491         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16492         (__SYSCALL_SLONG_TYPE): Likewise.
16493         (__SYSCALL_ULONG_TYPE): Likewise.
16494         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16495         (__SYSCALL_SLONG_TYPE): Likewise.
16496         (__SYSCALL_ULONG_TYPE): Likewise.
16497         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16498         (__SYSCALL_SLONG_TYPE): Likewise.
16499         (__SYSCALL_ULONG_TYPE): Likewise.
16501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16503         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16504         Add sigaltstack-offsets.sym.
16505         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16506         <sigaltstack-offsets.h>.
16507         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
16508         longjmp_msg pointer.
16509         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
16510         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16511         signal stack.
16512         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16514 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
16516         * elf/stackguard-macros.h: Remove file.
16517         * sysdeps/generic/stackguard-macros.h: New file.
16518         * sysdeps/i386/stackguard-macros.h: Likewise.
16519         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16520         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16521         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16522         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16523         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16524         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16525         * sysdeps/x86_64/stackguard-macros.h: Likewise.
16526         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16527         <elf/stackguard-macros.h>.
16529         [BZ #14109]
16530         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16531         __aligned__ in attribute.
16532         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16533         (gregset_t): Likewise.
16535 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16537         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16538         * sysdeps/x86_64/64/Implies-after: Here.  New file.
16539         * sysdeps/x86_64/x32/Implies-after: New file.
16541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16543         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16544         and access return value for _dl_profile_fixup.  Use R10_LP to
16545         load frame size.
16547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16549         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16551 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16553         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16554         * sysdeps/x86_64/x32/sysdep.h: New file.
16556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16558         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16559         * sysdeps/x86_64/setjmp.S: Likewise.
16561 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16563         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16564         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16565         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16566         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16567         remove unused global constant.
16569 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
16571         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16572         include of <not-cancel.h>.
16574 2012-05-15  Roland McGrath  <roland@hack.frob.com>
16576         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16578 2012-05-15  Jeff Law  <law@redhat.com>
16579             Andreas Jaeger  <aj@suse.de>
16581         [BZ #13594]
16582         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16583         out from...
16584         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16585         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16586         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16587         code changing __hst_map_handle.map.
16589 2012-05-15  Roland McGrath  <roland@hack.frob.com>
16591         * configure.in (sysnames): Look for Implies-before and Implies-after
16592         files.
16593         * configure: Regenerated.
16595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16597         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16598         8-byte data alignment with LP_SIZE alignment.
16600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16602         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16603         into R10_LP.
16605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16607         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16611         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16612         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16613         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16614         Likewise.
16615         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16617 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16619         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16620         (stackinfo_sub_sp): Likewise.
16622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16624         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16625         RAX_LP.
16627 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16629         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16630         into R*_LP.
16632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16634         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16635         sizes into R*_LP.
16637 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16639         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16643         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16644         into R11_LP and load __x86_64_shared_cache_size_half into
16645         R8_LP.
16647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16649         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16650         R8_LP.
16652 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16654         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16655         logb for POWER7.
16656         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16657         logbf for POWER7.
16658         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16659         logbl for POWER7.
16660         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16661         powerpc32/power7/fpu/s_logb.c via #include.
16662         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16663         powerpc32/power7/fpu/s_logbf.c via #include.
16664         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16665         powerpc32/power7/fpu/s_logbl.c via #include.
16667 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
16669         * README.libm: Remove file.
16671 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16673         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16674         count for x32.  Use R*_LP and omit operand-size suffix.
16676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16678         * shlib-versions: Move x86_64-.*-linux.* entries to ...
16679         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
16680         * sysdeps/x86_64/x32/shlib-versions: New file.
16682 2012-05-14  Roland McGrath  <roland@hack.frob.com>
16684         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16685         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16686         Use _dl_fatal_printf instead.
16688 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
16690         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16691         set if not set by the user.  Do not allow for being unset.
16692         * sysdeps/unix/sysv/linux/configure: Regenerated.
16694 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16696         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16697         the `q' suffix from lea and replace .quad with ASM_ADDR.
16699 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16701         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16702         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
16703         instead of $17.
16704         (PTR_DEMANGLE): Likewise.
16706 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16708         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16709         (LP_OP): Likewise.
16710         (ASM_ADDR): Likewise.
16711         (RAX_LP): Likewise.
16712         (RBP_LP): Likewise.
16713         (RBX_LP): Likewise.
16714         (RCX_LP): Likewise.
16715         (RDI_LP): Likewise.
16716         (RSI_LP): Likewise.
16717         (RSP_LP): Likewise.
16718         (R8_LP): Likewise.
16719         (R9_LP): Likewise.
16720         (R10_LP): Likewise.
16721         (R10_LP): Likewise.
16722         (R11_LP): Likewise.
16723         (R12_LP): Likewise.
16724         (R13_LP): Likewise.
16725         (R14_LP): Likewise.
16726         (R15_LP): Likewise.
16728 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16730         * sysdeps/x86_64/x32/dl-machine.h: New file.
16732 2012-05-14  Andreas Jaeger  <aj@suse.de>
16734         * manual/Makefile (subdir): Remove export of subdir.
16735         (all): Remove target.
16736         (.PHONY): Remove all from list.
16737         (mkinstalldirs): Remove.
16738         (.PHONY): Remove installdirs from list.
16739         ($(inst_infodir)/libc.info): Use make-target-directory.
16740         (installdirs): Remove.
16741         (subdir_%): Remove.
16742         (glibc-targets): Remove.
16743         (lib): Remove.
16744         (stubs): Remove.
16745         ($(objpfx)stubs ../po/manual.pot): Remove.
16746         ($(objpfx)stamp%): Remove.
16747         (make-target-directory): Remove.
16748         (subdir_install): Remove.
16749         (routines): Remove.
16750         (aux): Remove.
16751         (sources): Remove.
16752         (objects): Remove.
16753         (headers): Remove.
16755         [BZ #13750]
16756         * manual/.gitignore: Remove, it's not needed anymore.
16757         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16758         all files in it.
16759         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16760         directory.
16761         (texis): Renamed to $(objpfx)texis.
16762         (texis-path): New, contains path to generated files.
16763         (chapters.%): Use texis-path for complete path, add extra argument
16764         libc-texinfo.sh.
16765         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16766         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16767         (summary,texi, stamp-summary): Use complete path of
16768         files. Generate files in build dir.
16769         (dir-add.texi): Build in build dir.
16770         (libm-err.texi,stamp-libm-err): Likewise.
16771         (version.texi, stamp-version): Likewise.
16772         (.%c.texi): Likewise.
16773         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16774         (mostlyclean): Remove target.
16775         (realclean): Remove target.
16776         (generated): Add new variable with contents from mostlyclean and
16777         realclean, remove entries duplicated in common-mostlyclean, add
16778         stamp-libm-err and stamp-version.
16779         (generated-dirs): Add libc directory.
16780         ($(inst_infodir)/libc.info): Install files from build dir.
16782         * manual/install.texi (Configuring and compiling): Adjust since
16783         the info files are not part of the tar ball anymore.
16785 2012-05-14  Andreas Jaeger  <aj@suse.de>
16787         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16788         variable.
16790 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
16792         [BZ #13717]
16793         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16794         to 2.2.0 where earlier.
16795         * sysdeps/unix/sysv/linux/configure: Regenerated.
16796         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16797         Remove conditional code.
16798         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16799         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16800         Remove conditional code.
16801         [!__NR_lchown]: Likewise.
16802         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16803         [__NR_lchown]: Likewise.
16804         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16805         comment referencing __ASSUME_LCHOWN_SYSCALL.
16806         * sysdeps/unix/sysv/linux/i386/sigaction.c
16807         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16808         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16809         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16810         Remove conditional code.
16811         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16812         (__protocol_available): Remove #if 0 code.
16813         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16814         conditional code.
16815         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16816         * sysdeps/unix/sysv/linux/kernel-features.h
16817         (__ASSUME_GETCWD_SYSCALL): Don't define.
16818         (__ASSUME_REALTIME_SIGNALS): Likewise.
16819         (__ASSUME_PREAD_SYSCALL): Likewise.
16820         (__ASSUME_PWRITE_SYSCALL): Likewise.
16821         (__ASSUME_POLL_SYSCALL): Likewise.
16822         (__ASSUME_LCHOWN_SYSCALL): Likewise.
16823         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16824         non-SPARC.
16825         (__ASSUME_SIOCGIFNAME): Don't define.
16826         (__ASSUME_MSG_NOSIGNAL): Likewise.
16827         (__ASSUME_SENDFILE): Define unconditionally.
16828         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16829         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16830         conditional code.
16831         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16832         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16833         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16834         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16835         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16836         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16837         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16839         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16840         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16842         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16843         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16845         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16846         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16848         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16849         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16851         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16852         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16854         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16855         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16857         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16858         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16860         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16861         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16862         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16863         Remove conditional code.
16864         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16865         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16866         Remove conditional code.
16867         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16868         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16869         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16870         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16871         Remove conditional code.
16872         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16873         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16874         Remove conditional code.
16875         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16876         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16877         Remove conditional code.
16878         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16879         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16880         Remove conditional code.
16881         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16882         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16883         Remove conditional code.
16884         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16885         * sysdeps/unix/sysv/linux/sh/pwrite64.c
16886         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16887         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16888         * sysdeps/unix/sysv/linux/sigaction.c
16889         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16890         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16891         * sysdeps/unix/sysv/linux/sigpending.c
16892         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16893         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16894         * sysdeps/unix/sysv/linux/sigprocmask.c
16895         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16896         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16897         * sysdeps/unix/sysv/linux/sigsuspend.c
16898         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16899         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16900         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16901         (__libc_missing_rt_sigs): Remove.
16902         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16903         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16904         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16905         Remove conditional code.
16906         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16907         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16908         return 1.
16909         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16910         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16911         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16912         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16914 2012-05-14  Andreas Jaeger  <aj@suse.de>
16916         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16917         it's not used in glibc.
16918         (__coshm1): Likewise.
16919         (__acosh1p): Likewise.
16920         (__sgn): Likewise.
16922         * manual/string.texi (Copying and Concatenation): Add missing
16923         variable in concat example.
16924         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16926 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16928         [BZ #14103]
16929         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16930         __builtin_clzl with __builtin_clzll.
16932 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
16934         [BZ #14104]
16935         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16936         libc_freeres_ptr.
16938 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16940         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16941         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16942         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16943         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16945 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
16947         * NEWS: Update ia64 info.
16949 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
16951         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16952         used as bcopy.
16954 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
16956         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16957         * sysdeps/unix/syscalls.list (dup3): Likewise.
16958         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16959         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16961 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16963         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16964         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16966 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16968         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16969         thread pointer.
16970         (TLS_IE): Use mov/add instead of movq/addq to load thread
16971         pointer.
16972         (TLS_GD_PREFIX): New.
16973         (TLS_GD): Use it.
16975 2012-05-11  David S. Miller  <davem@davemloft.net>
16977         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16978         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16979         (_FPU_SETCW): Likewise.
16981 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
16983         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16984         is 32-byte aligned.
16986 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
16988         [BZ #11837]
16989         * iconvdata/gb18030.c: Update tables.
16990         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
16991         characters specially.
16992         (BODY for TO_LOOP): Add encoding of missing ranges.
16994 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
16996         [BZ #13673]
16997         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16998         * sysdeps/mach/hurd/dup3.c: Likewise.
16999         * sysdeps/mach/hurd/readlinkat.c: Likewise.
17000         * sysdeps/powerpc/memmove.c:: Likewise.
17002 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17004         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17005         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17007 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17009         * elf/elf.h (R_X86_64_RELATIVE64): New.
17010         (R_X86_64_NUM): Updated.
17011         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17012         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
17013         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17014         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17015         tst-quad1pie tst-quad2pie
17016         (modules-names): Add tst-quadmod1 tst-quadmod2.
17017         ($(objpfx)tst-quad1): New dependency.
17018         ($(objpfx)tst-quad2): Likewise.
17019         ($(objpfx)tst-quad1pie): Likewise.
17020         ($(objpfx)tst-quad2pie): Likewise.
17021         * sysdeps/x86_64/tst-quad1.c: New file.
17022         * sysdeps/x86_64/tst-quad1pie.c: New file.
17023         * sysdeps/x86_64/tst-quad2.c: Likewise.
17024         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17025         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17026         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17027         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17028         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17030 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17032         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17033         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17034         * streams/stropts.h (t_scalar_t): Define type.
17036         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17037         (_PATH_PRESERVE): Set to "/var/lib".
17038         (_PATH_RWHODIR): Set to "/var/spool/rwho".
17040         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17041         instead of int.
17043         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17044         if __dir_mkfile succeeded.
17046         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17047         checking for _hurd_dtablesize.  Unlock it right after having
17048         finished _hurd_dtable allocation.
17050 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17052         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17053         * sysdeps/mach/hurd/configure: Regenerated.
17054         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17055         special-casing to...
17056         * sysdeps/gnu/configure.in: ... this new file.
17057         * sysdeps/unix/sysv/linux/configure: Regenerated.
17058         * sysdeps/gnu/configure: New generated file.
17060         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17061         for Linux: use nsec instead of usec, as well as:
17062         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17063         members of type struct timespec.
17064         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17065         New macros.
17066         (struct stat64): Likewise.
17067         (_STATBUF_ST_NSEC): New macro.
17068         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17070         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17071         __strtoul_internal rather than strtoul.
17073 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17075         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17076         and reject them.
17078 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17080         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17081         which preserves existing values.
17082         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17084 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17086         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17087         TIMEOUT values.  Return EINVAL for NFDS values either negative or
17088         greater than FD_SETSIZE.
17090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17092         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17093         allocated, call __vm_protect to finish enabling the existing space, and
17094         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17095         allocate the remainder.
17097 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17099         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17100         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
17102 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17104         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17105         sysdeps/mach/hurd/readlink.c.
17107         * posix/tst-sysconf.c (posix_options): Only use
17108         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17109         _POSIX_SYNCHRONIZED_IO when they are defined
17110         * sysdeps/mach/hurd/bits/posix_opt.h:
17111         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17112         (_XOPEN_REALTIME): Undefine macro.
17113         (_XOPEN_REALTIME_THREADS): Undefine macro.
17114         (_XOPEN_SHM): Undefine macro.
17115         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17116         macro to -1.
17117         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17118         macro to -1.
17119         (_POSIX_ASYNC_IO): Undefine macro.
17120         (_POSIX_PRIORITIZED_IO): Undefine macro.
17121         (_POSIX_SPIN_LOCKS): Define macro to -1.
17123         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17124         SA_NODEFER, SA_RESETHAND.
17125         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17126         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17127         F_DUPFD_CLOEXEC.
17129 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17131         * elf/Makefile (pldd-modules): Define unconditionally.
17133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17135         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17137 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17139         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17140         Return ENOENT when name is empty.
17141         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17143 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17145         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17147         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17149 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17151         Fix mlock in all cases except non-readable pages.
17152         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17153         instead of VM_PROT_ALL as parameter to __vm_wire function.
17155         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17156         (__mkdir): When path is `/', just fail with EEXIST.
17157         * sysdeps/mach/hurd/mkdirat.c: Likewise.
17159 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17161         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17162         <sys/uio.h> (for writev).
17163         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17164         and <sys/param.h> (for MIN).
17166 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17168         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17169         REQUESTED_TIME.  Properly set the remaining time and return EINTR
17170         if interrupted.
17172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17174         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17175         Depend on against $(link-rpcuserlibs).
17177 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17179         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17180         (__libc_stack_end): Do not use attribute_relro.
17181         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17182         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17183         to libthread-provided value.
17184         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17185         attribute_relro.
17187 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17189         [BZ #3748]
17190         * bits/libc-lock.h (__libc_once_get): New macro.
17191         * sysdeps/mach/bits/libc-lock.h: Likewise.
17192         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17193         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17194         instead of using implementation details.
17196         * libio/fileops.c: Unconditionally include <kernel-features.h>.
17197         * libio/freopen.c: Likewise.
17198         * libio/freopen64.c: Likewise.
17199         * misc/syslog.c: Likewise.
17200         * nscd/connections.c: Likewise.
17201         * nscd/netgroupcache.c: Likewise.
17202         * sysdeps/posix/getcwd.c: Likewise.
17204 2012-05-10  Roland McGrath  <roland@hack.frob.com>
17206         * math/w_ilogbf.c: Add #include <limits.h>.
17208 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17210         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17211         path instead of returning without unlocking.
17213         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17214         immediate-write ioctls.
17215         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17219         * sysdeps/mach/hurd/i386/init-first.c (init): Use
17220         __builtin_frame_address instead of making assumptions about the
17221         location of the return address relative to DATA.  Force early load of
17222         the return address.
17223         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17224         __builtin_frame_address.
17226         dup3 for GNU Hurd.
17227         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17228         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
17229         implement dup3 and do some further code clean-ups.
17230         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17231         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17235         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17237         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17238         HURD_CRITICAL_END around holding _hurd_dtable_lock.
17239         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17240         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17241         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17242         d->port.lock.
17244         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17245         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
17246         when handler == SIG_ERR, not when handler != SIG_ERR.
17248 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17250         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17251         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17252         definitions.
17254         accept4 for GNU Hurd.
17255         * include/sys/socket.h (__libc_accept4): New prototype.
17256         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
17257         to implement __libc_accept4.
17258         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17259         __libc_accept4.
17260         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17262         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17263         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17264         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17265         signal-defines.sym.
17267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17269         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17271 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17273         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17274         assertion on O_CLOEXEC flag.
17275         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17276         * hurd/intern-fd.c: Likewise.
17277         * hurd/port2fd.c: Likewise.
17279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17281         [BZ #3906]
17282         * bits/in.h (IPV6_PKTINFO): Define new macro.
17283         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17285 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17287         [BZ #13954]
17288         [BZ #13955]
17289         [BZ #13956]
17290         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17291         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17292         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17293         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17294         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17295         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17296         * math/libm-test.inc (logb_test) : Additional logb tests.
17298 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
17299             Andreas Jaeger  <aj@suse.de>
17301         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17302         * configure: Regenerated.
17303         * config.h.in (LINK_OBSOLETE_RPC): New macro.
17304         * config.make.in (link-obsolete-rpc): New substituted variable.
17305         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17306         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17307         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17308         (shared-only-routines): Don't set it under [link-obsolete-rpc],
17309         so that libc.a contains the symbols.
17310         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17311         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17312         * sunrpc/auth_none.c: Likewise.
17313         * sunrpc/auth_unix.c: Likewise.
17314         * sunrpc/authdes_prot.c: Likewise.
17315         * sunrpc/authuxprot.c: Likewise.
17316         * sunrpc/clnt_gen.c: Likewise.
17317         * sunrpc/clnt_perr.c: Likewise.
17318         * sunrpc/clnt_raw.c: Likewise.
17319         * sunrpc/clnt_simp.c: Likewise.
17320         * sunrpc/clnt_tcp.c: Likewise.
17321         * sunrpc/clnt_udp.c: Likewise.
17322         * sunrpc/clnt_unix.c: Likewise.
17323         * sunrpc/des_crypt.c: Likewise.
17324         * sunrpc/des_soft.c: Likewise.
17325         * sunrpc/get_myaddr.c: Likewise.
17326         * sunrpc/key_call.c: Likewise.
17327         * sunrpc/key_prot.c: Likewise.
17328         * sunrpc/netname.c: Likewise.
17329         * sunrpc/pm_getmaps.c: Likewise.
17330         * sunrpc/pm_getport.c: Likewise.
17331         * sunrpc/pmap_clnt.c: Likewise.
17332         * sunrpc/pmap_prot.c: Likewise.
17333         * sunrpc/pmap_prot2.c: Likewise.
17334         * sunrpc/pmap_rmt.c: Likewise.
17335         * sunrpc/publickey.c: Likewise.
17336         * sunrpc/rpc_cmsg.c: Likewise.
17337         * sunrpc/rpc_common.c: Likewise.
17338         * sunrpc/rpc_dtable.c: Likewise.
17339         * sunrpc/rpc_prot.c: Likewise.
17340         * sunrpc/rpc_thread.c: Likewise.
17341         * sunrpc/rtime.c: Likewise.
17342         * sunrpc/svc.c: Likewise.
17343         * sunrpc/svc_auth.c: Likewise.
17344         * sunrpc/svc_raw.c: Likewise.
17345         * sunrpc/svc_run.c: Likewise.
17346         * sunrpc/svc_tcp.c: Likewise.
17347         * sunrpc/svc_udp.c: Likewise.
17348         * sunrpc/svc_unix.c: Likewise.
17349         * sunrpc/svcauth_des.c: Likewise.
17350         * sunrpc/xcrypt.c: Likewise.
17351         * sunrpc/xdr.c: Likewise.
17352         * sunrpc/xdr_array.c: Likewise.
17353         * sunrpc/xdr_float.c: Likewise.
17354         * sunrpc/xdr_intXX_t.c: Likewise.
17355         * sunrpc/xdr_mem.c: Likewise.
17356         * sunrpc/xdr_rec.c: Likewise.
17357         * sunrpc/xdr_ref.c: Likewise.
17358         * sunrpc/xdr_sizeof.c: Likewise.
17359         * sunrpc/xdr_stdio.c: Likewise.
17361 2012-05-10  Roland McGrath  <roland@hack.frob.com>
17363         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17364         change.  Update copyright years.
17366 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
17368         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17370 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
17371             Joseph Myers  <joseph@codesourcery.com>
17372             Paul Pluzhnikov  <ppluzhnikov@google.com>
17374         [BZ #14012]
17375         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17376         requiring rpcgen.
17377         [cross-compiling] (extra-libs): Likewise.
17378         [cross-compiling] (extra-libs-others): Likewise.
17379         [cross-compiling] (librpcsvc-routines): Likewise.
17380         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17381         [cross-compiling] (omit-deps): Likewise.
17382         (sunrpc-CPPFLAGS): New variable.
17383         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17384         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17385         (cross-rpcgen-objs): New variable.
17386         (extra-objs): Append $(cross-rpcgen-objs).
17387         ($(cross-rpcgen-objs)): New rule.
17388         ($(objpfx)cross-rpcgen): Likewise.
17389         (rpcgen-cmd): Define to use $(built-program-file).  Expand
17390         comment.
17391         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17392         ($(objpfx)x%.stmp): Likewise.
17393         * sunrpc/proto.h [IS_IN_build] (_): Define.
17394         [IS_IN_build] (_libc_intl_domainname): Likewise.
17396 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17398         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17399         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17400         and R_X86_64_TPOFF64.
17402 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
17404         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17405         sysdeps/unix/sysv/syscalls.list.
17406         (stime): Likewise.
17407         (utime): Likewise.
17408         * sysdeps/unix/sysv/syscalls.list: Remove file.
17410 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
17412         [BZ #3440]
17413         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17414         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17415         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17416         (__LC_IDENTIFICATION): Make these macros useful in #if
17417         expressions, as required by C99.
17419 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
17421         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17422         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
17423         after this.
17425 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
17427         * stdlib/longlong.h: Updated from GCC.
17429 2012-05-09  Andreas Jaeger  <aj@suse.de>
17431         * nscd/nscd.c (run_modes): Make named enum, reorder so that
17432         default is first entry.
17433         (run_mode): Set type.
17434         (main): Remove informal message about syslog.
17435         (options): Fix typo.
17437         [BZ #14053]
17438         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17439         to asm.
17440         (lrint): Likewise.
17441         (llrintf): Likewise.
17442         (llrint): Likewise.
17443         (rint): Likewise.
17444         (rintf): Likewise.
17445         (nearbyint): Likewise.
17446         (nearbyintf): Likewise.
17448 2012-05-09  Andreas Jaeger  <aj@suse.de>
17449             Pedro Alves  <palves@redhat.com>
17451         * nscd/nscd.c (run_mode): Use enum.
17452         (main): Cleanup coding style issue.
17454 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
17455             Andreas Jaeger  <aj@suse.de>
17457         * nscd/nscd.c (go_background): Replaced with...
17458         (run_mode): ... this.
17459         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17460         (options): Add -F --foreground.
17461         (main): Implement it.
17462         (parse_opt): Parse it.
17464 2012-05-09  Andreas Jaeger  <aj@suse.de>
17466         [BZ #14083]
17467         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17468         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17469         -Wconversion warning.
17470         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17471         Likewise.
17473 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
17475         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
17476         == 0.
17477         (LC_ALL): Use macro-int-constant.
17478         (LC_COLLATE): Likewise.
17479         (LC_CTYPE): Likewise.
17480         (LC_MESSAGES): Likewise.
17481         (LC_MONETARY): Likewise.
17482         (LC_NUMERIC): Likewise.
17483         (LC_TIME): Likewise.
17484         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17485         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17486         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17487         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17488         Specify type.
17489         [C99-based standards] (float_t): Expect type.
17490         [C99-based standards] (double_t): Expect type.
17491         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
17492         type.
17493         [C99-based standards] (HUGE_VALL): Likewise.
17494         [C99-based standards] (INFINITY): Likewise.
17495         [C99-based standards] (NAN): Likewise.
17496         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17497         [C99-based standards] (FP_NAN): Likewise.
17498         [C99-based standards] (FP_NORMAL): Likewise.
17499         [C99-based standards] (FP_SUBNORMAL): Likewise.
17500         [C99-based standards] (FP_ZERO): Likewise.
17501         [C99-based standards] (FP_FAST_FMA): Use
17502         optional-macro-int-constant.  Specify type.  Require == 1.
17503         [C99-based standards] (FP_FAST_FMAF): Likewise.
17504         [C99-based standards] (FP_FAST_FMAL): Likewise.
17505         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17506         [C99-based standards] (FP_ILOGBNAN): Likewise.
17507         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17508         Specify type.
17509         [C99-based standards] (MATH_ERREXCEPT): Likewise.
17510         [C99-based standards] (math_errhandling): Specify type.
17511         [ISO99 || ISO11] (signgam): Do not allow.
17512         [non-C99-based standards] (copysignf): Do not allow.
17513         [non-C99-based standards] (exp2f): Likewise.
17514         [non-C99-based standards] (log2f): Likewise.
17515         [non-C99-based standards] (modff): Allow.
17516         [non-C99-based standards] (erff): Do not allow.
17517         [non-C99-based standards] (erfcf): Likewise.
17518         [non-C99-based standards] (gammaf): Likewise.
17519         [non-C99-based standards] (hypotf): Likewise.
17520         [non-C99-based standards] (j0f): Likewise.
17521         [non-C99-based standards] (j1f): Likewise.
17522         [non-C99-based standards] (jnf): Likewise.
17523         [non-C99-based standards] (lgammaf): Likewise.
17524         [non-C99-based standards] (tgammaf): Likewise.
17525         [non-C99-based standards] (y0f): Likewise.
17526         [non-C99-based standards] (y1f): Likewise.
17527         [non-C99-based standards] (ynf): Likewise.
17528         [non-C99-based standards] (isnanf): Likewise.
17529         [non-C99-based standards] (acoshf): Likewise.
17530         [non-C99-based standards] (asinhf): Likewise.
17531         [non-C99-based standards] (atanhf): Likewise.
17532         [non-C99-based standards] (cbrtf): Likewise.
17533         [non-C99-based standards] (expm1f): Likewise.
17534         [non-C99-based standards] (ilogbf): Likewise.
17535         [non-C99-based standards] (log1pf): Likewise.
17536         [non-C99-based standards] (logbf): Likewise.
17537         [non-C99-based standards] (nextafterf): Likewise.
17538         [non-C99-based standards] (remainderf): Likewise.
17539         [non-C99-based standards] (rintf): Likewise.
17540         [non-C99-based standards] (scalbf): Likewise.
17541         [non-C99-based standards] (copysignl): Likewise.
17542         [non-C99-based standards] (exp2l): Likewise.
17543         [non-C99-based standards] (log2l): Likewise.
17544         [non-C99-based standards] (modfl): Allow.
17545         [non-C99-based standards] (erfl): Do not allow.
17546         [non-C99-based standards] (erfcl): Likewise.
17547         [non-C99-based standards] (gammal): Likewise.
17548         [non-C99-based standards] (hypotl): Likewise.
17549         [non-C99-based standards] (j0l): Likewise.
17550         [non-C99-based standards] (j1l): Likewise.
17551         [non-C99-based standards] (jnl): Likewise.
17552         [non-C99-based standards] (lgammal): Likewise.
17553         [non-C99-based standards] (tgammal): Likewise.
17554         [non-C99-based standards] (y0l): Likewise.
17555         [non-C99-based standards] (y1l): Likewise.
17556         [non-C99-based standards] (ynl): Likewise.
17557         [non-C99-based standards] (isnanl): Likewise.
17558         [non-C99-based standards] (acoshl): Likewise.
17559         [non-C99-based standards] (asinhl): Likewise.
17560         [non-C99-based standards] (atanhl): Likewise.
17561         [non-C99-based standards] (cbrtl): Likewise.
17562         [non-C99-based standards] (expm1l): Likewise.
17563         [non-C99-based standards] (ilogbl): Likewise.
17564         [non-C99-based standards] (log1pl): Likewise.
17565         [non-C99-based standards] (logbl): Likewise.
17566         [non-C99-based standards] (nextafterl): Likewise.
17567         [non-C99-based standards] (remainderl): Likewise.
17568         [non-C99-based standards] (rintl): Likewise.
17569         [non-C99-based standards] (scalbl): Likewise.
17570         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17571         [non-C99-based standards] (FP_*): Do not allow.
17572         [C99-based standards] (FP_*): Change to
17573         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17574         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17575         allow.
17576         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17577         (SIG_ERR): Likewise.
17578         [X/Open-based standards] (SIG_HOLD): Likewise.
17579         (SIG_IGN): Likewise.
17580         (SIGABRT): Use macro-int-constant.  Specify type.  Require
17581         positive value.
17582         (SIGFPE): Likewise.
17583         (SIGILL): Likewise.
17584         (SIGINT): Likewise.
17585         (SIGSEGV): Likewise.
17586         (SIGTER): Likewise.
17587         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17588         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17589         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17590         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17591         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17592         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17593         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17594         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17595         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17596         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17597         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17598         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17599         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17600         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17601         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17602         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17603         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17604         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17605         [X/Open-based standards] (SIGTRAP): Likewise.
17606         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17607         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17608         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17609         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17610         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17611         allow.
17613 2012-05-08  Ian Wienand  <ianw@vmware.com>
17615         [BZ #14080]
17616         * time/tzset.c (__tzset_parse_tz): Update default rules for
17617         daylight time changes in the Energy Policy Act of 2005.
17619 2012-05-09  Andreas Jaeger  <aj@suse.de>
17621         [BZ #13983]
17622         * elf/ldconfig.c (parse_conf): Change string to make clear that
17623         ldconfig only issued a warning if ld.so.conf does not exist.
17625 2012-05-08  David S. Miller  <davem@davemloft.net>
17627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17628         movxtod instead of popping the value on the stack.
17630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17632 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
17634         * config.h.in: Add HAVE_ARM_PCS_VFP.
17636 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
17638         [BZ #13979]
17639         * include/features.h: Warn if user requests __FORTIFY_SOURCE
17640         checking but the checks are disabled for any reason.
17642 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17644         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17645         and ELF64_R_TYPE with ELFW(R_TYPE).
17647 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
17649         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17650         (ulimit): Likewise.
17652         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17653         (settimeofday): Likewise.
17655 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
17657         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
17658         a struct th_u2 inside the union, and move tu_block/tu_code into
17659         a new th_u3 union of tu_block/tu_code inside of that.  Move
17660         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
17661         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
17662         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17663         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17664         (th_stuff): Change to th_u1.tu_stuff.
17665         (th_data): Define.
17666         (th_msg): Change to th_u1.th_u2.tu_data.
17668 2012-05-07  David S. Miller  <davem@davemloft.net>
17670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17672         [BZ #14074]
17673         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17674         (SETUP_PIC_REG): Use it.
17675         (SETUP_PIC_REG_LEAF): Use it.
17677 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
17679         [BZ #13885]
17680         [BZ #13923]
17681         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17682         USE_AS_EXPM1L.
17683         (EXPL_FINITE): Likewise.
17684         (FLDLOG): Likewise.
17685         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17686         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17687         e_expl.S.
17688         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17689         USE_AS_EXPM1L.
17690         (EXPL_FINITE): Likewise.
17691         (FLDLOG): Likewise.
17692         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17693         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17694         e_expl.S.
17695         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
17696         test of -max_value argument for long double.
17697         * sysdeps/i386/fpu/libm-test-ulps: Update.
17698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17700 2012-05-06  David S. Miller  <davem@davemloft.net>
17702         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17703         quad soft-float symbols whose references which are compiler
17704         generated.
17705         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17707 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
17709         [BZ #13884]
17710         [BZ #13914]
17711         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17712         USE_AS_EXP10L.
17713         (EXPL_FINITE): Likewise.
17714         (FLDLOG): Likewise.
17715         (c0): Likewise.
17716         (c1): Likewise.
17717         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
17718         Adjust comments for base varying.
17719         (__expl_finite): Change alias to EXPL_FINITE.
17720         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17721         e_expl.S.
17722         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17723         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17724         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17725         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17726         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17727         USE_AS_EXP10L.
17728         (EXPL_FINITE): Likewise.
17729         (FLDLOG): Likewise.
17730         (c0): Likewise.
17731         (c1): Likewise.
17732         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
17733         Adjust comments for base varying.
17734         (__expl_finite): Change alias to EXPL_FINITE.
17735         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
17736         tests for bugs.
17737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17739         [BZ #14064]
17740         * math/libm-test.inc (check_float_internal): Correct ulp
17741         calculation for subnormal expected results.
17743 2012-05-06  Andreas Jaeger  <aj@suse.de>
17745         * Makeconfig (+math-flags): New, set to -frounding-math.
17746         (+cflags): Add +math-flags so that all of glibc gets compiled with
17747         it.
17749         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17751 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
17753         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17754         Disable one test.
17756         [BZ #13787]
17757         [BZ #13922]
17758         [BZ #14036]
17759         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17760         (__ieee754_expl): Allow for and saturate large arguments.
17761         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17762         (u_threshold): Likewise.
17763         (__exp): Call __ieee754_exp before checking for overflow and
17764         underflow.
17765         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17766         (u_threshold): Likewise.
17767         (__expf): Call __ieee754_expf before checking for overflow and
17768         underflow.
17769         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17770         (u_threshold): Likewise.
17771         (__expl): Call __ieee754_expl before checking for overflow and
17772         underflow.
17773         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17774         (__ieee754_expl): Allow for and saturate large arguments.
17775         * math/libm-test.inc (exp_test): Add another test.  Do not allow
17776         missing overflow exception on overflow.
17777         (expm1_test): Do not allow missing overflow exception on overflow.
17779         * sysdeps/i386/fpu/e_expl.c: Move to ...
17780         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
17781         rather than using inline asm.
17782         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17783         * sysdeps/x86_64/fpu/e_expl.S: Copy from
17784         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17786         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17787         (nice): Likewise.
17788         (poll): Likewise.
17789         (signal): Likewise.
17790         (time): Likewise.
17791         (times): Likewise.
17793 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
17795         * sysdeps/unix/syscalls.list (adjtime): Add entry from
17796         sysdeps/unix/common/syscalls.list.
17797         (fchmod): Likewise.
17798         (fchown): Likewise.
17799         (ftruncate): Likewise.
17800         (getrusage): Likewise.
17801         (gettimeofday): Likewise.
17802         (setpgid): Likewise.
17803         (setregid): Likewise.
17804         (setreuid): Likewise.
17805         (sigaction): Likewise.
17806         (truncate): Likewise.
17807         (vhangup): Likewise.
17808         * sysdeps/unix/common/syscalls.list: Remove file.
17809         * sysdeps/unix/bsd/Implies: Don't include unix/common.
17810         * sysdeps/unix/sysv/linux/Implies: Likewise.
17812 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
17814         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17816         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17817         Moved to ...
17818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17819         Here.
17820         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17821         to ...
17822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17823         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17824         to ...
17825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17826         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17827         to ...
17828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17829         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17830         to ...
17831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17832         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17833         to ...
17834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17835         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17836         to ...
17837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17838         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17839         to ...
17840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17841         Here.
17842         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17843         to ...
17844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17845         Here.
17846         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17847         to ...
17848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17849         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17850         Moved to ...
17851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17852         Here.
17853         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17854         to ...
17855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17857 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
17859         * sysdeps/unix/common/bits/dirent.h: Remove file.
17860         * sysdeps/unix/common/bits/fcntl.h: Likewise.
17862         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17863         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17864         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17865         * sysdeps/unix/bsd/isatty.c: Likewise.
17866         * sysdeps/unix/bsd/tcdrain.c: Likewise.
17867         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17868         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17870 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17872         [BZ #13563]
17873         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17874         long double comparison inaccuracies.
17875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17878 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
17880         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17881         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17883 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
17885         [BZ #14049]
17886         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17887         nonzero digits before rounding a hex value.
17888         * stdlib/tst-strtod.c (tests): Add another test.
17890 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17892         * sysdeps/s390/fpu/libm-test-ulps: Update.
17894 2012-05-03  Andreas Jaeger  <aj@suse.de>
17896         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17897         does not get optimized out.
17898         (malloc_opt_barrier): New.
17900 2012-05-03  Andreas Jaeger  <aj@suse.de>
17901             Roland McGrath  <roland@hack.frob.com>
17903         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
17904         intermediate file deletion.
17905         (generated): Add .symlist files.
17907 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
17909         [BZ #13775]
17910         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17911         Redirect under this condition.
17912         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17913         [__USE_GNU] (__dprintf_chk): Not under this condition.
17914         [__USE_GNU] (__vdprintf_chk): Likewise.
17915         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17916         under this condition.
17917         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17918         [__USE_XOPEN2K8] (dprintf): Define under this condition.
17919         [__USE_XOPEN2K8] (vdprintf): Likewise.
17920         [__USE_GNU] (__dprintf_chk): Not under this condition.
17921         [__USE_GNU] (__vdprintf_chk): Likewise.
17922         [__USE_GNU] (dprintf): Likewise.
17923         [__USE_GNU] (vdprintf): Likewise.
17925 2012-05-03  Roland McGrath  <roland@hack.frob.com>
17927         * elf/Makefile (common-generated): Set this instead of generated for
17928         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
17929         $(all-built-dso)-derived lists.
17931 2012-05-03  Andreas Jaeger  <aj@suse.de>
17933         * sysdeps/i386/fpu/libm-test-ulps: Update.
17935         * FAQ: Removed.
17936         * FAQ.in: Likewise.
17937         * scripts/gen-FAQ.pl: Likewise.
17938         * manual/install.texi (Installation): Point to online location of
17939         FAQ.
17940         * Makefile (files-for-dist): Remove FAQ.
17941         (FAQ): Remove.
17943 2012-05-02  Allan McRae  <allan@archlinux.org>
17945         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17946         (LDFLAGS-reldepmod5.so): Likewise.
17947         (LDFLAGS-reldep6mod1.so): Likewise.
17948         (LDFLAGS-reldep6mod4.so): Likewise.
17949         (LDFLAGS-reldep8mod3.so): Likewise.
17950         (LDFLAGS-unload4mod1.so): Likewise.
17951         (LDFLAGS-unload4mod2.so): Likewise.
17952         (LDFLAGS-tst-initorder): Likewise.
17953         (LDFLAGS-tst-initordera2.so): Likewise.
17954         (LDFLAGS-tst-initordera3.so): Likewise.
17955         (LDFLAGS-tst-initordera4.so): Likewise.
17956         (LDFLAGS-tst-initorderb2.so): Likewise.
17957         (LDFLAGS-noload): Likewise.
17958         (LDFLAGS-next): Likewise.
17959         (LDFLAGS-order2mod1.so): Likewise.
17960         (LDFLAGS-order2mod2.so): Likewise.
17961         (LDFLAGS-tst-initorder2): Likewise.
17962         (LDFLAGS-tst-initorder2a.so): Likewise.
17963         (LDFLAGS-tst-initorder2b.so): Likewise.
17964         (LDFLAGS-tst-initorder2c.so): Likewise.
17965         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17967 2012-05-02  David S. Miller  <davem@davemloft.net>
17969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17971 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17973         [BZ #14055]
17974         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17976 2012-05-02  Andreas Jaeger  <aj@suse.de>
17978         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17979         since we manipulate rounding mode.
17980         (CPPFLAGS-test-idouble.c): Likewise.
17981         (CPPFLAGS-test-ifloat.c): Likewise.
17982         (CFLAGS-test-ldouble.c): Likewise.
17983         (CFLAGS-test-double.c): Likewise.
17984         (CFLAGS-test-float.c): Likewise.
17985         (CFLAGS-test-misc.c): Likewise.
17986         (CFLAGS-test-test-fenv.c): Likewise.
17988 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17990         [BZ #2550]
17991         [BZ #2570]
17992         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17993         comparisons to determine direction to adjust input.
17995 2012-05-01  Roland McGrath  <roland@hack.frob.com>
17997         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17998         output to the target.
18000         * scripts/localplt.awk: New file.
18001         * elf/Makefile ($(objpfx)check-localplt): Target removed.
18002         (check-localplt-CFLAGS): Variable removed.
18003         ($(all-built-dso:=.jmprel)): New static pattern rule.
18004         (generated): Add those targets.
18005         (localplt-built-dso): New variable.
18006         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18008         * elf/check-localplt.c: File removed.
18010         * scripts/check-execstack.awk: New file.
18011         * elf/Makefile ($(objpfx)check-execstack): Target removed.
18012         (check-execstack-CFLAGS): Variable removed.
18013         ($(objpfx)check-execstack.h): Target removed.
18014         ($(objpfx)execstack-default): New target.
18015         (generated): Add that instead of check-execstack.h.
18016         ($(all-built-dso:=.phdr)): New static pattern rule.
18017         (generated): Add those targets.
18018         * elf/check-execstack.c: File removed.
18020         * scripts/check-textrel.awk: New file.
18021         * elf/Makefile ($(objpfx)check-textrel): Target removed.
18022         (check-textrel-CFLAGS): Variable removed.
18023         (all-built-dso): Use := to define.o
18024         ($(all-built-dso:=.dyn)): New static pattern rule.
18025         (generated): Add those targets.
18026         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18027         * config.make.in (READELF): New substituted variable.
18028         * elf/check-textrel.c: File removed.
18030 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18032         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18033         allow.
18034         * conform/data/ctype.h-data [C99-based standards] (isblank):
18035         Expect function.
18036         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18037         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18038         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18039         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18040         Specify type.  Require positive value.
18041         (EILSEQ): Likewise.
18042         (ERANGE): Likewise.
18043         [ISO || POSIX] (EILSEQ): Do not expect.
18044         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18045         Specify type.  Require positive value.
18046         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18047         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18048         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18049         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18050         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18051         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18052         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18053         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18054         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18055         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18056         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18057         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18058         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18059         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18060         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18061         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18062         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18063         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18064         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18065         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18066         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18067         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18068         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18069         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18070         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18071         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18072         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18073         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18074         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18075         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18076         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18077         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18078         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18079         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18080         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18081         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18082         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18083         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18084         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18085         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18086         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18087         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18088         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18089         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18090         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18091         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18092         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18093         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18094         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18095         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18096         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18097         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18098         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18099         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18100         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18101         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18102         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18103         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18104         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18105         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18106         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18107         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18108         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18109         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18110         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18111         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18112         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18113         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18114         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18115         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18116         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18117         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18118         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18119         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18120         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18121         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18122         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18123         Require >= 2.
18124         (FLT_ROUNDS): Expect as macro, not constant.
18125         (FLT_MANT_DIG): Use macro-int-constant.
18126         (DBL_MANT_DIG): Likewise.
18127         (LDBL_MANT_DIG): Likewise.
18128         (FLT_DIG): Likewise.
18129         (DBL_DIG): Likewise.
18130         (LDBL_DIG): Likewise.
18131         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
18132         (DBL_MIN_EXP): Likewise.
18133         (LDBL_MIN_EXP): Likewise.
18134         (FLT_MAX_EXP): Use macro-int-constant.
18135         (DBL_MAX_EXP): Likewise.
18136         (LDBL_MAX_EXP): Likewise.
18137         (FLT_MAX_10_EXP): Likewise.
18138         (DBL_MAX_10_EXP): Likewise.
18139         (LDBL_MAX_10_EXP): Likewise.
18140         (FLT_MAX): Use macro-constant.
18141         (DBL_MAX): Likewise.
18142         (LDBL_MAX): Likewise.
18143         (FLT_EPSILON): Use macro-constant.  Give upper bound.
18144         (DBL_EPSILON): Likewise.
18145         (LDBL_EPSILON): Likewise.
18146         (FLT_MIN): Likewise.
18147         (DBL_MIN): Likewise.
18148         (LDBL_MIN): Likewise.
18149         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18150         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18151         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18152         [ISO11] (FLT_HAS_SUBNORM): Likewise.
18153         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18154         [ISO11] (DBL_DECIMAL_DIG): Likewise.
18155         [ISO11] (FLT_DECIMAL_DIG): Likewise.
18156         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18157         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18158         [ISO11] (FLT_TRUE_MIN): Likewise.
18159         [ISO11] (LDBL_TRUE_MIN): Likewise.
18160         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18161         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18162         (SCHAR_MIN): Use macro-int-constant.  Specify type.
18163         (SCHAR_MAX): Likewise.
18164         (UCHAR_MAX): Likewise.
18165         (CHAR_MIN): Likewise.
18166         (CHAR_MAX): Likewise.
18167         (MB_LEN_MAX): Use macro-int-constant.
18168         (SHRT_MIN): Use macro-int-constant.  Specify type.
18169         (SHRT_MAX): Likewise.
18170         (USHRT_MAX): Likewise.
18171         (INT_MAX): Likewise.
18172         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
18173         bound negative.
18174         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18175         bound with "U".
18176         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18177         bound with "L".
18178         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
18179         bound negative.  Suffix upper bound with "L".
18180         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18181         bound with "UL".
18182         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18183         Specify type.
18184         [C99-based standards] (LLONG_MAX): Likewise.
18185         [C99-based standards] (ULLONG_MAX): Likewise.
18186         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
18187         == 0.
18188         [ISO11] (max_align_t): Require type.
18189         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18191         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18192         from $CFLAGS, without defining away __attribute__ calls.
18193         (checknamespace): Use $CFLAGS_namespace.
18195         * conform/conformtest.pl (@keywords): Only include C99 keywords
18196         for standards based on C99 or C11.
18198         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18199         Disable tests.
18200         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18201         UNIX98]: Likewise.
18203         * conform/conformtest.pl: Handle "macro-int-constant" and test for
18204         usability of symbols in #if.
18206         * conform/conformtest.pl: If macro or constant types start
18207         "promoted:", expect the symbol to be of the following type
18208         promoted by the integer promotions.
18210         * conform/conformtest.pl: Parse all "constant" and "macro" lines
18211         in one place.  Also handle "macro-constant".
18213         * conform/conformtest.pl: Only accept expected macro values with
18214         "==".  Parse all "macro" lines in one place.
18215         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18217         * conform/conformtest.pl: Handle braced types on "constant" lines
18218         instead of handling "typed-constant".
18219         * conform/data/signal.h-data: Use "constant" instead of
18220         "typed-constant".
18222         * conform/conformtest.pl: Handle "optional-" at start of lines in
18223         one place rather than duplicating several cases.  Handle each
18224         format of "macro" line with initial "optional-".
18226         * conform/conformtest.pl: Only accept expected constant or
18227         optional-constant values with "==".  Parse all "constant" lines in
18228         one place.  Parse all "optional-constant" lines in one place.
18229         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18230         * conform/data/fmtmsg.h-data: Likewise.
18231         * conform/data/netinet/in.h-data: Likewise.
18232         * conform/data/tar.h-data: Likewise.
18233         * conform/data/limits.h-data: Use "==" form on "constant" and
18234         "optional-constant" lines.
18236         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18237         Use -std=c99 for XOPEN2K.
18238         (@knownproblems): Remove.
18239         (newtoken): Don't check %isknown.
18241         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18242         Do not expect macro.
18243         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18244         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18245         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18246         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18247         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18248         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18249         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18250         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18251         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18252         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18253         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18254         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18255         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18256         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18257         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18258         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18259         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18260         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18261         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18262         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18263         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18264         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18265         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18266         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18267         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18268         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18269         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18270         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18271         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18272         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18273         [XPG3] (acosh): Likewise.
18274         [XPG3] (asinh): Likewise.
18275         [XPG3] (atanh): Likewise.
18276         [XPG3] (cbrt): Likewise.
18277         [XPG3] (expm1): Likewise.
18278         [XPG3] (ilogb): Likewise.
18279         [XPG3] (log1p): Likewise.
18280         [XPG3] (logb): Likewise.
18281         [XPG3] (nextafter): Likewise.
18282         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18283         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18284         [XPG3] (remainder): Likewise.
18285         [XPG3] (rint): Likewise.
18286         [XPG3 || XPG4 || UNIX98] (round): Likewise.
18287         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18288         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18289         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18290         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18291         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18292         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18293         [UNIX98 || XOPEN2K] (scalb): Expect.
18294         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18295         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18296         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18297         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18298         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18299         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18300         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18301         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18302         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18303         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18304         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18305         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18306         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18307         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18308         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18309         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18310         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18311         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18312         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18313         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18314         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18315         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18316         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18317         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18318         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18319         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18320         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18321         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18322         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18323         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18324         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18325         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18326         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18327         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18328         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18329         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18330         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18331         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18332         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18333         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18334         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18335         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18336         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18337         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18338         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18339         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18340         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18341         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18342         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18343         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18344         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18345         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18346         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18347         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18348         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18349         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18350         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18351         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18352         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18353         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18354         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18355         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18356         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18357         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18358         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18359         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18360         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18361         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18362         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18363         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18364         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18365         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18366         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18367         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18368         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18369         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18370         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18371         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18372         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18373         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18374         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18375         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18376         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18377         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18378         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18379         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18380         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18381         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18382         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18383         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18384         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18385         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18386         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18387         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18388         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18389         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18390         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18391         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18392         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18393         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18394         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18395         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18396         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18397         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18398         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18399         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18400         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18401         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18402         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18403         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18404         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18405         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18406         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18407         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18408         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18409         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18410         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18411         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18412         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18413         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18414         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18415         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18416         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18417         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18418         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18419         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18420         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18421         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18422         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18423         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18424         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18425         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18426         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18427         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18428         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18429         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18430         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18432         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18433         _XOPEN_SOURCE_EXTENDED for XPG4.
18435         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18437         * Makeconfig (localtime): Remove variable.
18438         (inst_localtime-file): Likewise.
18440 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18443         Update.
18444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18445         Update.
18446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18447         Update.
18448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18449         Update.
18450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18451         Update.
18452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18453         Update.
18454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18455         Update.
18456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18457         Update.
18458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18459         Update.
18461 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18463         [BZ #2550]
18464         [BZ #2570]
18465         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18466         comparisons to determine direction to adjust input.
18467         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18468         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18469         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18470         Likewise.
18471         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18472         Likewise.
18473         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18474         Likewise.
18475         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18476         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18477         Likewise.
18478         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18479         Likewise.
18480         * math/libm-test.inc (nexttoward_test): Add more tests.
18482 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18484         [BZ #14040]
18485         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18486         in version GLIBC_2.1, not GLIBC_2.0.
18487         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18488         Likewise.
18490 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
18492         [BZ #13942]
18493         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18494         (1 - x) * (1 + x).
18495         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18496         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18497         * math/libm-test.inc (acos_test): Add more tests.
18498         (asin_test): Likewise.
18499         * sysdeps/i386/fpu/libm-test-ulps: Update.
18500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18502         [BZ #14034]
18503         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18504         of square root.
18505         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18506         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18507         * math/libm-test.inc (acos_test_tonearest): New function.
18508         (acos_test_towardzero): Likewise.
18509         (acos_test_downward): Likewise.
18510         (acos_test_upward): Likewise.
18511         (asin_test_tonearest): Likewise.
18512         (asin_test_towardzero): Likewise.
18513         (asin_test_downward): Likewise.
18514         (asin_test_upward): Likewise.
18515         (main): Call the new functions.
18516         * sysdeps/i386/fpu/libm-test-ulps: Update.
18517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18519         [BZ #13884]
18520         [BZ #13924]
18521         * math/e_exp10.c: Include <float.h>.
18522         (__ieee754_exp10): Handle underflow here rather than multiplying
18523         large negative argument by M_LN10.
18524         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18525         of __ieee754_expf.
18526         * math/e_exp10l.c: Include <float.h>.
18527         (__ieee754_exp10l): Handle underflow here rather than multiplying
18528         large negative argument by M_LN10l.
18529         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
18530         spurious overflow exception on underflow.
18532 2012-04-29  Marek Polacek  <polacek@redhat.com>
18534         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18535         (__fortify_function): New macro.
18536         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18537         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18538         __extern_always_inline.
18539         * libio/bits/stdio2.h: Likewise.
18540         * libio/bits/stdio.h: Likewise.
18541         * string/string.h: Likewise.
18542         * string/bits/string3.h: Likewise.
18543         * include/stdio.h: Likewise.
18544         * stdlib/bits/stdlib.h: Likewise.
18545         * stdlib/stdlib.h: Likewise.
18546         * rt/bits/mqueue2.h: Likewise.
18547         * rt/mqueue.h: Likewise.
18548         * posix/bits/unistd.h: Likewise.
18549         * posix/unistd.h: Likewise.
18550         * io/bits/poll2.h: Likewise.
18551         * io/bits/fcntl2.h: Likewise.
18552         * io/fcntl.h: Likewise.
18553         * io/sys/poll.h: Likewise.
18554         * misc/bits/syslog.h: Likewise.
18555         * misc/bits/syslog-ldbl.h: Likewise.
18556         * misc/sys/syslog.h: Likewise.
18557         * socket/bits/socket2.h: Likewise.
18558         * socket/sys/socket.h: Likewise.
18559         * debug/tst-chk1.c: Likewise.
18560         * wcsmbs/bits/wchar2.h: Likewise.
18561         * wcsmbs/bits/wchar-ldbl.h: Likewise.
18562         * wcsmbs/wchar.h: Likewise.
18564 2012-04-29  Andreas Jaeger  <aj@suse.de>
18566         * Makerules (tests): Remove enable-check-abi protection.
18567         (check-abi-warn): Remove.
18568         (check-abi-%): Remove check-abi-warn usage.
18570         * configure.in: Remove check-abi configure option.
18571         * configure: Regenerated.
18572         * config.make.in (enable-check-abi): Remove.
18574 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
18576         [BZ #14033]
18577         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18578         double functions to double *_finite functions.
18580         [BZ #13941]
18581         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18582         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18583         LDBL_MIN_EXP.
18584         * stdio-common/Makefile (tests): Add tst-sprintf3.
18585         * stdio-common/tst-sprintf3.c: New file.
18587         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18588         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18590 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
18592         * conform/conformtest.pl: Remove duplicate typed-constant
18593         handling.
18595 2012-04-28  David S. Miller  <davem@davemloft.net>
18597         * Makerules (%.abilist): Add vpath on sysdep_dirs.
18598         (check-abi-%): Remove AWK script prerequisite and explicit
18599         abilist directory.
18600         (check-abi): Rewrite to just diff the symlist with the abilist.
18601         (config-tls, config-abi-config): Delete, no longer used.
18602         (update-abi-%): Remove AWK script and explicit abilist directory.
18603         (update-abi): Rewrite to simply compare and conditionally copy the
18604         symlist and the sysdep abilist file.  Remove update-abi-config
18605         checks.
18606         * abilist/ld.abilist: Remove.
18607         * abilist/libBrokenLocale.abilist: Remove.
18608         * abilist/libanl.abilist: Remove.
18609         * abilist/libcrypt.abilist: Remove.
18610         * abilist/libdl.abilist: Remove.
18611         * abilist/librt.abilist: Remove.
18612         * abilist/libthread_db.abilist: Remove.
18613         * abilist/libutil.abilist: Remove.
18614         * scripts/extract-abilist.awk: Remove.
18615         * scripts/merge-abilist.awk: Remove.
18616         * sysdeps/generic/libcidn.abilist: New file.
18617         * sysdeps/generic/libnss_compat.abilist: New file.
18618         * sysdeps/generic/libnss_db.abilist: New file.
18619         * sysdeps/generic/libnss_dns.abilist: New file.
18620         * sysdeps/generic/libnss_files.abilist: New file.
18621         * sysdeps/generic/libnss_hesiod.abilist: New file.
18622         * sysdeps/generic/libnss_nis.abilist: New file.
18623         * sysdeps/generic/libnss_nisplus.abilist: New file.
18624         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18625         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18626         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18627         file.
18628         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18629         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18630         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18631         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18632         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18633         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18634         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18635         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18636         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18637         file.
18638         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18639         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18640         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18641         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18642         file.
18643         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18644         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18645         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18646         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18647         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18648         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18649         file.
18650         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18651         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18652         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18653         file.
18654         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18655         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18656         New file.
18657         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18658         New file.
18659         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18660         New file.
18661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18662         New file.
18663         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18664         New file.
18665         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18666         New file.
18667         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18668         New file.
18669         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18670         New file.
18671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18672         New file.
18673         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18674         New file.
18675         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18676         New file.
18677         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18678         New file.
18679         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18680         New file.
18681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18682         file.
18683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18684         New file.
18685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18686         New file.
18687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18688         file.
18689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18690         New file.
18691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18692         New file.
18693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18694         file.
18695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18696         New file.
18697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18698         New file.
18699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18700         New file.
18701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18702         New file.
18703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18704         New file.
18705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18706         New file.
18707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18709         file.
18710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18711         New file.
18712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18713         file.
18714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18715         file.
18716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18717         file.
18718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18719         file.
18720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18721         file.
18722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18723         New file.
18724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18725         file.
18726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18727         file.
18728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18729         New file.
18730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18731         file.
18732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18734         file.
18735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18736         New file.
18737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18738         file.
18739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18740         file.
18741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18742         file.
18743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18744         file.
18745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18746         file.
18747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18748         New file.
18749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18750         file.
18751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18752         file.
18753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18754         New file.
18755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18756         file.
18757         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18758         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18759         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18760         file.
18761         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18762         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18763         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18764         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18765         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18766         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18767         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18768         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18769         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18770         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18773         file.
18774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18775         New file.
18776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18777         file.
18778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18779         file.
18780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18781         file.
18782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18783         file.
18784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18785         file.
18786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18787         New file.
18788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18789         New file.
18790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18791         file.
18792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18793         New file.
18794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18795         file.
18796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18798         file.
18799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18800         New file.
18801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18802         file.
18803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18804         file.
18805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18806         file.
18807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18808         file.
18809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18810         file.
18811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18812         New file.
18813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18814         New file.
18815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18816         file.
18817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18818         New file.
18819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18820         file.
18822 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
18824         * conform/conformtest.pl: Fix typo in handling typed-constant from
18825         allow-header.
18827 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
18829         * README: Cut down references to pre-2.6 Linux kernels and
18830         Linuxthreads.  Update lists of configurations in libc and ports
18831         and sort alphabetically.  Say "or newer" with Linux kernel version
18832         requirements.
18834         * config.h.in [IS_IN_build]: Allow compiling without optimization.
18836 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18838         [BZ #887]
18839         * math/libm-test.inc (logb_test_downward): New test to expose
18840         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18841         rounding mode.
18843 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
18845         [BZ #14027]
18846         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18847         to be done.
18848         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18849         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18851 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
18853         * sysdeps/unix/i386/brk.S: Remove file.
18854         * sysdeps/unix/i386/dl-brk.S: Likewise.
18855         * sysdeps/unix/i386/pipe.S: Likewise.
18856         * sysdeps/unix/i386/sigreturn.S: Likewise.
18857         * sysdeps/unix/i386/syscall.S: Likewise.
18858         * sysdeps/unix/i386/vfork.S: Likewise.
18859         * sysdeps/unix/i386/wait.S: Likewise.
18861         * sysdeps/unix/common/tcsendbrk.c: Move to ...
18862         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18864         * configure.in (arm*-none*): Do not allow without
18865         --enable-hacker-mode.
18866         (netbsd*): Remove case setting base_os.
18867         (386bsd*): Likewise.
18868         (freebsd*): Likewise.
18869         (bsdi*): Likewise.
18870         (osf*): Likewise.
18871         (sunos*): Likewise.
18872         (ultrix*): Likewise.
18873         (newsos*): Likewise.
18874         (dynix*): Likewise.
18875         (*bsd*): Likewise.
18876         (sysv*): Likewise.
18877         (isc*): Likewise.
18878         (esix*): Likewise.
18879         (sco*): Likewise.
18880         (minix*): Likewise.
18881         (irix4*): Likewise.
18882         (irix6*): Likewise.
18883         (solaris[2-9]*): Likewise.
18884         (none): Likewise.
18885         * configure: Regenerated.
18887 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18889         [BZ #11521]
18890         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18891         overflow or cancellation in calculating denominator.
18892         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18893         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18894         down expression to avoid unexpected rounding in newer GCCs.
18895         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18897 2012-04-26  David S. Miller  <davem@davemloft.net>
18899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18900         long-double compat symbols.
18901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18915 2012-04-25  David S. Miller  <davem@davemloft.net>
18917         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18918         HWCAP_* values only after the memory barriers have been defined.
18919         (atomic_full_barrier): Define.
18920         (atomic_read_barrier): Define.
18921         (atomic_write_barrier): Define.
18923 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18925         * shlib-versions: Add libgcc_s version information.
18926         * sysdeps/generic/libgcc_s.h: Remove.
18927         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18928         libgcc_s.h.
18929         * sysdeps/gnu/unwind-resume.c: Likewise.
18930         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18932 2012-04-25  David S. Miller  <davem@davemloft.net>
18934         * sysdeps/unix/sparc/brk.S: Delete.
18935         * sysdeps/unix/sparc/dl-brk.S: Delete.
18936         * sysdeps/unix/sparc/pipe.S: Delete.
18937         * sysdeps/unix/sparc/sysdep.S: Delete.
18938         * sysdeps/unix/sparc/sysdep.h: Delete.
18939         * sysdeps/unix/sparc/vfork.S: Delete.
18940         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18941         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18942         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18943         ret_ERRVAL, r0, r1, MOVE): Define.
18944         (JUMPTARGET): Remove.
18945         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18946         sysdeps/unix/sparc/sysdep.h
18947         (ENTRY, END): Remove.
18948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18950 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
18952         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18953         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18954         -DIS_IN_build.
18956         * timezone/README: Update upstream location and email address for
18957         tzcode and tzdata.
18958         * timezone/zdump.c: Update from tzcode 2012b.
18959         * timezone/zic.c: Likewise.
18961         * configure.in (libc_cv_as_needed): Remove test.
18962         * configure: Regenerated.
18963         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18964         conditional definition.
18965         [$(have-as-needed) != yes] (no-as-needed): Likewise.
18966         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18967         * config.make.in (have-as-needed): Remove variable.
18969 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18970             Paul Pluzhnikov  <ppluzhnikov@google.com>
18972         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18973         strings correctly.
18975 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18977         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18978         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18979         * sysdeps/sh/strlen.S: Likewise.
18981 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
18983         * sysdeps/unix/fork.S: Remove file.
18984         * sysdeps/unix/i386/fork.S: Likewise.
18985         * sysdeps/unix/sparc/fork.S: Likewise.
18987         * sysdeps/unix/system.c: Remove file.
18988         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18990         * sysdeps/unix/getegid.S: Remove file.
18991         * sysdeps/unix/geteuid.S: Likewise.
18993 2012-04-24  Roland McGrath  <roland@hack.frob.com>
18995         * scripts/check-localplt.awk: New file.
18996         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18997         of diff.
18998         * scripts/data/localplt-generic.data: Add a comment.
19000         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19001         NODE when __dir_mkfile failed.
19002         * sysdeps/mach/hurd/symlinkat.c: Likewise.
19003         Reported by Ludovic Courtès <ludo@gnu.org>.
19005 2012-04-24  Andreas Jaeger  <aj@suse.de>
19007         * Makerules (common-clean): Also remove gen-as-const-headers
19008         files.
19010 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19012         * Makerules (native-compile): Do not change working directory for
19013         build.  Use $(OUTPUT_OPTION) in command.
19014         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19016 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19018         [BZ #13886]
19019         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19020         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19021         * math/libm-test.inc (floor_test): Add more tests.
19022         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19024 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19026         * sysdeps/unix/getdents.c: Remove file.
19027         * sysdeps/unix/sysv/getdents.c: Likewise.
19028         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19030         * sysdeps/unix/syscalls.list (madvise): Add syscall from
19031         sysdeps/unix/mman/syscalls.list.
19032         (mmap): Likewise.
19033         (mprotect): Likewise.
19034         (msync): Likewise.
19035         (munmap): Likewise.
19036         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19037         * sysdeps/unix/mman/syscalls.list: Remove.
19038         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19040         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19041         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19042         * configure: Regenerated.
19043         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19044         $(libgcc_s_suffix).
19045         * config.make.in (libgcc_s_suffix): Remove variable.
19047 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
19049         * sysdeps/unix/sysv/gethostname.c: Move to ...
19050         * sysdeps/posix/gethostname.c: ... here.
19052         * sysdeps/unix/execve.S: Remove file.
19054         * sysdeps/unix/_exit.S: Remove file.
19056 2012-04-23  Andreas Jaeger  <aj@suse.de>
19058         [BZ #13739]
19059         * manual/Makefile: Remove make dist support, there's no
19060         need for a stand-alone documentation tar ball.
19061         (TEXI2DVI): Define always, it's not in Makeconfig.
19062         (dist): Removed.
19063         (tar-it): Removed.
19064         (edition): Removed.
19065         (glibc-doc-$(edition).tar): Removed
19066         (%.Z): Removed.
19067         (%.gz): Removed.
19068         (%.uu): Removed.
19069         (ETAGS): Remove, it's in Makeconfig.
19070         (move-if-change): Remove, it's in Makeconfig.
19072 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
19074         [BZ #13970]
19075         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19076         (strtod, strtof, strtold, strtol, strtoul, strtoq)
19077         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19078         (strtod_l, strtof_l, strtold_l): Remove __wur.
19079         It is not necessarily an error to ignore strtol's return value.
19080         One can reliably look at the stored endptr to decide whether
19081         the number had valid syntax.
19083 2012-04-21  Andreas Jaeger  <aj@suse.de>
19085         [BZ #13739]
19086         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19088 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
19090         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19091         * sysdeps/unix/sysv/Versions: Remove file.
19093 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
19095         [BZ #13927]
19096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19098 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
19100         [BZ #7064]
19101         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19102         version from __vm86.
19104 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
19106         * sysdeps/unix/common/lxstat.c: Remove file.
19107         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19109         * sysdeps/unix/sysv/Makefile: Remove file.
19111         * sysdeps/unix/sysv/direct.h: Remove file.
19113         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19114         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19115         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19116         * sysdeps/unix/sysv/bits/signum.h: Likewise.
19117         * sysdeps/unix/sysv/bits/stat.h: Likewise.
19118         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19119         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19121         * sysdeps/unix/sysv/setrlimit.c: Remove file.
19123         * sysdeps/unix/xmknod.c: Remove file.
19124         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19126         * sysdeps/unix/sysv/settimeofday.c: Remove file.
19128         * sysdeps/unix/sysv/i386/time.S: Remove file.
19130         * sysdeps/unix/fxstat.c: Remove file.
19131         * sysdeps/unix/xstat.c: Likewise.
19132         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19134         * sysdeps/unix/sysv/sigaction.c: Remove file.
19136         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19137         (sysdep_headers): Remove variable.
19138         [termio.h not in sysdep_headers] (generated): Likewise.
19139         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19140         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19141         * sysdeps/unix/sysv/tcdrain.c: Likewise.
19142         * sysdeps/unix/sysv/tcflow.c: Likewise.
19143         * sysdeps/unix/sysv/tcflush.c: Likewise.
19144         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19145         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19146         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19147         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19148         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19150         * sysdeps/unix/siglist.c: Remove file.
19152         * sysdeps/unix/getppid.S: Remove file.
19154         * sysdeps/unix/mkdir.c: Remove file.
19155         * sysdeps/unix/rmdir.c: Likewise.
19157 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
19159         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19160         ERR_MAX value.
19161         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19162         errlist-compat value.
19164 2012-04-18  David S. Miller  <davem@davemloft.net>
19166         * sysdeps/generic/memcopy.h (reg_char): Delete.
19167         * debug/strcat_chk.c: Use char, not reg_char.
19168         * debug/strcpy_chk.c: Likewise.
19169         * debug/strncat_chk.c: Likewise.
19170         * debug/strncpy_chk.c: Likewise.
19171         * string/memchr.c: Likewise.
19172         * string/memrchr.c: Likewise.
19173         * string/rawmemchr.c: Likewise.
19174         * string/strcat.c: Likewise.
19175         * string/strchr.c: Likewise.
19176         * string/strchrnul.c: Likewise.
19177         * string/strcmp.c: Likewise.
19178         * string/strcpy.c: Likewise.
19179         * string/strncat.c: Likewise.
19180         * string/strncmp.c: Likewise.
19181         * string/strncpy.c: Likewise.
19183 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19185         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19186         __builtin_memcopy is called when src and dest ranges are known to not
19187         overlap.
19189 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19191         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19192         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19193         fwd_align_merge macro call.
19194         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19195         bwd_align_merge macro call.
19196         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19198 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19200         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19201         bwd_align_merge macros.
19202         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19203         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19204         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19206 2012-04-18  David S. Miller  <davem@davemloft.net>
19208         * sysdeps/sparc/sparc64/memcopy.h: Delete.
19210 2012-04-18  Andreas Jaeger  <aj@suse.de>
19212         [BZ# 6794]
19213         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19214         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19215         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19217         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19218         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19219         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19221         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19222         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19223         Adjust for changed ldbl-128 files.
19225         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19226         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19227         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19229 2012-04-17  David S. Miller  <davem@davemloft.net>
19231         * sysdeps/sparc/sparc32/memcopy.h: Delete.
19233 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
19235         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19236         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19237         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19238         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19239         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19240         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19242 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19244         [BZ #6794]
19245         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19246         * math/libm-test.inc: Add ilogb errno and exception tests.
19247         * math/w_ilogb.c: New file: ilogb wrapper.
19248         * math/w_ilogbf.c: New file: ilogbf wrapper.
19249         * math/w_ilogbl.c: New file: ilogbl wrapper.
19250         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19251         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19252         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19253         exception being thrown with 0.0 as argument.
19254         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19255         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19256         exception being thrown with 0.0 as argument.
19257         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19258         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19259         exception being thrown with 0.0 as argument.
19260         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19261         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19262         exception being thrown with 0.0 as argument.
19263         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19264         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19265         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19266         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19267         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19268         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19269         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19270         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19271         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19273 2012-04-17  Petr Baudis  <pasky@ucw.cz>
19275         * include/sys/uio.h: Change __vector to __iovec to avoid clash
19276         with altivec.
19278 2012-04-16  Marek Polacek  <polacek@redhat.com>
19280         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19282 2012-04-16  Marek Polacek  <polacek@redhat.com>
19284         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19285         operands of fdivp instruction.
19287 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19289         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19290         * elf/tst-auditmod3b.c: Likewise.
19291         * elf/tst-auditmod4b.c: Likewise.
19292         * elf/tst-auditmod5b.c: Likewise.
19293         * elf/tst-auditmod6b.c: Likewise.
19294         * elf/tst-auditmod6c.c: Likewise.
19295         * elf/tst-auditmod7b.c: Likewise.
19296         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19297         * sysdeps/x86_64/preconfigure.in: Likewise.
19298         * sysdeps/x86_64/preconfigure: Regenerated.
19300 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19302         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19303         __ILP32__.
19305 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
19307         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19308         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19310 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
19312         [BZ #13973]
19313         * locale/iso-639.def: Fix gl language name. Spotted by
19314         Yaron Shahrabani.
19316 2012-04-12  Roland McGrath  <roland@hack.frob.com>
19318         [BZ #2074]
19319         * libio/libio.h (__io_write_fn): Update comment.
19321 2012-04-12  Petr Baudis  <pasky@ucw.cz>
19323         [BZ #2074]
19324         * stdio.texi (Hook Functions): The user provided writer function
19325         is not allowed to return -1.
19327 2012-04-11  David S. Miller  <davem@davemloft.net>
19329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19331 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
19333         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19334         Add a leading slash to rtkaio.
19336 2012-04-11  Jim Meyering  <meyering@redhat.com>
19338         [BZ #11959]
19339         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19340         It is not necessarily an error to ignore fwrite's return
19341         value.  One can reliably use ferror to test for errors after
19342         the fact.
19344 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
19346         * bits/types.h (__snseconds_t): New type.
19347         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19349         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19350         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19351         (__SNSECONDS_T_TYPE): Likewise.
19352         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19353         (__SNSECONDS_T_TYPE): Likewise.
19354         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19355         (__SNSECONDS_T_TYPE): Likewise.
19357 2012-04-10  Andreas Jaeger  <aj@suse.de>
19359         [BZ #2636]
19360         * manual/time.texi (Processor Time): Return type of times is
19361         elapsed real time since an arbitrary point in the past.
19362         (CPU Time): Move CLK_TCK from here...
19363         (Processor Time): ...to here.  Correct description.
19364         * manual/conf.texi (Constants for Sysconf): Correct description of
19365         _SC_CLK_TCK.
19367 2012-04-10  David S. Miller  <davem@davemloft.net>
19369         [BZ #13967]
19370         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19371         where the is a gap between DT_REL(A) and DT_JMPREL.
19373 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
19375         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19376         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19377         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19379 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19381         * elf/dl-support.c (_dl_inhibit_cache): New variable.
19382         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19383         (dl_main): Handle --inhibit-cache.
19384         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19385         _dl_inhibit_cache.
19386         * elf/dl-load.c (_dl_map_object): Use it.
19387         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19389 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
19391         [BZ #13872]
19392         * sysdeps/i386/fpu/e_powl.S (p78): New object.
19393         (__ieee754_powl): Saturate large exponents rather than testing for
19394         overflow of y*log2(x).
19395         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19396         * math/libm-test.inc (pow_test): Do not permit spurious overflow
19397         exceptions.
19399         [BZ #11521]
19400         * math/s_ctan.c: Include <float.h>.
19401         (__ctan): Avoid internal overflow or cancellation in calculating
19402         denominator.
19403         * math/s_ctanf.c: Likewise.
19404         * math/s_ctanl.c: Likewise.
19405         * math/s_ctanh.c: Likewise.
19406         * math/s_ctanhf.c: Likewise.
19407         * math/s_ctanhl.c: Likewise.
19408         * math/libm-test.inc (ctan_test): Add more tests.
19409         (ctanh_test): Likewise.
19410         * sysdeps/i386/fpu/libm-test-ulps: Update.
19411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19413 2012-04-09  Andreas Jaeger  <aj@suse.de>
19415         [BZ #6894]
19416         * manual/filesys.texi (Directory Entries): Mention that d_namlen
19417         is an optional BSD extension.
19419         [BZ #10254]
19420         * manual/stdio.texi (Opening Streams): Document additional fopen
19421         parameters.
19423 2012-04-09  Roland McGrath  <roland@hack.frob.com>
19425         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19426         %eax without telling the compiler.
19428 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
19430         [BZ # 13963]
19431         * manual/install.texi: Use sourceware.org.
19433 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
19435         [BZ #13873]
19436         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19437         (__ieee754_pow): Generate overflow and underflow using huge*huge
19438         and tiny*tiny rather than just returning constant infinity or zero
19439         for large exponents.
19440         * math/libm-test.inc (pow_test): Require overflow exceptions for
19441         applicable cases of large exponents.
19443         [BZ #706]
19444         * sysdeps/i386/fpu/e_pow.S (p10): New object.
19445         (__ieee754_pow): Use iterative multiplication algorithm only for
19446         integer exponents with absolute value below 1024.  Check for odd
19447         integer exponents when using algorithm for real exponents.
19448         * math/libm-test.inc (pow_test): Add more tests.
19449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19451 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
19453         [BZ #13705]
19454         * math/libm-test.inc (exp_test): Do not allow overflow exception
19455         on underflow test.
19457 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
19459         [BZ #13705]
19460         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19461         instead of __kernel_standard_f.
19463 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
19465         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19466         * sysdeps/x86_64/memset_chk.S: Likewise.
19468 2012-04-08  Andreas Jaeger  <aj@suse.de>
19470         [BZ #10153]
19471         * manual/startup.texi (Environment Access): Describe return value
19472         for putenv and setenv.
19474         [BZ #6895]
19475         * manual/filesys.texi (Directory Entries): Add description for
19476         DT_LNK.
19478         [BZ #6890]
19479         * manual/filesys.texi (Directory Entries): Clarify that it's file
19480         system not operating system in the description of DT_UNKNOWN.
19482         [BZ #6578]
19483         * manual/syslog.texi (closelog): Fix reference, it's openlog.
19485 2012-04-08  Stephen Compall  <s11@member.fsf.org>
19487         [BZ #6649]
19488         * manual/llio.texi (Opening and Closing Files): Add cross
19489         reference to explain mode argument.
19491 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
19493         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19494         * sysdeps/x86_64/memset_chk.S: Likewise.
19496 2012-04-07  David S. Miller  <davem@davemloft.net>
19498         * elf/elf.h (R_SPARC_WDISP10): Define.
19499         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19500         R_SPARC_SIZE32.
19501         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19502         R_SPARC_SIZE64 and R_SPARC_H34.
19504 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
19506         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19507         conditions and remove no longer applicable assertion.
19509 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
19511         * bits/byteswap.h: Include <features.h>.
19512         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19513         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19515 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
19517         * bits/byteswap.h (__bswap_16): Removed.
19518         Include <bits/byteswap-16.h> to get __bswap_16.
19519         * sysdeps/i386/bits/byteswap.h: Likewise.
19520         * sysdeps/s390/bits/byteswap.h: Likewise.
19521         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19522         * bits/byteswap-16.h: New file.
19523         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19524         * sysdeps/s390/bits/byteswap-16.h: Likewise.
19525         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19526         * string/Makefile (headers): Add bits/byteswap-16.h.
19528 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19530         [BZ #13895]
19531         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19532         extra indirection.
19533         * nss/Makefile (tests-static, tests): Add tst-nss-static.
19534         * nss/tst-nss-static.c: New.
19536 2012-04-06  Robert Millan  <rmh@gnu.org>
19538         [BZ #6486]
19539         * manual/llio.texi (File Position Primitive): lseek
19540         refers to WHENCE when it really means OFFSET.
19542 2012-04-06  Andreas Jaeger  <aj@suse.de>
19544         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19545         strncmp declarations.
19547         * abilist/libc.abilist: Add __poll and __ppoll.
19549 2012-04-05  David S. Miller  <davem@davemloft.net>
19551         * scripts/check-local-headers.sh: Accept a host triplet in the
19552         path matched by the exclude regexp.
19554         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19555         definition.
19556         * sysdeps/powerpc/powerpc32/dl-machine.h
19557         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19558         * sysdeps/s390/s390-32/dl-machine.h
19559         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19560         * sysdeps/sparc/sparc32/dl-machine.h
19561         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19562         * sysdeps/sparc/sparc64/dl-machine.h
19563         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19565         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19566         lazy binding.
19567         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19568         undefined symbol errors.
19570         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19571         DT_NEEDED entries.
19573 2012-04-05  Michael Matz  <matz@suse.de>
19575         [BZ #13592]
19576         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19578 2012-04-05  Andreas Jaeger  <aj@suse.de>
19580         [BZ #13908]
19581         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19582         comment.
19584 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19586         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19587         which ROUND is no valid rounding mode.
19589 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19591         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19592         read again.
19593         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19595 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19597         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19598         an exception using FPU order intentionally.
19600 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19602         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19603         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19604         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19605         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19607 2012-04-05  Simon Josefsson  <simon@josefsson.org>
19609         [BZ #12340]
19610         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19611         EINVAL when BUFLEN is too smal.
19613 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19615         [BZ #13553]
19616         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19617         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19619 2012-04-03  Andreas Jaeger  <aj@suse.de>
19621         [BZ #13938]
19622         * manual/setjmp.texi (System V contexts): Fix sentence.
19624         [BZ #13926]
19625         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19626         New macro for this case.
19627         [!__GNUC__] (__bswap_64): New inline function for this case.
19628         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19629         * bits/byteswap.h: Likewise.
19630         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19631         ull, guard with __GLIBC_HAVE_LONG_LONG.
19633         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19634         __GLIBC_HAVE_LONG_LONG.
19636         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19637         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19639 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19641         [BZ #13691]
19642         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19643         inptr and inend, rather than using last_ch.
19645 2012-04-02  David S. Miller  <davem@davemloft.net>
19647         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19648         * stdio-common/printf-parse.h (read_int): Change return type to
19649         'int', return -1 on INT_MAX overflow.
19650         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19651         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
19652         overflows INT_MAX.  Check for overflow of in-format-string precision
19653         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
19654         SIZE_MAX not INT_MAX for integer overflow test.
19655         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19656         skip the construct in the format string but do not record anything.
19657         * stdio-common/bug22.c: Adjust to test both width/prevision
19658         INT_MAX overflow as well as total length INT_MAX overflow.  Check
19659         explicitly for proper errno values.
19661 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19663         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19664         CHAR_MAX.
19665         * string/test-strcmp.c [! WIDE]: Likewise.
19666         * time/tst-mktime2.c: Likewise for INT_MAX.
19667         * string/test-string.h: #include <sys/param.h> for MIN.
19669         * csu/init-first.c (__libc_init_first): Call __ctype_init.
19670         * sysdeps/i386/init-first.c (init): Likewise.
19671         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19672         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19673         * sysdeps/sh/init-first.c (init): Likewise.
19675 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
19677         * po/ru.po: Update from translation team.
19678         * po/vi.po: Likewise.
19680 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19682         * resolv/nss_dns/dns-host.c: Merge copyright years.
19684 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19686         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19687         Optimize memcpy with prefetch if
19688         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
19689         src, dst pointers have unequal 16 byte alignments.
19691 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19693         [BZ #13928]
19694         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19695         from a CNAME entry and return the minimum ttl for the query.
19696         (gaih_getanswer_slice): Likewise.
19698 2012-03-30  Jeff Law  <law@redhat.com>
19700         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19701         due to long keys.
19702         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19703         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19705         * resolv/nss_dns/dns-host.c: Update copyright year.
19707 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
19709         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
19710         requests to save a system call.  Fix check that all bytes are sent.
19712         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19713         comments for sendmmsg.
19715 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19717         [BZ #13691]
19718         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19719         with only 1 character between 0x0041 and 0x01b0.
19720         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19721         * wcsmbs/tst-mbsnrtowcs.c: New file.
19723 2012-03-29  David S. Miller  <davem@davemloft.net>
19725         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19726         small copies by hand.
19728 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19730         [BZ #13761]
19731         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19732         _nss_compat_initgroups_dyn): Fall back to malloc/free
19733         for large group memberships.
19735 2012-03-28  David S. Miller  <davem@davemloft.net>
19737         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19738         that branches into memcpy.
19739         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19740         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19742         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19743         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19744         bits.
19745         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19746         implementation too.
19747         * sysdeps/sparc/mempcpy.S: New file.
19749         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19750         the IFUNC routine in the libc case.
19751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19753         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19754         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19755         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19756         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19757         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19758         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19759         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19760         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19762         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19763         loop to 256 bytes instead of 64 bytes and fix test signedness.
19765         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19766         * sysdeps/sparc/sparc32/Makefile: rather than here...
19767         * sysdeps/sparc/sparc64/Makefile: and here.
19769 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
19771         * malloc/mallocbug.c: Avoid warnings about unused variables.
19773 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19775         [BZ #13760]
19776         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19777         in the right place. Discard and retry query if response is
19778         larger than input buffer size.
19780 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
19782         [BZ #369]
19783         [BZ #2678]
19784         [BZ #3866]
19785         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19786         x for large integer exponent.
19787         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19788         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
19789         sign of result as needed afterwards.
19790         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19791         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19792         result for underflowing pow the same as for overflow.
19793         (__kernel_standard_l): Handle powl overflow and underflow here
19794         rather than calling __kernel_standard.
19795         * math/libm-test.inc (pow_test): Add more tests.
19797         [BZ #3868]
19798         [BZ #13879]
19799         [BZ #13910]
19800         [BZ #13911]
19801         [BZ #13912]
19802         [BZ #13913]
19803         [BZ #13915]
19804         [BZ #13916]
19805         [BZ #13917]
19806         [BZ #13918]
19807         [BZ #13919]
19808         [BZ #13920]
19809         [BZ #13921]
19810         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19811         * sysdeps/ieee754/k_standard.c: Include <float.h>.
19812         (__kernel_standard_l): New function.
19813         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19814         __kernel_standard.
19815         * math/w_acosl.c (__acosl): Likewise.
19816         * math/w_asinl.c (__asinl): Likewise.
19817         * math/w_atan2l.c (__atan2l): Likewise.
19818         * math/w_atanhl.c (__atanhl): Likewise.
19819         * math/w_coshl.c (__coshl): Likewise.
19820         * math/w_exp10l.c (__exp10l): Likewise.
19821         * math/w_exp2l.c (__exp2l): Likewise.
19822         * math/w_fmodl.c (__fmodl): Likewise.
19823         * math/w_hypotl.c (__hypotl): Likewise.
19824         * math/w_j0l.c (__j0l, __y0l): Likewise.
19825         * math/w_j1l.c (__j1l, __y1l): Likewise.
19826         * math/w_jnl.c (__jnl, __ynl): Likewise.
19827         * math/w_lgammal.c (__lgammal): Likewise.
19828         * math/w_log10l.c (__log10l): Likewise.
19829         * math/w_log2l.c (__log2l): Likewise.
19830         * math/w_logl.c (__logl): Likewise.
19831         * math/w_powl.c (__powl): Likewise.
19832         * math/w_remainderl.c (__remainderl): Likewise.
19833         * math/w_scalbl.c (sysv_scalbl): Likewise.
19834         * math/w_sinhl.c (__sinhl): Likewise.
19835         * math/w_sqrtl.c (__sqrtl): Likewise.
19836         * math/w_tgammal.c (__tgammal): Likewise.
19837         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19838         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19839         * math/libm-test.inc (acos_test): Add more tests.
19840         (acosh_test): Likewise.
19841         (asin_test): Likewise.
19842         (atanh_test): Likewise.
19843         (exp_test): Likewise.
19844         (exp10_test): Likewise.
19845         (exp2_test): Likewise.
19846         (expm1_test): Likewise.
19847         (lgamma_test): Likewise.
19848         (log_test): Likewise.
19849         (log10_test): Likewise.
19850         (log1p_test): Likewise.
19851         (log2_test): Likewise.
19852         (pow_test): Do not allow some spurious overflow exceptions.
19853         (sqrt_test): Add more tests.
19854         (tgamma_test): Likewise.
19855         (y0_test): Likewise.
19856         (y1_test): Likewise.
19857         (yn_test): Likewise.
19859 2012-03-27  Anton Blanchard  <anton@samba.org>
19861         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19862         MAP_HUGETLB.
19863         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19864         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19865         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19867 2012-03-27  David S. Miller  <davem@davemloft.net>
19869         * conform/Makefile: Run run-conformtest.sh using $(BASH).
19871         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19872         have-as-vis3 check.
19874 2012-03-27  Andreas Jaeger  <aj@suse.de>
19876         * sysdeps/x86_64/elf/configure.in: Moved to ...
19877         * sysdeps/x86_64/configure.in: ... here.
19878         * sysdeps/x86_64/elf/start.S: Moved to ...
19879         * sysdeps/x86_64/start.S: ... here.
19880         * sysdeps/x86_64/elf/configure: Delete.
19882         * sysdeps/x86_64/configure.in: Merge contents from
19883         sysdeps/i386/configure.in (without i686 check).
19885         * sysdeps/i386/elf/Versions: Merge into ...
19886         * sysdeps/i386/Versions: ... this.
19887         * sysdeps/i386/elf/Versions: Delete file.
19888         * sysdeps/i386/elf/start.S: Moved to ...
19889         * sysdeps/i386/start.S: ...here.
19890         * sysdeps/i386/elf/configure.in: Merge into...
19891         * sysdeps/i386/configure.in: ...here.
19892         * sysdeps/i386/elf/configure.in: Delete file.
19893         * sysdeps/i386/elf/configure: Delete file.
19895         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19896         * debug/backtracesyms.c: ... here.
19897         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19898         * debug/backtracesymsfd.c: ... here.
19899         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19900         * sysdeps/generic/ifunc-sel.h: ... here.
19902         * sysdeps/unix/i386/start.c: Delete file.
19903         * sysdeps/unix/sparc/start.c: Delete file.
19904         * sysdeps/unix/start.c: Delete file.
19906         * sysdeps/sh/elf/configure.in: Moved to ...
19907         * sysdeps/sh/configure.in: ... here.
19908         * sysdeps/sh/elf/start.S: Moved to ...
19909         * sysdeps/sh/start.S: ... here.
19910         * sysdeps/sh/elf/configure: Delete file.
19912         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19913         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19914         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19915         * sysdeps/powerpc/powerpc64/entry.h: ... here.
19916         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19917         * sysdeps/powerpc/powerpc64/start.S: here.
19918         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19919         * sysdeps/powerpc/powerpc64/Makefile: ... this.
19920         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19921         * sysdeps/powerpc/powerpc64/configure.in: ... this.
19922         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19924         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19925         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19926         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19927         * sysdeps/powerpc/powerpc32/start.S: ... here.
19928         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19929         * sysdeps/powerpc/powerpc32/configure.in: ... this.
19930         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19932         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19933         * sysdeps/powerpc/ifunc-sel.h: ... here.
19934         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19935         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19937         * sysdeps/sparc/elf/configure.in: Moved to ...
19938         * sysdeps/sparc/configure.in: ... here.
19939         * sysdeps/sparc/elf/configure: Delete file.
19940         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19941         * sysdeps/sparc/sparc32/start.S: ... here.
19942         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19943         * sysdeps/sparc/sparc64/start.S: ... here.
19944         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19945         * sysdeps/sparc/sparc32/Makefile: ... this.
19946         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19947         * sysdeps/sparc/sparc64/Makefile: ... this.
19949         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19950         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19951         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19952         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19953         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19954         * sysdeps/s390/s390-32/setjmp.S: ... here.
19955         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19956         * sysdeps/s390/s390-32/configure.in: ... here.
19957         * sysdeps/s390/s390-32/elf/configure: Delete file.
19958         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19959         * sysdeps/s390/s390-32/start.S: ... here.
19961         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19962         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19963         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19964         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19965         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19966         * sysdeps/s390/s390-64/setjmp.S: ... here.
19967         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19968         * sysdeps/s390/s390-64/configure.in: ... here
19969         * sysdeps/s390/s390-64/elf/configure: Delete file.
19970         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19971         * sysdeps/s390/s390-64/start.S: ... here.
19972         * sysdeps/s390/s390-64/elf/configure: Delete.
19974         * configure.in: Remove support for elf directories in sysdeps.
19976         * configure: Regenerated.
19977         * sysdeps/i386/configure: Regenerated.
19978         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19979         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19980         * sysdeps/s390/s390-32/configure: Regenerated.
19981         * sysdeps/s390/s390-64/configure: Regenerated.
19982         * sysdeps/sh/configure: Regenerated.
19983         * sysdeps/sparc/configure: Regenerated.
19984         * sysdeps/x86_64/configure: Regenerated.
19986 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
19988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19990         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19991         denormal result into account.
19993 2012-03-25  Roland McGrath  <roland@hack.frob.com>
19995         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19996         Reported by Allan McRae <allan@archlinux.org>.
19998 2012-03-23  Jeff Law  <law@redhat.com>
20000         * nss/getnssent.c (__nss_getent): Fix typo.
20002 2012-03-23  David S. Miller  <davem@davemloft.net>
20004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20006 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
20008         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20009         to pad to uint64_t for each field.
20010         (dl_tls_index): Replace unsigned long with uint64_t.
20012 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
20013         Paul Pluzhnikov  <ppluzhnikov@google.com>
20015         [BZ #6528]
20016         * grp/Makefile (otherlibs): Don't set it.
20017         * inet/Makefile (otherlibs): Likewise.
20018         * login/Makefile (otherlibs): Likewise.
20019         * nscd/Makefile (otherlibs): Likewise.
20020         * posix/Makefile (otherlibs): Likewise.
20021         * pwd/Makefile (otherlibs): Likewise.
20022         * rt/Makefile (otherlibs): Likewise.
20023         * sunrpc/Makefile (otherlibs): Likewise.
20024         * nss/Makefile (otherlibs): Likewise.
20025         Add libnss_files to routines and static-only-routines.
20026         ($(objpfx)getent): Remove rule.
20027         * resolv/Makefile: Add libnss_dns and libresolv to routines and
20028         static-only-routines.
20030 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20032         [BZ #13892]
20033         * math/s_cexp.c: Include <float.h>.
20034         (__cexp): Handle exp result overflowing not necessarily
20035         overflowing both real and imaginary parts of result.
20036         * math/s_cexpf.c: Likewise.
20037         * math/s_cexpl.c: Likewise.
20038         * math/libm-test.inc (cexp_test): Add more tests.
20039         * sysdeps/i386/fpu/libm-test-ulps: Update.
20040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20042 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20044         * include/link.h (ELFW): New macro.
20045         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20046         Replace ELF64_R_TYPE with ELFW(R_TYPE).
20048 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20050         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20051         with uint64_t.
20053 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20055         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20056         declaration.
20057         (struct La_x32_retval): Likewise.
20059 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20061         * sysdeps/x86_64/preconfigure.in: New file.
20062         * sysdeps/x86_64/preconfigure: New generated file.
20064 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20066         [BZ #13824]
20067         * math/e_exp2l.c: Include <float.h>.
20068         (__ieee754_exp2l): Handle overflow and underflow cases
20069         separately.  Only pass fractional part of argument to
20070         __ieee754_expl.
20071         * math/libm-test.inc (exp2_test): Add more tests.
20073         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20074         negating x to take absolute value.
20075         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20076         Likewise.
20077         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20078         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20079         Likewise.
20080         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20081         computing low part if x was negated.
20082         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20084 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20086         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20087         la_x32_gnu_pltexit.
20088         (pltexit): Cast int_retval to ptrdiff_t.
20089         * elf/tst-auditmod3b.c: Likewise.
20090         * elf/tst-auditmod4b.c: Likewise.
20091         * elf/tst-auditmod5b.c: Likewise.
20092         * elf/tst-auditmod6b.c: Likewise.
20093         * elf/tst-auditmod6c.c: Likewise.
20094         * elf/tst-auditmod7b.c: Likewise.
20096         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20097         and x32_gnu_pltexit.
20099         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20100         __ELF_NATIVE_CLASS.
20101         (La_x32_regs): New macro.
20102         (La_x32_retval): Likewise.
20103         (la_x32_gnu_pltenter): New function prototype.
20104         (la_x32_gnu_pltexit): Likewise.
20106 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
20108         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20109         exponent.
20111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20113         * configure.in (libc_cv_cc_nofma): Check for option to disable
20114         generation of FMA instructions.
20115         * configure: Regenerate.
20116         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20117         * sysdeps/ieee754/dbl-64/Makefile: New file.
20118         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20119         Remove brandred-fma4.
20120         (CFLAGS-brandred-fma4.c): Remove.
20121         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20122         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20123         define.
20124         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20125         define.
20127 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20129         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20130         LLONG_MAX != LONG_MAX.
20131         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20132         (_fitoa_word): Likewise.
20133         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20134         LLONG_MAX != LONG_MAX.
20135         * stdio-common/_itowa.h: Include <_itoa.h>.
20136         (_itowa_word): Use _ITOA_WORD_TYPE on value.
20137         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
20138         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
20139         only if not defined.
20140         (_ITOA_WORD_TYPE): Likewise.
20141         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20142         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20144 2012-03-21  David S. Miller  <davem@davemloft.net>
20146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20148 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20150         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20151         of x86_64 when setting libc_cv_slibdir, libdir and
20152         libc_cv_localedir.
20153         * sysdeps/unix/sysv/linux/configure: Regenerated.
20155 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20157         * manual/lang.texi (Old Varargs): Remove section.
20158         (How Variadic): Update menu.
20159         (va_start): Do not mention varargs.h.
20161 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20162             Joseph Myers  <joseph@codesourcery.com>
20164         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20165         link test.
20166         * configure: Regenerated.
20168 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20170         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20171         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20172         conformtest.pl
20174 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20176         * NOTES: Remove.
20177         * Makefile (files-for-dist): Remove NOTES.
20178         (NOTES): Remove rule.
20179         * README: Don't refer to NOTES.
20180         * manual/creature.texi: Don't include macros.texi.
20181         * manual/intro.texi (creature.texi): Remove comment referring to
20182         NOTES.
20184         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20185         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20186         * configure: Regenerated.
20187         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20188         LIBC_TRY_CC_OPTION.
20189         (libc_cv_as_i686): Likewise.
20190         (libc_cv_cc_avx): Likewise.
20191         (libc_cv_cc_sse2avx): Likewise.
20192         (libc_cv_cc_fma4): Likewise.
20193         (libc_cv_cc_novzeroupper): Likewise.
20194         * sysdeps/i386/configure: Regenerated.
20196         [BZ #13883]
20197         * sysdeps/i386/fpu/s_cexp.S: Remove.
20198         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20199         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20200         * math/libm-test.inc (cexp_test): Add more tests.
20201         * sysdeps/i386/fpu/libm-test-ulps: Update.
20202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20204 2012-03-21  Allan McRae  <allan@archlinux.org>
20206         * timezone/Makefile: Do not install iso3166.tab and zone.tab
20208 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20210         [BZ #13871]
20211         * math/w_exp2.c: Do not include <float.h>.
20212         (o_threshold, u_threshold): Remove.
20213         (__exp2): Calculate result before checking finiteness and calling
20214         __kernel_standard.
20215         * math/w_exp2f.c: Likewise.
20216         * math/w_exp2l.c: Likewise.
20217         * math/libm-test.inc (exp2_test): Require overflow exception for
20218         1e6 input.
20220         [BZ #3866]
20221         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20222         range of signed 64-bit integers before using fistpll.  Remove
20223         checks for whether integers fit in mantissa bits.
20224         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20225         the range of signed 32-bit integers before using fistpl.  Remove
20226         checks for whether integers fit in mantissa bits.
20227         * sysdeps/i386/fpu/e_powl.S (p64): New object.
20228         (__ieee754_powl): Test for y outside the range of signed 64-bit
20229         integers before using fistpll.  Reduce 64-bit values to 63-bit
20230         ones as needed.
20231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20232         divide-by-zero is raised for zero to large negative powers.
20233         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20234         (__ieee754_powl): Test for y outside the range of signed 64-bit
20235         integers before using fistpll.  Reduce 64-bit values to 63-bit
20236         ones as needed.
20237         * math/libm-test.inc (pow_test): Add more tests.
20239 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20241         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20242         <stdio-common/_itoa.h>.
20243         * debug/segfault.c: Likewise.
20244         * elf/dl-cache.c: Likewise.
20245         * elf/dl-minimal.c: Likewise.
20246         * elf/dl-misc.c: Likewise.
20247         * elf/dl-sysdep.c: Likewise.
20248         * elf/dl-version.c: Likewise.
20249         * elf/rtld.c: Likewise.
20250         * hurd/hurdsock.c: Likewise.
20251         * hurd/lookup-retry.c: Likewise.
20252         * malloc/malloc.c: Likewise.
20253         * malloc/mtrace.c: Likewise.
20254         * nscd/nscd_getgr_r.c: Likewise.
20255         * nscd/nscd_getpw_r.c: Likewise.
20256         * nscd/nscd_getserv_r.c: Likewise.
20257         * posix/getopt_init.c: Likewise.
20258         * posix/wordexp.c: Likewise.
20259         * stdio-common/_itoa.c: Likewise.
20260         * stdio-common/printf_fphex.c: Likewise.
20261         * stdio-common/vfprintf.c: Likewise.
20262         * string/_strerror.c: Likewise.
20263         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20264         * sysdeps/i386/i686/hp-timing.h: Likewise.
20265         * sysdeps/mach/_strerror.c: Likewise.
20266         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20267         * sysdeps/mach/hurd/sethostid.c: Likewise.
20268         * sysdeps/mach/hurd/xmknodat.c: Likewise.
20269         * sysdeps/mach/xpg-strerror.c: Likewise.
20270         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20271         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20272         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20273         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20274         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20275         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20276         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20277         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20278         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20279         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20280         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20281         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20282         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20283         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20284         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20285         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20286         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20287         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20288         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20289         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20290         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20292         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20294         * stdio-common/_itoa.h: Moved to ...
20295         * sysdeps/generic/_itoa.h: Here.
20297         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20299         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20300         instead of "_itoa.h" and "_itowa.h".
20301         * stdio-common/vfprintf.: Likewise.
20303 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20305         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20306         <bits/wordsize.h>.
20307         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20308         (__signbit): Likwise.
20309         (llrintf): Likwise.
20310         (llrint): Likwise.
20312 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20314         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20315         __WORDSIZE != 64.
20317 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
20319         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20320         OVERFLOW_EXCEPTION_OK.
20321         * math/libm-test.inc ("Philosophy"): Update comment about
20322         exception testing.
20323         (OVERFLOW_EXCEPTION): Define.
20324         (OVERFLOW_EXCEPTION_OK): Likewise.
20325         (INVALID_EXCEPTION_OK): Renumber.
20326         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20327         (IGNORE_ZERO_INF_SIGN): Likewise.
20328         (test_exceptions): Handle FE_OVERFLOW.
20329         (exp10_test): Expect overflow exceptions.
20330         (exp2_test): Likewise.
20331         (expm1_test): Likewise.
20332         (nextafter_test): Likewise.
20333         (pow_test): Likewise.
20334         (scalbn_test): Likewise.
20335         (scalbln_test): Likewise.
20337 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20339         * sysdeps/x86_64/bits/atomic.h
20340         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20341         64bit integer.
20342         (atomic_exchange_acq): Likewise.
20343         (__arch_exchange_and_add_body): Likewise.
20344         (__arch_add_body): Likewise.
20345         (atomic_add_negative): Likewise.
20346         (atomic_add_zero): Likewise.
20348 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20350         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20351         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20353 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20355         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20356         Check __x86_64__ instead of __WORDSIZE.
20358 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20360         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20362 2012-03-19  David S. Miller  <davem@davemloft.net>
20364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20366         * sysdeps/sparc/fpu/fenv_private.h: New file.
20367         * sysdeps/sparc/fpu/math_private.h: Use it.
20368         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20369         Remove.
20370         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20371         (libc_feholdexcept_setroundl): Remove.
20372         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20373         Remove.
20374         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20375         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20377 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20379         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20380         int64_t instead of long int.
20381         (INSERT_WORDS64): Likwise.
20383 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20385         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20386         _Unwind_GetCFA return to _Unwind_Ptr first.
20388 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
20390         [BZ #13629]
20391         * math/s_clog.c: Include <float.h>.
20392         (__clog): Scale large or subnormal inputs.
20393         * math/s_clogf.c: Likewise.
20394         * math/s_clogl.c: Likewise.
20395         * math/s_clog10.c: Include <float.h>.
20396         (M_LOG10_2): Define.
20397         (__clog10): Scale large or subnormal inputs.
20398         * math/s_clog10f.c: Likewise.
20399         * math/s_clog10l.c: Likewise.
20400         * math/libm-test.inc (clog_test): Add more tests.
20401         (clog10_test): Likewise.
20402         * sysdeps/i386/fpu/libm-test-ulps: Update.
20403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20405         [BZ #11451]
20406         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20407         x and y.
20408         * math/libm-test.inc (atan2_test): Add another test.
20410         * Makerules (common-objdir-compile): Remove.
20411         * sysdeps/unix/Makefile (config-generated): Do not add
20412         $(unix-generated) to variable.
20413         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20414         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20415         Remove rule.
20416         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20417         Likewise.
20418         [generic bits/local_lim.h] (before-compile): Do not append to
20419         variable.
20420         [generic bits/local_lim.h] (common-generated): Likewise.
20421         [generic sys/param.h] (before-compile): Do not append to variable.
20422         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20423         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20424         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20425         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20426         include.
20427         [generic sys/param.h] (sys/param.h-includes): Remove variable.
20428         [generic sys/param.h] (sys/param.h-includes): Remove rule.
20429         [generic sys/param.h] ($(addprefix
20430         $(common-objpfx),$(sys/param.h-includes))): Likewise.
20431         [generic sys/param.h] (common-generated): Do not append to
20432         variable.
20433         [generic sys/param.h] (sysdep_headers): Likewise.
20434         [generic bits/errno.h] (before-compile): Do not append to
20435         variable.
20436         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20437         rule.
20438         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20439         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20440         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20441         [generic bits/errno.h] (common-generated): Do not append to
20442         variable.
20443         [generic bits/ioctls.h] (before-compile): Do not append to
20444         variable.
20445         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20446         rule.
20447         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20448         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20449         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20450         rule.
20451         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20452         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20453         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20454         [generic bits/ioctls.h] (common-generated): Do not append to
20455         variable.
20456         [generic sys/syscall.h] (syscall.h): Remove variable.
20457         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20458         rule.
20459         [generic sys/syscall.h] (before-compile): Do not append to
20460         variable.
20461         [generic sys/syscall.h] (common-generated): Likewise.
20462         * sysdeps/unix/errnos-tmpl.c: Remove file.
20463         * sysdeps/unix/errnos.awk: Likewise.
20464         * sysdeps/unix/ioctls-tmpl.c: Likewise.
20465         * sysdeps/unix/ioctls.awk: Likewise.
20466         * sysdeps/unix/mk-local_lim.c: Likewise.
20467         * sysdeps/unix/snarf-ioctls: Likewise.
20469 2012-03-19  Richard Henderson  <rth@twiddle.net>
20471         * sysdeps/i386/fpu/fenv_private.h: New file.
20472         * sysdeps/i386/fpu/math_private.h: Use it.
20473         (math_opt_barrier, math_force_eval): Remove.
20474         (libc_feholdexcept_setround_53bit): Remove.
20475         (libc_feupdateenv_53bit): Remove.
20476         * sysdeps/x86_64/fpu/math_private.h: Likewise.
20477         (math_opt_barrier, math_force_eval): Remove.
20478         (libc_feholdexcept): Remove.
20479         (libc_feholdexcept_setround): Remove.
20480         (libc_fetestexcept, libc_fesetenv): Remove.
20481         (libc_feupdateenv_test): Remove.
20482         (libc_feupdateenv, libc_feholdsetround): Remove.
20483         (libc_feresetround): Remove.
20485         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20486         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20488         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20489         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20490         (libc_feupdateenv_testl): New.
20491         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20492         (libc_feupdateenv_testf): New.
20493         (libc_feupdateenv): Use libc_feupdateenv_test.
20494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20495         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20497         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20498         (libc_feholdsetroundf, libc_feholdsetroundl): New.
20499         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20500         (libc_feresetround_noex): New.
20501         (libc_feresetround_noexf): New.
20502         (libc_feresetround_noexl): New.
20503         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20504         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20505         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20506         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20507         SET_RESTORE_ROUND.
20508         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20509         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20510         (__cos): Likewise.
20511         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20512         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20513         SET_RESTORE_ROUND_NOEX.
20514         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20515         SET_RESTORE_ROUND_NOEXF.
20516         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20517         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20518         (libc_feholdsetroundf): New.
20519         (libc_feresetround, libc_feresetroundf): New.
20521         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20522         (libc_feholdexcept_setround_53bit): Convert from macro to function.
20523         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
20525         * sysdeps/generic/math_private.h: Include <fenv.h>.
20526         (default_libc_feholdexcept): New.
20527         (default_libc_feholdexcept_setround): New.
20528         (default_libc_fesetenv, default_libc_feupdateenv): New.
20529         (libc_feholdexcept): Only define if undefined.
20530         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20531         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20532         (libc_feholdexcept_setroundl): Likewise.
20533         (libc_feholdexcept_setround_53bit): Likewise.
20534         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20535         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20536         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20537         (libc_feupdateenv_53bit): Likewise.
20538         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20539         (libc_feholdexcept): Convert from macro to inline function.
20540         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20541         (libc_fesetenv, libc_feupdateenv): Likewise.
20543         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20544         not previously defined.
20545         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20546         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20547         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20548         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20549         * sysdeps/ieee754/flt-32/math_private.h: New file.
20550         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20551         math_private.h below SET_FLOAT_WORD.
20552         (__isnan, __isinf_ns, __finite): Remove.
20553         (__isnanf, __isinf_nsf, __finitef): Remove.
20555 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
20557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20559 2012-03-17  David S. Miller  <davem@davemloft.net>
20561         [BZ #6471]
20562         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20563         for 2.16.
20565 2012-03-16  David S. Miller  <davem@davemloft.net>
20567         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20568         warnings.
20570         [BZ #6471]
20571         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20572         properly.
20573         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20574         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20575         sysdep_routines when subdir is sysvipc.
20576         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20577         __getshmlba helper.
20579         * sysdeps/sparc/fpu/libm-test/ulps: Update.
20581 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20583         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20584         [__LP64__].
20586 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20588         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20589         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20590         (__lround): Renamed to ...
20591         (__llround): This.  Replace long int with long long int.
20592         Define lround functions as aliases of llround functions.
20593         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20595 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20597         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20598         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
20599         adresses to uintptr_t.  Replace "long int" and "unsigned long
20600         int" with "greg_t" on va_arg.
20602 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20604         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20605         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20607         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20608         Move e_machine check before EI_CLASS check.  Handle x32
20609         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20610         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20611         SKIP_EM_IA_64 and include
20612         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20614         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20615         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20616         (add_system_dir): New macro.
20618         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20619         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20621 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
20623         [BZ #2551]
20624         [BZ #2552]
20625         [BZ #2553]
20626         [BZ #2554]
20627         [BZ #2562]
20628         [BZ #2563]
20629         [BZ #2565]
20630         [BZ #2566]
20631         [BZ #2576]
20632         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20633         (y0): Likewise.
20634         * math/w_j0f.c (j0f): Likewise.
20635         (y0f): Likewise.
20636         * math/w_j0l.c (__j0l): Likewise.
20637         (__y0l): Likewise.
20638         * math/w_j1.c (j1): Likewise.
20639         (y1): Likewise.
20640         * math/w_j1f.c (j1f): Likewise.
20641         (y1f): Likewise.
20642         * math/w_j1l.c (__j1l): Likewise.
20643         (__y1l): Likewise.
20644         * math/w_jn.c (jn): Likewise.
20645         (yn): Likewise.
20646         * math/w_jnf.c (jnf): Likewise.
20647         (ynf): Likewise.
20648         * math/w_jnl.c (__jnl): Likewise.
20649         (__ynl): Likewise.
20650         * math/libm-test.inc (j0_test): Add more tests.
20651         (j1_test): Likewise.
20652         (jn_test): Likewise.  Add trailing semicolon to existing test.
20653         (y0_test): Likewise.
20654         (y1_test): Likewise.
20655         * sysdeps/i386/fpu/libm-test-ulps: Update.
20656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20658         [BZ #13851]
20659         [BZ #13854]
20660         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20661         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20662         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20663         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20664         (__tanl): Set errno for infinite argument.
20665         * sysdeps/i386/fpu/mptan.c: Remove.
20666         * sysdeps/i386/fpu/s_tan.S: Likewise.
20667         * sysdeps/i386/fpu/s_tanl.S: Likewise.
20668         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20669         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20670         * math/libm-test.inc (tan_test): Add more tests and enable more
20671         tests for double and long double.
20672         * sysdeps/i386/fpu/libm-test-ulps: Update.
20673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20675 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
20677         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20678         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20680 2012-03-16  Roland McGrath  <roland@hack.frob.com>
20682         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20683         * configure.in: Use it for both main tree and add-ons.
20684         * configure: Regenerated.
20686 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20688         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20690 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
20692         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20693         in comment.
20695         [BZ #13851]
20696         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20697         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20698         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20699         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20700         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20701         infinite argument.
20702         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20703         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20704         != 0 for prec == 2.
20705         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20706         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20707         * sysdeps/i386/fpu/s_cosl.S: Likewise.
20708         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20709         * sysdeps/i386/fpu/s_sinl.S: Likewise.
20710         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20711         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20712         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20713         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20714         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20715         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20716         * math/libm-test.inc (cos_test): Add more tests and enable more
20717         tests for long double.
20718         (sin_test): Likewise.
20719         (sincos_test): Likewise.
20720         * sysdeps/i386/fpu/libm-test-ulps: Update.
20721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20723 2012-03-16  David S. Miller  <davem@davemloft.net>
20725         * sysdeps/sparc/fpu/math_private.h: New file.
20727 2012-03-15  David S. Miller  <davem@davemloft.net>
20729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20730         file.
20731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
20732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20733         file.
20734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20735         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20736         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20737         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20739         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20740         sysdep routines.
20741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20743         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20744         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20746         * sysdeps/sparc/sparc-ifunc.h: New file.
20747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20748         sparc-ifunc.h
20749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20751         Likewise.
20752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20753         Likewise.
20754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20758         Likewise.
20759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
20763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20764         Likewise.
20765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20766         Likewise.
20767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20773         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20775         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20785         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20787         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20788         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20789         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20790         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20792 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
20794         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20795         scaling.
20796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20798 2012-03-15  Andreas Jaeger  <aj@suse.de>
20800         [BZ #13852]
20801         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20802         ieee754/flt-32 implementation for sin, cos and sincos.
20803         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20804         * sysdeps/i386/fpu/s_cosf.S: Likewise.
20805         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20806         * sysdeps/i386/fpu/s_sinf.S: Likewise.
20807         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20808         ieee754/flt-32 implementation for tan.
20810         * math/libm-test.inc (cos_test): Enable some large input tests for
20811         float as well
20812         (sin_test): Likewise.
20813         (sincos_test): Likewise.
20814         (tan_test): Add tests for large input.
20816         * sysdeps/i386/fpu/libm-test-ulps: Update.
20818 2012-03-15  Andreas Jaeger  <aj@suse.de>
20820         [BZ #13658]
20821         * math/libm-test.inc (cos_test): Add more test cases.
20822         (sin_test): Likewise.
20823         (sincos_test): Likewise.
20825 2012-03-15  Andreas Jaeger  <aj@suse.de>
20827         [BZ #13837]
20828         * math/libm-test.inc (cos_test): Add a test case for large input
20829         value.
20830         (sin_test): Likewise.
20831         (sincos_test): Likewise.
20833 2012-03-15  Andreas Jaeger  <aj@suse.de>,
20834         Joseph Myers  <joseph@codesourcery.com>
20836         [BZ #13658]
20837         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
20838         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20839         * sysdeps/i386/fpu/branred.c: Likewise.
20840         * sysdeps/i386/fpu/dosincos.c: Likewise.
20841         * sysdeps/i386/fpu/mpa.c: Likewise.
20842         * sysdeps/i386/fpu/s_cos.S: Likewise.
20843         * sysdeps/i386/fpu/s_sin.S: Likewise.
20844         * sysdeps/i386/fpu/s_sincos.S: Likewise.
20845         * sysdeps/i386/fpu/sincos32.c: Likewise.
20847         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20848         Define.
20849         (libc_feupdateenv_53bit): Define.
20850         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20851         Define.
20852         (libc_feupdateenv_53bit): Define.
20854         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20855         53 bit (without extend i386 double precision).
20857         * math/libm-test.inc (sincos_test): Add tests for large input.
20858         (sin): Likewise.
20859         (cos): Likewise.
20861         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20863 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
20865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20867 2012-03-15  David S. Miller  <davem@davemloft.net>
20869         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20870         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20871         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20872         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
20884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20885         file.
20886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
20887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20888         file.
20889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
20890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20891         file.
20892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
20893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20894         file.
20895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20896         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20897         fmin/fmax sysdep routines.
20898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20900 2012-03-14  David S. Miller  <davem@davemloft.net>
20902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20904         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20906         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20907         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20908         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20909         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20910         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20912         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20913         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20916         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20917         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20918         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20919         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20920         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20921         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20922         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20923         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20924         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20925         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20926         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20927         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20928         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20929         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
20930         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20931         routines.
20932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20933         file.
20934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
20935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20936         file.
20937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
20938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20939         file.
20940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
20941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20942         file.
20943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
20944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20945         file.
20946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
20947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20948         file.
20949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20950         file.
20951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20952         file.
20953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20954         file.
20955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20956         New file.
20957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20958         file.
20959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20960         file.
20961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
20962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20963         file.
20964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
20965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20966         file.
20967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
20968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20969         file.
20970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20972         VIS3 routines.
20974         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20975         New file.
20977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20979         * sysdeps/sparc/configure.in: New file.
20980         * sysdeps/sparc/configure: Generate.
20981         * configure.in (libc_cv_sparc_as_vis3): Substitute.
20982         * configure: Regenerate.
20983         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20984         * config.make.in (have-as-vis3): New.
20985         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20986         available use -Av9d instead of -Av9a.
20987         * sysdeps/sparc/sparc64/Makefile: Likewise.
20988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20990         New file.
20991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20992         file.
20993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20994         New file.
20995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20996         file.
20997         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20998         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20999         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21000         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21001         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21003         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21004         fzeros/fnegs to load 0x80000000 into a float register instead of
21005         using the stack.
21006         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21008 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21011         bits/syscall.h.
21012         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21013         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21014         ($(inst_includedir)/bits/syscall.h): Remove rule.
21015         ($(objpfx)bits/syscall.d): Include instead of
21016         $(objpfx)syscall-list.d.
21017         (generated): Change syscall-list.h and syscall-list.d to
21018         bits/syscall.h and bits/syscall.d.
21020 2012-03-14  Roland McGrath  <roland@hack.frob.com>
21022         [BZ #13846]
21023         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21025 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21027         [BZ #13841]
21028         * math/s_csqrt.c: Include <float.h>.
21029         (__csqrt): Scale large or subnormal inputs.
21030         * math/s_csqrtf.c: Likewise.
21031         * math/s_csqrtl.c: Likewise.
21032         * math/libm-test.inc (csqrt_test): Add more tests.
21033         * sysdeps/i386/fpu/libm-test-ulps: Update.
21034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21036         [BZ #13840]
21037         * math/libm-test.inc (hypot_test): Add more tests.
21039 2012-03-13  David S. Miller  <davem@davemloft.net>
21041         [BZ #13840]
21042         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21043         double-precision for the calculation instead of scaling.
21045 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
21047         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21048         manipulate bits before adding and subtracting TWO52[sx].
21049         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21050         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21051         Likewise.
21052         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21054 2012-03-13  David S. Miller  <davem@davemloft.net>
21056         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21057         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21058         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21059         rtld-global-offsets.h
21060         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21062         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21063         large parameters.
21065         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21067         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21068         'err' in the ifdef scope in which it is actually used.
21070         * nss/nss_db/db-init.c: Include string.h
21072 2012-03-12  David S. Miller  <davem@davemloft.net>
21074         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21075         masking out of the most significant byte of random value used.
21076         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21077         Fix coding style in previous change.
21079         * sysdeps/unix/sysv/linux/kernel-features.h
21080         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21081         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21082         expression.
21083         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21084         later.
21086 2012-03-11  David S. Miller  <davem@davemloft.net>
21088         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21089         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21090         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21091         for 'resultvar' otherwise things get truncated on 64-bit.
21093         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21094         Fix masking out of the most significant byte of random value used.
21096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21098 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
21100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21102 2012-03-09  David S. Miller  <davem@davemloft.net>
21104         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21105         variables with appropriate CPP guards.
21106         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21107         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
21108         on resulting framesize and the management of the outregs buffer for pltexit.
21109         Preserve floating point return values across _dl_call_pltexit call.
21110         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21111         framesize and the management of the outregs buffer for pltexit.
21112         Preserve floating point return values across _dl_call_pltexit
21113         call.
21114         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21115         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21116         (print_exit): Fix format string for return register value.
21118 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
21120         * sunrpc/Makefile (others): Add rpcgen.
21121         ($(objpfx)rpcgen): Remove special build rule and dependency on
21122         libc.
21123         * sunrpc/rpcgen.c: New file.
21125 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
21127         [BZ #13673]
21128         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21129         * stdio-common/bug-vfprintf-nargs.c: Likewise.
21130         * sysdeps/i386/crti.S: Likewise.
21131         * sysdeps/i386/crtn.S: Likewise.
21132         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21133         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21134         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21135         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21136         * sysdeps/sh/crti.S: Likewise.
21137         * sysdeps/sh/crtn.S: Likewise.
21138         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21140         [BZ #13673]
21141         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21142         with URL.
21143         * locale/programs/locfile-kw.gperf: Likewise.
21144         * locale/programs/charmap-kw.h: Regenerated.
21145         * locale/programs/locfile-kw.h: Likewise.
21147         [BZ #13673]
21148         * intl/plural.y: Replace FSF snail mail address with URL.
21149         * intl/plural.c: Regenerated.
21151 2012-03-09  Richard Henderson  <rth@twiddle.net>
21153         * include/math_private.h: Remove file.
21154         * math/math_private.h: Move file ...
21155         * sysdeps/generic/math_private.h: ... here.
21157         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21158         * sysdeps/powerpc/fpu/math_private.h: Likewise.
21159         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21161         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21162         and <math_private.h>.
21163         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21164         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21165         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21166         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21167         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21168         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21169         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21170         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21171         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21172         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21173         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21174         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21175         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21176         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21177         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21178         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21179         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21180         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21181         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21182         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21183         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21184         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21185         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21186         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21187         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21188         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21189         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21190         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21191         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21192         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21193         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21194         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21195         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21196         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21197         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21198         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21199         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21200         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21201         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21202         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21203         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21204         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21205         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21206         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21207         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21208         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21209         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21210         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21211         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21212         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21213         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21214         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21215         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21216         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21217         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21218         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21219         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21220         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21221         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21222         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21223         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21224         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21225         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21226         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21227         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21228         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21229         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21230         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21231         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21232         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21233         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21234         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21235         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21236         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21237         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21238         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21239         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21240         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21241         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21242         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21243         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21244         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21245         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21246         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21247         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21248         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21249         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21250         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21251         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21252         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21253         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21254         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21255         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21256         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21257         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21258         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21259         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21260         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21261         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21262         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21263         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21264         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21265         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21266         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21267         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21268         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21269         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21270         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21271         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21272         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21273         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21274         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21275         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21276         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21277         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21278         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21279         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21280         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21281         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21282         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21283         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21284         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21285         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21286         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21287         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21288         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21289         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21290         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21291         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21292         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21293         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21294         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21295         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21296         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21297         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21298         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21299         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21300         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21301         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21302         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21303         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21304         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21305         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21306         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21307         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21308         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21309         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21310         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21311         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21312         * sysdeps/ieee754/k_standard.c: Likewise.
21313         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21314         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21315         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21316         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21317         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21318         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21319         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21320         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21321         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21322         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21323         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21324         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21325         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21326         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21327         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21328         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21329         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21330         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21331         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21332         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21333         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21334         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21335         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21336         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21337         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21338         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21339         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21340         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21341         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21342         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21343         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21344         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21345         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21346         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21347         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21348         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21349         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21350         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21351         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21352         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21353         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21354         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21355         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21356         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21357         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21358         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21359         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21360         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21361         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21362         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21363         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21364         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21365         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21366         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21367         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21368         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21369         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21370         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21371         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21372         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21373         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21374         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21375         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21376         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21377         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21378         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21379         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21380         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21381         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21382         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21383         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21384         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21385         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21386         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21387         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21388         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21389         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21390         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21391         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21392         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21393         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21394         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21395         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21396         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21397         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21398         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21399         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21400         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21401         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21402         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21403         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21404         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21405         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21406         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21407         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21408         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21409         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21410         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21411         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21412         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21413         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21414         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21415         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21416         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21417         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21418         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21419         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21420         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21421         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21422         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21423         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21424         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21425         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21426         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21427         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21428         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21429         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21430         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21431         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21432         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21433         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21434         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21435         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21436         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21437         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21438         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21439         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21440         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21441         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21442         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21443         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21444         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21445         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21446         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21447         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21448         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21449         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21450         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21451         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21452         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21453         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21454         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21455         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21456         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21457         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21458         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21459         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21460         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21461         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21462         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21463         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21464         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21465         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21466         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21467         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21468         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21469         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21470         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21471         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21472         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21473         * sysdeps/ieee754/s_lib_version.c: Likewise.
21474         * sysdeps/ieee754/s_matherr.c: Likewise.
21475         * sysdeps/ieee754/s_signgam.c: Likewise.
21476         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21477         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21478         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21479         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21480         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21481         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21482         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21483         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21484         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21485         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21486         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21487         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21488         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21489         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21490         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21491         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21492         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21493         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21494         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21495         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21496         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21498 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
21500         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21501         * sunrpc/rpc_main.c: Likewise.
21502         * sunrpc/rpc_svcout.c: Likewise.
21504 2012-03-09  David S. Miller  <davem@davemloft.net>
21506         * include/math_private.h: New file.
21508 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
21510         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21511         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21512         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21513         from <bits/socket_type.h>.
21514         (enum __socket_type): Don't define here.
21515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21516         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21517         bits/socket_type.h.
21519         [BZ #13566]
21520         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21521         checking __USE_GNU.
21523         * Makerules ($(inst_includedir)/%.h): New rule.
21524         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21525         (install-others): Remove variable setting.
21526         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21528 2012-03-08  Richard Henderson  <rth@twiddle.net>
21530         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21531         from macro to inline function; merge with the
21532         !__LIBC_INTERNAL_MATH_INLINES version.
21533         (__ieee754_sqrtf): Likewise.
21535         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21536         to inline function.
21537         (__rintf, __floor, __floorf): Likewise.
21539         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21540         macro to inline function.
21541         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21543         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21544         not <math/math_private.h>.
21546 2012-03-08  David S. Miller  <davem@davemloft.net>
21548         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21549         copyright year.
21550         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21552 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
21554         * resolv/gai_misc.c (handle_requests): Fix struct timespec
21555         normalization.
21556         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21557         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21559 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
21561         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
21562         be defined individually, they must be defined as a block.  Define
21563         S for printing a string instead of hidint the different by using a
21564         macro for adding the 'l'.
21565         * stdio-common/tst-fphex-wide.c: Adjust.
21567 2012-03-07  Marek Polacek  <polacek@redhat.com>
21569         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21571 2012-03-08  Marek Polacek  <polacek@redhat.com>
21573         [BZ #13806]
21574         * stdio-common/Makefile (tests): Add tst-fphex-wide.
21575         * stdio-common/tst-fphex.c: Define a few macros to make the
21576         test reusable.  Use them.
21577         * stdio-common/tst-fphex-wide.c: New file.
21579 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
21581         [BZ #6911]
21582         * manual/macros.texi (gnusystems): New macro.
21583         (nongnusystems): Likewise.
21584         (gnulinuxhurdsystems): Likewise.
21585         (gnuhurdsystems): Likewise..
21586         (gnulinuxsystems): Likewise.
21587         * manual/charset.texi: Use new macros or @theglibc{} to refer to
21588         variants of the GNU system, not "GNU system".
21589         * manual/conf.texi: Likewise.
21590         * manual/errno.texi: Likewise.  Update example of errno macro
21591         expansion.
21592         * manual/filesys.texi: Likewise.
21593         (getumask): Document as specific to GNU/Hurd.
21594         * manual/install.texi: Likewise.  Reword some references to
21595         GNU/Linux.
21596         * manual/intro.texi: Likewise.
21597         * manual/io.texi: Likewise.
21598         (File Name Portability): Detail which constraints are inapplicable
21599         to all GNU systems and which are only inapplicable to GNU/Hurd.
21600         * manual/job.texi: Likewise.
21601         * manual/llio.texi: Likewise.
21602         (O_NOCTTY): Document as present on GNU/Linux.
21603         * manual/maint.texi: Likewise.
21604         * manual/memory.texi: Likewise.
21605         * manual/pattern.texi: Likewise.
21606         * manual/pipe.texi: Likewise.
21607         * manual/process.texi: Likewise.
21608         * manual/resource.texi: Likewise.
21609         (RUSAGE_CHILDREN): Remove statement about specifying a particular
21610         child on GNU/Hurd.
21611         * manual/setjmp.texi: Likewise.
21612         * manual/signal.texi: Likewise.
21613         * manual/startup.texi: Likewise.
21614         * manual/stdio.texi: Likewise.
21615         * manual/terminal.texi: Likewise.
21616         (ONLCR): Document as POSIX.
21617         (OXTABS): Document availability on GNU/Linux as XTABS.
21618         (ONOEOT): Document availability separately from other bits.
21619         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21620         * manual/time.texi: Likewise.
21621         * manual/users.texi: Likewise.
21622         * INSTALL: Regenerated.
21623         * sysdeps/gnu/errlist.c: Regenerated.
21625         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21626         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21627         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
21628         puts.
21629         * configure: Regenerated.
21631 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
21633         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21634         default includes instead of AC_HEADER_CHECK.
21635         * sysdeps/i386/configure: Regenerated.
21637         [BZ #10716]
21638         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21639         * math/s_cacoshf.c (__cacoshf): Likewise.
21640         * math/s_cacoshl.c (__cacoshl): Likewise.
21641         * math/s_casinh.c (__casinh): Set signs of result from argument.
21642         * math/s_casinhf.c (__casinhf): Likewise.
21643         * math/s_casinhl.c (__casinhl): Likewise.
21644         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21645         (casinh_test): Add more tests.
21646         * sysdeps/i386/fpu/libm-test-ulps: Update.
21647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21649 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
21651         * po/zh_TW.po: Update from translation team.
21653         * login/Makefile (distribute): Remove variable.
21654         * catgets/Makefile: Likewise.
21655         * mach/Makefile: Likewise.
21656         * malloc/Makefile: Likewise.
21657         * misc/Makefile: Likewise.
21658         * iconv/Makefile: Likewise.
21659         * nscd/Makefile: Likewise.
21660         * hurd/Makefile: Likewise.
21661         * manual/Makefile: Likewise.
21662         * locale/Makefile: Likewise.
21663         * intl/Makefile: Likewise.
21664         * conform/Makefile: Likewise.
21665         * nss/Makefile: Likewise.
21666         * time/Makefile: Likewise.
21667         * soft-fp/Makefile: Likewise.
21668         * dirent/Makefile: Likewise.
21669         * gmon/Makefile: Likewise.
21670         * po/Makefile: Likewise.
21671         * rt/Makefile: Likewise.
21672         * socket/Makefile: Likewise.
21673         * math/Makefile: Likewise.
21674         * signal/Makefile: Likewise.
21675         * debug/Makefile: Likewise.
21676         * elf/Makefile: Likewise.
21677         * timezone/Makefile: Likewise.
21678         * stdlib/Makefile: Likewise.
21679         * iconvdata/Makefile: Likewise.
21680         * sunrpc/Makefile: Likewise.
21681         * io/Makefile: Likewise.
21682         * argp/Makefile: Likewise.
21683         * inet/Makefile: Likewise.
21684         * hesiod/Makefile: Likewise.
21685         * grp/Makefile: Likewise.
21686         * csu/Makefile: Likewise.
21687         * wctype/Makefile: Likewise.
21688         * crypt/Makefile: Likewise.
21689         * libio/Makefile: Likewise.
21690         * string/Makefile: Likewise.
21691         * nis/Makefile: Likewise.
21692         * resolv/Makefile: Likewise.
21693         * stdio-common/Makefile: Likewise.
21694         * wcsmbs/Makefile: Likewise.
21695         * dlfcn/Makefile: Likewise.
21696         * posix/Makefile: Likewise.
21698         [BZ #6959]
21699         * timezone/Makefile: Don't install timezone files, just the programs
21700         and scripts.
21702 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
21704         * nss/databases.def: Add missing gshadow entry.
21706         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
21708 2012-03-06  Marek Polacek  <polacek@redhat.com>
21710         [BZ #13726]
21711         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21712         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21713         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21714         * stdio-common/tst-long-dbl-fphex.c: New file.
21716 2012-03-06  David S. Miller  <davem@davemloft.net>
21718         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21719         (set_obp_int): New function.
21720         (get_obp_int): New function.
21721         (__get_clockfreq_via_dev_openprom): Likewise.
21722         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21723         Avoid unused variable warnings on 'val' and use builtin_expect.
21724         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21725         __builtin_expect.
21726         (INLINE_CLONE_SYSCALL): Likewise.
21728 2012-03-05  David S. Miller  <davem@davemloft.net>
21730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21732 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
21734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21736         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21737         only for |x| >= 40.
21738         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21740 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21742         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21743         Replace gettimeofday with __vdso_gettimeofday.
21745         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21746         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21747         __vdso_clock_gettime and __vdso_getcpu.
21749         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21750         time with __vdso_time.
21752 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
21754         * manual/lang.texi (size_t): Note types to which size_t may be
21755         equivalent with the GNU C Library, but do not describe when
21756         differences between them are significant.
21758 2012-03-05  Andreas Jaeger  <aj@suse.de>
21760         * sysdeps/i386/fpu/libm-test-ulps: Update.
21762 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
21764         [BZ #3976]
21765         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21766         (__ieee754_pow): Save and restore rounding mode and use
21767         round-to-nearest for main computations.
21768         * math/libm-test.inc (pow_test_tonearest): New function.
21769         (pow_test_towardzero): Likewise.
21770         (pow_test_downward): Likewise.
21771         (pow_test_upward): Likewise.
21772         (main): Call the new functions.
21773         * sysdeps/i386/fpu/libm-test-ulps: Update.
21774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21776         [BZ #3976]
21777         * math/libm-test.inc (cosh_test_tonearest): New function.
21778         (cosh_test_towardzero): Likewise.
21779         (cosh_test_downward): Likewise.
21780         (cosh_test_upward): Likewise.
21781         (sinh_test_tonearest): Likewise.
21782         (sinh_test_towardzero): Likewise.
21783         (sinh_test_downward): Likewise.
21784         (sinh_test_upward): Likewise.
21785         (main): Call the new functions.
21786         * sysdeps/i386/fpu/libm-test-ulps: Update.
21787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21789 2012-03-05  Tom de Vries  <tom@codesourcery.com>
21791         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21792         default stack guard is set in last bytes.
21793         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21795 2012-03-05  Kees Cook  <keescook@chromium.org>
21797         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
21799         [BZ #13656]
21800         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21801         possibly allocate from heap instead of stack.
21802         * stdio-common/bug-vfprintf-nargs.c: New file.
21803         * stdio-common/Makefile (tests): Add nargs overflow test.
21805 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
21807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21809 2012-03-03  Marek Polacek  <polacek@redhat.com>
21811         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21812         * math/math_private.h: Likewise.
21813         * stdlib/tst-strtod.c: Likewise.
21814         * sysdeps/i386/i486/bits/atomic.h: Likewise.
21815         * sysdeps/x86_64/bits/atomic.h: Likewise.
21817 2012-03-02  David S. Miller  <davem@davemloft.net>
21819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21823         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21824         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21825         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21826         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21828 2012-03-02  Roland McGrath  <roland@hack.frob.com>
21830         [BZ #13792]
21831         * manual/examples/README: New file, says the example source files
21832         can be used under GPL>=2.
21833         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21834         line containing just "*/".
21835         * manual/examples/add.c: Add copyright header (GPL>=2).
21836         * manual/examples/argp-ex1.c: Likewise.
21837         * manual/examples/argp-ex2.c: Likewise.
21838         * manual/examples/argp-ex3.c: Likewise.
21839         * manual/examples/argp-ex4.c: Likewise.
21840         * manual/examples/atexit.c: Likewise.
21841         * manual/examples/db.c: Likewise.
21842         * manual/examples/dir.c: Likewise.
21843         * manual/examples/dir2.c: Likewise.
21844         * manual/examples/execinfo.c: Likewise.
21845         * manual/examples/filecli.c: Likewise.
21846         * manual/examples/filesrv.c: Likewise.
21847         * manual/examples/fmtmsgexpl.c: Likewise.
21848         * manual/examples/genpass.c: Likewise.
21849         * manual/examples/inetcli.c: Likewise.
21850         * manual/examples/inetsrv.c: Likewise.
21851         * manual/examples/isockad.c: Likewise.
21852         * manual/examples/longopt.c: Likewise.
21853         * manual/examples/memopen.c: Likewise.
21854         * manual/examples/memstrm.c: Likewise.
21855         * manual/examples/mkfsock.c: Likewise.
21856         * manual/examples/mkisock.c: Likewise.
21857         * manual/examples/mygetpass.c: Likewise.
21858         * manual/examples/pipe.c: Likewise.
21859         * manual/examples/popen.c: Likewise.
21860         * manual/examples/rprintf.c: Likewise.
21861         * manual/examples/search.c: Likewise.
21862         * manual/examples/select.c: Likewise.
21863         * manual/examples/setjmp.c: Likewise.
21864         * manual/examples/sigh1.c: Likewise.
21865         * manual/examples/sigusr.c: Likewise.
21866         * manual/examples/stpcpy.c: Likewise.
21867         * manual/examples/strdupa.c: Likewise.
21868         * manual/examples/strftim.c: Likewise.
21869         * manual/examples/strncat.c: Likewise.
21870         * manual/examples/subopt.c: Likewise.
21871         * manual/examples/swapcontext.c: Likewise.
21872         * manual/examples/termios.c: Likewise.
21873         * manual/examples/testopt.c: Likewise.
21874         * manual/examples/testpass.c: Likewise.
21875         * manual/examples/timeval_subtract.c: Likewise.
21877         [BZ #13792]
21878         * manual/time.texi (Elapsed Time): Move timeval_subtract example
21879         function to ...
21880         * manual/timeval_subtract.c.texi: ... here, new file.
21882 2012-03-02  David S. Miller  <davem@davemloft.net>
21884         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21886 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
21888         [BZ #3976]
21889         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21890         (__sin): Save and restore rounding mode and use round-to-nearest
21891         for all computations.
21892         (__cos): Save and restore rounding mode and use round-to-nearest
21893         for all computations.
21894         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21895         <fenv.h>.
21896         (tan): Save and restore rounding mode and use round-to-nearest for
21897         all computations.
21898         * math/libm-test.inc (cos_test_tonearest): New function.
21899         (cos_test_towardzero): Likewise.
21900         (cos_test_downward): Likewise.
21901         (cos_test_upward): Likewise.
21902         (sin_test_tonearest): Likewise.
21903         (sin_test_towardzero): Likewise.
21904         (sin_test_downward): Likewise.
21905         (sin_test_upward): Likewise.
21906         (tan_test_tonearest): Likewise.
21907         (tan_test_towardzero): Likewise.
21908         (tan_test_downward): Likewise.
21909         (tan_test_upward): Likewise.
21910         (main): Call the new functions.
21911         * sysdeps/i386/fpu/libm-test-ulps: Update.
21912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21914         [BZ #10135]
21915         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21916         small n, then large n, before computing and testing k+n.
21917         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21918         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21919         Likewise.
21920         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21921         Likewise.
21922         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21923         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21924         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21925         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21926         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21927         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21928         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21929         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21930         * math/libm-test.inc (scalbn_test): Add more tests.
21931         (scalbln_test): Likewise.
21933         * manual/filesys.texi (mode_t): Describe constraints on size and
21934         signedness, not exact equivalence to a particular type.
21935         (ino_t): Likewise.
21936         (ino64_t): Likewise.
21937         (dev_t): Likewise.
21938         (nlink_t): Likewise.
21939         (blkcnt_t): Likewise.
21940         (blkcnt64_t): Likewise.
21941         * manual/llio.texi (off_t): Likewise.
21943         [BZ #3976]
21944         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21945         (__ieee754_exp): Save and restore rounding mode and use
21946         round-to-nearest for all computations.
21947         * math/libm-test.inc (exp_test_tonearest): New function.
21948         (exp_test_towardzero): Likewise.
21949         (exp_test_downward): Likewise.
21950         (exp_test_upward): Likewise.
21951         (main): Call the new functions.
21952         * sysdeps/i386/fpu/libm-test-ulps: Update.
21953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21955 2012-03-01  Chris Demetriou  <cgd@google.com>
21957         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21958         have predictable order.
21960 2012-03-01  David S. Miller  <davem@davemloft.net>
21962         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21964         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21965         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21966         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21967         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21969         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21970         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21971         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21973         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21974         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21975         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21976         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21977         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21981         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21982         * sysdeps/sparc/fpu/libm-test-ulps: to here.
21983         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21985         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21986         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21987         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21988         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21989         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21990         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21991         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21992         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21993         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21994         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21995         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21996         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21997         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21998         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21999         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22000         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22001         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22002         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22003         * sysdeps/sparc/elf/configure: Regenerated.
22005 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
22007         * configure.in (AS, LD): Require binutils 2.20 or later.
22008         * configure: Regenerated.
22009         * manual/install.texi (Tools for Compilation): Give binutils 2.20
22010         as required minimum version.
22011         * INSTALL: Regenerated.
22013         [BZ #2541]
22014         [BZ #4108]
22015         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22016         before squaring exponent.
22017         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22018         bottom long double and 27 bits of top long double before squaring
22019         exponent.
22020         * math/libm-test.inc (erfc_test): Add more tests.
22021         * sysdeps/i386/fpu/libm-test-ulps: Update.
22022         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22025 2012-03-01  Kai Tietz  <ktietz@redhat.com>
22027         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22028         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22029         containing bit-fields.
22030         * soft-fp/extended.h (_FP_UNION_E): Likewise.
22031         * soft-fp/single.h (_FP_UNION_S): Likewise.
22032         * soft-fp/double.h (_FP_UNION_D): Likewise.
22034 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
22036         [BZ #13786]
22037         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22038         not include ../strcmp.S.
22039         [USE_AS_STRNCASECMP_L]: Likewise.
22040         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22041         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22042         * sysdeps/i386/i686/multiarch/strncase_l-c.c
22043         (__strncasecmp_l_ia32): Define as alias to
22044         __strncasecmp_l_nonascii.
22046         [BZ #5794]
22047         * math/libm-test.inc (expm1_test): Add test for bug 5794.
22048         * sysdeps/i386/fpu/libm-test-ulps: Update.
22049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22051         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22054 2012-02-29  Jeff Law  <law@redhat.com>
22056         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22057         out of bounds read.
22059 2012-02-29  Marek Polacek  <polacek@redhat.com>
22061         [BZ #13706]
22062         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22063         * elf/Makefile: Add rules to run tst-unused-dep.out.
22065 2012-02-28  David S. Miller  <davem@davemloft.net>
22067         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22068         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22069         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22070         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22071         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22072         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22074 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
22076         * math/libm-test.inc (llround_test): Move one test from
22077         lround_test.  Use TEST_f_L in moved test.
22078         (lround_test): Move misplaced test to llround_test.  Add testcase
22079         from bug 2561.
22081 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
22083         * sysdeps/x86_64/fpu/e_expf.S: New file.
22084         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22086 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
22088         [BZ #13637]
22089         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22090         of remain_len that may cause incomplete multi-byte character and
22091         false match.
22092         * posix/bug-regex33.c: New file.
22093         * posix/Makefile (tests): Add bug-regex33.
22095 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
22097         * manual/macros.texi: New file.
22098         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22099         * manual/libc.texinfo: Include macros.texi.
22100         * manual/creatute.texi: Likewise.
22101         * manual/install.texi: Likewise.
22102         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22103         @glibcadj{} in references to the GNU C Library.
22104         * manual/charset.texi: Likewise.
22105         * manual/conf.texi: Likewise.
22106         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
22107         when not using those macros.
22108         * manual/creature.texi: Likewise.
22109         * manual/crypt.texi: Likewise.
22110         * manual/errno.texi: Likewise.
22111         * manual/filesys.texi: Likewise.
22112         * manual/header.texi: Likewise.
22113         * manual/install.texi: Likewise.
22114         * manual/intro.texi: Likewise.
22115         * manual/io.texi: Likewise.
22116         * manual/job.texi: Likewise.
22117         * manual/lang.texi: Likewise.
22118         * manual/libc.texiinfo: Likewise.
22119         * manual/llio.texi: Likewise.
22120         * manual/locale.texi: Likewise.
22121         * manual/maint.texi: Likewise.
22122         * manual/math.texi: Likewise.
22123         * manual/memory.texi: Likewise.
22124         * manual/message.texi: Likewise.
22125         * manual/nss.texi: Likewise.
22126         * manual/pattern.texi: Likewise.
22127         * manual/process.texi: Likewise.
22128         * manual/resource.texi: Likewise.
22129         * manual/search.texi: Likewise.
22130         * manual/setjmp.texi: Likewise.
22131         * manual/signal.texi: Likewise.
22132         * manual/socket.texi: Likewise.
22133         * manual/startup.texi: Likewise.
22134         * manual/stdio.texi: Likewise.
22135         * manual/string.texi: Likewise.
22136         * manual/sysinfo.texi: Likewise.
22137         * manual/syslog.texi: Likewise.
22138         * manual/terminal.texi: Likewise.
22139         * manual/time.texi: Likewise.
22140         * manual/users.texi: Likewise.
22141         * INSTALL: Regenerated.
22142         * NOTES: Regenerated.
22143         * sysdeps/gnu/errlist.c: Regenerated.
22145 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
22147         * include/dirent.h: Include <dirstream.h> before
22148         <dirent/dirent.h>.
22150 2012-02-28  David S. Miller  <davem@davemloft.net>
22152         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22153         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22154         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22155         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22157 2012-02-27  David S. Miller  <davem@davemloft.net>
22159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22161         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22162         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22165         frame pointer instead of stack pointer relative arg slot.
22166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22167         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22168         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22170 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
22172         [BZ #3992]
22173         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22175 2012-02-27  David S. Miller  <davem@davemloft.net>
22177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22181         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22182         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22183         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22184         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22186 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22188         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22189         later.  Allow versions 5-9.
22190         * configure: Regenerated.
22191         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22192         required minimum version and 4.6 as recommended version.  Do not
22193         mention bugs in GCC 2.7 and 2.8.
22194         * INSTALL: Regenerated.
22196 2012-02-27  David S. Miller  <davem@davemloft.net>
22198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22202         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22203         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22204         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22205         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22207         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22208         manipulate bits before adding and subtracting TWO112[sx].
22209         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22211 2012-02-27  Roland McGrath  <roland@hack.frob.com>
22213         [BZ #13775]
22214         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22215         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22216         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22217         being in POSIX, because they are in 1003.1-2008.
22219         * rt/tst-aio.c: Include <fcntl.h>.
22220         * rt/tst-aio7.c: Likewise.
22221         * rt/tst-aio64.c: Likewise.
22223         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22225 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22227         * manual/install.texi (--with-headers): Describe headers as
22228         interface headers, not private headers.
22229         (Specific advice for GNU/Linux systems): Describe use of headers
22230         from "make headers_install", not private headers from older
22231         kernels.
22232         * INSTALL: Regenerated.
22233         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22234         Change to 2.6.19.
22235         * sysdeps/unix/sysv/linux/configure: Regenerated.
22237         * manual/llio.texi (fclean): Remove documentation.
22239         * manual/Makefile (libc-texi-generated): New variable.  Include
22240         version.texi.
22241         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22242         $(libc-texi-generated), not duplicated list of files.
22243         (version.texi, stamp-version): New rules.
22244         (realclean): Remove $(libc-texi-generated), not individual files
22245         from that list.  Do not remove dir-add.texinfo.
22246         * manual/libc.texinfo: Comment out uses of edition numbers and
22247         references to printed manual.  Remove last-updated dates.
22248         (EDITION): Comment out.
22249         (ISBN): Likewise.
22250         (VERSION, UPDATED): Remove.
22251         (version.texi): Include.
22253 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
22255         * sysdeps/posix/spawni.c: Include <signal.h>.
22256         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22257         * sysdeps/pthread/aio_fsync.c: Likewise.
22259 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
22261         * conform/Makefile (tests): Run only when not cross-compiling and
22262         when fast-check is not defined.
22264         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22265         * conform/data/limits.h-data: Fixes for POSIX2008.
22266         * conform/run-conformtest.sh: Run all tests.
22267         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22268         headers.
22269         * include/bits/dlfcn.h: Likewise.
22270         * include/langinfo.h: Likewise.
22271         * include/monetary.h: Likewise.
22272         * include/sys/poll.h: Likewise.
22274         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22275         for __USE_GNU.
22276         * posix/spawn.h: Define __need_sigset_t.
22277         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22278         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22279         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
22280         to get sigevent_t only.
22281         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22282         only for __USE_GNU.
22283         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22284         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22285         process_vm_writev only for __USE_GNU.
22286         * termios/termios.h: Declare tcgetsid also for POSIX2008.
22288         * conform/Makefile: For now ignore errors from run-conformtest.
22289         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
22290         POSIX to avoid namespace pollution.  Don't prepend headers.
22291         * conform/data/aio.h-data: Fixes for POSIX testing.
22292         * conform/data/fcntl.h-data: Likewise.
22293         * conform/data/glob.h-data: Likewise.
22294         * conform/data/grp.h-data: Likewise.
22295         * conform/data/pthread.h-data: Likewise.
22296         * conform/data/pwd.h-data: Likewise.
22297         * conform/data/signal.h-data: Likewise.
22298         * conform/data/spawn.h-data: Likewise.
22299         * conform/data/stdio.h-data: Likewise.
22300         * conform/data/stdlib.h-data: Likewise.
22301         * conform/data/stropts.h-data: Likewise.
22302         * conform/data/sys/mman.h-data: Likewise.
22303         * conform/data/sys/stat.h-data: Likewise.
22304         * conform/data/sys/types.h-data: Likewise.
22305         * conform/data/sys/wait.h-data: Likewise.
22306         * conform/data/time.h-data: Likewise.
22307         * conform/data/unistd.h-data: Likewise.
22308         * conform/data/utime.h-data: Likewise.
22310         * io/sys/stat.h: fchmod was always in POSIX.
22311         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22312         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22313         * rt/aio.h: Define __need_timespec before including <time.h>.
22314         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22315         struct.  Add forward declaration of pthread_attr_t and use it in
22316         sigevent.
22317         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22318         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22319         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22320         always remove CLK_TCK definition.
22322 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
22324         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22326 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
22328         * conform/run-conformtest.sh: New file.
22329         * conform/Makefile: Run run-conformtest for tests.
22330         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
22331         support.
22333         * conform/data/uchar.h-data: New file.
22334         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22335         * conform/data/arpa/inet.h-data: Likewise.
22336         * conform/data/assert.h-data: Likewise.
22337         * conform/data/complex.h-data: Likewise.
22338         * conform/data/cpio.h-data: Likewise.
22339         * conform/data/ctype.h-data: Likewise.
22340         * conform/data/dirent.h-data: Likewise.
22341         * conform/data/dlfcn.h-data: Likewise.
22342         * conform/data/errno.h-data: Likewise.
22343         * conform/data/fcntl.h-data: Likewise.
22344         * conform/data/float.h-data: Likewise.
22345         * conform/data/fmtmsg.h-data: Likewise.
22346         * conform/data/fnmatch.h-data: Likewise.
22347         * conform/data/ftw.h-data: Likewise.
22348         * conform/data/glob.h-data: Likewise.
22349         * conform/data/grp.h-data: Likewise.
22350         * conform/data/iconv.h-data: Likewise.
22351         * conform/data/inttypes.h-data: Likewise.
22352         * conform/data/langinfo.h-data: Likewise.
22353         * conform/data/libgen.h-data: Likewise.
22354         * conform/data/limits.h-data: Likewise.
22355         * conform/data/locale.h-data: Likewise.
22356         * conform/data/math.h-data: Likewise.
22357         * conform/data/monetary.h-data: Likewise.
22358         * conform/data/mqueue.h-data: Likewise.
22359         * conform/data/ndbm.h-data: Likewise.
22360         * conform/data/net/if.h-data: Likewise.
22361         * conform/data/netdb.h-data: Likewise.
22362         * conform/data/netinet/in.h-data: Likewise.
22363         * conform/data/nl_types.h-data: Likewise.
22364         * conform/data/poll.h-data: Likewise.
22365         * conform/data/pthread.h-data: Likewise.
22366         * conform/data/pwd.h-data: Likewise.
22367         * conform/data/regex.h-data: Likewise.
22368         * conform/data/sched.h-data: Likewise.
22369         * conform/data/search.h-data: Likewise.
22370         * conform/data/semaphore.h-data: Likewise.
22371         * conform/data/setjmp.h-data: Likewise.
22372         * conform/data/signal.h-data: Likewise.
22373         * conform/data/spawn.h-data: Likewise.
22374         * conform/data/stdarg.h-data: Likewise.
22375         * conform/data/stdio.h-data: Likewise.
22376         * conform/data/stdlib.h-data: Likewise.
22377         * conform/data/string.h-data: Likewise.
22378         * conform/data/strings.h-data: Likewise.
22379         * conform/data/stropts.h-data: Likewise.
22380         * conform/data/sys/ipc.h-data: Likewise.
22381         * conform/data/sys/mman.h-data: Likewise.
22382         * conform/data/sys/msg.h-data: Likewise.
22383         * conform/data/sys/resource.h-data: Likewise.
22384         * conform/data/sys/select.h-data: Likewise.
22385         * conform/data/sys/sem.h-data: Likewise.
22386         * conform/data/sys/shm.h-data: Likewise.
22387         * conform/data/sys/socket.h-data: Likewise.
22388         * conform/data/sys/stat.h-data: Likewise.
22389         * conform/data/sys/statvfs.h-data: Likewise.
22390         * conform/data/sys/time.h-data: Likewise.
22391         * conform/data/sys/timeb.h-data: Likewise.
22392         * conform/data/sys/times.h-data: Likewise.
22393         * conform/data/sys/types.h-data: Likewise.
22394         * conform/data/sys/uio.h-data: Likewise.
22395         * conform/data/sys/un.h-data: Likewise.
22396         * conform/data/sys/utsname.h-data: Likewise.
22397         * conform/data/sys/wait.h-data: Likewise.
22398         * conform/data/syslog.h-data: Likewise.
22399         * conform/data/tar.h-data: Likewise.
22400         * conform/data/termios.h-data: Likewise.
22401         * conform/data/utime.h-data: Likewise.
22402         * conform/data/utmpx.h-data: Likewise.
22403         * conform/data/varargs.h-data: Likewise.
22404         * conform/data/wchar.h-data: Likewise.
22405         * conform/data/wctype.h-data: Likewise.
22406         * conform/data/wordexp.h-data: Likewise.
22408         * include/stropts.h: New file.
22409         * include/uchar.h: New file.
22410         * include/aio.h: Changes to allow conformtest.pl to use the headers.
22411         * include/assert.h: Likewise.
22412         * include/ctype.h: Likewise.
22413         * include/dirent.h: Likewise.
22414         * include/dlfcn.h: Likewise.
22415         * include/fcntl.h: Likewise.
22416         * include/fnmatch.h: Likewise.
22417         * include/glob.h: Likewise.
22418         * include/grp.h: Likewise.
22419         * include/libio.h: Likewise.
22420         * include/locale.h: Likewise.
22421         * include/math.h: Likewise.
22422         * include/net/if.h: Likewise.
22423         * include/netdb.h: Likewise.
22424         * include/netinet/in.h: Likewise.
22425         * include/pthread.h: Likewise.
22426         * include/pwd.h: Likewise.
22427         * include/regex.h: Likewise.
22428         * include/sched.h: Likewise.
22429         * include/search.h: Likewise.
22430         * include/setjmp.h: Likewise.
22431         * include/signal.h: Likewise.
22432         * include/stdio.h: Likewise.
22433         * include/stdlib.h: Likewise.
22434         * include/string.h: Likewise.
22435         * include/sys/cdefs.h: Likewise.
22436         * include/sys/mman.h: Likewise.
22437         * include/sys/msg.h: Likewise.
22438         * include/sys/resource.h: Likewise.
22439         * include/sys/select.h: Likewise.
22440         * include/sys/socket.h: Likewise.
22441         * include/sys/stat.h: Likewise.
22442         * include/sys/statvfs.h: Likewise.
22443         * include/sys/time.h: Likewise.
22444         * include/sys/times.h: Likewise.
22445         * include/sys/uio.h: Likewise.
22446         * include/sys/utsname.h: Likewise.
22447         * include/sys/wait.h: Likewise.
22448         * include/termios.h: Likewise.
22449         * include/time.h: Likewise.
22450         * include/ulimit.h: Likewise.
22451         * include/unistd.h: Likewise.
22452         * include/utime.h: Likewise.
22453         * include/wchar.h: Likewise.
22454         * include/wctype.h: Likewise.
22455         * include/wordexp.h: Likewise.
22457         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22459         * time/time.h: TIME_UTC must be a macro.
22460         Make timespec_get available for ISO C11 only as well.
22462 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
22464         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22465         Reported by Peng Haitao <penght@cn.fujitsu.com>.
22467 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22469         * configure.in: Use -o not -a in test for unsupported multi-arch.
22471 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22473         * manual/texinfo.tex: Update to version 2012-01-19.16.
22475 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22477         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22479 2012-02-24  Roland McGrath  <roland@hack.frob.com>
22481         [BZ #13738]
22482         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22483         * manual/fdl-1.3.texi: New file.
22484         * manual/fdl-1.1.texi: File removed.
22486         [BZ #13738]
22487         * manual/libc.texinfo (FDL_VERSION): New @set.
22488         Use it for mention of FDL in cover text.
22489         (Documentation License): Use it in @include file name.
22491 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22492             Roland McGrath  <roland@hack.frob.com>
22494         [BZ #5461]
22495         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22496         not LONG_LONG_MAX and LONG_LONG_MIN.
22497         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22498         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
22499         name.
22500         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22502 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22504         [BZ #2547]
22505         [BZ #11365]
22506         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22507         manipulate bits before adding and subtracting TWO23[sx].
22508         * math/libm-test.inc (nearbyint_test): Add more tests.
22510 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22512         [BZ #2548]
22513         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22514         bits before adding and subtracting TWO23[sx].
22515         * math/libm-test.inc (rint_test): Add more tests.
22516         (rint_test_tonearest): Likewise.
22517         (rint_test_towardzero): Likewise.
22518         (rint_test_downward): Likewise.
22519         (rint_test_upward: Likewise.
22521 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22523         [BZ #10110]
22524         * include/stdc-predef.h: New file.  Extracted from features.h.
22525         * include/features.h: Include stdc-predef.h.
22526         * Makefile (headers): Add stdc-predef.h.
22527         * CONFORMANCE (Compiler limitations): Update.
22529 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22531         * manual/libc.texinfo (VERSION, UPDATED): Revert.
22533 2012-02-21  David S. Miller  <davem@davemloft.net>
22535         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22536         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22538 2012-02-20  David S. Miller  <davem@davemloft.net>
22540         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22541         using a normal save/restore sequence, rather than allocating a
22542         dummy stack frame just to store a frame pointer and restore.
22543         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22545 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22547         * manual/install.texi: Fix stray word in line-wrapped comment.
22549 2012-02-20  David S. Miller  <davem@davemloft.net>
22551         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22552         both binutils and gcc support GOTDATA.
22554         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22555         "rd %pc" in the PIC register setup sequences.
22557         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22558         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22559         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22560         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22561         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22562         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22563         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22564         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22566         (SYSCALL_ERROR_HANDLER): Likewise.
22567         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22568         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22569         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22570         (SYSCALL_ERROR_HANDLER): Likewise.
22572         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22573         (HAVE_GCC_GOTDATA): New.
22574         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22575         relocation support in both binutils and gcc.
22576         * sysdeps/sparc/elf/configure: Regenerate.
22578         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22579         * sysdeps/sparc/sparc32/elf/configure: Delete.
22580         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22581         * sysdeps/sparc/sparc64/elf/configure: Delete.
22582         * sysdeps/sparc/elf/configure.in: New file.
22583         * sysdeps/sparc/elf/configure: Generate.
22585         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22586         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22587         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22588         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22589         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22591 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22593         * manual/install.texi: Do not mention specific glibc version
22594         numbers.
22595         * manual/libc.texinfo (VERSION, UPDATED): Update.
22596         (@copying): Use @copyright{} and range of years.
22598 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22600         [BZ #13695]
22601         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22602         [crti.S not in sysdirs] (generated): Do not append.
22603         [crti.S not in sysdirs] (omit-deps): Likewise.
22604         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22605         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22606         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22607         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22608         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22609         Likewise.
22610         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22611         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22612         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22613         * csu/defs.awk: Remove file.
22614         * sysdeps/generic/initfini.c: Likewise.
22615         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22616         variable.
22617         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22618         Likewise.
22620 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22622         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22623         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22624         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22625         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22626         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22627         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22628         <bits/epoll.h>.
22629         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22630         (__EPOLL_PACKED): Define to empty if not defined by
22631         <bits/epoll.h>.
22632         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22634         bits/epoll.h.
22636 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22638         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22639         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22640         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22641         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22642         <bits/timerfd.h>.
22643         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22645         bits/timerfd.h.
22647 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22649         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22650         in C locale.
22651         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22652         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22653         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22656 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
22658         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22659         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22661 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
22663         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22664         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22665         defined.
22666         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22667         Likewise.
22668         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22669         entry for 2.16.
22671 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
22673         * math/w_acos.c: Use non-signaling floating-point comparisons.
22674         * math/w_acosf.c: Likewise.
22675         * math/w_acosh.c: Likewise.
22676         * math/w_acoshf.c: Likewise.
22677         * math/w_acoshl.c: Likewise.
22678         * math/w_acosl.c: Likewise.
22679         * math/w_asin.c: Likewise.
22680         * math/w_asinf.c: Likewise.
22681         * math/w_asinl.c: Likewise.
22682         * math/w_atanh.c: Likewise.
22683         * math/w_atanhf.c: Likewise.
22684         * math/w_atanhl.c: Likewise.
22685         * math/w_exp2.c: Likewise.
22686         * math/w_exp2f.c: Likewise.
22687         * math/w_exp2l.c: Likewise.
22688         * math/w_j0.c: Likewise.
22689         * math/w_j0f.c: Likewise.
22690         * math/w_j0l.c: Likewise.
22691         * math/w_j1.c: Likewise.
22692         * math/w_j1f.c: Likewise.
22693         * math/w_j1l.c: Likewise.
22694         * math/w_jn.c: Likewise.
22695         * math/w_jnf.c: Likewise.
22696         * math/w_log.c: Likewise.
22697         * math/w_log10.c: Likewise.
22698         * math/w_log10f.c: Likewise.
22699         * math/w_log10l.c: Likewise.
22700         * math/w_log2.c: Likewise.
22701         * math/w_log2f.c: Likewise.
22702         * math/w_log2l.c: Likewise.
22703         * math/w_logf.c: Likewise.
22704         * math/w_logl.c: Likewise.
22705         * math/w_sqrt.c: Likewise.
22706         * math/w_sqrtf.c: Likewise.
22707         * math/w_sqrtl.c: Likewise.
22708         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22709         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22710         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22711         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22712         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22714 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
22716         [BZ #9739]
22717         * manual/string.texi (strnlen): Use correct parameter name in
22718         equivalent expression.
22720 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
22722         [BZ #11174]
22723         * manual/users.texi (seteuid): Consistently use neweuid for
22724         argument name.
22726 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
22728         [BZ #13704]
22729         * manual/nss.texi (Services in the NSS configuration): Correct
22730         list of services in example configuration file.
22732 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
22734         [BZ #11322]
22735         * manual/arith.texi: Remove statements about negative zero
22736         behaving identically to zero.
22738 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
22740         [BZ #5993]
22741         * manual/install.texi: Do not document upgrading from libc5.
22743 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
22745         [BZ #4596]
22746         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22748 2012-02-18  David S. Miller  <davem@davemloft.net>
22750         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22751         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22752         %o7 across the call.
22753         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22754         instead.
22755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22756         SETUP_PIC_REG_LEAF.
22757         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22758         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22759         * sysdeps/sparc/crtn.S: Likewise.
22761 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
22763         * aout/Makefile: Remove.
22765 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
22767         [BZ #13058]
22768         * manual/examples/argp-ex1.c (main): Format definition in GNU
22769         style.
22770         * manual/examples/argp-ex2.c (main): Likewise.
22771         * manual/examples/argp-ex3.c (main): Likewise.
22772         * manual/examples/argp-ex4.c (main): Likewise.
22773         * manual/examples/longopt.c (main): Use new-style prototype
22774         definition.
22775         * manual/examples/strncat.c (main): Specify return type and use
22776         (void) for arguments.
22777         * manual/examples/subopt.c (main): Use char **argv argument.
22779 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22781         [BZ #5077]
22782         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22783         rounding modes.
22785 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
22787         [BZ #6907]
22788         * manual/string.texi (strchr): Change when strchrnul is
22789         recommended.
22791 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
22793         [BZ #174]
22794         * manual/locale.texi (setlocale): Document LOCPATH.
22796 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22798         [BZ #10210]
22799         * manual/process.texi (execle): Move @dots{} before last argument.
22801 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
22803         [BZ #12047]
22804         * manual/charset.texi (Generic Charset Conversion): Fix typo
22805         (LC_TYPE -> LC_CTYPE).
22807 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
22809         [BZ #5805]
22810         * manual/arith.texi (scalbn): Use @var{} on parameter names.
22811         (scalbnf): Likewise.
22812         (scalbnl): Likewise.
22813         (scalbln): Likewise.
22814         (scalblnf): Likewise.
22815         (scalblnl): Likewise.
22816         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22817         (vwarnx): Likewise.
22818         (verr): Likewise.
22819         (verrx): Likewise.
22820         * manual/filesys.texi (telldir): Use braces around return type.
22821         * manual/llio.texi (mmap): Add space after comma.
22822         (mmap64): Likewise.
22823         * manual/math.texi (jn): Use @var{} on parameter names.
22824         (jnf): Likewise.
22825         (jnl): Likewise.
22826         (yn): Likewise.
22827         (ynf): Likewise.
22828         (ynl): Likewise.
22829         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22830         line.
22831         * manual/resource.texi (ulimit): Use @dots{} instead of literal
22832         "...".
22833         (sched_get_priority_min): Remove semicolon on @deftypefun line.
22834         (sched_get_priority_max): Likewise.
22835         * manual/signal.texi (sigvec): Add space after comma.
22836         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22837         names.
22838         (if_indextoname): Likewise.
22839         (if_freenameindex): Likewise.
22840         (sendto): Use ',' instead of '.' in prototype.
22841         * manual/startup.texi (syscall): Use @dots{} instead of literal
22842         "...".
22843         * manual/stdio.texi (__fpending): Separate initial words of
22844         paragraph from @deftypefun line.
22845         * manual/syslog.texi (syslog): Use @dots{} instead of literal
22846         "...".
22847         (vsyslog): Use @var{} on parameter names.
22848         * manual/terminal.texi (stty): Use @var{} on parameter names.
22849         * manual/users.texi (getutmp): Use @var{} on parameter names.
22850         (getutmpx): Likewise.
22852 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22854         [BZ #6884]
22855         * manual/stdio.texi (fopen): Fix typos in description of
22856         ",ccs=STRING".
22858 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
22860         [BZ #4026]
22861         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22862         get clock_id definition.
22864 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
22866         [BZ #4822]
22867         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22868         (madvise): Cast every argument to void on its own.
22870 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22872         [BZ #9902]
22873         * manual/startup.texi (Exit Status): Fix typo.
22875 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
22877         [BZ #10140]
22878         * manual/examples/argp-ex1.c: Include <stdlib.h>.
22879         * manual/examples/argp-ex2.c: Likewise.
22880         * manual/examples/argp-ex3.c: Likewise.
22882 2012-02-16  Richard Henderson  <rth@redhat.com>
22884         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22885         * sysdeps/s390/s390-32/initfini.c: Remove.
22886         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22887         * sysdeps/s390/s390-64/initfini.c: Remove.
22889 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22891         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22892         compiler output for sysdeps/generic/initfini.c.
22893         * sysdeps/sh/elf/initfini.c: Remove file.
22895 2012-02-16  David S. Miller  <davem@davemloft.net>
22897         [BZ #11494]
22898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22900         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22901         * sysdeps/sparc/crti.S: New file.
22902         * sysdeps/sparc/crtn.S: New file.
22903         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22904         * sysdeps/sparc/sparc64/Makefile: Likewise.
22906 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
22908         [BZ #3335]
22909         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22911 2012-02-15  Roland McGrath  <roland@hack.frob.com>
22913         [BZ #4822]
22914         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22916         * mach/devstream.c (cookie_io_functions_t): Macro removed.
22917         (write, read, close): Likewise.
22918         Patch by Aurelien Jarno <aurelien@aurel32.net>.
22920 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
22922         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22923         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22924         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22925         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22926         <bits/signalfd.h>.
22927         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22929         bits/signalfd.h.
22931 2012-02-14  Marek Polacek  <polacek@redhat.com>
22933         * sysdeps/x86_64/crti.S: New file.
22934         * sysdeps/x86_64/crtn.S: New file.
22935         * sysdeps/x86_64/elf/initfini.c: Remove file.
22937 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
22939         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22940         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22941         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22942         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22943         <bits/inotify.h>.
22944         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22945         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22946         bits/inotify.h.
22948 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
22950         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22951         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22952         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22953         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22954         <bits/eventfd.h>.
22955         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22957         bits/eventfd.h.
22959 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
22961         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22962         __feraiseexcept instead of feraiseexcept.
22964         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22965         nanosleep invocations.
22966         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22967         strings, and add error checking for a nanosleep invocations.
22969 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
22971         Replace FSF snail mail address with URLs, as per GNU coding standards.
22972         Most of the snail mail addresses were wrong anyway, and omitting
22973         them makes the source code easier to maintain.  Almost all of the
22974         changes are to license notices and to locale LC_IDENTIFICATION
22975         addresses, except for this one:
22976         * manual/libc.texinfo: In "Published by", give the FSF's URL,
22977         not its snail mail address.
22979 2012-02-09  Richard Henderson  <rth@twiddle.net>
22981         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22982         of kernel-features.h.
22984         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22986 2012-02-08  Marek Polacek  <polacek@redhat.com>
22988         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22989         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22990         * sysdeps/gnu/_G_config.h: Likewise.
22991         * sysdeps/generic/_G_config.h: Likewise.
22993 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
22995         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22996         tests.
22997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22999         * sysdeps/powerpc/powerpc32/crti.S: New file.
23000         * sysdeps/powerpc/powerpc32/crtn.S: New file.
23001         * sysdeps/powerpc/powerpc64/crti.S: New file.
23002         * sysdeps/powerpc/powerpc64/crtn.S: New file.
23004         * Makeconfig (have-initfini): Don't set.
23005         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23006         * configure.in (nopic_initfini): Don't substitute.
23007         * config.h.in (HAVE_INITFINI): Don't #undef.
23008         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23009         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23011 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
23013         Support crti.S and crtn.S provided directly by architectures.
23014         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23015         [crti.S in sysdirs] (omit-deps): Likewise.
23016         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23017         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23018         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23019         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23020         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23021         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23022         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23023         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23024         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23025         compiler output for sysdeps/generic/initfini.c.
23026         * sysdeps/i386/elf/Makefile: Remove file.
23027         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23029 2012-02-07  Marek Polacek  <polacek@redhat.com>
23031         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23032         * sysdeps/gnu/_G_config.h: Likewise.
23033         * sysdeps/mach/hurd/_G_config.h: Likewise.
23035 2012-02-07  Marek Polacek  <polacek@redhat.com>
23037         * math/Makefile (tests): Add tst-CMPLX2.
23038         * math/tst-CMPLX2.c: New file.
23040 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
23042         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23044         * math/libm-test.inc (jn_test): Add missing L suffix.
23046 2012-02-06  Marek Polacek  <polacek@redhat.com>
23048         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23049         * sysdeps/i386/fpu/e_powf.S: Likewise.
23050         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23051         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23052         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23053         * sysdeps/i386/fpu/e_pow.S: Likewise.
23054         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23055         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23056         * sysdeps/i386/fpu/s_expm1.S: Likewise.
23057         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23058         * sysdeps/i386/fpu/e_log2.S: Likewise.
23059         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23060         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23061         * sysdeps/i386/fpu/e_powl.S: Likewise.
23062         * sysdeps/i386/fpu/s_log1p.S: Likewise.
23063         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23064         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23065         * sysdeps/i386/fpu/e_logl.S: Likewise.
23066         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23067         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23068         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23069         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23070         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23071         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23072         * sysdeps/i386/fpu/e_log.S: Likewise.
23073         * sysdeps/i386/fpu/s_cexp.S: Likewise.
23074         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23075         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23076         * sysdeps/i386/fpu/e_logf.S: Likewise.
23077         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23078         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23079         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23080         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23081         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23082         * sysdeps/i386/fpu/e_log10.S: Likewise.
23083         * sysdeps/i386/fpu/s_frexp.S: Likewise.
23084         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23085         * sysdeps/i386/fpu/s_asinh.S: Likewise.
23086         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23087         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23088         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23089         * sysdeps/i386/asm-syntax.h: Likewise.
23090         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23091         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23092         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23093         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23094         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23095         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23096         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23097         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23098         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23099         * sysdeps/powerpc/sysdep.h: Likewise.
23100         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23101         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23103 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
23105         [BZ #411]
23106         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23108 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
23110         * sysdeps/i386/sysdep.h: Include <features.h>.
23111         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23112         version.
23114 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
23116         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23117         Define.
23118         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23119         LOAD_PIC_REG_STR.
23121 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23123         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23124         (SETUP_PIC_REG): Use GET_PC_THUNK.
23125         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23126         macro.
23128 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23130         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23131         for non-PIC compilation.
23132         (SETUP_PIC_REG): Add .p2align directive.
23133         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23134         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23135         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23136         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23137         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23138         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23139         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23140         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23141         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23142         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23143         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23144         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23145         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23146         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23147         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23148         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23149         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23150         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23151         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23152         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23153         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23154         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23155         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23156         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23157         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23158         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23159         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23160         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23161         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23162         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23163         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23164         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23165         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23166         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23167         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23168         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23169         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23170         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23171         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23172         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23173         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23175 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23177         * math/tst-CMPLX.c: Include <stdio.h>.
23179 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
23181         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23182         float.
23183         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23184         * sysdeps/sparc/bits/mathdef.h: Likewise.
23186 2012-01-31  Marek Polacek  <polacek@redhat.com>
23188         * libio/libio.h: Don't define _PARAMS.
23189         * locale/programs/config.h: Don't define PARAMS.
23190         * stdlib/strtol_l.c: Likewise.
23191         (__strtol_l): Remove PARAMS from the prototype.
23193 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
23195         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
23196         names.  Just use the correct names.  Remove unnecessary wrapper
23197         functions.
23198         * malloc/arena.c: Likewise.
23199         * malloc/hooks.c: Likewise.
23201         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23202         ARENA_TEST says not to.  Simplify test for creation of a new arena.
23203         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23205 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
23207         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23208         into tail calls.
23209         (update_get_addr): New function.
23210         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23211         GET_ADDR_MODULE parameter.
23213 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23215         * crypt/cert.c: Remove __STDC__ conditionals.
23216         * crypt/crypt-entry.c: Likewise.
23217         * crypt/crypt_util.c: Likewise.
23218         * libio/filedoalloc.c: Likewise.
23219         * libio/fileops.c: Likewise.
23220         * libio/genops.c: Likewise.
23221         * libio/iofclose.c: Likewise.
23222         * libio/iofdopen.c: Likewise.
23223         * libio/iofopen.c: Likewise.
23224         * libio/iofopen64.c: Likewise.
23225         * libio/iogetdelim.c: Likewise.
23226         * libio/iopopen.c: Likewise.
23227         * libio/obprintf.c: Likewise.
23228         * libio/oldfileops.c: Likewise.
23229         * libio/oldiofclose.c: Likewise.
23230         * libio/oldiofdopen.c: Likewise.
23231         * libio/oldiofopen.c: Likewise.
23232         * libio/oldiopopen.c: Likewise.
23233         * libio/wfiledoalloc.c: Likewise.
23234         * libio/wgenops.c: Likewise.
23235         * locale/programs/xmalloc.c: Likewise.
23236         * misc/syslog.c: Likewise.
23237         * stdio-common/xbug.c: Likewise.
23238         * string/memchr.c: Likewise.
23239         * string/memcmp.c: Likewise.
23240         * string/memrchr.c: Likewise.
23241         * string/rawmemchr.c: Likewise.
23242         * sysdeps/posix/getcwd.c: Likewise.
23243         * time/strftime_l.c: Likewise.
23245 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23247         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23248         * config.make.in (config-cflags-sse2avx): Define.
23249         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23250         Fix typo.
23252 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
23254         * scripts/config.guess: Update from upstream config git repository.
23255         * scripts/config.sub: Likewise.
23257 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
23259         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23260         (EM_NUM): Update.
23261         (R_TILEPRO_*, R_TILEGX_*): New macros.
23263         * scripts/firstversions.awk: Fix bug in version range handling.
23265         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23267         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23269         * include/sys/epoll.h: New file.
23270         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23271         libc_hidden_def.
23273 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
23275         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23276         Avoid unnecessary __WORDSIZE == 64 test.
23277         (fmaxf): Use VEX format if possible.
23278         (fmax): Likewise.
23279         (fminf): Likewise.
23280         (fmin): Likewise.
23282         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23283         * math/math_private.h: Remove libc_fegetround* and
23284         libc_fesetround*.
23285         * sysdeps/i386/configure.in: Check for -msse2avx.
23286         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23287         also if SSE2AVX is defined.
23288         Remove libc_fegetround* and libc_fesetround*.
23289         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23290         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
23291         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23292         of HAS_YMM_USABLE.
23293         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23294         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23295         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23296         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23297         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23299         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23301 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23303         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23304         size is not set.
23305         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23307 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
23309         [BZ #13618]
23310         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23311         relocation.
23312         * Makeconfig (libm): Define.
23313         * elf/Makefile: Add rules to build and run tst-relsort1.
23314         * elf/tst-relsort1.c: New file.
23315         * elf/tst-relsort1mod1.c: New file.
23316         * elf/tst-relsort1mod2.c: New file.
23318 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
23320         * math/s_ldexp.c: Remove __STDC__ conditionals.
23321         * math/s_ldexpf.c: Likewise.
23322         * math/s_ldexpl.c: Likewise.
23323         * math/s_nextafter.c: Likewise.
23324         * math/s_nexttowardf.c: Likewise.
23325         * math/s_significand.c: Likewise.
23326         * math/s_significandf.c: Likewise.
23327         * math/s_significandl.c: Likewise.
23328         * math/w_jnl.c: Likewise.
23329         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23330         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23331         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23332         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23333         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23334         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23335         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23336         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23337         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23338         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23339         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23340         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23341         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23342         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23343         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23344         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23345         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23346         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23347         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23348         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23349         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23350         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23351         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23352         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23353         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23354         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23355         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23356         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23357         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23358         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23359         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23360         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23361         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23362         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23363         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23364         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23365         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23366         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23367         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23368         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23369         * sysdeps/ieee754/k_standard.c: Likewise.
23370         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23371         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23372         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23373         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23374         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23375         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23376         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23377         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23378         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23379         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23380         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23381         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23382         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23383         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23384         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23385         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23386         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23387         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23388         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23389         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23390         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23391         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23392         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23393         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23394         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23395         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23396         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23397         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23398         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23399         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23400         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23401         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23402         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23403         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23404         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23405         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23406         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23407         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23408         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23409         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23410         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23412         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23413         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23414         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23415         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23416         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23417         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23418         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23419         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23420         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23421         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23422         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23423         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23424         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23425         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23426         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23427         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23428         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23429         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23430         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23431         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23432         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23433         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23434         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23435         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23436         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23437         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23438         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23439         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23440         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23441         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23442         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23443         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23444         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23445         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23446         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23447         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23448         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23449         * sysdeps/ieee754/s_matherr.c: Likewise.
23450         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23451         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23452         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23453         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23455 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
23457         * crypt/md5.h: Remove __STDC__ conditionals.
23458         * libio/libioP.h: Likewise.
23459         * locale/programs/config.h: Likewise.
23460         * sysdeps/generic/sysdep.h: Likewise.
23461         * sysdeps/i386/asm-syntax.h: Likewise.
23462         * sysdeps/s390/asm-syntax.h: Likewise.
23463         * sysdeps/unix/sysdep.h: Likewise.
23464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23467 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
23469         * libio/libio.h: Remove __STDC__ conditionals.
23470         * malloc/obstack.h: Likewise.
23471         * math/complex.h: Likewise.
23472         * math/math.h: Likewise.
23473         * sysdeps/generic/_G_config.h: Likewise.
23474         * sysdeps/gnu/_G_config.h: Likewise.
23475         * sysdeps/mach/hurd/_G_config.h: Likewise.
23476         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23477         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23478         * sysdeps/sparc/bits/mathdef.h: Likewise.
23480 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
23482         [BZ #13583]
23483         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23484         Clean up HAS_* macros.
23485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23486         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23487         possible.
23488         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23489         HAS_AVX.
23490         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23491         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23492         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23493         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23494         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23496 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
23498         * elf/tst-unique3.cc (gets): Remove declaration.
23499         * elf/tst-unique3lib.cc (gets): Likewise.
23500         * elf/tst-unique3lib2.cc (gets): Likewise.
23501         * elf/tst-unique4.cc (gets): Likewise.
23503 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
23505         * include/stdio.h: Add C++ protection.  Add gets declarations and
23506         definitions.
23507         * debug/tst-chk1.c: Don't declare gets here.
23508         * stdio-common/tst-gets.c: Likewise.
23510 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
23512         * posix/glob: Remove directory.
23514 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
23516         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23518 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
23520         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23521         of the non-standard EPFNOSUPPORT.
23523 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23525         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23526         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23527         ANYWHERE set to 1 only on KERN_NO_SPACE error.
23529 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
23531         * wcsmbs/uchar.h: Test __STDC_VERSION__.
23533 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
23535         * nscd/aicache.c (addhstaiX): Do not cache negative results of
23536         transient errors.
23537         * nscd/grpcache.c (cache_addgr): Likewise.
23538         * nscd/hstcache.c (cache_addhst): Likewise.
23539         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23540         * nscd/pwdcache.c (cache_addpw): Likewise.
23541         * nscd/servicescache.c (cache_addserv): Likewise.
23543 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
23545         * malloc/malloc.c: Various cleanups.
23546         * malloc/hooks.c: Likewise.
23548         * stdlib/Makefile (tests): Add bug-fmtmsg1.
23549         * stdlib/bug-fmtmsg1.c: New file.
23551         * stdlib/fmtmsg.c (init): Add missing unlock.
23552         Patch by Peng Haitao <penght@cn.fujitsu.com>.
23554 2012-01-12  Marek Polacek  <polacek@redhat.com>
23556         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23557         and _GNU_SOURCE.
23559 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23561         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23562         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23563         macro to ensure uniqueness of label name.
23564         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23565         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23567 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
23569         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23571         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23572         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23573         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23574         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23576 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
23578         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23580         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23581         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23582         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23584         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23586         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23587         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23588         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23589         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23591         * math/bits/math-finite.h: Add ldexp support.
23593 2012-01-10  Marek Polacek  <polacek@redhat.com>
23595         * locale/programs/localedef.h (show_archive_content): Add noreturn
23596         attribute.
23598 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
23600         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23602 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23604         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23606         * io/Makefile (headers): Add bits/poll2.h.
23608 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
23610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23611         typo #include statement.
23613 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23615         * include/sys/cdefs.h: Define __attribute_alloc_size.
23616         * catgets/gencat.c: Add alloc_size attribute and apply consistently
23617         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23618         * elf/pldd.c: Likewise.
23619         * iconv/iconv_charmap.c: Likewise.
23620         * iconv/iconvconfig.c: Likewise.
23621         * iconv/strtab.c: Likewise.
23622         * locale/programs/locale.c: Likewise.
23623         * locale/programs/localedef.h: Likewise.
23624         * locale/programs/simple-hash.c: Likewise.
23625         * nscd/nscd.h: Likewise.
23626         * nss/makedb.c: Likewise.
23627         * sysdeps/generic/ldconfig.h: Likewise.
23628         * locale/programs/localedef.c: Remove xmalloc prototype.
23629         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23631 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23633         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23634         appropriate.
23636 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23638         * math/Makefile (tests): Add tst-CMPLX.
23639         * math/tst-CMPLX.c: New file.
23641         * math/complex.h (CMPLXL): Fix typo.
23643         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23644         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23645         GLIBC_2.16.
23646         * debug/tst-chk1.c: Add poll and ppoll tests.
23647         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23648         * include/sys/poll.h: Add hidden proto for ppoll.
23649         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23650         * sysdeps/mach/hurd/ppoll.c: Likewise.
23651         * io/ppoll.c: Likewise.
23652         * debug/poll_chk.c: New file.
23653         * debug/ppoll_chk.c: New file.
23654         * include/bits/poll2.h: New file.
23655         * io/bits/poll2.h: New file.
23657         [BZ #1350]
23658         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23660         * configure.in: static is always set to yes.  Remove.
23661         * config.make.in: Don't set build-static.
23662         * Makeconfig: Remove use of build-static.
23663         * dlfcn/Makefile: Likewise.
23664         * elf/Makefile: Likewise.
23665         * math/Makefile: Likewise.
23666         * misc/Makefile: Likewise.
23667         * nptl/Makefile: Likewise.
23668         * sysdeps/mach/hurd/Makefile: Likewise.
23670         * configure.in: PWD_P is not used anymore.
23671         * config.make.in: Remove PWD_P entry.
23673         * configure.in: Remove last remnants of RANLIB.
23674         No need to check for signed size_t anymore.
23675         Don't set libc_commonpagesize and libc_relro_required here for Alpha
23676         and IA-64.
23677         Remove __builtin_expect test because we require at least gcc 3.4.
23678         * aclocal.m4: Likewise.
23680         * wcsmbs/mbrtoc16.c: Implement using towc function.
23681         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23682         * wcsmbs/wcsmbsload.c: Likewise.
23683         * iconv/gconv_simple.c: Likewise.
23684         * iconv/gconv_int.h: Likewise.
23685         * iconv/gconv_builtin.h: Likewise.
23686         * iconv/iconv_prog.c: Remove CHAR16 handling.
23688         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23690         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23692         * configure.in: Remove --with-elf and --enable-bounded options.
23693         Dont set base_machine for ia64.  More non-ELF conditions removed.
23694         Remove testing and setting of leading underscore information.
23695         * config.make.in (build-bounded): Set to no.
23696         * config.h.in: Remove NO_UNDERSCORES entry.
23697         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
23698         them.
23699         * csu/start.c: Remove !NO_UNDERSCORE code.
23700         * locale/localeinfo.h: Likewise.
23701         * sysdeps/generic/machine-gmon.h: Likewise.
23702         * sysdeps/generic/sysdep.h: Likewise.
23703         * sysdeps/i386/sysdep.h: Likewise.
23704         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23705         * sysdeps/mach/sysdep.h: Likewise.
23706         * sysdeps/s390/s390-32/sysdep.h: Likewise.
23707         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23708         * sysdeps/sh/sysdep.h: Likewise.
23709         * sysdeps/sparc/sparc32/alloca.S: Likewise.
23710         * sysdeps/unix/i386/sysdep.S: Likewise.
23711         * sysdeps/unix/sparc/start.c: Likewise.
23712         * sysdeps/unix/sparc/sysdep.S: Likewise.
23713         * sysdeps/unix/sparc/sysdep.h: Likewise.
23714         * sysdeps/unix/start.c: Likewise.
23715         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23716         * sysdeps/x86_64/sysdep.h: Likewise.
23718 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
23720         [BZ #13553]
23721         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23722         for non-gcc.
23723         * argp/argp-fmtstream.h: Use const instead __const.
23724         * argp/argp.h: Likewise.
23725         * assert/assert.h: Likewise.
23726         * bits/fenv.h: Likewise.
23727         * bits/sched.h: Likewise.
23728         * bits/sigset.h: Likewise.
23729         * bits/sigthread.h: Likewise.
23730         * catgets/nl_types.h: Likewise.
23731         * conform/data/pthread.h-data: Likewise.
23732         * crypt/crypt-private.h: Likewise.
23733         * crypt/crypt.h: Likewise.
23734         * crypt/crypt_util.c: Likewise.
23735         * ctype/ctype.h: Likewise.
23736         * debug/execinfo.h: Likewise.
23737         * debug/mbsnrtowcs_chk.c: Likewise.
23738         * debug/mbsrtowcs_chk.c: Likewise.
23739         * debug/wcsnrtombs_chk.c: Likewise.
23740         * debug/wcsrtombs_chk.c: Likewise.
23741         * debug/wcstombs_chk.c: Likewise.
23742         * dirent/dirent.h: Likewise.
23743         * dlfcn/dlfcn.h: Likewise.
23744         * elf/neededtest4.c: Likewise.
23745         * grp/grp.h: Likewise.
23746         * gshadow/gshadow.h: Likewise.
23747         * iconv/gconv.h: Likewise.
23748         * iconv/gconv_int.h: Likewise.
23749         * iconv/gconv_simple.c: Likewise.
23750         * iconv/iconv.h: Likewise.
23751         * iconv/loop.c: Likewise.
23752         * iconv/skeleton.c: Likewise.
23753         * include/aio.h: Likewise.
23754         * include/aliases.h: Likewise.
23755         * include/argz.h: Likewise.
23756         * include/arpa/inet.h: Likewise.
23757         * include/assert.h: Likewise.
23758         * include/dirent.h: Likewise.
23759         * include/dlfcn.h: Likewise.
23760         * include/execinfo.h: Likewise.
23761         * include/fcntl.h: Likewise.
23762         * include/fenv.h: Likewise.
23763         * include/glob.h: Likewise.
23764         * include/grp.h: Likewise.
23765         * include/libintl.h: Likewise.
23766         * include/mntent.h: Likewise.
23767         * include/netdb.h: Likewise.
23768         * include/pwd.h: Likewise.
23769         * include/rpc/netdb.h: Likewise.
23770         * include/sched.h: Likewise.
23771         * include/search.h: Likewise.
23772         * include/shadow.h: Likewise.
23773         * include/signal.h: Likewise.
23774         * include/stdio.h: Likewise.
23775         * include/stdlib.h: Likewise.
23776         * include/string.h: Likewise.
23777         * include/sys/socket.h: Likewise.
23778         * include/sys/stat.h: Likewise.
23779         * include/sys/statfs.h: Likewise.
23780         * include/sys/statvfs.h: Likewise.
23781         * include/sys/syslog.h: Likewise.
23782         * include/sys/time.h: Likewise.
23783         * include/sys/uio.h: Likewise.
23784         * include/time.h: Likewise.
23785         * include/unistd.h: Likewise.
23786         * include/utmp.h: Likewise.
23787         * include/wchar.h: Likewise.
23788         * include/wctype.h: Likewise.
23789         * inet/aliases.h: Likewise.
23790         * inet/arpa/inet.h: Likewise.
23791         * inet/netinet/ether.h: Likewise.
23792         * inet/netinet/in.h: Likewise.
23793         * intl/libintl.h: Likewise.
23794         * io/bits/fcntl2.h: Likewise.
23795         * io/fcntl.h: Likewise.
23796         * io/ftw.h: Likewise.
23797         * io/sys/poll.h: Likewise.
23798         * io/sys/stat.h: Likewise.
23799         * io/sys/statfs.h: Likewise.
23800         * io/sys/statvfs.h: Likewise.
23801         * io/utime.h: Likewise.
23802         * libio/bits/stdio.h: Likewise.
23803         * libio/bits/stdio2.h: Likewise.
23804         * libio/libio.h: Likewise.
23805         * libio/libioP.h: Likewise.
23806         * libio/stdio.h: Likewise.
23807         * locale/lc-ctype.c: Likewise.
23808         * locale/locale.h: Likewise.
23809         * login/utmp.h: Likewise.
23810         * malloc/arena.c: Likewise.
23811         * malloc/malloc.c: Likewise.
23812         * malloc/malloc.h: Likewise.
23813         * malloc/mcheck.c: Likewise.
23814         * malloc/mtrace.c: Likewise.
23815         * math/bits/mathcalls.h: Likewise.
23816         * math/fenv.h: Likewise.
23817         * math/math_private.h: Likewise.
23818         * misc/bits/error.h: Likewise.
23819         * misc/bits/syslog.h: Likewise.
23820         * misc/err.h: Likewise.
23821         * misc/error.h: Likewise.
23822         * misc/fstab.h: Likewise.
23823         * misc/mntent.h: Likewise.
23824         * misc/regexp.h: Likewise.
23825         * misc/search.h: Likewise.
23826         * misc/sgtty.h: Likewise.
23827         * misc/sys/mman.h: Likewise.
23828         * misc/sys/syslog.h: Likewise.
23829         * misc/sys/uio.h: Likewise.
23830         * misc/sys/xattr.h: Likewise.
23831         * misc/ttyent.h: Likewise.
23832         * nis/rpcsvc/ypclnt.h: Likewise.
23833         * nss/nss.h: Likewise.
23834         * posix/bits/unistd.h: Likewise.
23835         * posix/fnmatch.h: Likewise.
23836         * posix/glob.h: Likewise.
23837         * posix/sched.h: Likewise.
23838         * posix/spawn.h: Likewise.
23839         * posix/sys/wait.h: Likewise.
23840         * posix/unistd.h: Likewise.
23841         * posix/wordexp.h: Likewise.
23842         * pwd/pwd.h: Likewise.
23843         * resolv/netdb.h: Likewise.
23844         * resource/sys/resource.h: Likewise.
23845         * rt/aio.h: Likewise.
23846         * rt/bits/mqueue2.h: Likewise.
23847         * rt/mqueue.h: Likewise.
23848         * shadow/shadow.h: Likewise.
23849         * signal/signal.h: Likewise.
23850         * socket/send.c: Likewise.
23851         * socket/sendto.c: Likewise.
23852         * socket/sys/socket.h: Likewise.
23853         * stdio-common/printf.h: Likewise.
23854         * stdlib/bits/stdlib.h: Likewise.
23855         * stdlib/fmtmsg.h: Likewise.
23856         * stdlib/monetary.h: Likewise.
23857         * stdlib/stdlib.h: Likewise.
23858         * stdlib/ucontext.h: Likewise.
23859         * streams/stropts.h: Likewise.
23860         * string/argz.h: Likewise.
23861         * string/bits/string2.h: Likewise.
23862         * string/string.h: Likewise.
23863         * string/strings.h: Likewise.
23864         * sunrpc/rpc/auth.h: Likewise.
23865         * sunrpc/rpc/auth_des.h: Likewise.
23866         * sunrpc/rpc/clnt.h: Likewise.
23867         * sunrpc/rpc/netdb.h: Likewise.
23868         * sunrpc/rpc/pmap_clnt.h: Likewise.
23869         * sunrpc/rpc/xdr.h: Likewise.
23870         * sysdeps/generic/inttypes.h: Likewise.
23871         * sysdeps/generic/net/if.h: Likewise.
23872         * sysdeps/generic/sys/swap.h: Likewise.
23873         * sysdeps/gnu/net/if.h: Likewise.
23874         * sysdeps/gnu/utmpx.h: Likewise.
23875         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23876         * sysdeps/i386/i486/bits/string.h: Likewise.
23877         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23878         * sysdeps/s390/bits/string.h: Likewise.
23879         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23880         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23881         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23882         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23883         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23884         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23885         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23886         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23887         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23888         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23889         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23890         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23891         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23892         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23893         * sysdeps/unix/sysv/linux/readv.c: Likewise.
23894         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23895         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23896         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23897         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23898         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23899         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23900         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23901         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23902         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23903         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23904         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23905         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23906         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23907         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23908         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23909         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23910         * sysvipc/sys/ipc.h: Likewise.
23911         * sysvipc/sys/msg.h: Likewise.
23912         * sysvipc/sys/sem.h: Likewise.
23913         * sysvipc/sys/shm.h: Likewise.
23914         * termios/termios.h: Likewise.
23915         * time/sys/time.h: Likewise.
23916         * time/time.h: Likewise.
23917         * wcsmbs/bits/wchar2.h: Likewise.
23918         * wcsmbs/uchar.h: Likewise.
23919         * wcsmbs/wchar.h: Likewise.
23920         * wctype/wctype.h: Likewise.
23922         [BZ #13551]
23923         * Makeconfig: Remove all but ELF support including AIX support.
23924         * Makerules: Likewise.
23925         * config.h.in: Likewise.
23926         * config.make.in: Likewise.
23927         * configure: Likewise.
23928         * configure.in: Likewise.
23929         * csu/Makefile: Likewise.
23930         * csu/version.c: Likewise.
23931         * debug/Makefile: Likewise.
23932         * dlfcn/Makefile: Likewise.
23933         * elf/Makefile: Likewise.
23934         * extra-lib.mk: Likewise.
23935         * iconv/Makefile: Likewise.
23936         * include/libc-symbols.h: Likewise.
23937         * include/shlib-compat.h: Likewise.
23938         * resolv/Makefile: Likewise.
23939         * resolv/res_libc.c: Likewise.
23940         * rt/Makefile: Likewise.
23941         * sysdeps/i386/asm-syntax.h: Likewise.
23942         * sysdeps/i386/sysdep.h: Likewise.
23943         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23944         * sysdeps/mach/sysdep.h: Likewise.
23945         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23946         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23947         * sysdeps/s390/asm-syntax.h: Likewise.
23948         * sysdeps/s390/s390-32/sysdep.h: Likewise.
23949         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23950         * sysdeps/sh/sysdep.h: Likewise.
23951         * sysdeps/unix/sparc/sysdep.h: Likewise.
23952         * sysdeps/wordsize-32/divdi3.c: Likewise.
23953         * sysdeps/x86_64/sysdep.h: Likewise.
23955         * argp/Versions: Remove _argp_unlock_xxx.
23957         [BZ #13559]
23958         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
23959         * abilist/libBrokenLocale.abilist: Likewise.
23960         * abilist/libanl.abilist: Likewise.
23961         * abilist/libc.abilist: Likewise.
23962         * abilist/libcrypt.abilist: Likewise.
23963         * abilist/libdl.abilist: Likewise.
23964         * abilist/libm.abilist: Likewise.
23965         * abilist/libnsl.abilist: Likewise.
23966         * abilist/libpthread.abilist: Likewise.
23967         * abilist/libresolv.abilist: Likewise.
23968         * abilist/librt.abilist: Likewise.
23969         * abilist/libthread_db.abilist: Likewise.
23970         * abilist/libutil.abilist: Likewise.
23971         * abilist/libnss_db.abilist: New file.
23973         * scripts/abilist.awk: Add support for indirect functions.
23975         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23977         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23979         * shlib-versions: Remove entries for ports architectures.
23981         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
23982         files in ports.
23983         * elf/stackguard-macros.h: Remove support for IA-64.
23984         * elf/tst-auditmod1.c: Likewise.
23985         * sysdeps/generic/ldsodefs.h: Likewise.
23987         * sysdeps/unix/sysv/linux/configure.in: Ports should define
23988         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23989         configure files.
23991         [BZ #13552]
23992         * configure.in: Remove --enable-omitfp support.
23993         * FAQ.in: Adjust.
23994         * config.make.in: Likewise.
23995         * Makeconfig: Likewise.
23996         * manual/install.texi: Likewise.
23998         In case anyone cares, the IA-64 architecture could move to ports.
23999         * sysdeps/ia64/*: Removed.
24000         * sysdeps/unix/sysv/linux/ia64/*: Removed.
24001         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24003         [BZ #13555]
24004         * configure.in: Remove entries for unsupported architectures.
24006         [BZ #13533]
24007         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24008         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
24009         routines.
24010         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24011         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24012         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
24013         fall back to using wcrtomb.
24014         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24015         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
24016         renaming.
24017         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24018         * wcsmbs/tst-c16c32-1.c: New file.
24020         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24021         local variable.
24023         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24025         * elf/tst-unique3.cc: Add explicit declaration of gets.
24026         * elf/tst-unique3lib.cc: Likewise.
24027         * elf/tst-unique3lib2.cc: Likewise.
24028         * elf/tst-unique4.cc: Likewise.
24030         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24032 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
24034         [BZ #13566]
24035         * assert/assert.h (static_assert): Don't define for C++.
24036         * libio/stdio.h (gets): Do declare for C++ <= C++11.
24037         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24039 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
24041         * iconv/loop.c (single loop): Fix assertion in storing of
24042         remaining bytes.
24044         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24046 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
24048         * posix/getconf.c: Update copyright year.
24049         * nss/getent.c: Likewise.
24050         * nss/makedb.c: Likewise.
24051         * iconv/iconvconfig.c: Likewise.
24052         * iconv/iconv_prog.c: Likewise.
24053         * elf/ldconfig.c: Likewise.
24054         * elf/pldd.c: Likewise.
24055         * elf/sotruss.ksh: Likewise.
24056         * catgets/gencat.c: Likewise.
24057         * csu/version.c: Likewise.
24058         * elf/ldd.bash.in: Likewise.
24059         * elf/sprof.c (print_version): Likewise.
24060         * locale/programs/locale.c: Likewise.
24061         * locale/programs/localedef.c: Likewise.
24062         * login/programs/pt_chown.c: Likewise.
24063         * nscd/nscd.c (print_version): Likewise.
24064         * debug/xtrace.sh: Likewise.
24065         * malloc/memusage.sh: Likewise.
24066         * malloc/mtrace.pl: Likewise.
24067         * debug/catchsegv.sh: Likewise.
24069 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
24071         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24072         pure attribute.
24074 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
24076         [BZ #13533]
24077         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24078         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24079         transformations.
24080         * iconv/gconv_int.h: Likewise.
24081         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24082         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24083         from libc for GLIBC_2.16.
24084         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24085         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24086         * wcsmbs/uchar.h: Really define mbstate_t.
24087         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24088         * wcsmbs/c16rtomb.c: New file.
24089         * wcsmbs/mbrtoc16.c: New file.
24090         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24091         for C/POSIX locale.
24092         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24093         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24095         * wcsmbs/wchar.h: Add missing __restrict.
24097 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
24099         [BZ #13532]
24100         * time/Makefile (routines): Add timespec_get.
24101         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24102         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
24103         timespec for ISO C11.
24104         * time/timespec_get.c: New file.
24105         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24106         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24108         [BZ #13531]
24109         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24110         * stdlib/stdlib.h: Declare aligned_alloc.
24111         * Versions.def: Add GLIBC_2.16 for libc.
24112         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24114         [BZ 13527]
24115         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24116         ISO C11.
24118         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24119         code.
24121         [BZ #13528]
24122         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24124         [BZ #13529]
24125         * assert/assert.h (static_assert): Define.
24127         * version.h: Update for 2.16 development version.
24129         [BZ #13526]
24130         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24131         _ISOC11_SOURCE.
24133         * version.h (RELEASE): Bump for 2.15 release.
24134         * include/features.h (__GLIBC_MINOR__): Bump to 15.
24136         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24137         Patch by Marek Polacek <mpolacek@redhat.com>.
24139         * bits/byteswap.h: Protect long long constants with __extension__.
24140         * sysdeps/i386/bits/byteswap.h: Likewise.
24141         * sysdeps/ia64/bits/byteswap.h: Likewise.
24142         * sysdeps/s390/bits/byteswap.h: Likewise.
24143         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24145 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24147         [BZ #13540]
24148         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24149         destination buffer.
24150         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24152 2011-12-23  Marek Polacek  <polacek@redhat.com>
24154         * elf/dl-addr.c (determine_info): Add inline keyword.
24155         * elf/tst-auditmod4b.c (check_avx): Likewise.
24156         * elf/tst-auditmod6b.c (check_avx): Likewise.
24157         * elf/tst-auditmod6c.c (check_avx): Likewise.
24158         * elf/tst-auditmod7b.c (check_avx): Likewise.
24160 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
24162         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24163         !__SSE_MATH__.
24165 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24167         [BZ #13540]
24168         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24169         processing for last bytes.
24171 2011-08-06  Bruno Haible  <bruno@clisp.org>
24173         [BZ #13061]
24174         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24175         U+0385, not to U+1FEE.
24177         [BZ #13062]
24178         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24179         entry for U+00A5 U+0301.
24181 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24183         [BZ #13166]
24184         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24185         buffer for the output is too small.
24187         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24188         optimization.
24190         [BZ #13185]
24191         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24192         SSE flags if possible.
24194 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24196         [BZ #13540]
24197         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24198         processing for last bytes.
24200 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
24202         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24203         (syscall-list-default-options, syscall-list-default-condition)
24204         (syscall-list-includes): Define.
24205         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24206         list of ABIs and options and #if conditions for each ABI.  Do not
24207         handle common syscalls between ABIs specially.
24208         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24209         Remove.
24210         (syscall-list-variants, syscall-list-32bit-options)
24211         (syscall-list-32bit-condition, syscall-list-64bit-options)
24212         (syscall-list-64bit-condition): Define.
24213         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24214         (syscall-list-variants, syscall-list-32bit-options)
24215         (syscall-list-32bit-condition, syscall-list-64bit-options)
24216         (syscall-list-64bit-condition): Define.
24217         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24218         Remove.
24219         (syscall-list-variants, syscall-list-32bit-options)
24220         (syscall-list-32bit-condition, syscall-list-64bit-options)
24221         (syscall-list-64bit-condition): Define.
24222         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24223         Remove.
24224         (syscall-list-variants, syscall-list-32bit-options)
24225         (syscall-list-32bit-condition, syscall-list-64bit-options)
24226         (syscall-list-64bit-condition): Define.
24228 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24230         * locale/iso-639.def: Add brx entry.
24232         [BZ #13328]
24233         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24234         Proposed by Mariusz_Cukr <marcukr@op.pl>.
24236         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24237         __feraiseexcept_renamed.
24239 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24241         [BZ #13538]
24242         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24243         EPOLLET with unsigned values.
24244         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24245         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24247         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24248         to large cancellation.
24249         * math/s_cacoshf.c: Likewise.
24250         * math/s_cacoshl.c: Likewise.
24252 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
24254         [BZ #13305]
24255         [BZ #12786]
24256         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24257         * math/s_cacoshf.c: Likewise.
24258         * math/s_cacoshl.c: Likewise.
24260 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24262         [BZ #13439]
24263         * iconv/gconv.h: Define __GCONV_SWAP.
24264         * iconvdata/unicode.c: The swap bit must be stored in __flags.
24265         * iconvdata/utf-16.c: Likewise.
24266         * iconvdata/utf-32.c: Likewise.
24268 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24270         [BZ #13524]
24271         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24272         numerator after shifting it by one limb.
24274 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
24276         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24277         under [__USE_EXTERN_INLINES].
24279 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24281         [BZ #13446]
24282         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24284 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24286         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24287         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24288         optimized code.
24289         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24290         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24291         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24292         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24293         for strncasecmp/strncasecmp_l compilation.
24294         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24295         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24297 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
24299         [BZ #13484]
24300         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24301         of __asm__.
24303 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24305         [BZ #13506]
24306         * time/tzfile.c (__tzfile_read): Check values from file header.
24308 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24310         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24311         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24312         * powerpc/powerpc32/dl-start.S: Likewise.
24313         * powerpc/powerpc32/elf/start.S: Likewise.
24314         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24315         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24316         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24317         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24318         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24319         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24320         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24321         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24322         * powerpc/powerpc32/fpu/s_round.S: Likewise.
24323         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24324         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24325         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24326         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24327         * powerpc/powerpc32/memset.S: Likewise.
24328         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24329         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24330         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24331         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24332         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24333         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24334         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24335         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24336         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24337         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24338         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24339         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24340         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24342 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24344         * math/libm-test.inc: Added more nearbyint tests.
24345         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24346         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24347         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24348         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24350 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
24352         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24353         FD_CLOEXEC.
24355 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24357         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24358         Add wcscpy-ssse3 wcscpy-c.
24359         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24360         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24361         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24362         * sysdeps/x86_64/wcschr.S: New file.
24363         * sysdeps/x86_64/wcsrchr.S: New file.
24364         * string/test-strcmp.c: Remove checking of wcscmp function for
24365         wrong alignments.
24366         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24367         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24368         wcsrchr-sse2 wcsrchr-c.
24369         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24370         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24371         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24372         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24373         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24374         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24375         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24376         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24377         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24378         * wcsmbc/wcschr.c (WCSCHR): New macro.
24380 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24382         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24383         * wcsmbs/test-wcsrchr.c: New file.
24384         * string/test-strrchr.c: Add wcsrchr support.
24385         (WIDE): New macro.
24386         * wcsmbs/test-wcscpy.c: New file.
24387         * string/test-strcpy.c: Add wcscpy support.
24388         (WIDE): New macro.
24390 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
24392         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24393         the inner loop.
24395 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
24397         [BZ #13472]
24398         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24400 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
24402         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24403         Minor optimizations.
24405         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24406         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24407         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24409 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
24411         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24412         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24413         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24414         for gcc to avoid warnings.
24415         * inet/Makefile (tests): Add tst-checks.
24416         * inet/tst-checks.c: New file.
24418         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24419         warning.
24421         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24422         __wmemcmp_sse2.
24424         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24425         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24427         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24429 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
24431         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24432         problem.
24434         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24436 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
24438         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24439         conditional on GCC version.
24440         (__arch_compare_and_exchange_val_8_acq)
24441         (__arch_compare_and_exchange_val_16_acq)
24442         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24443         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24444         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24446 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
24448         * sysdeps/sh/backtrace.c: New file.
24450 2011-12-02  Andreas Schwab  <schwab@redhat.com>
24452         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
24453         parenthesis.
24455 2011-12-01  Andreas Schwab  <schwab@redhat.com>
24457         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24458         falling back to utime.
24460 2011-11-30  Andreas Schwab  <schwab@redhat.com>
24462         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24463         expectations for float.
24465 2011-11-29  Andreas Schwab  <schwab@redhat.com>
24467         * locale/weight.h (findidx): Add parameter len.
24468         * locale/weightwc.h (findidx): Likewise.
24469         * posix/fnmatch_loop.c (FCT): Adjust caller.
24470         * posix/regcomp.c (build_equiv_class): Likewise.
24471         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24472         * posix/regexec.c (check_node_accept_bytes): Likewise.
24473         * string/strcoll_l.c (STRCOLL): Likewise.
24474         * string/strxfrm_l.c (STRXFRM): Likewise.
24476 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
24478         * Makefile.in: Remove CVSOPT handling.
24479         * configure.in: Remove use of AC_REVISION.
24480         * iconvdata/Makefile (distribute): No need to filter out CVS.
24481         * scripts/list-sources.sh: Remove CVS, subversion and monotone
24482         handling.
24484 2011-11-16  Andreas Schwab  <schwab@redhat.com>
24486         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24487         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24488         [USE_AS_STRNCASECMP_L]: Likewise.
24489         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24490         NO_TLS_DIRECT_SEG_REFS.
24491         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24492         Fix argument offsets for non-PIC.
24493         [USE_AS_STRNCASECMP_L]: Likewise.
24494         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24495         NO_TLS_DIRECT_SEG_REFS.
24497 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
24499         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24500         O_CLOEXEC.
24501         * locale/loadlocale.c (_nl_load_locale): Likewise.
24503 2011-11-15  Andreas Schwab  <schwab@redhat.com>
24505         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24506         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24507         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24508         (SYSCALL_GETTIME): Set errno on error.
24510         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24511         count references to noai6ai_cached.
24513 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
24515         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24517         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24518         FD_CLOEXEC for /proc/self/maps.
24520         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24521         FD_CLOEXEC for /proc/meminfo.
24523         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24524         gai.conf.
24526         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
24527         FD_CLOEXEC for given file.
24529         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24531         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24532         FD_CLOEXEC for /etc/hosts.
24533         (_gethtent): Likewise.
24535         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24537         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24538         cancellation and set FD_CLOEXEC for /etc/netgroup.
24540         * nss/nss_files/files-key.c (search): Don't allow cancellation when
24541         reading /etc/publickey.
24543         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24544         allow cancellation when reading /etc/group.
24546         * nss/nss_files/files-alias.c (internal_setent): Don't allow
24547         cancellation.
24548         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
24550         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24551         when using data file.
24553         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24555         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24556         (write_nis_obj): Use "c" and "e" in fopen.
24558         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24560         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24562         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24564         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24566         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24567         locale.alias.
24569         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24571         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24573         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24575         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24576         file parsing and set FD_CLOEXEC.
24578 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
24580         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24582 2011-11-14  Andreas Schwab  <schwab@redhat.com>
24584         * malloc/arena.c (arena_get2): Don't call reused_arena when
24585         _int_new_arena failed.
24587 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
24589         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24590         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24591         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24592         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24593         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24594         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24595         to compile strcasecmp and strncasecmp.
24596         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24597         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24599         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24601 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
24603         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24604         locale-defines.sym to gen-as-const-headers.
24605         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24606         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24607         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24608         to compile strcasecmp and strncasecmp.
24609         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24610         strcasecmp_l and strncasecmp_l.
24611         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24612         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24613         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24614         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24615         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24616         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24617         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24618         * sysdeps/i386/i686/multiarch/strncase.S: New file.
24619         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24620         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24621         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24623 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
24625         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24626         result of SYSDEP_GETTIME_CPU to retval.
24627         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24628         parameter list to macro.  Remove trailing semicolon.  Adjust users.
24630         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24631         variable.
24633         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24634         mantissa words.
24635         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24637         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24638         from unused variable.
24640         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24641         DWARF definitions.
24642         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24643         for assembling.
24645         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24646         over namespaces.
24648         * sunrpc/rpc_prot.c (rejected): Fix case value.
24650         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24651         unsigned long long int to avoid warnings in shift.
24653         * posix/regex_internal.c (re_string_reconstruct): Actually use result
24654         of use of trans.
24655         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24656         variable tmp.
24658         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24659         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24660         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24662         * nis/nis_table.c (nis_list): Use variable of correct type for
24663         result of __follow_path call.
24665 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24667         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24668         of math functions ceil, trunc, floor, round, and sqrt, when
24669         avaliable on the platform.
24670         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24671         name clash.
24672         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24673         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24674         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24676 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
24678         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24679         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24681 2011-11-11  Roland McGrath  <roland@hack.frob.com>
24683         * include/unistd.h: Fix __readlink return type.
24684         Reported by Chris Metcalf <cmetcalf@tilera.com>.
24686 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
24688         * stdlib/ucontext.h: Undo last change for makecontext.
24690 2011-11-11  Andreas Schwab  <schwab@redhat.com>
24692         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24694         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24695         * setjmp/setjmp.h: Mark functions as non-leaf.
24696         * setjmp/bits/setjmp2.h: Likewise.
24697         * stdlib/ucontext.h: Likewise.
24699 2011-11-10  Andreas Schwab  <schwab@redhat.com>
24701         * malloc/arena.c (_int_new_arena): Don't increment narenas.
24702         (reused_arena): Don't check arena limit.
24703         (arena_get2): Atomically check arena limit.
24705 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
24707         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24708         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24710         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24711         instructions.
24713 2011-11-07  Andreas Schwab  <schwab@redhat.com>
24715         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24716         handler when locking.
24718         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24719         Fix size of allocated buffer.
24721 2011-11-04  Andreas Schwab  <schwab@redhat.com>
24723         [BZ #10103]
24724         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24725         declarations for long double functions.
24726         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24728         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24730 2011-11-03  Andreas Schwab  <schwab@redhat.com>
24732         * nscd/nscd.c (main): Don't start AVC thread until credentials are
24733         installed.
24735         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24736         is disabled.
24738 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24740         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24742 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24744         * include/alloca.h (stackinfo_alloca_round): Define.
24745         (extend_alloca): Use it.
24746         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24747         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24748         here.
24750         * scripts/check-local-headers.sh: Ignore libaudit.h.
24752         * nscd/Makefile (extra-objs): Make recursively expanded.
24754 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
24756         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24757         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24759         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24760         * posix/tst-rfc3484-2.c: Likewise.
24761         * posix/tst-rfc3484-3.c: Likewise.
24763         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24764         process_vm_writev.
24765         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24766         process_vm_writev.
24767         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24768         process_vm_writev from libc using GLIBC_2.15 version.
24770         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24772 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
24774         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24775         stack usage.
24777 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
24779         [BZ #13367]
24780         * nss/getent.c (initgroups_keys): Show error message in case no group
24781         names are given.
24783         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24784         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24785         __bump_nl_timestamp.
24786         * nscd/connections (nscd_init): When host database is served open
24787         netlink socket and request notification about configuration changes.
24788         (main_loop_poll): Track netlink file descriptor and bump timestamp
24789         in case data becomes available.
24790         (main_loop_epoll): Likewise.
24791         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24792         (database_pers_head): Add extra_data fileds.
24793         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24794         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24795         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24796         Adjust caller.
24797         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24798         in6ai data, call __free_in6ai.
24799         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24800         Add -DHAVE_NETLINK.
24801         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
24802         interface information.  Reuse previous data if netlink timestamp
24803         is not changed.
24804         (__bump_nl_timestamp): New function.
24805         (__free_in6ai): New function.
24807 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
24809         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24810         close_not_cancel_no_status here.
24811         (__check_pf): Reorganize code a bit to not call close twice if OOM.
24813 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
24815         [BZ #13276]
24816         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24817         return value.
24819         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
24820         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24821         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24823 2011-07-03  Andreas Jaeger  <aj@suse.de>
24825         [BZ #10709]
24826         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24827         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24828         * math/libm-test.inc (sin_test): Add test case.
24830 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
24832         [BZ #13337]
24833         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24834         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24836         * elf/chroot_canon.c (chroot_canon): Cleanups.
24838         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24840         [BZ #13335]
24841         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24842         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24844         * string/test-strchr.c: Make usable for strchrnul testing.
24845         * string/test-strchrnul.c: New file.
24846         * string/Makefile (strop-tests): Add strchrnul.
24848         * po/it.po: Update from translation team.
24849         * po/es.po: Likewise.
24851 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
24853         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24854         the three constants needed as parameters.  Drop the others.
24855         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24856         __m128i_strloadu_tolower.
24857         Create and initialize variable zero and use it in all the places
24858         where _mm_setzero_si128 was used.
24860         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24861         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24862         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24863         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24864         anymore.
24865         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24866         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24867         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24868         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24869         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24870         __mpranred, __mptan.
24871         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24872         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24873         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24874         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24875         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24876         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24877         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24878         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24879         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24881 2011-10-28  Andreas Schwab  <schwab@redhat.com>
24883         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24884         redefine if SHARED.
24885         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24887         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24888         wide char related routines to wcsmbs subdir.
24890 2011-10-27  Andreas Schwab  <schwab@redhat.com>
24892         [BZ #13344]
24893         * misc/sys/cdefs.h (__THROWNL): Define.
24894         * posix/unistd.h: Use __THREADNL instead of __THREAD
24895         for memory synchronization functions.
24897 2011-10-26  Roland McGrath  <roland@hack.frob.com>
24899         [BZ #13349]
24900         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24901         doesn't exist.
24902         * manual/stdio.texi (Obstack Streams): Node removed.
24904 2011-10-26  Andreas Schwab  <schwab@redhat.com>
24906         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24907         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24908         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24910         * math/math_private.h (math_force_eval): Allow non-addressable
24911         arguments.
24912         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24914 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
24916         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24917         file is not needed.
24919         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24920         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24921         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24922         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24923         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24924         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24925         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24926         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24927         Add AVX variants.
24928         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24929         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24930         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24931         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24932         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24933         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24934         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24935         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24936         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24937         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24938         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24939         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24940         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24941         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24942         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24943         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24944         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24945         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24946         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24948         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24949         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
24951         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24952         place.  Use VEX encoding when compiling for AVX.
24954 2011-10-25  Andreas Schwab  <schwab@redhat.com>
24956         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24957         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24959         * string/test-strchr.c (do_test): Don't generate NUL bytes.
24961 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
24963         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
24964         useless if() expression.
24965         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24966         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24967         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24968         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24969         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24970         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24971         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24972         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24973         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24974         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24975         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24976         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24977         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24978         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24979         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24980         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24981         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24982         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24983         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24985         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24987 2011-10-25  Andreas Schwab  <schwab@redhat.com>
24989         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24990         condition.
24991         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24993 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
24995         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24996         .text section.  Avoid duplicate constants.
24997         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24998         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24999         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25000         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25001         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25002         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25003         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25004         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25005         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25006         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25007         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25008         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25009         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25010         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25011         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25012         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25013         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25014         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25015         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25016         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25017         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25018         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25019         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25020         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25021         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25022         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25023         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25024         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25025         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25026         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25027         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25028         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25029         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25030         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25031         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25032         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25033         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25034         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25035         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25036         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25037         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25038         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25039         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25040         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25041         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25043 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
25045         * sysdeps/x86_64/dla.h: Move to ...
25046         * sysdeps/x86_64/fpu/dla.h: ...here.
25047         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25048         situations.  Use __builtin_fma only for gcc 4.6 and up.
25050         * config.make.in: Add have-mfma4 entry.
25051         * configure.in: Substitute libc_cv_cc_fma4.
25052         * math/Makefile (dbl-only-routines): Add sincostab.
25053         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25054         Use __sincostab not sincos.
25055         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25056         name is a macro.
25057         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25058         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25059         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25060         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
25061         using __copysign.
25062         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
25063         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
25064         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25065         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25066         and __inv.
25067         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25068         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25069         __copysign.
25070         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
25071         define aliases when function name is a macro.
25072         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25073         sysdeps/ieee754/dbl-64/sincos.tbl.
25074         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25075         fma4-enabled routines.
25076         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25077         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25078         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25079         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25080         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25081         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25082         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25083         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25084         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25085         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25086         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25087         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25088         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25089         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25090         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25091         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25092         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25093         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25094         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25095         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25096         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25097         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25098         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25099         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25100         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25101         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25102         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25103         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25104         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25105         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25107         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25108         rename.
25109         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25110         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25111         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25112         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25113         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25114         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25115         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25116         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25118 2011-10-24  Andreas Schwab  <schwab@redhat.com>
25120         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25122 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25124         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25126         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25127         prediction.
25128         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25130         * string/strnlen.c: Don't define STRNLEN, reverse logic.
25131         Remove unused variable magic_bits.
25132         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25134         * string/strnlen.c: Define and use STRNLEN macro.
25135         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25136         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25137         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25138         * wcsmbs/wcslen.c: Define and use WCSLEN.
25139         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25140         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25141         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25142         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25143         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25144         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25145         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25147 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25150         strnlen-sse2-no-bsf.
25151         Rename strlen-no-bsf to strlen-sse2-no-bsf.
25152         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25153         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25154         Add strnlen support.
25155         (USE_AS_STRNLEN): New macro.
25156         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25157         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25158         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25159         * sysdeps/x86_64/wcslen.S: New file.
25161 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
25163         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25164         XMM-moves are used for copying on small sizes.
25166 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25168         * wcsmbs/Makefile (strop-tests): Add wcschr.
25169         * wcsmbs/test-wcschr.c: New file.
25170         * string/test-strchr.c: Update.
25171         Add wcschr support.
25172         (WIDE): New macro.
25174 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25176         * wcsmbs/Makefile (strop-tests): Add wcslen.
25177         * wcsmbs/test-wcslen.c: New file.
25178         * string/test-strlen.c: Update.
25179         Add wcslen support.
25180         (WIDE): New macro.
25182 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25184         * po/it.po: Update from translation team.
25186 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25188         * sysdeps/x86_64/wcscmp.S: Update.
25189         Fix wrong comparison semantics.
25190         wcscmp shall use signed comparison not unsigned.
25191         Don't use substraction to avoid overflow bug.
25192         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25193         * wcsmbc/wcscmp.c: Likewise.
25194         * string/test-strcmp.c: Likewise.
25195         Add new tests to check cases with negative values.
25197 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25199         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25200         * sysdeps/x86_64/dla.h: ...here.  New file.
25201         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25202         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25203         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25204         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25205         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25206         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25207         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25208         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25209         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25211 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
25213         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25214         __ynl_finite aliases.
25216 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25220         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25221         define DLA_FMA.
25222         [DLA_FMA] (EMULV): Use DLA_FMA.
25223         [DLA_FMA] (MUL12): Use EMULV.
25224         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25225         that are not needed.
25226         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25227         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25228         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25229         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25230         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25231         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25232         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25234 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
25236         * math/s_nan.c: Undef __nan.
25237         * math/s_nanf.c: Undef __nanf.
25238         * math/s_nanl.c: Undef __nanl.
25239         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25240         "math_private.h".
25242 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25244         * math/s_catan.c: Add branch predictions.
25245         * math/s_catanf.c: Likewise.
25246         * math/s_catanh.c: Likewise.
25247         * math/s_catanhf.c: Likewise.
25248         * math/s_catanhl.c: Likewise.
25249         * math/s_catanl.c: Likewise.
25250         * math/s_cexp.c: Likewise.
25251         * math/s_cexpf.c: Likewise.
25252         * math/s_cexpl.c: Likewise.
25253         * math/s_clog.c: Likewise.
25254         * math/s_clog10.c: Likewise.
25255         * math/s_clog10f.c: Likewise.
25256         * math/s_clog10l.c: Likewise.
25257         * math/s_clogf.c: Likewise.
25258         * math/s_clogl.c: Likewise.
25259         * math/s_csqrt.c: Likewise.
25260         * math/s_csqrtf.c: Likewise.
25261         * math/s_csqrtl.c: Likewise.
25262         * math/s_ctanf.c: Likewise.
25263         * math/s_ctanh.c: Likewise.
25264         * math/s_ctanhf.c: Likewise.
25265         * math/s_ctanhl.c: Likewise.
25266         * math/s_ctanl.c: Likewise.
25268         * math/math_private.h: Define __nan, __nanf, __nanl.
25269         * math/s_cacosh.c: Include <math_private.h>.
25270         * math/s_cacoshl.c: Likewise.
25271         * math/s_casinh.c: Likewise.
25272         * math/s_casinhf.c: Likewise.
25273         * math/s_casinhl.c: Likewise.
25274         * math/s_ccos.c: Rely entire on ccosh.
25275         * math/s_ccosf.c: Rely entire on ccoshf.
25276         * math/s_ccosl.c: Rely entirely on ccoshl.
25277         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
25278         Remove tests for FE_INVALID.
25279         * math/s_ccoshf.c: Likewise.
25280         * math/s_ccoshl.c: Likewise.
25281         * math/s_csin.c: Likewise.
25282         * math/s_csinf.c: Likewise.
25283         * math/s_csinh.c Likewise.
25284         * math/s_csinhf.c: Likewise.
25285         * math/s_csinhl.c: Likewise.
25286         * math/s_csinl.c: Likewise.
25287         * math/s_ctan.c: Likewise.
25288         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25289         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25290         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25292 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
25294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25295         compilation problems.
25297         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25298         __builtin_expect.
25300 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
25302         * sysdeps/i386/configure.in: Test for -mfma4 option.
25303         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25304         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25305         COMMON_CPUID_INDEX_80000001.
25306         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25307         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25308         use it if FMA3 is not supported.
25309         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25311         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25312         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25314 2011-10-20  Andreas Schwab  <schwab@redhat.com>
25316         [BZ #12892]
25317         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25318         it would create a cycle with a link time dependency.
25320 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
25322         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25323         instruction.
25324         * string/Makefile (strop-tests): Add rawmemchr.
25325         * string/test-rawmemchr.c: New file.
25327         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25328         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
25329         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
25330         when compiling str{,n}casecmp and when AVX is available.  Hook up
25331         new optimized code in initializers.
25333 2011-10-19  Andreas Schwab  <schwab@redhat.com>
25335         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25336         __feraiseexcept instead of feraiseexcept.
25338 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
25340         * math/math_private.h: Define defaults for libc_fetestexcept and
25341         libc_feupdateenv.
25342         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25343         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25344         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25345         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25346         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25347         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25348         libc_fetestexcept and libc_feupdateenv.
25350         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25351         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25352         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25353         * sysdeps/x86_64/fpu/math_private.h: Define special version of
25354         libc_feholdexcept_setround.
25356         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25357         Add s_nearbyint-c and s_nearbyintf-c.
25358         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25359         nearbyintf inlines.
25360         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25361         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25362         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25363         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25365         * math/math_private.h: Define defaults for libc_fegetround,
25366         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25367         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25368         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25369         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25370         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25371         standard functions.
25372         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25373         Remove comments and hacks for old compiler versions.
25374         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25375         libc_fegetround, libc_fesetround, libc_feholdexcept, and
25376         libc_feholdexceptl.
25378 2011-10-18  Andreas Schwab  <schwab@redhat.com>
25380         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25381         (__feraiseexcept_renamed): Add __NTH.
25382         (feraiseexcept): Add __NTH.  Rename local variables to fix
25383         namespace violations.
25385 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
25387         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25389         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25391         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25392         recently added interfaces.
25393         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25395         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25396         about macro parameter expansion.
25398         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25399         __NO_MATH_INLINES is defined.  Cleanups.
25401         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25402         and __floorf is target has SSE4.1.
25403         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25404         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25405         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25406         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25408         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25409         name.
25410         (floorf): Likewise.
25412         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25414 2011-10-17  Andreas Schwab  <schwab@redhat.com>
25416         * misc/sys/cdefs.h: Fix last change.
25418         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25419         database lookup.
25421 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
25423         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25425         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25426         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25427         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25428         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25429         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25430         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25431         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25432         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25433         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25434         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25435         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25436         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25437         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25438         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25439         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25440         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25441         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25442         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25443         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25444         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25445         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25446         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25448         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25449         ceil, ceilf, floor, floorf.
25451         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25452         Perform IRELATIVE relocations last.
25454         * elf/do-rel.h: Add another parameter nrelative, replacing the
25455         local variable with the same name.  Change name of the function
25456         to end in Rel or Rela (uppercase).
25457         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25458         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
25459         elf_dynamic_do_##reloc function.
25461 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
25463         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25464         is sufficient, at least on modern CPUs.
25466         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25468         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25469         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25471         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25472         __expl_finite.
25473         * math/bits/math-finite.h: Add entries for exp.
25474         * math/e_expl.c: Add __*_finite alias.
25475         * sysdeps/i386/fpu/e_exp.S: Likewise.
25476         * sysdeps/i386/fpu/e_expf.S: Likewise.
25477         * sysdeps/i386/fpu/e_expl.c: Likewise.
25478         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25479         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25480         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25481         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25482         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25483         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25484         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25486         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25487         is sufficient, at least on modern CPUs.
25489         * ctype/ctype-info.c (__ctype_init): Define.
25490         * include/ctype.h (__ctype_init): Declare.
25491         (__ctype_b_loc): The variable is always initialized.
25492         (__ctype_toupper_loc): Likewise.
25493         (__ctype_tolower_loc): Likewise.
25494         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25495         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25497 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
25499         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25501         * configure.in: Also look in $cxxmachine/include for C++ system
25502         headers.
25504 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25506         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25507         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25508         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25509         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
25510         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25511         (USE_AS_WMEMCMP): New macro.
25512         Fixing indents.
25513         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25514         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25515         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25516         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25517         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25518         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25519         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25520         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25521         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25522         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25523         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25524         (USE_AS_WMEMCMP): New macro.
25525         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25526         * sysdeps/string/test-memcmp.c: Update.
25527         Fix simple_wmemcmp.
25528         Add new tests.
25529         * wcsmbs/wmemcmp.c: Update.
25530         (WMEMCMP): New macro.
25531         Fix overflow bug.
25533 2011-10-12  Andreas Jaeger  <aj@suse.de>
25535         [BZ #13268]
25536         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25538 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
25540         * libio/iofwide.c (do_length): Avoid warning.
25542         * ctype/ctype.h (__isctype_f): Add missing __THROW.
25544 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
25546         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25548         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25549         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25550         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25551         * sysdeps/i386/i686/fpu/e_log.S: New file.
25552         * sysdeps/i386/i686/fpu/e_logf.S: New file.
25553         * sysdeps/i386/i686/fpu/e_logl.S: New file.
25555         * ctype/ctype.h: Add support for inlined isXXX functions when
25556         compiling C++ code.
25558 2011-10-14  Andreas Schwab  <schwab@redhat.com>
25560         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25562         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25564 2011-10-13  Roland McGrath  <roland@hack.frob.com>
25566         [BZ #13291]
25567         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25569 2011-10-13  Andreas Schwab  <schwab@redhat.com>
25571         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25572         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25573         feraiseexcept.
25575         * sysdeps/x86_64/memrchr.S: Check for zero size.
25577         * string/stratcliff.c: Add memrchr tests.
25579 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25581         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25582         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25583         rawmemchr-sse2 rawmemchr-sse2-bsf.
25584         * sysdeps/i386/i686/multiarch/memchr.S: New file.
25585         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25586         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25587         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25588         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25589         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25590         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25591         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25592         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25593         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25594         * string/memrchr.c (MEMRCHR): New macro.
25596 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
25598         Add integration with gcc's -ffinite-math-only and optimize wrapper
25599         functions in libm.
25600         * Versions.def: Define GLIBC_2.15 version for libm.
25601         * math/Makefile (headers): Add bits/math-finite.h.
25602         * math/bits/math-finite.h: New file.
25603         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25604         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25605         * math/e_acoshl.c: Add __*_finite alias.
25606         * math/e_acosl.c: Likewise.
25607         * math/e_asinl.c: Likewise.
25608         * math/e_atan2l.c: Likewise.
25609         * math/e_atanhl.c: Likewise.
25610         * math/e_coshl.c: Likewise.
25611         * math/e_exp10.c: Likewise.
25612         * math/e_exp10f.c: Likewise.
25613         * math/e_exp10l.c: Likewise.
25614         * math/e_exp2l.c: Likewise.
25615         * math/e_fmodl.c: Likewise.
25616         * math/e_gammal_r.c: Likewise.
25617         * math/e_hypotl.c: Likewise.
25618         * math/e_j0l.c: Likewise.
25619         * math/e_j1l.c: Likewise.
25620         * math/e_jnl.c: Likewise.
25621         * math/e_lgammal_r.c: Likewise.
25622         * math/e_log10l.c: Likewise.
25623         * math/e_log2l.c: Likewise.
25624         * math/e_logl.c: Likewise.
25625         * math/e_powl.c: Likewise.
25626         * math/e_sinhl.c: Likewise.
25627         * math/e_sqrtl.c: Likewise.
25628         * math/e_scalb.c: Completely rewritten and optimized.
25629         * math/e_scalbf.c: Likewise.
25630         * math/e_scalbl.c: Likewise.
25631         * math/w_acos.c: Likewise.
25632         * math/w_acosf.c: Likewise.
25633         * math/w_acosl.c: Likewise.
25634         * math/w_acosh.c: Likewise.
25635         * math/w_acoshf.c: Likewise.
25636         * math/w_acoshl.c: Likewise.
25637         * math/w_asin.c: Likewise.
25638         * math/w_asinf.c: Likewise.
25639         * math/w_asinl.c: Likewise.
25640         * math/w_atan2.c: Likewise.
25641         * math/w_atan2f.c: Likewise.
25642         * math/w_atan2l.c: Likewise.
25643         * math/w_atanh.c: Likewise.
25644         * math/w_atanhf.c: Likewise.
25645         * math/w_atanhl.c: Likewise.
25646         * math/w_exp10.c: Likewise.
25647         * math/w_exp10f.c: Likewise.
25648         * math/w_exp10l.c: Likewise.
25649         * math/w_fmod.c: Likewise.
25650         * math/w_fmodf.c: Likewise.
25651         * math/w_fmodl.c: Likewise.
25652         * math/w_j0.c: Likewise.
25653         * math/w_j0f.c: Likewise.
25654         * math/w_j0l.c: Likewise.
25655         * math/w_j1.c: Likewise.
25656         * math/w_j1f.c: Likewise.
25657         * math/w_j1l.c: Likewise.
25658         * math/w_jn.c: Likewise.
25659         * math/w_jnf.c: Likewise.
25660         * math/w_log.c: Likewise.
25661         * math/w_logf.c: Likewise.
25662         * math/w_logl.c: Likewise.
25663         * math/w_log10.c: Likewise.
25664         * math/w_log10f.c: Likewise.
25665         * math/w_log10l.c: Likewise.
25666         * math/w_log2.c: Likewise.
25667         * math/w_log2f.c: Likewise.
25668         * math/w_log2l.c: Likewise.
25669         * math/w_pow.c: Likewise.
25670         * math/w_powf.c: Likewise.
25671         * math/w_powl.c: Likewise.
25672         * math/w_remainder.c: Likewise.
25673         * math/w_remainderf.c: Likewise.
25674         * math/w_remainderl.c: Likewise.
25675         * math/w_scalb.c: Likewise.
25676         * math/w_scalbf.c: Likewise.
25677         * math/w_scalbl.c: Likewise.
25678         * math/w_sqrt.c: Likewise.
25679         * math/w_sqrtf.c: Likewise.
25680         * math/w_sqrtl.c: Likewise.
25681         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25682         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
25683         used.
25684         * math/math_private.h: Declare __kernel_standard_f.
25685         * math/w_cosh.c: Remove cruft and optimize a bit.
25686         * math/w_coshf.c: Likewise.
25687         * math/w_coshl.c: Likewise.
25688         * math/w_exp2.c: Likewise.
25689         * math/w_exp2f.c: Likewise.
25690         * math/w_exp2l.c: Likewise.
25691         * math/w_hypot.c: Likewise.
25692         * math/w_hypotf.c: Likewise.
25693         * math/w_hypotl.c: Likewise.
25694         * math/w_lgamma.c: Likewise.
25695         * math/w_lgamma_r.c: Likewise.
25696         * math/w_lgammaf.c: Likewise.
25697         * math/w_lgammaf_r.c: Likewise.
25698         * math/w_lgammal.c: Likewise.
25699         * math/w_lgammal_r.c: Likewise.
25700         * math/w_sinh.c: Likewise.
25701         * math/w_sinhf.c: Likewise.
25702         * math/w_sinhl.c: Likewise.
25703         * math/w_tgamma.c: Likewise.
25704         * math/w_tgammaf.c: Likewise.
25705         * math/w_tgammal.c: Likewise.
25706         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25707         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25708         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25709         Minor optimizations.  Pretty printing.  Remove cruft.
25710         * sysdeps/i386/fpu/e_acosf.S: Likewise.
25711         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25712         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25713         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25714         * sysdeps/i386/fpu/e_acosl.c: Likewise.
25715         * sysdeps/i386/fpu/e_asin.S: Likewise.
25716         * sysdeps/i386/fpu/e_asinf.S: Likewise.
25717         * sysdeps/i386/fpu/e_atan2.S: Likewise.
25718         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25719         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25720         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25721         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25722         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25723         * sysdeps/i386/fpu/e_exp10.S: Likewise.
25724         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25725         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25726         * sysdeps/i386/fpu/e_exp2.S: Likewise.
25727         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25728         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25729         * sysdeps/i386/fpu/e_fmod.S: Likewise.
25730         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25731         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25732         * sysdeps/i386/fpu/e_hypot.S: Likewise.
25733         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25734         * sysdeps/i386/fpu/e_log.S: Likewise.
25735         * sysdeps/i386/fpu/e_log10.S: Likewise.
25736         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25737         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25738         * sysdeps/i386/fpu/e_log2.S: Likewise.
25739         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25740         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25741         * sysdeps/i386/fpu/e_logf.S: Likewise.
25742         * sysdeps/i386/fpu/e_logl.S: Likewise.
25743         * sysdeps/i386/fpu/e_pow.S: Likewise.
25744         * sysdeps/i386/fpu/e_powf.S: Likewise.
25745         * sysdeps/i386/fpu/e_powl.S: Likewise.
25746         * sysdeps/i386/fpu/e_remainder.S: Likewise.
25747         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25748         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25749         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25750         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25751         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25752         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25753         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25754         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25755         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25756         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25757         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25758         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25759         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25760         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25761         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25762         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25763         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25764         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25765         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25766         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25767         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25768         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25769         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25770         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25771         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25772         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25773         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25774         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25775         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25776         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25777         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25778         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25779         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25780         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25781         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25782         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25783         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25784         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25785         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25786         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25787         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25788         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25789         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25790         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25791         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25792         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25793         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25794         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25795         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25796         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25797         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25798         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25799         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25800         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25801         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25802         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25803         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25804         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25805         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25806         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25807         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25808         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25809         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25810         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25811         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25812         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25813         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25814         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25815         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25816         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25817         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25818         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25819         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25820         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25821         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25822         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25823         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25824         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25825         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25826         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25827         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25828         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25829         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25830         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25831         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25832         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25833         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25834         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25835         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25836         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25837         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25838         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25839         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25840         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25841         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25842         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25843         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25844         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25845         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25846         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25847         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25848         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25849         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25850         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25851         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25852         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25853         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25854         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25855         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25856         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25857         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25858         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25859         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25860         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25861         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25862         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25863         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25864         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25865         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
25866         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25867         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25868         (__isnanf): Likewise.
25869         (__isinf_ns): Likewise.
25870         (__isinf_nsf): Likewise.
25871         (__finite): Likewise.
25872         (__finitef): Likewise.
25873         (__ieee754_sqrt): Define as macro.
25874         (__ieee754_sqrtf): Define as macro.
25875         (__ieee754_sqrtl): Define as macro.
25876         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25877         inlined copy.
25878         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25879         __FINITE_MATH_ONLY__ consistent.
25880         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25882 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
25884         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25885         of rawmemchr.
25887         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25889 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
25891         * po/ja.po: Update from translation team.
25893 2011-10-08  Roland McGrath  <roland@hack.frob.com>
25895         * locale/programs/locarchive.c (prepare_address_space): New function.
25896         (create_archive, enlarge_archive, open_archive): Use it.
25898         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25899         inside [SHARED], where it is used.
25901         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25903         * nss/getent.c (netgroup_keys): Remove unused variable.
25904         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25906 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
25908         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25909         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25910         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25911         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25912         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25913         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25914         * math/Makefile (libm-calls): Add s_isinf_ns.
25915         * math/divtc3.c: Use __isinf_nsl instead of isinf.
25916         * math/multc3.c: Likewise.
25917         * math/s_casin.c: Likewise.
25918         * math/s_casinf.c: Likewise.
25919         * math/s_casinl.c: Likewise.
25920         * math/s_ccos.c: Likewise.
25921         * math/s_ccosf.c: Likewise.
25922         * math/s_ccosl.c: Likewise.
25923         * math/s_ctan.c: Likewise.
25924         * math/s_ctanf.c: Likewise.
25925         * math/s_ctanh.c: Likewise.
25926         * math/s_ctanhf.c: Likewise.
25927         * math/s_ctanhl.c: Likewise.
25928         * math/s_ctanl.c: Likewise.
25929         * math/w_fmod.c: Likewise.
25930         * math/w_fmodf.c: Likewise.
25931         * math/w_fmodl.c: Likewise.
25932         * math/w_remainder.c: Likewise.
25933         * math/w_remainderf.c: Likewise.
25934         * math/w_remainderl.c: Likewise.
25935         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25936         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25937         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25938         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25939         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25940         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25941         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25942         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25944         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25945         of the number.
25946         * stdio-common/printf_fphex.c: Likewise.
25947         * stdio-common/printf_size.c: Likewise.
25949         * math/e_exp10.c: Include math_private.h using <...> not "...".
25950         * math/e_exp10f.c: Likewise.
25951         * math/e_exp10l.c: Likewise.
25952         * math/e_exp2l.c: Likewise.
25953         * math/e_j0l.c: Likewise.
25954         * math/e_j1l.c: Likewise.
25955         * math/e_jnl.c: Likewise.
25956         * math/e_lgammal_r.c: Likewise.
25957         * math/e_rem_pio2l.c: Likewise.
25958         * math/e_scalb.c: Likewise.
25959         * math/e_scalbf.c: Likewise.
25960         * math/e_scalbl.c: Likewise.
25961         * math/k_cosl.c: Likewise.
25962         * math/k_sinl.c: Likewise.
25963         * math/k_tanl.c: Likewise.
25964         * math/s_cacoshf.c: Likewise.
25965         * math/s_catan.c: Likewise.
25966         * math/s_catanf.c: Likewise.
25967         * math/s_catanh.c: Likewise.
25968         * math/s_catanhf.c: Likewise.
25969         * math/s_catanhl.c: Likewise.
25970         * math/s_catanl.c: Likewise.
25971         * math/s_ccosh.c: Likewise.
25972         * math/s_ccoshf.c: Likewise.
25973         * math/s_ccoshl.c: Likewise.
25974         * math/s_cexp.c: Likewise.
25975         * math/s_cexpf.c: Likewise.
25976         * math/s_cexpl.c: Likewise.
25977         * math/s_clog.c: Likewise.
25978         * math/s_clog10.c: Likewise.
25979         * math/s_clog10f.c: Likewise.
25980         * math/s_clog10l.c: Likewise.
25981         * math/s_clogf.c: Likewise.
25982         * math/s_clogl.c: Likewise.
25983         * math/s_csin.c: Likewise.
25984         * math/s_csinf.c: Likewise.
25985         * math/s_csinh.c: Likewise.
25986         * math/s_csinhf.c: Likewise.
25987         * math/s_csinhl.c: Likewise.
25988         * math/s_csinl.c: Likewise.
25989         * math/s_csqrt.c: Likewise.
25990         * math/s_csqrtf.c: Likewise.
25991         * math/s_csqrtl.c: Likewise.
25992         * math/s_ctan.c: Likewise.
25993         * math/s_ctanf.c: Likewise.
25994         * math/s_ctanh.c: Likewise.
25995         * math/s_ctanhf.c: Likewise.
25996         * math/s_ctanhl.c: Likewise.
25997         * math/s_ctanl.c: Likewise.
25998         * math/s_ldexp.c: Likewise.
25999         * math/s_ldexpf.c: Likewise.
26000         * math/s_ldexpl.c: Likewise.
26001         * math/s_significand.c: Likewise.
26002         * math/s_significandf.c: Likewise.
26003         * math/s_significandl.c: Likewise.
26004         * math/w_acos.c: Likewise.
26005         * math/w_acosf.c: Likewise.
26006         * math/w_acosh.c: Likewise.
26007         * math/w_acoshf.c: Likewise.
26008         * math/w_acoshl.c: Likewise.
26009         * math/w_acosl.c: Likewise.
26010         * math/w_asin.c: Likewise.
26011         * math/w_asinf.c: Likewise.
26012         * math/w_asinl.c: Likewise.
26013         * math/w_atan2.c: Likewise.
26014         * math/w_atan2f.c: Likewise.
26015         * math/w_atan2l.c: Likewise.
26016         * math/w_atanh.c: Likewise.
26017         * math/w_atanhf.c: Likewise.
26018         * math/w_atanhl.c: Likewise.
26019         * math/w_cosh.c: Likewise.
26020         * math/w_coshf.c: Likewise.
26021         * math/w_coshl.c: Likewise.
26022         * math/w_dremf.c: Likewise.
26023         * math/w_exp10.c: Likewise.
26024         * math/w_exp10f.c: Likewise.
26025         * math/w_exp10l.c: Likewise.
26026         * math/w_exp2.c: Likewise.
26027         * math/w_exp2f.c: Likewise.
26028         * math/w_fmod.c: Likewise.
26029         * math/w_fmodf.c: Likewise.
26030         * math/w_fmodl.c: Likewise.
26031         * math/w_hypot.c: Likewise.
26032         * math/w_hypotf.c: Likewise.
26033         * math/w_hypotl.c: Likewise.
26034         * math/w_j0.c: Likewise.
26035         * math/w_j0f.c: Likewise.
26036         * math/w_j0l.c: Likewise.
26037         * math/w_j1.c: Likewise.
26038         * math/w_j1f.c: Likewise.
26039         * math/w_j1l.c: Likewise.
26040         * math/w_jn.c: Likewise.
26041         * math/w_jnf.c: Likewise.
26042         * math/w_jnl.c: Likewise.
26043         * math/w_lgamma.c: Likewise.
26044         * math/w_lgamma_r.c: Likewise.
26045         * math/w_lgammaf.c: Likewise.
26046         * math/w_lgammaf_r.c: Likewise.
26047         * math/w_lgammal.c: Likewise.
26048         * math/w_lgammal_r.c: Likewise.
26049         * math/w_log.c: Likewise.
26050         * math/w_log10.c: Likewise.
26051         * math/w_log10f.c: Likewise.
26052         * math/w_log10l.c: Likewise.
26053         * math/w_log2.c: Likewise.
26054         * math/w_log2f.c: Likewise.
26055         * math/w_log2l.c: Likewise.
26056         * math/w_logf.c: Likewise.
26057         * math/w_logl.c: Likewise.
26058         * math/w_pow.c: Likewise.
26059         * math/w_powf.c: Likewise.
26060         * math/w_powl.c: Likewise.
26061         * math/w_remainder.c: Likewise.
26062         * math/w_remainderf.c: Likewise.
26063         * math/w_remainderl.c: Likewise.
26064         * math/w_scalb.c: Likewise.
26065         * math/w_scalbf.c: Likewise.
26066         * math/w_scalbl.c: Likewise.
26067         * math/w_sinh.c: Likewise.
26068         * math/w_sinhf.c: Likewise.
26069         * math/w_sinhl.c: Likewise.
26070         * math/w_sqrt.c: Likewise.
26071         * math/w_sqrtf.c: Likewise.
26072         * math/w_sqrtl.c: Likewise.
26073         * math/w_tgamma.c: Likewise.
26074         * math/w_tgammaf.c: Likewise.
26075         * math/w_tgammal.c: Likewise.
26077         * po/ja.po: Update from translation team.
26079 2011-09-29  Andreas Jaeger  <aj@suse.de>
26081         [BZ #13179]
26082         * sunrpc/netname.c (netname2host): Fix logic.
26084         [BZ #6779]
26085         [BZ #6783]
26086         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26087         correctly.
26088         * math/w_remainder.c (__remainder): Likewise.
26089         * math/w_remainderf.c (__remainderf): Likewise.
26090         * math/libm-test.inc (remainder_test): Add test cases.
26092 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26094         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
26095         sdiv_qrnnd.
26097 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
26099         * string/test-memcmp.c: Avoid unncessary #defines.
26100         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26102 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26104         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26105         Use new sse2 version for core i3 - i7 as it's faster
26106         than sse42 version.
26107         (bit_Prefer_PMINUB_for_stringop): New.
26108         * sysdeps/x86_64/rawmemchr.S: Update.
26109         Replace with faster SSE2 version.
26110         * sysdeps/x86_64/memrchr.S: New file.
26111         * sysdeps/x86_64/memchr.S: Update.
26112         Replace with faster SSE2 version.
26114 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
26116         * elf/dl-load.c (lose): Add cast to avoid warning.
26118 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
26120         * po/ca.po: Update from translation team.
26122         * inet/getnetgrent_r.c: Hook up nscd.
26123         * nscd/Makefile (routines): Add nscd_netgroup.
26124         (nscd-modules): Add netgroupcache.
26125         (CFLAGS-netgroupcache.c): Define.
26126         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26127         (cache_search): Add const to second parameter.
26128         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26129         INNETGR.
26130         (dbs): Add netgrdb entry.
26131         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26132         (verify_persistent_db): Handle netgrdb.
26133         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26134         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26135         GETFDNETGR.
26136         (netgroup_response_header): Define.
26137         (innetgroup_response_header): Define.
26138         (datahead): Add netgroup_response_header and innetgroup_response_header
26139         elements.
26140         * nscd/nscd.conf: Add entries for netgroup cache.
26141         * nscd/nscd.h (dbtype): Add netgrdb.
26142         (_PATH_NSCD_NETGROUP_DB): Define.
26143         (netgroup_iov_disabled): Declare.
26144         (xmalloc, xcalloc, xrealloc): Move declarations here.
26145         (cache_search): Adjust prototype.
26146         Add netgroup-related prototypes.
26147         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26148         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26149         (__nscd_innetgr): Declare.
26150         * nscd/selinux.c (perms): Use access_vector_t as element type and
26151         add netgroup-related initializers.
26152         * nscd/netgroupcache.c: New file.
26153         * nscd/nscd_netgroup.c: New file.
26154         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26155         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26156         For four parameters use innetgr.
26157         * nss/nss_files/files-init.c: Add definition and callback for netgr.
26158         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26159         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26160         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26162         * nscd/connections.c (register_traced_file): Don't register file
26163         for disabled databases.
26165 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
26167         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26169         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26170         from tree and freeing node.
26172 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
26174         * nss/nsswitch.c (__nss_database_lookup): Handle
26175         nss_parse_service_list out of memory case.
26177 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
26179         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26180         out of memory case.
26182 2011-10-04  Andreas Schwab  <schwab@redhat.com>
26184         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26185         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26186         pass it down.
26187         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26188         elf_machine_rela, elf_machine_lazy_rel.
26189         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26190         (ELF_DYNAMIC_DO_REL): Likewise.
26191         (ELF_DYNAMIC_DO_RELA): Likewise.
26192         (ELF_DYNAMIC_RELOCATE): Likewise.
26193         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26194         to ELF_DYNAMIC_DO_REL.
26195         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26196         (dl_main): In trace mode always set __RTLD_NOIFUNC.
26197         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26198         elf_machine_rela.
26199         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26200         skip_ifunc, don't call ifunc function if non-zero.
26201         (elf_machine_rela): Likewise.
26202         (elf_machine_lazy_rel): Likewise.
26203         (elf_machine_lazy_rela): Likewise.
26204         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26205         (elf_machine_lazy_rel): Likewise.
26206         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26207         Likewise.
26208         (elf_machine_lazy_rel): Likewise.
26209         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26210         Likewise.
26211         (elf_machine_lazy_rel): Likewise.
26212         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26213         (elf_machine_lazy_rel): Likewise.
26214         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26215         (elf_machine_lazy_rel): Likewise.
26216         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26217         (elf_machine_lazy_rel): Likewise.
26218         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26219         (elf_machine_lazy_rel): Likewise.
26220         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26221         (elf_machine_lazy_rel): Likewise.
26222         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26223         (elf_machine_lazy_rel): Likewise.
26225 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
26227         * nss/nss_files/files-init.c (_nss_files_init): Use static
26228         initialization for all the *_traced_file variables.
26230 2011-09-28  Andreas Schwab  <schwab@redhat.com>
26232         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26234 2011-09-27  Roland McGrath  <roland@hack.frob.com>
26236         [BZ #13226]
26237         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26239 2011-09-27  Andreas Schwab  <schwab@redhat.com>
26241         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26242         Reread the line before reparsing it.
26244 2011-09-26  Andreas Schwab  <schwab@redhat.com>
26246         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26248 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
26249             Maxim Kuvyrkov  <maxim@codesourcery.com>
26250             Joseph Myers  <joseph@codesourcery.com>
26252         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26253         if needed for __stack_chk_guard.
26255 2011-09-19  Roland McGrath  <roland@hack.frob.com>
26257         * sysdeps/posix/spawni.c (script_execute): Always define it.
26258         It will be optimized away if unused.
26259         (maybe_script_execute): New function.
26260         (__spawni): Call it.
26262         * Makerules: Don't include tls.make.
26263         (config-tls): Always set to thread.
26264         * tls.make.c: File removed.
26266 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
26268         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26269         * config.make.in (CPPFLAGS-config): New substituted variable.
26271 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26273         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26275         [BZ #13192]
26276         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26277         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26279 2011-09-15  Roland McGrath  <roland@hack.frob.com>
26281         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26282         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26283         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26284         (CALL_FAIL): Likewise.
26285         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26286         (CALL_FAIL): Macro removed.
26287         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26289 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26291         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26292         for __FINITE_MATH_ONLY__ == 1.
26294 2011-09-15  Andreas Schwab  <schwab@redhat.com>
26296         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26297         __ieee754_sqrt instead of sqrt.
26298         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26299         __ieee754_sqrtf instead of sqrtf.
26300         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26301         __floorf instead of floorf.
26302         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26303         __floorf, __truncf instead of floorf, truncf.
26305 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
26307         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26309         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26310         __extern_always_inline.
26311         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26312         32-bit.
26314 2011-09-14  Andreas Schwab  <schwab@redhat.com>
26316         * elf/rtld.c (dl_main): Also relocate in dependency order when
26317         doing symbol dependency testing.
26319 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
26321         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26322         Always define `refsym'.
26324 2011-09-13  Andreas Schwab  <schwab@redhat.com>
26326         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26327         (__FD_ELT): Renamed from __FDELT.
26328         * misc/bits/select2.h (__FD_ELT): Likewise.
26329         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26330         __FD_MASK instead of __FDELT, __FDMASK.
26331         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26332         Likewise.
26333         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26334         Likewise.
26336         * elf/Makefile (gen-ldd): Fix pattern.
26338         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26339         (init_tls): Likewise.
26341 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
26343         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26345 2011-09-12  Andreas Schwab  <schwab@redhat.com>
26347         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26348         `struct cmsghdr *' instead of `void *'.
26349         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26350         Likewise.
26352 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
26354         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26355         if non-absolute.
26356         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26357         ldd_rewrite_script.
26359 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
26361         * configure.in: Remove --with-tls option.
26362         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26363         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26364         out in case it is missing.
26365         * sysdeps/ia64/elf/configure.in: Likewise.
26366         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26367         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26368         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26369         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26370         * sysdeps/sh/elf/configure.in: Likewise.
26371         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26372         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26373         * sysdeps/x86_64/elf/configure.in: Likewise.
26374         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26375         * sysdeps/mach/hurd/tls.h: Likewise.
26377         [BZ #13067]
26378         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26380         [BZ #13090]
26381         * configure.in: Fix use of AC_INIT.
26383         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26385 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
26387         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26388         __set_errno.
26389         * malloc/hooks.c: Likewise.
26391         [BZ #11929]
26392         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
26393         variables statically.
26394         (narenas): Initialize.
26395         (list_lock): Initialize.
26396         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
26397         initializtion of main_arena and list_lock.  Small cleanups.
26398         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26399         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
26400         Add initializers to main_arena and mp_.
26401         (malloc_state): Remove pagesize member.  Change all users to use
26402         GLRO(dl_pagesize).
26404         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26405         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
26406         is always initialized.
26408         * malloc/malloc.c: Removed unused configurations and dead code.
26409         * malloc/arena.c: Likewise.
26410         * malloc/hooks.c: Likewise.
26411         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26413         * include/tls.h: Removed.  USE___THREAD must always be defined.
26414         * bits/libc-tsd.h: Don't handle !USE___THREAD.
26415         * elf/dl-libc.c: Likewise.
26416         * elf/dl-tsd.c: Likewise.
26417         * include/errno.h: Likewise.
26418         * include/netdb.h: Likewise.
26419         * include/resolv.h: Likewise.
26420         * inet/herrno-loc.c: Likewise.
26421         * inet/herrno.c: Likewise.
26422         * malloc/arena.c: Likewise.
26423         * malloc/hooks.c: Likewise.
26424         * malloc/malloc.c: Likewise.
26425         * resolv/res-state.c: Likewise.
26426         * resolv/res_libc.c: Likewise.
26427         * sysdeps/i386/dl-machine.h: Likewise.
26428         * sysdeps/ia64/dl-machine.h: Likewise.
26429         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26430         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26431         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26432         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26433         * sysdeps/sh/dl-machine.h: Likewise.
26434         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26435         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26436         * sysdeps/unix/i386/sysdep.S: Likewise.
26437         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26438         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26440         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26441         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26442         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26443         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26444         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26445         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26446         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26447         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26448         * sysdeps/x86_64/dl-machine.h: Likewise.
26449         * tls.make.c: Likewise.
26451         * configure.in: Remove --with-__thread option.  Make tests for
26452         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26453         tls_model attribute fail if no support is available.  Remove
26454         USE_IN_LIBIO.
26455         * Makeconfig: Adjust for dropped configure option.  All features are
26456         now mandatory.
26457         * Makerules: Likewise.
26458         * Versions.def: Likewise.
26459         * argp/argp-fmtstream.c: Likewise.
26460         * argp/argp-fmtstream.h: Likewise.
26461         * argp/argp-help.c: Likewise.
26462         * assert/assert.c: Likewise.
26463         * config.h.in: Likewise.
26464         * config.make.in: Likewise.
26465         * configure: Likewise.
26466         * configure.in: Likewise.
26467         * csu/Versions: Likewise.
26468         * csu/init.c: Likewise.
26469         * elf/tst-audit2.c: Likewise.
26470         * elf/tst-tls10.c: Likewise.
26471         * elf/tst-tls10.h: Likewise.
26472         * elf/tst-tls11.c: Likewise.
26473         * elf/tst-tls12.c: Likewise.
26474         * elf/tst-tls14.c: Likewise.
26475         * elf/tst-tlsmod11.c: Likewise.
26476         * elf/tst-tlsmod12.c: Likewise.
26477         * elf/tst-tlsmod13.c: Likewise.
26478         * elf/tst-tlsmod13a.c: Likewise.
26479         * elf/tst-tlsmod14a.c: Likewise.
26480         * elf/tst-tlsmod15b.c: Likewise.
26481         * elf/tst-tlsmod16a.c: Likewise.
26482         * elf/tst-tlsmod16b.c: Likewise.
26483         * elf/tst-tlsmod7.c: Likewise.
26484         * elf/tst-tlsmod8.c: Likewise.
26485         * elf/tst-tlsmod9.c: Likewise.
26486         * gmon/gmon.c: Likewise.
26487         * grp/fgetgrent_r.c: Likewise.
26488         * grp/putgrent.c: Likewise.
26489         * hurd/fopenport.c: Likewise.
26490         * include/libc-symbols.h: Likewise.
26491         * include/tls.h: Likewise.
26492         * intl/gettextP.h: Likewise.
26493         * intl/loadinfo.h: Likewise.
26494         * locale/global-locale.c: Likewise.
26495         * locale/localeinfo.h: Likewise.
26496         * mach/devstream.c: Likewise.
26497         * malloc/arena.c: Likewise.
26498         * malloc/set-freeres.c: Likewise.
26499         * misc/err.c: Likewise.
26500         * misc/getttyent.c: Likewise.
26501         * misc/mntent_r.c: Likewise.
26502         * posix/getopt.c: Likewise.
26503         * posix/wordexp.c: Likewise.
26504         * pwd/fgetpwent_r.c: Likewise.
26505         * resolv/Versions: Likewise.
26506         * resolv/res_hconf.c: Likewise.
26507         * shadow/fgetspent_r.c: Likewise.
26508         * shadow/putspent.c: Likewise.
26509         * stdio-common/printf_fphex.c: Likewise.
26510         * stdio-common/tmpfile.c: Likewise.
26511         * stdlib/abort.c: Likewise.
26512         * stdlib/fmtmsg.c: Likewise.
26513         * sunrpc/auth_unix.c: Likewise.
26514         * sunrpc/clnt_perr.c: Likewise.
26515         * sunrpc/clnt_tcp.c: Likewise.
26516         * sunrpc/clnt_udp.c: Likewise.
26517         * sunrpc/clnt_unix.c: Likewise.
26518         * sunrpc/openchild.c: Likewise.
26519         * sunrpc/svc_simple.c: Likewise.
26520         * sunrpc/svc_tcp.c: Likewise.
26521         * sunrpc/svc_udp.c: Likewise.
26522         * sunrpc/svc_unix.c: Likewise.
26523         * sunrpc/xdr.c: Likewise.
26524         * sunrpc/xdr_array.c: Likewise.
26525         * sunrpc/xdr_rec.c: Likewise.
26526         * sunrpc/xdr_ref.c: Likewise.
26527         * sunrpc/xdr_stdio.c: Likewise.
26529 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26531         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26533 2011-07-03  Andreas Jaeger  <aj@suse.de>
26535         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26536         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26537         regenerate with gen-libm-tests.pl.
26539 2010-05-12  Petr Baudis  <pasky@suse.cz>
26541         [BZ #11589]
26542         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26543         around j0() zero points by switching to j1().
26544         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26545         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26546         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26547         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26549 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26551         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26552         instead of 0.
26553         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26554         instead of 0.
26555         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26556         Patch in part by Pavel Roskin <proski@gnu.org>.
26558         [BZ #13138]
26559         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26560         realloc.
26561         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
26562         Free memory block if necessary.
26564         [BZ #12847]
26565         * libio/genops.c (INTDEF): For string streams the _lock pointer can
26566         be NULL.  Don't lock in this case.
26568 2011-09-09  Roland McGrath  <roland@hack.frob.com>
26570         * elf/elf.h (ELFOSABI_GNU): New macro.
26571         (ELFOSABI_LINUX): Define to that.
26573 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
26575         * string/strncat.c (strncat): Undef the symbol in case it has been
26576         defined in bits/string.h.
26578 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26580         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26582         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26583         link map.
26585 2011-08-17  Andreas Jaeger  <aj@suse.de>
26587         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26589 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26590             Ian Lance Taylor  <iant@google.com>
26592         * math/libm-test.inc (lround_test): New testcase.
26593         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26595 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
26597         * Makefile: Remove support for automatic cvs check-ins.
26598         * Makerules: Likewise.
26599         * config.make.in: Likewise.
26600         * configure.in: Likewise.
26601         * intl/Makefile: Likewise.
26602         * locale/Makefile: Likewise.
26603         * po/Makefile: Likewise.
26604         * posix/Makefile: Likewise.
26605         * sysdeps/gnu/Makefile: Likewise.
26606         * sysdeps/mach/hurd/Makefile: Likewise.
26607         * sysdeps/sparc/sparc32/Makefile: Likewise.
26609         [BZ #13118]
26610         * posix/Makefile (bug-regex32-ENV): Define.
26611         Patch by John Stanley <jpsinthemix@verizon.net>.
26613         * misc/Makefile (headers): Add bits/select2.h.
26614         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26615         * misc/bits/select2.h: New file.
26616         * include/bits/select2.h: New file.
26617         * debug/Makefile (routines): Add fdelt_chk.
26618         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26619         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26620         FD_ISSET.
26621         * debug/fdelt_chk.c: New file.
26623         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
26624         * wcsmbs/test-wmemcmp.c: Likewise.
26625         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26626         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26628 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26630         * string/Makefile (strop-tests): Add memcmp.
26631         * string/test-wmemcmp.c: New file.
26632         * string/test-memcmp.c: Add wmemcmp support.
26634 2011-09-08  Roland McGrath  <roland@hack.frob.com>
26636         [BZ #13153]
26637         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26638         2011-07-19 change.
26640         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26641         garbage value in a __mach_port_mod_refs call in the cases of the
26642         task-self and thread-self ports.
26644 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26646         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26648 2011-09-08  Andreas Schwab  <schwab@redhat.com>
26650         * elf/dl-load.c (lose): Check for non-null L.
26652 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
26654         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26656         * elf/dl-libc.c (dlerror_run): Pass back error code from
26657         dl_catch_error.
26659         [BZ #13123]
26660         * elf/dl-load.c (lose): Free l_origin if it is valid.
26662         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26663         names.
26664         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26665         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26666         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26667         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26668         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26669         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26671 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26673         * sysdeps/powerpc/fpu/e_hypot.c: New file.
26674         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26675         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26676         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26677         * sysdeps/powerpc/fpu/k_cosf.c: New file.
26678         * sysdeps/powerpc/fpu/k_sinf.c: New file.
26679         * sysdeps/powerpc/fpu/s_cosf.c: New file.
26680         * sysdeps/powerpc/fpu/s_sinf.c: New file.
26681         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26682         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26684 2011-08-15  Alan Modra  <amodra@gmail.com>
26686         [BZ #13092]
26687         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26688         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26689         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
26690         ppc_mcount to static-only-routines.
26691         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26692         __mcount_internal.
26693         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26694         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
26696 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
26698         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26699         for finite and infinity parameters.
26701 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
26703         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26704         and add nop instructions for throughput optimization.
26705         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26707 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
26709         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26710         aligned copy for power7 with vector-scalar instructions.
26711         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26713 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
26715         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26716         AVX check.
26718 2011-09-07  Andreas Schwab  <schwab@redhat.com>
26720         [BZ #13144]
26721         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26722         last change.
26724 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
26726         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26727         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26728         syscall wrapper around clock_gettime in __vdso_clock_gettime.
26729         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26730         clock_gettime.
26732 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
26734         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26735         Forgot to demangle the pointer.
26737         * sysdeps/i386/sysdep.h: Define atom_text_section.
26738         * sysdeps/x86_64/sysdep.h: Likewise.
26739         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26740         section with atom_text_section.
26741         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26742         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26743         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26744         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26745         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26747         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26748         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26749         already be defined.  Change to take two parameters and don't assign
26750         result to variable.  Adjust all users.
26751         Define INTERNAL_GETTIME if not already defined.
26752         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26753         call.
26754         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26755         HAVE_CLOCK_GETTIME_VSYSCALL.
26756         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26758         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26759         gettimeofday vsyscall, just use time.
26761 2011-09-06  Andreas Schwab  <schwab@redhat.com>
26763         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26764         <errno.h>.
26766 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
26768         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26769         syscall on x86-64.
26770         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26771         syscall.
26772         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26773         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26774         syscall if possible.
26776 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
26778         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26779         e_ident.  Don't pass to find_mapsXX.
26780         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26782 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26785         strchr-sse2-no-bsf strrchr-sse2-no-bsf
26786         * sysdeps/x86_64/multiarch/strchr.S: Update.
26787         Check bit_slow_BSF bit.
26788         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26789         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26790         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26792 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
26794         [BZ #13134]
26795         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26796         before glibc 2.15.
26797         (tryshell): Define.
26798         (__spawni): Change last parameter to be flag.  Test
26799         SPAWN_XFLAGS_USE_PATH flag to use path or not.
26800         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26801         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26802         * posix/spawni.c: Likewise.
26803         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26804         * posix/spawnp.c: Likewise.  Change normal version to use
26805         SPAWN_XFLAGS_USE_PATH.
26806         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26807         SPAWN_XFLAGS_TRY_SHELL.
26809         [BZ #13150]
26810         * posix/glob.h: Remove gcc 1.x support.
26812         [BZ #13068]
26813         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26815 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26817         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26818         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26819         strrchr-sse2-bsf
26820         * sysdeps/i386/i686/multiarch/strchr.S: New file.
26821         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26822         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26823         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26824         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26825         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26827 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26829         * sysdeps/x86_64/wcscmp.S: New file.
26831         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26832         wcscmp-c wcscmp-sse2
26833         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26834         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26835         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26836         * wcsmbs/wcscmp.c: Allow renaming.
26838 2011-09-05  David S. Miller  <davem@davemloft.net>
26840         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26841         stack slot, rather than the struct return pointer slot.
26842         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26843         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26845         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26847 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
26849         * po/ja.po: Update from translation team.
26851         [BZ #13144]
26852         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26853         kernel in 64-bit binaries.
26855 2011-09-01  David S. Miller  <davem@davemloft.net>
26857         * elf/elf.h (HWCAP_SPARC_*): Move to..
26858         * sysdeps/sparc/sysdep.h: this new file and add new values.
26859         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26860         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26861         _DL_HWCAP_COUNT to 24.
26862         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26863         entries.
26864         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26865         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26866         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26867         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26868         instead of magic constants.
26869         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26871 2011-08-31  David S. Miller  <davem@davemloft.net>
26873         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26874         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26875         Reimplement to do errno handling inline.
26876         (SYSCALL_ERROR_HANDLER): New macro.
26877         (__SYSCALL_STRING): Do not do errno handling in asm.
26878         (__CLONE_SYSCALL_STRING): Delete.
26879         (__INTERNAL_SYSCALL_STRING): Delete.
26880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26881         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26882         (PSEUDO): Reimplement to do errno handling inline.
26883         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26884         (SYSCALL_ERROR_HANDLER): New macro.
26885         (__SYSCALL_STRING): Do not do errno handling in asm.
26886         (__CLONE_SYSCALL_STRING): Delete.
26887         (__INTERNAL_SYSCALL_STRING): Delete.
26888         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26889         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26890         i386.
26891         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26892         (inline_syscall*): Add 'err' argument.
26893         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26894         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26895         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26896         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26898         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26899         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26901 2011-08-30  Andreas Schwab  <schwab@redhat.com>
26903         * elf/rtld.c (dl_main): Relocate objects in dependency order.
26905 2011-08-29  Jiri Olsa <jolsa@redhat.com>
26907         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26908         directive.
26910 2011-08-24  David S. Miller  <davem@davemloft.net>
26912         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26914 2011-08-24  Andreas Schwab  <schwab@redhat.com>
26916         * elf/Makefile: Add rules to build and run unload8 test.
26917         * elf/unload8.c: New file.
26918         * elf/unload8mod1.c: New file.
26919         * elf/unload8mod1x.c: New file.
26920         * elf/unload8mod2.c: New file.
26921         * elf/unload8mod3.c: New file.
26923         * elf/dl-close.c (_dl_close_worker): Reset private search list if
26924         it wasn't used.
26926 2011-08-23  David S. Miller  <davem@davemloft.net>
26928         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26929         subtract stack bias.
26930         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26931         %sp not %fp in calculations.
26932         (_JMPBUF_UNWINDS_ADJ): Likewise.
26934         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26935         (aio_suspend): Call it to force an exception region around the
26936         AIO_MISC_WAIT() invocation.
26938 2011-08-23  Andreas Schwab  <schwab@redhat.com>
26940         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26941         backslash.
26943 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
26945         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26946         protection macro.
26947         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26948         and <dl-machine.h>.
26949         (Elf64_FuncDesc): Remove.
26951 2011-08-22  David S. Miller  <davem@davemloft.net>
26953         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26954         sigaltstack check, add missing cfi directives.
26955         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26956         missing cfi directives, and sigaltstack handling.
26958 2011-08-16  Andreas Schwab  <schwab@redhat.com>
26960         [BZ #11724]
26961         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26962         object is seen twice.
26963         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26965         * elf/Makefile (distribute): Add tst-initorder2.c.
26966         (tests): Add tst-initorder2.
26967         (modules-names): Add tst-initorder2a tst-initorder2b
26968         tst-initorder2c tst-initorder2d.  Add rules to build them.
26969         ($(objpfx)tst-initorder2.out): New rule.
26970         * elf/tst-initorder2.c: New file.
26971         * elf/tst-initorder2.exp: New file.
26973 2011-08-22  Andreas Schwab  <schwab@redhat.com>
26975         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26977         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26978         dependencies back to end of function.
26980         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26981         $(elfobjdir)/ld.so.
26983 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
26985         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26986         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26987         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26988         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26989         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26990         of __vdso_gettimeofday.
26991         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26992         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
26993         attribute_hidden.
26994         (_libc_vdso_platform_setup): Remove initialization of
26995         __vdso_gettimeofday and __vdso_time.
26997 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
26999         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27000         and fgetc_unlocked.
27001         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27002         getc_unlocked.
27004         * elf/dl-open.c (add_to_global): Report additions to the global scope
27005         for LD_DEBUG=scopes.
27006         (dl_open_worker): Also print scope of newly loaded dependencies.
27007         (_dl_show_scope): Indicate if there is no scope.
27009         [BZ #13114]
27010         * stdio-common/Makefile (tests): Add bug24.
27011         * stdio-common/bug24.c: New file.
27013 2011-08-19  Andreas Jaeger  <aj@suse.de>
27015         [BZ #13114]
27016         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27017         non-existant file when using close-on-exec mode.
27019 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27021         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27022         the very first instruction.
27024         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27025         the CFI state in the end.
27026         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27027         inclusion of dl-trampoline.h.
27028         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27030 2011-08-19  Andreas Schwab  <schwab@redhat.com>
27032         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27033         expectations for long double.
27035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27036         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27038 2011-08-14  David S. Miller  <davem@davemloft.net>
27040         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27041         artificual limit depends upon the system page size.
27043 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
27045         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27046         * resolv/Makefile: Define CFLAGS-libresolv.
27048 2011-08-17  Andreas Schwab  <schwab@redhat.com>
27050         * nss/makedb.c (compute_tables): Make variables used in nested
27051         function static.
27053 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
27055         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27056         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27057         if buffer was too small.
27059         * elf/pldd.c (main): Attach to all threads in the process.
27060         Rewrite /proc handling to use *at functions.
27062 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
27064         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27065         specifies first scope to show.
27066         (dl_open_worker): Update callers.  Move printing scope of new
27067         object to before the relocation.
27068         * elf/rtld.c (dl_main): Update _dl_show_scope call.
27069         * sysdeps/generic/ldsodefs.h: Update declaration.
27071         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27072         string for the scope number.
27074 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
27076         * nscd/servicescache.c (cache_addserv): Make sure written is always
27077         initialized.
27079 2011-08-14  Roland McGrath  <roland@hack.frob.com>
27081         * sysdeps/i386/i486/bits/atomic.h
27082         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27083         statement expression, so as to suppress "set but not used" warning.
27084         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27086         * string/strncat.c (STRNCAT): Use prototype definition.
27088         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27089         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27090         -Iprograms here.
27091         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27092         (localedef-modules): Add localedef.
27093         (locale-modules): Add locale.
27095         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27096         * elf/rtld.c (dl_main): Invert order of assignment in last change,
27097         to avoid a warning.
27099 2011-08-14  David S. Miller  <davem@davemloft.net>
27101         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27102         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27104 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
27106         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27107         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27108         * elf/rtld.c (dl_main): Set l_name of vDSO.
27109         Call _dl_show_scope when DL_DEBUG_SCOPES.
27110         (process_dl_debug): Recognize scopes flag and also set it for all.
27111         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27112         Declare _dl_show_scope.
27114         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27115         (do_dlopen): Pass caller_dlopen to dl_open.
27116         (__libc_dlopen_mode): Initialize caller_dlopen.
27118         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27119         of libc.  Make tolower call locale-independent.  Optimize a bit by
27120         using isdigit instead of isalnum.
27121         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27123 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
27125         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27126         was a dependency or dynamically loaded.
27128 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
27130         * intl/l10nflist.c: Allow architecture-specific pop function.
27131         * sysdeps/x86_64/l10nflist.c: New file.
27133         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27134         classification.
27136 2011-08-10  Andreas Schwab  <schwab@redhat.com>
27138         * include/dirent.h: Add libc_hidden_proto for scandirat and
27139         scandirat64.  Don't declare __scandirat64.
27140         * dirent/scandirat.c: Add libc_hidden_def.
27141         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27142         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27144 2011-08-10  David S. Miller  <davem@davemloft.net>
27146         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27147         enum.
27148         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27149         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27150         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27152 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
27154         * Versions.def [libc]: Add GLIBC_2.15.
27155         * dirent/Makefile (routines): Add scandirat and scandirat64.
27156         * dirent/Versions [libc]: Export scandirat and scandirat64 for
27157         GLIBC_2.15.
27158         * dirent/dirent.h: Declare scandirat and scandirat64.
27159         * dirent/scandirat.c: New file.
27160         * dirent/scandirat64.c: New file.
27161         * sysdeps/wordsize-64/scandirat.c: New file.
27162         * sysdeps/wordsize-64/scandirat64.c: New file.
27163         * dirent/opendir.c: Define opendirat.
27164         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
27165         using scandirat.
27166         * dirent/scandir64.c: Adjust for scandir.c change.
27167         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
27168         __scandirat64, and __scandir_cancel_handler.
27169         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
27170         additional parameter and use openat instead of open (outside of ld.so).
27171         Add new __opendir as wrapper around __opendirat.
27172         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27173         here without requiring old scandirat implementation.
27175 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
27177         * dirent/scandir.c (cancel_handler): Renamed to
27178         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
27179         defined.  Adjust users.
27180         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27181         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27183 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
27185         * string/test-string.h (IMPL): Use __STRING to expand name and then
27186         stringify it.
27188         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
27189         of cleanups.
27191 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27193         * string/Makefile: Update.
27194         (strop-tests): Append strncat.
27195         * string/test-wcscmp.c: New file.
27196         New comprehensive test for wcscmp.
27197         * string/test-strcmp.c: Update.
27198         (WIDE): New define.
27200 2011-07-22  Andreas Schwab  <schwab@redhat.com>
27202         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27203         line.
27205 2011-07-26  Andreas Schwab  <schwab@redhat.com>
27207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27208         encoding to ACE if AI_IDN.
27210 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
27212         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27213         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27215 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27217         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27218         Fix overflow bug in strncat.
27219         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27221         * string/test-strncat.c: Update.
27222         Add new tests for checking overflow bugs.
27224 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27226         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27227         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27228         * sysdeps/i386/i686/multiarch/strcat.S: New file.
27229         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27230         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27231         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27232         * sysdeps/i386/i686/multiarch/strncat.S: New file.
27233         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27234         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27236         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27237         (USE_AS_STRCAT): Define.
27238         Add strcat and strncat support.
27239         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27241 2011-07-25  Andreas Schwab  <schwab@redhat.com>
27243         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27244         __n bigger than INT_MAX+1.
27245         (__strncmp_g): Likewise.
27247 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
27249         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27250         * libio/stido.h: Likewise.
27252         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27253         (AF_NFC): Define.
27254         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27255         (AF_NFC): Define.
27257         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27258         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27259         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27260         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27261         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27263         [BZ #13021]
27264         * scripts/test-installation.pl: Don't expect libnss_test1 to be
27265         installed.
27267         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27268         typo.
27269         (_dl_x86_64_save_sse): Likewise.
27271 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
27273         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27274         OSXSAVE.
27275         (_dl_x86_64_save_sse): Likewise.
27277         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27279         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27281 2011-07-21  Andreas Schwab  <schwab@redhat.com>
27283         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27284         change.
27285         (_dl_x86_64_save_sse): Use correct AVX check.
27287 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27289         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27290         bug in strncpy/strncat.
27291         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27293 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
27295         * string/tester.c (test_strcat): Add tests for different alignments
27296         of source and destination.
27297         (test_strncat): Likewise.
27299 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27301         [BZ #12852]
27302         * posix/glob.c (glob): Check passed in values before using them in
27303         expressions to avoid some overflows.
27304         (glob_in_dir): Likewise.
27306         [BZ #13007]
27307         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27308         check for AVX enablement so that we don't crash with old kernels and
27309         new hardware.
27310         * elf/tst-audit4.c: Add same checks here.
27311         * elf/tst-audit6.c: Likewise.
27313         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27315 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
27317         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27319 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27321         * po/cs.po: Update from translation team.
27322         * po/bg.po: Likewise.
27324 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
27326         * misc/sys/cdefs.h: Add support for const attribute.
27327         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27328         to gnu_dev_{major,minor,makedev} functions.
27330 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
27332         * intl/dcigettext.c (get_output_charset): Add missing bracket.
27334 2011-07-20  Andreas Schwab  <schwab@redhat.com>
27336         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27337         strlen results.
27339 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27342         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27343         register in order to avoid conflicts with the soft frame pointer
27344         being held in r11 when necessary.
27345         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27346         (INTERNAL_VSYSCALL_NCS): Likewise.
27348 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
27350         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27351         * elf/dl-fini.c (_dl_fini): Adjust caller.
27352         * elf/dl-close.c (_dl_close_worker): Likewise.
27353         * sysdeps/generic/ldsodefs.h: Adjust declaration.
27355 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
27357         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27358         "aux_cache->nlibs < 0".
27360         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27361         in the reload-count case.
27363 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27366         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27367         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27368         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27369         * sysdeps/x86_64/multiarch/strcat.S: New file.
27370         * sysdeps/x86_64/multiarch/strncat.S: New file.
27371         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27372         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27373         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27374         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27375         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27376         (USE_AS_STRCAT): Define.
27377         Add strcat and strncat support.
27378         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27379         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27380         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27381         * string/strncat.c: Update.
27382         (USE_AS_STRNCAT): Define.
27383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27384         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27385         and i7.
27386         * sysdeps/x86_64/multiarch/init-arch.h
27387         (bit_Prefer_PMINUB_for_stringop): New.
27388         (index_Prefer_PMINUB_for_stringop): Likewise.
27389         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27390         bit_Prefer_PMINUB_for_stringop.
27392 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
27394         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27395         buffer64.
27396         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27397         of casting of buffer.
27398         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27399         buffer32 and buffer64.
27400         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27401         writes instead of casting of buffer.
27402         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27403         buffer32.
27404         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27405         casting of buffer.
27407 2011-07-19  Andreas Schwab  <schwab@redhat.com>
27409         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27411 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
27413         * nscd/nscd.c (termination_handler): Don't do anything for a database
27414         if it has not yet been initialized.
27416 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
27418         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27420 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
27422         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27424 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
27426         * po/nl.po: Update from translation team.
27427         * po/sv.po: Likewise.
27429 2011-07-16  Roland McGrath  <roland@hack.frob.com>
27431         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27432         now disallowed by GCC.
27434         * configure.in (use-default-link): Default to yes if a test -shared
27435         link meets our qualifications.
27436         * configure: Regenerated.
27438         * config.make.in (output-format): New variable.
27439         * configure.in: Check for ld --print-output-format support.
27440         * configure: Regenerated.
27441         * Makerules ($(common-objpfx)format.lds)
27442         [$(output-format) != unknown]: Just use $(output-format),
27443         instead of the linker-script munging.
27445 2011-07-14  Roland McGrath  <roland@hack.frob.com>
27447         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27448         of $(common-objpfx)shlib.lds.
27449         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27451         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27452         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27454         * configure.in (-z relro check): Adjust test code to add a large
27455         writable data section after it.
27456         * configure: Regenerated.
27458 2011-07-11  Roland McGrath  <roland@hack.frob.com>
27460         * configure.in (-z relro check): Fix test code to make the variable
27461         truly const.
27462         * configure: Regenerated.
27464 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
27466         * nscd/nscd.h (struct traced_file): Define.
27467         (struct database_dyn): Remove inotify_descr, reset_res, and filename
27468         elements.  Add traced_files.
27469         (inotify_fd): Declare.
27470         (register_traced_file): Declare.
27471         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27472         (inotify_fd): Export.
27473         (resolv_conf_descr): Remove.
27474         (nscd_init): Move inotify descriptor creation to main.
27475         Don't register files for notification here.
27476         (register_traced_file): New function.
27477         (invalidate_cache): Don't use reset_res to determine whether to call
27478         res_init, go through the list of registered files.
27479         (main_loop_poll): The inotify descriptors are now stored in the
27480         structures for the traced files.
27481         (main_loop_epoll): Likewise
27482         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
27483         to __nss_disable_nscd.
27484         * nscd/cache.c (prune_cache): There is no single inotify descriptor
27485         for a database anymore.  Check the records for all the registered
27486         files instead.
27487         * nss/Makefile (libnss_files-routines): Add files-init.
27488         (libnss_db-routines): Add db-init.
27489         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27490         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27491         * nss/nss_db/db-init.c: New file.
27492         * nss/nss_files/files-init.c: New file.
27493         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
27494         __nss_lookup_function.
27495         (__nss_lookup_function): Call nss_load_library.
27496         (nss_load_all_libraries): New function.
27497         (__nss_disable_nscd): Take parameter with callback function for files
27498         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
27499         used for the cached services.
27500         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27501         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27502         options for features to all the files in nscd.
27504         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27506 2011-07-10  Roland McGrath  <roland@hack.frob.com>
27508         * csu/elf-init.c (__libc_csu_init): Comment typo.
27510 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
27512         * po/pl.po: Update from translation team.
27513         * po/ja.po: Likewise.
27514         * po/ru.po: Likewise.
27515         * po/ko.po: Likewise.
27516         * po/fr.po: Likewise.
27518 2011-07-09  Roland McGrath  <roland@hack.frob.com>
27520         * configure.in (.ctors/.dtors header and trailer check):
27521         Use an empirical test on a built program.
27522         * configure: Regenerated.
27524         * configure.in (-z relro check): Use an empirical test on a built DSO.
27525         Detect, but do not require, on ia64.
27526         * configure: Regenerated.
27528         * configure.in (READELF): Find it with AC_CHECK_TOOL.
27529         Update tests that use readelf to use $READELF instead.
27530         * configure: Regenerated.
27532 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
27534         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27535         if the result is not used.
27537 2011-07-05  Andreas Jaeger  <aj@suse.de>
27539         [BZ#9696]
27540         * stdlib/tst-strtod.c: Add testcase.
27542 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
27544         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27545         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27546         The latter has a higher limit.  Take additional parameter to pass to
27547         the new function.
27548         (__pathconf): Pass file to __statfs_link_max.
27549         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27550         __statfs_link_max.
27551         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27552         __statfs_link_max.
27554         [BZ #12868]
27555         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27556         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27557         Handle Lustre.
27558         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27559         (__statfs_filesize_max): Likewise.
27560         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27562 2011-07-05  Andreas Jaeger  <aj@suse.de>
27564         * resolv/res_comp.c (dn_skipname): Remove unused variable.
27566 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
27568         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27569         `status' variable.
27570         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27571         Likewise.
27573 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
27575         * Makefile (strop-tests): Add strncat.
27576         * string/test-strncat.c: New file.
27578 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
27580         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27582 2011-06-21  Andreas Jaeger  <aj@suse.de>
27584         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27585         Copy rule from iconvdata/Makefile.
27587 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
27589         [BZ #12922]
27590         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27591         but no long options are defined, just return 'W'.
27593 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
27595         [BZ #9696]
27596         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27598 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
27600         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27601         netgroups to read.
27602         (innetgr): Likewise.
27604 2011-07-05  Roland McGrath  <roland@hack.frob.com>
27606         * config.make.in (install_root): Default to $(DESTDIR).
27608 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
27610         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27612 2011-07-02  Roland McGrath  <roland@hack.frob.com>
27614         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27616         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27617         containing directory rather than embedding absolute directory names.
27619         * scripts/check-local-headers.sh: Rewritten using awk.
27620         Match by word, not by line.  Print error messages for matches.
27621         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27623         * Makerules [shlib-lds-flags empty]:
27624         ($(common-objpfx)libc_pic.opts): New target.
27625         ($(common-objpfx)libc_pic.os.clean): New target.
27626         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27628         * config.make.in (OBJCOPY): New variable.
27629         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27630         * configure: Regenerated.
27632         * config.make.in (use-default-link): New variable.
27633         * configure.in (use_default_link): Grok --with-default-link to set it.
27634         * configure: Regenerated.
27635         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27636         (shlib-lds, shlib-lds-flags): Define to empty.
27638         * Makerules (shlib-lds): New variable.
27639         (shlib-lds-flags): New variable.
27640         (build-shlib, build-moduile, build-module-asneeded): Use it.
27641         ($(common-objpfx)libc.so): Use $(shlib-lds).
27642         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27643         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27645         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27646         DT_FLAGS/DT_FLAGS_1 with zero flags.
27648         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27649         linker script munging.
27651 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
27653         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27654         as 128-bit value.
27655         * crypt/sha512.c (sha512_process_block): Perform total addition using
27656         128-bit if possible.
27657         (__sha512_finish_ctx): Likewise.
27658         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27659         as 64-bit value.
27660         * crypt/sha256.c (SWAP64): Define.
27661         (sha256_process_block): Perform total addition using 64-bit if
27662         possible.
27663         (__sha256_finish_ctx): Likewise.
27665 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
27667         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
27668         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27669         * nscd/hstcache.c (cache_addhst): Likewise.
27670         * nscd/grpcache.c (cache_addgr): Likewise.
27671         * nscd/aicache.c (addhstaiX): Likewise
27672         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27674 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
27676         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27677         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27678         * nscd/hstcache.c (cache_addhst): Likewise.
27679         * nscd/grpcache.c (cache_addgr): Likewise.
27680         * nscd/aicache.c (addhstaiX): Likewise
27682 2011-07-01  Andreas Schwab  <schwab@redhat.com>
27684         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27685         domain only when needed.
27687 2011-06-30  Andreas Schwab  <schwab@redhat.com>
27689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27690         is always restored.
27692 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
27694         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27695         are re-adding the entry.
27696         * nscd/servicescache.c (cache_addserv): Likewise.
27698 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
27700         * sysdeps/generic/dl-irel.h: fix protection against multiple
27701         inclusions.
27702         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27704 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
27706         [BZ #12935]
27707         * malloc/memusage.sh: Fix quoting in message.
27708         * debug/xtrace.sh: Likewise.
27710         * configure.in: Remove support for --experimental-malloc option, make
27711         it the default.
27712         * config.make.in: Likewise.
27713         * malloc/Makefile: Likewise.
27715 2011-06-27  Andreas Schwab  <schwab@redhat.com>
27717         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27718         two-byte characters.
27720 2011-06-27  Roland McGrath  <roland@hack.frob.com>
27722         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27723         AC_CACHE_CHECK invocation.
27724         * configure: Regenerated.
27726         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27728 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
27730         [BZ #12350]
27731         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
27732         bit from old_res_options.
27734         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27736         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27737         value type for setfct.
27739 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
27741         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27742         __gettimeofday instead of gettimeofday.
27744 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
27746         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27748 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27750         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27752         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27753         info.
27755 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
27757         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27758         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27759         strcpy-sse2-unaligned strncpy-sse2-unaligned
27760         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27761         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27762         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27763         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27764         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27765         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27766         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27767         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27768         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27769         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27770         (STRCPY): Support SSE2 and SSSE3 versions.
27772 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
27774         [BZ #12874]
27775         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27776         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27777         kernels which artificially limit size of requests.
27779 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
27781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27782         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27783         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27784         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27785         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27786         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27787         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27788         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27789         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27790         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27791         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27792         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27793         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27794         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27795         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27797         Enable unaligned load optimization for Intel Core i3, i5 and i7
27798         processors.
27799         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27800         Define.
27801         (index_Fast_Unaligned_Load): Define.
27802         (HAS_FAST_UNALIGNED_LOAD): Define.
27804 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
27806         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27808 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
27810         [BZ #12907]
27811         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27812         until it is clear that the information is realy needed.
27813         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27815 2011-06-22  Andreas Schwab  <schwab@redhat.com>
27817         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27819 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
27821         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27822         /sys/devices/system/cpu/online if it is usable.
27824         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27825         reading the information from the /proc filesystem to once a second.
27827 2011-06-21  Andreas Jaeger  <aj@suse.de>
27829         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27830         NULL after inclusion of kernel headers.
27832 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
27834         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27835         calls to internal_setent.
27837         [BZ #12885]
27838         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27839         addresses using gethostbyname4_r ignore IPv4 addresses.
27841         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27842         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
27844         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27846 2011-06-20  David S. Miller  <davem@davemloft.net>
27848         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27849         inclusions.
27850         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27852         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27853         (elf_irel): Use it.
27854         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27855         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27856         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27857         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27858         * sysdeps/x86_64/dl-irel.h: Likewise.
27860         * elf/dl-runtime.c: Use elf_ifunc_invoke.
27861         * elf/dl-sym.c: Likewise.
27863 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
27865         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
27866         need to dereference resplen2.
27868 2011-06-14  Andreas Schwab  <schwab@redhat.com>
27870         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27872 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
27874         * Makeconfig: Define vardbdir and inst_vardbdir.
27875         * nss/Makefile: Add rules to install db-Makefile.
27877         * nss/nss_db/db-XXX.c: Cleanup.
27879         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27880         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27881         GLIBC_PRIVATE.
27882         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27883         * nss/makedb.c: Implement -g option to specify that value strings
27884         are generated and should not be added to table iterated over for
27885         get*ent calls.
27886         * nss/nss_db/db-initgroups.c: New file.
27888         * nss/getent.c: Add support for initgroups lookups through getgrouplist
27889         interface.
27891         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27892         (internal_getgrouplist): Adjust to name change.
27893         Update use_initgroups_entry if this is not the first call.
27894         * nss/databases.def: Add initgroups entry.
27896         * nss/makedb.c (compute_tables): Check result of multiple hash table
27897         sizes to minimize maximum chain length.
27899 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
27901         * Versions.def: Add entry for libnss_db.
27902         * shlib-versions: Likewise.
27903         * nss/Makefile: Add rules to build libnss_db.
27904         * nss/Versions: Add libnss_db information.  Organize libnss_files
27905         entries better.
27906         * nss/db-Makefile: Add gshadow support.  Change rules for the new
27907         makedb progra.  Some minor improvements to generate smaller files.
27908         * nss/nss_db/nss_db.h: Move NSS database header data structures to
27909         here from...
27910         * nss/makedb.c: ...here.
27911         Improve database format to be smaller and require less memory at
27912         runtime.
27913         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
27914         db anymore.
27915         * nss/nss_db/db-netgrp.c: Likewise.
27916         * nss/nss_db/db-open.c: Likewise.
27917         * nss/nss_files/flies-XXX.x: Adjust comments.
27918         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27919         * nss/nss_files/files-grp.c: Likewise.
27920         * nss/nss_files/files-hosts.c: Likewise.
27921         * nss/nss_files/files-network.c: Likewise.
27922         * nss/nss_files/files-proto.c: Likewise.
27923         * nss/nss_files/files-pwd.c: Likewise.
27924         * nss/nss_files/files-rpc.c: Likewise.
27925         * nss/nss_files/files-service.c: Likewise.
27926         * nss/nss_files/files-sgrp.c: Likewise.
27927         * nss/nss_files/files-spwd.c: Likewise.
27928         * nss/nss_db/db-alias.c: Removed.
27929         * nss/nss_db/dummy-db.h: Removed.
27931 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
27933         * nss/makedb.c: Rewritten to not use database library.
27934         * nss/Makefile: Update to build new makedb program.
27936 2011-06-14  Andreas Jaeger  <aj@suse.de>
27938         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27939         memset declaration.
27941 2011-06-10  Andreas Schwab  <schwab@redhat.com>
27943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27944         tmpbuf.
27946 2011-06-10  Roland McGrath  <roland@hack.frob.com>
27948         * Makerules (shlib.lds): Fail if the linker script comes out empty.
27949         * elf/Makefile ($(objpfx)ld.so): Likewise.
27951         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27952         Don't list ld.so twice in dependencies.
27954         * posix/bug-regex31.c: Include <stdlib.h>.
27956         * nscd/hstcache.c (cache_addhst): Remove unused variable.
27958         * nis/nss_compat/compat-spwd.c
27959         (getspent_next_nss_netgr): Remove unused variable.
27960         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27962         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27963         nonmembers" output to use the right array.
27965         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27967         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27969         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27970         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27971         * catgets/gencat.c (read_input_file): Likewise.
27972         * locale/programs/locarchive.c (enlarge_archive): Likewise.
27974         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27975         variable definition inside #if's controlling its use.
27977         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27979         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27981         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27983         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27984         unreachable code.
27986         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27988         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27989         * configure: Regenerated.
27991         * Makerules: Revert last change.
27992         * elf/Makefile: Likewise.
27994 2011-06-09  Roland McGrath  <roland@hack.frob.com>
27996         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27997         * elf/Makefile ($(objpfx)librtld.os): Likewise.
27998         (reloc-link): Likewise.
28000 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
28002         * elf/Makefile: Add rules to build pldd.
28003         * elf/pldd.c: New file.
28004         * elf/pldd-xx.c: New file.
28006 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
28008         * version.h: Update for 2.15 development version.
28010 2011-06-07  David S. Miller  <davem@davemloft.net>
28012         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28013         ifuncs.
28014         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28015         elf_machine_lazy_rel): Likewise.
28016         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28017         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28018         elf_machine_lazy_rel): Likewise.
28019         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28020         dl_hwcap via passed in argument.
28021         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28022         Likewise.
28024 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28026         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
28028 2011-06-06  Roland McGrath  <roland@hack.frob.com>
28030         [BZ #12849]
28031         * manual/fdl-1.1.texi: New file, verbatim from:
28032         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28033         * manual/lgpl-2.1.texi: New file, verbatim from:
28034         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28035         * manual/Makefile (licenses): New variable, list those new file names.
28036         (texis): Use it.
28037         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28039         * manual/fdl.texi: File removed.
28040         * manual/lesser.texi: File removed.
28041         * manual/libc.texinfo (Copying, Documentation License):
28042         Use new @include file names, put @appendix directive before @include.
28044 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
28046         [BZ #12841]
28047         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28048         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28049         (mq_open): Add __NTH.
28051 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
28053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28054         Assume Intel Core i3/i5/i7 processor if AVX is available.
28056 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
28058         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28059         typo.
28061 2011-05-31  Andreas Schwab  <schwab@redhat.com>
28063         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28064         memory.  Use alloca_account.  Fix memory leak when retrying.
28066 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
28068         * version.h (RELEASE): Bump for 2.14 release.
28069         * include/features.h (__GLIBC_MINOR__): Bump to 14.
28071         * config.make.in (RANLIB): Remove entry.
28073 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
28075         * po/Makefile (po-sed-cmd): Add ksh to extensions.
28076         (libc.pot): Work around missing support for .ksh extension in xgettext.
28078         [BZ #12684]
28079         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28080         if both request failed.
28081         (send_dg): In case of server errors clear resplen or *resplen2.
28083         [BZ #12454]
28084         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28085         when there are multiple maps.
28086         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28087         (_dl_fini): Remove test here.
28089         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28091 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
28093         [BZ #12350]
28094         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28095         bit from old_res_options.
28096         (gaih_inet): Likewise.
28098         [BZ #11099]
28099         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28100         as signed.
28102         * resolv/res_init.c (res_setoptions): Make the code more compact.
28104         [BZ #11558]
28105         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28106         set RES_USEVC.
28108         [BZ #11634]
28109         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28111         * malloc/malloc.h: Mark malloc hook variables as deprecated.
28113         [BZ #11781]
28114         * malloc/malloc.h: Declare malloc hook variables as volatile.
28116         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28117         in last patch.
28119         [BZ #11799]
28120         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28121         raise in the comment.
28122         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28123         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28124         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28126 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
28128         [BZ #12811]
28129         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28130         grow the buffers more if it already has to be sufficient.
28131         (build_wcs_upper_buffer): Likewise.
28132         * posix/regexec.c (check_matching): Likewise.
28133         (clean_state_log_if_needed): Likewise.
28134         (extend_buffers): Don't enlarge buffers beyond size of the input
28135         buffer.
28136         Patches mostly by Emil Wojak <emil@wojak.eu>.
28137         * posix/bug-regex32.c: New file.
28138         * posix/Makefile (tests): Add bug-regex32.
28140         * locale/findlocale.c (_nl_find_locale): Return right away if
28141         _nl_explode_name failed.
28142         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28144         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28146         * debug/xtrace.sh: Unify messages.
28147         * malloc/memusage.sh: Likewise.
28149         [BZ #12813]
28150         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28151         time symbol from vDSO.  Substitute with vsyscall if not available.
28152         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28153         __vdso_time.
28155         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28156         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28157         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28158         Add sendmmsg and internal_sendmmsg.
28159         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28160         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28161         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28163         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28164         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28165         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28167 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
28169         [BZ #12813]
28170         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28171         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
28172         available.
28173         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28174         __vdso_getcpu.
28176         [BZ #12814]
28177         * iconvdata/Makefile (tests): Add bug-iconv9.
28178         * iconvdata/bug-iconv9.c: New file.
28180 2011-05-27  Andreas Schwab  <schwab@redhat.com>
28182         [BZ #12814]
28183         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28185 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
28187         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28188         (struct user_regs_struct): Change intcs field back to cs.
28190 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
28192         * po/ja.po: Update from translation team.
28194 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
28196         [BZ #12795]
28197         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28198         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28200 2011-05-20  Andreas Schwab  <schwab@redhat.com>
28202         * stdlib/longlong.h: Update from GCC.
28204 2011-05-23  Andreas Schwab  <schwab@redhat.com>
28206         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28207         parameter name.
28208         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28209         Add parameter name.
28210         (__sysconf): Pass it down.
28212 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
28214         [BZ #12671]
28215         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28216         some situations.
28217         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28218         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28219         add in in __libc_use_alloca calls.  Adjust callers.
28220         (glob): Use malloc in some situations.
28222         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28223         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28224         pltexit.
28226 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
28228         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28229         and CLOCK_BOOTTIME_ALARM.
28231         [BZ #12782]
28232         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28233         is returned.
28235         * string/_strerror.c (__strerror_r): Print negative errors as signed
28236         numbers.
28238         [BZ #12777]
28239         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28240         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28241         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28243         * configure.in: Fix typo in redirection and correct removal of test
28244         files in two cases.
28246         [BZ #12788]
28247         * locale/setlocale.c (new_composite_name): Fix test to check for
28248         identical name of all categories.
28250         [BZ #12792]
28251         * libio/filedoalloc.c (local_isatty): New function.
28252         (_IO_file_doallocate): Use local_isatty.
28253         * stdio-common/perror.c (perror): In case a new stream is used
28254         forward the stream error.
28255         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28256         error flag.
28258 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
28260         [BZ #11869]
28261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28262         alloca.
28263         * include/alloca.h (extend_alloca_account): Define.
28265         [BZ #11857]
28266         * posix/regex.h: Fix comments with documentation of user-accessible
28267         fields after compilation and describe correct free'ing of pattern
28268         after re_compile_pattern.
28269         Patch by Reuben Thomas <rrt@sc3d.org>.
28271 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
28273         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28274         and -mno-altivec to prevent the compiler from using Altivec and/or
28275         VSX instructions when the corresponding registers are not available.
28277 2011-05-19  Andreas Schwab  <schwab@redhat.com>
28279         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28281 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
28283         * libio/freopen.c (freopen): Use __dup2, not dup2.
28284         * libio/freopen64.c (freopen64): Likewise.
28286 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28288         [BZ #12775]
28289         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28290         * math/Makefile (tests): Add test-powl.
28291         (CFLAGS-test-powl.c): Define.
28292         * math/test-powl.c: New file.
28294 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28296         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28298 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
28300         [BZ #11837]
28301         * iconvdata/gb18030.c: Update to GB18020-2005.
28303 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
28305         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28306         RE_SYNTAX_POSIX_AWK): Update to match recent development.
28307         Patch by Aharon Robbins <arnold@skeeve.com>.
28309         [BZ #11892]
28310         * stdlib/putenv.c (putenv): Don't always create copy of the variable
28311         on the stack.
28313         [BZ #11895]
28314         * misc/pselect.c (__pselect): Handle timeout value errors hidden
28315         through underflows.
28317         [BZ #12766]
28318         * misc/error.c (error_at_line): Ensure file_name and old_file_name
28319         point to strings before performing equality test for error_one_per_line
28320         mode.
28322         [BZ #11697]
28323         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28325         [BZ #11820]
28326         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28327         (struct user_fpregs_struct): Avoid __uint*_t types.
28329         [BZ #6420]
28330         * malloc/mtrace.c (tr_where): Add additional parameter to point to
28331         symbol info.  Use it instead of calling _dl_addr locally.
28332         (lock_and_info): New function.
28333         (tr_freehook): Call lock_and_info and pass symbol info as additional
28334         parameter to tr_where.
28335         (tr_mallochook): Likewise.
28336         (tr_reallochook): Likewise.
28337         (tr_memalignhook): Likewise.
28339         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
28340         used and couldn't be at all thread-safe.
28342 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
28344         * libio/freopen.c (freopen): Don't close old file descriptor
28345         before the new one is opened.  Instead dup the new file descriptor
28346         to the old one after the new stream is created.
28347         * libio/freopen64.c (freopen64): Likewise.
28348         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28349         * libio/fileops.c (_IO_new_file_close_it): Handle new
28350         _IO_FLAGS2_NOCLOSE flag.
28351         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28352         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28353         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28354         _IO_FLAGS2_NOCLOSE flag.
28355         * include/unistd.h: Add hidden_proto for dup3.
28356         Define __have_dup3.
28357         * io/dup3.c: Define hidden symbol.
28358         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28360         [BZ #7101]
28361         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28362         when an incomplete long option is used.
28363         * posix/tst-getopt_long1.c: New file.
28364         * posix/Makefile (tests): Add tst-getopt_long1.
28366         [BZ #10138]
28367         * scripts/config.guess: Update from autoconf-2.68.
28368         * scripts/config.sub: Likewise.
28370         [BZ #10157]
28371         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28372         tests into ...
28373         (has_cpuclock): ...this.  New function.
28374         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28375         macro here based on has_cpuclock code.
28377         [BZ #10149]
28378         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28379         First byte (not low byte) is now always NUL.
28380         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28382         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28383         Use non-cancelable interfaces.
28385         [BZ #9809]
28386         * locale/iso-639.def: Add entry for Sorani.
28388         [BZ #11901]
28389         * include/stdlib.h: Move include protection to the right place.
28390         Define abort_msg_s.  Declare __abort_msg with it.
28391         * stdlib/abort.c (__abort_msg): Adjust type.
28392         * assert/assert.c (__assert_fail_base): New function.  Majority
28393         of code from __assert_fail.  Allocate memory for __abort_msg with
28394         mmap.
28395         (__assert_fail): Now call __assert_fail_base.
28396         * assert/assert-perr.c: Remove bulk of implementation.  Use
28397         __assert_fail_base.
28398         * include/assert.hL Declare __assert_fail_base.
28399         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28400         mmap.
28401         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28403 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
28405         [BZ #11952]
28406         [BZ #12453]
28407         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28408         until all modules are registered in the DTV.
28409         * elf/Makefile: Add rules to build and run tst-tls19.
28410         * elf/tst-tls19.c: New file.
28411         * elf/tst-tls19mod1.c: New file.
28412         * elf/tst-tls19mod2.c: New file.
28413         * elf/tst-tls19mod3.c: New file.
28414         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28416         [BZ #12083]
28417         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28418         correctly.
28420         [BZ #12601]
28421         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28422         two-byte sequence errors.
28423         * iconvdata/Makefile (tests): Add bug-iconv8.
28424         * iconvdata/bug-iconv8.c: New file.
28426         [BZ #12626]
28427         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28428         buf2 definition.
28430         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28432         [BZ #12432]
28433         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28434         (dummy_getcfa): New function.
28435         (init): Get _Unwind_GetCFA address, use dummy if not found.
28436         (backtrace_helper): In recursion check, also check whether CFA changes.
28437         (__backtrace): Completely initialize arg.
28439         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28440         storing incomplete byte sequence in state object.  Avoid testing for
28441         guaranteed too small input if we know there is enough data available.
28443 2011-05-11  Andreas Schwab  <schwab@redhat.com>
28445         * Makeconfig (+link-pie): Indent.
28446         * Rules (binaries-pie): Define if $(have-fpie) and
28447         $(build-shared).
28448         (binaries-shared): Also filter out $(binaries-pie).
28449         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28450         * nscd/Makefile (others-pie): Add nscd.
28451         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28452         ($(objpfx)nscd): Remove command override.
28453         * login/Makefile (others-pie): Add pt_chown.
28454         ($(objpfx)pt_chown): Remove command override.
28455         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28456         remove command overrides.
28458 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
28460         * libio/tst_putwc.c: Fix error messages.
28462         [BZ #12724]
28463         * libio/fileops.c (_IO_new_file_close_it): Always flush when
28464         currently writing and seek to current position when not.
28465         * libio/Makefile (tests): Add bug-fclose1.
28466         * libio/bug-fclose1.c: New file.
28468 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
28470         [BZ #12511]
28471         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28472         don't set DF_1_NODELETE here.
28473         (do_lookup_x): When entering new entry test for copy relocation
28474         and if necessary set DF_1_NODELETE flag.
28475         * elf/tst-unique4.cc: New file.
28476         * elf/tst-unique4.h: New file.
28477         * elf/tst-unique4lib.cc: New file.
28478         * elf/Makefile: Add rules to build and run tst-unique4.
28479         Patch by Piotr Bury <pbury@goahead.com>.
28481 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
28483         [BZ #12052]
28484         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28486         [BZ #12625]
28487         * misc/mntent_r.c (addmntent): Flush the stream after the output
28489         [BZ #12393]
28490         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28491         (is_trusted_path_normalize): Skip initial colon.  Append slash
28492         to empty buffer.  Duplicate is_trusted_path code but allow
28493         constructed patch to be prefix.
28494         (is_dst): Allow $ORIGIN followed by /.
28495         (_dl_dst_substitute): Correct clearing of check_for_trusted.
28496         Correct testing of result of is_trusted_path_normalize
28497         (decompose_rpath): Fix warning.
28499 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
28501         [BZ #11257]
28502         * grp/initgroups.c (internal_getgrouplist): When we found the service
28503         list through the initgroups entry in nsswitch.conf do not always
28504         continue on a successful lookup.  Don't always use the
28505         __nss_group_database value if it is set.
28506         * nss/nsswitch.conf (initgroups): Change action for successful db
28507         lookup to continue for compatibility.
28509 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
28511         [BZ #11532]
28512         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28513         and CP774 modules.
28514         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28515         and CP774 modules.
28516         * iconvdata/tst-tables.sh: Likewise.
28517         * iconvdata/cp770.c: New file.
28518         * iconvdata/cp771.c: New file.
28519         * iconvdata/cp772.c: New file.
28520         * iconvdata/cp773.c: New file.
28521         * iconvdata/cp774.c: New file.
28522         * iconvdata/testdata/CP770: New file.
28523         * iconvdata/testdata/CP770..UTF8: New file.
28524         * iconvdata/testdata/CP771: New file.
28525         * iconvdata/testdata/CP771..UTF8: New file.
28526         * iconvdata/testdata/CP772: New file.
28527         * iconvdata/testdata/CP772..UTF8: New file.
28528         * iconvdata/testdata/CP773: New file.
28529         * iconvdata/testdata/CP773..UTF8: New file.
28530         * iconvdata/testdata/CP774: New file.
28531         * iconvdata/testdata/CP774..UTF8: New file.
28533         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28534         END CHARMAP line.
28535         * iconvdata/gen-8bit-gap.sh: Likewise.
28536         * iconvdata/gen-8bit.sh: Likewise.
28538         * locale/iso-639.def: Add ary entry.
28540         [BZ #11258]
28541         * locale/C-translit.h.in: Add U20A1 transliteration.
28543         [BZ #12178]
28544         * locale/iso-639.def: Add wae entry.
28545         Patch by Kevin Bortis <bortis@translate-wae.ch>.
28547         [BZ #12545]
28548         * locale/programs/localedef.c (construct_output_path): Use ssize_t
28549         for n.
28551         [BZ #12711]
28552         * locale/C-translit.h.in: Add entry for U20B9.
28553         Patch by pravin.d.s@gmail.com.
28555 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
28557         [BZ #12713]
28558         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28559         ENAMETOOLONG use generic getcwd.
28560         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
28561         in rtld.  Use *stat64.
28562         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28563         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28564         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28565         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28566         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28567         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28568         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28569         __fstatat64 macros.
28570         * include/dirent.h: Add libc_hidden_proto for rewinddir.
28571         * dirent/rewinddir.c: Add libc_hidden_def.
28572         * sysdeps/mach/hurd/rewinddir.c: Likewise.
28573         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
28575         * include/dirent.h (__alloc_dir): Add flags parameter.
28576         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28577         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28578         __alloc_dir.
28579         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
28580         from fdopendir if O_CLOEXEC is already set.
28582 2011-03-15  Alan Modra  <amodra@gmail.com>
28584         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28585         l_tls_firstbyte_offset non-zero.  Save padding offset in
28586         l_tls_firstbyte_offset for later use.
28587         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28588         freeing static tls block.
28590 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
28592         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28593         where #ifdef was intended.  The intent is to prevent ARG_MAX from
28594         being defined by the kernel headers.
28596 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
28598         [BZ #12734]
28599         * resolv/resolv.h: Define RES_NOTLDQUERY.
28600         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28601         no-tld-query and set RES_NOTLDQUERY.
28602         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28603         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28604         modern BIND to search name as TLD unless forbidden.
28606 2011-05-07  Petr Baudis  <pasky@suse.cz>
28607             Ulrich Drepper  <drepper@gmail.com>
28609         [BZ #12393]
28610         * elf/dl-load.c (fillin_rpath): Move trusted path check...
28611         (is_trusted_path): ...to here.
28612         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28613         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28614         using is_trusted_path_normalize() in setuid scripts.
28616 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28618         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28619         __BEGIN/__END_DECLS.
28621 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
28623         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28624         NSS_STATUS_NOTFOUND if no record was found.
28626 2011-05-05  Andreas Schwab  <schwab@redhat.com>
28628         * sunrpc/Makefile (headers): Add rpc/netdb.h.
28629         (headers-not-in-tirpc): Remove rpc/netdb.h
28630         * resolv/netdb.h: Revert last change.
28632 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28634         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28635         circular dependency between libgcc.a and libc.a.
28637 2011-05-05  Andreas Schwab  <schwab@redhat.com>
28639         * resolv/netdb.h: Don't include <rpc/netdb.h>.
28640         * nis/Makefile: Don't install rpcsvc/*.
28641         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28642         instead of <rpc/types.h>.
28643         (MAXHOSTNAMELEN): Define.
28645 2011-05-03  Andreas Schwab  <schwab@redhat.com>
28647         * elf/ldconfig.c (add_dir): Don't crash on empty path.
28649 2011-04-28  Maciej Babinski  <mbabinski@google.com>
28651         [BZ #12714]
28652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28653         gethostbyname4_r when IPv6 results are possible.
28655 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
28657         [BZ #12723]
28658         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28659         _PC_PIPE_BUF handling.
28661 2011-04-30  Bruno Haible  <bruno@clisp.org>
28663         [BZ #12717]
28664         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28665         * resolv/netdb.h (getnameinfo): Change type of flags parameter
28666         to 'int'.
28667         * inet/getnameinfo.c (getnameinfo): Likewise.
28669 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
28671         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28672         to groups setting in database lookup.
28673         * nss/nsswitch.conf: Add initgroups entry.
28675 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
28677         [BZ #12685]
28678         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28679         mode string.
28680         Patch by Eric Blake <eblake@redhat.com>.
28682 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
28684         * sunrpc/Makefile (need-export-routines): Add svc_run.
28685         (routines): Remove svc_run.
28686         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28687         * sunrpc/clnt_perr.c (clnt_perrno): Export.
28688         * sunrpc/svc_run.c (svc_run): Likewise.
28689         * sunrpc/svc_udp.c (svcudp_create): Likewise.
28691 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
28693         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28694         problem in reallocation in last patch.
28696 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
28698         * sunrpc/Makefile: Move inclusion of Rules.
28700 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
28702         * nss/nss_files/files-initgroups.c: New file.
28703         * nss/Makefile (libnss_files-routines): Add files-initgroups.
28704         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28705         _nss_files_initgroups_dyn.
28707 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
28709         * elf/elf.h (R_ARM_IRELATIVE): Define.
28711 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
28713         * po/ru.po: Update from translation team.
28715 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
28717         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28718         dependencies.
28720 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
28722         [BZ #12653]
28723         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28724         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28725         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28726         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28727         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28729 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
28731         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28732         differing bytes.
28733         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28734         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28735         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28737 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
28739         [BZ #12420]
28740         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28741         storing it.
28742         * stdlib/bug-getcontext.c: New file.
28743         * stdlib/Makefile: Add rules to build and run bug-getcontext.
28745 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28747         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28748         instructions into .machine "z9-109".
28749         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28750         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28752 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28754         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28755         between environment variables and auxiliary vector.
28757 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
28759         * Makefile: Add rules to build linkobj/libc.so.
28760         * include/libc-symbols.h: Define libc_hidden_nolink.
28761         * include/rpc/auth.h: Mark functions which are to be hidden.
28762         * include/rpc/auth_des.h: Likewise.
28763         * include/rpc/auth_unix.h: Likewise.
28764         * include/rpc/clnt.h: Likewise.
28765         * include/rpc/des_crypt.h: Likewise.
28766         * include/rpc/key_prot.h: Likewise.
28767         * include/rpc/pmap_clnt.h: Likewise.
28768         * include/rpc/pmap_prot.h: Likewise.
28769         * include/rpc/pmap_rmt.h: Likewise.
28770         * include/rpc/rpc_msg.h: Likewise.
28771         * include/rpc/svc.h: Likewise.
28772         * include/rpc/svc_auth.h: Likewise.
28773         * include/rpc/xdr.h: Likewise.
28774         * nis/Makefile: Link all DSOs against linkobj/libc.so.
28775         * nss/Makefile: Likewise.
28776         * sunrpc/Makefile: Don't install headers.  Build library with normal
28777         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
28778         * sunrpc/auth_des.c: Hide exported symbols by default, export some
28779         for the compat linking library.  Remove use of INTDEF/INTUSE.
28780         * sunrpc/auth_none.c: Likewise.
28781         * sunrpc/auth_unix.c: Likewise.
28782         * sunrpc/authdes_prot.c: Likewise.
28783         * sunrpc/authuxprot.c: Likewise.
28784         * sunrpc/clnt_gen.c: Likewise.
28785         * sunrpc/clnt_perr.c: Likewise.
28786         * sunrpc/clnt_raw.c: Likewise.
28787         * sunrpc/clnt_simp.c: Likewise.
28788         * sunrpc/clnt_tcp.c: Likewise.
28789         * sunrpc/clnt_udp.c: Likewise.
28790         * sunrpc/clnt_unix.c: Likewise.
28791         * sunrpc/des_crypt.c: Likewise.
28792         * sunrpc/des_soft.c: Likewise.
28793         * sunrpc/get_myaddr.c: Likewise.
28794         * sunrpc/key_call.c: Likewise.
28795         * sunrpc/key_prot.c: Likewise.
28796         * sunrpc/netname.c: Likewise.
28797         * sunrpc/pm_getmaps.c: Likewise.
28798         * sunrpc/pm_getport.c: Likewise.
28799         * sunrpc/pmap_clnt.c: Likewise.
28800         * sunrpc/pmap_prot.c: Likewise.
28801         * sunrpc/pmap_prot2.c: Likewise.
28802         * sunrpc/pmap_rmt.c: Likewise.
28803         * sunrpc/publickey.c: Likewise.
28804         * sunrpc/rpc_cmsg.c: Likewise.
28805         * sunrpc/rpc_common.c: Likewise.
28806         * sunrpc/rpc_dtable.c: Likewise.
28807         * sunrpc/rpc_prot.c: Likewise.
28808         * sunrpc/rpc_thread.c: Likewise.
28809         * sunrpc/rtime.c: Likewise.
28810         * sunrpc/svc.c: Likewise.
28811         * sunrpc/svc_auth.c: Likewise.
28812         * sunrpc/svc_authux.c: Likewise.
28813         * sunrpc/svc_raw.c: Likewise.
28814         * sunrpc/svc_run.c: Likewise.
28815         * sunrpc/svc_simple.c: Likewise.
28816         * sunrpc/svc_tcp.c: Likewise.
28817         * sunrpc/svc_udp.c: Likewise.
28818         * sunrpc/svc_unix.c: Likewise.
28819         * sunrpc/svcauth_des.c: Likewise.
28820         * sunrpc/xcrypt.c: Likewise.
28821         * sunrpc/xdr.c: Likewise.
28822         * sunrpc/xdr_array.c: Likewise.
28823         * sunrpc/xdr_float.c: Likewise.
28824         * sunrpc/xdr_intXX_t.c: Likewise.
28825         * sunrpc/xdr_mem.c: Likewise.
28826         * sunrpc/xdr_rec.c: Likewise.
28827         * sunrpc/xdr_ref.c: Likewise.
28828         * sunrpc/xdr_sizeof.c: Likewise.
28829         * sunrpc/xdr_stdio.c: Likewise.
28831 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
28833         [BZ #12650]
28834         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28835         * sysdeps/ia64/dl-tls.h: Likewise.
28836         * sysdeps/powerpc/dl-tls.h: Likewise.
28837         * sysdeps/s390/dl-tls.h: Likewise.
28838         * sysdeps/sh/dl-tls.h: Likewise.
28839         * sysdeps/sparc/dl-tls.h: Likewise.
28840         * sysdeps/x86_64/dl-tls.h: Likewise.
28841         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28843 2011-03-14  Andreas Schwab  <schwab@redhat.com>
28845         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28846         rpath element also skip the following colon.
28847         (expand_dynamic_string_token): Add is_path parameter and pass
28848         down to DL_DST_REQUIRED and _dl_dst_substitute.
28849         (decompose_rpath): Call expand_dynamic_string_token with
28850         non-zero is_path.  Ignore empty rpaths.
28851         (_dl_map_object_from_fd): Call expand_dynamic_string_token
28852         with zero is_path.
28854 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
28856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28857         Make cancelable.
28859 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
28861         [BZ #12655]
28862         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28863         Patch by Filipe David Manana <fdmanana@apache.org>.
28865 2011-04-07  Andreas Schwab  <schwab@redhat.com>
28867         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28868         Maintain aligned stack.
28869         (CHECK_RSP): Remove unused macro.
28871 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
28873         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28874         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28876 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
28878         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28880         * include/features.h: Mention __USE_XOPEN2K8 in comment.
28882 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
28884         [BZ #12518]
28885         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28886         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28887         * sysdeps/x86_64/memmove.c: New file.
28888         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28889         (memcpy): Renamed to ...
28890         (__new_memcpy): This.
28891         (memcpy): Provide GLIBC_2_14 memcpy.
28892         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28893         (memcpy): Provide GLIBC_2_2_5 memcpy.
28895 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
28897         [BZ #12631]
28898         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28900 2011-03-30  Andreas Schwab  <schwab@redhat.com>
28902         * misc/syncfs.c: New file.
28903         * misc/Makefile (routines): Add syncfs.
28904         * posix/unistd.h: Declare syncfs.
28905         * sysdeps/unix/syscalls.list: Add syncfs.
28907 2011-04-01  Andreas Schwab  <schwab@redhat.com>
28909         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28910         open_by_handle_at.
28911         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28912         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28913         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28914         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28915         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28916         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28917         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28919 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
28921         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28922         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28923         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28924         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28925         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28926         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28927         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28929         * io/Makefile: Compile fallocate.c, fallocate64.c, and
28930         sync_file_range.c with -fexceptions.
28931         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28932         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28933         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28934         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28935         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28936         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28937         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
28938         sync_file_range as cancellation point
28939         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
28940         now a wrapper around __call_sync_file_range with cancellation handling.
28941         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28942         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
28943         function name to __call_sync_file_range.
28944         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28945         Add call_sync_file_range.
28947 2011-04-01  Andreas Schwab  <schwab@redhat.com>
28949         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28950         bits/timex.h.
28952 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
28954         * iconv/iconv.h: Fix typo in comment.
28955         * io/fcntl.h: Likewise.
28956         * libio/stdio.h: Likewise.
28957         * posix/spawn.h: Likewise.
28958         * posix/unistd.h: Likewise.
28959         * stdlib/stdlib.h: Likewise.
28960         * time/time.h: Likewise.
28961         * wcsmbs/wchar.h: Likewise.
28963         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28964         open_by_handle): Add.
28965         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28966         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
28967         Augment a few comments.
28968         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28969         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28970         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28971         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28972         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28973         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28974         open_by_handle.
28976         * io/fcntl.h (AT_EMPTY_PATH): Define.
28978 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
28980         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28981         * sysdeps/unix/sysv/linux/bits/time.h: New file.
28982         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28983         to...
28984         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
28985         * Versions.def: Add GLIBC_2.14.
28986         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28987         Export.
28989 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
28991         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28992         round counter.
28993         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28995 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28997         [BZ #12597]
28998         * string/test-strncmp.c (do_page_test): New function.
28999         (check2): Likewise.
29000         (test_main): Call check2.
29001         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29003 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
29005         [BZ #12587]
29006         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29007         Handle cache information in CPU leaf 4.
29008         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29010 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
29012         [BZ #12583]
29013         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29014         character representation.
29015         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29017 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
29019         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29020         END(__isnan) to END(__isnanf) to match function entry point/label
29021         EALIGN(__isnanf,...).
29023 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
29025         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29027 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
29029         [BZ #12510]
29030         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29031         copy from the symbol referenced in the relocation to initialize the
29032         used variable.
29033         Patch by Piotr Bury <pbury@goahead.com>.
29034         * elf/Makefile: Add rules to build and tst-unique3.
29035         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29036         * elf/tst-unique3.cc: New file.
29037         * elf/tst-unique3.h: New file.
29038         * elf/tst-unique3lib.cc: New file.
29039         * elf/tst-unique3lib2.cc: New file.
29041         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29043 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
29045         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29046         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
29047         to _start.
29049 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
29051         * elf/dl-load.c (_dl_map_object): If we are looking for the first
29052         to-be-loaded object along a path to loader is ld.so.
29054 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
29055             Ulrich Drepper  <drepper@gmail.com>
29057         * sysdeps/x86_64/memset.S: After aligning destination, code
29058         branches to different locations depending on the value of
29059         misalignment, when multiarch is enabled. Fix this.
29061 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
29063         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29064         Set _x86_64_preferred_memory_instruction for AMD processsors.
29065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29066         Set bit_Prefer_SSE_for_memop for AMD processors.
29068 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
29070         * libio/fmemopen.c (fmemopen): Optimize a bit.
29072 2011-03-03  Andreas Schwab  <schwab@redhat.com>
29074         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29076 2011-03-03  Roland McGrath  <roland@redhat.com>
29078         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29080 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
29082         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29083         __bzero_ultra1 instead of __memset_ultra1.
29085 2011-02-23  Andreas Schwab  <schwab@redhat.com>
29086             Ulrich Drepper  <drepper@gmail.com>
29088         [BZ #12509]
29089         * include/link.h (struct link_map): Add l_orig_initfini.
29090         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29091         returning unsuccessfully.
29092         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29093         close of a file loaded at startup, restore the original l_initfini
29094         list.
29095         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29096         list, store the pointer.
29097         * elf/Makefile ($(objpfx)noload-mem): New rule.
29098         (noload-ENV): Define.
29099         (tests): Add $(objpfx)noload-mem.
29100         * elf/noload.c: Include <memcheck.h>.
29101         (main): Call mtrace.  Close all opened handles.
29103 2011-02-17  Andreas Schwab  <schwab@redhat.com>
29105         [BZ #12454]
29106         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29107         dependencies are missing.
29109 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29111         Fix __if_freereq crash: Unlike the generic version which uses free,
29112         Hurd needs munmap.
29113         * sysdeps/mach/hurd/ifreq.h: New file.
29115 2011-01-27  Petr Baudis  <pasky@suse.cz>
29116             Ulrich Drepper  <drepper@gmail.com>
29118         [BZ 12445]#
29119         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29120         to extend_alloca().
29121         * stdio-common/bug23.c: New file.
29122         * stdio-common/Makefile (tests): Add bug23.
29124 2010-09-28  Andreas Schwab  <schwab@redhat.com>
29125             Ulrich Drepper  <drepper@gmail.com>
29127         [BZ #12489]
29128         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29129         before performing relro protection.  At old place add assertion
29130         to make sure nothing changed.
29132 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
29133             Glauber de Oliveira Costa  <glommer@gmail.com>
29135         * elf/elf.h: Add new ARM TLS relocs.
29137 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
29139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29140         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29141         cast from r3.
29142         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
29143         'tests' variable.
29144         * sysdeps/wordsize-64/tst-writev.c: New file.
29146 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
29148         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29149         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29150         insns in _dl_start to prevent a TOC reference before relocs are
29151         resolved.
29153 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
29155         [BZ #12469]
29156         * Makeconfig: Remove RANLIB definition.
29157         * Makerules: Don't use RANLIB.
29158         * aclocal.m4: Remove ranlib test.
29159         * configure.in: No need to check for ranlib.
29160         * elf/rtld-Rules: Don't use RANLIB.
29162 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29164         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29165         protection macro.
29166         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29167         inclusion protection macro.
29169         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29170         SIGRTMIN and SIGRTMAX and print information in that case only when
29171         SIGRTMIN is defined.
29173 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
29175         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29176         arginfo fn returning -1.
29178         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29179         and thousands string is zero terminated.
29181 2011-02-03  Andreas Schwab  <schwab@redhat.com>
29183         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29184         sysdeps/unix/sysv/linux/bits/socket.h.
29186 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29188         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29189         (__CPU_COUNT): Remove old macros.
29190         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29191         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29192         (__CPU_ALLOC, __CPU_FREE): Add macros.
29193         (__sched_cpualloc, __sched_cpufree): Add declarations.
29195 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
29197         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29198         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29199         * nscd/aicache.c (addhstaiX): Return timeout of added value.
29200         (readdhstai): Return value of addhstaiX call.
29201         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29202         (addgrbyX): Return value returned by cache_addgr.
29203         (readdgrbyname): Return value returned by addgrbyX.
29204         (readdgrbygid): Likewise.
29205         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29206         (addpwbyX): Return value returned by cache_addpw.
29207         (readdpwbyname): Return value returned by addhstbyX.
29208         (readdpwbyuid): Likewise.
29209         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29210         (addservbyX): Return value returned by cache_addserv.
29211         (readdservbyname): Return value returned by addservbyX:
29212         (readdservbyport): Likewise.
29213         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29214         (addhstbyX): Return value returned by cache_addhst.
29215         (readdhstbyname): Return value returned by addhstbyX.
29216         (readdhstbyaddr): Likewise.
29217         (readdhstbynamev6): Likewise.
29218         (readdhstbyaddrv6): Likewise.
29219         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29220         (readdinitgroups): Return value returned by addinitgroupsX.
29221         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29222         (prune_cache): Keep track of timeout value of re-added entries.
29223         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29224         * nscd/nscd.h: Adjust prototypes of readd* functions.
29226 2011-02-04  Roland McGrath  <roland@redhat.com>
29228         * nis/nis_server.c (nis_servstate): Use the right name for 0.
29229         (nis_stats): Likewise.
29230         * nis/nis_modify.c (nis_modify): Likewise.
29231         * nis/nis_remove.c (nis_remove): Likewise.
29232         * nis/nis_add.c (nis_add): Likewise.
29234         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29236         * posix/fnmatch_loop.c: Add some consts.
29238         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29240 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
29242         [BZ #12460]
29243         * config.make.in (config-cflags-novzeroupper): Define.
29244         * configure.in: Substitute libc_cv_cc_novzeroupper.
29245         * elf/Makefile (AVX-CFLAGS): Define.
29246         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29247         (CFLAGS-tst-auditmod4a.c): Likewise.
29248         (CFLAGS-tst-auditmod4b.c): Likewise.
29249         (CFLAGS-tst-auditmod6b.c): Likewise.
29250         (CFLAGS-tst-auditmod6c.c): Likewise.
29251         (CFLAGS-tst-auditmod7b.c): Likewise.
29252         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29254 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
29256         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29257         function to the callback.
29258         Patch partly by Jiri Olsa <jolsa@redhat.com>.
29260 2011-02-02  Andreas Schwab  <schwab@redhat.com>
29262         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29263         of errno.
29265 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
29267         [BZ #11724]
29268         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29269         of constructors.
29270         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29271         of destructors.
29272         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29274         [BZ #11724]
29275         * elf/Makefile: Add rules to build and run new test.
29276         * elf/tst-initorder.c: New file.
29277         * elf/tst-initorder.exp: New file.
29278         * elf/tst-initordera1.c: New file.
29279         * elf/tst-initordera2.c: New file.
29280         * elf/tst-initordera3.c: New file.
29281         * elf/tst-initordera4.c: New file.
29282         * elf/tst-initorderb1.c: New file.
29283         * elf/tst-initorderb2.c: New file.
29284         * elf/tst-order-a1.c: New file.
29285         * elf/tst-order-a2.c: New file.
29286         * elf/tst-order-a3.c: New file.
29287         * elf/tst-order-a4.c: New file.
29288         * elf/tst-order-b1.c: New file.
29289         * elf/tst-order-b2.c: New file.
29290         * elf/tst-order-main.c: New file.
29291         New test case by George Gensure <werkt0@gmail.com>.
29293 2010-10-01  Andreas Schwab  <schwab@redhat.com>
29295         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29296         decoding ACE if AI_CANONIDN.
29298 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
29300         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29302 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
29304         * version.h (RELEASE): Bump for 2.13 release.
29305         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29307         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29309         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29310         MADV_NOHUGEPAGE.
29311         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29312         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29313         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29314         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29315         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29316         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29318         * posix/getconf.c: Update copyright year.
29319         * catgets/gencat.c: Likewise.
29320         * csu/version.c: Likewise.
29321         * debug/catchsegv.sh: Likewise.
29322         * debug/xtrace.sh: Likewise.
29323         * elf/ldconfig.c: Likewise.
29324         * elf/ldd.bash.in: Likewise.
29325         * elf/sprof.c (print_version): Likewise.
29326         * iconv/iconv_prog.c: Likewise.
29327         * iconv/iconvconfig.c: Likewise.
29328         * locale/programs/locale.c: Likewise.
29329         * locale/programs/localedef.c: Likewise.
29330         * malloc/memusage.sh: Likewise.
29331         * malloc/mtrace.pl: Likewise.
29332         * nscd/nscd.c (print_version): Likewise.
29333         * nss/getent.c: Likewise.
29335         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29336         PF_CAIF, and PF_ALG.
29337         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29339 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
29341         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29342         (modules-names): Use them.
29343         (ifunc-test-modules, ifunc-pie-tests): Define.
29344         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29345         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29346         (test-extras): Likewise.
29347         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29348         $(compile-command.c).
29349         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29350         (all-built-dso): Define.
29351         (check-textrel.out, check-execstack.out): Depend on it.
29353         * configure.in: Don't override --enable-multi-arch.
29355 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
29357         [BZ #6812]
29358         * nscd/hstcache.c (tryagain): Define.
29359         (cache_addhst): Return tryagain not notfound for temporary errors.
29360         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29361         failed.
29363 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
29365         [BZ #10563]
29366         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29367         to make the syscall.
29368         * sysdeps/unix/sysv/linux/setgroups.c: New file.
29370         [BZ #12378]
29371         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29372         and fall back to matching as normal character if the string ends before
29373         the matching ']' is found.  This is what POSIX requires.
29374         * posix/testfnm.c: Adjust test result.
29375         * posix/globtest.sh: Adjust test result.  Add new test.
29376         * posix/tst-fnmatch.input: Likewise.
29377         * posix/tst-fnmatch2.c: Add new test.
29379 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
29381         * elf/Makefile (check-execstack): Revert last change.  Depend on
29382         check-execstack.h.
29383         (check-execstack.h): New target.
29384         (generated): Add check-execstack.h.
29385         * elf/check-execstack.c: Include "check-execstack.h".
29386         (main): Revert last change.
29387         (handle_file): Return zero if GNU_STACK is absent and
29388         DEFAULT_STACK_PERMS doesn't include PF_X.
29390 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
29392         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29393         in child fails because the descriptor is already closed.
29394         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29395         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29396         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29398         [BZ #12397]
29399         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29400         syscall.
29402         [BZ #10484]
29403         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29404         temporary buffer used to handle multi lookups locally.
29405         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29407 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
29409         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29410         loader is ld.so.
29412 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
29414         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29415         alignment for SSE2.
29417 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
29419         [BZ #12394]
29420         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29421         characters.  When rounding increased number of integer digits recompute
29422         number of groups.
29423         * stdio-common/tst-grouping.c: New file.
29424         * stdio-common/Makefile: Add rules to build and run tst-grouping.
29426 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
29428         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29429         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
29431         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29432         void.
29433         * bits/select.h: Likewise.
29435 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
29437         * po/ja.po: Update from translation team.
29439 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
29441         [BZ #11155]
29442         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29443         implementation just like for lxstat, fxstatat, et al.
29445 2010-12-27  Jim Meyering  <meyering@redhat.com>
29447         [BZ #12348]
29448         * posix/regexec.c (build_trtable): Return failure indication upon
29449         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
29451 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
29453         [BZ #12201]
29454         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29455         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29456         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29457         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29459         [BZ #12207]
29460         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29462         [BZ #12204]
29463         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29464         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29466 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
29468         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29469         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29470         script has SORT_BY_INIT_PRIORITY.
29471         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29472         NO_CTORS_DTORS_SECTIONS is defined.
29473         * elf/soinit.c: Likewise.
29474         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29475         NO_CTORS_DTORS_SECTIONS is defined.
29476         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29477         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29478         * sysdeps/sh/init-first.c: Likewise.
29479         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29481 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
29483         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29484         always use the slow path.
29486 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
29488         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29489         similar rule which adds the sysdep directories to the header search in
29490         order to pick up the correct platform stackinfo.h.
29491         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29492         perform test if it is, otherwise return successfully without testing.
29493         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29494         DEFAULT_STACK_PERMS define in stackinfo.h.
29495         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29496         defined in stackinfo.h.
29497         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29498         DEFAULT_STACK_PERMS defined in stackinfo.h.
29499         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29500         * sysdeps/ia64/stackinfo.h: Likewise.
29501         * sysdeps/s390/stackinfo.h: Likewise.
29502         * sysdeps/sh/stackinfo.h: Likewise.
29503         * sysdeps/sparc/stackinfo.h: Likewise.
29504         * sysdeps/x86_64/stackinfo.h: Likewise.
29505         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29506         PF_X for powerpc64.  Retain PF_X for powerpc32.
29508 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
29510         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29511         accurately.
29512         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29513         GETDENTS_64BIT_ALIGNED.
29515 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
29517         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29519 2010-12-10  Andreas Schwab  <schwab@redhat.com>
29521         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29522         _GNU_SOURCE.
29524         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29525         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29526         Remove __restrict.
29527         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29528         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29530 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
29532         [BZ #11655]
29533         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29534         are initialized.
29536 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
29538         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29540 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
29542         * po/it.po: Update from translation team.
29544 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
29546         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29547         unused codes.
29549 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
29551         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29553 2010-11-24  Andreas Schwab  <schwab@redhat.com>
29555         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29556         specially.
29557         (gaih_getanswer_slice): Likewise.
29559 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
29561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29563 2010-05-31  Petr Baudis  <pasky@suse.cz>
29565         [BZ #11149]
29566         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29567         silently even in the chroot mode.
29569 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
29571         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29572         last patch a bit.  Pretty printing
29574 2010-05-31  Petr Baudis <pasky@suse.cz>
29576         [BZ #10085]
29577         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29578         initialization of skip_initgroups_dyn.
29580 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
29582         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29583         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29585 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
29587         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29589 2010-11-11  Andreas Schwab  <schwab@redhat.com>
29591         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29592         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29593         (tst-fnmatch-ENV): Set MALLOC_TRACE.
29594         ($(objpfx)tst-fnmatch-mem): New rule.
29595         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29596         * posix/tst-fnmatch.c (main): Call mtrace.
29598 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
29600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29601         Support Intel processor model 6 and model 0x2c.
29603 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
29605         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29606           signed comparison.
29608 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
29610         [BZ #12205]
29611         * string/test-strncasecmp.c (check_result): New function.
29612         (do_one_test): Use it.
29613         (check1): New function.
29614         (test_main): Use it.
29615         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29616         Support strcasecmp and strncasecmp.
29618 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
29620         [BZ #12194]
29621         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29622         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29624 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29626         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29627         IFUNC support.
29628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29629         memset-x86-64.
29630         * sysdeps/x86_64/multiarch/bzero.S: New file.
29631         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29632         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29633         * sysdeps/x86_64/multiarch/memset.S: New file.
29634         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29636         Set bit_Prefer_SSE_for_memop for Intel processors.
29637         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29638         Define.
29639         (index_Prefer_SSE_for_memop): Define.
29640         (HAS_PREFER_SSE_FOR_MEMOP): Define.
29642 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
29644         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29645         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29647 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
29649         [BZ #12191]
29650         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29651         (__x86_64_raw_data_cache_size_half): Likewise.
29652         (__x86_64_raw_shared_cache_size): Likewise.
29653         (__x86_64_raw_shared_cache_size_half): Likewise.
29655         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29656         (__x86_64_raw_data_cache_size_half): Likewise.
29657         (__x86_64_raw_shared_cache_size): Likewise.
29658         (__x86_64_raw_shared_cache_size_half): Likewise.
29659         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29660         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29661         and __x86_64_raw_shared_cache_size_half.  Round
29662         __x86_64_data_cache_size_half, __x86_64_data_cache_size
29663         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29664         to multiple of 256 bytes.
29666 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
29668         [BZ #12167]
29669         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29670         of inacessible symlinks.  Verify result of symlink before returning it.
29671         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29672         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29674 2010-10-28  Erich Ritz  <erichritz@gmail.com>
29676         * math/math.h (isinf): Fix typo in comment.
29678 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
29680         * po/da.po: Update from translation team.
29682 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
29684         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29685         is added to the list.
29687 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29688             Ulrich Drepper  <drepper@gmail.com>
29690         * elf/dl-object.c (_dl_new_object): Don't append the new object to
29691         the global list here.  Move code to...
29692         (_dl_add_to_namespace_list): ...here.  New function.
29693         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29694         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29695         * elf/dl-load.c (lose): Don't remove the element from the list.
29696         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29697         (_dl_map_object): Likewise.
29699 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
29701         [BZ #12159]
29702         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29703         into all bytes of SSE register.
29704         Patch by Richard Li <richardpku@gmail.com>.
29706 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
29708         [BZ #12140]
29709         * malloc/malloc.c (_int_free): Fill correct number of bytes when
29710         perturbing.
29712 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
29714         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29715         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29716         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29717         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29719         submachine.
29720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29722 2010-10-22  Andreas Schwab  <schwab@redhat.com>
29724         * include/dlfcn.h (__RTLD_SECURE): Define.
29725         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
29726         mode & __RTLD_SECURE instead.
29727         (open_path): Rename preloaded parameter to secure.
29728         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29729         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29730         * elf/dl-deps.c (openaux): Likewise.
29731         * elf/rtld.c (struct map_args): Remove is_preloaded.
29732         (map_doit): Don't use it.
29733         (dl_main): Likewise.
29734         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29735         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29737 2010-09-09  Andreas Schwab  <schwab@redhat.com>
29739         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29740         (sysd-rules-targets): Remove duplicates.
29741         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29742         rtld-%.$o dependency.
29744 2010-10-18  Andreas Schwab  <schwab@redhat.com>
29746         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29747         _dl_map_object do it.
29749 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
29751         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29752         fast fma builtins, define the macros in the C99 standard.
29753         (FP_FAST_FMAF): Likewise.
29754         (FP_FAST_FMAL): Likewise.
29755         * sysdeps/x86_64/bits/mathdef.h: Likewise.
29757         * bits/mathdef.h: Update copyright year.
29758         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29760 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
29762         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29763         builtins, define the macros in the C99 standard.
29764         (FP_FAST_FMAF): Likewise.
29765         (FP_FAST_FMAL): Likewise.
29766         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29767         multiply/add.
29768         (FP_FAST_FMAF): Likewise.
29770 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
29772         [BZ #3268]
29773         * math/libm-test.inc (fma_test): Some new testcases.
29774         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29775         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29776         y and infinite z.  Do multiplication by C already in long double.
29777         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29779         y and infinite z.  Do bitwise or of inexact bit into u.d.
29780         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29781         * sysdeps/i386/fpu/s_fmaf.S: Removed.
29782         * sysdeps/i386/fpu/s_fma.S: Removed.
29783         * sysdeps/i386/fpu/s_fmal.S: Removed.
29785 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
29787         [BZ #3268]
29788         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29789         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29790         computation is not scheduled after fetestexcept.  Fix value
29791         of minimum denormal long double.
29793 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
29795         [BZ #3268]
29796         * math/libm-test.inc (fma_test): Add some more tests.
29797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29798         correctly.
29800 2010-10-15  Andreas Schwab  <schwab@redhat.com>
29802         * scripts/data/localplt-s390-linux-gnu.data: New file.
29803         * scripts/data/localplt-s390x-linux-gnu.data: New file.
29805 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
29807         [BZ #3268]
29808         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29809         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29810         instead of dbl-64.
29811         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29812         inlines.
29813         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29814         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29815         if one of x and y is very large and the other is subnormal.
29816         * sysdeps/s390/fpu/s_fmaf.c: New file.
29817         * sysdeps/s390/fpu/s_fma.c: New file.
29818         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29819         * sysdeps/powerpc/fpu/s_fma.S: New file.
29820         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29821         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29822         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29824 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
29826         [BZ #3268]
29827         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29828         fma tests.
29829         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29830         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29831         * sysdeps/i386/i686/multiarch/s_fma.c: Include
29832         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29833         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29834         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29835         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29837 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
29839         [BZ #12078]
29840         * posix/regcomp.c (parse_branch): One more memory leak plugged.
29841         * posix/bug-regex31.input: Add test case.
29843 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
29845         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29846         * posix/bug-regex31.input: New file.
29848         [BZ #12078]
29849         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29850         (parse_sub_exp): Fix last change, use postorder.
29852         * posix/bug-regex31.c: New file.
29853         * posix/Makefile: Add rules to build and run bug-regex31.
29855         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29857         [BZ #12078]
29858         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29860         [BZ #12108]
29861         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29862         to have entries in sys_siglist.
29864         [BZ #12093]
29865         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29866         be NULL.
29868 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
29870         [BZ #3268]
29871         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29872         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29873         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29874         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29875         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29876         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29877         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29878         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29879         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29880         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29881         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29882         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29883         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29884         * math/ftestexcept.c (fetestexcept): Likewise.
29885         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29886         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29887         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29888         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29889         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29890         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29891         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29893 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
29895         [BZ #12107]
29896         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29897         newline.
29899 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
29901         * string/bug-strstr1.c: New file.
29902         * string/Makefile: Add rules to build and run bug-strstr1.
29904 2010-10-05  Eric Blake  <eblake@redhat.com>
29906         [BZ #12092]
29907         * string/str-two-way.h (two_way_long_needle): Always clear memory
29908         when skipping input due to the shift table.
29910 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
29912         [BZ #12005]
29913         * malloc/mcheck.c: Handle large requests.
29915         [BZ #12077]
29916         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29917         for strncmp and strncasecmp.
29918         * string/stratcliff.c: Add tests for strcmp and strncmp.
29919         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29921 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29923         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29924         __set_fpscr.
29926 2010-09-30  Andreas Jaeger  <aj@suse.de>
29928         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29929         (CGROUP_SUPER_MAGIC): Define.
29930         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29931         Handle btrfs and cgroup file systems.
29932         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29933         Likewise.
29935 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
29937         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29938         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29940 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29942         [BZ #12067]
29943         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29944         trying to locate the ELF header.
29946 2010-09-27  Andreas Schwab  <schwab@redhat.com>
29948         [BZ #11611]
29949         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29950         Mask out sign-bit copies when constructing f_fsid.
29952 2010-09-24  Petr Baudis <pasky@suse.cz>
29954         * debug/stack_chk_fail_local.c: Add missing licence exception.
29955         * debug/warning-nop.c: Likewise.
29957 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
29959         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29960         implementing getdents64 using getdents syscall, set d_type if
29961         __ASSUME_GETDENTS32_D_TYPE.
29963 2010-09-16  Andreas Schwab  <schwab@redhat.com>
29965         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29966         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29968 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
29970         [BZ #12037]
29971         * posix/unistd.h: Undo change of feature selection for ftruncate from
29972         2010-01-11.
29974 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
29976         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29977         detection.
29979 2010-09-20  Andreas Schwab  <schwab@redhat.com>
29981         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29982         fanotify_mark.
29983         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29985 2010-09-14  Andreas Schwab  <schwab@redhat.com>
29987         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29988         variables after CHECK_SP call.
29989         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29991 2010-09-13  Andreas Schwab  <schwab@redhat.com>
29992             Ulrich Drepper  <drepper@redhat.com>
29994         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29995         re-relocationg ld.so.
29996         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29997         _dl_init_paths call.
29998         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
29999         here anymore.
30001 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
30003         * resolv/res_init.c (__res_vinit): Count the default server we added.
30005 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
30006             Ulrich Drepper  <drepper@redhat.com>
30008         [BZ #11968]
30009         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30010         (____longjmp_chk): Use %ebx for saving value across system call.
30011         Add unwind info.
30013 2010-09-06  Andreas Schwab  <schwab@redhat.com>
30015         * manual/Makefile: Don't mix pattern rules with normal rules.
30017 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30019         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30020         operation.
30021         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30022         * libio/iofopncook.c (_IO_cookie_init): Likewise.
30023         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30024         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30026         Likewise.
30028 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
30030         [BZ #11979]
30031         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30032         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30034 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
30036         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30037         * sysdeps/x86_64/addmul_1.S: Likewise.
30038         * sysdeps/x86_64/lshift.S: Likewise.
30039         * sysdeps/x86_64/mul_1.S: Likewise.
30040         * sysdeps/x86_64/rshift.S: Likewise.
30041         * sysdeps/x86_64/sub_n.S: Likewise.
30042         * sysdeps/x86_64/submul_1.S: Likewise.
30044 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30046         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30047         Define __sched_param instead of SCHED_* and sched_param when
30048         <bits/sched.h> is included with __need_schedparam defined.
30049         * bits/sched.h [__need_schedparam]
30050         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30051         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30052         (__defined_schedparam): Define to 1.
30053         (__sched_param): New structure, identical to sched_param.
30054         (__need_schedparam): Undefine.
30056 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
30058         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30059         (epoll_create1): Declare.
30061         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30063 2010-08-31  Andreas Schwab  <schwab@redhat.com>
30065         [BZ #7066]
30066         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30067         shifting retval into place.
30069 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
30071         * nis/rpcsvc/nis.h: Update copyright notice.
30072         * nis/rpcsvc/nis.x: Likewise.
30073         * nis/rpcsvc/nis_callback.h: Likewise.
30074         * nis/rpcsvc/nis_callback.x: Likewise.
30075         * nis/rpcsvc/nis_object.x: Likewise.
30076         * nis/rpcsvc/nis_tags.h: Likewise.
30077         * nis/rpcsvc/yp.h: Likewise.
30078         * nis/rpcsvc/yp.x: Likewise.
30079         * nis/rpcsvc/ypupd.h: Likewise.
30080         * nis/yp_xdr.c: Likewise.
30081         * nis/ypupdate_xdr.c: Likewise.
30083         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
30084         mainly the body of pmap_getport.  Add parameters to specify timeouts.
30085         (pmap_getport): Use __libc_rpc_getport.
30086         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30087         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30088         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30090 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
30092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30093         fanotify_mark.
30095 2010-08-27  Roland McGrath  <roland@redhat.com>
30097         * sysdeps/i386/i686/multiarch/Makefile
30098         (CFLAGS-varshift.c): New variable.
30100 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
30102         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30103         * sysdeps/i386/i686/multiarch/varshift.c: New file.
30105         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30107         * sysdeps/x86_64/strlen.S: Minimal code improvement.
30109 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30111         * sysdeps/x86_64/strlen.S: Unroll the loop.
30112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30113         strlen-sse2 strlen-sse2-bsf.
30114         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30115         __strlen_no_bsf if bit_Slow_BSF is set.
30116         (__strlen_sse42): Removed.
30117         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30118         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30120 2010-08-25  Roland McGrath  <roland@redhat.com>
30122         * sysdeps/x86_64/multiarch/varshift.S: File removed.
30123         * sysdeps/x86_64/multiarch/varshift.c: New file.
30124         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30125         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30126         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30127         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30129 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30131         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30132         strlen-sse2 strlen-sse2-bsf.
30133         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30134         __strlen_sse2_bsf if bit_Slow_BSF is unset.
30135         (__strlen_sse2): Removed.
30136         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30137         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30139         bit_Slow_BSF for Atom.
30140         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30141         (index_Slow_BSF): Define.
30142         (HAS_SLOW_BSF): Define.
30144 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
30146         [BZ #10851]
30147         * resolv/res_init.c (__res_vinit): When no server address at all
30148         is given default to loopback.
30150 2010-08-24  Roland McGrath  <roland@redhat.com>
30152         * configure.in: Remove config-name.h generation.
30153         * configure: Regenerated.
30154         * config-name.in: File removed.
30155         * scripts/config-uname.sh: New file.
30156         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30157         ($(objdir)config-name.h): New target.
30159         * sunrpc/rpc_parse.h: Avoid nested comment.
30161 2010-08-24  Richard Henderson  <rth@redhat.com>
30162             Ulrich Drepper  <drepper@redhat.com>
30163             H.J. Lu  <hongjiu.lu@intel.com>
30165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30166         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30167         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30168         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
30169         _mm_alignr_epi8 with _mm_loadu_si128.
30170         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30171         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30172         (__m128i_shift_right): Removed.
30173         * sysdeps/i386/i686/multiarch/varshift.h: New file.
30174         * sysdeps/i386/i686/multiarch/varshift.S: New file.
30175         * sysdeps/x86_64/multiarch/varshift.h: New file.
30176         * sysdeps/x86_64/multiarch/varshift.S: New file.
30178 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
30180         * configure.in: Move assembler checks to before sysdep dir checking.
30182 2010-08-20  Petr Baudis  <pasky@suse.cz>
30184         * LICENSES: Sync the sunrpc license.
30186 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
30188         * sunrpc/auth_des.c: Update copyright notice once again.
30189         * sunrpc/auth_none.c: Likewise.
30190         * sunrpc/auth_unix.c: Likewise.
30191         * sunrpc/authdes_prot.c: Likewise.
30192         * sunrpc/authuxprot.c: Likewise.
30193         * sunrpc/bindrsvprt.c: Likewise.
30194         * sunrpc/clnt_gen.c: Likewise.
30195         * sunrpc/clnt_perr.c: Likewise.
30196         * sunrpc/clnt_raw.c: Likewise.
30197         * sunrpc/clnt_simp.c: Likewise.
30198         * sunrpc/clnt_tcp.c: Likewise.
30199         * sunrpc/clnt_udp.c: Likewise.
30200         * sunrpc/clnt_unix.c: Likewise.
30201         * sunrpc/des_crypt.c: Likewise.
30202         * sunrpc/des_soft.c: Likewise.
30203         * sunrpc/get_myaddr.c: Likewise.
30204         * sunrpc/getrpcport.c: Likewise.
30205         * sunrpc/key_call.c: Likewise.
30206         * sunrpc/key_prot.c: Likewise.
30207         * sunrpc/openchild.c: Likewise.
30208         * sunrpc/pm_getmaps.c: Likewise.
30209         * sunrpc/pm_getport.c: Likewise.
30210         * sunrpc/pmap_clnt.c: Likewise.
30211         * sunrpc/pmap_prot.c: Likewise.
30212         * sunrpc/pmap_prot2.c: Likewise.
30213         * sunrpc/pmap_rmt.c: Likewise.
30214         * sunrpc/rpc/auth.h: Likewise.
30215         * sunrpc/rpc/auth_unix.h: Likewise.
30216         * sunrpc/rpc/clnt.h: Likewise.
30217         * sunrpc/rpc/des_crypt.h: Likewise.
30218         * sunrpc/rpc/key_prot.h: Likewise.
30219         * sunrpc/rpc/netdb.h: Likewise.
30220         * sunrpc/rpc/pmap_clnt.h: Likewise.
30221         * sunrpc/rpc/pmap_prot.h: Likewise.
30222         * sunrpc/rpc/pmap_rmt.h: Likewise.
30223         * sunrpc/rpc/rpc.h: Likewise.
30224         * sunrpc/rpc/rpc_des.h: Likewise.
30225         * sunrpc/rpc/rpc_msg.h: Likewise.
30226         * sunrpc/rpc/svc.h: Likewise.
30227         * sunrpc/rpc/svc_auth.h: Likewise.
30228         * sunrpc/rpc/types.h: Likewise.
30229         * sunrpc/rpc/xdr.h: Likewise.
30230         * sunrpc/rpc_clntout.c: Likewise.
30231         * sunrpc/rpc_cmsg.c: Likewise.
30232         * sunrpc/rpc_common.c: Likewise.
30233         * sunrpc/rpc_cout.c: Likewise.
30234         * sunrpc/rpc_dtable.c: Likewise.
30235         * sunrpc/rpc_hout.c: Likewise.
30236         * sunrpc/rpc_main.c: Likewise.
30237         * sunrpc/rpc_parse.c: Likewise.
30238         * sunrpc/rpc_parse.h: Likewise.
30239         * sunrpc/rpc_prot.c: Likewise.
30240         * sunrpc/rpc_sample.c: Likewise.
30241         * sunrpc/rpc_scan.c: Likewise.
30242         * sunrpc/rpc_scan.h: Likewise.
30243         * sunrpc/rpc_svcout.c: Likewise.
30244         * sunrpc/rpc_tblout.c: Likewise.
30245         * sunrpc/rpc_util.c: Likewise.
30246         * sunrpc/rpc_util.h: Likewise.
30247         * sunrpc/rpcinfo.c: Likewise.
30248         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30249         * sunrpc/rpcsvc/key_prot.x: Likewise.
30250         * sunrpc/rpcsvc/klm_prot.x: Likewise.
30251         * sunrpc/rpcsvc/mount.x: Likewise.
30252         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30253         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30254         * sunrpc/rpcsvc/rex.x: Likewise.
30255         * sunrpc/rpcsvc/rstat.x: Likewise.
30256         * sunrpc/rpcsvc/rusers.x: Likewise.
30257         * sunrpc/rpcsvc/sm_inter.x: Likewise.
30258         * sunrpc/rpcsvc/spray.x: Likewise.
30259         * sunrpc/rpcsvc/yppasswd.x: Likewise.
30260         * sunrpc/rtime.c: Likewise.
30261         * sunrpc/svc.c: Likewise.
30262         * sunrpc/svc_auth.c: Likewise.
30263         * sunrpc/svc_authux.c: Likewise.
30264         * sunrpc/svc_raw.c: Likewise.
30265         * sunrpc/svc_run.c: Likewise.
30266         * sunrpc/svc_simple.c: Likewise.
30267         * sunrpc/svc_tcp.c: Likewise.
30268         * sunrpc/svc_udp.c: Likewise.
30269         * sunrpc/svc_unix.c: Likewise.
30270         * sunrpc/svcauth_des.c: Likewise.
30271         * sunrpc/xcrypt.c: Likewise.
30272         * sunrpc/xdr.c: Likewise.
30273         * sunrpc/xdr_array.c: Likewise.
30274         * sunrpc/xdr_float.c: Likewise.
30275         * sunrpc/xdr_mem.c: Likewise.
30276         * sunrpc/xdr_rec.c: Likewise.
30277         * sunrpc/xdr_ref.c: Likewise.
30278         * sunrpc/xdr_sizeof.c: Likewise.
30279         * sunrpc/xdr_stdio.c: Likewise.
30281         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30282         handling.
30284 2010-08-19  Andreas Schwab  <schwab@redhat.com>
30286         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30288 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
30290         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30291         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30292         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30293         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30294         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30295         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30296         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30297         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30298         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30299         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30300         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30301         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30302         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30303         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30305 2010-07-26  Anton Blanchard  <anton@samba.org>
30307         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30308         * malloc/arena.c (heap_trim): Likewise.
30310 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
30312         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30313         here.  Not...
30314         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30315         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30317 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30319         * sysdeps/i386/elf/Makefile: New file.
30321 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
30323         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30324         from fanotify_init.
30325         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30326         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30328 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
30330         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30331         of strncasecmp_l.
30332         * sysdeps/multiarch/strcmp.S: Likewise.
30334 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
30336         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30337         strncase_l-nonascii.
30338         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30339         Add strncase_l-ssse3.
30340         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30341         * sysdeps/x86_64/strcmp.S: Likewise.
30342         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30343         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30344         * sysdeps/x86_64/strncase.S: New file.
30345         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30346         * sysdeps/x86_64/strncase_l.S: New file.
30347         * string/Makefile (strop-tests): Add strncasecmp.
30348         * string/test-strncasecmp.c: New file.
30350         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30351         warning.
30353         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30354         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30356 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
30358         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30360 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
30362         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30363         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30364         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30366 2010-05-01  Alan Modra  <amodra@gmail.com>
30368         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30369         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30370         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30371         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30372         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30373         tidying.  Don't tail-call __sigjmp_save for static lib.
30374         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30375         save location.
30376         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30377         (CALL_MCOUNT): Add eh info, and nop after bl.
30378         (TAIL_CALL_SYSCALL_ERROR): New macro.
30379         (PSEUDO_RET): Use it.
30380         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30381         Correct save location of integer regs and cr.
30382         (_dl_profile_resolve): Correct cr save location.  Delete nops
30383         after bl when SHARED.  Reduce cfi size a little by better
30384         placement of cfi directives.
30385         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30386         make a stack frame.  Instead use parm save area as a temp.
30387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30388         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30390         Don't make a stack frame for parent, use parm save area.
30391         Increase child stack frame to 112 bytes.  Don't save unused reg,
30392         and adjust reg usage.  Set up cfi on error recovery and
30393         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30395         (__makecontext): Add dummy nop after jump to exit.
30396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30397         Use correct parm save area and cr save, reduce stack frame.
30398         Correct cfi for possible PSEUDO_RET frame setup.
30399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30400         Branch to local label emitted by PSEUDO_RET rather than
30401         __syscall_error.
30403 2010-08-12  Andreas Schwab  <schwab@redhat.com>
30405         [BZ #11904]
30406         * locale/programs/locale.c (print_assignment): New function.
30407         (show_locale_vars): Use it.
30409 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
30411         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30412         field.
30413         (struct statfs64): Likewise.
30414         (_STATFS_F_FLAGS): Define.
30415         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30416         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30417         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30418         (ST_VALID): Define locally.
30419         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30420         __statvfs_getflags, use the provided value.
30421         * sysdeps/unix/sysv/linux/kernel-features.h: Define
30422         __ASSUME_STATFS_F_FLAGS.
30424         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30426         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30427         Add sys/fanotify.h.
30428         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30429         fanotify_mask for GLIBC_2.13.
30430         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30431         fanotify_init and fanotify_mark.
30432         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30433         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30435         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30436         Add prlimit.
30437         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30438         prlimit64 for GLIBC_2.13.
30439         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30440         prlimit64.
30441         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30442         syscall.
30443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30444         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30445         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30446         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30447         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
30448         add prlimit alias.
30449         * sysdeps/unix/sysv/linux/prlimit.c: New file.
30451         [BZ #11903]
30452         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30453         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30455         * nss/Makefile: Add rules to build and run tst-nss-test1.
30456         * shlib-versions: Add entry for libnss_test1.
30457         * nss/nss_test1.c: New file.
30458         * nss/tst-nss-test1.c: New file.
30460         * nss/nsswitch.c (__nss_database_custom): Define new variable.
30461         (__nss_configure_lookup): Set appropriate entry in
30462         __nss_configure_lookup to true.
30463         * nss/nsswitch.h: Define enum with indeces of databases in
30464         databases and __nss_database_custom arrays.  Declare
30465         __nss_database_custom.
30466         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30467         to avoid using nscd when custom rules are installed.
30468         * nss/getXXbyYY_r.c: Likewise.
30469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30471         * nss/nss_files/files-parse.c: Whitespace fixes.
30473 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
30475         [BZ #11883]
30476         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30477         * posix/fnmatch_loop.c: Likewise.
30479 2010-07-17  Andi Kleen  <ak@linux.intel.com>
30481         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30482         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30483         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30484         * Versions.def [GLIBC_2.13]: Add.
30486 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
30488         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30489         Also fail if tpwd after pwuid call is NULL.
30491 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30493         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30494         when converting to ms.
30496 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30498         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30499         EOPNOTSUPP errors with ENOTTY.
30500         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30501         EOPNOTSUPP errors with ENOTTY.
30503 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
30505         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30506         Add strcasecmp_l-ssse3.
30507         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30508         strcasecmp.
30509         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30510         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30511         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30513 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
30515         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30517         * string/Makefile (strop-tests): Add strcasecmp.
30518         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30519         strcasecmp_l-nonascii.
30520         (gen-as-const-headers): Add locale-defines.sym.
30521         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30522         * sysdeps/x86_64/strcasecmp.S: New file.
30523         * sysdeps/x86_64/strcasecmp_l.S: New file.
30524         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30525         * sysdeps/x86_64/locale-defines.sym: New file.
30526         * string/test-strcasecmp.c: New file.
30528         * string/test-strcasestr.c: Test both ends of the range of characters.
30529         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30531 2010-07-29  Roland McGrath  <roland@redhat.com>
30533         [BZ #11856]
30534         * manual/locale.texi (Yes-or-No Questions): Fix example code.
30536 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
30538         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30539         for ld.so.
30541 2010-07-27  Andreas Schwab  <schwab@redhat.com>
30543         * manual/memory.texi (Malloc Tunable Parameters): Document
30544         M_PERTURB.
30546 2010-07-26  Roland McGrath  <roland@redhat.com>
30548         [BZ #11840]
30549         * configure.in (-fgnu89-inline check): Set and substitute
30550         gnu89_inline, not libc_cv_gnu89_inline.
30551         * configure: Regenerated.
30552         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30554 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
30556         * string/test-strnlen.c: New file.
30557         * string/Makefile (strop-tests): Add strnlen.
30558         * string/tester.c (test_strnlen): Add a few more test cases.
30559         * string/tst-strlen.c: Better error reporting.
30561         * sysdeps/x86_64/strnlen.S: New file.
30563 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
30565         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30566         lower-latency instructions.
30568 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
30570         * string/test-strcasestr.c: New file.
30571         * string/test-strstr.c: New file.
30572         * string/Makefile (strop-tests): Add strstr and strcasestr.
30573         * string/str-two-way.h: Don't undefine MAX.
30574         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30576 2010-07-21  Andreas Schwab  <schwab@redhat.com>
30578         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30579         strcasestr-nonascii.
30580         (CFLAGS-strcasestr-nonascii.c): Define.
30581         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30582         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30583         Remove unused attribute.
30585 2010-07-20  Roland McGrath  <roland@redhat.com>
30587         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30588         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
30589         ld.so.cache was broken.  With it, there is no way to disable dsocaps
30590         like LD_HWCAP_MASK can disable hwcaps.
30592 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
30594         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30596 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
30598         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30599         call in strcasestr.
30600         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30601         __strcasestr_sse42_nonascii.
30602         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30603         strcasestr-nonascii.c.
30604         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30606 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
30608         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30609         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30610         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30611         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30613 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
30615         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30616         fcntl.
30618 2010-07-06  Andreas Schwab  <schwab@redhat.com>
30620         [BZ #11577]
30621         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30622         dl_signal_cerror.
30624 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
30626         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30627         _PC_PIPE_BUF using F_GETPIPE_SZ.
30629 2010-07-05  Roland McGrath  <roland@redhat.com>
30631         * manual/arith.texi (Rounding Functions): Fix rint description
30632         implicit in round description.
30634 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
30636         * elf/Makefile: Fix linking for a few tests to make recent linker
30637         happy.
30639 2010-06-30  Andreas Schwab  <schwab@redhat.com>
30641         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30642         $(common-objpfx)libc_nonshared.a.
30644 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
30646         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30647         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30648         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30649         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30650         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30651         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30652         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30653         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30668         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30669         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30670         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30671         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30672         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30673         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30674         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30675         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30676         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30677         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30678         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30679         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30695 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
30697         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30698         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
30699         * string/memmove.c (memmove): Renamed to ...
30700         (MEMMOVE): ...this.  Default to memmove.
30701         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30702         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30703         (END_CHK): Define.
30704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30705         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30706         mempcpy-ssse3-back memmove-ssse3-back.
30707         * sysdeps/x86_64/multiarch/bcopy.S: New file .
30708         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30709         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30710         * sysdeps/x86_64/multiarch/memcpy.S: New file.
30711         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30712         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30713         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30714         * sysdeps/x86_64/multiarch/memmove.c: New file.
30715         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30716         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30717         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30718         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30719         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30720         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30721         Define.
30722         (index_Fast_Copy_Backward): Define.
30723         (HAS_ARCH_FEATURE): Define.
30724         (HAS_FAST_REP_STRING): Define.
30725         (HAS_FAST_COPY_BACKWARD): Define.
30727 2010-06-21  Andreas Schwab  <schwab@redhat.com>
30729         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30730         Restore proper fallback handling.
30732 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
30734         [BZ #11701]
30735         * posix/group_member.c (__group_member): Correct checking loop.
30737         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30738         OOM in getpwuid_r correctly.  Return error number when the caller
30739         should return, otherwise -1.
30740         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30741         call returning > 0 value.
30742         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30744 2010-06-07  Andreas Schwab  <schwab@redhat.com>
30746         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30747         libc_nonshared.a from targets in modules-names.
30749 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
30751         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30752         requires it.
30754 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
30756         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30757         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30758         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30759         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30761 2010-06-02  Andreas Schwab  <schwab@redhat.com>
30763         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30765 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
30767         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30768         and F_GETPIPE_SZ.
30769         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30770         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30771         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30772         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30773         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30774         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30776 2010-06-14  Roland McGrath  <roland@redhat.com>
30778         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30780 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
30782         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30783         __REDIRECT followed by __THROW.
30784         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30785         * posix/getopt.h (getopt): Likewise.
30787 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
30789         * hurd/lookup-at.c (__file_name_lookup_at): Accept
30790         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
30791         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30792         in AT_FLAGS.
30793         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30794         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30796 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
30798         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30800 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
30802         [BZ #11640]
30803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30804         Properly check family and model.
30806 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
30808         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30810 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
30812         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30814 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
30816         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30817         symbol reference.
30819 2010-05-19  Andreas Schwab  <schwab@redhat.com>
30821         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30822         symbol reference.
30824 2010-05-21  Andreas Schwab  <schwab@redhat.com>
30826         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30827         and internal_recvmmsg.
30828         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30829         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30830         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30831         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30833         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30834         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30835         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30837 2010-05-20  Andreas Schwab  <schwab@redhat.com>
30839         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30841 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
30843         POWER7 optimizations.
30844         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30845         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30847 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
30849         * version.h: Update for 2.13 development version.
30851 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
30853         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30854         exceptions.  Return 0.
30856 2010-05-07  Roland McGrath  <roland@redhat.com>
30858         * elf/ldconfig.c (main): Add a const.
30860 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
30862         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30863         (args_options): Add no-idn option.
30864         (ahosts_keys_int): Add idn_flags to ai_flags.
30865         (parse_option): Handle 'i' option to clear idn_flags.
30867         * malloc/malloc.c (_int_free): Possible race in the most recently
30868         added check.  Only act on the data if no current modification
30869         happened.
30871 See ChangeLog.17 for earlier changes.