Avoid overwriting earlier flags in CPPFLAGS-nonlib in benchtests
[glibc.git] / ChangeLog
blobe8de6680023b5ac49487c769f1cec0e20620809e
1 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4         of assigning.
6 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
8         * sysdeps/gnu/errlist.awk: Do not generate space at end of
9         otherwise empty TRANS lines.
10         * sysdeps/gnu/errlist.c: Regenerated.
12         * catgets/gencat.c (error_print): Use (void) in function
13         definition.
14         * crypt/crypt_util.c (__init_des): Likewise.
15         * crypt/speeds.c (Stop): Likewise.
16         (main): Likewise.
17         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18         * inet/ruserpass.c (token): Likewise.
19         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20         * intl/localealias.c (extend_alias_table): Likewise.
21         * intl/plural-exp.c (init_germanic_plural): Likewise.
22         * libio/fcloseall.c (__fcloseall): Likewise.
23         * libio/genops.c (_IO_flush_all): Likewise.
24         (_IO_flush_all_linebuffered): Likewise.
25         (_IO_cleanup): Likewise.
26         (_IO_iter_begin): Likewise.
27         (_IO_iter_end): Likewise.
28         (_IO_list_lock): Likewise.
29         (_IO_list_unlock): Likewise.
30         (_IO_list_resetlock): Likewise.
31         * libio/getchar.c (getchar): Likewise.
32         * libio/getchar_u.c (getchar_unlocked): Likewise.
33         * libio/getwchar.c (getwchar): Likewise.
34         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
36         * login/getpt.c (__getpt): Likewise.
37         * login/tst-utmp.c (main): Likewise.
38         * malloc/hooks.c (__malloc_check_init): Likewise.
39         * malloc/malloc.c (__malloc_stats): Likewise.
40         * malloc/mtrace.c (tr_break): Likewise.
41         (mtrace): Likewise.
42         (muntrace): Likewise.
43         * misc/fstab.c (endfsent): Likewise.
44         * misc/getclktck.c (__getclktck): Likewise.
45         * misc/getdtsz.c (__getdtablesize): Likewise.
46         * misc/gethostid.c (gethostid): Likewise.
47         * misc/getpagesize.c (__getpagesize): Likewise.
48         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49         (__get_nprocs): Likewise.
50         (__get_phys_pages): Likewise.
51         (__get_avphys_pages): Likewise.
52         * misc/getttyent.c (getttyent): Likewise.
53         (setttyent): Likewise.
54         (endttyent): Likewise.
55         * misc/getusershell.c (getusershell): Likewise.
56         (endusershell): Likewise.
57         (setusershell): Likewise.
58         (initshells): Likewise.
59         * misc/hsearch.c (__hdestroy): Likewise.
60         * misc/sync.c (sync): Likewise.
61         * misc/syslog.c (closelog_internal): Likewise.
62         (closelog): Likewise.
63         * misc/ttyslot.c (ttyslot): Likewise.
64         * misc/vhangup.c (vhangup): Likewise.
65         * posix/fork.c (__fork): Likewise.
66         * posix/getegid.c (__getegid): Likewise.
67         * posix/geteuid.c (__geteuid): Likewise.
68         * posix/getgid.c (__getgid): Likewise.
69         * posix/getpid.c (__getpid): Likewise.
70         * posix/getppid.c (__getppid): Likewise.
71         * posix/getuid.c (__getuid): Likewise.
72         * posix/pause.c (pause): Likewise.
73         * posix/setpgrp.c (setpgrp): Likewise.
74         * posix/setsid.c (__setsid): Likewise.
75         * posix/test-vfork.c (noop): Likewise.
76         * resolv/gethnamaddr.c (_endhtent): Likewise.
77         (_gethtent): Likewise.
78         (ht_endhostent): Likewise.
79         (gethostent): Likewise.
80         (dns_service): Likewise.
81         * stdlib/drand48.c (drand48): Likewise.
82         * stdlib/lrand48.c (lrand48): Likewise.
83         * stdlib/mrand48.c (mrand48): Likewise.
84         * stdlib/rand.c (rand): Likewise.
85         * stdlib/random.c (__random): Likewise.
86         * stdlib/setenv.c (clearenv): Likewise.
87         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
88         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
89         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
90         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
91         (__get_nprocs): Likewise.
92         (__get_phys_pages): Likewise.
93         (__get_avphys_pages): Likewise.
94         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
95         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
96         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
97         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
98         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
99         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
100         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
101         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
102         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
103         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
104         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
105         * sysdeps/mach/hurd/sync.c (sync): Likewise.
106         * sysdeps/posix/clock.c (clock): Likewise.
107         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
108         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
109         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
110         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
111         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
112         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
113         (__get_nprocs_conf): Likewise.
114         (__get_phys_pages): Likewise.
115         (__get_avphys_pages): Likewise.
116         * time/clock.c (clock): Likewise.
117         * time/tzset.c (__tzname_max): Likewise.
119 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
121         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
122         (__bswap_32): Do not use "register".
123         * crypt/crypt.c (_ufc_doit_r): Likewise.
124         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
125         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
126         * gmon/gmon.c (__monstartup): Likewise.
127         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
128         * hurd/hurdmalloc.c (more_memory): Likewise.
129         (malloc): Likewise.
130         (free): Likewise.
131         (realloc): Likewise.
132         (malloc_fork_prepare): Likewise.
133         (malloc_fork_parent): Likewise.
134         (malloc_fork_child): Likewise.
135         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
136         (_svcauth_des): Likewise.
137         * inet/inet_lnaof.c (inet_lnaof): Likewise.
138         * inet/inet_net.c (inet_network): Likewise.
139         * inet/inet_netof.c (inet_netof): Likewise.
140         * inet/rcmd.c (__validuser2_sa): Likewise.
141         * io/fts.c (fts_open): Likewise.
142         (fts_load): Likewise.
143         (fts_close): Likewise.
144         (fts_read): Likewise.
145         (fts_children): Likewise.
146         (fts_build): Likewise.
147         (fts_stat): Likewise.
148         (fts_sort): Likewise.
149         (fts_alloc): Likewise.
150         (fts_lfree): Likewise.
151         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
152         (_IO_file_xsgetn): Likewise.
153         (_IO_file_xsgetn_mmap): Likewise.
154         * libio/iofopncook.c (_IO_cookie_read): Likewise.
155         (_IO_cookie_write): Likewise.
156         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
157         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
158         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
159         * malloc/obstack.c (_obstack_begin): Likewise.
160         (_obstack_begin_1): Likewise.
161         (_obstack_newchunk): Likewise.
162         (_obstack_allocated_p): Likewise.
163         (obstack_free): Likewise.
164         (_obstack_memory_used): Likewise.
165         * misc/getttyent.c (getttynam): Likewise.
166         (getttyent): Likewise.
167         (skip): Likewise.
168         (value): Likewise.
169         * misc/getusershell.c (initshells): Likewise.
170         * misc/syslog.c (__vsyslog_chk): Likewise.
171         * misc/ttyslot.c (ttyslot): Likewise.
172         * nis/nis_hash.c (__nis_hash): Likewise.
173         * posix/fnmatch_loop.c (FCT): Likewise.
174         * posix/getconf.c (print_all): Likewise.
175         (main): Likewise.
176         * posix/getopt.c (exchange): Likewise.
177         * posix/glob.c (globfree): Likewise.
178         (prefix_array): Likewise.
179         (__glob_pattern_type): Likewise.
180         * resolv/arpa/nameser.h (NS_GET16): Likewise.
181         (NS_GET32): Likewise.
182         (NS_PUT16): Likewise.
183         (NS_PUT32): Likewise.
184         * resolv/gethnamaddr.c (getanswer): Likewise.
185         (gethostbyname2): Likewise.
186         (gethostbyaddr): Likewise.
187         (_gethtent): Likewise.
188         (_gethtbyname2): Likewise.
189         (_gethtbyaddr): Likewise.
190         * resolv/ns_print.c (dst_s_get_int16): Likewise.
191         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
192         * resolv/res_init.c (__res_vinit): Likewise.
193         (net_mask): Likewise.
194         * resolv/res_mkquery.c (outchar): Likewise.
195         (PRINT): Likewise.
196         * stdio-common/printf_fp.c (outchar): Likewise.
197         (PRINT): Likewise.
198         * stdio-common/printf_fphex.c (outchar): Likewise.
199         (PRINT): Likewise.
200         * stdio-common/printf_size.c (outchar): Likewise.
201         (PRINT): Likewise.
202         * stdio-common/test_rdwr.c (main): Likewise.
203         * stdio-common/tfformat.c (matches): Likewise.
204         * stdio-common/vfprintf.c (outchar): Likewise.
205         (printf_unknown): Likewise.
206         (buffered_vfprintf): Likewise.
207         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
208         * stdio-common/xbug.c (AppendToBuffer): Likewise.
209         (ReadFile): Likewise.
210         * stdlib/qsort.c (SWAP): Likewise.
211         (_quicksort): Likewise.
212         * stdlib/setenv.c (__add_to_environ): Likewise.
213         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
214         * stdlib/strtol_l.c (__strtol_l): Likewise.
215         * stdlib/tst-strtod.c (main): Likewise.
216         * stdlib/tst-strtol.c (main): Likewise.
217         * stdlib/tst-strtoll.c (main): Likewise.
218         * string/bits/string2.h (__strcmp_cc): Likewise.
219         (__strcmp_cg): Likewise.
220         (__strcspn_c1): Likewise.
221         (__strcspn_c2): Likewise.
222         (__strcspn_c3): Likewise.
223         (__strspn_c1): Likewise.
224         (__strspn_c2): Likewise.
225         (__strspn_c3): Likewise.
226         (__strsep_1c): Likewise.
227         (__strsep_2c): Likewise.
228         (__strsep_3c): Likewise.
229         * string/memccpy.c (__memccpy): Likewise.
230         * string/stpcpy.c (__stpcpy): Likewise.
231         * string/strcmp.c (strcmp): Likewise.
232         * string/strrchr.c (strrchr): Likewise.
233         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
234         Likewise.
235         * sysdeps/mach/hurd/getcwd.c
236         (_hurd_canonicalize_directory_name_internal): Likewise.
237         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
238         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
239         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
240         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
241         Likewise, in both definitions.
242         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
243         definitions.
244         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
245         64] (__bswap_64): Likewise.
246         * time/test_time.c (main): Likewise.
247         * time/tzfile.c (__tzfile_read): Likewise.
248         (__tzfile_compute): Likewise.
249         * time/tzset.c (__tzset_parse_tz): Likewise.
250         (tzset_internal): Likewise.
251         (compute_change): Likewise.
252         * wcsmbs/wcscat.c (__wcscat): Likewise.
253         * wcsmbs/wcschr.c (wcschr): Likewise.
254         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
255         * wcsmbs/wcscspn.c (wcscspn): Likewise.
256         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
257         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
258         * wcsmbs/wcsspn.c (wcsspn): Likewise.
259         * wcsmbs/wcsstr.c (wcsstr): Likewise.
260         * wcsmbs/wmemchr.c (wmemchr): Likewise.
261         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
262         * wcsmbs/wmemset.c (wmemset): Likewise.
264 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
266         * scripts/config.guess: Update to version 2013-05-16.
267         * scripts/config.sub: Update to version 2013-04-24.
268         * scripts/install-sh: Update to version 2011-11-20.07.
269         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
270         * scripts/move-if-change: Update to version 2012-01-06 07:23.
272 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
274         * debug/fgetws_u_chk.c: Fix leading whitespaces.
275         * elf/sln.c: Likewise.
276         * hurd/hurd/ioctl.h: Likewise.
277         * hurd/hurdmalloc.c: Likewise.
278         * hurd/xattr.c: Likewise.
279         * include/shlib-compat.h: Likewise.
280         * inet/ruserpass.c: Likewise.
281         * libio/iofgets_u.c: Likewise.
282         * libio/iofgetws_u.c: Likewise.
283         * locale/programs/ld-identification.c: Likewise.
284         * locale/programs/ld-time.c: Likewise.
285         * mach/msg-destroy.c: Likewise.
286         * nss/nss_files/files-netgrp.c: Likewise.
287         * resolv/res_data.c: Likewise.
288         * soft-fp/op-1.h: Likewise.
289         * soft-fp/op-2.h: Likewise.
290         * soft-fp/op-4.h: Likewise.
291         * soft-fp/op-common.h: Likewise.
292         * stdio-common/printf_fphex.c: Likewise.
293         * stdlib/strtod_l.c: Likewise.
294         * sunrpc/rpc/clnt.h: Likewise.
295         * sysdeps/generic/framestate.c: Likewise.
296         * sysdeps/i386/bsd-_setjmp.S: Likewise.
297         * sysdeps/i386/bsd-setjmp.S: Likewise.
298         * sysdeps/i386/__longjmp.S: Likewise.
299         * sysdeps/i386/setjmp.S: Likewise.
300         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
301         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
302         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
303         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
304         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
305         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
306         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
307         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
309         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
310         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
311         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
312         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
313         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
314         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
315         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
316         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
317         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
318         * sysdeps/ieee754/support.c: Likewise.
319         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
320         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
321         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
322         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
323         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
324         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
325         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
326         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
327         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
328         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
329         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
330         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
331         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
332         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
333         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
334         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
335         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
338 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
340         * posix/transbug.c: Remove executable mode.
342 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
344         * crypt/speeds.c: Remove trailing whitespace.
345         * dlfcn/default.c: Likewise.
346         * elf/ifuncdep2.c: Likewise.
347         * elf/ifuncmain1.c: Likewise.
348         * elf/ifuncmain1vis.c: Likewise.
349         * elf/testobj.h: Likewise.
350         * elf/tst-stackguard1.c: Likewise.
351         * gmon/sys/gmon.h: Likewise.
352         * hurd/hurdmsg.c: Likewise.
353         * hurd/new-fd.c: Likewise.
354         * hurd/ports-get.c: Likewise.
355         * iconvdata/ibm1008_420.c: Likewise.
356         * inet/tst-getni1.c: Likewise.
357         * inet/tst-getni2.c: Likewise.
358         * libio/ioungetc.c: Likewise.
359         * libio/wfiledoalloc.c: Likewise.
360         * manual/libm-err-tab.pl: Likewise.
361         * math/w_dremf.c: Likewise.
362         * misc/ftruncate.c: Likewise.
363         * posix/bug-glob2.c: Likewise.
364         * posix/tst-pcre.c: Likewise.
365         * posix/wait4.c: Likewise.
366         * resolv/README: Likewise.
367         * resolv/res_debug.h: Likewise.
368         * resolv/tst-inet_ntop.c: Likewise.
369         * setjmp/bug269-setjmp.c: Likewise.
370         * soft-fp/extended.h: Likewise.
371         * soft-fp/op-1.h: Likewise.
372         * soft-fp/op-2.h: Likewise.
373         * soft-fp/op-4.h: Likewise.
374         * soft-fp/op-8.h: Likewise.
375         * soft-fp/testit.c: Likewise.
376         * stdio-common/bug16.c: Likewise.
377         * stdlib/random.c: Likewise.
378         * sunrpc/rpcsvc/rquota.x: Likewise.
379         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
380         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
381         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
382         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
383         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
384         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
385         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
386         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
387         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
388         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
389         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
390         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
391         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
392         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
393         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
394         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
395         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
396         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
397         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
398         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
399         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
400         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
401         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
402         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
403         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
404         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
405         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
406         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
407         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
408         * sysdeps/ieee754/s_lib_version.c: Likewise.
409         * sysdeps/mach/hurd/check_fds.c: Likewise.
410         * sysdeps/mach/hurd/getsockname.c: Likewise.
411         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
412         * sysdeps/mach/hurd/recvfrom.c: Likewise.
413         * sysdeps/powerpc/bits/link.h: Likewise.
414         * sysdeps/powerpc/dl-procinfo.c: Likewise.
415         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
416         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
417         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
418         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
419         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
420         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
421         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
422         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
423         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
424         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
425         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
426         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
427         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
428         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
429         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
430         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
431         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
432         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
433         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
434         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
435         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
436         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
437         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
438         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
439         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
440         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
441         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
442         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
443         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
444         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
445         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
446         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
447         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
448         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
449         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
450         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
451         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
452         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
453         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
454         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
455         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
456         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
457         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
458         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
459         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
460         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
461         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
462         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
463         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
464         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
465         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
466         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
467         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
468         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
469         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
470         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
471         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
472         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
473         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
474         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
475         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
476         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
477         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
478         * sysdeps/powerpc/sysdep.h: Likewise.
479         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
480         * sysdeps/s390/s390-64/sub_n.S: Likewise.
481         * sysdeps/sh/dl-trampoline.S: Likewise.
482         * sysdeps/sh/memset.S: Likewise.
483         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
484         * sysdeps/sh/strlen.S: Likewise.
485         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
486         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
487         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
488         * sysdeps/sparc/sparc32/rem.S: Likewise.
489         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
490         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
491         * sysdeps/sparc/sparc32/strchr.S: Likewise.
492         * sysdeps/sparc/sparc32/udiv.S: Likewise.
493         * sysdeps/sparc/sparc32/urem.S: Likewise.
494         * sysdeps/sparc/sparc64/add_n.S: Likewise.
495         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
496         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
497         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
498         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
499         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
500         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
501         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
502         * sysdeps/unix/bsd/times.c: Likewise.
503         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
504         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
508         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
509         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
510         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
511         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
512         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
513         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
514         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
515         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
516         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
517         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
518         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
519         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
520         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
521         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
522         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
523         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
524         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
525         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
526         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
527         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
528         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
529         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
530         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
531         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
532         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
533         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
534         * sysdeps/x86_64/strcspn.S: Likewise.
536 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
538         * locale/C-translit.h: Revert #include <stdint.h> because this is a
539         generated file.  Regenerate properly from gen-translit.pl.
540         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
541         locale/C-translit.h.
543 2013-06-05  Andreas Schwab  <schwab@suse.de>
545         [BZ #15100]
546         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
547         week as 6 instead of -1.
548         * time/tst-strptime.c (day_tests): Add test case.
550 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
552         * sysdeps/generic/math_private.h
553         (libc_feholdexcept_setround_53bit): Replace with
554         libc_feholdsetround_53bit.
555         (libc_feupdateenv_53bit): Replace with
556         libc_feresetround_53bit.
557         (SET_RESTORE_ROUND_53BIT): Adjust.
559 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
561         * string/test-strchrnul.c: Add copyright header.
563         * posix/tst-getaddrinfo4.c: Increase test timeout.
565 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
567         [BZ #15536]
568         * math/libm-test.inc (MAX_EXP): Remove
569         (MIN_EXP): Define.
570         (ulp): Use MIN_EXP - MANT_DIG.
571         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
573 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
575         * po/be.po: Revert last change.
576         * po/zh_CN.po: Likewise.
577         * po/header.pot: Likewise.
579 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
581         * Makefile ($(common-objpfx)linkobj/libc.so): Define
582         link-libc-deps to empty as target-specific variable.
583         * Makerules (link-libc-args): New variable.
584         (libc-for-link): Likewise.
585         (link-libc-deps): Likewise.
586         (lib%.so): Depend on $(link-libc-deps).  Link with
587         $(link-libc-args).
588         (build-module): Link with $(link-libc-args).
589         (build-module-asneeded): Likewise.
590         (build-module-helper-objlist): Filter out $(link-libc-deps) from
591         list of objects.
592         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
593         target-specific variable.
594         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
595         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
596         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
597         libc.
598         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
599         libc and ld.so.
600         ($(objpfx)libpcprofile.so): Likewise.
601         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
602         libc_nonshared.a.
603         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
604         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
605         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
606         $(link-libc-deps).
607         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
608         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
609         * login/Makefile ($(objpfx)libutil.so): Likewise.
610         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
611         * math/Makefile ($(objpfx)libm.so): Likewise.
612         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
613         $(objpfx)libnsl.so): Define libc-for-link as target-specific
614         variable instead of depending directly on libc.
615         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
616         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
617         $(link-libc-deps).
618         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
619         libc.
620         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
621         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
622         ($(objpfx)libanl.so): Likewise.
623         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
624         ld.so.
625         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
626         $(link-libc-deps).
627         * sysdeps/i386/fpu/Makefile: Remove file.
628         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
629         ($(objpfx)libm.so): Remove dependency on ld.so.
631 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
633         [BZ # 15553]
634         * nis/yp_xdr.c (XDRMAXNAME): Define.
635         (XDRMAXRECORD): Define.
636         (xdr_domainname): Use XDRMAXNAME.
637         (xdr_mapname): Likewise.
638         (xdr_peername): Likewise.
639         (xdr_keydat): Use XDRMAXRECORD.
640         (xdr_valdat): Likewise.
642 2013-05-30  Jeff Law  <law@redhat.com>
644         [BZ #14256]
645         * manual/errno.texi (ESTALE): Update to account for more than
646         just NFS file systems.
647         * sysdeps/gnu/errlist.c: Regenerated.
649 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
651         [BZ #15465]
652         * elf/Makefile (tests): Add tst-null-argv.
653         (modules-names):  Add tst-null-argv-lib.
654         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
655         (tst-null-argv-ENV): Set environment for tst-null-argv.
656         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
657         (RTLD_PROGNAME): New macro.
658         * elf/tst-null-argv.c: New test case.
659         * elf/tst-null-argv-lib.c: Library for test case.
660         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
661         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
662         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
663         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
664         * elf/dl-init.c (call_init): Likewise.
665         (_dl_init): Likewise.
666         * elf/dl-load.c (print_search_path): Likewise.
667         (_dl_map_object): Likewise.
668         * elf/dl-lookup.c (do_lookup_x): Likewise.
669         (add_dependency): Likewise.
670         (_dl_lookup_symbol_x): Likewise.
671         (_dl_debug_bindings): Likewise.
672         * elf/dl-open.c (_dl_show_scope): Likewise.
673         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
674         * elf/dl-version.c (match_symbol): Likewise.
675         (_dl_check_map_versions): Likewise.
676         * elf/rtld.c (dl_main): Likewise.
677         (print_unresolved): Use RTLD_PROGNAME.
678         (print_missing_version): Likewise.
679         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
680         (elf_machine_rela): Likewise.
681         * sysdeps/powerpc/powerpc32/dl-machine.c
682         (__process_machine_rela): Likewise.
683         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
684         Likewise.
685         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
686         Likewise.
687         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
688         Likewise.
689         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
690         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
691         Likewise.
692         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
693         Likewise.
694         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
696 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
698         * po/be.po: Add descriptive title.
699         * po/zh_CN.po: Likewise.
700         * po/header.pot: Likewise.
702 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
704         * locale/programs/locarchive.c (create_archive): Inlucde fname in
705         error message.
706         (enlarge_archive): Likewise.
708 2013-05-28  Ben North  <ben@redfrontdoor.org>
710         * manual/arith.texi (frexp): It is the magnitude of the return
711         value which lies in [0.5, 1), not the return value itself.
713 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
717 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
719         * stdio-common/bug26.c (main): Correct fscanf template.
721         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
722         declare _dl_skip_args.
724         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
725         Don't declare.
727         * manual/platform.texi: Add missing @end deftypefun.
729 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
731         [BZ #15529]
732         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
733         bit of mantissa of 2^16382.
734         * math/libm-test.inc (hypot_test_data): Add more tests.
736         * math/libm-test.inc: Add drem and pow10 to list of tested
737         functions.
738         (pow10_test): New function.
739         (drem_test): Likewise.
740         (drem_test_tonearest): Likewise.
741         (drem_test_towardzero): Likewise.
742         (drem_test_downward): Likewise.
743         (drem_test_upward): Likewise.
744         (main): Call the new functions.
746         * math/libm-test.inc (finite_test_data): Remove.
747         (finite_test): Run tests from isfinite_test_data.
748         (gamma_test_data): Remove.
749         (gamma_test): Run tests from lgamma_test_data.
750         * sysdeps/i386/fpu/libm-test-ulps: Update.
751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
753 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
755         * manual/platform.texi: Add PowerPC PPR function set documentation.
756         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
757         implementation.
759 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
761         * math/libm-test.inc (MAX_EXP): Define.
762         (ULPDIFF): Define.
763         (ulp): New function.
764         (check_float_internal): Use ULPDIFF.
765         (cpow_test): Disable failing test.
766         (check_ulp): Test ulp() implemetnation.
767         (main): Call check_ulp before starting tests.
769 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
771         * math/gen-libm-test.pl (generate_testfile): Do not handle
772         START_DATA and END_DATA.
773         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
774         END_DATA.
775         (acos_tonearest_test_data): Likewise.
776         (acos_towardzero_test_data): Likewise.
777         (acos_downward_test_data): Likewise.
778         (acos_upward_test_data): Likewise.
779         (acosh_test_data): Likewise.
780         (asin_test_data): Likewise.
781         (asin_tonearest_test_data): Likewise.
782         (asin_towardzero_test_data): Likewise.
783         (asin_downward_test_data): Likewise.
784         (asin_upward_test_data): Likewise.
785         (asinh_test_data): Likewise.
786         (atan_test_data): Likewise.
787         (atanh_test_data): Likewise.
788         (atan2_test_data): Likewise.
789         (cabs_test_data): Likewise.
790         (cacos_test_data): Likewise.
791         (cacosh_test_data): Likewise.
792         (carg_test_data): Likewise.
793         (casin_test_data): Likewise.
794         (casinh_test_data): Likewise.
795         (catan_test_data): Likewise.
796         (catanh_test_data): Likewise.
797         (cbrt_test_data): Likewise.
798         (ccos_test_data): Likewise.
799         (ccosh_test_data): Likewise.
800         (ceil_test_data): Likewise.
801         (cexp_test_data): Likewise.
802         (cimag_test_data): Likewise.
803         (clog_test_data): Likewise.
804         (clog10_test_data): Likewise.
805         (conj_test_data): Likewise.
806         (copysign_test_data): Likewise.
807         (cos_test_data): Likewise.
808         (cos_tonearest_test_data): Likewise.
809         (cos_towardzero_test_data): Likewise.
810         (cos_downward_test_data): Likewise.
811         (cos_upward_test_data): Likewise.
812         (cosh_test_data): Likewise.
813         (cosh_tonearest_test_data): Likewise.
814         (cosh_towardzero_test_data): Likewise.
815         (cosh_downward_test_data): Likewise.
816         (cosh_upward_test_data): Likewise.
817         (cpow_test_data): Likewise.
818         (cproj_test_data): Likewise.
819         (creal_test_data): Likewise.
820         (csin_test_data): Likewise.
821         (csinh_test_data): Likewise.
822         (csqrt_test_data): Likewise.
823         (ctan_test_data): Likewise.
824         (ctan_tonearest_test_data): Likewise.
825         (ctan_towardzero_test_data): Likewise.
826         (ctan_downward_test_data): Likewise.
827         (ctan_upward_test_data): Likewise.
828         (ctanh_test_data): Likewise.
829         (ctanh_tonearest_test_data): Likewise.
830         (ctanh_towardzero_test_data): Likewise.
831         (ctanh_downward_test_data): Likewise.
832         (ctanh_upward_test_data): Likewise.
833         (erf_test_data): Likewise.
834         (erfc_test_data): Likewise.
835         (exp_test_data): Likewise.
836         (exp_tonearest_test_data): Likewise.
837         (exp_towardzero_test_data): Likewise.
838         (exp_downward_test_data): Likewise.
839         (exp_upward_test_data): Likewise.
840         (exp10_test_data): Likewise.
841         (exp2_test_data): Likewise.
842         (expm1_test_data): Likewise.
843         (fabs_test_data): Likewise.
844         (fdim_test_data): Likewise.
845         (finite_test_data): Likewise.
846         (floor_test_data): Likewise.
847         (fma_test_data): Likewise.
848         (fma_towardzero_test_data): Likewise.
849         (fma_downward_test_data): Likewise.
850         (fma_upward_test_data): Likewise.
851         (fmax_test_data): Likewise.
852         (fmin_test_data): Likewise.
853         (fmod_test_data): Likewise.
854         (fpclassify_test_data): Likewise.
855         (frexp_test_data): Likewise.
856         (gamma_test_data): Likewise.
857         (hypot_test_data): Likewise.
858         (ilogb_test_data): Likewise.
859         (isfinite_test_data): Likewise.
860         (isgreater_test_data): Likewise.
861         (isgreaterequal_test_data): Likewise.
862         (isinf_test_data): Likewise.
863         (isless_test_data): Likewise.
864         (islessequal_test_data): Likewise.
865         (islessgreater_test_data): Likewise.
866         (isnan_test_data): Likewise.
867         (isnormal_test_data): Likewise.
868         (issignaling_test_data): Likewise.
869         (isunordered_test_data): Likewise.
870         (j0_test_data): Likewise.
871         (j1_test_data): Likewise.
872         (jn_test_data): Likewise.
873         (ldexp_test_data): Likewise.
874         (lgamma_test_data): Likewise.
875         (lrint_test_data): Likewise.
876         (lrint_tonearest_test_data): Likewise.
877         (lrint_towardzero_test_data): Likewise.
878         (lrint_downward_test_data): Likewise.
879         (lrint_upward_test_data): Likewise.
880         (llrint_test_data): Likewise.
881         (llrint_tonearest_test_data): Likewise.
882         (llrint_towardzero_test_data): Likewise.
883         (llrint_downward_test_data): Likewise.
884         (llrint_upward_test_data): Likewise.
885         (log_test_data): Likewise.
886         (log10_test_data): Likewise.
887         (log1p_test_data): Likewise.
888         (log2_test_data): Likewise.
889         (logb_test_data): Likewise.
890         (logb_downward_test_data): Likewise.
891         (lround_test_data): Likewise.
892         (llround_test_data): Likewise.
893         (modf_test_data): Likewise.
894         (nearbyint_test_data): Likewise.
895         (nextafter_test_data): Likewise.
896         (nexttoward_test_data): Likewise.
897         (pow_test_data): Likewise.
898         (pow_tonearest_test_data): Likewise.
899         (pow_towardzero_test_data): Likewise.
900         (pow_downward_test_data): Likewise.
901         (pow_upward_test_data): Likewise.
902         (remainder_test_data): Likewise.
903         (remainder_tonearest_test_data): Likewise.
904         (remainder_towardzero_test_data): Likewise.
905         (remainder_downward_test_data): Likewise.
906         (remainder_upward_test_data): Likewise.
907         (remquo_test_data): Likewise.
908         (rint_test_data): Likewise.
909         (rint_tonearest_test_data): Likewise.
910         (rint_towardzero_test_data): Likewise.
911         (rint_downward_test_data): Likewise.
912         (rint_upward_test_data): Likewise.
913         (round_test_data): Likewise.
914         (scalb_test_data): Likewise.
915         (scalbn_test_data): Likewise.
916         (scalbln_test_data): Likewise.
917         (signbit_test_data): Likewise.
918         (sin_test_data): Likewise.
919         (sin_tonearest_test_data): Likewise.
920         (sin_towardzero_test_data): Likewise.
921         (sin_downward_test_data): Likewise.
922         (sin_upward_test_data): Likewise.
923         (sincos_test_data): Likewise.
924         (sinh_test_data): Likewise.
925         (sinh_tonearest_test_data): Likewise.
926         (sinh_towardzero_test_data): Likewise.
927         (sinh_downward_test_data): Likewise.
928         (sinh_upward_test_data): Likewise.
929         (sqrt_test_data): Likewise.
930         (tan_test_data): Likewise.
931         (tan_tonearest_test_data): Likewise.
932         (tan_towardzero_test_data): Likewise.
933         (tan_downward_test_data): Likewise.
934         (tan_upward_test_data): Likewise.
935         (tanh_test_data): Likewise.
936         (tgamma_test_data): Likewise.
937         (trunc_test_data): Likewise.
938         (y0_test_data): Likewise.
939         (y1_test_data): Likewise.
940         (yn_test_data): Likewise.
941         (significand_test_data): Likewise.
943         * math/gen-libm-test.pl (@functions): Remove variable.
944         (generate_testfile): Don't handle START and END lines.
945         * math/libm-test.inc (START): New macro.
946         (END): Likewise.
947         (END_COMPLEX): Likewise.
948         (acos_test): Use END macro without arguments.
949         (acos_test_tonearest): Likewise.
950         (acos_test_towardzero): Likewise.
951         (acos_test_downward): Likewise.
952         (acos_test_upward): Likewise.
953         (acosh_test): Likewise.
954         (asin_test): Likewise.
955         (asin_test_tonearest): Likewise.
956         (asin_test_towardzero): Likewise.
957         (asin_test_downward): Likewise.
958         (asin_test_upward): Likewise.
959         (asinh_test): Likewise.
960         (atan_test): Likewise.
961         (atanh_test): Likewise.
962         (atan2_test): Likewise.
963         (cabs_test): Likewise.
964         (cacos_test): Use END_COMPLEX macro without arguments.
965         (cacosh_test): Likewise.
966         (carg_test): Use END macro without arguments.
967         (casin_test): Use END_COMPLEX macro without arguments.
968         (casinh_test): Likewise.
969         (catan_test): Likewise.
970         (catanh_test): Likewise.
971         (cbrt_test): Use END macro without arguments.
972         (ccos_test): Use END_COMPLEX macro without arguments.
973         (ccosh_test): Likewise.
974         (ceil_test): Use END macro without arguments.
975         (cexp_test): Use END_COMPLEX macro without arguments.
976         (cimag_test): Use END macro without arguments.
977         (clog_test): Use END_COMPLEX macro without arguments.
978         (clog10_test): Likewise.
979         (conj_test): Likewise.
980         (copysign_test): Use END macro without arguments.
981         (cos_test): Likewise.
982         (cos_test_tonearest): Likewise.
983         (cos_test_towardzero): Likewise.
984         (cos_test_downward): Likewise.
985         (cos_test_upward): Likewise.
986         (cosh_test): Likewise.
987         (cosh_test_tonearest): Likewise.
988         (cosh_test_towardzero): Likewise.
989         (cosh_test_downward): Likewise.
990         (cosh_test_upward): Likewise.
991         (cpow_test): Use END_COMPLEX macro without arguments.
992         (cproj_test): Likewise.
993         (creal_test): Use END macro without arguments.
994         (csin_test): Use END_COMPLEX macro without arguments.
995         (csinh_test): Likewise.
996         (csqrt_test): Likewise.
997         (ctan_test): Likewise.
998         (ctan_test_tonearest): Likewise.
999         (ctan_test_towardzero): Likewise.
1000         (ctan_test_downward): Likewise.
1001         (ctan_test_upward): Likewise.
1002         (ctanh_test): Likewise.
1003         (ctanh_test_tonearest): Likewise.
1004         (ctanh_test_towardzero): Likewise.
1005         (ctanh_test_downward): Likewise.
1006         (ctanh_test_upward): Likewise.
1007         (erf_test): Use END macro without arguments.
1008         (erfc_test): Likewise.
1009         (exp_test): Likewise.
1010         (exp_test_tonearest): Likewise.
1011         (exp_test_towardzero): Likewise.
1012         (exp_test_downward): Likewise.
1013         (exp_test_upward): Likewise.
1014         (exp10_test): Likewise.
1015         (exp2_test): Likewise.
1016         (expm1_test): Likewise.
1017         (fabs_test): Likewise.
1018         (fdim_test): Likewise.
1019         (finite_test): Likewise.
1020         (floor_test): Likewise.
1021         (fma_test): Likewise.
1022         (fma_test_towardzero): Likewise.
1023         (fma_test_downward): Likewise.
1024         (fma_test_upward): Likewise.
1025         (fmax_test): Likewise.
1026         (fmin_test): Likewise.
1027         (fmod_test): Likewise.
1028         (fpclassify_test): Likewise.
1029         (frexp_test): Likewise.
1030         (gamma_test): Likewise.
1031         (hypot_test): Likewise.
1032         (ilogb_test): Likewise.
1033         (isfinite_test): Likewise.
1034         (isgreater_test): Likewise.
1035         (isgreaterequal_test): Likewise.
1036         (isinf_test): Likewise.
1037         (isless_test): Likewise.
1038         (islessequal_test): Likewise.
1039         (islessgreater_test): Likewise.
1040         (isnan_test): Likewise.
1041         (isnormal_test): Likewise.
1042         (issignaling_test): Likewise.
1043         (isunordered_test): Likewise.
1044         (j0_test): Likewise.
1045         (j1_test): Likewise.
1046         (jn_test): Likewise.
1047         (ldexp_test): Likewise.
1048         (lgamma_test): Likewise.
1049         (lrint_test): Likewise.
1050         (lrint_test_tonearest): Likewise.
1051         (lrint_test_towardzero): Likewise.
1052         (lrint_test_downward): Likewise.
1053         (lrint_test_upward): Likewise.
1054         (llrint_test): Likewise.
1055         (llrint_test_tonearest): Likewise.
1056         (llrint_test_towardzero): Likewise.
1057         (llrint_test_downward): Likewise.
1058         (llrint_test_upward): Likewise.
1059         (log_test): Likewise.
1060         (log10_test): Likewise.
1061         (log1p_test): Likewise.
1062         (log2_test): Likewise.
1063         (logb_test): Likewise.
1064         (logb_test_downward): Likewise.
1065         (lround_test): Likewise.
1066         (llround_test): Likewise.
1067         (modf_test): Likewise.
1068         (nearbyint_test): Likewise.
1069         (nextafter_test): Likewise.
1070         (nexttoward_test): Likewise.
1071         (pow_test): Likewise.
1072         (pow_test_tonearest): Likewise.
1073         (pow_test_towardzero): Likewise.
1074         (pow_test_downward): Likewise.
1075         (pow_test_upward): Likewise.
1076         (remainder_test): Likewise.
1077         (remainder_test_tonearest): Likewise.
1078         (remainder_test_towardzero): Likewise.
1079         (remainder_test_downward): Likewise.
1080         (remainder_test_upward): Likewise.
1081         (remquo_test): Likewise.
1082         (rint_test): Likewise.
1083         (rint_test_tonearest): Likewise.
1084         (rint_test_towardzero): Likewise.
1085         (rint_test_downward): Likewise.
1086         (rint_test_upward): Likewise.
1087         (round_test): Likewise.
1088         (scalb_test): Likewise.
1089         (scalbn_test): Likewise.
1090         (scalbln_test): Likewise.
1091         (signbit_test): Likewise.
1092         (sin_test): Likewise.
1093         (sin_test_tonearest): Likewise.
1094         (sin_test_towardzero): Likewise.
1095         (sin_test_downward): Likewise.
1096         (sin_test_upward): Likewise.
1097         (sincos_test): Likewise.
1098         (sinh_test): Likewise.
1099         (sinh_test_tonearest): Likewise.
1100         (sinh_test_towardzero): Likewise.
1101         (sinh_test_downward): Likewise.
1102         (sinh_test_upward): Likewise.
1103         (sqrt_test): Likewise.
1104         (tan_test): Likewise.
1105         (tan_test_tonearest): Likewise.
1106         (tan_test_towardzero): Likewise.
1107         (tan_test_downward): Likewise.
1108         (tan_test_upward): Likewise.
1109         (tanh_test): Likewise.
1110         (tgamma_test): Likewise.
1111         (trunc_test): Likewise.
1112         (y0_test): Likewise.
1113         (y1_test): Likewise.
1114         (yn_test): Likewise.
1115         (significand_test): Likewise.
1117 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
1119         [BZ #15381]
1120         * libio/genops.c (_IO_no_init): Initialize wide struct info.
1122 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1124         [BZ #14894]
1125         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1126         __ppc_mdoio and __ppc_mdoom.
1127         * manual/platform.texi: Document new functions __ppc_yield,
1128         __ppc_mdoio and __ppc_mdoom.
1130 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
1132         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1133         (main): Mention "tls" pseudo-hwcap is legacy.
1134         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1136 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1138         * math/gen-libm-test.pl (parse_args): Output only string of
1139         arguments as text for test name, not full call or descriptions of
1140         tests for extra outputs.
1141         (generate_testfile): Do not pass function name to parse_args.
1142         Generate this_func variable from START.
1143         * math/libm-test.inc (struct test_f_f_data): Rename test_name
1144         field to arg_str.
1145         (struct test_ff_f_data): Likewise.
1146         (test_ff_f_data_nexttoward): Likewise.
1147         (struct test_fi_f_data): Likewise.
1148         (struct test_fl_f_data): Likewise.
1149         (struct test_if_f_data): Likewise.
1150         (struct test_fff_f_data): Likewise.
1151         (struct test_c_f_data): Likewise.
1152         (struct test_f_f1_data): Likewise.  Remove field extra_name.
1153         (struct test_fF_f1_data): Likewise.
1154         (struct test_ffI_f1_data): Likewise.
1155         (struct test_c_c_data): Rename test_name field to arg_str.
1156         (struct test_cc_c_data): Likewise.
1157         (struct test_f_i_data): Likewise.
1158         (struct test_ff_i_data): Likewise.
1159         (struct test_f_l_data): Likewise.
1160         (struct test_f_L_data): Likewise.
1161         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
1162         and extra2_name.
1163         (COMMON_TEST_SETUP): New macro.
1164         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1165         (COMMON_TEST_CLEANUP): Likewise.
1166         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1167         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
1168         macros.
1169         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1170         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
1171         macros.
1172         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1173         (RUN_TEST_fff_f): Take argument string.  Call new setup and
1174         cleanup macros.
1175         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1176         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
1177         macros.
1178         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1179         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
1180         macros.
1181         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1182         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
1183         cleanup macros.
1184         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1185         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
1186         cleanup macros.
1187         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1188         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
1189         cleanup macros.
1190         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1191         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
1192         macros.
1193         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1194         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
1195         macros.
1196         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1197         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
1198         macros.
1199         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1200         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
1201         cleanup macros.
1202         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1203         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
1204         cleanup macros.
1205         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1206         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
1207         macros.
1208         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1209         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
1210         cleanup macros.
1211         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1212         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
1213         macros.
1214         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1215         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
1216         macros.
1217         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1218         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
1219         cleanup macros.
1220         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1222 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1224         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1225         to _sifields.sigfault.
1226         (si_addr_lsb): Define new macro.
1227         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1228         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1229         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1231 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
1233         [BZ #15441]
1234         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1235         returns -1.
1236         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1237         null return -1.
1238         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1239         loading the domain.
1241 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1243         * math/gen-libm-test.pl (parse_args): Do not include expected
1244         result in test name.
1245         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1246         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1247         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1248         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1249         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1252 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1254         * benchtests/Makefile: Sort function entries.
1256         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1257         tanh, asinh, acosh, atanh.
1258         * benchtests/acos-inputs: New file.
1259         * benchtests/acosh-inputs: New file.
1260         * benchtests/asin-inputs: New file.
1261         * benchtests/asinh-inputs: New file.
1262         * benchtests/atanh-inputs: New file.
1263         * benchtests/cosh-inputs: New file.
1264         * benchtests/log-inputs: New file.
1265         * benchtests/sinh-inputs: New file.
1266         * benchtests/tanh-inputs: New file.
1268 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
1270         [BZ #15339]
1271         * posix/tst-getaddrinfo4.c: New test.
1272         * posix/Makefile (tests): Add it.
1274 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1276         [BZ #15339]
1277         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1278         when no services were used.
1279         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1280         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1282 2013-05-21  Andreas Schwab  <schwab@suse.de>
1284         [BZ #15014]
1285         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1286         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1287         successful.
1288         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1289         redundant variable declarations and reallocation of buffer when
1290         parsing as IPv6 address.  Always set NSS status when called from
1291         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
1292         buffer too small.  Correct computation of needed size.
1293         * nss/Makefile (tests): Add test-digits-dots.
1294         * nss/test-digits-dots.c: New test.
1296 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1298         * benchtests/Makefile: Remove instructions for adding
1299         benchmark tests.
1300         * benchtests/README: New file to explain how to execute and
1301         enhance the benchmark tests.
1303 2013-05-21  Andreas Schwab  <schwab@suse.de>
1305         [BZ #15493]
1306         * setjmp/Makefile (tests): Add tst-sigsetjmp.
1307         * setjmp/tst-sigsetjmp.c: New test.
1309 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1311         * sysdeps/x86_64/memset.S (memset): New implementation.
1312         (__bzero): Likewise.
1313         (__memset_tail): New function.
1315 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1317         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1318         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1319         __memcpy_sse2_unaligned ifunc selection.
1320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1321         Add memcpy-sse2-unaligned.S.
1322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1323         Add: __memcpy_sse2_unaligned.
1325 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
1327         [BZ #15490]
1328         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1329         math_force_eval before restoring floating-point envrionment.
1330         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1331         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1332         Likewise.
1333         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1334         <math_private.h>.
1335         (__nearbyintl): Use math_force_eval before restoring
1336         floating-point environment.
1337         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1339         * math/gen-libm-test.pl (special_functions): Remove.
1340         (parse_args): Don't handle TEST_extra.  Handle functions with no
1341         return value.
1342         * math/libm-test.inc (struct test_sincos_data): Replace with
1343         struct test_fFF_11_data.
1344         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1345         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1346         (sincos_test_data): Change element type to struct
1347         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
1348         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1349         RUN_TEST_LOOP_sincos.
1350         * math/README.libm-test: Don't mention special handling of
1351         individual functions.
1352         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1353         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1354         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1355         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1356         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1359         * math/gen-libm-test.pl (get_variable): Remove function.
1360         (parse_args): Don't show pointer parameters to call in test
1361         names.  Use "extra output N" in test names for extra outputs
1362         rather than naming variables.
1364 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
1366         [BZ #15488]
1367         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1368         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1369         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1370         double tests.
1371         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1372         disable.
1373         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1374         check_long_double.
1376         * math/gen-libm-test.pl (@tests): Remove variable.
1377         ($count): Likewise.
1378         (new_test): Remove function.
1379         (show_exceptions): New function.
1380         (special_functions): Use show_exceptions instead of new_test.
1381         (parse_args): Likewise.
1382         (generate_testfile): Pass only function name in generated call to
1383         print_max_error or print_complex_max_error.
1384         (get_ulps): Do not handle complex tests specially.
1385         (output_test): Rename to ...
1386         (get_all_ulps_for_test): ... this.  Return a string rather than
1387         printing to a file.  Require ulps to be present.
1388         (output_ulps): Generate arrays rather than #defines.
1389         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1390         (struct ulp_data): New type.
1391         (BUILD_COMPLEX_ULP): Remove macro.
1392         (compare_ulp_data): New function.
1393         (find_ulps): Likewise.
1394         (find_test_ulps): Likewise.
1395         (find_function_ulps): Likewise.
1396         (find_complex_function_ulps): Likewise.
1397         (print_max_error): Determine allowed ulps using
1398         find_function_ulps.
1399         (print_complex_max_error): Determine allowed ulps using
1400         find_complex_function_ulps.
1401         (check_float_internal): Determine max ulps using find_test_ulps.
1402         (check_float): Do not take max_ulp parameter.  Update call to
1403         check_float_internal.
1404         (check_complex): Likewise.
1405         (check_int): Do not take max_ulp parameter.
1406         (check_long): Likewise.
1407         (check_bool): Likewise.
1408         (check_longlong): Likewise.
1409         (struct test_f_f_data): Remove max_ulp field.
1410         (struct test_ff_f_data): Likewise.
1411         (struct test_ff_f_data_nexttoward): Likewise.
1412         (struct test_fi_f_data): Likewise.
1413         (struct test_fl_f_data): Likewise.
1414         (struct test_if_f_data): Likewise.
1415         (struct test_fff_f_data): Likewise.
1416         (struct test_c_f_data): Likewise.
1417         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1418         (struct test_fF_f1_data): Likewise.
1419         (struct test_ffI_f1_data): Likewise.
1420         (struct test_c_c_data): Remove max_ulp field.
1421         (struct test_cc_c_data): Likewise.
1422         (struct test_f_i_data): Likewise.
1423         (struct test_ff_i_data): Likewise.
1424         (struct test_f_l_data): Likewise.
1425         (struct test_f_L_data): Likewise.
1426         (struct test_sincos_data): Likewise.
1427         (RUN_TEST_f_f): Do not handle ulps.
1428         (RUN_TEST_LOOP_f_f): Likewise.
1429         (RUN_TEST_2_f): Likewise.
1430         (RUN_TEST_LOOP_2_f): Likewise.
1431         (RUN_TEST_fff_f): Likewise.
1432         (RUN_TEST_LOOP_fff_f): Likewise.
1433         (RUN_TEST_c_f): Likewise.
1434         (RUN_TEST_LOOP_c_f): Likewise.
1435         (RUN_TEST_f_f1): Likewise.
1436         (RUN_TEST_LOOP_f_f1): Likewise.
1437         (RUN_TEST_fF_f1): Likewise.
1438         (RUN_TEST_LOOP_fF_f1): Likewise.
1439         (RUN_TEST_fI_f1): Likewise.
1440         (RUN_TEST_LOOP_fI_f1): Likewise.
1441         (RUN_TEST_ffI_f1): Likewise.
1442         (RUN_TEST_LOOP_ffI_f1): Likewise.
1443         (RUN_TEST_c_c): Likewise.
1444         (RUN_TEST_LOOP_c_c): Likewise.
1445         (RUN_TEST_cc_c): Likewise.
1446         (RUN_TEST_LOOP_cc_c): Likewise.
1447         (RUN_TEST_f_i): Likewise.
1448         (RUN_TEST_LOOP_f_i): Likewise.
1449         (RUN_TEST_f_i_tg): Likewise.
1450         (RUN_TEST_LOOP_f_i_tg): Likewise.
1451         (RUN_TEST_ff_i_tg): Likewise.
1452         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1453         (RUN_TEST_f_b): Likewise.
1454         (RUN_TEST_LOOP_f_b): Likewise.
1455         (RUN_TEST_f_b_tg): Likewise.
1456         (RUN_TEST_LOOP_f_b_tg): Likewise.
1457         (RUN_TEST_f_l): Likewise.
1458         (RUN_TEST_LOOP_f_l): Likewise.
1459         (RUN_TEST_f_L): Likewise.
1460         (RUN_TEST_LOOP_f_L): Likewise.
1461         (RUN_TEST_sincos): Likewise.
1462         (RUN_TEST_LOOP_sincos): Likewise.
1464 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
1466         [BZ #15480]
1467         [BZ #15485]
1468         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1469         main case of finite arguments, set rounding mode to FE_TONEAREST
1470         and discard exceptions.
1471         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1472         exceptions.
1473         (remainder_tonearest_test_data): New variable.
1474         (remainder_test_tonearest): New function.
1475         (remainder_towardzero_test_data): New variable.
1476         (remainder_test_towardzero): New function.
1477         (remainder_downward_test_data): New variable.
1478         (remainder_test_downward): New function.
1479         (remainder_upward_test_data): New variable.
1480         (remainder_test_upward): New function.
1481         (main): Call the new test functions.
1483         * math/libm-test.inc (struct test_f_f1_data): Remove field
1484         extra_init.
1485         (struct test_fF_f1_data): Likewise.
1486         (struct test_ffI_f1_data): Likewise.
1487         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
1488         based on value of EXTRA_EXPECTED.
1489         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1490         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
1491         EXTRA_VAR based on value of EXTRA_EXPECTED.
1492         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1493         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
1494         EXTRA_VAR based on value of EXTRA_EXPECTED.
1495         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1496         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
1497         EXTRA_VAR based on value of EXTRA_EXPECTED.
1498         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1499         * math/gen-libm-test.pl (parse_args): Don't output initializers
1500         for extra output values.
1502         * math/libm-test.inc (check_int): Expect result to be exactly
1503         equal to expected value and do not handle ulps.
1504         (check_long): Likewise.
1505         (check_longlong): Likewise.
1507         * math/libm-test.inc (ceil_test_data): Test for "inexact"
1508         exceptions.
1509         (cimag_test_data): Likewise.
1510         (conj_test_data): Likewise.
1511         (copysign_test_data): Likewise.
1512         (cproj_test_data): Likewise.
1513         (creal_test_data): Likewise.
1514         (fabs_test_data): Likewise.
1515         (fdim_test_data): Likewise.
1516         (finite_test_data): Likewise.
1517         (floor_test_data): Likewise.
1518         (fmax_test_data): Likewise.
1519         (fmin_test_data): Likewise.
1520         (fmod_test_data): Likewise.
1521         (fpclassify_test_data): Likewise.
1522         (frexp_test_data): Likewise.
1523         (ilogb_test_data): Likewise.
1524         (isfinite_test_data): Likewise.
1525         (isgreater_test_data): Likewise.
1526         (isgreaterequal_test_data): Likewise.
1527         (isinf_test_data): Likewise.
1528         (isless_test_data): Likewise.
1529         (islessequal_test_data): Likewise.
1530         (islessgreater_test_data): Likewise.
1531         (isnan_test_data): Likewise.
1532         (isnormal_test_data): Likewise.
1533         (issignaling_test_data): Likewise.
1534         (isunordered_test_data): Likewise.
1535         (ldexp_test_data): Likewise.
1536         (lrint_test_data): Likewise.
1537         (lrint_test_data) [TEST_FLOAT]: Disable one test.
1538         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1539         (lrint_tonearest_test_data): Test for "inexact" exceptions.
1540         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1541         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1542         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1543         test input.
1544         (lrint_towardzero_test_data): Test for "inexact" exceptions.
1545         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1546         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1547         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1548         that test input.
1549         (lrint_downward_test_data): Test for "inexact" exceptions.
1550         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1551         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1552         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1553         test input.
1554         (lrint_upward_test_data): Test for "inexact" exceptions.
1555         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1556         test input.
1557         (llrint_test_data): Test for "inexact" exceptions.
1558         (llrint_test_data) [TEST_FLOAT]: Disable one test.
1559         (llrint_tonearest_test_data): Test for "inexact" exceptions.
1560         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1561         (llrint_towardzero_test_data): Test for "inexact" exceptions.
1562         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1563         (llrint_downward_test_data): Test for "inexact" exceptions.
1564         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1565         (llrint_upward_test_data): Test for "inexact" exceptions.
1566         (logb_test_data): Likewise.
1567         (logb_downward_test_data): Likewise.
1568         (nextafter_test_data): Likewise.
1569         (nexttoward_test_data): Likewise.
1570         (remainder_test_data): Likewise.
1571         (remquo_test_data): Likewise.
1572         (scalbn_test_data): Likewise.
1573         (scalbln_test_data): Likewise.
1574         (signbit_test_data): Likewise.
1575         (sqrt_test_data): Likewise.
1576         (significand_test_data): Likewise.
1578 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1580         [BZ #15424]
1581         * benchtests/bench-modf.c (struct args): Mark arg0 as
1582         volatile.
1583         * scripts/bench.pl: Mark members of struct args as volatile.
1585 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1587         [BZ # 15497]
1588         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1589         negative infinity on POWER6 or lower.
1590         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1592 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1594         [BZ #15442]
1595         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1596         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1597         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1598         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1599         (_FP_SETQNAN): New macro.
1600         (_FP_SETQNAN_SEMIRAW): Likewise.
1601         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1602         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1603         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1604         (FP_EXTEND): Use _FP_FRAC_SNANP.
1605         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1606         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1607         into account.
1608         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1609         New macro.
1610         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1611         Likewise.
1613 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1615         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1616         with DIVIDE_BY_ZERO_EXCEPTION.
1617         (gamma_test_data): Likewise.
1618         (lgamma_test_data): Likewise.
1619         (log_test_data): Likewise.
1620         (log10_test_data): Likewise.
1621         (log2_test_data): Likewise.
1622         (tgamma_test_data): Likewise.
1624         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1625         (acos_test_tonearest): Likewise.
1626         (acos_test_towardzero): Likewise.
1627         (acos_test_downward): Likewise.
1628         (acos_test_upward): Likewise.
1629         (acosh_test): Likewise.
1630         (asin_test): Likewise.
1631         (asin_test_tonearest): Likewise.
1632         (asin_test_towardzero): Likewise.
1633         (asin_test_downward): Likewise.
1634         (asin_test_upward): Likewise.
1635         (asinh_test): Likewise.
1636         (atan_test): Likewise.
1637         (atanh_test): Likewise.
1638         (atan2_test): Likewise.
1639         (cabs_test): Likewise.
1640         (cacos_test): Likewise.
1641         (cacosh_test): Likewise.
1642         (casin_test): Likewise.
1643         (casinh_test): Likewise.
1644         (catan_test): Likewise.
1645         (catanh_test): Likewise.
1646         (cbrt_test): Likewise.
1647         (ccos_test): Likewise.
1648         (ccosh_test): Likewise.
1649         (cexp_test): Likewise.
1650         (clog_test): Likewise.
1651         (clog10_test): Likewise.
1652         (cos_test): Likewise.
1653         (cos_test_tonearest): Likewise.
1654         (cos_test_towardzero): Likewise.
1655         (cos_test_downward): Likewise.
1656         (cos_test_upward): Likewise.
1657         (cosh_test): Likewise.
1658         (cosh_test_tonearest): Likewise.
1659         (cosh_test_towardzero): Likewise.
1660         (cosh_test_downward): Likewise.
1661         (cosh_test_upward): Likewise.
1662         (cpow_test): Likewise.
1663         (csin_test): Likewise.
1664         (csinh_test): Likewise.
1665         (csqrt_test): Likewise.
1666         (ctan_test): Likewise.
1667         (ctan_test_tonearest): Likewise.
1668         (ctan_test_towardzero): Likewise.
1669         (ctan_test_downward): Likewise.
1670         (ctan_test_upward): Likewise.
1671         (ctanh_test): Likewise.
1672         (ctanh_test_tonearest): Likewise.
1673         (ctanh_test_towardzero): Likewise.
1674         (ctanh_test_downward): Likewise.
1675         (ctanh_test_upward): Likewise.
1676         (erf_test): Likewise.
1677         (erfc_test): Likewise.
1678         (exp_test): Likewise.
1679         (exp_test_tonearest): Likewise.
1680         (exp_test_towardzero): Likewise.
1681         (exp_test_downward): Likewise.
1682         (exp_test_upward): Likewise.
1683         (exp10_test): Likewise.
1684         (exp2_test): Likewise.
1685         (expm1_test): Likewise.
1686         (fmod_test): Likewise.
1687         (gamma_test): Likewise.
1688         (hypot_test): Likewise.
1689         (j0_test): Likewise.
1690         (j1_test): Likewise.
1691         (jn_test): Likewise.
1692         (lgamma_test): Likewise.
1693         (log_test): Likewise.
1694         (log10_test): Likewise.
1695         (log1p_test): Likewise.
1696         (log2_test): Likewise.
1697         (logb_test_downward): Likewise.
1698         (pow_test): Likewise.
1699         (pow_test_tonearest): Likewise.
1700         (pow_test_towardzero): Likewise.
1701         (pow_test_downward): Likewise.
1702         (pow_test_upward): Likewise.
1703         (remainder_test): Likewise.
1704         (remquo_test): Likewise.
1705         (sin_test): Likewise.
1706         (sin_test_tonearest): Likewise.
1707         (sin_test_towardzero): Likewise.
1708         (sin_test_downward): Likewise.
1709         (sin_test_upward): Likewise.
1710         (sincos_test): Likewise.
1711         (sinh_test): Likewise.
1712         (sinh_test_tonearest): Likewise.
1713         (sinh_test_towardzero): Likewise.
1714         (sinh_test_downward): Likewise.
1715         (sinh_test_upward): Likewise.
1716         (sqrt_test): Likewise.
1717         (tan_test): Likewise.
1718         (tan_test_tonearest): Likewise.
1719         (tan_test_towardzero): Likewise.
1720         (tan_test_downward): Likewise.
1721         (tan_test_upward): Likewise.
1722         (tanh_test): Likewise.
1723         (tgamma_test): Likewise.
1724         (y0_test): Likewise.
1725         (y1_test): Likewise.
1726         (yn_test): Likewise.
1728         * math/gen-libm-test.pl (adjust_arg): Remove function.
1729         (special_function): Remove argument $in_func.  Only handle
1730         generating output for tables of tests, not inside functions.
1731         (parse_args): Likewise.
1732         (generate_testfile): Remove variable $in_func.  Update call to
1733         parse_args.
1734         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1735         (MINUS_ZERO_INIT): Rename macro to minus_zero.
1736         (PLUS_INFTY_INIT): Rename macro to plus_infty.
1737         (MINUS_INFTY_INIT): Rename macro to minus_infty.
1738         (QNAN_VALUE_INIT): Rename macro to qnan_value.
1739         (MAX_VALUE_INIT): Rename macro to max_value.
1740         (MIN_VALUE_INIT): Rename macro to min_value.
1741         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1742         (plus_zero): Remove variable.
1743         (minus_zero): Likewise.
1744         (plus_infty): Likewise.
1745         (minus_infty): Likewise.
1746         (qnan_value): Likewise.
1747         (max_value): Likewise.
1748         (min_value): Likewise.
1749         (min_subnorm_value): Likewise.
1751 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1753         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1754         uint64_t or uint32_t usage.
1755         * crypt/sha256-block.c: Likewise.
1756         * crypt/sha256-crypt.c: Likewise.
1757         * crypt/sha256.c: Likewise.
1758         * crypt/sha512-block.c: Likewise.
1759         * crypt/sha512-crypt.c: Likewise.
1760         * crypt/sha512.c: Likewise.
1761         * debug/backtrace-tst.c: Likewise.
1762         * debug/pcprofiledump.c: Likewise.
1763         * elf/cache.c: Likewise.
1764         * elf/dl-cache.c: Likewise.
1765         * elf/dl-misc.c: Likewise.
1766         * elf/dl-profile.c: Likewise.
1767         * elf/dl-support.c: Likewise.
1768         * elf/ldconfig.c: Likewise.
1769         * elf/sprof.c: Likewise.
1770         * iconv/dummy-repertoire.c: Likewise.
1771         * iconv/iconv_charmap.c: Likewise.
1772         * iconv/skeleton.c: Likewise.
1773         * iconvdata/8bit-generic.c: Likewise.
1774         * iconvdata/cp737.h: Likewise.
1775         * iconvdata/cp775.h: Likewise.
1776         * iconvdata/ibm1008.h: Likewise.
1777         * iconvdata/ibm1025.h: Likewise.
1778         * iconvdata/ibm1046.h: Likewise.
1779         * iconvdata/ibm1097.h: Likewise.
1780         * iconvdata/ibm1112.h: Likewise.
1781         * iconvdata/ibm1122.h: Likewise.
1782         * iconvdata/ibm1123.h: Likewise.
1783         * iconvdata/ibm1124.h: Likewise.
1784         * iconvdata/ibm1129.h: Likewise.
1785         * iconvdata/ibm1130.h: Likewise.
1786         * iconvdata/ibm1132.h: Likewise.
1787         * iconvdata/ibm1133.h: Likewise.
1788         * iconvdata/ibm1137.h: Likewise.
1789         * iconvdata/ibm1140.h: Likewise.
1790         * iconvdata/ibm1141.h: Likewise.
1791         * iconvdata/ibm1142.h: Likewise.
1792         * iconvdata/ibm1143.h: Likewise.
1793         * iconvdata/ibm1144.h: Likewise.
1794         * iconvdata/ibm1145.h: Likewise.
1795         * iconvdata/ibm1146.h: Likewise.
1796         * iconvdata/ibm1147.h: Likewise.
1797         * iconvdata/ibm1148.h: Likewise.
1798         * iconvdata/ibm1149.h: Likewise.
1799         * iconvdata/ibm1153.h: Likewise.
1800         * iconvdata/ibm1154.h: Likewise.
1801         * iconvdata/ibm1155.h: Likewise.
1802         * iconvdata/ibm1156.h: Likewise.
1803         * iconvdata/ibm1157.h: Likewise.
1804         * iconvdata/ibm1158.h: Likewise.
1805         * iconvdata/ibm1160.h: Likewise.
1806         * iconvdata/ibm1161.h: Likewise.
1807         * iconvdata/ibm1162.h: Likewise.
1808         * iconvdata/ibm1163.h: Likewise.
1809         * iconvdata/ibm1164.h: Likewise.
1810         * iconvdata/ibm1166.h: Likewise.
1811         * iconvdata/ibm1167.h: Likewise.
1812         * iconvdata/ibm12712.h: Likewise.
1813         * iconvdata/ibm1390.h: Likewise.
1814         * iconvdata/ibm1399.h: Likewise.
1815         * iconvdata/ibm16804.h: Likewise.
1816         * iconvdata/ibm4517.h: Likewise.
1817         * iconvdata/ibm4899.h: Likewise.
1818         * iconvdata/ibm4909.h: Likewise.
1819         * iconvdata/ibm4971.h: Likewise.
1820         * iconvdata/ibm5347.h: Likewise.
1821         * iconvdata/ibm803.h: Likewise.
1822         * iconvdata/ibm856.h: Likewise.
1823         * iconvdata/ibm901.h: Likewise.
1824         * iconvdata/ibm902.h: Likewise.
1825         * iconvdata/ibm9030.h: Likewise.
1826         * iconvdata/ibm9066.h: Likewise.
1827         * iconvdata/ibm921.h: Likewise.
1828         * iconvdata/ibm922.h: Likewise.
1829         * iconvdata/ibm9448.h: Likewise.
1830         * iconvdata/isiri-3342.h: Likewise.
1831         * iconvdata/jis0201.h: Likewise.
1832         * include/link.h: Likewise.
1833         * include/netdb.h: Likewise.
1834         * inet/check_native.c: Likewise.
1835         * inet/check_pf.c: Likewise.
1836         * inet/getipv4sourcefilter.c: Likewise.
1837         * inet/getnameinfo.c: Likewise.
1838         * inet/getsourcefilter.c: Likewise.
1839         * inet/htonl.c: Likewise.
1840         * inet/setipv4sourcefilter.c: Likewise.
1841         * inet/setsourcefilter.c: Likewise.
1842         * inet/test-inet6_opt.c: Likewise.
1843         * inet/tst-network.c: Likewise.
1844         * locale/C-collate.c: Likewise.
1845         * locale/C-ctype.c: Likewise.
1846         * locale/C-time.c: Likewise.
1847         * locale/C-translit.h: Likewise.
1848         * locale/loadarchive.c: Likewise.
1849         * locale/programs/3level.h: Likewise.
1850         * locale/programs/charmap.c: Likewise.
1851         * locale/programs/charmap.h: Likewise.
1852         * locale/programs/ld-address.c: Likewise.
1853         * locale/programs/ld-collate.c: Likewise.
1854         * locale/programs/ld-ctype.c: Likewise.
1855         * locale/programs/ld-identification.c: Likewise.
1856         * locale/programs/ld-measurement.c: Likewise.
1857         * locale/programs/ld-messages.c: Likewise.
1858         * locale/programs/ld-monetary.c: Likewise.
1859         * locale/programs/ld-name.c: Likewise.
1860         * locale/programs/ld-numeric.c: Likewise.
1861         * locale/programs/ld-paper.c: Likewise.
1862         * locale/programs/ld-telephone.c: Likewise.
1863         * locale/programs/ld-time.c: Likewise.
1864         * locale/programs/linereader.c: Likewise.
1865         * locale/programs/locale.c: Likewise.
1866         * locale/programs/locarchive.c: Likewise.
1867         * locale/programs/locfile.h: Likewise.
1868         * locale/programs/repertoire.c: Likewise.
1869         * locale/programs/simple-hash.c: Likewise.
1870         * locale/programs/simple-hash.h: Likewise.
1871         * malloc/memusage.c: Likewise.
1872         * malloc/memusagestat.c: Likewise.
1873         * nis/nis_defaults.c: Likewise.
1874         * nis/nis_hash.c: Likewise.
1875         * nis/nis_print.c: Likewise.
1876         * nis/nis_xdr.c: Likewise.
1877         * nscd/connections.c: Likewise.
1878         * nscd/hstcache.c: Likewise.
1879         * nscd/nscd_gethst_r.c: Likewise.
1880         * nscd/nscd_getserv_r.c: Likewise.
1881         * nscd/nscd_helper.c: Likewise.
1882         * nscd/servicescache.c: Likewise.
1883         * nss/makedb.c: Likewise.
1884         * nss/nss_db/db-XXX.c: Likewise.
1885         * nss/nss_db/db-initgroups.c: Likewise.
1886         * nss/nss_db/db-netgrp.c: Likewise.
1887         * nss/nss_files/files-network.c: Likewise.
1888         * nss/nss_files/files-parse.c: Likewise.
1889         * posix/bug-regex5.c: Likewise.
1890         * posix/fnmatch_loop.c: Likewise.
1891         * posix/regcomp.c: Likewise.
1892         * posix/regexec.c: Likewise.
1893         * posix/tst-rfc3484-2.c: Likewise.
1894         * posix/tst-rfc3484-3.c: Likewise.
1895         * posix/tst-rfc3484.c: Likewise.
1896         * resolv/nss_dns/dns-canon.c: Likewise.
1897         * resolv/nss_dns/dns-network.c: Likewise.
1898         * resolv/res_init.c: Likewise.
1899         * resolv/res_mkquery.c: Likewise.
1900         * resolv/tst-aton.c: Likewise.
1901         * stdlib/cxa_atexit.c: Likewise.
1902         * stdlib/cxa_finalize.c: Likewise.
1903         * stdlib/gen-fpioconst.c: Likewise.
1904         * stdlib/strtol_l.c: Likewise.
1905         * string/tst-endian.c: Likewise.
1906         * sunrpc/auth_des.c: Likewise.
1907         * sunrpc/clnt_udp.c: Likewise.
1908         * sunrpc/rtime.c: Likewise.
1909         * sunrpc/svcauth_des.c: Likewise.
1910         * sunrpc/xdr.c: Likewise.
1911         * sunrpc/xdr_intXX_t.c: Likewise.
1912         * sunrpc/xdr_rec.c: Likewise.
1913         * sysdeps/generic/ldconfig.h: Likewise.
1914         * sysdeps/generic/ldsodefs.h: Likewise.
1915         * sysdeps/generic/memusage.h: Likewise.
1916         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1917         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1918         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1919         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1920         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1921         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1922         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1923         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1924         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1925         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1926         * sysdeps/posix/getaddrinfo.c: Likewise.
1927         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1928         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1929         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1930         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1931         * sysdeps/powerpc/test-gettimebase.c: Likewise.
1932         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1933         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1934         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1935         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1936         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1937         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1938         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1939         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1940         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1941         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1942         * sysdeps/x86_64/dl-tls.h: Likewise.
1943         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1944         * time/alt_digit.c: Likewise.
1945         * time/era.c: Likewise.
1946         * wcsmbs/tst-c16c32-1.c: Likewise.
1948 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1950         * math/libm-test.inc (struct test_sincos_data): New type.
1951         (RUN_TEST_LOOP_sincos): New macro.
1952         (sincos_test_data): New variable.
1953         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1955 2013-05-16  Richard Henderson  <rth@redhat.com>
1957         * math/atest-exp2.c (LIMB64): New macro.
1958         (CONSTSZ): New macro.
1959         (mp_exp1, mp_exp_m1, mp_log2): New variables.
1960         (hexdig): Move ...
1961         (print_mpn_fp): ... to function scope.
1962         (read_mpn_hex): Remove.
1963         (get_log2): Remove.
1964         (exp2_mpn): Use mp_log2.
1965         (main): Use mp_exp1.
1967 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1969         * math/libm-test.inc: Remove comment about not testing "inexact"
1970         exceptions.
1971         (INEXACT_EXCEPTION): New macro.
1972         (NO_INEXACT_EXCEPTION): Likewise.
1973         (INVALID_EXCEPTION_OK): Update value.
1974         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1975         (OVERFLOW_EXCEPTION_OK): Likewise.
1976         (UNDERFLOW_EXCEPTION_OK): Likewise.
1977         (IGNORE_ZERO_INF_SIGN): Likewise.
1978         (ERRNO_UNCHANGED): Likewise.
1979         (ERRNO_EDOM): Likewise.
1980         (ERRNO_ERANGE): Likewise.
1981         (test_exceptions): Handle testing "inexact" exceptions.
1982         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1983         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1984         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1985         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1986         INEXACT_EXCEPTION.
1987         (rint_towardzero_test_data): Likewise.
1988         (rint_downward_test_data): Likewise.
1989         (rint_upward_test_data): Likewise.
1991         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1992         with OVERFLOW_EXCEPTION.
1993         (exp10_test_data): Likewise.
1994         (exp2_test_data): Likewise.
1995         (expm1_test_data): Likewise.
1996         (lgamma_test_data): Likewise.
1997         (pow_test_data): Likewise.
1998         (tgamma_test_data): Likewise.
1999         (yn_test_data): Remove duplicate test of overflow.
2001         * math/libm-test.inc (struct test_cc_c_data): New type.
2002         (RUN_TEST_LOOP_cc_c): New macro.
2003         (cpow_test_data): New variable.
2004         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2006         * math/libm-test.inc (struct test_f_L_data): New type.
2007         (RUN_TEST_LOOP_f_L): New macro.
2008         (llrint_test_data): New variable.
2009         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2010         (llrint_tonearest_test_data): New variable.
2011         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2012         (llrint_towardzero_test_data): New variable.
2013         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2014         (llrint_downward_test_data): New variable.
2015         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2016         (llrint_upward_test_data): New variable.
2017         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2018         (llround_test_data): New variable.
2019         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2021 2013-05-13  Peter Collingbourne  <pcc@google.com>
2023         * math/atest-exp2.c (get_log2): Remove const attribute.
2025 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2027         * math/libm-test.inc (struct test_f_l_data): New type.
2028         (RUN_TEST_LOOP_f_l): New macro.
2029         (lrint_test_data): New variable.
2030         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2031         (lrint_tonearest_test_data): New variable.
2032         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2033         (lrint_towardzero_test_data): New variable.
2034         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2035         (lrint_downward_test_data): New variable.
2036         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2037         (lrint_upward_test_data): New variable.
2038         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2039         (lround_test_data): New variable.
2040         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2042 2013-05-15  Peter Collingbourne  <pcc@google.com>
2044         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2045         (EXTRACT_WORDS64) Use where appropriate.
2046         (INSERT_WORDS64) Likewise.
2048         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2049         constraints with x constraints.
2050         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2052         * malloc/obstack.c (_obstack_compat): Add initializer.
2054 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2056         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2057         si_trapno and add si_addr_lsb to _sifields.sigfault.
2058         (si_trapno): Remove macro.
2059         (si_addr_lsb): Define new macro.
2060         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2062 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2064         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2065         instead of TEST_f_l.
2066         (llrint_test_tonearest): Likewise.
2067         (llrint_test_towardzero): Likewise.
2068         (llrint_test_downward): Likewise.
2069         (llrint_test_upward): Likewise.
2070         (llround_test): Likewise.
2072         * math/libm-test.inc (struct test_f_i_data): Add comment.
2073         (RUN_TEST_LOOP_f_b): New macro.
2074         (RUN_TEST_LOOP_f_b_tg): Likewise.
2075         (finite_test_data): New variable.
2076         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2077         (isfinite_test_data): New variable.
2078         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2079         (isinf_test_data): New variable.
2080         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2081         (isnan_test_data): New variable.
2082         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2083         (isnormal_test_data): New variable.
2084         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2085         (issignaling_test_data): New variable.
2086         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2087         (signbit_test_data): New variable.
2088         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2090         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2091         with INVALID_EXCEPTION.
2092         (acosh_test_data): Likewise.
2093         (asin_test_data): Likewise.
2094         (atanh_test_data): Likewise.
2095         (fmod_test_data): Likewise.
2096         (log_test_data): Likewise.
2097         (log10_test_data): Likewise.
2098         (log2_test_data): Likewise.
2099         (pow_test_data): Likewise.
2100         (sqrt_test_data): Likewise.
2101         (y0_test_data): Likewise.
2102         (y1_test_data): Likewise.
2103         (yn_test_data): Likewise.
2105         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2106         function contents.
2108         * math/libm-test.inc (struct test_ff_i_data): New type.
2109         (RUN_TEST_LOOP_ff_i_tg): New macro.
2110         (isgreater_test_data): New variable.
2111         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2112         (isgreaterequal_test_data): New variable.
2113         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2114         (isless_test_data): New variable.
2115         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2116         (islessequal_test_data): New variable.
2117         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2118         (islessgreater_test_data): New variable.
2119         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2120         (isunordered_test_data): New variable.
2121         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2123 2013-05-14  David S. Miller  <davem@davemloft.net>
2125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2127 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
2129         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2131         * math/libm-test.inc (struct test_fF_f1_data): Change type of
2132         extra_test to int.
2133         (struct test_f_i_data): Change type of max_ulp to int.
2135         * math/libm-test.inc (test_ffI_f1_data): New type.
2136         (RUN_TEST_LOOP_ffI_f1): New macro.
2137         (remquo_test_data): New variable.
2138         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2140         * setjmp/tst-setjmp-fp.c: New file.
2141         * setjmp/Makefile (tests): Add tst-setjmp-fp.
2142         (link-libm): New variable.
2143         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2145         * math/libm-test.inc (struct test_f_i_data): New type.
2146         (RUN_TEST_LOOP_f_i): New macro.
2147         (RUN_TEST_LOOP_f_i_tg): Likewise.
2148         (fpclassify_test_data): New variable.
2149         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2150         (ilogb_test_data): New variable.
2151         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2153         * math/libm-test.inc (scalbln_test): Correct function name in END
2154         call.
2156         * math/libm-test.inc (struct test_f_f1_data): Add comment.
2157         (RUN_TEST_LOOP_fI_f1): New macro.
2158         (frexp_test_data): New variable.
2159         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2161         * math/libm-test.inc (struct test_fF_f1_data): New type.
2162         (RUN_TEST_LOOP_fF_f1): New macro.
2163         (modf_test_data): New variable.
2164         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2166         * math/libm-test.inc (struct test_f_f1_data): New type.
2167         (RUN_TEST_LOOP_f_f1): New macro.
2168         (gamma_test_data): New variable.
2169         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2170         (lgamma_test_data): New variable.
2171         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2173 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
2175         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2176         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2177         (main): Comment "tls" pseudo-hwcap.
2179 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
2181         * math/libm-test.inc (struct test_fl_f_data): New type.
2182         (RUN_TEST_LOOP_fl_f): New variable.
2183         (scalbln_test_data): New variable.
2184         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2186         * math/libm-test.inc (struct test_fi_f_data): New type.
2187         (RUN_TEST_LOOP_fi_f): New macro.
2188         (ldexp_test_data): New variable.
2189         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2190         (scalbn_test_data): New variable.
2191         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2193         * math/libm-test.inc (struct test_c_f_data): New type.
2194         (RUN_TEST_LOOP_c_f): New macro.
2195         (cabs_test_data): New variable.
2196         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2197         (carg_test_data): New variable.
2198         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2199         (cimag_test_data): New variable.
2200         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2201         (creal_test_data): New variable.
2202         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2204         * math/libm-test.inc (struct test_if_f_data): New type.
2205         (RUN_TEST_LOOP_if_f): New macro.
2206         (jn_test_data): New variable.
2207         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2208         (yn_test_data): New variable.
2209         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2211         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2213 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2215         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2216         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2218 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2220         * benchtests/Makefile (CPPFLAGS-nonlib): Add
2221         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2222         (bench-deps): Add bench-timing.h.
2223         * benchtests-bench-skeleton.c: Include bench-timing.h.
2224         (main): Use TIMING_* macros instead of clock_gettime.
2225         * benchtests/bench-timing.h: New file.
2227         [BZ #14582]
2228         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2229         Renamed from _LIB_VERSION.
2230         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2232 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
2234         * math/libm-test.inc (struct test_fff_f_data): New type.
2235         (RUN_TEST_LOOP_fff_f): New macro.
2236         (fma_test_data): New variable.
2237         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2238         (fma_towardzero_test_data): New variable.
2239         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2240         (fma_downward_test_data): New variable.
2241         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2242         (fma_upward_test_data): New variable.
2243         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2245         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2246         (struct test_c_c_data): New type.
2247         (RUN_TEST_LOOP_c_c): New macro.
2248         (cacos_test_data): New variable.
2249         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2250         (cacosh_test_data): New variable.
2251         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2252         (casin_test_data): New variable.
2253         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2254         (casinh_test_data): New variable.
2255         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2256         (catan_test_data): New variable.
2257         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2258         (catanh_test_data): New variable.
2259         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2260         (ccos_test_data): New variable.
2261         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2262         (ccosh_test_data): New variable.
2263         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2264         (cexp_test_data): New variable.
2265         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2266         (clog_test_data): New variable.
2267         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2268         (clog10_test_data): New variable.
2269         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2270         (conj_test_data): New variable.
2271         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2272         (cproj_test_data): New variable.
2273         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2274         (csin_test_data): New variable.
2275         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2276         (csinh_test_data): New variable.
2277         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2278         (csqrt_test_data): New variable.
2279         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2280         (ctan_test_data): New variable.
2281         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2282         (ctan_tonearest_test_data): New variable.
2283         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2284         (ctan_towardzero_test_data): New variable.
2285         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2286         (ctan_downward_test_data): New variable.
2287         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2288         (ctan_upward_test_data): New variable.
2289         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2290         (ctanh_test_data): New variable.
2291         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2292         (ctanh_tonearest_test_data): New variable.
2293         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2294         (ctanh_towardzero_test_data): New variable.
2295         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2296         (ctanh_downward_test_data): New variable.
2297         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2298         (ctanh_upward_test_data): New variable.
2299         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2300         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2301         of BUILD_COMPLEX.
2303         * math/libm-test.inc (struct test_ff_f_data): New type.
2304         (struct test_ff_f_data_nexttoward): Likewise.
2305         (RUN_TEST_LOOP_2_f): New macro.
2306         (RUN_TEST_LOOP_ff_f): Likewise.
2307         (atan2_test_data): New variable.
2308         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2309         (copysign_test_data): New variable.
2310         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2311         (fdim_test_data): New variable.
2312         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2313         (fmax_test_data): New variable.
2314         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2315         (fmin_test_data): New variable.
2316         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2317         (fmod_test_data): New variable.
2318         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2319         (hypot_test_data): New variable.
2320         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2321         (nextafter_test_data): New variable.
2322         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2323         (nexttoward_test_data): New variable.
2324         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2325         (pow_test_data): New variable.
2326         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2327         (pow_tonearest_test_data): New variable.
2328         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2329         (pow_towardzero_test_data): New variable.
2330         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2331         (pow_downward_test_data): New variable.
2332         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2333         (pow_upward_test_data): New variable.
2334         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2335         (remainder_test_data): New variable.
2336         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2337         (scalb_test_data): New variable.
2338         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2339         * sysdeps/i386/fpu/libm-test-ulps: Update.
2341 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
2343         * math/libm-test.inc (fma_test): Use max_value instead of local
2344         variable fltmax.
2345         (nextafter_test): Likewise.
2347         * math/libm-test.inc (acos_towardzero_test_data): New variable.
2348         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2349         (acos_downward_test_data): New variable.
2350         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2351         (acos_upward_test_data): New variable.
2352         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2353         (acosh_test_data): New variable.
2354         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2355         (asin_test_data): New variable.
2356         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2357         (asin_tonearest_test_data): New variable.
2358         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2359         (asin_towardzero_test_data): New variable.
2360         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2361         (asin_downward_test_data): New variable.
2362         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2363         (asin_upward_test_data): New variable.
2364         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2365         (asinh_test_data): New variable.
2366         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2367         (atan_test_data): New variable.
2368         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2369         (atanh_test_data): New variable.
2370         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2371         (cbrt_test_data): New variable.
2372         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2373         (ceil_test_data): New variable.
2374         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2375         (cos_test_data): New variable.
2376         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2377         (cos_tonearest_test_data): New variable.
2378         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2379         (cos_towardzero_test_data): New variable.
2380         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2381         (cos_downward_test_data): New variable.
2382         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2383         (cos_upward_test_data): New variable.
2384         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2385         (cosh_test_data): New variable.
2386         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2387         (cosh_tonearest_test_data): New variable.
2388         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2389         (cosh_towardzero_test_data): New variable.
2390         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2391         (cosh_downward_test_data): New variable.
2392         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2393         (cosh_upward_test_data): New variable.
2394         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2395         (erf_test_data): New variable.
2396         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2397         (erfc_test_data): New variable.
2398         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2399         (exp_test_data): New variable.
2400         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2401         (exp_tonearest_test_data): New variable.
2402         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2403         (exp_towardzero_test_data): New variable.
2404         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2405         (exp_downward_test_data): New variable.
2406         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2407         (exp_upward_test_data): New variable.
2408         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2409         (exp10_test_data): New variable.
2410         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2411         (exp2_test_data): New variable.
2412         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2413         (expm1_test_data): New variable.
2414         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2415         (fabs_test_data): New variable.
2416         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2417         (floor_test_data): New variable.
2418         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2419         (j0_test_data): New variable.
2420         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2421         (j1_test_data): New variable.
2422         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2423         (log_test_data): New variable.
2424         (log_test): Run tests with RUN_TEST_LOOP_f_f.
2425         (log10_test_data): New variable.
2426         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2427         (log1p_test_data): New variable.
2428         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2429         (log2_test_data): New variable.
2430         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2431         (logb_test_data): New variable.
2432         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2433         (logb_downward_test_data): New variable.
2434         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2435         (nearbyint_test_data): New variable.
2436         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2437         (rint_test_data): New variable.
2438         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2439         (rint_tonearest_test_data): New variable.
2440         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2441         (rint_towardzero_test_data): New variable.
2442         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2443         (rint_downward_test_data): New variable.
2444         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2445         (rint_upward_test_data): New variable.
2446         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2447         (round_test_data): New variable.
2448         (round_test): Run tests with RUN_TEST_LOOP_f_f.
2449         (sin_test_data): New variable.
2450         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2451         (sin_tonearest_test_data): New variable.
2452         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2453         (sin_towardzero_test_data): New variable.
2454         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2455         (sin_downward_test_data): New variable.
2456         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2457         (sin_upward_test_data): New variable.
2458         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2459         (sinh_test_data): New variable.
2460         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2461         (sinh_tonearest_test_data): New variable.
2462         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2463         (sinh_towardzero_test_data): New variable.
2464         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2465         (sinh_downward_test_data): New variable.
2466         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2467         (sinh_upward_test_data): New variable.
2468         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2469         (sqrt_test_data): New variable.
2470         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2471         (tan_test_data): New variable.
2472         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2473         (tan_tonearest_test_data): New variable.
2474         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2475         (tan_towardzero_test_data): New variable.
2476         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2477         (tan_downward_test_data): New variable.
2478         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2479         (tan_upward_test_data): New variable.
2480         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2481         (tanh_test_data): New variable.
2482         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2483         (tgamma_test_data): New variable.
2484         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2485         (trunc_test_data): New variable.
2486         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2487         (y0_test_data): New variable.
2488         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2489         (y1_test_data): New variable.
2490         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2491         (significand_test_data): New variable.
2492         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2494 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
2496         [BZ #12387]
2497         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2499 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2501         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2503 2013-05-10  Andreas Jaeger  <aj@suse.de>
2505         [BZ #15448]
2506         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2507         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2509 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
2511         * math/gen-libm-test.pl (adjust_arg): New function.
2512         (special_functions): Handle generating output in both functions
2513         and arrays.
2514         (parse_args): Likewise.
2515         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
2516         $in_func argument to parse_args.
2517         * math/libm-test.inc (struct test_f_f_data): New type.
2518         (IF_ROUND_INIT_): New macro.
2519         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2520         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2521         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2522         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2523         (ROUND_RESTORE_): Likewise.
2524         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2525         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2526         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2527         (ROUND_RESTORE_FE_UPWARD): Likewise.
2528         (RUN_TEST_LOOP_f_f): New macro.
2529         (acos_test_data): New variable.
2530         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2531         (acos_tonearest_test_data): New variable.
2532         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2534 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2536         * benchtests/bench-skeleton.c (startup): Fix coding style.
2538 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
2540         [BZ #6809]
2541         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2542         negative infinity argument.
2543         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2544         negative infinity argument.
2545         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2546         negative infinity argument.
2547         * math/libm-test.inc (tgamma_test): Expect errno to be set for
2548         domain errors.
2550 2013-05-10  Florian Weimer  <fweimer@redhat.com>
2552         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2553         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2554         * iconv/iconv_prog.c (main): Likewise.
2555         * locale/programs/charmap-dir.c (charmap_readdir)
2556         (fopen_uncompressed): Likewise.
2557         * locale/programs/locfile.c (siblings_uncached)
2558         (write_locale_data): Use lstat64 instead of lstat.
2559         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2560         stat.
2562 2013-05-10  Andreas Jaeger  <aj@suse.de>
2564         [BZ #15395]
2565         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2566         localization.
2567         Include <locale.h>.
2569 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
2571         * elf/dl-close.c (_dl_close_worker): Add comments.
2573 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
2575         [BZ #15359]
2576         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2577         high part of pi/2.
2578         (__ieee754_rem_pio2l): Update comments.
2580         [BZ #15429]
2581         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2582         high part of pi/2.
2583         (__ieee754_rem_pio2l): Update comments.
2585         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2586         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2588         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2589         M_PI_4l.
2591         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2592         (M_PI_34_LOG10El): Likewise.
2593         (M_PI2_LOG10El): Likewise.
2594         (M_PI4_LOG10El): Likewise.
2595         (M_PI_LOG10El): Likewise.
2597 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2601 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
2603         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2604         (MINUS_ZERO_INIT): Likewise.
2605         (PLUS_INFTY_INIT): Likewise.
2606         (MINUS_INFTY_INIT): Likewise.
2607         (QNAN_VALUE_INIT): Likewise.
2608         (MAX_VALUE_INIT): Likewise.
2609         (MIN_VALUE_INIT): Likewise.
2610         (MIN_SUBNORM_VALUE_INIT): Likewise.
2611         (plus_zero): Initialize with PLUS_ZERO_INIT.
2612         (minus_zero): Initialize with MINUS_ZERO_INIT.
2613         (plus_infty): Initialize with PLUS_INFTY_INIT.
2614         (minus_infty): Initialize with MINUS_INFTY_INIT.
2615         (qnan_value): Initialize with QNAN_VALUE_INIT.
2616         (max_value): Initialize with MAX_VALUE_INIT.
2617         (min_value): Initialize with MIN_VALUE_INIT.
2618         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2620         * math/libm-test.inc (RUN_TEST_if_f): New macro.
2621         (jn_test): Use TEST_if_f instead of TEST_ff_f.
2622         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2623         (yn_test): Use TEST_if_f instead of TEST_ff_f.
2625         * math/libm-test.inc (RUN_TEST_f_f): New macro.
2626         (RUN_TEST_2_f): Likewise.
2627         (RUN_TEST_ff_f): Likewise.
2628         (RUN_TEST_fi_f): Likewise.
2629         (RUN_TEST_fl_f): Likewise.
2630         (RUN_TEST_fff_f): Likewise.
2631         (RUN_TEST_c_f): Likewise.
2632         (RUN_TEST_f_f1): Likewise.
2633         (RUN_TEST_fF_f1): Likewise.
2634         (RUN_TEST_fI_f1): Likewise.
2635         (RUN_TEST_ffI_f1): Likewise.
2636         (RUN_TEST_c_c): Likewise.
2637         (RUN_TEST_cc_c): Likewise.
2638         (RUN_TEST_f_i): Likewise.
2639         (RUN_TEST_f_i_tg): Likewise.
2640         (RUN_TEST_ff_i_tg): Likewise.
2641         (RUN_TEST_f_b): Likewise.
2642         (RUN_TEST_f_b_tg): Likewise.
2643         (RUN_TEST_f_l): Likewise.
2644         (RUN_TEST_f_L): Likewise.
2645         (RUN_TEST_sincos): Likewise.
2646         * math/gen-libm-test.pl (new_test): Take new argument to indicate
2647         whether to show exceptions.  Do not include ");\n" in return
2648         value.
2649         (special_functions): Output call to RUN_TEST_sincos instead of
2650         check_float calls.  Update calls to new_test.
2651         (parse_args): Output call to single RUN_TEST_* macro instead of
2652         check_* calls and other assignments.  Update calls to new_test.
2654         [BZ #2546]
2655         [BZ #2560]
2656         [BZ #5159]
2657         [BZ #15426]
2658         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2659         input to result for tgamma overflow.
2660         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2661         (gamma_coeff): New variable.
2662         (NCOEFF): New macro.
2663         (gamma_positive): New function.
2664         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2665         underflow here.  Use gamma_positive instead of exp (lgamma) for
2666         other arguments.
2667         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2668         (gamma_coeff): New variable.
2669         (NCOEFF): New macro.
2670         (gammaf_positive): New function.
2671         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2672         underflow here.  Use gamma_positive instead of exp (lgamma) for
2673         other arguments.
2674         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2675         (gamma_coeff): New variable.
2676         (NCOEFF): New macro.
2677         (gammal_positive): New function.
2678         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2679         underflow here.  Use gamma_positive instead of exp (lgamma) for
2680         other arguments.
2681         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2682         (gamma_coeff): New variable.
2683         (NCOEFF): New macro.
2684         (gammal_positive): New function.
2685         (__ieee754_gammal_r): Handle positive infinity, overflow and
2686         underflow here.  Handle NaN the same as positive infinity.  Remove
2687         check x < 0xffffffff for negative integers.  Use gamma_positive
2688         instead of exp (lgamma) for other arguments.
2689         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2690         (gamma_coeff): New variable.
2691         (NCOEFF): New macro.
2692         (gammal_positive): New function.
2693         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2694         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2695         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2696         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2697         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2698         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2699         * sysdeps/generic/math_private.h (__gamma_productf): New
2700         prototype.
2701         (__gamma_product): Likewise.
2702         (__gamma_productl): Likewise.
2703         * math/Makefile (libm-calls): Add gamma_product.
2704         * math/libm-test.inc (tgamma_test): Add more tests.
2705         * sysdeps/i386/fpu/libm-test-ulps: Update.
2706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2708 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
2710         * benchtests/bench-skeleton.c (main): Preheat CPU.
2712 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
2714         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2716 2013-05-07  Roland McGrath  <roland@hack.frob.com>
2718         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2719         and _dl_skip_args_internal.
2721 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
2723         * manual/message.texi (Message Translation): Talk about users.
2724         Message to key mapping impacts design.
2726 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2728         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2730         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2732         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2733         * sysdeps/wordsize-64/glob64.c: ... here.
2735         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2736         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2737         New macros.
2739         * debug/getlogin_r_chk.c: Moved to ...
2740         * login/getlogin_r_chk.c: ... here.
2741         * debug/Makefile (routines): Move getlogin_r_chk to ...
2742         * login/Makefile (routines): ... here.
2743         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2744         * login/Versions (libc: GLIBC_2.4): ... here.
2746         * io/poll.c (__poll): Renamed from poll.
2747         Add libc_hidden_def.
2748         (poll): Define as weak alias.
2750         * debug/ptsname_r_chk.c: Moved to ...
2751         * login/ptsname_r_chk.c: ... here.
2752         * debug/Makefile (routines): Move ptsname_r_chk to ...
2753         * login/Makefile (routines): ... here.
2754         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2755         * login/Versions (libc: GLIBC_2.4): ... here.
2757         * posix/getlogin.c: Moved to ...
2758         * login/getlogin.c: ... here.
2759         * posix/getlogin_r.c: Moved to ...
2760         * login/getlogin_r.c: ... here.
2761         * posix/getlogin_r.c: Moved to ...
2762         * login/getlogin_r.c: ... here.
2763         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2764         * login/Makefile (routines): ... here.
2765         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2766         * login/Versions (libc: GLIBC_2.0): ... here.
2768         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2769         (setrlimit): Define as weak alias.
2771         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2772         Call __ names for open, ftruncate, and close.
2773         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2774         (truncate): Define as weak alias.
2776 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
2778         * math/gen-libm-test.pl (parse_args): Initialize x before each
2779         test of frexp, modf and remquo.
2781         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2782         test signgam value.
2784 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2786         [BZ #15418]
2787         [BZ #15419]
2788         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2789         internal tests.
2790         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2792 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2794         * elf/dl-writev.h: New file.
2795         * elf/dl-misc.c: Include it.
2796         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2797         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2799 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
2801         * math/libm-test.inc (noXFails): Remove variable.
2802         (noXPasses): Likewise.
2803         (BUILD_COMPLEX_INT): Remove macro.
2804         (print_screen): Remove xfail argument.
2805         (print_screen_max_error): Likewise.
2806         (update_stats): Likewise.
2807         (print_max_error): Likewise.  Update calls to other affected
2808         functions.
2809         (print_complex_max_error): Likewise.
2810         (test_single_exception): Update calls to print_screen.
2811         (test_single_errno): Likewise.
2812         (check_float_internal): Remove xfail argument.  Update calls to
2813         other affected functions.
2814         (check_float): Likewise.
2815         (check_complex): Likewise.
2816         (check_int): Likewise.
2817         (check_long): Likewise.
2818         (check_bool): Likewise.
2819         (check_longlong): Likewise.
2820         (main): Don't print noXFails and noXPasses.
2821         * math/gen-libm-test.pl (top level): Don't mention expected
2822         failure handling in comment.
2823         (new_test): Don't handle expected failures.
2824         (parse_args): Don't mention expected failure handling in comment.
2825         (generate_testfile): Don't handle expected failures.
2826         (parse_ulps): Likewise.
2827         (print_ulps_file): Likewise.
2828         (get_failure): Remove function.
2829         (output_test): Don't handle expected failures.
2830         * make/README.libm-test: Don't mention expected failure handling.
2832         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
2833         (minus_zero): Likewise.
2834         (plus_infty): Likewise.
2835         (minus_infty): Likewise.
2836         (qnan_value): Likewise.
2837         (max_value): Likewise.
2838         (min_value): Likewise.
2839         (min_subnorm_value): Likewise.
2840         (initialize): Do not initialize those variables dynamically.
2842 2013-05-03  Roland McGrath  <roland@hack.frob.com>
2844         * io/open.c (__open_2): Moved to ...
2845         * io/open_2.c: ... this new file.
2846         * io/open64.c (__open64_2): Moved to ...
2847         * io/open64_2.c: ... this new file.
2848         * io/openat.c (__openat_2): Moved to ...
2849         * io/openat_2.c: ... this new file.
2850         * io/openat64.c (__openat64_2): Moved to ...
2851         * io/openat64_2.c: ... this new file.
2852         * io/Makefile (routines): Add them.
2853         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2854         * sysdeps/unix/sysv/linux/open_2.c: File removed.
2855         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2856         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2857         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2858         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2859         (__openat64): Add hidden_ver.
2860         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2861         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2863         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2864         Separately conditionalize setting of GLRO(dl_sysinfo) so
2865         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2866         as well, but the actual setting is only under [NEED_DL_SYSINFO].
2868 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2870         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2871         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2872         definition.
2873         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2874         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2875         (_libc_vdso_platform_setup): Add __vdso_time initialization.
2876         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2877         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2879 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
2881         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2882         test signgam value.
2884         * math/libm-test.inc (hypot_test): Do not use
2885         IGNORE_ZERO_INF_SIGN.
2887 2013-05-03  Andreas Jaeger  <aj@suse.de>
2889         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2890         Linux 3.9.
2891         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2892         (PF_MAX): Adjust for VSOCK change.
2894 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2898 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
2900         [BZ #15264]
2901         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2902         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2903         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2905 2013-05-02  David S. Miller  <davem@davemloft.net>
2907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2909 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
2911         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2913 2013-05-01  Roland McGrath  <roland@hack.frob.com>
2915         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2917 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
2919         [BZ #14952]
2920         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2921         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2922         Use __attribute__ ((__gnu_inline__)).
2923         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2924         Don't use __attribute__ ((__gnu_inline__)).
2926 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
2928         [BZ #15423]
2929         * math/s_catan.c (__catan): Handle small real or imaginary part of
2930         input specially to avoid spurious underflow.
2931         * math/s_catanf.c (__catanf): Likewise.
2932         * math/s_catanh.c (__catanh): Likewise.
2933         * math/s_catanhf.c (__catanhf): Likewise.
2934         * math/s_catanhl.c (__catanhl): Likewise.
2935         * math/s_catanl.c (__catanl): Likewise.
2936         * math/libm-test.inc (catan_test): Add more tests.
2937         (catanh_test): Likewise.
2938         * sysdeps/i386/fpu/libm-test-ulps: Update.
2939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2941 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2945 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
2947         [BZ #15416]
2948         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2949         accurately for denominator in atan2.
2950         * math/s_catanf.c (__catanf): Likewise.
2951         * math/s_catanh.c (__catanh): Likewise.
2952         * math/s_catanhf.c (__catanhf): Likewise.
2953         * math/s_catanhl.c (__catanhl): Likewise.
2954         * math/s_catanl.c (__catanl): Likewise.
2955         * math/libm-test.inc (catan_test): Add more tests.
2956         (catanh_test): Likewise.
2957         * sysdeps/i386/fpu/libm-test-ulps: Update.
2958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2960 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2962         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2964         * benchtests/Makefile (bench): Remove slow benchmarks.
2965         * benchtests/atan-inputs: Add slow benchmark inputs.
2966         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2967         (BENCH_FUNC): Accept variant offset.
2968         (VARIANT): Define.
2969         * benchtests/bench-skeleton.c (main): Run benchmark for each
2970         variant.
2971         * benchtests/cos-inputs: Add slow benchmark inputs.
2972         * benchtests/exp-inputs: Likewise.
2973         * benchtests/pow-inputs: Likewise.
2974         * benchtests/sin-inputs: Likewise.
2975         * benchtests/slowatan-inputs: Remove.
2976         * benchtests/slowatan.c: Remove.
2977         * benchtests/slowcos-inputs: Remove.
2978         * benchtests/slowcos.c: Remove.
2979         * benchtests/slowexp-inputs: Remove.
2980         * benchtests/slowexp.c: Remove.
2981         * benchtests/slowpow-inputs: Remove.
2982         * benchtests/slowpow.c: Remove.
2983         * benchtests/slowsin-inputs: Remove.
2984         * benchtests/slowsin.c: Remove.
2985         * benchtests/slowtan-inputs: Remove.
2986         * benchtests/slowtan.c: Remove.
2987         * benchtests/tan-inputs: Add slow benchmark inputs.
2988         * scripts/bench.pl: Parse comments and directives.
2990         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
2991         in CPPFLAGS.
2992         ($(objpfx)bench-%.c): Remove *-ITER.
2993         * benchtests/bench-modf.c: Remove definition of ITER.
2994         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2995         (main): Loop for DURATION seconds instead of fixed number of
2996         iterations.
2997         * scripts/bench.pl: Don't expect iterations in parameters.
2999 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3001         * io/fchdir.c (__fchdir): Renamed from fchdir.
3002         (fchdir): Define as weak alias.
3004 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3006         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3007         (ERRNO_EDOM): Likewise.
3008         (ERRNO_ERANGE): Likewise.
3009         (noErrnoTests): New variable.
3010         (init_max_error): Set errno to 0.
3011         (test_single_errno): New function.
3012         (test_errno): Likewise.
3013         (check_float_internal): Call test_errno.  Set errno to 0.
3014         (check_complex): Refer to errno tests in comment.
3015         (check_int): Call test_errno.  Set errno to 0.
3016         (check_long): Likewise.
3017         (check_bool): Likewise.
3018         (check_longlong): Likewise.
3019         (cos_test): Use ERRNO_* flags for errno tests instead of
3020         check_int.
3021         (expm1_test): Likewise.
3022         (fmod_test): Likewise.
3023         (ilogb_test): Likewise.
3024         (lgamma_test): Likewise.
3025         (pow_test): Likewise.
3026         (remainder_test): Likewise.
3027         (sin_test): Likewise.
3028         (tan_test): Likewise.
3029         (yn_test): Likewise.
3030         (initialize): Set errno to 0.
3031         (main): Print number of errno tests.
3032         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3034 2013-04-29  Andreas Jaeger  <aj@suse.de>
3036         [BZ #15084]
3037         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3038         and RES_USEVC.
3040         [BZ #15085]
3041         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3042         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3043         unimplemented.
3045         [BZ #15380]
3046         * stdlib/random.c (__initstate): Return NULL if
3047         __initstate fails.
3049         [BZ #15086]
3050         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3051         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3052         RES_SNGLKUPREOP.
3054 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3058 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3060         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3061         of individual tests.
3062         (casin_test): Likewise.
3063         (casinh_test): Likewise.
3065 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
3067         [BZ #15409]
3068         * math/s_catan.c (__catan): Handle arguments with large real or
3069         imaginary part separately without squaring.
3070         * math/s_catanf.c (__catanf): Likewise.
3071         * math/s_catanh.c (__catanh): Likewise.
3072         * math/s_catanhf.c (__catanhf): Likewise.
3073         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3074         and redefine.
3075         (__catanhl): Handle arguments with large real or imaginary part
3076         separately without squaring.
3077         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3078         and redefine.
3079         (__catanl): Handle arguments with large real or imaginary part
3080         separately without squaring.
3081         * math/libm-test.inc (catan_test): Add more tests.
3082         (catanh_test): Likewise.
3083         * sysdeps/i386/fpu/libm-test-ulps: Update.
3084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3086 2013-04-27  Andreas Jaeger  <aj@suse.de>
3088         [BZ #15007]
3089         * stdlib/stdlib.h: Update guards for qecvt.
3090         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3091         <stdlib.h>.
3093 2013-04-27  Allan McRae  <allan@archlinux.org>
3095         * sysdeps/i386/fpu/libm-test-ulps: Update.
3097 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
3099         [BZ #15406]
3100         * math/s_catan.c: Include <float.h>.
3101         (__catan): Ensure underflow exception occurs for underflowed
3102         result.
3103         * math/s_catanf.c: Include <float.h>.
3104         (__catanf): Ensure underflow exception occurs for underflowed
3105         result.
3106         * math/s_catanh.c: Include <float.h>.
3107         (__catanh): Ensure underflow exception occurs for underflowed
3108         result.
3109         * math/s_catanhf.c: Include <float.h>.
3110         (__catanhf): Ensure underflow exception occurs for underflowed
3111         result.
3112         * math/s_catanhl.c: Include <float.h>.
3113         (__catanhl): Ensure underflow exception occurs for underflowed
3114         result.
3115         * math/s_catanl.c: Include <float.h>.
3116         (__catanl): Ensure underflow exception occurs for underflowed
3117         result.
3118         * math/libm-test.inc (catan_test): Add more tests.
3119         (catanh_test): Likewise.
3121         [BZ #15405]
3122         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3123         underflowed result.
3124         * math/s_ccoshf.c (__ccoshf): Likewise.
3125         * math/s_ccoshl.c (__ccoshl): Likewise.
3126         * math/s_csin.c (__csin): Likewise.
3127         * math/s_csinf.c (__csinf): Likewise.
3128         * math/s_csinh.c (__csinh): Likewise.
3129         * math/s_csinhf.c (__csinhf): Likewise.
3130         * math/s_csinhl.c (__csinhl): Likewise.
3131         * math/s_csinl.c (__csinl): Likewise.
3132         * math/libm-test.inc (ccos_test): Add more tests.
3133         (ccosh_test): Likewise.
3134         (csin_test): Likewise.
3135         (csinh_test): Likewise.
3137 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3139         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3140         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3141         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3142         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3143         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3144         powerpc/power5+/fpu folders.
3145         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3148 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3152 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
3154         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3155         additions to variable.
3156         [$(config-machine) = x86_64] (modules-names): Likewise.
3157         ($(objpfx)tst-audit3): Remove dependency.
3158         ($(objpfx)tst-audit3.out): Likewise.
3159         ($(objpfx)tst-audit4): Likewise.
3160         ($(objpfx)tst-audit4.out): Likewise.
3161         ($(objpfx)tst-audit5): Likewise.
3162         ($(objpfx)tst-audit5.out): Likewise.
3163         ($(objpfx)tst-audit6): Likewise.
3164         ($(objpfx)tst-audit6.out): Likewise.
3165         ($(objpfx)tst-audit7): Likewise.
3166         ($(objpfx)tst-audit7.out): Likewise.
3167         (tst-audit3-ENV): Remove variable.
3168         (tst-audit4-ENV): Likewise.
3169         (tst-audit5-ENV): Likewise.
3170         (tst-audit6-ENV): Likewise.
3171         (tst-audit7-ENV): Likewise.
3172         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3173         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3174         addition to variable.
3175         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3176         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3177         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3178         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3179         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3180         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3181         tst-audit3, tst-audit4 and tst-audit5.
3182         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3183         tst-audit6 and tst-audit7.
3184         [$(subdir) = elf] (modules-names): Add audit modules for those
3185         tests.
3186         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3187         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3188         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3189         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3190         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3191         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3192         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3193         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3194         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3195         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3196         [$(subdir) = elf] (tst-audit3-ENV): New variable.
3197         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3198         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3199         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3200         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3201         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3202         Likewise.
3203         [$(subdir) = elf && $(config-cflags-avx) = yes]
3204         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3205         [$(subdir) = elf && $(config-cflags-avx) = yes]
3206         (CFLAGS-tst-auditmod4a.c): Likewise.
3207         [$(subdir) = elf && $(config-cflags-avx) = yes]
3208         (CFLAGS-tst-auditmod4b.c): Likewise.
3209         [$(subdir) = elf && $(config-cflags-avx) = yes]
3210         (CFLAGS-tst-auditmod6b.c): Likewise.
3211         [$(subdir) = elf && $(config-cflags-avx) = yes]
3212         (CFLAGS-tst-auditmod6c.c): Likewise.
3213         [$(subdir) = elf && $(config-cflags-avx) = yes]
3214         (CFLAGS-tst-auditmod7b.c): Likewise.
3215         * elf/tst-audit3.c: Move to ...
3216         * sysdeps/x86_64/tst-audit3.c: ... here.
3217         * elf/tst-audit4.c: Move to ...
3218         * sysdeps/x86_64/tst-audit4.c: ... here.
3219         * elf/tst-audit5.c: Move to ...
3220         * sysdeps/x86_64/tst-audit5.c: ... here.
3221         * elf/tst-audit6.c: Move to ...
3222         * sysdeps/x86_64/tst-audit6.c: ... here.
3223         * elf/tst-audit7.c: Move to ...
3224         * sysdeps/x86_64/tst-audit7.c: ... here.
3225         * elf/tst-auditmod3a.c: Move to ...
3226         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3227         * elf/tst-auditmod3b.c: Move to ...
3228         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3229         * elf/tst-auditmod4a.c: Move to ...
3230         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3231         * elf/tst-auditmod4b.c: Move to ...
3232         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3233         * elf/tst-auditmod5a.c: Move to ...
3234         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3235         * elf/tst-auditmod5b.c: Move to ...
3236         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3237         * elf/tst-auditmod6a.c: Move to ...
3238         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3239         * elf/tst-auditmod6b.c: Move to ...
3240         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3241         * elf/tst-auditmod6c.c: Move to ...
3242         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3243         * elf/tst-auditmod7a.c: Move to ...
3244         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3245         * elf/tst-auditmod7b.c: Move to ...
3246         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3248 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
3250         [BZ #15366]
3251         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3252         define unconditionally.
3253         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3254         define unconditionally.
3255         (INT8_C, INT16_C, etc.): Likewise.
3257 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
3259         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3260         __ehdr_start with hidden visibility.
3262         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3264 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
3266         * math/libm-test.inc (cos_test): Use accurate hex constants.
3267         (sincost_test): Likewise.
3269 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
3271         * math/libm-test.inc (catan_test): Add more tests.
3272         (catanh_test): Likewise.
3274         * math/s_catanf.c (__catanf): Use suffixed floating-point
3275         constants.
3276         * math/s_catanhf.c (__catanhf): Likewise.
3277         * math/s_catanhl.c (__catanhl): Likewise.
3278         * math/s_catanl.c (__catanl): Likewise.
3280         [BZ #15394]
3281         * math/s_catan.c (__catan): Calculate imaginary part of result
3282         with log1p not log unless computing log of number close to 0.
3283         * math/s_catanf.c (__catanf): Likewise.
3284         * math/s_catanl.c (__catanl): Likewise.
3285         * math/s_catanh.c (__catanh): Calculate real part of result with
3286         log1p not log unless computing log of number close to 0.
3287         * math/s_catanhf.c (__catanhf): Likewise.
3288         * math/s_catanhl.c (__catanhl): Likewise.
3289         * math/libm-test.inc (catan_test): Add more tests.
3290         (catanh_test): Likewise.
3291         * sysdeps/i386/fpu/libm-test-ulps: Update.
3292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3294 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3296         * benchtests/Makefile: Mention files in which fast and slow
3297         paths of math functions are implemented.
3299 2013-04-23  Roland McGrath  <roland@hack.frob.com>
3301         * sysdeps/posix/timespec_get.c: New file.
3303 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3305         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3306         POWER.
3307         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3308         for POWER.
3309         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3310         powerpc/power5/fpu folders.
3311         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3312         * benchtests/Makefile: Add modf testcase.
3313         * benchtests/bench-modf.c: New file: Benchmark test for mo
3315 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3317         [BZ #14888]
3318         * time/Makefile (tests): Add tst-strptime-whitespace.
3319         * time/strptime_l.c (get_number): Use ISSPACE.
3320         (__strptime_internal): Likewise.
3321         * time/tst-strptime-whitespace.c: New test case.
3323 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
3325         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3326         member.
3327         (_nss_files_init): Set it here.
3329 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
3331         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3332         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3333         unsigned.
3335 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
3337         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3339 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3341         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3342         size just once.
3344 2013-04-21  David S. Miller  <davem@davemloft.net>
3346         * po/ru.po: Update Russion translation from translation project.
3348 2013-04-17  Adam Conrad  <adconrad@0c3.net>
3350         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3351         and setfsgid.
3353 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
3355         * configure.in: Remove i386 configure warning. Remove i386 case.
3356         * configure: Regenerate.
3357         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3358         Add example to error message.
3359         * sysdeps/i386/configure: Regenerate.
3361 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3363         * benchtests/Makefile (bench): Add cos, tan, slowcos and
3364         slowtan.
3365         * benchtests/cos-inputs: New file.
3366         * benchtests/slowcos-inputs: New file.
3367         * benchtests/slowcos.c: New file.
3368         * benchtests/slowtan-inputs: New file.
3369         * benchtests/slowtan.c: New file.
3370         * benchtests/tan-inputs: New file.
3372 2013-04-16  Roland McGrath  <roland@hack.frob.com>
3374         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3375         considered kosher.
3377 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3379         * benchtests/Makefile: Include cppflags-iterator.mk to add
3380         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3382         * Makefile.in (bench-clean): New target.
3383         * benchtests/Makefile (bench-clean): Likewise.
3385 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
3387         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3389 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
3391         * stdio-common/tstdiomisc.c: Fix coding-style violation.
3393 2013-04-15  Andreas Schwab  <schwab@suse.de>
3395         * nscd/grpcache.c (cache_addgr): Properly check for short write.
3396         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3397         * nscd/pwdcache.c (cache_addpw): Likewise.
3398         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
3399         more than recsize.
3401 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3403         * benchtests/Makefile (bench): Write all output to
3404         bench-out.tmp together.
3406 2013-04-15  Andreas Schwab  <schwab@suse.de>
3408         * nscd/nscd.c (main): Don't fork again after closing files.
3410 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3412         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3414         * benchtests/Rules (bench-deps): Collect dependencies into a
3415         single variable.  Add Makefile to dependencies.
3416         ($(objpfx)bench-%.c): Depend on bench-deps.
3418 2013-04-12  Roland McGrath  <roland@hack.frob.com>
3419             Xavier Roche  <roche+kml2@exalead.com>
3421         [BZ #15361]
3422         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3423         just that it's a file descriptor.
3424         * manual/llio.texi (Synchronizing AIO Operations): Update description
3425         for EBADF error from aio_fsync.
3427 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3429         * Rules (bench): Move target definition...
3430         * benchtests/Makefile: ... here.
3432 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
3434         * math/libm-test.inc (cos_test): Fix PI/2 test.
3435         (sincos_test): Likewise.
3436         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3437         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3439 2013-04-11  Andreas Schwab  <schwab@suse.de>
3441         [BZ #13988]
3442         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3443         accept exponent character only when digits were seen.
3444         * stdio-common/Makefile (tests): Add bug26.
3445         * stdio-common/bug26.c: New file.
3447         [BZ #14293]
3448         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3449         non-freeable.
3451 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3453         * Makeconfig (rtld-prefix): Define built linker prefix.
3454         * Rules (run-bench): Use it.
3455         * math/Makefile (run-regen-ulps): Likewise.
3457         * Rules (bench): Remove eval.
3459 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3460             Roland McGrath  <roland@hack.frob.com>
3461             Ondrej Bilka  <neleai@seznam.cz>
3463         [BZ #15346]
3464         * time/getdate.c: Include ctype.h and alloca.h.
3465         (__getdate_r): Trim leading and trailing spaces of input.
3466         * time/tst-getdate.c (tests): Add tests with leading and
3467         trailing spaces.
3469 2013-04-08  Roland McGrath  <roland@hack.frob.com>
3471         [BZ #14280]
3472         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3473         when computing value.
3475 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3477         * math/README.libm-test (How can I generate "libm-test-ulps"?):
3478         Use testrun.sh to run libm tests.
3480         [BZ #15309]
3481         * elf/dl-open.c (dl_open_worker): memset all of seen array.
3483 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
3485         [BZ #15264]
3486         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3488 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3490         * Makefile.in (regen-ulps): New target.
3491         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3492         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3493         [ifneq (no,$(PERL)] (regen-ulps): New target.
3494         [ifeq (no,$(PERL)] (regen-ulps): New target.
3495         * math/libm-test.inc (ulps_file_name): Define.
3496         (output_dir): New variable.
3497         (options): Add "output-dir" option.
3498         (parse_opt): Handle 'o' case.
3499         (main): If output_dir is non-NULL use it as a prefix
3500         otherwise use "".
3501         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3503 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3505         [BZ #10060, #10062]
3506         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3507         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3508         fail configure if __sync_val_compare_and_swap is not inlined.
3509         * sysdeps/i386/configure: Regenerate.
3510         * configure.in: Build for i686 when configured for i386.
3511         * configure: Regenerate.
3512         * README: Remove i386 reference.
3514 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3516         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3517         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3519 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
3521         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3522         (lmsnanval): New variables.
3523         (F): Add conversion tests.
3524         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3525         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3527         * stdio-common/tstdiomisc.c (F): Properly collect individual
3528         tests' results.
3530         [BZ #14686, #15336]
3531         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3532         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3533         Instead, use input NaN values or generate a qNaN by arithmetic
3534         operation.  Also fix bugs to comply with the standard.
3535         * math/libm-test.inc (remainder_test): Add more tests.
3537         [BZ #15335, #15342]
3538         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3539         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3540         input NaN values or generate a qNaN by arithmetic operation.
3542         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3543         unreachable code.
3545         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3546         definitions.
3548 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
3550         [BZ #14478]
3551         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3552         underflowed result.
3553         * math/s_cexpf.c (__cexpf): Likewise.
3554         * math/s_cexpl.c (__cexpl): Likewise.
3555         * math/libm-test.inc (cexp_test): Add more tests.
3557 2013-04-03  Andreas Schwab  <schwab@suse.de>
3559         [BZ #15330]
3560         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3561         order arrays from heap if bigger than alloca cutoff.
3563 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
3565         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3566         (SNAN_TESTS_double): Refer to GCC PR56831.
3567         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3568         GCC PR56828.
3570 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3572         * Rules (bench): Move bench.out after the run is complete.
3574         * Rules (bench): Echo currently running benchmark.
3576         * benchtests/Makefile (bench): Add atan and slowatan.
3577         * benchtests/atan-inputs: New file.
3578         * benchtests/slowatan-inputs: New file.
3579         * benchtests/slowatan.c: New file.
3581         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3582         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3583         its value.
3585         [BZ #15305]
3586         * sysdeps/unix/sysv/linux/kernel-features.h
3587         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3588         __ASSUME_XFS_RESTRICTED_CHOWN.
3589         * sysdeps/unix/sysv/linux/pathconf.c
3590         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3591         Save and restore errno.
3593 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
3595         [BZ #15327]
3596         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3597         arguments using __kernel_casinh.
3598         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3599         arguments using __kernel_casinhf.
3600         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3601         arguments using __kernel_casinhl.
3602         * math/libm-test.inc (cacosh_test): Add more tests.
3603         * sysdeps/i386/fpu/libm-test-ulps: Update.
3604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3606 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3608         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3609         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3611         * bench/Makefile (bench): Add sin and slowsin.
3612         * benchtests/sin-inputs: New file.
3613         * benchtests/slowsin-inputs: New file.
3614         * benchtests/slowsin.c: New file.
3616         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3617         (bench): Add slowexp and slowpow.
3618         (exp-ITER): Increase iterations.
3619         (pow-ITER): Likewise.
3620         * benchtests/exp-inputs: Change input.
3621         * benchtests/pow-inputs: Likewise.
3622         * benchtests/slowexp-inputs: New file.
3623         * benchtests/slowexp.c: New file.
3624         * benchtests/slowpow-inputs: New file.
3625         * benchtests/slowpow.c: New file.
3627 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3629         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3630         instructions.
3631         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3632         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3633         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3634         * benchtests/Makefile: Add rint benchtest.
3635         * benchtests/rint-inputs: Input for rint benchtest.
3637 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
3639         * Versions.def (libm): Add GLIBC_2.18.
3640         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3641         hidden libm prototypes.
3642         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3643         * math/Makefile (libm-calls): Add s_issignaling.
3644         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3645         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
3646         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3647         declaration.
3648         * math/math.h [__USE_GNU] (issignaling): New macro.
3649         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3650         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3651         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3652         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3653         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3654         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3655         * manual/arith.texi (issignaling): New section.
3656         * manual/libm-err-tab.pl (@all_functions): Update comment.
3657         * math/gen-libm-test.pl (parse_args): Apply special handling for
3658         issignaling.
3659         * math/libm-test.inc (print_float, issignaling_test): New
3660         functions.
3661         (check_float_internal): Add issignaling checks.
3662         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3663         default definition.
3664         * sysdeps/powerpc/math-tests.h: New file.
3665         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3666         tests.
3667         * math/test-snan.c (TEST_FUNC): Likewise.
3669 2013-03-30  David S. Miller  <davem@davemloft.net>
3671         * po/de.po: Update from translation team.
3673 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
3675         [BZ #10357]
3676         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3677         imaginary part less than 1.0 and real part less than 0.5
3678         specially.
3679         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3680         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3681         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3682         (cacos_test): Add more tests.
3683         (casin_test): Likewise.
3684         (casinh_test): Likewise.
3685         * sysdeps/i386/fpu/libm-test-ulps: Update.
3686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3688 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3690         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3691         ONE with its value.
3693         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3694         (__pow_mp): Replace ONE and MONE with their values.
3695         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3696         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3697         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3698         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3699         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3700         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3702         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3704         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3705         (__pow_mp): Replace ZERO and MZERO with their values.
3706         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3707         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3708         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3709         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3710         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3711         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3712         (__sqr): Likewise.
3714         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3716         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3718 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3720         * include/stdlib.h [!SHARED] (__call_tls_dtors):
3721         Declare with __attribute__ ((weak)).
3722         * stdlib/exit.c (__libc_atexit) [!SHARED]:
3723         Call __call_tls_dtors only if it's not NULL.
3725 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3727         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3728         didn't do it already, then set _dl_phdr and _dl_phnum based on the
3729         magic __ehdr_start linker symbol if it's defined.
3730         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3731         them up here if it was already done.
3733         * elf/dl-support.c (_dl_phdr): Make pointer to const.
3734         (_dl_aux_init): Use const in cast when setting it.
3735         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3736         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3737         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3739         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3740         Declare them here.
3741         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3742         * csu/libc-tls.c: Nor here.
3743         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3745         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3746         (__libc_message): Never call vsyslog.
3748 2013-03-28  Alan Modra  <amodra@gmail.com>
3750         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3751         Define as empty.
3752         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3753         Likewise.
3755 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3757         [BZ #15214]
3758         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3759         underflow.
3760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3762 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3764         [BZ #15304]
3765         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3766         Don't add gid passed as argument.
3768         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3770 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
3772         [BZ #15307]
3773         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3774         imaginary part between 1.0 and 1.5 and real part less than 0.5
3775         specially.
3776         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3777         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3778         * math/libm-test.inc (cacos_test): Add more tests.
3779         (casin_test): Likewise.
3780         (casinh_test): Likewise.
3781         * sysdeps/i386/fpu/libm-test-ulps: Update.
3782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3784 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3786         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3787         constants.
3788         (norm): Likewise.
3789         (denorm): Likewise.
3790         (__dbl_mp): Likewise.
3791         (add_magnitudes): Likewise.
3792         (sub_magnitudes): Likewise.
3793         (__add): Likewise.
3794         (__sub): Likewise.
3795         (__mul): Likewise.
3796         (__sqr): Likewise.
3797         (__inv): Likewise.
3798         (__dvd): Likewise.
3800         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3801         commented code.
3802         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3803         (__dubcos): Likewise.
3804         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3805         (__ieee754_acos): Likewise.
3806         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3807         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3808         (__exp1): Likewise.
3809         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3810         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3811         (log1): Likewise.
3812         (my_log2): Likewise.
3813         (checkint): Likewise.
3814         * sysdeps/ieee754/dbl-64/e_remainder.c
3815         (__ieee754_remainder): Likewise.
3816         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3817         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3818         (bsloww): Likewise.
3819         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3821         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3822         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3823         MANTISSA_STORE_T to store computations on mantissa.  Use
3824         macros for rounding and division.
3825         (denorm): Likewise.
3826         (__dbl_mp): Likewise.
3827         (add_magnitudes): Likewise.
3828         (sub_magnitudes): Likewise.
3829         (__mul): Likewise.
3830         (__sqr): Likewise.
3831         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
3832         powers of two in terms of TWOPOW macro.
3833         (mp_no): Make type of mantissa as MANTISSA_T.
3834         [!RADIXI]: Define RADIXI.
3835         [!TWO52]: Define TWO52.
3836         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3838 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3840         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3841         llroundl symbol when building for PPC32.
3843 2013-03-24  Mark H Weaver  <mhw@netris.org>
3845         * manual/arith.texi (Normalization Functions): Fix prototypes for
3846         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3848 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3850         [BZ #13889]
3851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3852         high value to check if expl overflow.
3853         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3854         to check for underflow and overflow.
3855         * math/libm-test.inc: Add exp test.
3857 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
3859         [BZ #11120]
3860         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3861         with NOT_IN_libc.
3863 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3865         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3866         symbol.
3868 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3870         * math/gen-libm-test.pl (parse_args, special_functions): Properly
3871         wrap blocks consisting of several statements.
3873         * sysdeps/generic/math-tests.h: New file.
3874         * sysdeps/i386/fpu/math-tests.h: Likewise.
3875         * math/test-snan.c: Include it.
3876         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3878 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
3880         [BZ #15285]
3881         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3882         (__ieee754_j0l): Do not improve calculations using cos of twice
3883         input for inputs above LDBL_MAX / 2.0L.
3884         (__ieee754_y0l): Likewise.
3885         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3886         (__ieee754_j1l): Do not improve calculations using cos of twice
3887         input for inputs above LDBL_MAX / 2.0L.
3888         (__ieee754_y1l): Likewise.
3889         * math/libm-test.inc (j0_test): Add another test.
3890         (j1_test): Likewise.
3891         (y0_test): Likewise.
3892         (y1_test): Likewise.
3893         * sysdeps/i386/fpu/libm-test-ulps: Update.
3895 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3897         * Rules ($(objpfx)bench-%.c): Include code from a C source
3898         file.
3900 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
3902         [BZ #15287]
3903         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3904         imaginary part 1.0 and real part less than 0.5 specially.
3905         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3906         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3907         * math/libm-test.inc (cacos_test): Add more tests.
3908         (casin_test): Likewise.
3909         (casinh_test): Likewise.
3910         * sysdeps/i386/fpu/libm-test-ulps: Update.
3911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3913 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3915         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3916         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3918 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
3920         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3921         * config.make.in (config-cflags-sse4): Remove variable.
3922         (config-cflags-avx): Likewise.
3923         (config-cflags-sse2avx): Likewise.
3924         (config-cflags-novzeroupper): Likewise.
3925         (config-asflags-i686): Likewise.
3926         (have-mfma4): Likewise.
3927         (have-as-vis3): Likewise.
3928         (MIG): Likewise.
3929         * configure.in (MIG): Do not AC_SUBST.
3930         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3931         (libc_cv_cc_sse4): Do not AC_SUBST.
3932         (libc_cv_cc_avx): Likewise.
3933         (libc_cv_cc_sse2avx): Likewise.
3934         (libc_cv_cc_novzeroupper): Likewise.
3935         (libc_cv_cc_fma4): Likewise.
3936         (libc_cv_as_i686): Likewise.
3937         (libc_cv_sparc_as_vis3): Likewise.
3938         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3939         LIBC_CONFIG_VAR.
3940         (config-asflags-i686): Likewise.
3941         (config-cflags-avx): Likewise.
3942         (config-cflags-sse2avx): Likewise.
3943         (have-mfma4): Likewise.
3944         (config-cflags-novzeroupper): Likewise.
3945         * sysdeps/mach/configure.in (MIG): Likewise.
3946         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3947         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3948         LIBC_CONFIG_VAR.
3949         (config-cflags-avx): Likewise.
3950         (config-cflags-sse2avx): Likewise.
3951         (have-mfma4): Likewise.
3952         (config-cflags-novzeroupper): Likewise.
3953         * configure: Regenerated.
3954         * sysdeps/i386/configure: Likewise.
3955         * sysdeps/mach/configure: Likewise.
3956         * sysdeps/sparc/configure: Likewise.
3957         * sysdeps/x86_64/configure: Likewise.
3959 2013-03-20  Roland McGrath  <roland@hack.frob.com>
3961         [BZ #14812]
3962         * locale/programs/localedef.c (options): Put N_ translation marker
3963         on argument names, not just descriptions.
3965 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3967         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3969 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
3971         [BZ #14176]
3972         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3974 2013-03-19  Roland McGrath  <roland@hack.frob.com>
3976         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3977         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3978         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3979         [!BEFORE_ABORT] (before_abort): New function.
3980         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3981         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3982         (writev_for_fatal): New function.
3983         (WRITEV_FOR_FATAL): New macro; call that.
3984         (backtrace_and_maps): New function.
3985         (BEFORE_ABORT): New macro; call that.
3986         (struct str_list): Type removed.
3987         (__libc_message, __libc_fatal): Functions removed.
3988         Include <sysdeps/posix/libc_fatal.c> instead.
3990 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
3992         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3993         constants.
3994         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3995         double constants.
3997 2013-03-19  Andreas Schwab  <schwab@suse.de>
3999         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4000         * sysdeps/gnu/configure: Regenerate.
4002         * configure.in: Substitute libc_cv_rtlddir.
4003         * configure: Regenerate.
4004         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4005         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4006         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4007         * elf/Makefile (install-others, CFLAGS-interp.c)
4008         (ldso_install, common-ldd-rewrite): Likewise.
4009         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4010         $(inst_slibdir)/$(rtld-installed-name).
4011         * scripts/rellns-sh: Add -p option.
4012         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4013         for source.
4015 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4017         * manual/nptl.texi: Renamed to ...
4018         * manual/threads.texi: ... this.
4019         * manual/Makefile (chapters): Update.
4021 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4023         [BZ #14812]
4024         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4025         on argument names, not just descriptions.
4026         * malloc/memusagestat.c (options): Likewise.
4027         * nss/getent.c (options): Likewise.
4029 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4031         [BZ #14812]
4032         * iconv/iconv_prog.c (options): Put N_ translation marker
4033         on argument names, not just descriptions.
4034         * iconv/iconvconfig.c (options): Likewise.
4036 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4038         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4039         implementation which is faster on all x86_64 architectures.
4040         Tested on AMD, Intel Nehalem, SNB, IVB.
4041         * sysdeps/x86_64/strnlen.S: Likewise.
4043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4044         Remove all multiarch strlen and strnlen versions.
4045         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4046         Remove strlen and strnlen related parts.
4048         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4049         Inline strlen part.
4050         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4052         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4053         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4054         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4055         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4056         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4057         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4059 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
4061         * manual/memory.texi (Malloc Tunable Parameters):
4062         Sort parameters alphabetically. Add comments for missing entries.
4064 2013-03-17  David S. Miller  <davem@davemloft.net>
4066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4068 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
4070         [BZ #15283]
4071         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4072         for arguments at most half maximum finite value.
4073         * math/libm-test.inc (j0_test): Add more tests.
4074         (j1_test): Likewise.
4075         (y0_test): Likewise.
4076         (y1_test): Likewise.
4077         * sysdeps/i386/fpu/libm-test-ulps: Update.
4078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4080         [BZ #14155]
4081         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4082         1 / x and functions P and Q for arguments above 0x1p256L.
4083         (__ieee754_y0l): Likewise.
4084         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4085         (__ieee754_y1l): Likewise.
4086         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4087         (j1_test): Likewise.
4088         (y0_test): Likewise.
4089         (y1_test): Likewise.
4091 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
4093         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4094         variable.
4096 2013-03-15  Roland McGrath  <roland@hack.frob.com>
4098         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4099         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4100         zero since it's initialized to EXEC_PAGESIZE.
4102         * sysdeps/unix/sysv/linux/ldsodefs.h
4103         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4104         * sysdeps/generic/ldsodefs.h: ... here.
4106 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
4108         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4110         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4111         math/test-snan.c.
4112         * math/test-snan.c: Renamed from
4113         sysdeps/powerpc/fpu/test-powerpc-snan.c.
4114         * math/Makefile (tests): Add test-snan.
4115         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4116         test-powerpc-snan.
4118         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4119         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
4120         functions.
4121         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
4122         __builtin_nan family of functions.
4123         * math/libm-test.inc (initialize): Initialize qnan_value with
4124         __builtin_nan family of functions.
4125         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4126         Remove variables.
4127         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4128         Remove functions.
4129         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
4130         storage class.  Initialize qNaN_var and sNaN_var with
4131         __builtin_nan and __builtin_nans families of functions,
4132         respectively.
4134         * math/libm-test.inc (acosh_test): Also test with qNaN input.
4135         (sqrt_test): Remove duplicate test with qNaN input.
4136         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4137         (round_test, signbit_test, significand_test): Note missing +/-Inf
4138         as well as qNaN tests.
4140         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4141         qNaN_var.  Fix a few strings, too.
4142         * math/libm-test.inc (nan_value): Rename to qnan_value.
4143         * math/gen-libm-test.pl (%beautify): Adjust to that.
4144         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4145         * math/test-misc.c (main): Likewise.
4146         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4147         to __qnan_bytes, and __qnan_union, respectively.
4148         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4149         Likewise.
4150         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4151         and lqnanval, respectively.
4152         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4153         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4154         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4155         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4157         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4158         * math/test-misc.c (main) [__x86_64__]: Enable test for long
4159         doubles.
4161         * math/test-misc.c (main): Fix copy'n'pastos.
4162         * misc/tst-efgcvt.c (special): Likewise.
4164         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4165         Remove declarations.
4167 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4169         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4170         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4171         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4172         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4174 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4176         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4177         macro to return vdso values correctly in IFUNC implementations.
4178         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4179         Optimization by using IFUNC.
4181 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4182             Richard Henderson  <rth@redhat.com>
4183             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4185         * Makefile.in (bench): New target.
4186         * NEWS: Mention the benchmark framework.
4187         * Rules (bench): Likewise.
4188         (binaries-bench): Generate binaries for functions to
4189         benchmark.
4190         * benchtests/Makefile: New makefile for benchmark tests.
4191         * benchtests/bench-skeleton.c: New skeleton file for benchmark
4192         programs.
4193         * benchtests/exp-inputs: New input file for EXP function.
4194         * benchtests/pow-inputs: New input file for POW function.
4195         * scripts/bench.pl: New script to generate source files for
4196         benchmark programs.
4198 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4200         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4201         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4202         computations on mantissa.  Use macros for rounding and
4203         division.
4204         (denorm): Likewise.
4205         (__dbl_mp): Likewise.
4206         (add_magnitudes): Likewise.
4207         (sub_magnitudes): Likewise.
4208         (__mul): Likewise.
4209         (__sqr): Likewise.
4210         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4211         powers of two in terms of TWOPOW macro.
4212         (mp_no): Make type of mantissa as MANTISSA_T.
4213         [!RADIXI]: Define RADIXI.
4214         [!TWO52]: Define TWO52.
4215         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4217         * manual/nptl.texi (cindex): Modify threads to pthreads.
4219 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
4221         * sysdeps/x86_64/preconfigure: Regenerated.
4223 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
4225         [BZ #14155]
4226         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4227         0x1p28 and above.
4228         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4229         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4230         0x1p28 and above.
4231         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4232         * math/libm-test.inc (j0_test): Do not allow one spurious
4233         underflow exception.
4234         (y1_test): Likewise.
4236 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4238         * manual/Makefile (chapters): Add nptl.
4239         * manual/debug.texi (Debugging Support): Add link to Threads
4240         chapter.
4241         * manual/nptl.texi: New file.
4243         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4245 2013-03-14  Petr Baudis  <pasky@ucw.cz>
4247         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4248         for non-NULL pointer before the memory validity test. Pointed
4249         out by Holger Brunck <holger.brunck@keymile.com>.
4251 2013-03-13  Andreas Schwab  <schwab@suse.de>
4253         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4254         instead of .os.
4256 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
4258         * timezone/zic.c: Update from tzcode 2013b.
4260 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
4262         * manual/install.texi (Configuring and compiling):
4263         Mention i686 and i586.
4264         * INSTALL: Regenerate.
4266 2013-03-12  Roland McGrath  <roland@hack.frob.com>
4268         * sysdeps/init_array/elf-init.c: New file.
4269         * csu/elf-init.c
4270         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4271         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4273         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4274         __gmon_start__ as global, but as static with a .preinit_array pointer.
4275         * sysdeps/init_array/gmon-start.c: New file.  Use that.
4276         * sysdeps/init_array/crti.S: New file, empty except for comments.
4277         * sysdeps/init_array/crtn.S: Likewise.
4279 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
4281         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4282         definining bcopy.
4283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4284         Remove Prefer_SSE_for_memop.
4285         * sysdeps/x86_64/multiarch/init-arch.h: Remove
4286         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4287         HAS_PREFER_SSE_FOR_MEMOP.
4288         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4289         memset-x86-64.
4290         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4291         Remove bzero, memset ifunc support.
4292         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4293         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4294         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4295         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4297 2013-03-11  Andreas Schwab  <schwab@suse.de>
4299         [BZ #15234]
4300         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4301         by SHLIB_COMPAT.
4302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4303         (GLIBC_2.16): Remove pthread_atfork.
4305 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4307         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4308         (ptestcases.h): Likewise.
4310 2013-03-08  Roland McGrath  <roland@hack.frob.com>
4312         * Makeconfig ($(common-objpfx)config.status): Depend on
4313         sysdeps/*/preconfigure{,.in} too.
4315 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
4317         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4318         (__free_hook): Use void * instead of __malloc_ptr_t.
4319         (__malloc_hook): Likewise.
4320         (__realloc_hook): Likewise.
4321         (__memalign_hook): Likewise.
4322         (__after_morecore_hook): Likewise.
4323         * malloc/arena.c (save_malloc_hook): Likewise.
4324         (save_free_hook): Likewise.
4325         * malloc/hooks.c (malloc_hook_ini): Likewise.
4326         (realloc_hook_ini): Likewise.
4327         (memalign_hook_ini): Likewise.
4328         * malloc/malloc.c (malloc_hook_ini): Likewise.
4329         (realloc_hook_ini): Likewise.
4330         (memalign_hook_ini): Likewise.
4331         (__free_hook): Likewise.
4332         (__malloc_hook): Likewise.
4333         (__realloc_hook): Likewise.
4334         (__memalign_hook): Likewise.
4335         (__libc_malloc): Likewise.
4336         (__libc_free): Likewise.
4337         (__libc_realloc): Likewise.
4338         (__libc_memalign): Likewise.
4339         (__libc_valloc): Likewise.
4340         (__libc_pvalloc): Likewise.
4341         (__libc_calloc): Likewise.
4342         (__posix_memalign): Likewise.
4343         * malloc/morecore.c (__sbrk): Likewise.
4344         (__default_morecore): Likewise.
4346         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4348         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4349         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4350         __malloc_ptrdiff_t.
4352         * malloc/malloc.h (__malloc_size_t): Remove macro.
4353         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4354         __malloc_size_t.
4355         (old_memalign_hook): Likewise.
4356         (old_realloc_hook): Likewise.
4357         (struct hdr): Likewise.
4358         (flood): Likewise.
4359         (mallochook): Likewise.
4360         (memalignhook): Likewise.
4361         (reallochook): Likewise.
4362         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4363         (tr_old_realloc_hook): Likewise.
4364         (tr_old_memalign_hook): Likewise.
4365         (tr_mallochook): Likewise.
4366         (tr_reallochook): Likewise.
4367         (tr_memalignhook): Likewise.
4369 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4371         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4372         default_ldbl_pack and using as default implementation.
4373         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4374         implementation.
4375         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4376         redundant definition.
4377         (ldbl_insert_mantissa): Likewise.
4378         (ldbl_canonicalize): Likewise.
4379         (ldbl_nearbyint): Likewise.
4380         (ldbl_pack): Rename to ldbl_pack_ppc.
4381         (ldbl_unpack): Rename to ldbl_unpack_ppc.
4382         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4383         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4385 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4388         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4389         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4390         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4392         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4393         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4394         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4396 2013-03-07  Andreas Jaeger  <aj@suse.de>
4398         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4399         bits/mman-linux.h.
4401 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4403         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4404         Include mpa.h and declare __MPEXP.
4405         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4406         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4407         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4408         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4409         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4410         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4411         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4413         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4414         (__slowpow): Use long double EXPL and LOGL functions to
4415         compute POW.
4416         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4417         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4418         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4419         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4420         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4421         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4424         intermediate variable to calculate exponent.
4425         (__sqr): Likewise.
4426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4427         Likewise.
4428         (__sqr): Likewise.
4430         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4431         [!NO__SQR]: Define __sqr.
4432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4433         and NO__SQR.  Remove all code except __mul and __sqr.  Include
4434         sysdeps/ieee754/dbl-64/mpa.c.
4435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4437         [BZ #12723]
4438         * posix/Makefile (tests): Add tst-pathconf.
4439         * posix/tst-pathconf.c: New test case.
4440         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4441         _PC_PIPE_BUF.
4442         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4444 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
4446         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4448 2013-03-06  Andreas Jaeger  <aj@suse.de>
4450         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4451         definition via __MAP_ANONYMOUS.
4453         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4454         it's not part of Linux headers.
4456         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4457         (MAP_HUGE_MASK): Define.
4459         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4460         Define.
4461         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4462         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4463         Define.
4464         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4465         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4466         Define.
4467         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4468         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4469         Define.
4470         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4472         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4473         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4474         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4475         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4476         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4477         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4479         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4480         Handle f2fs.
4482         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4483         Handle f2fs and efivarfs.
4485         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4486         f2fs.
4488         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4489         (EFIVARFS_MAGIC): Add.
4490         (F2FS_LINK_MAX): Add.
4492 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4494         * stdio-common/vfprintf.c: Replace __builtin_expect with
4495         __glibc_unlikely.
4497 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
4499         [BZ #13550]
4500         * sysdeps/generic/bp-sym.h: Remove file.
4501         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4502         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4503         <bp-sym.h> and <bp-asm.h>.
4504         (__longjmp): Don't use BP_SYM.
4505         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4506         and <bp-asm.h>.
4507         (memcpy): Don't use BP_SYM.
4508         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4509         <bp-sym.h> and <bp-asm.h>.
4510         (memcpy): Don't use BP_SYM.
4511         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4512         <bp-asm.h>.
4513         (memcpy): Don't use BP_SYM.
4514         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4515         <bp-asm.h>.
4516         (memset): Don't use BP_SYM.
4517         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4518         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4519         (__bzero): Don't use BP_SYM.
4520         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4521         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4522         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4523         <bp-sym.h> and <bp-asm.h>.
4524         (memcmp): Don't use BP_SYM.  Remove comment about bounded
4525         pointers.
4526         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4527         <bp-sym.h> and <bp-asm.h>.
4528         (memcpy): Don't use BP_SYM.
4529         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4530         <bp-sym.h> and <bp-asm.h>.
4531         (memset): Don't use BP_SYM.
4532         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4533         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4534         (__bzero): Don't use BP_SYM.
4535         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4536         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4537         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4538         <bp-sym.h> and <bp-asm.h>.
4539         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4540         pointers.
4541         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4542         <bp-sym.h> and <bp-asm.h>.
4543         (memcpy): Don't use BP_SYM.
4544         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4545         <bp-sym.h> and <bp-asm.h>.
4546         (memset): Don't use BP_SYM.
4547         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4548         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4549         (__bzero): Don't use BP_SYM.
4550         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4551         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4552         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4553         <bp-sym.h> and <bp-asm.h>.
4554         (__memchr): Don't use BP_SYM.
4555         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4556         <bp-sym.h> and <bp-asm.h>.
4557         (memcmp): Don't use BP_SYM.  Remove comment about bounded
4558         pointers.
4559         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4560         <bp-sym.h> and <bp-asm.h>.
4561         (memcpy): Don't use BP_SYM.
4562         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4563         <bp-sym.h> and <bp-asm.h>.
4564         (__mempcpy): Don't use BP_SYM.
4565         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4566         <bp-sym.h> and <bp-asm.h>.
4567         (__memrchr): Don't use BP_SYM.
4568         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4569         <bp-sym.h> and <bp-asm.h>.
4570         (memset): Don't use BP_SYM.
4571         (__bzero): Likewise.
4572         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4573         <bp-sym.h> and <bp-asm.h>.
4574         (__rawmemchr): Don't use BP_SYM.
4575         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4576         <bp-sym.h> and <bp-asm.h>.
4577         (__STRCMP): Don't use BP_SYM.
4578         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4579         <bp-sym.h> and <bp-asm.h>.
4580         (strchr): Don't use BP_SYM.
4581         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4582         <bp-sym.h> and <bp-asm.h>.
4583         (__strchrnul): Don't use BP_SYM.
4584         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4585         <bp-sym.h> and <bp-asm.h>.
4586         (strlen): Don't use BP_SYM.
4587         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4588         <bp-sym.h> and <bp-asm.h>.
4589         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4590         pointers.
4591         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4592         <bp-sym.h> and <bp-asm.h>.
4593         (__strnlen): Don't use BP_SYM.
4594         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4595         <bp-sym.h> and <bp-asm.h>.
4596         (__GI__setjmp): Don't use BP_SYM.
4597         (_setjmp): Likewise.
4598         (__sigsetjmp): Likewise.
4599         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4600         (L(start_addresses)): Don't use BP_SYM.
4601         (_start): Likewise.
4602         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4603         <bp-asm.h>.
4604         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4605         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4606         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4607         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4608         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4609         <bp-asm.h>.
4610         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4611         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
4612         about bounded pointers.
4613         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4614         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4615         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4616         <bp-asm.h>.
4617         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4618         about bounded pointers.  Remove GKM FIXME comments.
4619         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4620         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4621         <bp-asm.h>.
4622         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4623         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
4624         Remove GKM FIXME comments.
4625         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4626         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4627         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4628         <bp-asm.h>.
4629         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4630         about bounded pointers.  Remove GKM FIXME comment.
4631         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4632         and <bp-asm.h>.
4633         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4634         pointers.
4635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4636         <bp-sym.h> and <bp-asm.h>.
4637         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4639         <bp-sym.h> and <bp-asm.h>.
4640         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4641         comment.
4643 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4645         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4646         call free(NULL).
4648 2013-03-05  David S. Miller  <davem@davemloft.net>
4650         * po/es.po: Update from translation team.
4652 2013-03-05  Andreas Jaeger  <aj@suse.de>
4654         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4655         <bits/mman-linux.h>.
4656         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4657         is fine.
4658         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4659         <bits/mman-linux.h> to end of file.
4660         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4661         is fine.
4662         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4663         <bits/mman-linux.h> to end of file.
4664         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4665         is fine.
4666         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4667         <bits/mman-linux.h> to end of file.
4669         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4670         (MCL_CURRENT, MCL_FUTURE): Define here.
4672 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4674         [BZ #15232]
4675         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4676         attribute_hidden.
4677         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4679 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4681         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4682         fourth parameter needed for rt_sigprocmask syscall.
4683         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4684         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4685         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4686         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4687         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4688         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4690 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
4692         [BZ #13550]
4693         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4694         comment about bounded pointers.
4695         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4696         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4698 2013-03-04  Andreas Jaeger  <aj@suse.de>
4700         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4701         common definitions.
4703         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4704         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4705         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4706         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4707         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4708         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4710 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4712         [BZ #15055]
4713         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4714         __ieee754_sqrl instead of __sqrl.
4716 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
4718         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4719         * sysdeps/powerpc/fpu_control.h: ... here.
4720         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4721         * sysdeps/powerpc/bits/fenvinline.h: ... here.
4722         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4723         * sysdeps/powerpc/bits/mathinline.h: ... here.
4725 2013-03-01  Roland McGrath  <roland@hack.frob.com>
4727         * elf/dl-hwcaps.c (_dl_important_hwcaps):
4728         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4729         to just [NEED_DL_SYSINFO_DSO].
4730         * elf/dl-support.c: Likewise.
4731         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4732         * elf/rtld.c (dl_main): Likewise.
4733         * elf/setup-vdso.h (setup_vdso): Likewise.
4734         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4735         * sysdeps/unix/sysv/linux/dl-sysdep.c
4736         (_dl_discover_osversion): Likewise.
4738 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
4740         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4741         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4743 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4745         * NEWS: Mention libm performance improvements and non-x86 PI
4746         futex support.
4748         * csu/libc-start.c (__pthread_initialize_minimal): Change
4749         function arguments.
4750         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4752 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
4754         [BZ #13550]
4755         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4756         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4757         <bp-sym.h> and <bp-asm.h>.
4758         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4759         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4760         and <bp-asm.h>.
4761         (memcpy): Don't use BP_SYM.
4762         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4763         <bp-asm.h>.
4764         (__mpn_add_n): Don't use BP_SYM.
4765         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4766         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4767         and <bp-asm.h>.
4768         (__mpn_addmul_1): Don't use BP_SYM.
4769         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4770         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4771         <bp-sym.h>.
4772         (_setjmp): Don't use BP_SYM.
4773         (__novmx_setjmp): Likewise.
4774         (__GI__setjmp): Likewise.
4775         (__vmx_setjmp): Likewise.
4776         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4777         <bp-sym.h>.
4778         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4779         (__bzero): Don't use BP_SYM.
4780         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4781         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4782         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4783         <bp-sym.h> and <bp-asm.h>.
4784         (memcpy): Don't use BP_SYM.
4785         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4786         <bp-sym.h> and <bp-asm.h>.
4787         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4788         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4789         <bp-sym.h> and <bp-asm.h>.
4790         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4791         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4792         <bp-asm.h>.
4793         (__mpn_lshift): Don't use BP_SYM.
4794         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4795         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4796         <bp-asm.h>.
4797         (memset): Don't use BP_SYM.
4798         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4799         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4800         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4801         <bp-asm.h>.
4802         (__mpn_mul_1): Don't use BP_SYM.
4803         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4804         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4805         <bp-sym.h> and <bp-asm.h>.
4806         (memcmp): Don't use BP_SYM.
4807         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4808         <bp-sym.h> and <bp-asm.h>.
4809         (memcpy): Don't use BP_SYM.
4810         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4811         <bp-sym.h> and <bp-asm.h>.
4812         (memset): Don't use BP_SYM.
4813         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4814         <bp-sym.h> and <bp-asm.h>.
4815         (strncmp): Don't use BP_SYM.
4816         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4817         <bp-sym.h> and <bp-asm.h>.
4818         (memcpy): Don't use BP_SYM.
4819         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4820         <bp-sym.h> and <bp-asm.h>.
4821         (memset): Don't use BP_SYM.
4822         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4823         <bp-sym.h> and <bp-asm.h>.
4824         (__memchr): Don't use BP_SYM.
4825         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4826         <bp-sym.h> and <bp-asm.h>.
4827         (memcmp): Don't use BP_SYM.
4828         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4829         <bp-sym.h> and <bp-asm.h>.
4830         (memcpy): Don't use BP_SYM.
4831         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4832         <bp-sym.h> and <bp-asm.h>.
4833         (__mempcpy): Don't use BP_SYM.
4834         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4835         <bp-sym.h> and <bp-asm.h>.
4836         (__memrchr): Don't use BP_SYM.
4837         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4838         <bp-sym.h> and <bp-asm.h>.
4839         (memset): Don't use BP_SYM.
4840         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4841         <bp-sym.h> and <bp-asm.h>.
4842         (__rawmemchr): Don't use BP_SYM.
4843         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4844         <bp-sym.h> and <bp-asm.h>.
4845         (__STRCMP): Don't use BP_SYM.
4846         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4847         <bp-sym.h> and <bp-asm.h>.
4848         (strchr): Don't use BP_SYM.
4849         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4850         <bp-sym.h> and <bp-asm.h>.
4851         (__strchrnul): Don't use BP_SYM.
4852         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4853         <bp-sym.h> and <bp-asm.h>.
4854         (strlen): Don't use BP_SYM.
4855         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4856         <bp-sym.h> and <bp-asm.h>.
4857         (strncmp): Don't use BP_SYM.
4858         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4859         <bp-sym.h> and <bp-asm.h>.
4860         (__strnlen): Don't use BP_SYM.
4861         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4862         <bp-asm.h>.
4863         (__mpn_rshift): Don't use BP_SYM.
4864         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4865         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4866         <bp-sym.h> and <bp-asm.h>.
4867         (__sigsetjmp): Don't use BP_SYM.
4868         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4869         (L(start_addresses)): Don't use BP_SYM.
4870         (_start): Likewise.
4871         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4872         <bp-asm.h>.
4873         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4874         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4875         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4876         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4877         <bp-asm.h>.
4878         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4879         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4880         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4881         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4882         <bp-asm.h>.
4883         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
4884         comments.
4885         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4886         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4887         <bp-asm.h>.
4888         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
4889         FIXME comments.
4890         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4891         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4892         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4893         <bp-asm.h>.
4894         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
4895         comment.
4896         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4897         and <bp-asm.h>.
4898         (strncmp): Don't use BP_SYM,
4899         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4900         <bp-asm.h>.
4901         (__mpn_sub_n): Don't use BP_SYM.
4902         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4903         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4904         and <bp-asm.h>.
4905         (__mpn_submul_1): Don't use BP_SYM.
4906         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4908         <bp-sym.h> and <bp-asm.h>.
4909         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4911         <bp-sym.h> and <bp-asm.h>.
4912         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4913         comment.
4915 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4918         Use ZK to minimize writes to Z.
4919         (sub_magnitudes): Simplify code a bit.
4920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4921         Use ZK to minimize writes to Z.
4922         (sub_magnitudes): Simplify code a bit.
4924 2013-02-27  Roland McGrath  <roland@hack.frob.com>
4926         * csu/gmon-start.c: Add special exception to license text.
4928 2013-02-27  Richard Henderson  <rth@redhat.com>
4930         * scripts/config.guess: Update from config.git.
4931         * scripts/config.sub: Likewise.
4933 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4935         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4937         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4939         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4941         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4943         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4945 2013-02-26  Roland McGrath  <roland@hack.frob.com>
4947         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4948         [$(build-shared = yes].
4950 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4952         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4953         (__mul): Reduce iterations for calculating mantissa.
4955         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4956         MPTWO.
4957         (__mpranred): Likewise.
4959         [BZ #15160]
4960         * malloc/memusagestat.c (main): Draw graphs for heap and stack
4961         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4963 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
4965         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4966         Define __attribute__.
4968 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4970         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4971         unused.
4972         * posix/regex_internal.h (__attribute): Remove.
4973         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4974         (re_string_context_at): Likewise.
4975         (bitset_not): Use __attribute__ and mark function as possibly
4976         unused.
4977         (bitset_merge): Likewise.
4978         (bitset_mask): Likewise.
4979         (re_string_char_size_at): Likewise.
4980         (re_string_wchar_at): Likewise.
4981         (re_string_elem_size_at): Likewise.
4983 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4985         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4986         code.
4987         (cc32): Likewise.
4989         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4990         (__acr): Likewise.
4991         (__cpy): Likewise.
4992         (norm): Likewise.
4993         (denorm): Likewise.
4994         (__dbl_mp): Likewise.
4995         (add_magnitudes): Likewise.
4996         (sub_magnitudes): Likewise.
4997         (__mul): Likewise.
4998         (__inv): Likewise.
5000         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5001         style.
5003         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5004         style.
5006         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5007         code.
5009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5010         up changes with default code.
5011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5012         Likewise.
5014 2013-02-24  Allan McRae  <allan@archlinux.org>
5016         * manual/socket.texi (The Internet Namespace): Order menu items
5017         to match that in the file.
5019         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5020         node listing of the info page menu.
5022 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5024         [BZ #13550]
5025         * sysdeps/i386/bp-asm.h: Remove file.
5026         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5027         (PARMS): Do not use macros from bp-asm.h.
5028         (S1): Likewise.
5029         (S2): Likewise.
5030         (SIZE): Likewise.
5031         (__mpn_add_n): Do not use BP_SYM
5032         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5033         "bp-asm.h".
5034         (PARMS): Do not use macros from bp-asm.h.
5035         (S1): Likewise.
5036         (SIZE): Likewise.
5037         (__mpn_addmul_1): Do not use BP_SYM
5038         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5039         "bp-asm.h".
5040         (PARMS): Do not use macros from bp-asm.h.
5041         (SIGMSK): Likewise.
5042         (_setjmp): Likewise.  Do not use BP_SYM.
5043         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5044         "bp-asm.h".
5045         (PARMS): Do not use macros from bp-asm.h.
5046         (SIGMSK): Likewise.
5047         (setjmp): Likewise.  Do not use BP_SYM.
5048         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5049         "bp-asm.h".
5050         (PARMS): Do not use macros from bp-asm.h.
5051         (__frexp): Do not use BP_SYM.
5052         (frexp): Likewise.
5053         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5054         "bp-asm.h".
5055         (PARMS): Do not use macros from bp-asm.h.
5056         (__frexpf): Do not use BP_SYM.
5057         (frexpf): Likewise.
5058         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5059         "bp-asm.h".
5060         (PARMS): Do not use macros from bp-asm.h.
5061         (__frexpl): Do not use BP_SYM.
5062         (frexpl): Likewise.
5063         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5064         "bp-asm.h".
5065         (PARMS): Do not use macros from bp-asm.h.
5066         (__remquo): Do not use BP_SYM.
5067         (remquo): Likewise.
5068         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5069         "bp-asm.h".
5070         (PARMS): Do not use macros from bp-asm.h.
5071         (__remquof): Do not use BP_SYM.
5072         (remquof): Likewise.
5073         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5074         "bp-asm.h".
5075         (PARMS): Do not use macros from bp-asm.h.
5076         (__remquol): Do not use BP_SYM.
5077         (remquol): Likewise.
5078         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5079         "bp-asm.h".
5080         (PARMS): Do not use macros from bp-asm.h.
5081         (DEST): Likewise.
5082         (SRC): Likewise.
5083         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
5084         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5085         "bp-asm.h".
5086         (PARMS): Do not use macros from bp-asm.h.
5087         (strlen): Do not use BP_SYM.
5088         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5089         "bp-asm.h".
5090         (PARMS): Do not use macros from bp-asm.h.
5091         (S1): Likewise.
5092         (S2): Likewise.
5093         (SIZE): Likewise.
5094         (__mpn_add_n): Do not use BP_SYM.
5095         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5096         "bp-asm.h".
5097         (PARMS): Do not use macros from bp-asm.h.
5098         (S1): Likewise.
5099         (SIZE): Likewise.
5100         (__mpn_addmul_1): Do not use BP_SYM.
5101         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5102         weak_alias.
5103         (bzero): Likewise.
5104         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5105         "bp-asm.h".
5106         (PARMS): Do not use macros from bp-asm.h.
5107         (S): Likewise.
5108         (SIZE): Likewise.
5109         (__mpn_lshift): Do not use BP_SYM.
5110         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5111         "bp-asm.h".
5112         (PARMS): Do not use macros from bp-asm.h.
5113         (DEST): Likewise.
5114         (SRC): Likewise.
5115         (LEN): Likewise.
5116         (memcpy): Likewise.  Do not use BP_SYM.
5117         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5118         libc_hidden_def and weak_alias.
5119         (mempcpy): Do not use BP_SYM in weak_alias.
5120         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5121         "bp-asm.h".
5122         (PARMS): Do not use macros from bp-asm.h.
5123         (DEST): Likewise.
5124         (LEN): Likewise.
5125         [!BZERO_P] (CHR): Likewise.
5126         (memset): Likewise.  Do not use BP_SYM.
5127         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5128         "bp-asm.h".
5129         (PARMS): Do not use macros from bp-asm.h.
5130         (S1): Likewise.
5131         (SIZE): Likewise.
5132         (__mpn_mul_1): Do not use BP_SYM.
5133         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5134         "bp-asm.h".
5135         (PARMS): Do not use macros from bp-asm.h.
5136         (S): Likewise.
5137         (SIZE): Likewise.
5138         (__mpn_rshift): Do not use BP_SYM.
5139         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5140         "bp-asm.h".
5141         (PARMS): Do not use macros from bp-asm.h.
5142         (STR): Likewise.
5143         (CHR): Likewise.
5144         (strchr): Likewise.  Do not use BP_SYM.
5145         (index): Do not use BP_SYM in weak_alias.
5146         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5147         "bp-asm.h".
5148         (PARMS): Do not use macros from bp-asm.h.
5149         (DEST): Likewise.
5150         (SRC): Likewise.
5151         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
5152         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5153         "bp-asm.h".
5154         (PARMS): Do not use macros from bp-asm.h.
5155         (strlen): Do not use BP_SYM.
5156         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5157         "bp-asm.h".
5158         (PARMS): Do not use macros from bp-asm.h.
5159         (S1): Likewise.
5160         (S2): Likewise.
5161         (SIZE): Likewise.
5162         (__mpn_sub_n): Do not use BP_SYM.
5163         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5164         "bp-asm.h".
5165         (PARMS): Do not use macros from bp-asm.h.
5166         (S1): Likewise.
5167         (SIZE): Likewise.
5168         (__mpn_submul_1): Do not use BP_SYM.
5169         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5170         "bp-asm.h".
5171         (PARMS): Do not use macros from bp-asm.h.
5172         (S1): Likewise.
5173         (S2): Likewise.
5174         (SIZE): Likewise.
5175         (__mpn_add_n): Do not use BP_SYM.
5176         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5177         weak_alias.
5178         (bzero): Likewise.
5179         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5180         "bp-asm.h".
5181         (PARMS): Do not use macros from bp-asm.h.
5182         (BLK2): Likewise.
5183         (LEN): Likewise.
5184         (memcmp): Do not use BP_SYM.
5185         (bcmp): Do not use BP_SYM in weak_alias.
5186         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5187         "bp-asm.h".
5188         (PARMS): Do not use macros from bp-asm.h.
5189         (DEST): Likewise.
5190         (SRC): Likewise.
5191         (LEN): Likewise.
5192         (memcpy): Likewise.  Do not use BP_SYM.
5193         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5194         "bp-asm.h".
5195         (PARMS): Do not use macros from bp-asm.h.
5196         (DEST): Likewise.
5197         (SRC): Likewise.
5198         (LEN): Likewise.
5199         (memmove): Likewise.  Do not use BP_SYM.
5200         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5201         "bp-asm.h".
5202         (PARMS): Do not use macros from bp-asm.h.
5203         (DEST): Likewise.
5204         (SRC): Likewise.
5205         (LEN): Likewise.
5206         (__mempcpy): Likewise.  Do not use BP_SYM.
5207         (mempcpy): Do not use BP_SYM in weak_alias.
5208         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5209         "bp-asm.h".
5210         (PARMS): Do not use macros from bp-asm.h.
5211         (DEST): Likewise.
5212         (LEN): Likewise.
5213         [!BZERO_P] (CHR): Likewise.
5214         (memset): Likewise.  Do not use BP_SYM.
5215         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5216         "bp-asm.h".
5217         (PARMS): Do not use macros from bp-asm.h.
5218         (STR2): Likewise.
5219         (strcmp): Do not use BP_SYM.
5220         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5221         "bp-asm.h".
5222         (PARMS): Do not use macros from bp-asm.h.
5223         (STR): Likewise.
5224         (DELIM): Likewise.
5225         [USE_AS_STRTOK_R] (SAVE): Likewise.
5226         (FUNCTION): Likewise.  Do not use BP_SYM.
5227         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5228         aliases.
5229         (strtok_r): Likewise.
5230         (__GI___strtok_r): Likewise.
5231         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5232         (PARMS): Do not use macros from bp-asm.h.
5233         (S): Likewise.
5234         (SIZE): Likewise.
5235         (__mpn_lshift): Do not use BP_SYM.
5236         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5237         (PARMS): Do not use macros from bp-asm.h.
5238         (STR): Likewise.
5239         (CHR): Likewise.
5240         (__memchr): Do not use BP_SYM.
5241         (memchr): Do not use BP_SYM in weak_alias.
5242         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5243         (PARMS): Do not use macros from bp-asm.h.
5244         (BLK2): Likewise.
5245         (LEN): Likewise.
5246         (memcmp): Do not use BP_SYM.
5247         (bcmp): Do not use BP_SYM in weak_alias.
5248         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5249         (PARMS): Do not use macros from bp-asm.h.
5250         (S1): Likewise.
5251         (SIZE): Likewise.
5252         (__mpn_mul_1): Do not use BP_SYM.
5253         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5254         "bp-asm.h".
5255         (PARMS): Do not use macros from bp-asm.h.
5256         (STR): Likewise.
5257         (CHR): Likewise.
5258         (__rawmemchr): Do not use BP_SYM.
5259         (rawmemchr): Do not use BP_SYM in weak_alias.
5260         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5261         (PARMS): Do not use macros from bp-asm.h.
5262         (S): Likewise.
5263         (SIZE): Likewise.
5264         (__mpn_rshift): Do not use BP_SYM.
5265         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5266         (PARMS): Do not use macros from bp-asm.h.
5267         (SIGMSK): Likewise.
5268         (__sigsetjmp): Likewise.  Do not use BP_SYM.
5269         * sysdeps/i386/start.S: Do not include "bp-sym.h".
5270         (_start): Do not use BP_SYM.
5271         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5272         (PARMS): Do not use macros from bp-asm.h.
5273         (DEST): Likewise.
5274         (SRC): Likewise.
5275         (__stpcpy): Likewise.  Do not use BP_SYM.
5276         (stpcpy): Do not use BP_SYM in weak_alias.
5277         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5278         "bp-asm.h".
5279         (PARMS): Do not use macros from bp-asm.h.
5280         (DEST): Likewise.
5281         (SRC): Likewise.
5282         (LEN): Likewise.
5283         (__stpncpy): Likewise.  Do not use BP_SYM.
5284         (stpncpy): Do not use BP_SYM in weak_alias.
5285         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5286         (PARMS): Do not use macros from bp-asm.h.
5287         (STR): Likewise.
5288         (CHR): Likewise.
5289         (strchr): Likewise.  Do not use BP_SYM.
5290         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5291         "bp-asm.h".
5292         (PARMS): Do not use macros from bp-asm.h.
5293         (STR): Likewise.
5294         (CHR): Likewise.
5295         (__strchrnul): Likewise.  Do not use BP_SYM.
5296         (strchrnul): Do not use BP_SYM in weak_alias.
5297         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5298         "bp-asm.h".
5299         (PARMS): Do not use macros from bp-asm.h.
5300         (STOP): Likewise.
5301         (strcspn): Do not use BP_SYM.
5302         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5303         "bp-asm.h".
5304         (PARMS): Do not use macros from bp-asm.h.
5305         (STR): Likewise.
5306         (STOP): Likewise.
5307         (strpbrk): Likewise.  Do not use BP_SYM.
5308         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5309         "bp-asm.h".
5310         (PARMS): Do not use macros from bp-asm.h.
5311         (STR): Likewise.
5312         (CHR): Likewise.
5313         (strrchr): Likewise.  Do not use BP_SYM.
5314         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5315         (PARMS): Do not use macros from bp-asm.h.
5316         (SKIP): Likewise.
5317         (strspn): Do not use BP_SYM.
5318         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5319         (PARMS): Do not use macros from bp-asm.h.
5320         (STR): Likewise.
5321         (DELIM): Likewise.
5322         (SAVE): Likewise.
5323         (FUNCTION): Likewise.  Do not use BP_SYM.
5324         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5325         aliases.
5326         (strtok_r): Likewise.
5327         (__GI___strtok_r): Likewise.
5328         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5329         (PARMS): Do not use macros from bp-asm.h.
5330         (S1): Likewise.
5331         (S2): Likewise.
5332         (SIZE): Likewise.
5333         (__mpn_sub_n): Do not use BP_SYM.
5334         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5335         "bp-asm.h".
5336         (PARMS): Do not use macros from bp-asm.h.
5337         (S1): Likewise.
5338         (SIZE): Likewise.
5339         (__mpn_submul_1): Do not use BP_SYM.
5340         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5341         <bp-sym.h>.
5342         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5343         and <bp-asm.h>.
5344         (PARMS): Do not use macros from bp-asm.h.
5345         (FLAGS): Likewise.
5346         (PTID): Likewise.
5347         (TLS): Likewise.
5348         (CTID): Likewise.
5349         (__clone): Do not use BP_SYM.
5350         (clone): Do not use BP_SYM in weak_alias.
5351         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5352         and <bp-asm.h>.
5353         (PARMS): Do not use macros from bp-asm.h.
5354         (LEN): Likewise.
5355         (__mmap64): Do not use BP_SYM.
5356         (mmap64): Do not use BP_SYM in weak_alias.
5357         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5358         <bp-sym.h> and <bp-asm.h>.
5359         (PARMS): Do not use macros from bp-asm.h.
5360         (__posix_fadvise64_l64): Do not use BP_SYM.
5361         * sysdeps/unix/sysv/linux/i386/semtimedop.S
5362         (PARMS): Do not use macros from bp-asm.h.
5363         (NSOPS): Likewise.
5364         (semtimedop): Do not use BP_SYM.
5365         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5366         and <bp-asm.h>.
5368 2013-02-21  Allan McRae  <allan@archlinux.org>
5370         * manual/message.texi (Charset conversion in gettext):
5371         Move @end statement to beginning of line.
5373 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5376         static.
5377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5378         Likewise.
5380         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5381         (denorm): Likewise.
5382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5385 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5387         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5388         tail-call to the resolved function if pltexit isn't needed.
5390 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5393         or Y being zero as being unlikely.
5394         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5395         Likewise.
5397 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
5399         * manual/nss.texi (System Databases and Name Service Switch):
5400         Remove frobnicate @pxref.
5402 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
5404         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5405         __attribute__ ((unused)) to __attribute__ ((__unused__)).
5407 2013-02-20  Petr Machata  <pmachata@redhat.com>
5409         * elf/elf.h (R_ARM_TARGET1): New macro.
5410         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5411         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5412         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5413         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5414         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5415         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5416         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5417         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5418         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5419         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5420         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5421         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5422         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5423         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5424         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5425         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5426         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5427         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5428         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5429         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5430         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5431         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5432         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5433         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5434         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5435         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5436         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5437         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5438         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5439         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5440         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5441         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5442         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5443         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5444         (R_ARM_THM_GOT_BREL12): Likewise.
5445         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5446         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5447         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5448         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5449         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5450         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5451         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5452         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5453         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5455 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
5457         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5458         __attribute_used__ to __attribute__ ((unused)).
5460 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5462         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5463         powerpc mpa.c.
5464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5465         comment formatting.
5466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5468 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
5470         [BZ #13550]
5471         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5472         Remove macro.
5473         (ENTER): Remove both macro definitions.
5474         (LEAVE): Likewise.
5475         (CHECK_BOUNDS_LOW): Likewise.
5476         (CHECK_BOUNDS_HIGH): Likewise.
5477         (CHECK_BOUNDS_BOTH): Likewise.
5478         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5479         (RETURN_BOUNDED_POINTER): Likewise.
5480         (RETURN_NULL_BOUNDED_POINTER): Likewise.
5481         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5482         (POP_ERRNO_LOCATION_RETURN): Likewise.
5483         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5484         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5485         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5486         macros.
5487         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5488         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5489         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5490         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5491         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5492         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5493         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5494         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5495         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5496         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5497         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5498         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5499         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5500         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5501         removed macros.
5502         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5503         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5504         macros.
5505         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5506         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5507         * sysdeps/i386/i586/memset.S (memset): Likewise.
5508         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5509         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5510         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5511         macros.
5512         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5513         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5514         Change uses of L(2) to L(out).
5515         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5516         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5517         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5518         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5519         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5520         removed macros.
5521         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5522         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5523         macros.
5524         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5525         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5526         (RETURN): Do not use macro LEAVE.
5527         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5528         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5529         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5530         * sysdeps/i386/i686/memset.S (memset): Likewise.
5531         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5532         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5533         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5534         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5535         Likewise.
5536         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5537         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
5538         L(1_2) and L(1_3) into L(1).
5539         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5540         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5541         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5542         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5543         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5544         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5545         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5546         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5547         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5548         macros.
5549         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5550         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5551         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5552         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5553         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5554         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5555         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5556         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5557         * sysdeps/i386/strcspn.S (strcspn): Likewise.
5558         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5559         * sysdeps/i386/strrchr.S (strrchr): Likewise.
5560         * sysdeps/i386/strspn.S (strspn): Likewise.
5561         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5562         conditional code.
5563         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5564         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5565         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5566         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
5567         L(1_3) into L(1_1).
5568         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5569         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5570         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5571         macros.
5572         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5574 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
5576         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5577         macro.
5579 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5581         * math/atest-exp.c (exp_mpn): Remove ROUND.
5582         * math/atest-exp2.c (exp_mpn): Likewise.
5583         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5585         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5586         * stdlib/tst-tls-atexit-lib.c: Likewise.
5587         * stdlib/tst-tls-atexit.c: Likewise.
5589 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5591         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5592         and __attribute_alloc_size__.
5594 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5596         * include/programs/xmalloc.h: Change __attribute_alloc_size to
5597         __attribute_alloc_size__.
5598         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5599         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5601 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5603         * include/programs/xmalloc.h: New file.
5604         * catgets/gencat.c: Include it.
5605         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5606         * elf/pldd.c: Likewise.
5607         * iconv/iconv_charmap.c: Likewise.
5608         * iconv/iconvconfig.c: Likewise.
5609         * iconv/strtab.c: Likewise.
5610         * locale/programs/locale.c: Likewise.
5611         * locale/programs/localedef.h: Likewise.
5612         * locale/programs/simple-hash.c: Likewise.
5613         * nscd/nscd.h: Likewise.
5614         * nss/makedb.c: Likewise.
5615         * sysdeps/generic/ldconfig.h: Likewise.
5617 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5619         * Versions.def: Add GLIBC_2.18.
5620         * include/link.h (struct link_map): New member l_tls_dtor_count.
5621         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5622         (__call_tls_dtors): Likewise.
5623         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5624         __cxa_thread_atexit_impl.
5625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5626         Likewise.
5627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5628         Likewise.
5629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5630         Likewise.
5631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5632         Likewise.
5633         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5635         Likewise.
5636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5637         Likewise.
5638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5640         Likewise.
5641         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5642         (tests): Add test case tst-tls-atexit.
5643         (modules-names): Add shared library for tst-tls-atexit.
5644         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5645         (GLIBC_PRIVATE): Add __call_tls_dtors.
5646         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5647         for libstdc++.
5648         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5649         * stdlib/tst-tls-atexit.c: New test case.
5650         * stdlib/tst-tls-atexit-lib.c: New test case.
5652         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5654         * elf/Versions (ld): Add _dl_find_dso_for_object.
5655         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5656         * elf/dl-open.c (_dl_find_dso_for_object): New function.
5657         (dl_open_worker): Use _dl_find_dso_for_object.
5658         * elf/dl-sym.c (do_sym): Likewise.
5659         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5661 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5663         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5664         Syntactic changes only.
5665         (_dl_runtime_profile): Do a tail-call to the resolved function.
5667 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
5669         [BZ #13550]
5670         * sysdeps/x86_64/bp-asm.h: Remove file.
5671         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5672         <bp-sym.h> and <bp-asm.h>.
5673         (__clone): Do not use BP_SYM.
5674         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5675         <bp-sym.h> and <bp-asm.h>.
5676         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5677         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5678         "bp-asm.h".
5679         (_setjmp): Do not use BP_SYM.
5680         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5681         "bp-asm.h".
5682         (setjmp): Do not use BP_SYM.
5683         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5684         libc_hidden_def.
5685         (mempcpy): Do not use BP_SYM in weak_alias.
5686         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5687         "bp-asm.h".
5688         (strchr): Do not use BP_SYM.
5689         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5690         "bp-asm.h".
5691         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5692         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5693         (_start): Do not use BP_SYM.
5694         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5695         "bp-asm.h".
5696         (strcat): Do not use BP_SYM.
5697         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5698         "bp-asm.h".
5699         (STRCMP): Do not use BP_SYM.
5700         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5701         "bp-asm.h".
5702         (STRCPY): Do not use BP_SYM.
5703         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5704         "bp-asm.h".
5705         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5706         "bp-asm.h".
5707         (FUNCTION): Do not use BP_SYM.
5708         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5709         weak_alias.
5710         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5712 2013-02-17  Andreas Jaeger  <aj@suse.de>
5714         * time/Versions: Sort entries.
5715         * string/Versions: Likewise.
5716         * resolv/Versions: Likewise.
5717         * posix/Versions: Likewise.
5718         * iconv/Versions: Likewise.
5719         * elf/Versions: Likewise.
5720         * wcsmbs/Versions: Likewise.
5722 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5724         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5725         loop termination condition.
5727         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5728         variable to calculate EZ.
5729         (__sqr): Likewise.
5731         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5732         the lower precision input.
5734 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
5736         [BZ #13550]
5737         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5738         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5739         (run-via-rtld-prefix): Do not handle %-bp tests.
5740         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5741         (all-object-suffixes): Remove .ob.
5742         (bppfx): Remove variable.
5743         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5744         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5745         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5746         [$(build-bounded) = yes] (libtype.ob): Likewise.
5747         * Makerules (elide-routines.ob): Remove variable.
5748         (do-tests-clean): Do not handle *-bp.out.
5749         (common-mostlyclean): Do not handle *-bp and *-bp.out.
5750         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5751         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5752         (tests): Do not include $(tests-bp.out).
5753         (xtests): Do not include $(xtests-bp.out).
5754         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5755         [$(build-bounded) = yes] ($(addprefix
5756         $(objpfx),$(binaries-bounded))): Remove rule.
5757         ($(objpfx)%-bp.out): Remove rule.
5758         * config.make.in (build-bounded): Remove variable.
5759         * crypt/Makefile [$(build-bounded) = yes]
5760         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5761         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5762         append to variable.
5763         [$(build-bounded) = yes] (install-lib): Likewise.
5764         [$(build-bounded) = yes] (generated): Likewise.
5765         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5766         Remove rule.
5767         * intl/Makefile [$(build-bounded) = yes]
5768         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5769         * math/Makefile [$(build-bounded) = yes]
5770         ($(tests:%=$(objpfx)%-bp): Likewise.
5771         * misc/Makefile [$(build-bounded) = yes]
5772         ($(objpfx)tst-tsearch-bp): Likewise.
5773         * nptl/Makeconfig (bounded-thread-library): Remove variable.
5774         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5775         Remove dependency.
5776         * string/Makefile (o-objects.ob): Remove variable.
5777         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5778         (CFLAGS-.ob): Remove variable.
5779         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5780         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5781         both definitions of variable.
5782         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5783         (ASFLAGS-.ob): Remove variable.
5785 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
5787         [BZ #13550]
5788         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5789         Remove __BOUNDED_POINTERS__ from condition.
5790         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5791         * string/bits/string2.h [!__NO_STRING_INLINES &&
5792         !__BOUNDED_POINTERS__]: Likewise.
5793         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5794         Likewise.
5795         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5796         Remove conditional code.
5797         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5798         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5799         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5800         condition.
5802         [BZ #13550]
5803         * csu/libc-start.c: Do not include <bp-sym.h>.
5804         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5805         * elf/dl-open.c: Do not include <bp-sym.h>.
5806         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5807         * math/fegetenv.c: Do not include <bp-sym.h>.
5808         (fegetenv): Do not use BP_SYM in versioned symbols.
5809         * nptl/sysdeps/pthread/bits/libc-lockP.h
5810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5811         <bp-sym.h>.
5812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5813         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5815         (__pthread_mutex_destroy): Likewise.
5816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5817         (__pthread_mutex_lock): Likewise.
5818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5819         (__pthread_mutex_trylock): Likewise.
5820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5821         (__pthread_mutex_unlock): Likewise.
5822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5823         (__pthread_mutexattr_init): Likewise.
5824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5825         (__pthread_mutexattr_destroy): Likewise.
5826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5827         (__pthread_mutexattr_settype): Likewise.
5828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5829         (__pthread_rwlock_init): Likewise.
5830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5831         (__pthread_rwlock_destroy): Likewise.
5832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5833         (__pthread_rwlock_rdlock): Likewise.
5834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5835         (__pthread_rwlock_tryrdlock): Likewise.
5836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5837         (__pthread_rwlock_wrlock): Likewise.
5838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5839         (__pthread_rwlock_trywrlock): Likewise.
5840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5841         (__pthread_rwlock_unlock): Likewise.
5842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5843         (__pthread_key_create): Likewise.
5844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5845         (__pthread_setspecific): Likewise.
5846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5847         (__pthread_getspecific): Likewise.
5848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5849         Likewise.
5850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5851         (_pthread_cleanup_push_defer): Likewise.
5852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5853         (_pthread_cleanup_pop_restore): Likewise.
5854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5855         (pthread_setcancelstate): Likewise.
5856         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5857         <bp-sym.h>.
5858         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5859         (memchr): Do not use BP_SYM in weak_alias.
5860         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5861         (fegetenv): Do not use BP_SYM in versioned symbols.
5862         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5863         (fesetenv): Do not use BP_SYM in versioned symbols.
5864         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5865         (feupdateenv): Do not use BP_SYM in versioned symbols.
5866         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5867         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5868         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5869         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5870         (open64): Do not use BP_SYM in weak_alias.
5871         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5872         (fegetenv): Do not use BP_SYM in versioned symbols.
5873         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5874         (fesetenv): Do not use BP_SYM in versioned symbols.
5875         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5876         (feupdateenv): Do not use BP_SYM in versioned symbols.
5877         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5878         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5879         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5880         (feraiseexcept): Do not use BP_SYM in versioned symbols.
5881         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5882         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5883         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5884         <bp-sym.h>.
5885         (__libc_start_main): Do not use BP_SYM.
5887 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5889         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5890         redundant return line.
5891         (norm): Likewise.
5892         (denorm): Likewise.
5893         (dbl_mp): Likewise.
5894         (sub_magnitudes): Likewise.
5895         (__add): Likewise.
5896         (__sub): Likewise.
5897         (__mul): Likewise.
5898         (__inv): Likewise.
5899         (__dvd): Likewise.
5900         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5901         (norm): Likewise.
5902         (denorm): Likewise.
5903         (dbl_mp): Likewise.
5904         (sub_magnitudes): Likewise.
5905         (__add): Likewise.
5906         (__sub): Likewise.
5907         (__mul): Likewise.
5908         (__inv): Likewise.
5909         (__dvd): Likewise.
5911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5912         instead of __mul.
5913         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5914         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5915         (cc32): Likewise.
5917         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5918         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5920         of __mul for squares.
5921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5922         function
5923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5924         Likewise.
5925         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5926         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5928 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
5930         [BZ #13550]
5931         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5932         code.
5933         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5934         prototype or function definition.  Rename ubp_* variables and
5935         parameters.  Remove argv definitions conditional on
5936         [__BOUNDED_POINTERS__].
5937         * debug/backtrace.c (__backtrace): Do not use __unbounded.
5938         * elf/dl-runtime.c (_dl_fixup): Likewise.
5939         * include/set-hooks.h (RUN_HOOK): Likewise.
5940         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5941         definition.
5942         * string/strcpy.c (strcpy): Do not use __unbounded.
5943         * sysdeps/generic/frame.h (struct layout): Likewise.
5944         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5945         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5946         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5947         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5948         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5949         (__backtrace): Likewise.
5950         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5951         use __ptrvalue.
5952         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5953         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5954         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5955         Likewise.
5956         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5957         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5958         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5959         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5960         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5961         Do not use __unbounded.
5962         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5963         Rename __unboundedrlimits parameter to rlimits in prototype.
5964         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5965         Do not use __unbounded.
5966         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5967         not use __ptrvalue.
5968         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5969         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5970         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5971         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5972         __ptrvalue or __unbounded.
5973         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5974         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5975         use __unbounded.
5976         (__new_msgctl): Do not use __ptrvalue.
5977         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5978         __unbounded.
5979         (__libc_msgrcv): Do not use __ptrvalue.
5980         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5981         startup_info): Do not use __unbounded.
5982         (__libc_start_main): Likewise.  Rename ubp_* variables and
5983         parameters.  Remove argv definitions conditional on
5984         [__BOUNDED_POINTERS__].
5985         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5986         __ptrvalue.
5987         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5988         use __unbounded.
5989         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5990         or __ptrvalue.
5991         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5992         use __unbounded.
5993         (__new_shmctl): Do not use __ptrvalue.
5994         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5995         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5996         Likewise.
5997         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5998         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5999         (__libc_sigaction): Likewise.
6000         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6001         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6002         Likewise.
6003         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6005 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6007         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6009         * string/mempcpy.c: Implement by calling memcpy.
6011 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6013         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6015         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6016         evaluation.
6018         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6019         values in the mantissa.
6021         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6022         minimize writes to Z.
6023         (sub_magnitudes): Simplify code a bit.
6025 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6027         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6028         from the message.  The linker prefixes all warnings with that already.
6030 2013-02-12  Andreas Schwab  <schwab@suse.de>
6032         [BZ #15078]
6033         * posix/regexec.c (extend_buffers): Add parameter min_len.
6034         (check_matching): Pass minimum needed length.
6035         (clean_state_log_if_needed): Likewise.
6036         (get_subexp): Likewise.
6037         * posix/Makefile (tests): Add bug-regex34.
6038         (bug-regex34-ENV): Define.
6039         * posix/bug-regex34.c: New file.
6041         [BZ #11561]
6042         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6043         elements compare against the byte sequence of it, not its name.
6044         * posix/Makefile (tests): Add bug-regex35.
6045         (bug-regex35-ENV): Define.
6046         * posix/bug-regex35.c: New file.
6048 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6050         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6051         comment.
6052         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6053         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6054         (CHECK_EOL): Add undef.
6056 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6058         * bits/stdlib-bsearch.h: New file.
6059         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6060         * stdlib/stdlib.h: Likewise.
6062 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6064         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6065         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6066         declaration.
6067         * manual/search.texi (Array Search Function): Add missing const in
6068         lfind prototype.
6069         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6070         declaration to use rlim_t.
6071         (Basic Scheduling Functions): Remove erroneous const from
6072         sched_getparam prototype.  Remove erroneous * from
6073         sched_get_priority_max and sched_get_priority_min prototypes.
6074         (Resource Usage): Fix summary @comment on vtimes to refer to
6075         sys/vtimes.h rather than vtimes.h.
6076         Add missing *s in vtimes prototype.
6077         (Limits on Resources): Fix ulimit prototype to return long int.
6078         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6079         prototypes to use long int rather than double.
6080         (BSD Random): Fix initstate and setstate to use char *, not void *.
6081         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6082         prototype to make second argument 'struct aiocb64 *const[]'.
6083         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6084         (Status of AIO Operations): Remove erroneous const in aio_return and
6085         aio_return64 prototypes.
6086         (Synchronizing I/O): Fix sync prototype to return void.
6087         * manual/startup.texi (Suboptions): Remove an erroneous const in
6088         getsubopt prototype.
6089         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6090         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6091         use size_t rather than int.
6092         (Scanning All Users): Likewise for getpwent_r.
6093         (Setting Groups): Add missing const to setgroups prototype.
6094         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6095         * manual/socket.texi (Host Names): Fix gethostbyaddr and
6096         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6097         'const void *' rather than 'const char *'.
6098         (Host Address Functions): Likewise for inet_ntop.
6099         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6100         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6101         ssize_t for return value.
6102         (Sending Data): Likewise for send, sendto, sendmsg.
6103         (Socket Option Functions): Add a missing const in setsockopt prototype.
6104         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6105         use wchar_t for the argument.
6106         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6107         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6108         take no arguments.
6109         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6110         double/float/long double for second argument.
6111         Fix return types of significand, significandf, significandl.
6112         * manual/filesys.texi (Setting Permissions): Use mode_t for second
6113         argument in fchmod prototype.
6114         (File Owner): Use uid_t and gid_t in fchown prototype.
6115         (File Times): Add const to utimes, futimes, and lutimes prototypes.
6116         (Making Special Files): Use mode_t and dev_t in mknod prototype.
6117         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6118         use 'const struct dirent **' as argument types to CMP function pointer
6119         argument.
6120         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6121         (File Times): Fix summary magic @comment for struct utimbuf and utime
6122         to refer to utime.h, not time.h.
6123         * manual/string.texi (Argz Functions): Add missing const in
6124         argz_extract and argz_next prototypes.
6125         (Finding Tokens in a String): Likewise for basename.
6126         (String/Array Comparison): Fix typo in wcscasecmp prototype.
6127         (Copying and Concatenation): Fix typo in wmemmove prototype.
6128         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6129         (Signal Stack): Remove erroneous const in sigstack prototype.
6130         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6131         prototype.
6132         (Simple Calendar Time): Likewise for stime.
6133         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6134         prototype.
6135         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6136         say sys/sysctl.h instead.
6137         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6138         and vsyslog prototypes.
6140 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6142         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6143         Remove.
6145 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6147         * misc/sys/mman.h: Fix typo in mremap comment.
6149 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6151         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6152         the '\0' terminator.
6154 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6156         [BZ #13550]
6157         * debug/segfault.c: Don't include <bp-checks.h>.
6158         * sysdeps/generic/bp-checks.h: Remove file.
6159         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6160         (__GETDENTS): Don't use CHECK_N.
6161         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6162         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6163         (__getgroups): Don't use CHECK_N.
6164         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6165         (setgroups): Don't use CHECK_N.
6166         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6167         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6168         (__libc_msgrcv): Don't use CHECK_N.
6169         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6170         (__libc_msgsnd): Don't use CHECK_N.
6171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6172         <bp-checks.h>.
6173         (__libc_pread): Don't use CHECK_N.
6174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6175         include <bp-checks.h>.
6176         (__libc_pread64): Don't use CHECK_N.
6177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6178         include <bp-checks.h>.
6179         (__libc_pwrite): Don't use CHECK_N.
6180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6181         include <bp-checks.h>.
6182         (__libc_pwrite64): Don't use CHECK_N.
6183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6184         <bp-checks.h>.
6185         (__libc_pread): Don't use CHECK_N.
6186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6187         include <bp-checks.h>.
6188         (__libc_pread64): Don't use CHECK_N.
6189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6190         include <bp-checks.h>.
6191         (__libc_pwrite): Don't use CHECK_N.
6192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6193         include <bp-checks.h>.
6194         (__libc_pwrite64): Don't use CHECK_N.
6195         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6196         (do_pread): Don't use CHECK_N.
6197         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6198         (do_pread64): Don't use CHECK_N.
6199         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6200         (do_pwrite): Don't use CHECK_N.
6201         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6202         (do_pwrite64): Don't use CHECK_N.
6203         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6204         (__libc_readv): Don't use CHECK_N.
6205         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6206         (semop): Don't use CHECK_N.
6207         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6208         <bp-checks.h>.
6209         (semtimedop): Don't use CHECK_N.
6210         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6211         (__libc_pread): Don't use CHECK_N.
6212         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6213         <bp-checks.h>.
6214         (__libc_pread64): Don't use CHECK_N.
6215         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6216         <bp-checks.h>.
6217         (__libc_pwrite): Don't use CHECK_N.
6218         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6219         <bp-checks.h>.
6220         (__libc_pwrite64): Don't use CHECK_N.
6221         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6222         <bp-checks.h>.
6223         (__libc_msgrcv): Don't use CHECK_N.
6224         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6225         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
6226         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6227         (__libc_writev): Don't use CHECK_N.
6229 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6231         * string/strcpy.c: Removed unused variable.
6233         * Makeconfig (+sysdep-includes): Define with := rather than =.
6234         Use an existing include/ subdir of each sysdeps dir before it.
6236 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6238         * nscd/connection.c (register_traced_file): Comment function.
6239         [HAVE_INOTIFY] (union __inev): Define.
6240         [HAVE_INOTIFY] (inotify_check_files): New function.
6241         [HAVE_INOTIFY] (clear_db_cache): Likewise.
6242         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6243         clear_db_cache.
6244         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6246 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6248         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6249         loaded if not already and that a failure is permanent.
6251 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6253         [BZ #15006]
6254         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6255         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6257 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6259         [BZ #13550]
6260         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6261         (CHECK_1_NULL_OK): Likewise.
6262         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6263         (__fxstat): Do not use CHECK_1.
6264         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6265         <bp-checks.h>.
6266         (___fxstat64): Do not use CHECK_1.
6267         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6268         <bp-checks.h>.
6269         (__fxstatat): Do not use CHECK_1.
6270         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6271         <bp-checks.h>.
6272         (__fxstatat64): Do not use CHECK_1.
6273         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6274         <bp-checks.h>.
6275         (__fxstat): Do not use CHECK_1.
6276         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6277         <bp-checks.h>.
6278         (__fxstatat): Do not use CHECK_1.
6279         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6280         <bp-checks.h>.
6281         (__getresgid): Do not use CHECK_1.
6282         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6283         <bp-checks.h>.
6284         (__getresuid): Do not use CHECK_1.
6285         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6286         <bp-checks.h>.
6287         (__lxstat): Do not use CHECK_1.
6288         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6289         <bp-checks.h>.
6290         (__old_msgctl): Do not use CHECK_1.
6291         (__new_msgctl): Likewise.
6292         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6293         <bp-checks.h>.
6294         (__new_setrlimit): Do not use CHECK_1.
6295         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6296         <bp-checks.h>.
6297         (__old_shmctl): Do not use CHECK_1.
6298         (__new_shmctl): Likewise.
6299         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6300         <bp-checks.h>.
6301         (__xstat): Do not use CHECK_1.
6302         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6303         (__lxstat): Do not use CHECK_1.
6304         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6305         <bp-checks.h>.
6306         (___lxstat64): Do not use CHECK_1.
6307         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6308         (__old_msgctl): Do not use CHECK_1.
6309         (__new_msgctl): Likewise.
6310         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6311         <bp-checks.h>.
6312         (__gettimeofday): Do not use CHECK_1.
6313         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6314         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6315         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6316         <bp-checks.h>.
6317         (__gettimeofday): Do not use CHECK_1.
6318         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6319         (__old_shmctl): Do not use CHECK_1_NULL_OK.
6320         (__new_shmctl): Do not use CHECK_1.
6321         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6322         <bp-checks.h>.
6323         (do_sigtimedwait): Do not use CHECK_1.
6324         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6325         <bp-checks.h>.
6326         (do_sigwaitinfo): Do not use CHECK_1.
6327         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6328         <bp-checks.h>.
6329         (msgctl): Do not use CHECK_1.
6330         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6331         <bp-checks.h>.
6332         (shmctl): Do not use CHECK_1.
6333         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6334         (ustat): Do not use CHECK_1.
6335         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6336         <bp-checks.h>.
6337         (__fxstat): Do not use CHECK_1.
6338         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6339         <bp-checks.h>.
6340         (__fxstatat): Do not use CHECK_1.
6341         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6342         <bp-checks.h>.
6343         (__lxstat): Do not use CHECK_1.
6344         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6345         <bp-checks.h>.
6346         (__xstat): Do not use CHECK_1.
6347         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6348         (__xstat): Do not use CHECK_1.
6349         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6350         (___xstat64): Do not use CHECK_1.
6352         [BZ #13550]
6353         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6354         definitions.
6355         (CHECK_BOUNDS_HIGH): Likewise.
6356         * string/strcpy.c: Do not include <bp-checks.h>.
6357         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6359 2013-02-07  Roland McGrath  <roland@hack.frob.com>
6361         * nscd/nscd-client.h (__nscd_drop_map_ref):
6362         Add __attribute__ ((unused)).
6363         * nis/nss-nisplus.h (niserr2nss): Likewise.
6365         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6366         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6368         * csu/libc-tls.c (init_static_tls, init_slotinfo):
6369         Remove inline keyword.
6370         * include/rounding-mode.h (round_away): Likewise.
6371         * libio/wfileops.c (adjust_wide_data): Likewise.
6372         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6373         (__m128i_strloadu_tolower): Likewise.
6374         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6375         (__m128i_strloadu_tolower): Likewise.
6376         * time/mktime.c (ydhms_diff): Likewise.
6377         * locale/elem-hash.h (elem_hash): Likewise.
6378         * locale/setlocale.c (setdata): Likewise.
6379         * posix/regex_internal.h (re_string_char_size_at): Likewise.
6380         (re_string_wchar_at): Likewise.
6381         (bitset_not, bitset_merge, bitset_mask): Likewise.
6382         [!(__GNUC__ > 3)] (inline): Remove macro.
6383         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6384         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6385         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6386         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6387         * string/memcmp.c (memcmp_bytes): Likewise.
6388         * locale/programs/locarchive.c (compute_hashval): Likewise.
6389         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6390         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6391         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6392         * nss/getent.c (print_rpc, print_protocols): Likewise.
6393         (print_passwd, print_group, print_aliases): Likewise.
6394         * nis/nss-nisplus.h (niserr2nss): Likewise.
6395         * nscd/connections.c (restart_p): Likewise.
6396         Change return type to bool.
6398 2013-02-05  Roland McGrath  <roland@hack.frob.com>
6400         * Makeconfig (all-Depend-files): Add existing
6401         $(sorted-subdirs:=/Depend) files.
6402         (all-subdirs): Remove nss.
6403         * sysdeps/unix/inet/Subdirs: Add it here instead.
6404         * hesiod/Depend: New file.
6406         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6407         instead of calling alloca.
6409         * io/lseek.c (__lseek): Rename to __libc_lseek.
6410         Define __lseek as an alias.
6412         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6414 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
6416         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6417         else clause and remove check for non-standard endianness.
6419 2013-02-04  David S. Miller  <davem@davemloft.net>
6421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6423 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
6425         [BZ #13550]
6426         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6427         (__ubp_memchr): Remove prototype.
6428         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6429         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6430         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6431         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6432         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6433         Remove alias.
6434         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6435         (__ubp_memchr): Likewise.
6436         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6437         (__ubp_memchr): Likewise.
6438         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6439         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6440         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6441         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6442         CHECK_STRING.
6443         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6444         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6445         (__getcwd): Do not use CHECK_STRING.
6446         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6447         <bp-checks.h>.
6448         (__real_chown): Do not use CHECK_STRING.
6449         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6450         <bp-checks.h>.
6451         (fchownat): Do not use CHECK_STRING.
6452         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6453         CHECK_STRING.
6454         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6455         <bp-checks.h>.
6456         (__lchown): Do not use CHECK_STRING.
6457         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6458         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6459         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6460         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6462         include <bp-checks.h>.
6463         (truncate64): Do not use CHECK_STRING.
6464         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6465         <bp-checks.h>.
6466         (__real_chown): Do not use CHECK_STRING.
6467         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6468         <bp-checks.h>.
6469         (__lchown): Do not use CHECK_STRING.
6470         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6471         <bp-checks.h>.
6472         (__chown): Do not use CHECK_STRING.
6473         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6474         <bp-checks.h>.
6475         (truncate64): Do not use CHECK_STRING.
6476         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6477         Likewise.
6478         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6479         (__xmknod): Do not use CHECK_STRING.
6480         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6481         <bp-checks.h>.
6482         (__xmknodat): Do not use CHECK_STRING.
6483         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6484         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6486 2013-02-04  Andreas Schwab  <schwab@suse.de>
6488         [BZ #14142]
6489         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6490         * include/netdb.h: Likewise for h_errno.
6491         * elf/tst-stackguard1.c: Include <tls.h>.
6493 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6495         * elf/link.h (struct link_map): Extend the l_addr comment.
6496         * include/link.h (struct link_map): Likewise.
6498 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
6500         [BZ #13550]
6501         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6502         (BOUNDED_1): Remove macro.
6503         * debug/backtrace.c: Don't include <bp-checks.h>.
6504         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6505         (__backtrace): Likewise.
6506         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6507         <bp-checks.h>.
6508         (__backtrace): Don't use BOUNDED_1.
6509         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6510         <bp-checks.h>.
6511         (__backtrace): Don't use BOUNDED_1.
6512         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6513         (__backtrace): Don't use BOUNDED_1.
6514         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6515         (shmat): Don't use BOUNDED_N.
6517 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
6519         [BZ #13550]
6520         * sysdeps/generic/bp-start.h: Remove file.
6521         * csu/libc-start.c: Don't include <bp-start.h>.
6522         (LIBC_START_MAIN): Set up __environ directly instead of using
6523         INIT_ARGV_and_ENVIRON.
6524         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6525         <bp-start.h>.
6527         [BZ #13550]
6528         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6529         definitions.
6530         (CHECK_FCNTL): Likewise.
6531         (CHECK_N_PAGES): Likewise.
6533         [BZ #13550]
6534         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6535         definitions.
6536         (CHECK_SIGSET_NULL_OK): Likewise.
6537         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6538         <bp-checks.h>.
6539         (sigpending): Don't use CHECK_SIGSET.
6540         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6541         <bp-checks.h>.
6542         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6543         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6544         <bp-checks.h>.
6545         (do_sigsuspend): Don't use CHECK_SIGSET.
6546         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6547         use CHECK_SIGSET.
6548         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6549         (do_sigwait): Don't use CHECK_SIGSET.
6550         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6551         use CHECK_SIGSET.
6552         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6553         include <bp-checks.h>.
6554         (sigpending): Don't use CHECK_SIGSET.
6555         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6556         include <bp-checks.h>.
6557         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6558         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6559         <bp-checks.h>.
6560         (sigpending): Don't use CHECK_SIGSET.
6561         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6562         <bp-checks.h>.
6563         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6565         [BZ #13550]
6566         * sysdeps/generic/bp-semctl.h: Remove file.
6567         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6568         <bp-checks.h> and <bp-semctl.h>.
6569         (__old_semctl): Don't use CHECK_SEMCTL.
6570         (__new_semctl): Likewise.
6571         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6572         and <bp-semctl.h>.
6573         (__old_semctl): Don't use CHECK_SEMCTL.
6574         (__new_semctl): Likewise.
6575         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6576         <bp-checks.h> and <bp-semctl.h>.
6577         (__old_semctl): Don't use CHECK_SEMCTL.
6578         (__new_semctl): Likewise.
6579         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6580         <bp-checks.h> and <bp-semctl.h>.
6581         (semctl): Don't use CHECK_SEMCTL.
6583         [BZ #13550]
6584         * Makerules (elide-bp-thunks): Remove variable.
6585         (elide-routines.oS): Don't use $(elide-bp-thunks).
6586         (elide-routines.os): Likewise.
6587         (elide-routines.o): Likewise.
6588         (elide-routines.op): Likewise.
6589         (elide-routines.og): Likewise.
6590         (objects): Don't use $(bp-thunks).
6591         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6592         include.
6593         (common-generated): Do not add s-proto-bp.d.
6594         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6595         (int): Likewise.
6596         (typ): Likewise.
6597         Do not generate makefile rules for bounded-pointer thunks.
6598         * sysdeps/generic/bp-thunks.h: Remove file.
6599         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6600         * sysdeps/unix/s-proto-bp.S: Likewise.
6602         [BZ #15062]
6603         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6604         parts of result separately when argument is not close to line from
6605         -i to i and one part of argument is small.
6606         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6607         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6608         * math/libm-test.inc (cacos_test): Add more tests.
6609         (casin_test): Likewise.
6610         (casinh_test): Likewise.
6611         * sysdeps/i386/fpu/libm-test-ulps: Update.
6612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6614 2013-01-31  David S. Miller  <davem@davemloft.net>
6616         * po/de.po: Update from translation team.
6618 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
6620         * time/tzfile.c: Include stdint.h for SIZE_MAX.
6622 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
6624         * configure.in (_AC_PROG_CC_C89): New definition.
6625         * configure: Regenerate.
6627         * configure.in (AC_PROG_CPP): New definition.
6628         * configure: Regenerate.
6630 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6632         * debug/tst-backtrace.h: New file.
6633         * debug/tst-backtrace2.c: Include tst-backtrace.h.
6634         (ret): Remove variable.
6635         (x): Likewise.
6636         (FAIL): Remove macro.
6637         (NO_INLINE): Likewise.
6638         (fn1): Use match function instead of strstr.
6639         * debug/tst-backtrace3.c: Include tst-backtrace.h.
6640         (ret): Remove variable.
6641         (x): Likewise.
6642         (FAIL): Remove macro.
6643         (NO_INLINE): Likewise.
6644         (fn): Use match function instead of strstr.
6645         * debug/tst-backtrace4.c: Include tst-backtrace.h.
6646         (ret): Remove variable.
6647         (x): Likewise.
6648         (FAIL): Remove macro.
6649         (NO_INLINE): Likewise.
6650         (handle_signal): Use match function instead of strstr.
6651         * debug/tst-backtrace5.c: Include tst-backtrace.h.
6652         (ret): Remove variable.
6653         (x): Likewise.
6654         (FAIL): Remove macro.
6655         (NO_INLINE): Likewise.
6656         (handle_signal): Use match function instead of strstr.
6658 2013-01-23  Roland McGrath  <roland@hack.frob.com>
6660         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6662 2013-01-23  David S. Miller  <davem@davemloft.net>
6664         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6665         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6666         argument of CAS if possible.
6667         * sysdeps/sparc/sparc64/bits/atomic.h
6668         (__arch_compare_and_exchange_val_32_acq): Likewise.
6669         (__arch_compare_and_exchange_val_64_acq): Likewise.
6671 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
6673         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6674         * sysdeps/posix/ulimit.c: ... this.
6675         Include <limits.h>.
6676         * sysdeps/unix/bsd/ulimit.c: Remove file.
6678 2013-01-23  Adam Conrad  <adconrad@0c3.net>
6680         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6681         (LDFLAGS-tst-array5): Likewise.
6683 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6685         [BZ #15036]
6686         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6687         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6688         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6689         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6691 2013-01-21  David S. Miller  <davem@davemloft.net>
6693         * sysdeps/sparc/backtrace.c: New file.
6694         * sysdeps/sparc/sparc32/backtrace.h: New file.
6695         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6696         * sysdeps/sparc/sparc64/backtrace.h: New file.
6697         * sysdeps/sparc/sparc64/backtrace.c: Delete.
6698         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6699         -funwind-tables.
6701 2013-01-21  Andreas Schwab  <schwab@suse.de>
6703         [BZ #15020]
6704         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6705         closed its stdout.
6707 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
6709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6710         "mpa2.h".
6711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6713 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
6714             Mark Mitchell  <mark@codesourcery.com>
6715             Tom de Vries  <tom@codesourcery.com>
6716             Paul Pluzhnikov  <ppluzhnikov@google.com>
6718         * debug/tst-backtrace2.c: New file.
6719         * debug/tst-backtrace3.c: Likewise.
6720         * debug/tst-backtrace4.c: Likewise.
6721         * debug/tst-backtrace5.c: Likewise.
6722         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6723         (CFLAGS-tst-backtrace3.c): Likewise.
6724         (CFLAGS-tst-backtrace4.c): Likewise.
6725         (CFLAGS-tst-backtrace5.c): Likewise.
6726         (LDFLAGS-tst-backtrace2): Likewise.
6727         (LDFLAGS-tst-backtrace3): Likewise.
6728         (LDFLAGS-tst-backtrace4): Likewise.
6729         (LDFLAGS-tst-backtrace5): Likewise.
6730         (tests): Add new tests tst-backtrace2, tst-backtrace3,
6731         tst-backtrace4 and tst-backtrace5.
6733 2013-01-18  Anton Blanchard  <anton@samba.org>
6734             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6736         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6737         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6738         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6739         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6741         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6742         "+r" and remove output regs list as redundant.  Add explicit inline
6743         asm to specify register of return val to work around compiler codegen
6744         bug.  Remove (int) cast on return value.  Add return type parameter to
6745         use in macro so that this macro does not truncate return value for
6746         64-bit values.
6747         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6748         pass to INTERNAL_VSYSCALL_NCS.
6749         (INLINE_VSYSCALL): Add 'long int' as return type to
6750         INTERNAL_VSYSCALL_NCS macro invocation.
6751         (INTERNAL_VSYSCALL): Add 'long int' as return type to
6752         INTERNAL_VSYSCALL_NCS macro invocation.
6753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6755 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6757         [BZ #14496]
6758         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6759         Fix application of SIMD FP exception mask.
6761         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6762         mp_no from a power of two.
6763         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6764         __mpexp_twomm1.  Use __pow_mp.
6766         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6767         multiplication.
6769 2013-01-17  David S. Miller  <davem@davemloft.net>
6771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6773 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
6775         [BZ #15023]
6776         * include/complex.h: Condition contents on [!_COMPLEX_H].
6777         (__kernel_casinhf): New prototype.
6778         (__kernel_casinh): Likewise.
6779         (__kernel_casinhl): Likewise.
6780         * math/Makefile (libm_calls): Add k_casinh.
6781         * math/k_casinh.c: New file.
6782         * math/k_casinhf.c: Likewise.
6783         * math/k_casinhl.c: Likewise.
6784         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6785         finite nonzero arguments.
6786         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6787         finite nonzero arguments.
6788         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6789         finite nonzero arguments.
6790         * math/s_casinh.c: Do not include <float.h>.
6791         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6792         * math/s_casinhf.c: Do not include <float.h>.
6793         (__casinhf): Move code for finite nonzero arguments to
6794         k_casinhf.c.
6795         * math/s_casinhl.c: Do not include <float.h>.
6796         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6797         redefine.
6798         (__casinhl): Move code for finite nonzero arguments to
6799         k_casinhl.c.
6800         * math/libm-test.inc (cacos_test): Add more tests.
6801         * sysdeps/i386/fpu/libm-test-ulps: Update.
6802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6804 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
6806         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6807         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6808         [!HAVE_MREMAP]: Remove [defined linux] case.
6809         * malloc/arena.c: Do not include <malloc-sysdep.h>.
6811 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6813         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6815 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
6817         * elf/elf.h (R_386_SIZE32): New relocation.
6818         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6819         R_386_SIZE32.
6820         (elf_machine_rela): Likewise.
6821         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6822         R_X86_64_SIZE64 and R_X86_64_SIZE32.
6824 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
6826         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6827         (FP_FAST_FMA): Do not define.
6828         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6829         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6830         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6831         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6832         !_SOFT_FLOAT]: Likewise.
6833         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6834         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6835         value.
6836         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6837         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6838         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6839         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6840         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6841         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6842         file.
6844 2013-01-16  Andreas Schwab  <schwab@suse.de>
6846         [BZ #14327]
6847         * include/stdlib.h (__mktemp): Add declaration.
6848         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6849         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6851 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6853         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6854         definitions.
6855         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6856         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6857         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6858         definitions here.
6859         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6860         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6861         definitions.
6862         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6863         and ONE.
6864         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6865         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6866         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6867         definitions.
6868         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6869         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6870         definitions.
6871         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6873         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6875 2013-01-15  David S. Miller  <davem@davemloft.net>
6877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6878         trunc{,f} to libm-sysdep_routes.
6879         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6881         file.
6882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6884         file.
6885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6886         file.
6887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6889         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6890         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6891         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6892         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6893         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6894         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6897         nearbyint{,f} to libm-sysdep_routes.
6898         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6900         New file.
6901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6902         file.
6903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6904         New file.
6905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6906         file.
6907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6909         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6910         file.
6911         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6912         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6913         file.
6914         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6915         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6916         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6918         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6919         libc_feholdexcept and libc_fesetenv.
6921 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
6923         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6925 2013-01-14  David S. Miller  <davem@davemloft.net>
6927         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6928         (SPARC_ASM_VIS2_IFUNC): Likewise.
6929         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6931         use of 'siam' instruction.
6932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6933         Likewise.
6934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6935         Likewise.
6936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6937         Likewise.
6938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6939         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6943         file.
6944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6945         file.
6946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6947         file.
6948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6949         file.
6950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6955         new VIS2 routines.
6956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6959         Likewise.
6960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6961         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6962         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6963         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6965         routines to libm-sysdep_routines.
6966         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6969         fdim/fdimf to libm-sysdep_routines.
6970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6971         file.
6972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6974         file.
6975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6978         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6979         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6980         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6981         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6983 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6985         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6986         to optimize copies.
6988         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6993         local variable MPTWO.
6994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6995         Likewise.
6997 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
6999         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7000         GLOB_NOESCAPE.
7002 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7004         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7006 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7008         * manual/pattern.texi (glob_t): Document gl_flags.
7009         (glob64_t): Likewise.
7011 2013-01-11  David S. Miller  <davem@davemloft.net>
7013         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7014         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7015         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7016         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7017         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7018         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7019         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7020         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7021         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7022         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7023         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7024         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7025         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7027         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7028         sparc V9 rather than using V8 code.
7029         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7030         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7032         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7033         Move to...
7034         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7035         Here.
7037 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7039         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7040         not in the main loop.
7041         * configure: Regenerated.
7043 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7045         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7046         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7047         to just #else.
7048         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7049         [!__GLIBC_HAVE_LONG_LONG] case.
7050         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7051         condition to just #else.
7052         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7053         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7054         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7055         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7056         unconditional.
7057         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7058         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7059         #elif condition to just #else.
7060         * sysdeps/unix/sysv/linux/sys/sysmacros.h
7061         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7062         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7063         #elif condition to just #else.
7065 2013-01-11  Steve Ellcey  <sellcey@mips.com>
7067         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7068         (EF_MIPS_ARCH_64): Fix value.
7069         (EF_MIPS_ARCH_32R2): New.
7070         (EF_MIPS_ARCH_64R2): New.
7072 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
7074         * Makeconfig (+link-pie-before-libc): New.
7075         (+link-pie-after-libc): Likewise.
7076         (+link-pie-tests): Likewise.
7077         (+link-pie): Rewritten.
7078         (link-before-libc): Remove $(config-LDFLAGS).
7079         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7080         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7081         (config-LDFLAGS): Renamed to ...
7082         (rtld-LDFLAGS): This.
7083         (rtld-tests-LDFLAGS): New macro.
7084         (link-libc-rpath-link): Likewise.
7085         (link-libc-tests-rpath-link): Likewise.
7086         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7087         (link-libc): Prepand $(link-libc-rpath-link).
7088         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7089         (test-program-prefix): New macro.
7090         (test-via-rtld-prefix): Likewise.
7091         (test-program-cmd): Likewise.
7092         (host-test-program-cmd): Likewise.
7093         * Makefile ($(common-objpfx)testrun.sh): Replace
7094         $(run-program-prefix) with $(test-program-prefix).
7095         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7096         $(rtld-LDFLAGS).
7097         ($(common-objpfx)shlib.lds): Likewise.
7098         (build-module-helper): Likewise.
7099         ($(common-objpfx)format.lds): Likewise.
7100         * Rules (binaries-pie-tests): New.
7101         (binaries-pie-notests): Likewise.
7102         (binaries-pie): Rewritten.
7103         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7104         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7105         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7106         (make-test-out): Replace $(host-built-program-cmd) with
7107         $(host-test-program-cmd).
7108         * config.make.in (build-hardcoded-path-in-tests): New variable.
7109         * configure.in (--enable-hardcoded-path-in-tests): New configure
7110         option.
7111         (hardcoded_path_in_tests): New AC_SUBST.
7112         * configure: Regenerated.
7113         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7114         $(built-program-cmd) with $(test-program-cmd).
7115         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7116         (test_program_cmd): This.
7117         * elf/Makefile ($(objpfx)order.out): Run test with
7118         $(test-program-prefix).
7119         ($(objpfx)order2.out): Likewise.
7120         ($(objpfx)tst-initorder.out): Likewise.
7121         ($(objpfx)tst-initorder2.out): Likewise.
7122         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7123         $(test-program-cmd).
7124         ($(objpfx)tst-array1-static.out): Likewise.
7125         ($(objpfx)tst-array2.out): Likewise.
7126         ($(objpfx)tst-array3.out): Likewise.
7127         ($(objpfx)tst-array4.out): Likewise.
7128         ($(objpfx)tst-array5.out): Likewise.
7129         ($(objpfx)tst-array5-static.out): Likewise.
7130         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7131         $(test-program-cmd).
7132         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7133         $(run-program-prefix) with $(test-program-prefix).
7134         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7135         (test_program_prefix): This.
7136         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7137         $(run-program-prefix) with $(test-program-prefix).
7138         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7139         (test_program_prefix): This.
7140         * iconvdata/tst-tables.sh: Likewise.
7141         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7142         $(run-program-prefix) with $(test-program-prefix).
7143         ($(objpfx)tst-translit.out): Likewise.
7144         ($(objpfx)tst-gettext2.out): Likewise.
7145         ($(objpfx)tst-gettext4.out): Likewise.
7146         ($(objpfx)tst-gettext6.out): Likewise.
7147         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7148         (test_program_prefix): This.
7149         * intl/tst-gettext2.sh: Likewise.
7150         * intl/tst-gettext4.sh  Likewise.
7151         * intl/tst-gettext6.sh: Likewise.
7152         * intl/tst-translit.sh: Likewise.
7153         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7154         with $(test-program-cmd).
7155         * libio/Makefile ($(objpfx)test-freopen.out): Replace
7156         $(run-program-prefix) with $(test-program-prefix).
7157         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7158         (test_program_prefix): This.
7159         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7160         $(run-program-prefix) with $(test-program-prefix).
7161         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7162         (test_program_prefix): This.
7163         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7164         * posix/Makefile ($(objpfx)globtest.out): Replace
7165         $(run-via-rtld-prefix) and $(test-wrapper) with
7166         $(test-program-prefix) and $(test-via-rtld-prefix).
7167         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7168         $(test-program-prefix).
7169         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7170         $(host-test-program-cmd).
7171         (tst-spawn-ARGS): Likewise.
7172         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7173         $(test-program-prefix).
7174         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7175         (test_via_rtld_prefix): This.
7176         (test_wrapper): Renamed to ...
7177         (test_program_prefix): This.
7178         (run_program_prefix): Replaced by test_program_prefix.
7179         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7180         (test_program_prefix): This.
7181         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7182         with $(host-test-program-cmd).
7183         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7184         $(run-program-prefix) with $(test-program-prefix).
7185         ($(objpfx)tst-printf.out): Likewise.
7186         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7187         $(test-program-cmd).
7188         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7189         (test_program_prefix): This.
7190         * stdio-common/tst-unbputc.sh: Likewise.
7191         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7192         $(run-program-prefix) with $(test-program-prefix).
7193         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7194         (test_program_prefix): This.
7195         * string/Makefile ($(objpfx)tst-svc.out):  Replace
7196         $(built-program-cmd) with $(test-program-cmd).
7198 2013-01-11  Andreas Jaeger  <aj@suse.de>
7200         [BZ #15003]
7201         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7202         value. Sync with Linux 3.7.
7204 2013-01-10  David S. Miller  <davem@davemloft.net>
7206         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7207         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7208         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7210 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7212         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7213         never set.
7214         * configure: Regenerated.
7216 2013-01-10  David S. Miller  <davem@davemloft.net>
7218         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7219         sparc V9 rather than using V8 code.
7220         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7221         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7223 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7225         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7226         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7227         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7228         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7229         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7230         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7231         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7232         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7233         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7234         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7235         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7236         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7237         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7238         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7239         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7240         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7241         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7242         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7243         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7244         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7245         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7246         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7247         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7248         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7249         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7250         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7251         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7253 2013-01-10  David S. Miller  <davem@davemloft.net>
7255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7257 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7259         * posix/Makefile (tests-static): New variable.
7260         (tests): Add $(tests-static).
7261         (tst-exec-static-ARGS): New variable.
7262         (tst-spawn-static-ARGS): Likewise.
7263         * posix/tst-exec-static.c: New file.
7264         * posix/tst-spawn-static.c: Likewise.
7265         * posix/tst-exec.c: Support run directly.
7266         * posix/tst-spawn.c: Likewise.
7268 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
7270         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7271         long.
7272         * math/bits/mathcalls.h (llrint): Likewise.
7273         (llround): Likewise.
7274         * stdlib/stdlib.h (struct drand48_data): Likewise.
7275         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7276         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7277         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7278         Likewise.
7279         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7280         Likewise.
7281         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7282         (elf_greg_t): Likewise.
7283         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7284         (__jmp_buf): Likewise.
7285         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7286         definitions.
7287         (llrint): Likewise, for all definitions.
7288         (llrintl): Likewise.
7290         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7291         Remove [__GNUC__] condition.
7292         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7293         condition to just [__USE_ISOC99].
7294         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7296 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7298         [BZ #14200]
7299         * sysdeps/unix/sysv/linux/x86/bits/environments.h
7300         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7301         defined.
7302         (_POSIX_V6_ILP32_OFF32): Likewise.
7303         (_XBS5_ILP32_OFF32): Likewise.
7304         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7305         (__ILP32_OFFBIG_LDFLAGS): Likewise.
7307 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7309         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7312         doubles __mpexp_twomm1.  Adjust usage.
7313         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7314         Remove.
7316 2013-01-10  Andreas Schwab  <schwab@suse.de>
7318         [BZ #14964]
7319         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7320         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7322 2013-01-09  David S. Miller  <davem@davemloft.net>
7324         [BZ #15003]
7325         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7326         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7327         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7328         TCP_FASTOPEN): Define.
7329         (tcp_repair_opt): New structure.
7330         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7331         enum values.
7332         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7333         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7334         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7335         (tcp_cookie_transactions): New structure.
7337 2013-01-09  Anton Blanchard  <anton@samba.org>
7339         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7340         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7341         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7342         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7344 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
7346         * include/features.h (__USE_ANSI): Remove.
7348 2013-01-09  Roland McGrath  <roland@hack.frob.com>
7350         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7352         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7354 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7356         * sysdeps/s390/fpu/libm-test-ulps: Update.
7358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7360         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7361         (__acr): Likewise.
7362         (__cpy): Likewise.
7363         (norm): Likewise.
7364         (denorm): Likewise.
7365         (__mp_dbl): Likewise.
7366         (__dbl_mp): Likewise.
7367         (add_magnitudes): Likewise.
7368         (sub_magnitudes): Likewise.
7369         (__add): Likewise.
7370         (__sub): Likewise.
7371         (__mul): Likewise.
7372         (__inv): Likewise.
7373         (__dvd): Likewise.
7374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7375         (__acr): Likewise.
7376         (__cpy): Likewise.
7377         (norm): Likewise.
7378         (denorm): Likewise.
7379         (__mp_dbl): Likewise.
7380         (__dbl_mp): Likewise.
7381         (add_magnitudes): Likewise.
7382         (sub_magnitudes): Likewise.
7383         (__add): Likewise.
7384         (__sub): Likewise.
7385         (__mul): Likewise.
7386         (__inv): Likewise.
7387         (__dvd): Likewise.
7388         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7389         (__acr): Likewise.
7390         (__cpy): Likewise.
7391         (norm): Likewise.
7392         (denorm): Likewise.
7393         (__mp_dbl): Likewise.
7394         (__dbl_mp): Likewise.
7395         (add_magnitudes): Likewise.
7396         (sub_magnitudes): Likewise.
7397         (__add): Likewise.
7398         (__sub): Likewise.
7399         (__mul): Likewise.
7400         (__inv): Likewise.
7401         (__dvd): Likewise.
7403 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
7405         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7406         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7407         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7408         2 && __USE_EXTERN_INLINES]: Likewise.
7410 2013-01-08  Andreas Jaeger  <aj@suse.de>
7412         [BZ# 14985]
7413         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7414         Remove.
7415         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7416         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7418 2013-01-07  Anton Blanchard  <anton@samba.org>
7420         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7421         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7422         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7423         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7424         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7425         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7426         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7427         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7429         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7430         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7431         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7432         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7433         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7434         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7435         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7436         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7437         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7438         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7439         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7440         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7441         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7442         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7443         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7444         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7445         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7446         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7447         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7448         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7449         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7450         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7452         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7453         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7454         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7455         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7456         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7457         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7458         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7459         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7460         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7461         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7462         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7464 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
7466         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7467         (__MALLOC_PMT): Likewise.
7468         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7469         [__GNUC__], only on [_LIBC].
7470         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7471         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7472         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7473         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7474         forward declaration.
7475         (realloc_hook_ini): Likewise.
7476         (memalign_hook_ini): Likewise.
7477         (__libc_memalign): Do not use __MALLOC_PMT in variable
7478         declaration.
7479         (__libc_valloc): Likewise.
7480         (__libc_pvalloc): Likewise.
7481         (__libc_calloc): Likewise.
7482         (__posix_memalign): Likewise.
7484         [BZ #14996]
7485         * math/s_casinh.c: Include <float.h>.
7486         (__casinh): Do not do computation with squaring and square root
7487         for large arguments.
7488         * math/s_casinhf.c: Include <float.h>.
7489         (__casinhf): Do not do computation with squaring and square root
7490         for large arguments.
7491         * math/s_casinhl.c: Include <float.h>.
7492         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7493         (__casinhl): Do not do computation with squaring and square root
7494         for large arguments.
7495         * math/libm-test.inc (casin_test): Add more tests.
7496         (casinh_test): Likewise.
7497         * sysdeps/i386/fpu/libm-test-ulps: Update.
7498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7500 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
7502         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7503         (__x86_64_raw_data_cache_size): Likewise.
7504         (__x86_64_data_cache_size_half): Likewise.
7505         (__x86_64_raw_data_cache_size_half): Likewise.
7506         (__x86_64_shared_cache_size): Likewise.
7507         (__x86_64_raw_shared_cache_size): Likewise.
7508         (__x86_64_shared_cache_size_half): Likewise.
7509         (__x86_64_raw_shared_cache_size_half): Likewise.
7510         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7511         to ...
7512         (__x86_data_cache_size): This.
7513         (__x86_64_raw_data_cache_size): Renamed to ...
7514         (__x86_raw_data_cache_size): This.
7515         (__x86_64_data_cache_size_half): Renamed to ...
7516         (__x86_data_cache_size_half): This.
7517         (__x86_64_raw_data_cache_size_half): Renamed to ...
7518         (__x86_raw_data_cache_size_half): This.
7519         (__x86_64_shared_cache_size): Renamed to ...
7520         (__x86_shared_cache_size): This.
7521         (__x86_64_raw_shared_cache_size): Renamed to ...
7522         (__x86_raw_shared_cache_size): This.
7523         (__x86_64_shared_cache_size_half): Renamed to ...
7524         (__x86_shared_cache_size_half): This.
7525         (__x86_64_raw_shared_cache_size_half): Renamed to ...
7526         (__x86_raw_shared_cache_size_half): This.
7527         * sysdeps/x86_64/memcpy.S: Updated.
7528         * sysdeps/x86_64/memset.S: Likewise.
7529         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7530         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7531         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7533 2013-01-04  David S. Miller  <davem@davemloft.net>
7535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7537 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
7539         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7540         1 to avoid redefinition warning.
7541         (__USE_GNU): Don't define.
7542         (init_signaling_nan): Protoize.
7544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7546 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7548         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7550         (__cpymn): Likewise.
7551         (norm): Remove commented code.
7552         (denorm): Likewise.
7553         (__mp_dbl): Likewise.
7554         (__inv): Likewise.
7555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7556         (__cpymn): Likewise.
7557         (norm): Remove commented code.
7558         (denorm): Likewise.
7559         (__mp_dbl): Likewise.
7560         (__inv): Likewise.
7562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7563         mp_no value for 1.0 and 2.0.
7564         (norm): Use RADIXI instead of radixi.d.
7565         (denorm): Likewise.
7566         (__mul): Use 0.0 instead of zero.d.
7567         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7568         mp_no value for 1.0 and 2.0.
7569         (norm): Use RADIXI instead of radixi.d.
7570         (denorm): Likewise.
7571         (__mul): Use 0.0 instead of zero.d.
7573 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
7575         [BZ #14994]
7576         * math/s_casinh.c (__casinh): Reduce finite argument to first
7577         quadrant then set signs of results at the end.
7578         * math/s_casinhf.c (__casinhf): Likewise.
7579         * math/s_casinhl.c (__casinhl): Likewise.
7580         * math/libm-test.inc (casin_test): Add more tests.
7581         (casinh_test): Likewise.
7582         * sysdeps/i386/fpu/libm-test-ulps: Update.
7583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7585 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7587         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7589         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7591         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7592         declarations.
7593         (denorm): Likewise.
7594         (__mp_dbl): Likewise.
7595         (__inv): Likewise.
7597         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7598         and adjust the header comment.
7600         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7601         variable name from declaration.
7603 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
7605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7606         Initialize COMMON_CPUID_INDEX_7 element.
7607         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7608         (CPUID_RTM): Likewise.
7609         (HAS_RTM): Likewise.
7610         (COMMON_CPUID_INDEX_7): New enum.
7612 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
7614         [BZ #14981]
7615         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7616         size is zero, record memory as freed.
7618 2013-01-03  Andreas Jaeger  <aj@suse.de>
7620         * po/ia.po: Add new Interlingua translation.
7622 2012-01-03  Allan McRae  <allan@archlinux.org>
7624         * locale/programs/localedef.c: Fix description of '--posix' flag.
7626 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
7628         * NEWS: Update dates in second copyright notice.
7629         * README: Update copyright dates in example.
7630         * manual/libc.texinfo: Update copyright dates.
7631         * scripts/test-installation.pl: Update copyright date in --version
7632         output.
7634         * hurd/ctty-input.c: Fix copyright notice formatting.
7635         * hurd/ctty-output.c: Likewise.
7636         * hurd/dtable.c: Likewise.
7637         * hurd/hurd-raise.c: Likewise.
7638         * hurd/hurdprio.c: Likewise.
7639         * hurd/msgportdemux.c: Likewise.
7640         * misc/sys/file.h: Likewise.
7641         * misc/sys/ioctl.h: Likewise.
7642         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7643         * sysdeps/mach/hurd/chdir.c: Likewise.
7644         * sysdeps/mach/hurd/fchdir.c: Likewise.
7645         * sysdeps/mach/hurd/rename.c: Likewise.
7646         * sysdeps/mach/hurd/rmdir.c: Likewise.
7647         * sysdeps/mach/hurd/seekdir.c: Likewise.
7648         * sysdeps/mach/hurd/setsid.c: Likewise.
7649         * sysdeps/posix/wait3.c: Likewise.
7651         * All files with FSF copyright notices: Update copyright dates
7652         using scripts/update-copyrights.
7653         * intl/plural.c: Regenerated.
7654         * locale/programs/charmap-kw.h: Likewise.
7655         * locale/programs/locfile-kw.h: Likewise.
7657 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7659         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7660         four values.
7662         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7663         calculation loop and add branch prediction.
7665         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7666         check access beyond bounds of m1np.
7668         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7669         MPTWO.
7670         (__inv): Remove local variable MPTWO to use the global
7671         constant.
7672         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7673         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7674         variable MPTWO.
7675         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7676         MP3HALFS static const.
7678 2013-01-01  David S. Miller  <davem@davemloft.net>
7680         * po/ca.po: Update from translation team.
7682 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
7684         * scripts/update-copyrights: New file.
7685         * Makeconfig: Reformat copyright notice.
7686         * ctype/ctype.h: Likewise.
7687         * debug/swprintf_chk.c: Likewise.
7688         * elf/dl-cache.c: Likewise.
7689         * elf/dl-debug.c: Likewise.
7690         * elf/dl-object.c: Likewise.
7691         * grp/initgroups.c: Likewise.
7692         * hurd/Makefile: Likewise.
7693         * hurd/hurd/signal.h: Likewise.
7694         * hurd/hurdfault.c: Likewise.
7695         * hurd/hurdioctl.c: Likewise.
7696         * hurd/hurdlookup.c: Likewise.
7697         * hurd/intr-msg.c: Likewise.
7698         * iconv/gconv_open.c: Likewise.
7699         * libio/swprintf.c: Likewise.
7700         * locale/lc-ctype.c: Likewise.
7701         * locale/nl_langinfo.c: Likewise.
7702         * mach/Machrules: Likewise.
7703         * mach/Makefile: Likewise.
7704         * malloc/obstack.h: Likewise.
7705         * manual/Makefile: Likewise.
7706         * manual/tsort.awk: Likewise.
7707         * misc/bits/stab.def: Likewise.
7708         * nis/nis_print_group_entry.c: Likewise.
7709         * nis/nis_table.c: Likewise.
7710         * nis/nss_compat/compat-pwd.c: Likewise.
7711         * nis/nss_compat/compat-spwd.c: Likewise.
7712         * po/Makefile: Likewise.
7713         * posix/fnmatch.c: Likewise.
7714         * posix/regex.h: Likewise.
7715         * resolv/Makefile: Likewise.
7716         * resolv/nss_dns/dns-network.c: Likewise.
7717         * resolv/res_hconf.c: Likewise.
7718         * scripts/gen-sorted.awk: Likewise.
7719         * soft-fp/soft-fp.h: Likewise.
7720         * stdio-common/printf.h: Likewise.
7721         * stdlib/monetary.h: Likewise.
7722         * stdlib/random.c: Likewise.
7723         * stdlib/random_r.c: Likewise.
7724         * sysdeps/generic/Makefile: Likewise.
7725         * sysdeps/gnu/Makefile: Likewise.
7726         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7727         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7728         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7729         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7730         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7732         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7733         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7734         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7735         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7736         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7737         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7738         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7739         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7740         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7741         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7742         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7743         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7744         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7745         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7746         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7747         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7748         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7749         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7750         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7751         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7752         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7753         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7754         * sysdeps/mach/hurd/errnos.awk: Likewise.
7755         * sysdeps/mach/hurd/fork.c: Likewise.
7756         * sysdeps/mach/hurd/getcwd.c: Likewise.
7757         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7758         * sysdeps/mach/hurd/mmap.c: Likewise.
7759         * sysdeps/mach/hurd/utimes.c: Likewise.
7760         * sysdeps/mach/hurd/xmknod.c: Likewise.
7761         * sysdeps/posix/profil.c: Likewise.
7762         * sysdeps/posix/readdir_r.c: Likewise.
7763         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7764         * sysdeps/powerpc/bits/setjmp.h: Likewise.
7765         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7766         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7768         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7769         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7770         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7772         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7773         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7774         * sysdeps/pthread/lio_listio.c: Likewise.
7775         * sysdeps/sparc/dl-procinfo.h: Likewise.
7776         * sysdeps/unix/i386/sysdep.S: Likewise.
7777         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7778         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7779         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7780         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7782         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7783         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7784         * sysdeps/unix/sysv/linux/speed.c: Likewise.
7785         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7786         * sysdeps/wordsize-32/divdi3.c: Likewise.
7787         * time/sys/time.h: Likewise.
7788         * wcsmbs/Makefile: Likewise.
7790 2013-01-01  David S. Miller  <davem@davemloft.net>
7792         * po/fr.po: Update from translation team.
7794         * catgets/gencat.c: Update copyright year.
7795         * csu/version.c: Likewise.
7796         * debug/catchsegv.sh: Likewise.
7797         * debug/pcprofiledump.c: Likewise.
7798         * debug/xtrace.sh: Likewise.
7799         * elf/ldconfig.c: Likewise.
7800         * elf/ldd.bash.in: Likewise.
7801         * elf/pldd.c: Likewise.
7802         * elf/sotruss.ksh: Likewise.
7803         * elf/sprof.c: Likewise.
7804         * iconv/iconv_prog.c: Likewise.
7805         * iconv/iconvconfig.c: Likewise.
7806         * locale/programs/locale.c: Likewise.
7807         * locale/programs/localedef.c: Likewise.
7808         * login/programs/pt_chown.c: Likewise.
7809         * malloc/memusage.sh: Likewise.
7810         * malloc/memusagestat.c: Likewise.
7811         * malloc/mtrace.pl: Likewise.
7812         * nscd/nscd.c: Likewise.
7813         * nss/getent.c: Likewise.
7814         * nss/makedb.c: Likewise.
7815         * posix/getconf.c: Likewise.
7817 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7819         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7820         numbers.
7822 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
7824         * math/bits/mathcalls.h (modf): Use __nonnull.
7826 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7828         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7829         (split): Use macro CN instead of the bare value.
7830         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7831         could be used.
7832         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7833         instead of the bare value.
7834         (power1): Likewise.
7836 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7838         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7839         __ATAN_TWOM.
7840         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7842         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7843         their values.
7844         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7845         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7846         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7847         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7849 2012-12-28  Andreas Jaeger  <aj@suse.de>
7851         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
7852         values are from Linux 3.7.
7854         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7855         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
7857 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7859         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7860         TRUE case.
7862         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7863         (norm): Likewise.
7864         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7865         variables with preprocessor constants.
7866         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7867         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7868         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7870 2012-12-27  Bruno Haible  <bruno@clisp.org>
7872         [BZ #14317]
7873         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7874         only if needed.
7876 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7878         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7879         and use variable directly.
7880         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7882         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7883         MPONE.
7884         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7885         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7886         variable MPONE.
7887         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7888         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7889         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7890         include directive.  Remove local variable MPONE.
7891         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7892         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7893         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7895 2012-12-25  David S. Miller  <davem@davemloft.net>
7897         * version.h (RELEASE): Set to "development".
7898         (VERSION): Set to "2.17.90".
7899         * NEWS: Add 2.18 section.
7901 2012-12-21  David S. Miller  <davem@davemloft.net>
7903         * po/hr.po: Update from translation team.
7905 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7907         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7909 2012-12-19  Steve Ellcey  <sellcey@mips.com>
7911         * NEWS:  Mention new memcpy for MIPS.
7913 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7915         * manual/contrib.texi (Contributors): Spelling correction.
7917 2012-12-15  David S. Miller  <davem@davemloft.net>
7919         * po/ru.po: Update from translation team.
7921 2012-12-13  David S. Miller  <davem@davemloft.net>
7923         * NEWS: Mention IFUNC testsuite enhancements.
7925         * po/pl.po: Update from translation team.
7926         * po/bg.po: Likewise.
7928         * manual/contrib.texi (Contributors): Update entries for Hongjiu
7929         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
7931 2012-12-11  David S. Miller  <davem@davemloft.net>
7933         * po/sv.po: Update from translation team.
7935         * po/vi.po: Update from translation team.
7937         * po/cs.po: Update from translation team.
7939         * po/de.po: Update from translation team.
7940         * po/eo.po: Likewise.
7941         * po/nl.po: Likewise.
7943 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7945         [BZ #14246]
7946         * manual/argp.texi (Argp Helper Functions): Move node to follow
7947         Argp Parsing State.
7949         [BZ #14872]
7950         * manual/conf.texi (Limits on File System Capacity): Mention if
7951         terminating null is included in the max size.
7953 2012-12-10  Andreas Jaeger  <aj@suse.de>
7955         * po/cs.po: Update from translation team.
7957 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7959         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7960         void pointer and cast to uintptr_t.
7961         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7962         path.
7963         * sysdeps/s390/s390-64/memcpy.S: Likewise.
7964         * sysdeps/s390/s390-64/memset.S: Likewise.
7966 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
7968         [BZ #14833]
7969         * menual/message.texi (Message Translation): Fix typos.
7970         (Helper programs for gettext): Likewise.
7972 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
7974         [BZ #14898]
7975         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7976         Change to -1.
7978 2012-12-07  David S. Miller  <davem@davemloft.net>
7980         * po/libc.pot: Update.
7982 2012-12-07  Richard Henderson  <rth@redhat.com>
7984         [BZ #10114]
7985         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7986         normal/normal case to before the switch.
7987         (_FP_DIV): Likewise.
7989 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
7990             Mike Frysinger  <vapier@gentoo.org>
7992         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7993         check for __NR_fadvise64_64.
7995 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
7997         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7998         0, not just to plain "0" as a statement.
7999         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8000         with cw.
8002 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8004         * NEWS: Use sourceware.org in Bugzilla URL.
8006 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8009         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8011         * stdio-common/tst-put-error.c (do_test): Add newline to the
8012         padded test to ensure flush.
8014 2012-12-05  Jeff Law  <law@redhat.com>
8016         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8018 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8020         * README: Don't refer to ports add-on as distributed separately.
8021         Mention AArch64 in list of systems supported in the ports add-on.
8023         * LICENSES: Add more non-FSF copyright and license notices.
8025         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8026         ((unused)).
8028         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8030         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8031         10000 as width of padded output.
8033 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8035         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8037         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8038         variable LX with __attribute__ ((unused)).
8039         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8040         Likewise.
8041         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8042         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8043         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8044         with __attribute__ ((unused)).
8046 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8048         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8050 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8052         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8053         (CFLAGS-nldbl-acos.c): New variable.
8054         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8055         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8056         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8057         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8058         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8059         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8060         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8061         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8062         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8063         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8064         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8065         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8066         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8067         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8068         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8069         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8070         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8071         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8072         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8073         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8074         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8075         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8076         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8077         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8078         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8079         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8080         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8081         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8082         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8083         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8084         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8085         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8086         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8087         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8088         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8089         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8090         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8091         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8092         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8093         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8094         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8095         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8096         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8097         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8098         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8099         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8100         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8101         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8102         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8103         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8104         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8105         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8106         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8107         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8108         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8109         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8110         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8111         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8112         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8113         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8114         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8115         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8116         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8117         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8118         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8119         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8120         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8121         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8122         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8123         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8124         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8125         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8126         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8127         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8128         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8129         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8130         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8131         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8132         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8133         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8134         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8135         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8136         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8137         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8138         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8139         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8140         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8141         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8142         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8143         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8144         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8145         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8146         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8147         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8148         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8149         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8150         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8153         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8155         [BZ #14914]
8156         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8157         whole low double instead of just low 47 bits when splitting values
8158         into two parts.
8160 2012-12-03  Allan McRae  <allan@archlinux.org>
8162         * manual/stdio.texi (Predefined Printf Handlers): Remove
8163         @hsep and @vsep usage.
8165 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
8167         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8168         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8170 2012-12-03  Jeff Law  <law@redhat.com>
8172         * time/sys/time.h (settimeofday): Do not mark TV argument
8173         as __nonnull.
8175 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
8177         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8178         when currently writing and seek to current position when not.
8179         * libio/Makefile (tests): Remove bug-fclose1.
8180         * libio/bug-fclose1.c: Delete.
8182 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
8184         * manual/arith.texi (feenableexcept): Fix typo.
8185         (fedisableexcept): Likewise.
8187 2012-11-30  Roland McGrath  <roland@hack.frob.com>
8189         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8190         second, differently-typed declaration, rather than a cast.
8192 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8194         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8195         * include/rpc/svc.h: ... here.
8197 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
8199         [BZ #13013]
8200         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8201         depending n and resplen2 to catch cases where answer
8202         equals answerp2.
8204 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
8206         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8207         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8209 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
8211         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8213 2012-11-29  Roland McGrath  <roland@hack.frob.com>
8215         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8217 2012-11-28  Jeff Law  <law@redhat.com>
8219         [BZ #13761]
8220         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8221         dataset_temporary.  Track alloca usage into alloca_used.
8222         If dataset is large allocate and release it via malloc/free.
8224 2012-06-04  Florian Weimer  <fweimer@redhat.com>
8226         [BZ #14197]
8227         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8229 2012-11-28  David S. Miller  <davem@davemloft.net>
8231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8233 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8235         [BZ #14803]
8236         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8237         of pi/2 rounded to nearest to 64 bits.
8238         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8239         nearest to 64 bits.
8240         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8241         bits.
8243 2012-11-28  Jeff Law <law@redhat.com>
8244             Martin Osvald <mosvald@redhat.com>
8246         [BZ #14889]
8247         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8248         * sunrpc/svc.c: Include time.h.
8249         (__svc_accept_failed): New function.
8250         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8251         any reason other than EINTR, call __svc_accept_failed.
8252         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8253         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8255 2012-11-28  Andreas Schwab  <schwab@suse.de>
8257         * scripts/abilist.awk: Also handle indirect functions in .opd
8258         section.
8260 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8262         [BZ #13881]
8263         * sysdeps/x86/fpu/powl_helper.c: New file.
8264         * sysdeps/x86/fpu/Makefile: Likewise.
8265         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8266         (p3): New object.
8267         (__ieee754_powl): Use __powl_helper for finite arguments except
8268         integer exponents below 8.
8269         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8270         (p3): New object.
8271         (__ieee754_powl): Use __powl_helper for finite arguments except
8272         integer exponents below 8.
8273         * math/libm-test.inc (pow_test): Add more tests and enable some
8274         previously disabled tests.
8275         * sysdeps/i386/fpu/libm-test-ulps: Update.
8276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8278 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8279             Carlos O'Donell  <carlos_odonell@mentor.com>
8281         * nss/makedb.c (is_prime): Assert that input is odd and greater
8282         than 4.  Note that fact in a comment too.
8283         (next_prime): Add 4 to input.
8285 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8287         [BZ #11741]
8288         * libio/Makefile (tests): Add test case tst-fwrite-error.
8289         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8290         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8291         * libio/tst-fwrite-error.c: New test case.
8293 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
8295         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8296         before casting to void *.
8297         * include/libc-internal.h (__pointer_type): New macro.
8298         (__integer_if_pointer_type_sub): Likewise.
8299         (__integer_if_pointer_type): Likewise.
8300         (cast_to_integer): Likewise.
8301         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8302         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8303         before casting to atomic64_t.
8304         (atomic_exchange_acq): Likewise.
8305         (__arch_exchange_and_add_body): Likewise.
8306         (__arch_add_body): Likewise.
8307         (atomic_add_negative): Likewise.
8308         (atomic_add_zero): Likewise.
8310 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
8312         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8313         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8314         (add_fdes): Likewise.
8315         (linear_search_fdes): Likewise.
8316         (binary_search_unencoded_fdes): Likewise.
8318 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
8320         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8322 2012-11-24  Adam Conrad  <adconrad@0c3.net>
8324         * configure.in: Autodetect C++ header directories.
8325         * configure: Regenerated.
8327 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
8329         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8331 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
8333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8335 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
8337         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8338         LDBL_MANT_DIG == 106]: Disable some tests.
8339         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8340         Likewise.
8341         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8342         Likewise.
8344         [BZ #14871]
8345         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8346         input for small inputs.  Return +/- pi/2 for large inputs.
8347         * math/libm-test.inc (atan_test): Add more tests.
8349         * sysdeps/generic/unwind-dw2-fde-glibc.c
8350         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8351         __attribute__ ((unused)).
8353         [BZ #14645]
8354         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8355         x * y if x and y are nonzero and z is zero.
8357         [BZ #14811]
8358         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8359         nonzero exponents with absolute value below 0x1p-117 to +/-
8360         0x1p-117.
8362         [BZ #14869]
8363         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8364         up arguments below 2**-450, not just those below 2**-500.
8365         * math/libm-test.inc (hypot_test): Add another test.
8367         [BZ #14868]
8368         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8369         Return a+b for ratio over 2**120, not 2**60.
8370         * math/libm-test.inc (hypot_test): Add another test.
8372         * math/libm-test.inc (clog_test): Use
8373         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8374         (clog10_test): Likewise.
8376         [BZ #6778]
8377         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8379 2012-11-22  Andreas Schwab  <schwab@suse.de>
8381         * sysdeps/i386/fpu/libm-test-ulps: Update.
8383 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
8385         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8386         printf output with newline.
8388 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
8390         [BZ #14865]
8391         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8392         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8393         -z nodlopen, -z initfirst and -z execstack support.
8394         * configure: Regenerated.
8396         * elf/elf.h (DF_1_NODIRECT): New macro.
8397         (DF_1_IGNMULDEF): Likewise.
8398         (DF_1_NOKSYMS): Likewise.
8399         (DF_1_NOHDR): Likewise.
8400         (DF_1_EDITED): Likewise.
8401         (DF_1_NORELOC): Likewise.
8402         (DF_1_SYMINTPOSE): Likewise.
8403         (DF_1_GLOBAUDIT): Likewise.
8404         (DF_1_SINGLETON): Likewise.
8405         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8406         DT_1_SUPPORTED_MASK bits.
8407         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8409 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
8411         * sysdeps/unix/make-syscalls.sh: Document prefixes.
8413 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
8415         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8416         macro.
8418         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8419         (sendmmsg): Move declarations...
8420         * socket/sys/socket.h: ... here.
8421         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8422         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8423         include it from...
8424         * socket/recvmmsg.c: ... this new file.
8425         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8426         (sendmmsg): Rename to __sendmmsg, create weak alias and make
8427         definition of __sendmmsg hidden.
8428         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8429         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8430         Move ENOSYS stub into and include it from...
8431         * socket/sendmmsg.c: ... this new file.
8432         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8433         (sysdep_routines): Move recvmmsg and sendmmsg...
8434         * socket/Makefile (routines): ... here.
8435         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8436         (GLIBC_PRIVATE): Add __sendmmsg.
8437         * include/sys/socket.h (__sendmmsg): Add declarations.
8438         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8439         sendmmsg.
8441 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
8443         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8444         variable I1 with __attribute__ ((unused)).
8445         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8447 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
8449         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8450         DUMMY variables with __attribute__ ((unused)).
8452         * bits/byteswap.h: Include <bits/types.h>.
8453         (__bswap_64): Use __uint64_t instead of unsigned long long int.
8455 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
8457         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8458         string_t.  Do not manually set errno.
8459         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8460         length with __strnlen.  Make sure to both set errno and return it on
8461         failure.
8463 2012-11-19  David S. Miller  <davem@davemloft.net>
8465         With help from Joseph Myers.
8466         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8467         very large arguments properly.
8468         * math/libm-test.inc (atan_test): New tests.
8469         (atan2_test): New tests.
8470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8473 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
8475         [BZ #14856]
8476         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8477         Define to 3.
8479         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8480         [POSIX] (EADDRNOTAVAIL): Likewise.
8481         [POSIX] (EAFNOSUPPORT): Likewise.
8482         [POSIX] (EALREADY): Likewise.
8483         [POSIX] (ECONNABORTED): Likewise.
8484         [POSIX] (ECONNREFUSED): Likewise.
8485         [POSIX] (ECONNRESET): Likewise.
8486         [POSIX] (EDESTADDRREQ): Likewise.
8487         [POSIX] (EDQUOT): Likewise.
8488         [POSIX] (EHOSTUNREACH): Likewise.
8489         [POSIX] (EIDRM): Likewise.
8490         [POSIX] (EISCONN): Likewise.
8491         [POSIX] (ELOOP): Likewise.
8492         [POSIX] (EMULTIHOP): Likewise.
8493         [POSIX] (ENETDOWN): Likewise.
8494         [POSIX] (ENETUNREACH): Likewise.
8495         [POSIX] (ENOBUFS): Likewise.
8496         [POSIX] (ENODATA): Likewise.
8497         [POSIX] (ENOLINK): Likewise.
8498         [POSIX] (ENOMSG): Likewise.
8499         [POSIX] (ENOPROTOOPT): Likewise.
8500         [POSIX] (ENOSR): Likewise.
8501         [POSIX] (ENOSTR): Likewise.
8502         [POSIX] (ENOTCONN): Likewise.
8503         [POSIX] (ENOTSOCK): Likewise.
8504         [POSIX] (EOPNOTSUPP): Likewise.
8505         [POSIX] (EOVERFLOW): Likewise.
8506         [POSIX] (EPROTO): Likewise.
8507         [POSIX] (EPROTONOSUPPORT): Likewise.
8508         [POSIX] (EPROTOTYPE): Likewise.
8509         [POSIX] (ESTALE): Likewise.
8510         [POSIX] (ETIME): Likewise.
8511         [POSIX] (ETXTBSY): Likewise.
8512         [POSIX] (EWOULDBLOCK): Likewise.
8513         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8514         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8515         [POSIX] (SEEK_CUR): Likewise.
8516         [POSIX] (SEEK_END): Likewise.
8517         [POSIX || UNIX98] (mode_t): Do not require.
8518         [POSIX] (off_t): Likewise.
8519         [POSIX] (pid_t): Likewise.
8520         [POSIX] (sys/stat.h): Do not allow header.
8521         [POSIX] (unistd.h): Likewise.
8522         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8523         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8524         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8525         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8526         require.
8527         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8528         sigevent): Specify elements.
8529         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8530         entry.
8531         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8532         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8534         * conform/data/cpio.h-data [POSIX]: Disable whole file.
8535         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8536         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8537         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8538         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8539         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8540         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8541         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8542         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8543         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8544         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8545         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8546         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8547         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8548         Likewise.
8549         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8550         Likewise.
8551         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8552         Likewise.
8553         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8554         Likewise.
8555         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8556         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8557         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8558         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8559         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8560         Specify lower bound on value.
8561         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8562         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8563         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8564         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8565         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8566         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8567         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8568         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8569         value.
8570         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8571         as optional.
8572         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8573         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8574         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8575         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8576         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8577         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8578         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8579         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8580         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8581         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8582         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8583         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8584         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8585         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8586         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8587         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8588         entry.
8589         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8590         optional.
8591         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8592         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8593         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8594         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8595         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8596         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8597         Likewise.
8598         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8599         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8600         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8601         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8602         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
8603         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8604         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8605         as optional.
8606         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8607         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8608         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8609         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8610         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8611         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8612         specify as optional.
8613         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8614         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8615         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8616         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8617         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8618         [XPG3] (NL_LANGMAX): Likewise.
8619         [POSIX || XPG3] (NL_MSGMAX): Likewise.
8620         [POSIX || XPG3] (NL_NMAX): Likewise.
8621         [POSIX || XPG3] (NL_SETMAX): Likewise.
8622         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8623         [XPG3] (NZERO): Likewise.
8624         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8625         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8626         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8627         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8628         (REG_ERANGE): Expect.
8629         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8630         optional-constant.
8631         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8632         Use (void) in prototype.
8633         [POSIX] (*_t): Allow.
8634         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8635         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8636         (WRDE_BADVAL): Expect.
8638         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8639         expect.
8640         [XPG3 || XPG4] (O_RSYNC): Likewise.
8641         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8642         Likewise.
8643         [XPG3 || XPG4] (pthread_sigmask): Likewise.
8644         [XPG3 || XPG4] (sigqueue): Likewise.
8645         [XPG3 || XPG4] (sigtimedwait): Likewise.
8646         [XPG3 || XPG4] (sigwaitinfo): Likewise.
8647         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8648         [XPG3 || XPG4] (vsnprintf): Likewise.
8649         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8650         Likewise.
8651         [XPG3 || XPG4] (blksize_t): Likewise.
8652         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8653         Likewise.
8654         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8655         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8656         [XPG3 || XPG4] (struct itimerspec): Likewise.
8657         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8658         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8659         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8660         [XPG3 || XPG4] (clockid_t): Likewise.
8661         [XPG3 || XPG4] (timer_t): Likewise.
8662         [XPG3 || XPG4] (clock_getres): Likewise.
8663         [XPG3 || XPG4] (clock_gettime): Likewise.
8664         [XPG3 || XPG4] (clock_settime): Likewise.
8665         [XPG3 || XPG4] (nanosleep): Likewise.
8666         [XPG3 || XPG4] (timer_create): Likewise.
8667         [XPG3 || XPG4] (timer_delete): Likewise.
8668         [XPG3 || XPG4] (timer_gettime): Likewise.
8669         [XPG3 || XPG4] (timer_getoverrun): Likewise.
8670         [XPG3 || XPG4] (timer_settime): Likewise.
8671         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8672         [XPG3 || XPG4] (getlogin_r): Likewise.
8673         [XPG3 || XPG4] (pread): Likewise.
8674         [XPG3 || XPG4] (pthread_atfork): Likewise.
8675         [XPG3 || XPG4] (pwrite): Likewise.
8677         [BZ #14835]
8678         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8679         <bits/siginfo.h>.
8681 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
8683         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8684         finalizing MALLSTREAM.
8686         * sysdeps/mach/hurd/syncfs.c: New file.
8688 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8690         [BZ #14719]
8691         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8692         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8693         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8694         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8695         (_nss_dns_gethostbyname4_r): Likewise.
8696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8697         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8699 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
8701         [BZ #13763]
8702         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8704 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
8706         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8707         * elf/cache.c (print_entry): Print ",AArch64" for
8708         FLAG_AARCH64_LIB64
8710         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8711         * elf/cache.c (print_entry): Print ",hard-float" for
8712         FLAG_ARM_LIBHF.
8714 2012-11-18  David S. Miller  <davem@davemloft.net>
8716         With help from Joseph Myers.
8717         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8718         cutoff to 2**-13.
8719         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8720         cutoff to 2**-25.
8721         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8722         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8723         small.
8724         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8725         * math/libm-test.inc (y0_test): New tests.
8726         (y1_test): New tests.
8727         * sysdeps/i386/fpu/libm-test-ulps: Update.
8728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8731 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
8733         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8734         64-bit targets.
8735         * configure: Regenerated.
8737 2012-11-17  David S. Miller  <davem@davemloft.net>
8739         [BZ #14811]
8740         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8741         nonzero exponents with absolute value below 0x1p-128 to +/-
8742         0x1p-128.
8744 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
8746         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8748         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8750         * posix/getconf-speclist.c: New file.
8751         * posix/posix-envs.def: Likewise.
8752         * posix/confstr.c (START_ENV_GROUP): New macro.
8753         (END_ENV_GROUP): Likewise.
8754         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8755         (KNOWN_PRESENT_ENV_STRING): Likewise.
8756         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8757         (UNKNOWN_ENVIRONMENT): Likewise.
8758         (confstr): Include posix-envs.def instead of handling
8759         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8760         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8761         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8762         (END_ENV_GROUP): Likewise.
8763         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8764         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8765         (UNKNOWN_ENVIRONMENT): Likewise.
8766         (__sysconf): Include posix-envs.def instead of handling associated
8767         cases directly here.
8768         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8769         preprocessing getconf-speclist.c rather than running getconf or
8770         generating empty file.
8772 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
8774         * scripts/check-local-headers.sh: Ignore 'mach' headers.
8776 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
8778         [BZ #14672]
8779         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8781 2012-11-16  David S. Miller  <davem@davemloft.net>
8783         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8784         smaller than LDBL_EPSILON/2.0L, just return xm1.
8786 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
8788         * elf/tst-array1.c (init): Set constructor priority to 1000.
8789         (fini): Set destructor priority to 1000.
8790         * elf/tst-array2dep.c: Likewise.
8792 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8794         [BZ #11741]
8795         * libio/fileops.c (_IO_new_file_write): Correctly return error.
8796         (_IO_new_file_xsputn): Also return EOF if none of the input
8797         data was written when overflow failed.
8798         * libio/iopadn.c (_IO_padn): Likewise.
8799         * libio/iowpadn.c (_IO_wpadn): Likewise.
8800         * stdio-common/tst-put-error.c: Add copyright notice.
8801         (do_test): Add case for printing padded string.
8802         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8803         _IO_padn returned error.
8804         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8805         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8806         return EOF.
8808 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8810         * libio/libioP.h: Add comment note that the references to C++
8811         bits are now obsolete.
8813 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8815         * math/libm-test.inc (check_complex): Use asprintf.
8817 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
8819         * debug/pcprofiledump.c (print_version): Update copyright year.
8820         * malloc/memusagestat.c (print_version): Likewise.
8822 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8824         [BZ #14831]
8825         * elf/Makefile (tests): Add tst-audit8.
8826         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8827         ($(objpfx)tst-audit8.out): New target.
8828         (tst-audit8-ENV): New variable.
8829         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8830         audit if l_reloc_result is NULL.
8831         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8832         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8833         * elf/tst-audit8.c: New file.
8835 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8837         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8838         * misc/Makefile (CFLAGS-select.c): Define.
8839         * posix/Makefile (CFLAGS-pause.c): Define.
8841 2012-11-13  David S. Miller  <davem@davemloft.net>
8843         * crypt/Makefile: Move test targets after toplevel Rules
8844         inclusion.  Grab any necessary sysdep routines when linking.
8845         * crypt/md5.c (md5_process_block): Remove define, we will always
8846         name it __md5_process_block.
8847         (md5_finish_ctx): Update md5_process_block call.
8848         (md5_stream): Likewise.
8849         (md5_process_bytes): Likewise.
8850         (md5_process_block): Rename to __md5_process_block and move to ...
8851         * crypt/md5-block.c: ... here.
8852         * crypt/sha256.c (sha256_process_block): Move to ...
8853         * crypt/sha256-block.c: ... here.
8854         * crypt/sha512.c (sha512_process_block): Move to ...
8855         * crypt/sha512-block.c: ... here.
8856         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8857         path.
8858         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8859         * sysdeps/sparc/sparc64/multiarch/Makefile
8860         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8861         crypt subdir.
8862         (localedef-aux): Add md5 crypto assembler when in locale subdir.
8863         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8864         multiarch changes.
8865         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8866         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8867         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8868         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8869         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8870         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8871         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8872         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8873         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8874         file.
8875         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8876         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8877         file.
8878         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8880 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
8882         * timezone/tzselect.ksh: Update from tzcode git revision
8883         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8884         * timezone/zdump.c: Likewise.
8885         * timezone/zic.c: Likewise.
8886         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8887         in TZVERSION setting, not $(PKGVERSION).
8888         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
8889         REPORT_BUGS_TO settings.
8891         [BZ #14838]
8892         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8893         macro.
8895 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8897         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8898         detection to immediately after _FP_ROUND().
8899         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8900         bits are 0.
8902 2012-11-11  David S. Miller  <davem@davemloft.net>
8904         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8905         inttypes.h
8906         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8907         __close rather than their public counterparts.
8909 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
8911         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8912         file.
8913         [UNIX98] (sem_timedwait): Do not expect.
8914         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8915         [XPG4 || UNIX98] (sockatmark): Do not expect.
8916         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8917         (clock_getcpuclockid): Do not expect.
8918         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8919         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8920         Do not expect.
8921         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8922         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8923         [UNIX98] (vwscanf): Likewise.
8924         [UNIX98] (vswscanf): Likewise.
8926 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
8928         * timezone/version.h: Remove file.
8929         * timezone/README: Do not refer to version.h.
8930         * timezone/Makefile ($(objpfx)zic.o): New dependency on
8931         $(objpfx)version.h.
8932         ($(objpfx)zdump.o): Likewise.
8933         ($(objpfx)version.h): New target.
8935         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8936         2012i.
8937         * timezone/README: Don't mention modification to tzselect.ksh.
8938         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8939         work on unmodified tzselect.ksh.  Substitute version numbers in
8940         tzselect.ksh.
8942         * Makefile (format-me): Remove.
8943         (INSTALL): Adjust indentation.  Use commands directly instead of
8944         using $(format-me).
8946         * aclocal.m4 (ACX_PKGVERSION): New macro.
8947         (ACX_BUGURL): Likewise.
8948         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8949         (PKGVERSION): New AC_DEFINE_UNQUOTED.
8950         (REPORT_BUGS_TO): Likewise.
8951         * configure: Regenerated.
8952         * config.h.in (PKGVERSION): New macro.
8953         (REPORT_BUGS_TO): Likewise.
8954         * config.make.in (PKGVERSION): New variable.
8955         (PKGVERSION_TEXI): Likewise.
8956         (REPORT_BUGS_TO): Likewise.
8957         (REPORT_BUGS_TEXI): Likewise.
8958         * Makefile (format-me): Use -I$(common-objpfx)manual.
8959         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8960         ($(common-objpfx)manual/%): New target.
8961         (manual/%): Remove target.
8962         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8963         (print_version): Use PKGVERSION.
8964         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8965         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8966         and REPORT_BUGS_TO.
8967         ($(objpfx)xtrace): Likewise.
8968         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8969         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8970         (print_version): Use PKGVERSION.
8971         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8972         (do_version): Use PKGVERSION.
8973         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8974         REPORT_BUGS_TO.
8975         (common-ldd-rewrite): Likewise.
8976         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8977         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8978         (print_version): Use PKGVERSION.
8979         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8980         * elf/pldd.c (argp_program_bug_address): Remove variable.
8981         (more_help): New function.
8982         (argp): Use more_help.
8983         (print_version): Use PKGVERSION.
8984         * elf/sln.c (main): Use PKGVERSION.
8985         (usage): Use REPORT_BUGS_TO.
8986         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8987         (top level): Use PKGVERSION.
8988         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8989         (print_version): Use PKGVERSION.
8990         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8991         (print_version): Use PKGVERSION.
8992         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8993         (print_version): Use PKGVERSION.
8994         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8995         (print_version): Use PKGVERSION.
8996         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8997         (print_version): Use PKGVERSION.
8998         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8999         (print_version): Use PKGVERSION.
9000         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9001         and BUGURL.
9002         ($(objpfx)memusage): Likewise.
9003         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9004         (do_version): Use PKGVERSION.
9005         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9006         (print_version): Use PKGVERSION.
9007         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9008         ($PKGVERSION): New variable.
9009         ($REPORT_BUGS_TO): Likewise.
9010         (usage): Use $REPORT_BUGS_TO.
9011         (top level): Use $PKGVERSION.
9012         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9013         ($(objpfx)pkgvers.texi): New rule.
9014         ($(objpfx)stamp-pkgvers): Likewise.
9015         * manual/install.texi: Include pkgvers.texi.
9016         (--with-pkgversion): Document new configure option.
9017         (--with-bugurl): Likewise.
9018         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9019         than necessarily for this particular distribution.  Use
9020         REPORT_BUGS_TO for where to report bugs.
9021         * INSTALL: Regenerated.
9022         * manual/libc.texinfo: Include pkgvers.texi.
9023         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9024         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9025         (print_version): Use PKGVERSION.
9026         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9027         (print_version): Use PKGVERSION.
9028         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9029         (print_version): Use PKGVERSION.
9030         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9031         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9032         macro.
9033         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9034         (print_version): Use PKGVERSION.
9035         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9036         (print_version): Use PKGVERSION.
9037         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9038         and PKGVERSION.
9040         * timezone/checktab.awk: Update from tzcode 2012i.
9041         * timezone/ialloc.c: Likewise.
9042         * timezone/private.h: Likewise.
9043         * timezone/scheck.c: Likewise.
9044         * timezone/tzfile.h: Likewise.
9045         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9046         (TZVERSION): Hardcode tzcode version number.
9047         * timezone/zdump.c: Update from tzcode 2012i.
9048         * timezone/zic.c: Likewise.
9049         * timezone/version.h: New file.
9050         * timezone/README: Describe version.h.  Update upstream location.
9052         [BZ #14824]
9053         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9054         (mktemp): Enable declaration.
9055         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9056         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9057         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9058         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9059         Likewise.
9060         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9061         Likewise.
9062         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9063         Likewise.
9064         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9065         Likewise.
9066         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9067         Likewise.
9068         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9069         Likewise.
9071         [BZ #14821]
9072         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9073         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
9074         for copies of such integer values.
9075         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9076         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9078 2012-11-09  Andreas Jaeger  <aj@suse.de>
9080         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9081         definitions and declarations that are provided by
9082         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9084 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9086         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9087         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9088         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9089         definition.
9091 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9093         * elf/elf.h: Update comment before AArch64 relocations.
9095 2012-11-07  David S. Miller  <davem@davemloft.net>
9097         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9098         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9099         (__start_context): Declare.
9100         (__makecontext_ret): Delete.
9101         (__makecontext): Hook up __start_context instead of
9102         __makecontext_ret.
9103         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9104         (sysdep_routines): Add __start_context when in stdlib.
9106 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9108         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9109         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9110         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
9111         hardcoded "nm".
9112         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
9113         (READELF): New variable.  Use it instead of hardcoded "readelf".
9115 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9117         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9118         * sysdeps/x86/Makefile: Here.
9119         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9120         * sysdeps/x86/tst-xmmymm.sh: This.
9122 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9124         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9125         expectations.
9126         [UNIX98] (pthread_barrier_t): Do not expect.
9127         [UNIX98] (pthread_barrierattr_t): Likewise.
9128         [UNIX98] (pthread_spinlock_t): Likewise.
9129         [UNIX98] (pthread_barrier_destroy): Likewise.
9130         [UNIX98] (pthread_barrier_init): Likewise.
9131         [UNIX98] (pthread_barrier_wait): Likewise.
9132         [UNIX98] (pthread_barrierattr_destroy): Likewise.
9133         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9134         [UNIX98] (pthread_barrierattr_init): Likewise.
9135         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9136         [UNIX98] (pthread_getcpuclockid): Likewise.
9137         [UNIX98] (pthread_mutex_timedlock): Likewise.
9138         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9139         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9140         [UNIX98] (pthread_sigmask): Likewise.
9141         [UNIX98] (pthread_spin_destroy): Likewise.
9142         [UNIX98] (pthread_spin_init): Likewise.
9143         [UNIX98] (pthread_spin_lock): Likewise.
9144         [UNIX98] (pthread_spin_trylock): Likewise.
9145         [UNIX98] (pthread_spin_unlock): Likewise.
9146         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9147         Do not expect.
9148         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9149         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9150         [XPG3 || XPG4] (pthread_cond_t): Likewise.
9151         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9152         [XPG3 || XPG4] (pthread_key_t): Likewise.
9153         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9154         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9155         [XPG3 || XPG4] (pthread_once_t): Likewise.
9156         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9157         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9158         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9159         [XPG3 || XPG4] (pthread_t): Likewise.
9161         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9162         not expect.
9163         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9165         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9166         Change function return type to int.
9168         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9169         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9170         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9171         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9172         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9173         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9174         [!POSIX] (posix_madvise): Likewise.
9175         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9176         && !UNIX98].
9177         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9178         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9179         (mode_t): Likewise.
9180         (posix_mem_offset): Likewise.
9181         (posix_typed_mem_get_info): Likewise.
9182         (posix_typed_mem_open): Likewise.
9184         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9185         Change condition to [XOPEN2K8].
9187         * conform/conformtest.pl: Preprocess allow-header data with -x c
9188         instead of from stdin.
9189         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9190         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9191         [C99-based standards] (cerfc): Likewise.
9192         [C99-based standards] (cexp2): Likewise.
9193         [C99-based standards] (cexpm1): Likewise.
9194         [C99-based standards] (clog10): Likewise.
9195         [C99-based standards] (clog1p): Likewise.
9196         [C99-based standards] (clog2): Likewise.
9197         [C99-based standards] (clgamma): Likewise.
9198         [C99-based standards] (ctgamma): Likewise.
9199         [C99-based standards] (cerff): Likewise.
9200         [C99-based standards] (cerfcf): Likewise.
9201         [C99-based standards] (cexp2f): Likewise.
9202         [C99-based standards] (cexpm1f): Likewise.
9203         [C99-based standards] (clog10f): Likewise.
9204         [C99-based standards] (clog1pf): Likewise.
9205         [C99-based standards] (clog2f): Likewise.
9206         [C99-based standards] (clgammaf): Likewise.
9207         [C99-based standards] (ctgammaf): Likewise.
9208         [C99-based standards] (cerfl): Likewise.
9209         [C99-based standards] (cerfcl): Likewise.
9210         [C99-based standards] (cexp2l): Likewise.
9211         [C99-based standards] (cexpm1l): Likewise.
9212         [C99-based standards] (clog10l): Likewise.
9213         [C99-based standards] (clog1pl): Likewise.
9214         [C99-based standards] (clog2l): Likewise.
9215         [C99-based standards] (clgammal): Likewise.
9216         [C99-based standards] (ctgammal): Likewise.
9217         * conform/data/inttypes.h-data [C99-based standards]: Include
9218         stdint.h-data.  Remove all expectations for stdint.h contents.
9219         [C99-based standards] (PRI*): Do not allow.
9220         [C99-based standards] (SCN*): Likewise.
9221         [C99-based standards] (*_t): Likewise.
9222         [C99-based-standards] (PRId8): Expect macro.
9223         [C99-based-standards] (PRIi8): Likewise.
9224         [C99-based-standards] (PRIo8): Likewise.
9225         [C99-based-standards] (PRIu8): Likewise.
9226         [C99-based-standards] (PRIx8): Likewise.
9227         [C99-based-standards] (PRIX8): Likewise.
9228         [C99-based-standards] (SCNd8): Likewise.
9229         [C99-based-standards] (SCNi8): Likewise.
9230         [C99-based-standards] (SCNo8): Likewise.
9231         [C99-based-standards] (SCNu8): Likewise.
9232         [C99-based-standards] (SCNx8): Likewise.
9233         [C99-based-standards] (PRIdLEAST8): Likewise.
9234         [C99-based-standards] (PRIiLEAST8): Likewise.
9235         [C99-based-standards] (PRIoLEAST8): Likewise.
9236         [C99-based-standards] (PRIuLEAST8): Likewise.
9237         [C99-based-standards] (PRIxLEAST8): Likewise.
9238         [C99-based-standards] (PRIXLEAST8): Likewise.
9239         [C99-based-standards] (SCNdLEAST8): Likewise.
9240         [C99-based-standards] (SCNiLEAST8): Likewise.
9241         [C99-based-standards] (SCNoLEAST8): Likewise.
9242         [C99-based-standards] (SCNuLEAST8): Likewise.
9243         [C99-based-standards] (SCNxLEAST8): Likewise.
9244         [C99-based-standards] (PRIdFAST8): Likewise.
9245         [C99-based-standards] (PRIiFAST8): Likewise.
9246         [C99-based-standards] (PRIoFAST8): Likewise.
9247         [C99-based-standards] (PRIuFAST8): Likewise.
9248         [C99-based-standards] (PRIxFAST8): Likewise.
9249         [C99-based-standards] (PRIXFAST8): Likewise.
9250         [C99-based-standards] (SCNdFAST8): Likewise.
9251         [C99-based-standards] (SCNiFAST8): Likewise.
9252         [C99-based-standards] (SCNoFAST8): Likewise.
9253         [C99-based-standards] (SCNuFAST8): Likewise.
9254         [C99-based-standards] (SCNxFAST8): Likewise.
9255         [C99-based-standards] (PRId16): Likewise.
9256         [C99-based-standards] (PRIi16): Likewise.
9257         [C99-based-standards] (PRIo16): Likewise.
9258         [C99-based-standards] (PRIu16): Likewise.
9259         [C99-based-standards] (PRIx16): Likewise.
9260         [C99-based-standards] (PRIX16): Likewise.
9261         [C99-based-standards] (SCNd16): Likewise.
9262         [C99-based-standards] (SCNi16): Likewise.
9263         [C99-based-standards] (SCNo16): Likewise.
9264         [C99-based-standards] (SCNu16): Likewise.
9265         [C99-based-standards] (SCNx16): Likewise.
9266         [C99-based-standards] (PRIdLEAST16): Likewise.
9267         [C99-based-standards] (PRIiLEAST16): Likewise.
9268         [C99-based-standards] (PRIoLEAST16): Likewise.
9269         [C99-based-standards] (PRIuLEAST16): Likewise.
9270         [C99-based-standards] (PRIxLEAST16): Likewise.
9271         [C99-based-standards] (PRIXLEAST16): Likewise.
9272         [C99-based-standards] (SCNdLEAST16): Likewise.
9273         [C99-based-standards] (SCNiLEAST16): Likewise.
9274         [C99-based-standards] (SCNoLEAST16): Likewise.
9275         [C99-based-standards] (SCNuLEAST16): Likewise.
9276         [C99-based-standards] (SCNxLEAST16): Likewise.
9277         [C99-based-standards] (PRIdFAST16): Likewise.
9278         [C99-based-standards] (PRIiFAST16): Likewise.
9279         [C99-based-standards] (PRIoFAST16): Likewise.
9280         [C99-based-standards] (PRIuFAST16): Likewise.
9281         [C99-based-standards] (PRIxFAST16): Likewise.
9282         [C99-based-standards] (PRIXFAST16): Likewise.
9283         [C99-based-standards] (SCNdFAST16): Likewise.
9284         [C99-based-standards] (SCNiFAST16): Likewise.
9285         [C99-based-standards] (SCNoFAST16): Likewise.
9286         [C99-based-standards] (SCNuFAST16): Likewise.
9287         [C99-based-standards] (SCNxFAST16): Likewise.
9288         [C99-based-standards] (PRId32): Likewise.
9289         [C99-based-standards] (PRIi32): Likewise.
9290         [C99-based-standards] (PRIo32): Likewise.
9291         [C99-based-standards] (PRIu32): Likewise.
9292         [C99-based-standards] (PRIx32): Likewise.
9293         [C99-based-standards] (PRIX32): Likewise.
9294         [C99-based-standards] (SCNd32): Likewise.
9295         [C99-based-standards] (SCNi32): Likewise.
9296         [C99-based-standards] (SCNo32): Likewise.
9297         [C99-based-standards] (SCNu32): Likewise.
9298         [C99-based-standards] (SCNx32): Likewise.
9299         [C99-based-standards] (PRIdLEAST32): Likewise.
9300         [C99-based-standards] (PRIiLEAST32): Likewise.
9301         [C99-based-standards] (PRIoLEAST32): Likewise.
9302         [C99-based-standards] (PRIuLEAST32): Likewise.
9303         [C99-based-standards] (PRIxLEAST32): Likewise.
9304         [C99-based-standards] (PRIXLEAST32): Likewise.
9305         [C99-based-standards] (SCNdLEAST32): Likewise.
9306         [C99-based-standards] (SCNiLEAST32): Likewise.
9307         [C99-based-standards] (SCNoLEAST32): Likewise.
9308         [C99-based-standards] (SCNuLEAST32): Likewise.
9309         [C99-based-standards] (SCNxLEAST32): Likewise.
9310         [C99-based-standards] (PRIdFAST32): Likewise.
9311         [C99-based-standards] (PRIiFAST32): Likewise.
9312         [C99-based-standards] (PRIoFAST32): Likewise.
9313         [C99-based-standards] (PRIuFAST32): Likewise.
9314         [C99-based-standards] (PRIxFAST32): Likewise.
9315         [C99-based-standards] (PRIXFAST32): Likewise.
9316         [C99-based-standards] (SCNdFAST32): Likewise.
9317         [C99-based-standards] (SCNiFAST32): Likewise.
9318         [C99-based-standards] (SCNoFAST32): Likewise.
9319         [C99-based-standards] (SCNuFAST32): Likewise.
9320         [C99-based-standards] (SCNxFAST32): Likewise.
9321         [C99-based-standards] (PRId64): Likewise.
9322         [C99-based-standards] (PRIi64): Likewise.
9323         [C99-based-standards] (PRIo64): Likewise.
9324         [C99-based-standards] (PRIu64): Likewise.
9325         [C99-based-standards] (PRIx64): Likewise.
9326         [C99-based-standards] (PRIX64): Likewise.
9327         [C99-based-standards] (SCNd64): Likewise.
9328         [C99-based-standards] (SCNi64): Likewise.
9329         [C99-based-standards] (SCNo64): Likewise.
9330         [C99-based-standards] (SCNu64): Likewise.
9331         [C99-based-standards] (SCNx64): Likewise.
9332         [C99-based-standards] (PRIdLEAST64): Likewise.
9333         [C99-based-standards] (PRIiLEAST64): Likewise.
9334         [C99-based-standards] (PRIoLEAST64): Likewise.
9335         [C99-based-standards] (PRIuLEAST64): Likewise.
9336         [C99-based-standards] (PRIxLEAST64): Likewise.
9337         [C99-based-standards] (PRIXLEAST64): Likewise.
9338         [C99-based-standards] (SCNdLEAST64): Likewise.
9339         [C99-based-standards] (SCNiLEAST64): Likewise.
9340         [C99-based-standards] (SCNoLEAST64): Likewise.
9341         [C99-based-standards] (SCNuLEAST64): Likewise.
9342         [C99-based-standards] (SCNxLEAST64): Likewise.
9343         [C99-based-standards] (PRIdFAST64): Likewise.
9344         [C99-based-standards] (PRIiFAST64): Likewise.
9345         [C99-based-standards] (PRIoFAST64): Likewise.
9346         [C99-based-standards] (PRIuFAST64): Likewise.
9347         [C99-based-standards] (PRIxFAST64): Likewise.
9348         [C99-based-standards] (PRIXFAST64): Likewise.
9349         [C99-based-standards] (SCNdFAST64): Likewise.
9350         [C99-based-standards] (SCNiFAST64): Likewise.
9351         [C99-based-standards] (SCNoFAST64): Likewise.
9352         [C99-based-standards] (SCNuFAST64): Likewise.
9353         [C99-based-standards] (SCNxFAST64): Likewise.
9354         [C99-based-standards] (PRIdMAX): Likewise.
9355         [C99-based-standards] (PRIiMAX): Likewise.
9356         [C99-based-standards] (PRIoMAX): Likewise.
9357         [C99-based-standards] (PRIuMAX): Likewise.
9358         [C99-based-standards] (PRIxMAX): Likewise.
9359         [C99-based-standards] (PRIXMAX): Likewise.
9360         [C99-based-standards] (SCNdMAX): Likewise.
9361         [C99-based-standards] (SCNiMAX): Likewise.
9362         [C99-based-standards] (SCNoMAX): Likewise.
9363         [C99-based-standards] (SCNuMAX): Likewise.
9364         [C99-based-standards] (SCNxMAX): Likewise.
9365         [C99-based-standards] (PRIdPTR): Likewise.
9366         [C99-based-standards] (PRIiPTR): Likewise.
9367         [C99-based-standards] (PRIoPTR): Likewise.
9368         [C99-based-standards] (PRIuPTR): Likewise.
9369         [C99-based-standards] (PRIxPTR): Likewise.
9370         [C99-based-standards] (PRIXPTR): Likewise.
9371         [C99-based-standards] (SCNdPTR): Likewise.
9372         [C99-based-standards] (SCNiPTR): Likewise.
9373         [C99-based-standards] (SCNoPTR): Likewise.
9374         [C99-based-standards] (SCNuPTR): Likewise.
9375         [C99-based-standards] (SCNxPTR): Likewise.
9376         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9377         allow.
9378         * conform/data/stdint.h-data: Update comments to clarify
9379         requirements.
9380         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
9381         type.
9382         [C99-based standards] (INT8_MAX): Likewise.
9383         [C99-based standards] (INT16_MIN): Likewise.
9384         [C99-based standards] (INT16_MAX): Likewise.
9385         [C99-based standards] (INT32_MIN): Likewise.
9386         [C99-based standards] (INT32_MAX): Likewise.
9387         [C99-based standards] (INT64_MIN): Likewise.
9388         [C99-based standards] (INT64_MAX): Likewise.
9389         [C99-based standards] (UINT8_MAX): Likewise.
9390         [C99-based standards] (UINT16_MAX): Likewise.
9391         [C99-based standards] (UINT32_MAX): Likewise.
9392         [C99-based standards] (UINT64_MAX): Likewise.
9393         [C99-based standards] (INT_LEAST8_MIN): Likewise.
9394         [C99-based standards] (INT_LEAST8_MAX): Likewise.
9395         [C99-based standards] (INT_LEAST16_MIN): Likewise.
9396         [C99-based standards] (INT_LEAST16_MAX): Likewise.
9397         [C99-based standards] (INT_LEAST32_MIN): Likewise.
9398         [C99-based standards] (INT_LEAST32_MAX): Likewise.
9399         [C99-based standards] (INT_LEAST64_MIN): Likewise.
9400         [C99-based standards] (INT_LEAST64_MAX): Likewise.
9401         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9402         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9403         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9404         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9405         [C99-based standards] (INT_FAST8_MIN): Likewise.
9406         [C99-based standards] (INT_FAST8_MAX): Likewise.
9407         [C99-based standards] (INT_FAST16_MIN): Likewise.
9408         [C99-based standards] (INT_FAST16_MAX): Likewise.
9409         [C99-based standards] (INT_FAST32_MIN): Likewise.
9410         [C99-based standards] (INT_FAST32_MAX): Likewise.
9411         [C99-based standards] (INT_FAST64_MIN): Likewise.
9412         [C99-based standards] (INT_FAST64_MAX): Likewise.
9413         [C99-based standards] (UINT_FAST8_MAX): Likewise.
9414         [C99-based standards] (UINT_FAST16_MAX): Likewise.
9415         [C99-based standards] (UINT_FAST32_MAX): Likewise.
9416         [C99-based standards] (UINT_FAST64_MAX): Likewise.
9417         [C99-based standards] (INTPTR_MIN): Likewise.
9418         [C99-based standards] (INTPTR_MAX): Likewise.
9419         [C99-based standards] (UINTPTR_MAX): Likewise.
9420         [C99-based standards] (INTMAX_MIN): Likewise.
9421         [C99-based standards] (INTMAX_MAX): Likewise.
9422         [C99-based standards] (UINTMAX_MAX): Likewise.
9423         [C99-based standards] (PTRDIFF_MIN): Likewise.
9424         [C99-based standards] (PTRDIFF_MAX): Likewise.
9425         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9426         [C99-based standards] (SIZE_MAX): Likewise.
9427         [C99-based standards] (WCHAR_MAX): Likewise.
9428         [C99-based standards] (WINT_MAX): Likewise.
9429         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
9430         constraint on value.
9431         [C99-based standards] (WCHAR_MIN): Likewise.
9432         [C99-based standards] (WINT_MIN): Likewise.
9433         [C99-based standards] (*_t): Allow.
9434         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9435         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9436         Include math.h-data and complex.h-data.  Remove all expectations
9437         of math.h and complex.h contents.
9438         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9439         at end of line.
9440         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9441         (struct tm): Expect tag.
9442         [C99-based-standards] (wcstof): Expect function.
9443         [C99-based-standards] (wcstold): Likewise.
9444         [C99-based-standards] (wcstoll): Likewise.
9445         [C99-based-standards] (wcstoull): Likewise.
9446         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9447         macro-int-constant.  Specify type.
9448         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
9449         constraint on value.
9450         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9451         Specify type.
9452         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9453         Specify value.
9454         [ISO C standards]: Do not allow headers.
9455         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9456         wcs[abcdefghijklmnopqrstuvwxyz]*.
9457         [ISO C standards] (*_t): Do not allow.
9458         * conform/data/wctype.h-data [C99-based standards] (iswblank):
9459         Expect function.
9460         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9461         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9462         Specify type.
9463         [ISO C standards]: Do not allow headers.
9464         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9465         is[abcdefghijklmnopqrstuvwxyz]*.
9466         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9467         to[abcdefghijklmnopqrstuvwxyz]*.
9468         [ISO C standards] (*_t): Do not allow.
9469         * conform/data/stdalign.h-data: New file.
9470         * conform/data/stdbool.h-data: Likewise.
9471         * conform/data/stdnoreturn.h-data: Likewise.
9473 2012-11-07  Roland McGrath  <roland@hack.frob.com>
9475         [BZ #14815]
9476         * manual/filesys.texi (Directory Entries): Typo fix.
9477         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9479 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9481         * elf/elf.h (EM_AARCH64): New macro.
9482         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9483         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9484         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9485         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9486         (R_AARCH64_TLSDESC): Likewise.
9487         (NT_ARM_TLS): Likewise.
9488         (NT_ARM_HW_BREAK): Likewise.
9489         (NT_ARM_HW_WATCH): Likewise.
9491 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9493         [BZ #14811]
9494         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9495         (__ieee754_powl): Saturate nonzero exponents with absolute value
9496         below 0x1p-79 to +/- 0x1p-79.
9497         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9498         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9499         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9500         nonzero exponents with absolute value below 0x1p-32 to +/-
9501         0x1p-32.
9502         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9503         (__ieee754_powl): Saturate nonzero exponents with absolute value
9504         below 0x1p-79 to +/- 0x1p-79.
9505         * math/libm-test.inc (pow_test): Add more tests.
9507 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9509         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9510         _dl_s390_cap_flags with kernel. Increase string length.
9511         (_dl_s390_platforms): Add z196 and zEC12.
9513 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9515         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9516         Change XOPEN21K to XOPEN2K.
9518 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
9520         * string/memmove.c: Use memcpy when possible.
9522 2012-11-06  Andreas Jaeger  <aj@suse.de>
9524         * po/eo.po: Update from translation team.
9526 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
9528         [BZ #14793]
9529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9530         exponent and small x and y exponents, scale x or y up.  Increase
9531         by 2 the exponent used in scaling up.
9532         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9533         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9534         * math/libm-test.inc (fma_test): Add more tests.
9535         (fma_test_towardzero): Likewise.
9536         (fma_test_downward): Likewise.
9537         (fma_test_upward): Likewise.
9539 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
9541         [BZ #14805]
9542         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9543         fenv_t *.
9545         [BZ #14801]
9546         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9547         namespace for names of struct fields.
9548         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9549         fenv_t fields.
9550         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9551         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9553 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9555         [BZ #3665]
9556         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9558 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9560         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9561         PTR_DEMANGLE.
9563         [BZ #5246]
9564         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9565         PTR_DEMANGLE.
9567 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
9569         [BZ #14797]
9570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9571         definitely overflow as x * y not x * y + z.
9572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9574         * math/libm-test.inc (fma_test): Add more tests.
9575         (fma_test_towardzero): Likewise.
9576         (fma_test_downward): Likewise.
9577         (fma_test_upward): Likewise.
9579 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9581         [BZ #157]
9583         * include/stub-tag.h: Remove file.
9584         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9585         '#include' of it.
9586         * manual/maint.texi (Porting): Don't reference it.
9587         * Makerules ($(objpfx)stubs): Likewise.
9588         * dirent/closedir.c: Don't include <stub-tag.h>.
9589         * dirent/dirfd.c: Likewise.
9590         * dirent/fdopendir.c: Likewise.
9591         * dirent/getdents.c: Likewise.
9592         * dirent/getdents64.c: Likewise.
9593         * dirent/opendir.c: Likewise.
9594         * dirent/readdir.c: Likewise.
9595         * dirent/readdir64.c: Likewise.
9596         * dirent/readdir64_r.c: Likewise.
9597         * dirent/readdir_r.c: Likewise.
9598         * dirent/rewinddir.c: Likewise.
9599         * dirent/seekdir.c: Likewise.
9600         * dirent/telldir.c: Likewise.
9601         * gmon/profil.c: Likewise.
9602         * grp/setgroups.c: Likewise.
9603         * inet/if_index.c: Likewise.
9604         * io/access.c: Likewise.
9605         * io/chdir.c: Likewise.
9606         * io/chmod.c: Likewise.
9607         * io/chown.c: Likewise.
9608         * io/close.c: Likewise.
9609         * io/dup.c: Likewise.
9610         * io/dup2.c: Likewise.
9611         * io/dup3.c: Likewise.
9612         * io/euidaccess.c: Likewise.
9613         * io/faccessat.c: Likewise.
9614         * io/fchdir.c: Likewise.
9615         * io/fchmod.c: Likewise.
9616         * io/fchmodat.c: Likewise.
9617         * io/fchown.c: Likewise.
9618         * io/fchownat.c: Likewise.
9619         * io/fcntl.c: Likewise.
9620         * io/flock.c: Likewise.
9621         * io/fstatfs.c: Likewise.
9622         * io/fstatfs64.c: Likewise.
9623         * io/fstatvfs.c: Likewise.
9624         * io/fstatvfs64.c: Likewise.
9625         * io/futimens.c: Likewise.
9626         * io/fxstat.c: Likewise.
9627         * io/fxstat64.c: Likewise.
9628         * io/fxstatat.c: Likewise.
9629         * io/fxstatat64.c: Likewise.
9630         * io/getcwd.c: Likewise.
9631         * io/isatty.c: Likewise.
9632         * io/lchmod.c: Likewise.
9633         * io/lchown.c: Likewise.
9634         * io/link.c: Likewise.
9635         * io/linkat.c: Likewise.
9636         * io/lseek.c: Likewise.
9637         * io/lseek64.c: Likewise.
9638         * io/lxstat64.c: Likewise.
9639         * io/mkdir.c: Likewise.
9640         * io/mkdirat.c: Likewise.
9641         * io/mkfifo.c: Likewise.
9642         * io/mkfifoat.c: Likewise.
9643         * io/open.c: Likewise.
9644         * io/open64.c: Likewise.
9645         * io/openat.c: Likewise.
9646         * io/openat64.c: Likewise.
9647         * io/pipe.c: Likewise.
9648         * io/pipe2.c: Likewise.
9649         * io/poll.c: Likewise.
9650         * io/posix_fadvise.c: Likewise.
9651         * io/posix_fadvise64.c: Likewise.
9652         * io/posix_fallocate.c: Likewise.
9653         * io/posix_fallocate64.c: Likewise.
9654         * io/read.c: Likewise.
9655         * io/readlink.c: Likewise.
9656         * io/readlinkat.c: Likewise.
9657         * io/rmdir.c: Likewise.
9658         * io/sendfile.c: Likewise.
9659         * io/sendfile64.c: Likewise.
9660         * io/statfs.c: Likewise.
9661         * io/statfs64.c: Likewise.
9662         * io/statvfs.c: Likewise.
9663         * io/statvfs64.c: Likewise.
9664         * io/symlink.c: Likewise.
9665         * io/symlinkat.c: Likewise.
9666         * io/ttyname.c: Likewise.
9667         * io/ttyname_r.c: Likewise.
9668         * io/umask.c: Likewise.
9669         * io/unlink.c: Likewise.
9670         * io/unlinkat.c: Likewise.
9671         * io/utime.c: Likewise.
9672         * io/utimensat.c: Likewise.
9673         * io/write.c: Likewise.
9674         * io/xmknod.c: Likewise.
9675         * io/xmknodat.c: Likewise.
9676         * io/xstat.c: Likewise.
9677         * io/xstat64.c: Likewise.
9678         * login/getpt.c: Likewise.
9679         * login/grantpt.c: Likewise.
9680         * login/unlockpt.c: Likewise.
9681         * math/e_acoshl.c: Likewise.
9682         * math/e_acosl.c: Likewise.
9683         * math/e_asinl.c: Likewise.
9684         * math/e_atan2l.c: Likewise.
9685         * math/e_atanhl.c: Likewise.
9686         * math/e_coshl.c: Likewise.
9687         * math/e_expl.c: Likewise.
9688         * math/e_fmodl.c: Likewise.
9689         * math/e_gammal_r.c: Likewise.
9690         * math/e_hypotl.c: Likewise.
9691         * math/e_j0l.c: Likewise.
9692         * math/e_j1l.c: Likewise.
9693         * math/e_jnl.c: Likewise.
9694         * math/e_lgammal_r.c: Likewise.
9695         * math/e_log10l.c: Likewise.
9696         * math/e_log2l.c: Likewise.
9697         * math/e_logl.c: Likewise.
9698         * math/e_powl.c: Likewise.
9699         * math/e_rem_pio2l.c: Likewise.
9700         * math/e_sinhl.c: Likewise.
9701         * math/e_sqrtl.c: Likewise.
9702         * math/fclrexcpt.c: Likewise.
9703         * math/fedisblxcpt.c: Likewise.
9704         * math/feenablxcpt.c: Likewise.
9705         * math/fegetenv.c: Likewise.
9706         * math/fegetexcept.c: Likewise.
9707         * math/fegetround.c: Likewise.
9708         * math/feholdexcpt.c: Likewise.
9709         * math/fesetenv.c: Likewise.
9710         * math/fesetround.c: Likewise.
9711         * math/feupdateenv.c: Likewise.
9712         * math/fgetexcptflg.c: Likewise.
9713         * math/fraiseexcpt.c: Likewise.
9714         * math/fsetexcptflg.c: Likewise.
9715         * math/ftestexcept.c: Likewise.
9716         * math/k_cosl.c: Likewise.
9717         * math/k_rem_pio2l.c: Likewise.
9718         * math/k_sinl.c: Likewise.
9719         * math/k_tanl.c: Likewise.
9720         * math/s_asinhl.c: Likewise.
9721         * math/s_atanl.c: Likewise.
9722         * math/s_cbrtl.c: Likewise.
9723         * math/s_erfl.c: Likewise.
9724         * math/s_expm1l.c: Likewise.
9725         * math/s_log1pl.c: Likewise.
9726         * math/s_tanhl.c: Likewise.
9727         * misc/acct.c: Likewise.
9728         * misc/brk.c: Likewise.
9729         * misc/chflags.c: Likewise.
9730         * misc/chroot.c: Likewise.
9731         * misc/fchflags.c: Likewise.
9732         * misc/fgetxattr.c: Likewise.
9733         * misc/flistxattr.c: Likewise.
9734         * misc/fremovexattr.c: Likewise.
9735         * misc/fsetxattr.c: Likewise.
9736         * misc/fsync.c: Likewise.
9737         * misc/ftruncate.c: Likewise.
9738         * misc/futimes.c: Likewise.
9739         * misc/futimesat.c: Likewise.
9740         * misc/getdomain.c: Likewise.
9741         * misc/getdtsz.c: Likewise.
9742         * misc/gethostid.c: Likewise.
9743         * misc/gethostname.c: Likewise.
9744         * misc/getloadavg.c: Likewise.
9745         * misc/getpagesize.c: Likewise.
9746         * misc/getsysstats.c: Likewise.
9747         * misc/getxattr.c: Likewise.
9748         * misc/gtty.c: Likewise.
9749         * misc/ioctl.c: Likewise.
9750         * misc/lgetxattr.c: Likewise.
9751         * misc/listxattr.c: Likewise.
9752         * misc/llistxattr.c: Likewise.
9753         * misc/lremovexattr.c: Likewise.
9754         * misc/lsetxattr.c: Likewise.
9755         * misc/lutimes.c: Likewise.
9756         * misc/madvise.c: Likewise.
9757         * misc/mincore.c: Likewise.
9758         * misc/mlock.c: Likewise.
9759         * misc/mlockall.c: Likewise.
9760         * misc/mmap.c: Likewise.
9761         * misc/mprotect.c: Likewise.
9762         * misc/msync.c: Likewise.
9763         * misc/munlock.c: Likewise.
9764         * misc/munlockall.c: Likewise.
9765         * misc/munmap.c: Likewise.
9766         * misc/preadv.c: Likewise.
9767         * misc/preadv64.c: Likewise.
9768         * misc/ptrace.c: Likewise.
9769         * misc/pwritev.c: Likewise.
9770         * misc/pwritev64.c: Likewise.
9771         * misc/readv.c: Likewise.
9772         * misc/reboot.c: Likewise.
9773         * misc/remap_file_pages.c: Likewise.
9774         * misc/removexattr.c: Likewise.
9775         * misc/revoke.c: Likewise.
9776         * misc/select.c: Likewise.
9777         * misc/setdomain.c: Likewise.
9778         * misc/setegid.c: Likewise.
9779         * misc/seteuid.c: Likewise.
9780         * misc/sethostid.c: Likewise.
9781         * misc/sethostname.c: Likewise.
9782         * misc/setregid.c: Likewise.
9783         * misc/setreuid.c: Likewise.
9784         * misc/setxattr.c: Likewise.
9785         * misc/sstk.c: Likewise.
9786         * misc/stty.c: Likewise.
9787         * misc/swapoff.c: Likewise.
9788         * misc/swapon.c: Likewise.
9789         * misc/sync.c: Likewise.
9790         * misc/syncfs.c: Likewise.
9791         * misc/syscall.c: Likewise.
9792         * misc/truncate.c: Likewise.
9793         * misc/ualarm.c: Likewise.
9794         * misc/usleep.c: Likewise.
9795         * misc/ustat.c: Likewise.
9796         * misc/utimes.c: Likewise.
9797         * misc/vhangup.c: Likewise.
9798         * misc/writev.c: Likewise.
9799         * posix/_exit.c: Likewise.
9800         * posix/alarm.c: Likewise.
9801         * posix/execve.c: Likewise.
9802         * posix/fexecve.c: Likewise.
9803         * posix/fork.c: Likewise.
9804         * posix/fpathconf.c: Likewise.
9805         * posix/getaddrinfo.c: Likewise.
9806         * posix/getegid.c: Likewise.
9807         * posix/geteuid.c: Likewise.
9808         * posix/getgid.c: Likewise.
9809         * posix/getgroups.c: Likewise.
9810         * posix/getlogin.c: Likewise.
9811         * posix/getlogin_r.c: Likewise.
9812         * posix/getpgid.c: Likewise.
9813         * posix/getpid.c: Likewise.
9814         * posix/getppid.c: Likewise.
9815         * posix/getresgid.c: Likewise.
9816         * posix/getresuid.c: Likewise.
9817         * posix/getsid.c: Likewise.
9818         * posix/getuid.c: Likewise.
9819         * posix/glob64.c: Likewise.
9820         * posix/nanosleep.c: Likewise.
9821         * posix/pathconf.c: Likewise.
9822         * posix/pause.c: Likewise.
9823         * posix/posix_madvise.c: Likewise.
9824         * posix/pread.c: Likewise.
9825         * posix/pread64.c: Likewise.
9826         * posix/pwrite.c: Likewise.
9827         * posix/pwrite64.c: Likewise.
9828         * posix/sched_getaffinity.c: Likewise.
9829         * posix/sched_getp.c: Likewise.
9830         * posix/sched_gets.c: Likewise.
9831         * posix/sched_primax.c: Likewise.
9832         * posix/sched_primin.c: Likewise.
9833         * posix/sched_rr_gi.c: Likewise.
9834         * posix/sched_setaffinity.c: Likewise.
9835         * posix/sched_setp.c: Likewise.
9836         * posix/sched_sets.c: Likewise.
9837         * posix/sched_yield.c: Likewise.
9838         * posix/setgid.c: Likewise.
9839         * posix/setlogin.c: Likewise.
9840         * posix/setpgid.c: Likewise.
9841         * posix/setresgid.c: Likewise.
9842         * posix/setresuid.c: Likewise.
9843         * posix/setsid.c: Likewise.
9844         * posix/setuid.c: Likewise.
9845         * posix/sleep.c: Likewise.
9846         * posix/spawni.c: Likewise.
9847         * posix/sysconf.c: Likewise.
9848         * posix/times.c: Likewise.
9849         * posix/wait.c: Likewise.
9850         * posix/wait3.c: Likewise.
9851         * posix/wait4.c: Likewise.
9852         * posix/waitpid.c: Likewise.
9853         * resolv/gai_sigqueue.c: Likewise.
9854         * resource/getpriority.c: Likewise.
9855         * resource/getrlimit.c: Likewise.
9856         * resource/getrusage.c: Likewise.
9857         * resource/nice.c: Likewise.
9858         * resource/setpriority.c: Likewise.
9859         * resource/setrlimit.c: Likewise.
9860         * resource/ulimit.c: Likewise.
9861         * rt/aio_cancel.c: Likewise.
9862         * rt/aio_fsync.c: Likewise.
9863         * rt/aio_read.c: Likewise.
9864         * rt/aio_sigqueue.c: Likewise.
9865         * rt/aio_suspend.c: Likewise.
9866         * rt/aio_write.c: Likewise.
9867         * rt/clock_getres.c: Likewise.
9868         * rt/clock_gettime.c: Likewise.
9869         * rt/clock_nanosleep.c: Likewise.
9870         * rt/clock_settime.c: Likewise.
9871         * rt/lio_listio.c: Likewise.
9872         * rt/mq_close.c: Likewise.
9873         * rt/mq_getattr.c: Likewise.
9874         * rt/mq_notify.c: Likewise.
9875         * rt/mq_open.c: Likewise.
9876         * rt/mq_receive.c: Likewise.
9877         * rt/mq_send.c: Likewise.
9878         * rt/mq_setattr.c: Likewise.
9879         * rt/mq_timedreceive.c: Likewise.
9880         * rt/mq_timedsend.c: Likewise.
9881         * rt/mq_unlink.c: Likewise.
9882         * rt/shm_open.c: Likewise.
9883         * rt/shm_unlink.c: Likewise.
9884         * rt/timer_create.c: Likewise.
9885         * rt/timer_delete.c: Likewise.
9886         * rt/timer_getoverr.c: Likewise.
9887         * rt/timer_gettime.c: Likewise.
9888         * rt/timer_settime.c: Likewise.
9889         * setjmp/__longjmp.c: Likewise.
9890         * setjmp/setjmp.c: Likewise.
9891         * signal/kill.c: Likewise.
9892         * signal/killpg.c: Likewise.
9893         * signal/raise.c: Likewise.
9894         * signal/sigaction.c: Likewise.
9895         * signal/sigaltstack.c: Likewise.
9896         * signal/sigblock.c: Likewise.
9897         * signal/sigignore.c: Likewise.
9898         * signal/sigintr.c: Likewise.
9899         * signal/signal.c: Likewise.
9900         * signal/sigpause.c: Likewise.
9901         * signal/sigpending.c: Likewise.
9902         * signal/sigqueue.c: Likewise.
9903         * signal/sigreturn.c: Likewise.
9904         * signal/sigset.c: Likewise.
9905         * signal/sigsetmask.c: Likewise.
9906         * signal/sigstack.c: Likewise.
9907         * signal/sigsuspend.c: Likewise.
9908         * signal/sigtimedwait.c: Likewise.
9909         * signal/sigvec.c: Likewise.
9910         * signal/sigwait.c: Likewise.
9911         * signal/sigwaitinfo.c: Likewise.
9912         * signal/sysv_signal.c: Likewise.
9913         * socket/accept.c: Likewise.
9914         * socket/accept4.c: Likewise.
9915         * socket/bind.c: Likewise.
9916         * socket/connect.c: Likewise.
9917         * socket/getpeername.c: Likewise.
9918         * socket/getsockname.c: Likewise.
9919         * socket/getsockopt.c: Likewise.
9920         * socket/isfdtype.c: Likewise.
9921         * socket/listen.c: Likewise.
9922         * socket/recv.c: Likewise.
9923         * socket/recvfrom.c: Likewise.
9924         * socket/recvmsg.c: Likewise.
9925         * socket/send.c: Likewise.
9926         * socket/sendmsg.c: Likewise.
9927         * socket/sendto.c: Likewise.
9928         * socket/setsockopt.c: Likewise.
9929         * socket/shutdown.c: Likewise.
9930         * socket/sockatmark.c: Likewise.
9931         * socket/socket.c: Likewise.
9932         * socket/socketpair.c: Likewise.
9933         * stdio-common/ctermid.c: Likewise.
9934         * stdio-common/cuserid.c: Likewise.
9935         * stdio-common/remove.c: Likewise.
9936         * stdio-common/rename.c: Likewise.
9937         * stdio-common/renameat.c: Likewise.
9938         * stdio-common/tempname.c: Likewise.
9939         * stdlib/getcontext.c: Likewise.
9940         * stdlib/makecontext.c: Likewise.
9941         * stdlib/setcontext.c: Likewise.
9942         * stdlib/swapcontext.c: Likewise.
9943         * stdlib/system.c: Likewise.
9944         * streams/fattach.c: Likewise.
9945         * streams/fdetach.c: Likewise.
9946         * streams/getmsg.c: Likewise.
9947         * streams/getpmsg.c: Likewise.
9948         * streams/putmsg.c: Likewise.
9949         * streams/putpmsg.c: Likewise.
9950         * sysdeps/unix/bsd/getpt.c: Likewise.
9951         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9952         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9953         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9955         Likewise.
9956         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9957         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9958         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9959         * sysvipc/msgctl.c: Likewise.
9960         * sysvipc/msgget.c: Likewise.
9961         * sysvipc/msgrcv.c: Likewise.
9962         * sysvipc/msgsnd.c: Likewise.
9963         * sysvipc/semctl.c: Likewise.
9964         * sysvipc/semget.c: Likewise.
9965         * sysvipc/semop.c: Likewise.
9966         * sysvipc/semtimedop.c: Likewise.
9967         * sysvipc/shmat.c: Likewise.
9968         * sysvipc/shmctl.c: Likewise.
9969         * sysvipc/shmdt.c: Likewise.
9970         * sysvipc/shmget.c: Likewise.
9971         * termios/tcdrain.c: Likewise.
9972         * termios/tcflow.c: Likewise.
9973         * termios/tcflush.c: Likewise.
9974         * termios/tcgetattr.c: Likewise.
9975         * termios/tcgetpgrp.c: Likewise.
9976         * termios/tcsendbrk.c: Likewise.
9977         * termios/tcsetattr.c: Likewise.
9978         * termios/tcsetpgrp.c: Likewise.
9979         * time/adjtime.c: Likewise.
9980         * time/clock.c: Likewise.
9981         * time/getitimer.c: Likewise.
9982         * time/gettimeofday.c: Likewise.
9983         * time/setitimer.c: Likewise.
9984         * time/settimeofday.c: Likewise.
9985         * time/stime.c: Likewise.
9986         * time/time.c: Likewise.
9988 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
9990         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9991         /usr/old/bin.
9993         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9994         instead of spaces.
9995         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9997 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
9999         [BZ #14796]
10000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10001         FE_TONEAREST before applying Dekker multiplication and Knuth
10002         addition.  Clear inexact exceptions and check for exact zero
10003         results afterwards.
10004         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10005         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10006         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10007         * math/libm-test.inc (fma_test): Add more tests.
10008         (fma_test_towardzero): Likewise.
10009         (fma_test_downward): Likewise.
10010         (fma_test_upward): Likewise.
10011         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10012         function.
10013         (libc_fesetround): New macro.
10014         (libc_fesetroundf): Likewise.
10015         (libc_fesetroundl): Likewise.
10016         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10017         function.
10018         (libc_fesetround_387): Likewise.
10019         (libc_fesetroundf): New macro.
10020         (libc_fesetround): Likewise.
10021         (libc_fesetroundl): Likewise.
10022         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10023         function.
10024         (libc_fesetroundf): New macro.
10025         (libc_fesetround): Likewise.
10026         (libc_fesetroundl): Likewise.
10027         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10028         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10029         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10030         libm_hidden_ver.
10031         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10032         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10033         libm_hidden_def.
10034         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10035         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10036         libm_hidden_ver.
10037         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10038         libm_hidden_def.
10040         [BZ #3439]
10041         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10042         integer constant usable in #if and use that to give value to enum
10043         constant.
10044         (FE_DIVBYZERO): Likewise.
10045         (FE_UNDERFLOW): Likewise.
10046         (FE_OVERFLOW): Likewise.
10047         (FE_INVALID): Likewise.
10048         (FE_INVALID_SNAN): Likewise.
10049         (FE_INVALID_ISI): Likewise.
10050         (FE_INVALID_IDI): Likewise.
10051         (FE_INVALID_ZDZ): Likewise.
10052         (FE_INVALID_IMZ): Likewise.
10053         (FE_INVALID_COMPARE): Likewise.
10054         (FE_INVALID_SOFTWARE): Likewise.
10055         (FE_INVALID_SQRT): Likewise.
10056         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10057         (FE_TONEAREST): Likewise.
10058         (FE_TOWARDZERO): Likewise.
10059         (FE_UPWARD): Likewise.
10060         (FE_DOWNWARD): Likewise.
10061         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10062         (FE_DIVBYZERO): Likewise.
10063         (FE_OVERFLOW): Likewise.
10064         (FE_UNDERFLOW): Likewise.
10065         (FE_INEXACT): Likewise.
10066         (FE_TONEAREST): Likewise.
10067         (FE_DOWNWARD): Likewise.
10068         (FE_UPWARD): Likewise.
10069         (FE_TOWARDZERO): Likewise.
10070         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10071         (FE_UNDERFLOW): Likewise.
10072         (FE_OVERFLOW): Likewise.
10073         (FE_DIVBYZERO): Likewise.
10074         (FE_INVALID): Likewise.
10075         (FE_TONEAREST): Likewise.
10076         (FE_TOWARDZERO): Likewise.
10077         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10078         (FE_OVERFLOW): Likewise.
10079         (FE_UNDERFLOW): Likewise.
10080         (FE_DIVBYZERO): Likewise.
10081         (FE_INEXACT): Likewise.
10082         (FE_TONEAREST): Likewise.
10083         (FE_TOWARDZERO): Likewise.
10084         (FE_UPWARD): Likewise.
10085         (FE_DOWNWARD): Likewise.
10086         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10087         (FE_DIVBYZERO): Likewise.
10088         (FE_OVERFLOW): Likewise.
10089         (FE_UNDERFLOW): Likewise.
10090         (FE_INEXACT): Likewise.
10091         (FE_TONEAREST): Likewise.
10092         (FE_DOWNWARD): Likewise.
10093         (FE_UPWARD): Likewise.
10094         (FE_TOWARDZERO): Likewise.
10096 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
10098         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10100 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
10102         * scripts/cross-test-ssh.sh (command): Use newlines to separate
10103         commands.  Quote $PWD.
10104         (blacklist_exports): Don't use remove_newlines.  Replace "declare
10105         -x" by "export".
10106         (remove_newlines): Remove.
10108 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
10110         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10111         * stdlib/stdlib.h (atof): Moved to ...
10112         * include/bits/stdlib-float.h: Here.  New file.
10113         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10114         * stdlib/bits/stdlib-float.h: New file.
10115         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10116         -mno-sse -mno-mmx.
10117         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10118         <xmmintrin.h>.
10120 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10122         * conform/conformtest.pl (@headers): Add fenv.h.
10123         * conform/data/fenv.h-data: New file.
10124         * include/fenv.h [_ISOMAC]: Disable all contents of file except
10125         include of <math/fenv.h>.
10127         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10128         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10129         && !UNIX98].  Enables tests for XOPEN2K8.
10130         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10131         POSIX2008]: Likewise.
10133         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10134         (struct rusage): Do not expect type or its members.
10136         [BZ #3439]
10137         * math/math.h (FP_NAN): Define macro to integer constant usable in
10138         #if and use that to give value to enum constant.
10139         (FP_INFINITE): Likewise.
10140         (FP_ZERO): Likewise.
10141         (FP_SUBNORMAL): Likewise.
10142         (FP_NORMAL): Likewise.
10144 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
10146         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10147         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10148         arguments.
10150 2012-11-02  Roland McGrath  <roland@hack.frob.com>
10152         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10153         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10154         autoconf-time if not.
10155         * configure.in: Remove AC_PREREQ.
10157 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10159         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10160         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10161         of the internal implementation.
10163 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10165         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10166         except include of <misc/sys/syslog.h>.
10168 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10171         function returns with a NULL context exit with zero.
10173 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10175         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10177 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
10179         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10180         (run_program_cmd): This.
10181         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10182         (tst_langinfo): New variable.  Use it.
10184 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
10186         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10187         floating point opcodes.
10189 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10191         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10192         variable.
10194         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10196         * sysdeps/mach/hurd/powerpc: Remove directory.
10197         * sysdeps/mach/powerpc: Likewise.
10199 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10201         * scripts/check-local-headers.sh: Ignore c++ headers.
10203 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10205         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10206         __libc_cleanup_region_start argument.
10208 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
10210         [BZ #14784]
10211         [BZ #14785]
10212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10213         x * y using scaling, not as x * y + z.
10214         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10215         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10216         * math/libm-test.inc (fma_test): Add more tests.
10217         (fma_test_towardzero): Likewise.
10218         (fma_test_downward): Likewise.
10219         (fma_test_upward): Likewise.
10221 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10223         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10225 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10227         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10228         New variable.
10230 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
10232         * rt/tst-shm.c (worker): Correct checking for mmap failure.
10234 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10237         Fix sort order.
10238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10239         Likewise.
10241 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10244         Fix the order of the list for glibc 2.17.
10245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10246         Likewise.
10248 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10252 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10254         [BZ #14610]
10255         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10256         for low part of x being zero before using __atanl (y).
10257         * math/libm-test.inc (atan2_test): Add another test.
10259         * manual/install.texi (Configuring and compiling): Document
10260         general use of test-wrapper and test-wrapper-env.
10261         * INSTALL: Regenerated.
10263         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10264         (__fma): Do not extract and scale down low bits on after-rounding
10265         systems when result rounded to normal precision would have normal
10266         exponent.
10267         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10268         (__fmal): Do not extract and scale down low bits on after-rounding
10269         systems when result rounded to normal precision would have normal
10270         exponent.
10271         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10272         (__fmal): Do not extract and scale down low bits on after-rounding
10273         systems when result rounded to normal precision would have normal
10274         exponent.
10275         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10276         macro.
10277         (fma_test): Add more tests.
10278         (fma_test_towardzero): Likewise.
10279         (fma_test_downward): Likewise.
10280         (fma_test_upward): Likewise.
10282 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
10284         * sysdeps/i386/tininess.h: Renamed to ...
10285         * sysdeps/x86/tininess.h: This.
10286         * sysdeps/x86_64/tininess.h: Removed.
10288 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10290         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10291         input.  Use $(build-program-cmd).
10292         ($(objpfx)tst-array1-static.out): Likewise.
10293         ($(objpfx)tst-array2.out): Likewise.
10294         ($(objpfx)tst-array3.out): Likewise.
10295         ($(objpfx)tst-array4.out): Likewise.
10296         ($(objpfx)tst-array5.out): Likewise.
10297         ($(objpfx)tst-array5-static.out): Likewise.
10299 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
10301         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10302         if defined.
10304         * nss/nsswitch.h (nss_interface_function): Provide new
10305         macro for use with NSS functions.
10306         * grp/initgroups.c: Use new macro.
10307         * nss/getXXbyYY.c: Likewise.
10308         * nss/getXXbyYY_r.c: Likewise.
10309         * nss/getXXent.c: Likewise.
10310         * nss/getXXent_r.c: Likewise.
10311         * sysdeps/posix/getaddrinfo.c: Likewise.
10313 2012-10-30  Andreas Jaeger  <aj@suse.de>
10315         * po/ru.po: Update Russion translation from translation project.
10317 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10319         [BZ #14152]
10320         [BZ #14783]
10321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10322         result and shift together with sticky bit instead of replicating
10323         round-to-nearest rounding.
10324         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10325         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10326         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
10327         missing underflow exceptions.
10328         (fma_test_towardzero): Add more tests.
10329         (fma_test_downward): Likewise.
10330         (fma_test_upward): Likewise.
10332         [BZ #14047]
10333         * sysdeps/generic/tininess.h: New file.
10334         * sysdeps/i386/tininess.h: Likewise.
10335         * sysdeps/sh/tininess.h: Likewise.
10336         * sysdeps/x86_64/tininess.h: Likewise.
10337         * stdlib/tst-strtod-underflow.c: Likewise.
10338         * stdlib/tst-tininess.c: Likewise.
10339         * stdlib/strtod_l.c: Include <tininess.h>.
10340         (round_and_return): Do not set errno for exact underflow cases.
10341         Force an underflow exception when setting errno for underflow.
10342         Determine underflow based on rounding to normal precision if
10343         TININESS_AFTER_ROUNDING.
10344         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10345         ERANGE for exact underflow cases.
10346         * stdlib/Makefile (tests): Add tst-tininess and
10347         tst-strtod-underflow.
10348         ($(objpfx)tst-tininess): Use $(link-libm).
10349         ($(objpfx)tst-strtod-underflow): Likewise.
10351 2012-10-30  Andreas Jaeger  <aj@suse.de>
10353         [BZ#14767]
10354         * elf/Makefile (tests): Remove conditional for have-initfini-array
10355         since this is now always required and the variable does not exist
10356         anymore.
10357         (tests-static): Likewise.
10358         (modules-names): Likewise.
10360         * po/eo.po: Add Esperanto translation from translation project.
10362         * elf/tst-array1.c (fini_array): Make writeable so that it can be
10363         merged with constructor/destructor.
10364         (init_array): Likewise.
10365         * elf/tst-array2dep.c (fini_array): Likewise.
10366         (init_array): Likewise.
10368 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
10370         * manual/message.texi: Delete @cartouche tags.
10372 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
10374         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10375         EOPNOTSUPP.
10376         * sysdeps/mach/hurd/fsync.c: Likewise.
10378         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10379         [_POSIX_REALTIME_SIGNALS]: Change condition to
10380         [_POSIX_REALTIME_SIGNALS > 0].
10382 2012-10-27  Andreas Jaeger  <aj@suse.de>
10384         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10385         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10386         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10387         [__WORDSIZE != 64]: Likewise.
10389 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
10391         *  iconvdata/tst-table.sh: Remove ${SHELL}.
10392         *  iconvdata/tst-tables.sh: Likewise.
10394 2012-10-25  David S. Miller  <davem@davemloft.net>
10396         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10397         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10398         of strtoull.
10400         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10401         ifunc-impl-list.c
10402         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10403         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10404         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10405         file.
10407 2012-10-25  Roland McGrath  <roland@hack.frob.com>
10409         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10410         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10411         __getdirentries.
10413 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
10414             Jim Blandy  <jimb@codesourcery.com>
10416         * scripts/cross-test-ssh.sh: New file.
10417         * manual/install.texi (Configuring and compiling): Document use of
10418         cross-test-ssh.sh.
10419         * INSTALL: Regenerated.
10421 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
10423         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10424         EOPNOTSUPP.
10426 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
10428         * Makeconfig (run-program-prefix): Fix comment.
10430 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
10431             Jim Blandy  <jimb@codesourcery.com>
10433         * Makeconfig (test-wrapper): New variable,
10434         (test-wrapper-env): Likewise.
10435         [$(cross-compiling) = yes && $(test-wrapper) != ""]
10436         (run-built-tests): Define to yes.
10437         (run-program-prefix): Use $(test-wrapper).
10438         (built-program-cmd): Likewise.
10439         * Rules (make-test-out): Use $(test-wrapper-env) and
10440         $(host-built-program-cmd).
10441         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10442         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10443         tst-pathopt.sh.
10444         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10445         $(test-wrapper-env) to tst-rtld-load-self.sh.
10446         ($(objpfx)order2.out): Use $(test-wrapper).
10447         ($(objpfx)tst-initorder.out): Likewise.
10448         ($(objpfx)tst-initorder2.out): Likewise.
10449         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10450         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10451         (test_wrapper_env): New variable.  Use it to run ld.so.
10452         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10453         Use it to run ld.so.
10454         (test_wrapper_env): Likewise.
10455         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10456         $(test-wrapper) to run-iconv-test.sh.
10457         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10458         (ICONV): Use $test_wrapper.
10459         * posix/Makefile ($(objpfx)globtest.out): Pass
10460         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10461         globtest.sh, not $(run-program-prefix).
10462         * posix/globtest.sh (run_via_rtld_prefix): New variable.
10463         (test_wrapper): Likewise.
10464         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
10465         set together with run_via_rtld_prefix.
10466         (run_program_prefix): Define in terms of test_wrapper and
10467         run_via_rtld_prefix.
10469 2012-10-24  Roland McGrath  <roland@hack.frob.com>
10471         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10472         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10473         Targets removed.
10475         [BZ #14743]
10476         * include/time.h: Remove librt_hidden_proto (clock_gettime).
10477         Declare __clock_getres, __clock_gettime, __clock_settime,
10478         __clock_nanosleep, and __clock_getcpuclockid.
10479         * rt/clock_gettime.c: Define __clock_gettime as an alias.
10480         Remove librt_hidden_def (clock_gettime).
10481         * sysdeps/unix/clock_gettime.c: Likewise.
10482         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10483         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10484         * rt/clock_getres.c: Define __clock_getres as an alias.
10485         * sysdeps/posix/clock_getres.c: Likewise.
10486         * rt/clock_settime.c: Define __clock_settime as an alias.
10487         * sysdeps/unix/clock_settime.c: Likewise.
10488         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10489         * sysdeps/unix/clock_nanosleep.c: Likewise.
10490         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10491         * rt/clock-compat.c: New file.
10492         * rt/Makefile (librt-routines): Add clock-compat and move
10493         $(clock-routines) to ...
10494         (routines): ... here, new variable.
10495         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10496         Don't add get_clockfreq here.
10497         * rt/Versions (libc: GLIBC_2.17): New version set.
10498         Add clock_* symbols here.
10499         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
10500         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10501         (GLIBC_2.17): Add clock_* symbols.
10502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10504         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10506         Likewise.
10507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10508         Likewise.
10509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10513         * NEWS: Mention the move.
10515         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10516         Use __open, __read, __close rather than their public counterparts.
10517         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10518         (__get_clockfreq_via_cpuinfo): Likewise.
10519         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10520         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10522         * config.h.in (HAVE_IFUNC): New #undef.
10523         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10524         was successful.
10525         * configure: Regenerated.
10527 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
10529         * configure.in: Move READELF check to start of file.
10530         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10531         libc_cv_asm_gnu_indirect_function in the process.
10532         * configure: Regenerated.
10534 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
10536         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10537         send the output to /dev/null.
10538         (libc_cv_cc_with_libunwind): Likewise.
10539         (libc_cv_as_noexecstack): Likewise.
10540         * configure: Regenerate.
10542 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
10544         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10546         * posix/globtest.sh (TMPDIR): Do not set.
10547         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10548         (testout): Likewise.
10550 2012-10-24  Andreas Jaeger  <aj@suse.de>
10552         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10553         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10554         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10555         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10556         posix_fadvise64, posix_fallocate64.
10558         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10559         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10560         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10561         Likewise.
10562         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10563         Likewise.
10564         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10566         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10567         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10568         <bits/fcntl-linux.h>.
10569         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10572         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10573         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10574         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10575         [__WORDSIZE != 64]: Likewise.
10577 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10579         * Makeconfig (run-built-tests): New variable.
10580         * Rules [$(cross-compiling) = yes]: Change condition to
10581         [$(run-built-tests) = no].
10582         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10583         to [$(run-built-tests) = yes].
10584         * elf/Makefile [$(cross-compiling) = no]: Likewise
10585         * grp/Makefile [$(cross-compiling) = no]: Likewise.
10586         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10587         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10588         * intl/Makefile [$(cross-compiling) = no]: Likewise.
10589         * io/Makefile [$(cross-compiling) = no]: Likewise.
10590         * libio/Makefile [$(cross-compiling) = no]: Likewise.
10591         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10592         * misc/Makefile [$(cross-compiling) = no]: Likewise.
10593         * posix/Makefile [$(cross-compiling) = no]: Likewise.
10594         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10595         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10596         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10597         * string/Makefile [$(cross-compiling) = no]: Likewise.
10599         * posix/Makefile ($(objpfx)globtest.out): Pass
10600         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10601         $(rtld-installed-name).
10602         * posix/globtest.sh (elf_objpfx): Remove variable.
10603         (rtld_installed_name): Likewise.
10604         (library_path): Likewise.
10605         (run_program_prefix): New variable.  Use for running globtest
10606         binary.
10608 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
10609             Joseph Myers  <joseph@codesourcery.com>
10611         * Makeconfig (host-built-program-cmd): New variable.
10612         * elf/Makefile (tst-stackguard1-ARGS): Use
10613         $(host-built-program-cmd).
10614         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10615         (tst-spawn-ARGS): Likewise.
10616         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10618 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10619             Jim Blandy  <jimb@codesourcery.com>
10621         * Makeconfig (run-via-rtld-prefix): New variable.
10622         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10623         (built-program-cmd): Likewise.
10625 2012-10-22  Andreas Jaeger  <aj@suse.de>
10627         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10628         __O_RSYNC if it exists, otherwise to O_SYNC.
10630 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
10631             Joseph Myers  <joseph@codesourcery.com>
10633         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10634         /dev/null.
10635         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10636         from /dev/null
10637         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10638         /dev/null.
10640 2012-10-22  Andreas Jaeger  <aj@suse.de>
10642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10643         Define always.
10644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10646         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10647         bits/fcntl-linux.h.
10649         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10650         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10652         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10653         to __O_LARGEFILE.
10654         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10655         to __O_LARGEFILE.
10657 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
10658             Joseph Myers  <joseph@codesourcery.com>
10660         * config.make.in (NM): New variable.
10662 2012-10-21  Andreas Jaeger  <aj@suse.de>
10664         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10665         definitions and declarations that are provided by
10666         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10668 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
10670         [BZ #14683]
10671         * elf/Makefile (tests-static): Add tst-leaks1-static.
10672         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10673         ($(objpfx)tst-leaks1-static): New rule.
10674         ($(objpfx)tst-leaks1-static-mem): Likewise.
10675         (tst-leaks1-static-ENV): New macro.
10676         * elf/dl-open.c (dl_open_worker): Check the main application
10677         only if SHARED is defined.
10678         * elf/tst-leaks1-static.c: New file.
10680 2012-10-20  Andreas Jaeger  <aj@suse.de>
10682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10683         generic values for Linux.
10684         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10685         and declarations that are provided by <bits/fcntl-linux.h> and
10686         include <bits/fcntl-linux.h>.
10687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10688         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10690 2012-10-20  Roland McGrath  <roland@hack.frob.com>
10692         * io/fcntl.h: Move include of <bits/types.h> to the top and
10693         include it unconditionally.
10695 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
10697         * wcsmbs/Makefile (tests-ifunc): New variable.
10698         (tests): Add $(tests-ifunc).
10699         * wcsmbs/test-wcschr-ifunc.c: New file.
10700         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10701         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10702         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10703         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10704         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10706         * string/Makefile (tests-ifunc): New variable.
10707         (tests): Add $(tests-ifunc).
10708         * string/test-memccpy.c (TEST_NAME): New macro.
10709         * string/test-memchr.c (TEST_NAME): Likewise.
10710         * string/test-memcmp.c (TEST_NAME): Likewise.
10711         * string/test-memcpy.c (TEST_NAME): Likewise.
10712         * string/test-memmem.c (TEST_NAME): Likewise.
10713         * string/test-memmove.c (TEST_NAME): Likewise.
10714         * string/test-memset.c (TEST_NAME): Likewise.
10715         * string/test-rawmemchr.c (TEST_NAME): Likewise.
10716         * string/test-stpcpy.c (TEST_NAME): Likewise.
10717         * string/test-stpncpy.c (TEST_NAME): Likewise.
10718         * string/test-strcasecmp.c (TEST_NAME): Likewise.
10719         * string/test-strcasestr.c (TEST_NAME): Likewise.
10720         * string/test-strcat.c (TEST_NAME): Likewise.
10721         * string/test-strchr.c (TEST_NAME): Likewise.
10722         * string/test-strcmp.c(TEST_NAME): Likewise.
10723         * string/test-strcpy.c (TEST_NAME): Likewise.
10724         * string/test-strcspn.c (TEST_NAME): Likewise.
10725         * string/test-strlen.c (TEST_NAME): Likewise.
10726         * string/test-strncasecmp.c (TEST_NAME): Likewise.
10727         * string/test-strncmp.c (TEST_NAME): Likewise.
10728         * string/test-strncpy.c (TEST_NAME): Likewise.
10729         * string/test-strnlen.c (TEST_NAME): Likewise.
10730         * string/test-strpbrk.c (TEST_NAME): Likewise.
10731         * string/test-strrchr.c (TEST_NAME): Likewise.
10732         * string/test-strspn.c (TEST_NAME): Likewise.
10733         * string/test-strstr.c (TEST_NAME): Likewise.
10734         * string/test-bcopy-ifunc.c: New file.
10735         * string/test-bzero-ifunc.c: Likewise.
10736         * string/test-memccpy-ifunc.c: Likewise.
10737         * string/test-memchr-ifunc.c: Likewise.
10738         * string/test-memcmp-ifunc.c: Likewise.
10739         * string/test-memcpy-ifunc.c: Likewise.
10740         * string/test-memmem-ifunc.c: Likewise.
10741         * string/test-memmove-ifunc.c: Likewise.
10742         * string/test-mempcpy-ifunc.c: Likewise.
10743         * string/test-memset-ifunc.c: Likewise.
10744         * string/test-rawmemchr-ifunc.c: Likewise.
10745         * string/test-stpcpy-ifunc.c: Likewise.
10746         * string/test-stpncpy-ifunc.c: Likewise.
10747         * string/test-strcasecmp-ifunc.c: Likewise.
10748         * string/test-strcasestr-ifunc.c: Likewise.
10749         * string/test-strcat-ifunc.c: Likewise.
10750         * string/test-strchr-ifunc.c: Likewise.
10751         * string/test-strchrnul-ifunc.c: Likewise.
10752         * string/test-strcmp-ifunc.c: Likewise.
10753         * string/test-strcpy-ifunc.c: Likewise.
10754         * string/test-strcspn-ifunc.c: Likewise.
10755         * string/test-strlen-ifunc.c: Likewise.
10756         * string/test-strncasecmp-ifunc.c: Likewise.
10757         * string/test-strncat-ifunc.c: Likewise.
10758         * string/test-strncmp-ifunc.c: Likewise.
10759         * string/test-strncpy-ifunc.c: Likewise.
10760         * string/test-strnlen-ifunc.c: Likewise.
10761         * string/test-strpbrk-ifunc.c: Likewise.
10762         * string/test-strrchr-ifunc.c: Likewise.
10763         * string/test-strspn-ifunc.c: Likewise.
10764         * string/test-strstr-ifunc.c: Likewise.
10766         * debug/Makefile (tests-ifunc): New variable.
10767         (tests): Add $(tests-ifunc).
10768         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10769         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10770         * debug/test-stpcpy_chk-ifunc.c: New file.
10771         * debug/test-strcpy_chk-ifunc.c: Likewise.
10773 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10775         [BZ #13601]
10776         * elf/dl-load.c (open_verify): Retry read if the entire ELF
10777         header is not read in.
10779 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
10781         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
10782         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
10783         directly.  Pass built executable to script as
10784         $(built-program-cmd).
10785         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
10786         $testprogram without using LD_LIBRARY_PATH and $ldso.
10788         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10789         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10790         $(rtld-installed-name).
10791         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10792         (rtld_installed_name): Likewise.
10793         (library_path): Likewise.
10794         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
10795         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10796         $(run-program-prefix) to tst-tables.sh.
10797         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
10798         it to run tst-table-from and tst-table-to.
10799         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10800         Pass it to tst-table.sh.
10801         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10802         $(run-program-prefix) to tst-gettext.sh.
10803         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10804         tst-translit.sh.
10805         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10806         tst-gettext2.sh.
10807         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
10808         to run tst-gettext.
10809         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
10810         to run tst-gettext2.
10811         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
10812         to run tst-translit.
10813         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10814         $(run-program-prefix) to tst-mtrace.sh.
10815         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
10816         to run tst-mtrace.
10817         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10818         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10819         $(rtld-installed-name).
10820         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10821         (rtld_installed_name): Likewise.
10822         (run_program_prefix): New variable.  Use it to run wordexp-test.
10824         * Makeconfig (ARCH): Remove all definitions.
10825         (machine): Likewise.
10826         [ARCH]: Remove conditional code.
10827         [!objdir]: Give error.
10828         [!objdir] (objpfx): Remove.
10829         [!objdir] (common-objpfx): Likewise.
10830         [!objdir] (common-objdir): Likewise.
10831         * configure.in (config_makefile): Remove.  Hardcode Makefile in
10832         AC_CONFIG_FILES call.
10833         * configure: Regenerated.
10835         [BZ #13888]
10836         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10837         or TMPDIR.
10838         (testout): Likewise.
10840         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10841         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10842         $(rtld-installed-name).
10843         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10844         (rtld_installed_name): Likwise.
10845         (runit): Remove function.
10846         (run_getconf): New variable,  Use it for running getconf binary.
10848 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
10850         [BZ #14716]
10851         * string/test-memmem.c (check_result): New function.
10852         (do_one_test): Use it.
10853         (check1): New function.
10854         (test_main): Use it.
10856 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
10858         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10860 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
10862         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10863         (_G_LSEEK64): Likewise.
10864         (_G_MMAP64): Likewise.
10865         (_G_FSTAT64): Likewise.
10866         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10867         (_G_LSEEK64): Likewise.
10868         (_G_MMAP64): Likewise.
10869         (_G_FSTAT64): Likewise.
10870         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10871         unconditional.  Call __mmap64 directly.
10872         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10873         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
10874         __lseek64 directly.
10875         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10876         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
10877         __mmap64 directly.
10878         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10879         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
10880         __lseek64 directly.
10881         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10882         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
10883         __lseek64 directly.
10884         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10885         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
10886         __lseek64 directly.
10887         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10888         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
10889         __fxstat64 directly.
10890         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10891         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10892         unconditional.
10893         (freopen64) [!_G_OPEN64]: Remove conditional code.
10894         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10895         unconditional.
10896         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10897         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10898         unconditional.
10899         (ftello64) [!_G_LSEEK64]: Remove conditional code.
10900         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10901         unconditional.
10902         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10903         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10904         unconditional.
10905         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10906         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10907         unconditional.
10908         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10909         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10910         unconditional.
10911         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10912         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10913         unconditional.
10914         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10916 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10918         [BZ #12140]
10919         * manual/memory.texi (Malloc Tunable Parameters): Add note
10920         about free list pointers overwriting some perturb bytes.
10921         Wording suggested by Roland McGrath.
10923 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
10925         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10926         (lgamma_test): Likewise.
10927         (tgamma_test): Likewise.
10929 2012-10-16  Florian Weimer  <fweimer@redhat.com>
10931         [BZ #14700]
10932         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10933         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10935 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
10937         * NEWS: Mention BZ #14716.
10938         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10939         when removing AVAILABLE1_USES_J macro.
10941 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10943         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10944         (__bswap_64): __uint64_t for unsigned 64-bit int.
10946 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
10948         * include/string.h (memmem): Declare libc hidden alias.
10949         * string/memmem.c (memmem): Define libc hidden alias.
10950         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10951         __read, __close instead of open, read, close.
10953 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
10955         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10956         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10957         global and hidden.
10958         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10959         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10960         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10961         Likewise.
10962         (__rawmemchr_sse2): Likewise.
10963         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10964         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10965         (__strchr_sse2): Likewise.
10966         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10967         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10968         (__strcasecmp_sse2): Likewise.
10969         (__strncasecmp_sse2): Likewise.
10970         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10971         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10972         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10973         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10974         (__strrchr_sse2): Likewise.
10975         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10976         ifunc-impl-list.c.
10977         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10978         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10979         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10980         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10981         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10982         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10983         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10984         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10985         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10986         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10987         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10988         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10989         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10990         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10991         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10992         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10993         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10994         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10995         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10996         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10997         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10998         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10999         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11000         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11001         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11002         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11003         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11004         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11005         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11006         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11008         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11009         global and hidden.
11010         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11011         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11012         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11013         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11014         Likewise.
11015         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11016         Likewise.
11017         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11018         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11019         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11020         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11021         ifunc-impl-list.c.
11022         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11023         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11024         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11025         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11026         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11027         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11028         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11029         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11030         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11031         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11032         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11033         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11034         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11035         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11036         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11037         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11038         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11039         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11040         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11041         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11042         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11043         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11044         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11045         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11046         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11047         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11048         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11049         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11050         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11051         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11052         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11053         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11054         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11055         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11056         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11057         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11058         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11059         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11060         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11061         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11062         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11064         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11065         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11066         * include/ifunc-impl-list.h: New file.
11067         * misc/ifunc-impl-list.c: Likewise.
11068         * misc/Makefile (routines): Add ifunc-impl-list.
11069         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11070         * string/test-string.h: Include <ifunc-impl-list.h>.
11071         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11072         impl_array): New variables.
11073         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11074         are defined.
11075         (test_init): Call __libc_ifunc_impl_list to initialize
11076         func_list if TEST_IFUNC and TEST_NAME are defined.
11078         * string/Makefile (strop-tests): Add bcopy and bzero.
11079         * string/test-bcopy.c: New file.
11080         * string/test-bzero.c: Likewise.
11081         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11082         defined.
11083         * string/test-memset.c: Support bzero test if TEST_BZERO is
11084         defined.
11085         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11086         __libc_memmove.
11087         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11088         __libc_memset.
11089         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11090         of memset.
11092 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
11094         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11095         * configure: Regenerated.
11097         * Makeconfig (+link-static-before-libc): Don't include
11098         $(link-static-libc).
11100         * libio/libio.h (_IO_pos_t): Remove.
11102 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11104         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
11105         McGrath.
11107 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11109         * crypt/crypt-entry.c: Include fips-private.h.
11110         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11111         * crypt/md5c-test.c (main): Tolerate disabled MD5.
11112         * sysdeps/unix/sysv/linux/fips-private.h: New file.
11113         * sysdeps/generic/fips-private.h: New file, dummy fallback.
11115 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11117         * crypt/crypt-private.h: Include stdbool.h.
11118         (_ufc_setup_salt_r): Return bool.
11119         * crypt/crypt-entry.c: Include errno.h.
11120         (__crypt_r): Return NULL with EINVAL for bad salt.
11121         * crypt/crypt_util.c (bad_for_salt): New.
11122         (_ufc_setup_salt_r): Check that salt is long enough and within
11123         the specified alphabet.
11124         * crypt/badsalttest.c: New file.
11125         * crypt/Makefile (tests): Add it.
11126         ($(objpfx)badsalttest): New.
11128 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
11130         * NEWS: Add entry for BZ #14602.
11132 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11134         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11135         type-generic.
11136         * math/libm-test.inc: Update comment listing what functions and
11137         macros are tested.
11138         (isgreater_test): New function.
11139         (isgreaterequal_test): Likewise.
11140         (isless_test): Likewise.
11141         (islessequal_test): Likewise.
11142         (islessgreater_test): Likewise.
11143         (isunordered_test): Likewise.
11144         (main): Call the new functions.
11146 2012-10-09  Roland McGrath  <roland@hack.frob.com>
11148         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11149         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11150         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11151         * sysdeps/i386/configure: Regenerated.
11152         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11153         * sysdeps/mach/configure: Regenerated.
11154         * sysdeps/mach/hurd/configure: Regenerated.
11155         * sysdeps/powerpc/configure: Regenerated.
11156         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11157         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11158         * sysdeps/s390/s390-32/configure: Regenerated.
11159         * sysdeps/s390/s390-64/configure: Regenerated.
11160         * sysdeps/sh/configure: Regenerated.
11161         * sysdeps/sparc/configure: Regenerated.
11162         * sysdeps/unix/sysv/linux/configure: Regenerated.
11163         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11164         * sysdeps/x86_64/configure: Regenerated.
11166         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11167         defined.  Don't check if MAP is NULL.
11169 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11171         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11172         (_G_stat64): Likewise.
11173         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11174         (_G_stat64): Likewise.
11175         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11176         instead of struct _G_stat64.
11177         * libio/fileops.c (mmap_remap_check): Likewise.
11178         (decide_maybe_mmap): Likewise.
11179         (_IO_new_file_seekoff): Likewise.
11180         (_IO_file_stat): Likewise.
11181         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11182         _G_off64_t.
11183         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11184         instead of struct _G_stat64.
11185         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11187 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
11189         [BZ #14602]
11190         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11191         Replace with ...
11192         (CHECK_EOL): New macro.
11193         (two_way_short_needle): Check beginning of haystack for EOL.  Use
11194         CHECK_EOL.
11195         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11196         Replace with CHECK_EOL.
11197         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11198         Replace with CHECK_EOL.
11200 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
11202         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11203         type-generic.
11204         * math/libm-test.inc: Update comment listing what functions and
11205         macros are tested.
11206         (finite_test): New function.
11207         (isinf_test): Likewise.
11208         (isnan_test): Likewise.
11209         (fpclassify_test): Test subnormal input.
11210         (isfinite_test): Likewise.
11211         (isnormal_test): Likewise.
11212         (main): Call the new functions.
11214 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
11216         [BZ #14660]
11217         * Makerules (%.dynsym): Force C locale when running
11218         $(OBJDUMP) --dynamic-syms.
11220 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
11222         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11223         <stdint.h>.
11225 2012-10-06  David S. Miller  <davem@davemloft.net>
11227         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11228         upper 32-bits of the length value in %o2 since we use branch-on-register
11229         tests which consider the entire 64-bit register.
11231 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
11233         * string/test-strstr.c (check2): Add a test for page boundary.
11235 2012-10-05  David S. Miller  <davem@davemloft.net>
11237         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11238         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11239         file.
11240         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11241         sysdep_routines.
11242         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11243         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11244         and bzero when HWCAP_SPARC_CRYPTO is present.
11246 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
11248         [BZ #14602]
11249         * string/test-strstr.c (check2): New function.
11250         (test_main): Call check2.
11252         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11253         and bug-strchr1.
11254         * string/bug-strcasestr1.c (do_test): Moved to ...
11255         * string/test-strcasestr.c (check1): Here.  New function.
11256         (do_one_test): Break out result checking code into ...
11257         (check_result): This.  New function.
11258         (do_one_test): Call check_result.
11259         (test_main): Call check1.
11260         * string/bug-strchr1.c (do_test): Moved to ...
11261         * string/test-strchr.c (check1): Here.  New function.
11262         (do_one_test): Break out result checking code into ...
11263         (check_result): This.  New function.
11264         (do_one_test): Call check_result.
11265         (test_main): Call check1.
11266         * string/bug-strstr1.c (main): Moved to ...
11267         * string/test-strstr.c (check1): Here.  New function.
11268         (do_one_test): Break out result checking code into ...
11269         (check_result): This.  New function.
11270         (do_one_test): Call check_result.
11271         (test_main): Call check1.
11272         * string/bug-strcasestr1.c: Removed.
11273         * string/bug-strchr1.c: Likewise.
11274         * string/bug-strstr1.c: Likewise.
11276         * elf/Makefile (dl-routines): Add hwcaps.
11277         * elf/dl-support.c (_dl_important_hwcaps): Removed.
11278         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11279         (_dl_important_hwcaps): Moved to ...
11280         * elf/dl-hwcaps.c: Here.  New file.
11281         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11283         [BZ #14557]
11284         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11285         if IS_IN_rtld isn't defined.
11287         * elf/dl-support.c (_dl_sysinfo_map): New.
11288         Include "get-dynamic-info.h" and "setup-vdso.h".
11289         (_dl_non_dynamic_init): Call setup_vdso.
11290         * elf/dynamic-link.h: Don't include <assert.h>.
11291         (elf_get_dynamic_info): Moved to ...
11292         * elf/get-dynamic-info.h: Here.  New file.
11293         * elf/dynamic-link.h: Include "get-dynamic-info.h".
11294         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11295         * elf/setup-vdso.h: Here.  New file.
11296         * elf/rtld.c: Include "setup-vdso.h".
11297         (dl_main): Call setup_vdso.
11299 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
11301         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11302         creal in comment listing functions tested.  List finite, isinf,
11303         isnan, isless, islessequal, isgreater, isgreaterequal,
11304         islessgreater, isunordered, lgamma_r and pow10 as functions and
11305         macros not tested.  Mention which functions not tested are aliases
11306         for other functions.  Fix typo.  Note that signs of NaNs are not
11307         tested.
11309         * scripts/config.guess: Update from config.git.
11310         * scripts/config.sub: Likewise.
11312 2012-10-04  Roland McGrath  <roland@hack.frob.com>
11314         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11315         * misc/madvise.c (madvise): Renamed to __madvise.
11316         Make madvise a weak alias.
11317         * include/sys/mman.h: Declare __madvise.
11318         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11319         * sysdeps/unix/syscalls.list
11320         (madvise): Make __madvise the strong name, and madvise a weak alias.
11321         * sysdeps/unix/sysv/linux/syscalls.list
11322         (madvise, mmap): Remove redundant entries.
11323         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11324         * malloc/malloc.c (mtrim): Likewise.
11325         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11327 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11329         * sysdeps/mach/hurd/dl-cache.c: File removed.
11330         * config.h.in (USE_LDCONFIG): New #undef.
11331         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11332         * configure: Regenerated.
11333         * elf/Makefile (dl-routines): Add dl-cache only under
11334         [$(use-ldconfig) = yes].
11335         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11336         cache on [USE_LDCONFIG].
11337         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11338         [USE_LDCONFIG].
11339         * elf/rtld.c (dl_main): Likewise.
11341 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
11343         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11344         _SC_LEVEL4_CACHE_LINESIZE.
11346 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11348         * sysdeps/unix/bsd/confstr.h: File removed.
11350 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
11352         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11353         sys/sdt-config.h.
11355 2012-10-02  Roland McGrath  <roland@hack.frob.com>
11357         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11358         Make 'mapoff' field ElfW(Off) rather than off_t.
11360 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
11362         * nscd/Makefile: Remove nscd-cflags and all its users.
11363         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11364         (CFLAGS-nonlib): Add compiler flags for nscd modules.
11366         [BZ #10631]
11367         * malloc.c (malloc_printerr): Clarify error message.
11369 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
11371         [BZ #14648]
11372         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11373         Set bit_FMA_Usable if FMA is supported.
11374         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11375         macro.
11376         (bit_FMA4_Usable): Updated.
11377         (index_FMA_Usable): New macro.
11378         (CPUID_FMA): Likewise
11379         (HAS_FMA): Defined with bit_FMA_Usable.
11381 2012-10-01  Roland McGrath  <roland@hack.frob.com>
11383         * bits/types.h (__swblk_t): Type removed.
11384         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11385         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11386         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11387         (__SWBLK_T_TYPE): Likewise.
11388         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11389         (__SWBLK_T_TYPE): Likewise.
11390         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11391         (__SWBLK_T_TYPE): Likewise.
11392         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11393         (__SWBLK_T_TYPE): Likewise.
11395 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
11396             Honza Horak <hhorak@redhat.com>
11398         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11399         (xdr_mapname): Use YPMAXMAP as maxsize.
11400         (xdr_peername): Use YPMAXPEER as maxsize.
11401         (xdr_keydat): Use YPAXRECORD as maxsize.
11402         (xdr_valdat): Use YPMAXRECORD as maxsize.
11404 2012-10-01  Roland McGrath  <roland@hack.frob.com>
11406         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11408         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11409         * csu/init-first.c: ... here.
11410         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11411         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11412         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11413         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11414         * sysdeps/i386/init-first.c: File removed.
11415         * sysdeps/sh/init-first.c: File removed.
11417 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
11419         [BZ #14645]
11420         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11421         if x * y might underflow to zero and z is zero.
11422         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11423         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11424         * math/libm-test.inc (min_subnorm_value): New variable.
11425         (fma_test): Add more tests.
11426         (fma_test_towardzero): Likewise.
11427         (fma_test_downward): Likewise
11428         (fma_test_upward): Likewise.
11429         (initialize): Set min_subnorm_value.
11431 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
11433         [BZ #14638]
11434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11435         0 + 0.
11436         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11437         mode for addition resulting in exact zero.
11438         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11439         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11440         exact 0 + 0.
11441         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11442         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11443         * math/libm-test.inc (fma_test): Add more tests.
11444         (fma_test_towardzero): New function.
11445         (fma_test_downward): Likewise.
11446         (fma_test_upward): Likewise.
11447         (main): Call the new functions.
11449 2012-09-28  David S. Miller  <davem@davemloft.net>
11451         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11453 2012-09-28  Roland McGrath  <roland@hack.frob.com>
11455         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11456         instead of SIGALRM.
11458         * sysdeps/gnu/_G_config.h: Moved to ...
11459         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11460         * sysdeps/mach/hurd/_G_config.h: Moved to ...
11461         * sysdeps/generic/_G_config.h: ... here.
11463         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
11465         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11467         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11468         Conditionalize target on [libnss_test1.so-version].
11470         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11472         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11473         (elfobjdir): Move out of conditionals.
11475         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11476         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11477         (__nss_lookup_function): Conditionalize label remove_from_tree on
11478         [!DO_STATIC_NSS || SHARED], matching its only use.
11480 2012-09-28  David S. Miller  <davem@davemloft.net>
11482         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11483         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11484         file.
11485         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11486         sysdep_routines.
11487         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11488         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11489         when HWCAP_SPARC_CRYPTO is present.
11491 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11493         * io/tst-mknodat.c: Create a FIFO instead of a socket.
11495 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
11497         [BZ #6530]
11498         * stdio-common/vfprintf.c (process_string_arg): Revert
11499         2000-07-22 change.
11501 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
11503         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11504         for testcase.
11505         * stdio-common/tst-sprintf.c: Include <locale.h>
11506         (main): Test sprintf's handling of incomplete multibyte
11507         characters.
11509 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
11511         * elf/dl-runtime.c (VERSYMIDX): Removed.
11512         * elf/dl-version.c (VERSYMIDX): Likewise.
11513         * elf/do-rel.h (VERSYMIDX): Likewise.
11514         (VALIDX): Likewise.
11515         * elf/dynamic-link.h (VERSYMIDX): Likewise.
11516         * elf/rtld.c (VALIDX): Likewise.
11517         (ADDRIDX): Likewise.
11518         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11519         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11520         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11521         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11522         (VALIDX): Likewise.
11523         (ADDRIDX): Likewise.
11525 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11527         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11529 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
11531         [BZ #11438]
11532         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11533         to global scope.
11534         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11535         addresses are in the same scope as 192.0.2/24.
11536         * posix/gai.conf: Document new scope table defaults.
11538 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11540         [BZ #5298]
11541         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11542         for ftell.  Compute offsets from write pointers instead.
11543         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11545 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11547         [BZ #14543]
11548         * libio/Makefile (tests): New test case tst-fseek.
11549         * libio/tst-fseek.c: New test case to verify that fseek/ftell
11550         combination works in wide mode.
11551         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11552         state when the external buffer state changes.
11554 2012-09-27  David S. Miller  <davem@davemloft.net>
11556         [BZ #14376]
11557         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11558         pass reloc->r_addend in as the 'high' argument to
11559         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11563 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11565         * rt/tst-aio2.c: Include <pthread.h>.
11566         * rt/tst-aio3.c: Likewise.
11568 2012-09-27  Steve Ellcey  <sellcey@mips.com>
11570         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11572 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11574         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11575         contents on [SHARED].
11577 2012-09-26  Marek Polacek  <polacek@redhat.com>
11579         [BZ #14530]
11580         [BZ #13741]
11581         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11582         for C++ and GCC <4.3 as well as for non GCC compilers.
11584 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11588 2012-09-25  Roland McGrath  <roland@hack.frob.com>
11590         * Makefile.in (all, install): Declare with .PHONY.
11591         Reported by Michael Hope <michael.hope@linaro.org>.
11593 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11595         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11596         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11597         system header.
11598         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11599         Likewise.
11600         (sydep_routines): Add the new and the internal functions.
11601         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11602         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11604         (GLIBC_2.17): Add the new function.
11605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11606         (GLIBC_2.17): Likewise.
11607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11608         (GLIBC_2.17): Likewise.
11609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11610         (GLIBC_2.17): Likewise.
11611         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11613 2012-09-25  Alan Modra  <amodra@gmail.com>
11615         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11616         Add release barrier before setting once_control to say
11617         initialisation is done.  Add hints on lwarx.  Use macro in
11618         place of isync.
11619         (clear_once_control): Add release barrier.
11621 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11623         [BZ #13629]
11624         * math/s_clog.c (__clog): Handle more values close to |z| = 1
11625         specially.
11626         * math/s_clog10.c (__clog10): Likewise.
11627         * math/s_clog10f.c (__clog10f): Likewise.
11628         * math/s_clog10l.c (__clog10l): Likewise.
11629         * math/s_clogf.c (__clogf): Likewise.
11630         * math/s_clogl.c (__clogl): Likewise.
11631         * math/Makefile (libm-calls): Add x2y2m1.
11632         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11633         (__x2y2m1): Likewise.
11634         (__x2y2m1l): Likewise.
11635         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11636         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11637         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11638         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11639         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11640         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11641         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11642         * sysdeps/i386/fpu/libm-test-ulps: Update.
11643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11645         [BZ #14621]
11646         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11647         int as type of variable DEPTH.
11648         (glob): Use size_t instead of int as type of variables NEWCOUNT
11649         and OLD_PATHC.
11651 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11653         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11654         Add s_sincosf-sse2.
11655         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11656         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11657         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11658         macros for using routine as __sincosf_ia32.
11659         Use macro for function declaration and weak_alias.
11660         * sysdeps/i386/fpu/libm-test-ulps: Update.
11662         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11665         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11666         subnormal argument.
11667         * math/s_cexpf.c (__cexpf): Likewise.
11668         * math/s_csinf.c (__csinf): Likewise.
11669         * math/s_csinhf.c (__csinhf): Likewise.
11670         * math/s_ctanf.c (__ctanf): Likewise.
11671         * math/s_ctanhf.c (__ctanhf): Likewise.
11672         * math/s_ccosh.c (__ccoshf): Likewise.
11673         * math/s_cexp.c (__cexpl): Likewise.
11674         * math/s_csin.c (__csin): Likewise.
11675         * math/s_csinh.c (__csinh): Likewise.
11676         * math/s_ctan.c (__ctan): Likewise.
11677         * math/s_ctanh.c (ctanh): Likewise.
11678         * math/s_ccoshl.c (__ccoshl): Likewise.
11679         * math/s_cexpl.c (__cexpl): Likewise.
11680         * math/s_csinl.c (__csinl): Likewise.
11681         * math/s_csinhl.c (__csinhl): Likewise.
11682         * math/s_ctanl.c (__ctanl): Likewise.
11683         * math/s_ctanhl.c (__ctanhl): Likewise.
11685 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11687         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11688         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11689         (_IO_off_t): Define to __off_t, not _G_off_t.
11690         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11691         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11692         (_IO_wint_t): Define to wint_t, not _G_wint_t.
11693         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11694         type of __dummy and __dummy2 fields.
11695         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11696         (_G_ssize_t): Likewise.
11697         (_G_off_t): Likewise.
11698         (_G_pid_t): Likewise.
11699         (_G_uid_t): Likewise.
11700         (_G_wchar_t): Likewise.
11701         (_G_wint_t): Likewise.
11702         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11703         (_G_ssize_t): Likewise.
11704         (_G_off_t): Likewise.
11705         (_G_pid_t): Likewise.
11706         (_G_uid_t): Likewise.
11707         (_G_wchar_t): Likewise.
11708         (_G_wint_t): Likewise.
11709         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11710         (_G_ssize_t): Likewise.
11711         (_G_off_t): Likewise.
11712         (_G_pid_t): Likewise.
11713         (_G_uid_t): Likewise.
11714         (_G_wchar_t): Likewise.
11715         (_G_wint_t): Likewise.
11717 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11719         * malloc/arena.c: Include malloc-sysdep.h.
11720         (shrink_heap): Use check_may_shrink_heap to decide if madvise
11721         is sufficient to shrink the heap or an unmap is needed.
11722         * sysdeps/generic/malloc-sysdep.h: New file.  Define
11723         new function check_may_shrink_heap.
11724         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
11725         new function check_may_shrink_heap.
11727 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11729         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11730         comments.
11732 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
11734         * catgets/test-gencat.sh: Add "set -e".
11735         * elf/tst-pathopt.sh: Likewise.
11736         * grp/tst_fgetgrent.sh: Likewise.
11737         * iconvdata/run-iconv-test.sh: Likewise.
11738         * intl/tst-gettext.sh: Likewise.
11739         * intl/tst-gettext2.sh: Likewise.
11740         * intl/tst-gettext4.sh: Likewise.
11741         * intl/tst-gettext6.sh: Likewise.
11742         * intl/tst-translit.sh: Likewise.
11743         * io/ftwtest-sh: Likewise.
11744         * libio/test-freopen.sh: Likewise.
11745         * malloc/tst-mtrace.sh: Likewise.
11746         * posix/globtest.sh: Likewise.
11747         * posix/tst-getconf.sh: Likewise.
11748         * posix/wordexp-tst.sh: Likewise.
11749         * stdio-common/tst-printf.sh: Likewise.
11750         * stdio-common/tst-unbputc.sh: Likewise.
11751         * stdlib/tst-fmtmsg.sh: Likewise.
11752         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11753         * catgets/Makefile: Do not specify -e option when running
11754         testsuite shell scripts.
11755         * elf/Makefile: Likewise.
11756         * grp/Makefile: Likewise.
11757         * iconvdata/Makefile: Likewise.
11758         * intl/Makefile: Likewise.
11759         * io/Makefile: Likewise.
11760         * libio/Makefile: Likewise.
11761         * malloc/Makefile: Likewise.
11762         * posix/Makefile: Likewise.
11763         * stdio-common/Makefile: Likewise.
11764         * stdlib/Makefile: Likewise.
11765         * sysdeps/x86_64/Makefile: Likewise.
11767         * io/ftwtest-sh: Add copyright header.
11768         * posix/globtest.sh: Likewise.
11769         * posix/tst-getconf.sh: Likewise.
11770         * posix/wordexp-tst.sh: Likewise.
11771         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11773 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
11775         [BZ #13679]
11776         * Makeconfig (+link): Defined as $(+link-static) if
11777         $(build-shared) isn't yes.
11778         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11779         isn't yes.
11780         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11782         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11784         [BZ #14562]
11785         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11786         new chunk size with MALLOC_ALIGN_MASK.
11788 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
11790         [BZ #5044]
11791         * stdio-common/printf_fphex.c: Include <stdbool.h> and
11792         <rounding-mode.h>.
11793         (__printf_fphex): Determine rounding using get_rounding_mode and
11794         round_away.
11795         * stdio-common/tst-printf-round.c (struct hex_test): New
11796         structure.
11797         (hex_tests): New variable.
11798         (test_hex_in_one_mode): New function.
11799         (do_test): Also run tests for hex float output.
11801 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
11803         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11804         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11805         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11806         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11807         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11808         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11809         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11810         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11812 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
11814         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11815         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11816         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11817         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11819 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
11821         [BZ #14579]
11822         * elf/rtld.c (dl_main): Limit the check for self loading to normal
11823         mode only.
11824         * elf/tst-rtld-load-self.sh: New test.
11825         * elf/Makefile: Run it.
11827 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
11829         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11830         (tst-writev-ENV): Remove.
11831         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11833 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
11835         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11837 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
11839         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11840         unconditional.
11841         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11842         Likewise.
11843         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11844         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11845         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11846         Likewise.
11848 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11850         [BZ #14587]
11851         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11852         * config.make.in (have-cpp-asm-debuginfo): Removed.
11853         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11854         * configure: Regenerated.
11856 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
11858         [BZ #5044]
11859         * stdio-common/printf_fp.c: Include <stdbool.h> and
11860         <rounding-mode.h>.
11861         (___printf_fp): Determine rounding using get_rounding_mode and
11862         round_away.
11863         * stdio-common/tst-printf-round.c: New file.
11864         * stdio-common/Makefile (tests): Add tst-printf-round.
11865         (link-libm): New variable.
11866         ($(objpfx)tst-printf-round): Depend in $(link-libm).
11868 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
11870         [BZ #14576]
11871         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11872         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11873         Likewise.
11874         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11875         Likewise.
11877 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
11879         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11880         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11881         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11882         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11884 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
11886         [BZ #14518]
11887         * include/rounding-mode.h: New file.
11888         * sysdeps/generic/get-rounding-mode.h: Likewise.
11889         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11890         * stdlib/strtod_l.c: Include <rounding-mode.h>.
11891         (MAX_VALUE): New macro.
11892         (MIN_VALUE): Likewise.
11893         (overflow_value): New function.
11894         (underflow_value): Likewise.
11895         (round_and_return): Use overflow_value and underflow_value to
11896         determine return values in overflow and underflow cases.  Use
11897         round_away to determine rounding depending on rounding mode.
11898         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11899         determine return values in overflow and underflow cases.
11900         * stdlib/tst-strtod-round.c: Include <fenv.h>.
11901         (struct test_results): New structure.
11902         (struct test): Use struct test_results to store expected results
11903         for all rounding modes.
11904         (TEST): Include expected results for all rounding modes.
11905         (test_in_one_mode): New function.
11906         (do_test): Use test_in_one_mode to compute and check results.
11907         Check results for all rounding modes.
11908         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11909         $(link-libm).
11911 2012-12-09  Allan McRae  <allan@archlinux.org>
11913         * sysdeps/i386/fpu/libm-test-ulps: Update
11915 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
11917         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11918         (_G_int32_t): Likewise.
11919         (_G_uint16_t): Likewise.
11920         (_G_uint32_t): Likewise.
11921         (_G_HAVE_BOOL): Likewise.
11922         (_G_HAVE_ATEXIT): Likewise.
11923         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11924         (_G_HAVE_IO_FILE_OPEN): Likewise.
11925         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11926         (_G_int32_t): Likewise.
11927         (_G_uint16_t): Likewise.
11928         (_G_uint32_t): Likewise.
11929         (_G_HAVE_BOOL): Likewise.
11930         (_G_HAVE_ATEXIT): Likewise.
11931         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11932         (_G_HAVE_IO_FILE_OPEN): Likewise.
11933         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11934         (_G_int32_t): Likewise.
11935         (_G_uint16_t): Likewise.
11936         (_G_uint32_t): Likewise.
11937         (_G_HAVE_BOOL): Likewise.
11938         (_G_HAVE_ATEXIT): Likewise.
11939         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11940         (_G_HAVE_IO_FILE_OPEN): Likewise.
11942 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
11944         * csu/libc-tls.c: Update copyright years.
11946 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
11948         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11949         [!_G_USING_THUNKS]: Remove conditional code.
11950         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11951         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11953         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11954         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11955         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11956         (_G_VTABLE_LABEL_PREFIX): Likewise.
11957         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11958         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11959         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11960         (_G_VTABLE_LABEL_PREFIX): Likewise.
11961         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11962         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11963         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11964         (_G_VTABLE_LABEL_PREFIX): Likewise.
11965         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11967 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
11969         * libio/Makefile: Include ../Makeconfig before tests.
11970         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11971         only if $(build-shared) is yes.
11973         * iconv/gconv_db.c: Update copyright years.
11975 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11977         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11978         unwind info if defined PIC. Fix special cases description.
11979         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11981         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11982         DP_HI_MASK entry.
11983         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11985 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
11987         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11989         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11990         is NULL.
11992         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11993         (LDLIBS-tst-chk4): This.
11994         (LDFLAGS-tst-chk5): Renamed to ...
11995         (LDLIBS-tst-chk5): This.
11996         (LDFLAGS-tst-chk6): Renamed to ...
11997         (LDLIBS-tst-chk6): This.
11998         (LDFLAGS-tst-lfschk4): Renamed to ...
11999         (LDLIBS-tst-lfschk4): This.
12000         (LDFLAGS-tst-lfschk5): Renamed to ...
12001         (LDLIBS-tst-lfschk5): This.
12002         (LDFLAGS-tst-lfschk6): Renamed to ...
12003         (LDLIBS-tst-lfschk6): This.
12005         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12006         on $(common-objpfx)soversions.mk.
12008 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12010         [BZ #10014]
12011         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12012         example host name.
12014 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12016         * malloc/arena.c (arena_get_retry): New function that gets
12017         another arena for the caller to try its request on.
12018         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12019         current arena cannot fulfill the request.
12020         (__libc_memalign): Likewise.
12021         (__libc_memalign): Likewise.
12022         (__libc_pvalloc): Likewise.
12023         (__libc_calloc): Likewise.
12025 2012-09-05  John Tobey  <john.tobey@gmail.com>
12027         [BZ #13542]
12028         * manual/arith.texi (Operations on Complex): Fix description
12029         of carg branch cut.
12031 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12033         [BZ #10014]
12034         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12035         host name.
12037         [BZ #10038]
12038         * manual/memory.texi (Memory): Make order of menu items match
12039         order of sections.
12041 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12043         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12044         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12045         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12047 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12049         * csu/libc-tls.c (static_dtv): Renamed to ...
12050         (_dl_static_dtv): This.  Make it global.
12051         (_dl_initial_dtv): Removed.
12052         (__libc_setup_tls): Updated.
12053         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12054         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12055         DL_INITIAL_DTV.
12057 2012-09-06  Petr Machata  <pmachata@redhat.com>
12059         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12060         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12061         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12062         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12064 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12066         [BZ #14545]
12067         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12068         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12069         freeing dtv[-1].
12071 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12073         [BZ #14544]
12074         * Makeconfig (link-static-before-libc): Replace $(+prector)
12075         with $(+prectorT).
12076         (link-static-after-libc): Replace $(+postctor) with
12077         $(+postctorT).
12078         (link-bounded): Replace $(+prector)/$(+postctor) with
12079         $(+prectorT)/$(+postctorT).
12080         (+prectorT): New macro.
12081         (+postctorT): Likewise.
12083 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12085         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12086         (round_str): Handle values above the maximum for IBM long double
12087         as inexact.
12088         * stdlib/tst-strtod-round.c (tests): Regenerated.
12090 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12092         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12093         assembler flag.
12094         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12095         zarch_nohighgprs around the zarch optimized routines.
12096         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12097         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12098         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12099         for zarch.
12101 2012-09-05  David S. Miller  <davem@davemloft.net>
12103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12105         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12106         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12107         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12108         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12109         entries.
12111 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12113         * malloc/arena.c: Fold copyright years.
12114         * malloc/mcheck.c, malloc/memusage.c: Likewise.
12116 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12118         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12120 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12122         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
12124 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12126         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12127         change internal state upon failure.
12129 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12131         * malloc/mcheck.c (mcheck_check_all): Fix typo.
12132         * malloc/memusage.c (mmap): Likewise.
12133         (mmap64, mremap): Likewise.  Adjust name in comment.
12135 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12137         * libio/fileops.c: Fix typos in comments.
12138         * libio/oldfileops.c: Likewise.
12139         * libio/wfileops.c: Likewise.
12141 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12143         [BZ #1349]
12144         * malloc/Makefile (tests): Add tst-malloc-usable test case.
12145         (tst-malloc-usable-ENV): Set environment for test case.
12146         * malloc/hooks.c (malloc_check_get_size): New function to get
12147         requested size.
12148         * malloc/malloc.c (musable): Use malloc_check_get_size.
12149         * malloc/tst-malloc-usable.c: New test case.
12151 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12153         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12155 2012-09-05  Allan McRae  <allan@archlinux.org>
12157         [BZ #13966]
12158         * configure.in (CXX_SYSINCLUDES): Use compiler output to
12159         determine header location.
12160         * configure: Regenerated.
12162 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12164         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12165         float format.
12166         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12167         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12168         format.
12169         (test): Regenerate.
12171 2012-09-04  David S. Miller  <davem@davemloft.net>
12173         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12174         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12175         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12177 2012-09-04  Florian Weimer  <fweimer@redhat.com>
12179         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12180         failures.
12182         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12184 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
12186         [BZ #9914]
12187         * libio/iogetdelim.c: Include <limits.h>.
12188         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12189         + len + 1 would overflow.
12191 2012-09-03  Andreas Jaeger  <aj@suse.de>
12193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12194         * sysdeps/i386/fpu/libm-test-ulps: Update.
12196 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12198         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12199         Add s_sinf-sse2, s_conf-sse2.
12201         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12202         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12203         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12204         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12206         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12207         for using routine as __sinf_ia32.
12208         Use macro for function declaration and weak_alias.
12209         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12210         for using routine as __cosf_ia32.
12211         Use macro for function declaration and weak_alias.
12213         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12214         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12216         * sysdeps/x86_64/fpu/s_sinf.S: New file.
12217         * sysdeps/x86_64/fpu/s_cosf.S: New file.
12218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12220         * math/libm-test.inc (cos_test): Add more test cases.
12221         (sin_test): Likewise.
12222         (sincos_test): Likewise.
12224 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12226         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12227         (IFUNC_RESOLVE): Make pointers to the specialized implementations
12228         hidden.
12229         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12231 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
12233         [BZ #14538]
12234         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12235         first element of the GOT.
12236         (elf_machine_load_address): Return the difference between
12237         the runtime address of _DYNAMIC and elf_machine_dynamic ().
12239 2012-09-01  Allan McRae  <allan@archlinux.org>
12241         [BZ #13412]
12242         * configure.in (AWK): Require gawk version 3.0 or later.
12243         * configure: Regenerated.
12245 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
12247         * sysdeps/unix/sysv/linux/kernel-features.h
12248         (__ASSUME_POSIX_CPU_TIMERS): Remove.
12249         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12250         [__NR_clock_getres]: Make code unconditional.
12251         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12252         (clock_getcpuclockid): Remove code left unreachable by removal of
12253         conditionals.
12254         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12255         code unconditional.
12256         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12257         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12258         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12259         Make code unconditional.
12260         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12261         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12262         * sysdeps/unix/sysv/linux/clock_settime.c
12263         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12264         conditional code.
12265         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12266         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12268 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
12270         [BZ #14476]
12271         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12272         scripts/test-installation.pl.
12274         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12275         and $ld_so_version if it is set.
12277 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12279         [BZ #14516]
12280         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12281         failure if reading from procfs failed.
12282         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12284 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12286         * sysdeps/unix/sysv/linux/kernel-features.h
12287         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12288         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12289         Remove conditional code.
12290         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12291         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12292         Remove conditional code.
12293         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12294         * sysdeps/unix/sysv/linux/i386/fxstat.c
12295         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12296         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12297         * sysdeps/unix/sysv/linux/i386/fxstatat.c
12298         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12299         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12300         * sysdeps/unix/sysv/linux/i386/lxstat.c
12301         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12302         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12303         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12304         Remove conditional code.
12305         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12306         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12307         Remove conditional code.
12308         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12309         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12310         <kernel-features.h>.
12311         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12312         Remove.
12313         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12314         Remove conditional code.
12315         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12316         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12317         Remove conditional.
12319 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
12321         [BZ #5400]
12322         * NEWS: Add fixed bug number.
12324 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12326         [BZ #14519]
12327         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12328         underflowing exponent in case of negative sign.
12329         * stdlib/tst-strtod-round-data: Add more tests.
12330         * stdlib/tst-strtod-round.c (tests): Regenerated.
12332         [BZ #3479]
12333         * stdlib/strtod_l.c (NDIG): Remove.
12334         (HEXNDIG): Likewise.
12335         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12336         smallest representable value.
12337         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12338         lie within an exact representation of 1/2 ulp of the result.
12339         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12340         unconditionally.
12341         (TENS_P9_IDX): Define unconditionally.
12342         (TENS_P9_SIZE): Likewise.
12343         (TENS_P10_IDX): Likewise.
12344         (TENS_P10_SIZE): Likewise.
12345         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12346         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12347         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12348         entries for 10^2^13 and 10^2^14.
12349         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12350         (TENS_P13_IDX): Define.
12351         (TENS_P13_SIZE): Likewise.
12352         (TENS_P14_IDX): Likewise.
12353         (TENS_P14_SIZE): Likewise.
12354         (_fpioconst_pow10): Change array size to
12355         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
12356         unconditional.
12357         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12358         1024]: Add entries for 10^2^13 and 10^2^14.
12359         [LAST_POW10 > _LAST_POW10]: Remove #error.
12360         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12361         (_fpioconst_pow10): Change array size to
12362         FPIOCONST_POW10_ARRAY_SIZE.
12363         * stdlib/gen-fpioconst.c: New file.
12364         * stdlib/gen-tst-strtod-round.c: Likewise.
12365         * stdlib/tst-strtod-round-data: Likewise.
12366         * stdlib/tst-strtod-round.c: Likewise.
12367         * stdlib/Makefile (tests): Add tst-strtod-round.
12369         [BZ #14459]
12370         * stdlib/strtod_l.c: Include <stdint.h>.
12371         (NDEBUG): Do not define.
12372         (round_and_return): Change EXPONENT parameter to type intmax_t.
12373         Rearrange calculations to avoid internal overflow possibilities.
12374         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12375         Rearrange calculations to avoid internal overflow possibilities.
12376         Assert that number fits inside MPNSIZE limbs.
12377         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12378         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
12379         calculations and add assertions to avoid internal overflow
12380         possibilities.  Add casts to avoid signed/unsigned operations.
12381         * stdlib/tst-strtod-overflow.c: New file.
12382         * stdlib/Makefile (tests): Add tst-strtod-overflow.
12384 2012-08-25  Marek Polacek  <polacek@redhat.com>
12386         * time/time.h: Fix some typos in comments.
12388 2012-08-23  Roland McGrath  <roland@hack.frob.com>
12390         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12391         * posix/tst-rfc3484-2.c: Likewise.
12392         * posix/tst-rfc3484-3.c: Likewise.
12394 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
12396         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12397         (EF_ARM_ABI_FLOAT_HARD): Likewise.
12399 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
12401         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12402         #include of fxstatat64.c.
12404 2012-08-22  Roland McGrath  <roland@hack.frob.com>
12406         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12407         * shadow/getspent_r.c: Likewise.
12408         * shadow/getspnam.c: Likewise.
12409         * shadow/getspnam_r.c: Likewise.
12410         * gshadow/getsgent.c: Likewise.
12411         * gshadow/getsgent_r.c: Likewise.
12412         * gshadow/getsgnam.c: Likewise.
12413         * gshadow/getsgnam_r.c: Likewise.
12414         * inet/getnetbyad.c: Likewise.
12415         * inet/getnetbyad_r.c: Likewise.
12416         * inet/getnetbynm.c: Likewise.
12417         * inet/getnetbynm_r.c: Likewise.
12418         * inet/getnetent.c: Likewise.
12419         * inet/getnetent_r.c: Likewise.
12420         * inet/getproto.c: Likewise.
12421         * inet/getproto_r.c: Likewise.
12422         * inet/getprtent.c: Likewise.
12423         * inet/getprtent_r.c: Likewise.
12424         * inet/getprtname.c: Likewise.
12425         * inet/getprtname_r.c: Likewise.
12426         * inet/getrpcbyname.c: Likewise.
12427         * inet/getrpcbyname_r.c: Likewise.
12428         * inet/getrpcbynumber.c: Likewise.
12429         * inet/getrpcbynumber_r.c: Likewise.
12430         * inet/getrpcent.c: Likewise.
12431         * inet/getrpcent_r.c: Likewise.
12432         * inet/getaliasent.c: Likewise.
12433         * inet/getaliasent_r.c: Likewise.
12434         * inet/getaliasname.c: Likewise.
12435         * inet/getaliasname_r.c: Likewise.
12436         * nscd/getgrgid_r.c: Likewise.
12437         * nscd/getgrnam_r.c: Likewise.
12438         * nscd/gethstbyad_r.c: Likewise.
12439         * nscd/gethstbynm3_r.c: Likewise.
12440         * nscd/getpwnam_r.c: Likewise.
12441         * nscd/getpwuid_r.c: Likewise.
12442         * nscd/getsrvbynm_r.c: Likewise.
12443         * nscd/getsrvbypt_r.c: Likewise.
12444         * nscd/gai.c: Likewise.
12446         * configure.in (build_nscd): New substituted variable, set
12447         by --disable-build-nscd and defaults to $use_nscd.
12448         * configure: Regenerated.
12449         * config.make.in (build-nscd): New substituted variable.
12450         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12451         Change conditional to require [$(build-nscd) = yes] as well.
12452         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12454         [BZ# 13696]
12455         * configure.in (use_nscd): New substituted variable, set by
12456         --disable-nscd.  If enabled, define USE_NSCD.
12457         * configure: Regenerated.
12458         * config.h.in: Add USE_NSCD.
12459         * config.make.in (use-nscd): New substituted variable.
12460         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12461         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12462         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12463         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12464         (CFLAGS-getgrnam_r.c): Likewise.
12465         (CFLAGS-initgroups.c): Likewise.
12466         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12467         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12468         Variables removed.
12469         * inet/getnetgrent_r.c
12470         (nscd_setnetgrent): New function, broken out of ...
12471         (setnetgrent): ... here.  Call it.
12472         (innetgr): Conditionalize nscd bits on [USE_NSCD].
12473         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12474         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12475         * nscd/Makefile (routines, aux): Move definitions after include of
12476         Makeconfig.  Conditionalize on [$(use-nscd) != no].
12477         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12478         Conditionalize on [USE_NSCD].
12479         (is_nscd, nscd_init_cb): Likewise.
12480         (nss_load_library): Conditionalize init callback on [USE_NSCD].
12481         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12482         * nss/nss_db/db-init.c: Likewise.
12483         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12484         [USE_NSCD].
12485         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12486         (make_request): Use it.
12487         (cache_valid_p): New function.
12488         (__check_pf): Use it.
12489         * NEWS: Add item for --disable-nscd.
12491 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
12493         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12494         to support sed >= 4.2.1-20-ga9bf076.
12495         * configure: Regenerated.
12497 2012-08-22  Roland McGrath  <roland@hack.frob.com>
12499         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12500         Conditionalize whole body on [IREL].
12502 2012-08-22  Jeff Law <law@redhat.com>
12504         [BZ #14505]
12505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12506         if the family is PF_UNSPEC.
12508 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
12510         * Makerules (lib-version): Rename from V.
12511         (install-lib-nosubdir): Change V to lib-version.
12513 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
12515         [BZ #14252]
12516         * powerpc32/power6/wcschr.c: New file.
12517         * powerpc32/power6/wcscpy.c: New file.
12518         * powerpc32/power6/wcsrchr.c: New file.
12519         * powerpc64/power6/wcschr.c: New file.
12520         * powerpc64/power6/wcscpy.c: New file.
12521         * powerpc64/power6/wcsrchr.c: New file.
12523 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
12525         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12526         (two_way_short_needle): Use it.
12527         * string/strstr.c (AVAILABLE1_USES_J): Define.
12528         * string/strcasestr.c: Likewise.
12530         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12531         array references.
12532         * string/strcasestr.c (TOLOWER): Make side-effect safe.
12534         [BZ #11607]
12535         * NEWS: Add an entry.
12536         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12537         define their defaults.
12538         (two_way_short_needle): Detect end-of-string on-the-fly.
12539         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12540         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12541         * string/bug-strcasestr1.c: New test.
12542         * string/Makefile: Run it.
12544 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
12546         [BZ #11607]
12547         * string/str-two-way.h (two_way_short_needle): Optimize matching of
12548         the first character.
12550 2012-08-21  Roland McGrath  <roland@hack.frob.com>
12552         * csu/elf-init.c (__libc_csu_irel): Function removed.
12553         * csu/libc-start.c (apply_irel): New function.
12554         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12556 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
12558         * sysdeps/unix/sysv/linux/kernel-features.h
12559         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12560         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12561         <kernel-features.h>.
12562         [__NR_fadvise64_64]: Make code unconditional.
12563         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12564         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12565         !__NR_fadvise64_64)]: Likewise.
12566         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12567         !__NR_fadvise64_64))]: Likewise.
12568         [__NR_fadvise64]: Make code unconditional.
12569         [!__NR_fadvise64]: Remove conditional code.
12570         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12571         <kernel-features.h>.
12572         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12573         unconditional.
12574         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12575         conditional code.
12576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12577         not include <kernel-features.h>.
12578         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12579         unconditional.
12580         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12581         conditional code.
12582         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12583         include <kernel-features.h>.
12584         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12585         unconditional.
12586         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12587         conditional code.
12589 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
12591         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12592         slight instruction rearrangements per scrollpipe analysis.
12593         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12595 2012-08-20  Roland McGrath  <roland@hack.frob.com>
12597         * manual/syslog.texi (syslog; vsyslog, closelog):
12598         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12599         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12601         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12602         DSOCAPS to match condition on defining it.
12604 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
12606         * sysdeps/unix/sysv/linux/kernel-features.h
12607         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12609         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12610         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12612         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12613         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12615         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12616         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12618         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12619         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12621         * sysdeps/unix/sysv/linux/kernel-features.h
12622         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12623         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12624         unconditional.
12625         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12626         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12627         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12628         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12629         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12630         Make code unconditional.
12631         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12632         (__mmap64) [!__NR_mmap2]: Likewise.
12633         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12634         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12635         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12636         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12637         [__NR_mmap2]: Make code unconditional.
12638         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12639         (__mmap64) [!__NR_mmap2]: Likewise.
12641 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12643         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12645 2012-08-18  Andreas Jaeger  <aj@suse.de>
12647         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12649 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12651         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12652         * include/unistd.h (__have_sock_cloexec): Likewise.
12653         (__have_pipe2): Likewise.
12654         (__have_dup3): Likewise.
12656 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12658         [BZ #9685]
12659         * include/unistd.h (__have_pipe2): Change define into an extern int.
12660         (__have_dup3): Likewise.
12661         * socket/have_sock_cloexec.c: Include fcntl.h.
12662         (__have_pipe2): New variable.
12663         (__have_dup3): Likewise.
12665 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
12667         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12669 2012-08-17  Marek Polacek  <polacek@redhat.com>
12671         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12672         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12674 2012-08-17  Roland McGrath  <roland@hack.frob.com>
12676         * configure.in: Add AC_SUBST for sysheaders.
12677         * configure: Regenerated.
12678         * config.make.in (sysheaders): New substituted variable.
12680         * sysdeps/unix/mkfifo.c: Moved ...
12681         * sysdeps/posix/mkfifo.c: ... here.
12682         * sysdeps/unix/mkfifoat.c: Moved ...
12683         * sysdeps/posix/mkfifoat.c: ... here.
12685         * sysdeps/unix/utime.c: Moved ...
12686         * sysdeps/posix/utime.c: ... here.
12688         * sysdeps/unix/time.c: Moved ...
12689         * sysdeps/posix/time.c: ... here.
12690         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12691         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12693         * sysdeps/unix/nice.c: Moved ...
12694         * sysdeps/posix/nice.c: ... here.
12696         * sysdeps/unix/alarm.c: Moved ...
12697         * sysdeps/posix/alarm.c: ... here.
12699         * intl/Makefile ($(codeset_mo)): Depend on the input file.
12701 2012-08-17  Jeff Law <law@redhat.com>
12703         * intl/Makefile (codeset_mo): New variable.
12704         ($(codeset_mo)): New target.
12705         (tst-codeset.out): Depend on that.  Remove explicit rule.
12706         (tst-gettext3.out, tst-gettext5.out): Likewise.
12707         (LOCPATH-ENV, tst-codeset-ENV): New variables.
12708         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12709         * intl/tst-codeset.sh: Remove.
12710         * intl/tst-gettext3.sh: Likewise.
12711         * intl/tst-gettext5.sh: Likewise.
12713 2012-08-17  Roland McGrath  <roland@hack.frob.com>
12715         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
12716         * sysdeps/unix/syscalls.list: ... here.
12718         * sysdeps/posix/getaddrinfo.c
12719         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12720         (gaiconf_init, gaiconf_reload): Use them.
12721         [!_STATBUF_ST_NSEC]
12722         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12723         Define using time_t rather than struct timespec.
12725         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12726         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12727         Macros removed.
12728         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12729         [!NO_THREADS].
12730         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12731         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12732         Likewise.
12734         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12735         __libc_cleanup_push argument.
12737         * bits/param.h: New file.
12738         * misc/sys/param.h: New file.
12739         * include/sys/param.h: New file.
12740         * misc/Makefile (headers): Add bits/param.h.
12741         * sysdeps/generic/sys/param.h: File removed.
12742         * sysdeps/unix/sysv/linux/bits/param.h: New file.
12743         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12744         * sysdeps/mach/hurd/bits/param.h: New file.
12745         * sysdeps/mach/hurd/sys/param.h: File removed.
12747         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12748         last change.
12750         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12751         [_IO_MTSAFE_IO].
12752         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12753         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12754         New macros.
12756         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12757         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12758         rather than -D_IO_MTSAFE_IO conditionally.
12759         * stdio-common/Makefile (CPPFLAGS): Likewise.
12760         * wcsmbs/Makefile (CPPFLAGS): Likewise.
12761         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12762         Use $(libio-mtsafe).
12763         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12764         of -D_IO_MTSAFE_IO.
12765         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12766         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12767         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12768         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12769         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12770         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12771         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12772         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12773         (CFLAGS-fread_u_chk.c): Likewise.
12774         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12775         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12776         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12777         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12778         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12779         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12780         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12781         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12782         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12784         * libio/Makefile: Test [$(libc-reentrant) = yes]
12785         instead of [$(filter %REENTRANT, $(defines)) nonempty].
12787         * Makeconfig
12788         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12789         * sysdeps/pthread/configure: File removed.
12790         * sysdeps/pthread/Makeconfig: New file.
12791         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12792         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12794 2012-08-16  Gary Benson  <gbenson@redhat.com>
12796         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12797         unmapping the first object in a namespace.
12799 2012-08-16  Roland McGrath  <roland@hack.frob.com>
12801         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12802         (__internal_setnetgrent): ... this.  Add internal_function to
12803         definition.  Add libc_hidden_def.
12804         (setnetgrent): Update caller.
12805         (internal_endnetgrent): Renamed to ...
12806         (__internal_endnetgrent): ... this.  Add internal_function to
12807         definition.  Add libc_hidden_def.
12808         (endnetgrent): Update caller.
12809         (internal_getnetgrent_r): Renamed to ...
12810         (__internal_getnetgrent_r): ... this.  Add internal_function to
12811         definition.  Add libc_hidden_def.
12812         (__getnetgrent_r): Update caller.
12813         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
12815 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
12817         * stdlib/longlong.h: Update from GCC.
12819 2012-08-16  Roland McGrath  <roland@hack.frob.com>
12821         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12822         on _QL, which is set by umul_ppmm but never used.
12823         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12824         variables, which are set by GMP macros but never used.
12825         * stdio-common/_itowa.c (_itowa): Likewise.
12826         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12827         * stdlib/mod_1.c (mpn_mod_1): Likewise.
12829 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
12831         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12832         struct La_sh_regs is not constant.
12833         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12834         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12835         and struct La_sparc64_regs are not constant.
12837 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
12839         * sysdeps/unix/sysv/linux/kernel-features.h
12840         (__ASSUME_POSIX_TIMERS): Remove.
12841         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12842         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12843         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12844         Make code unconditional.
12845         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12846         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12847         Make code unconditional.
12848         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12849         * sysdeps/unix/sysv/linux/clock_nanosleep.c
12850         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12851         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12852         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12853         Make code unconditional.
12854         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12855         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12856         (__libc_missing_posix_timers): Remove.
12858 2012-08-15  Roland McGrath  <roland@hack.frob.com>
12860         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12861         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12863         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12865         * elf/dl-sym.c: Include <stdlib.h>.
12867         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12868         constants, which avoids warnings in 32-bit builds.
12870         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12871         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12873         * misc/lseek.c: File moved to ...
12874         * io/lseek.c: ... here.
12876         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12878         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12879         shifting LEN more than 31 bits at once.
12881 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12883         [BZ #14195]
12884         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12885         segmentation fault for a case of two empty input strings.
12886         * string/test-strncasecmp.c (check1): Renamed to...
12887         (bz12205): ...this.
12888         (bz14195): Add new testcase for two empty input strings and N > 0.
12889         (test_main): Call new testcase, adapt for renamed function.
12891 2012-08-15  Andreas Jaeger  <aj@suse.de>
12893         [BZ #14090]
12894         * crypt/md5test2.c: New test, based on test supplied by Serge
12895         Belyshev <belyshev@depni.sinp.msu.ru>.
12896         * crypt/Makefile (xtests): Add md5test-giant..
12897         * crypt/Makefile ($(objpfx)md5test-giant): Add.
12899 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
12901         [BZ #14090]
12902         * crypt/md5.c (md5_process_block): Don't assume the buffer
12903         length is less than 2**32.
12904         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12905         length is less than 2**64.
12907 2012-08-15  Roland McGrath  <roland@hack.frob.com>
12909         * string/str-two-way.h: Include <sys/param.h>.
12910         (MAX): Macro removed.
12912         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12913         Move #define and #undef of memmove to just before and after
12914         including <string.h>.
12916         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12917         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12918         and after including <string.h>.  Move declarations of
12919         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12920         to before #include "string/memmove.c".
12922         * include/dirent.h: Declare __getdirentries.
12924         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12925         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12927 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
12929         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12930         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12931         * sysdeps/i386/configure: Regenerated.
12932         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12933         STABS_CURRENT_FILE, and STABS_FUN.
12934         (END): Remove call to STABS_FUN_END.
12935         (STABS_CURRENT_FILE1): Delete.
12936         (STABS_CURRENT_FILE): Likewise.
12937         (STABS_FUN): Likewise.
12938         (STABS_FUN_END): Likewise.
12939         (STABS_FUN2): Likewise.
12940         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12941         * sysdeps/x86_64/configure: Regenerated.
12943 2012-08-14  Roland McGrath  <roland@hack.frob.com>
12945         * elf/dl-open.c: Include <atomic.h>.
12946         * elf/dl-lookup.c: Likewise.
12948 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
12950         * sysdeps/unix/sysv/linux/kernel-features.h
12951         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12952         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12953         unconditionally.
12954         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12955         unconditionally.
12956         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12957         condition on __ASSUME_CLONE_THREAD_FLAGS.
12959 2012-08-14  Andreas Jaeger  <aj@suse.de>
12961         * sysdeps/i386/fpu/libm-test-ulps: Update.
12963 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
12965         * include/atomic.h (atomic_exchange_and_add): Split into ...
12966         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12967         New atomic macros.
12969 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
12971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12973 2012-08-13  Jeff Law <law@redhat.com>
12975         * manual/stdio.texi (snprintf): Clarify handling of the trailing
12976         null byte in the output string.
12978 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
12980         * sysdeps/unix/sysv/linux/kernel-features.h
12981         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12982         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12983         (__ASSUME_ARG_MAX_STACK_BASED): Define.
12984         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12985         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12986         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
12987         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12989 2012-08-09  Jeff Law <law@redhat.com>
12991         [BZ #13939]
12992         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12993         When avoid_arena is set, don't retry in the that arena.  Pick the
12994         next one, whatever it might be.
12995         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12996         (arena_lock): Pass in new parameter to arena_get2.
12997         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12998         arena_get2.
12999         (__libc_malloc): Unify retrying after main arena failure with
13000         __libc_memalign version.
13001         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13003 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13005         [BZ #14166]
13006         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13007         to __redirect_strstr.
13008         (__strstr_sse42): Use typeof __redirect_strstr.
13009         (__strstr_ia32): Likewise.
13010         (__libc_strstr): New prototype.
13011         (strstr): Renamed to ...
13012         (__libc_strstr): This.
13013         (strstr): New strong alias of __libc_strstr.
13014         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13015         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13016         __redirect_time.
13017         Include <time.h>.
13018         (__libc_time): New prototype.
13019         (time_ifunc): Replace time with __libc_time.
13020         (time): New strong alias and hidden definition of __libc_time.
13021         (__GI_time): Remove strong alias.
13022         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13023         Include <stddef.h>.
13024         (memmove): Redefined to __redirect_memmove.
13025         (__memmove_sse2): Use typeof __redirect_memmove.
13026         (__memmove_ssse3): Likewise.
13027         (__memmove_ssse3_back): Likewise.
13028         (__libc_memmove): New prototype.
13029         (memmove): Renamed to ...
13030         (__libc_memmove): This.
13031         (memmove): New strong alias of __libc_memmove.
13033 2012-08-08  Mark Salter  <msalter@redhat.com>
13035         * elf/elf.h
13036         (R_MN10300_TLS_GD): Define.
13037         (R_MN10300_TLS_LD): Likewise.
13038         (R_MN10300_TLS_LDO): Likewise.
13039         (R_MN10300_TLS_GOTIE): Likewise.
13040         (R_MN10300_TLS_IE): Likewise.
13041         (R_MN10300_TLS_LE): Likewise.
13042         (R_MN10300_TLS_DTPMOD): Likewise.
13043         (R_MN10300_TLS_DTPOFF): Likewise.
13044         (R_MN10300_TLS_TPOFF): Likewise.
13045         (R_MN10300_SYM_DIFF): Likewise.
13046         (R_MN10300_ALIGN): Likewise.
13047         (R_MN10300_NUM): Update.
13049 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13051         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13052         Remove.
13054 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13056         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13058         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13059         sysdeps/unix -> sysdeps/posix move.
13060         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13062 2012-08-07      Allan McRae     <allan@archlinux.org>
13064         [BZ #14303]
13065         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13066         (SUNOS_CPP): Likewise.
13067         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13068         not found.
13069         (open_input): Call CPP using execvp.
13071 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13073         * sysdeps/unix/sysv/linux/kernel-features.h
13074         (__ASSUME_PROT_GROWSUPDOWN): Remove.
13075         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13076         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13077         (__ASSUME_WAITID_SYSCALL): Likewise.
13078         * sysdeps/unix/sysv/linux/dl-execstack.c
13079         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13080         code unconditional.
13081         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13082         conditional code.
13083         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13084         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13085         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13086         code.
13087         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13088         unconditional.
13089         [__ASSUME_WAITID_SYSCALL]: Likewise.
13090         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13092 2012-08-07  Roland McGrath  <roland@hack.frob.com>
13094         * sysdeps/unix/closedir.c: Renamed to ...
13095         * sysdeps/posix/closedir.c: ... here.
13096         * sysdeps/unix/dirfd.c: Renamed to ...
13097         * sysdeps/posix/dirfd.c: ... here.
13098         * sysdeps/unix/dirstream.h: Renamed to ...
13099         * sysdeps/posix/dirstream.h: ... here.
13100         * sysdeps/unix/fdopendir.c: Renamed to ...
13101         * sysdeps/posix/fdopendir.c: ... here.
13102         * sysdeps/unix/opendir.c: Renamed to ...
13103         * sysdeps/posix/opendir.c: ... here.
13104         * sysdeps/unix/readdir.c: Renamed to ...
13105         * sysdeps/posix/readdir.c: ... here.
13106         * sysdeps/unix/readdir_r.c: Renamed to ...
13107         * sysdeps/posix/readdir_r.c: ... here.
13108         * sysdeps/unix/rewinddir.c: Renamed to ...
13109         * sysdeps/posix/rewinddir.c: ... here.
13110         * sysdeps/unix/seekdir.c: Renamed to ...
13111         * sysdeps/posix/seekdir.c: ... here.
13112         * sysdeps/unix/telldir.c: Renamed to ...
13113         * sysdeps/posix/telldir.c: ... here.
13114         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13115         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13116         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13117         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13119         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13120         * bits/fcntl.h: ... here.
13122         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13123         not 0.
13124         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13125         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13126         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13127         (struct flock): Move l_start, l_len to the beginning.
13128         Use __pid_t for l_pid.
13129         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13130         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13131         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13132         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13133         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13134         [__USE_LARGEFILE64] (struct flock64): New type.
13135         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13137         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13138         * bits/dirent.h: ... here.
13140         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13141         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13143 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13145         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13146         Change from 2.6.0 to 2.6.16.
13147         * sysdeps/unix/sysv/linux/configure: Regenerated.
13148         * sysdeps/unix/sysv/linux/kernel-features.h
13149         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13150         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13151         version.
13152         (__ASSUME_UTIMES): Likewise.
13153         (__ASSUME_CLONE_STOPPED): Remove.
13154         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13155         architectures, not kernel version.
13156         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13157         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13158         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13159         (__ASSUME_WAITID_SYSCALL): Likewise.
13160         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13161         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13162         * README: State 2.6.16 as minimum Linux kernel version.  Do not
13163         refer to older versions.
13165 2012-08-06  Roland McGrath  <roland@hack.frob.com>
13167         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13168         Define alphasort64 as an alias.
13169         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13170         Define versionsort64 as an alias.
13171         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13172         Define scandir64 as an alias.
13173         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13174         Define scandirat64 as an alias.
13175         * dirent/alphasort64.c (alphasort64):
13176         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13177         * dirent/versionsort64.c: Likewise.
13178         * dirent/scandir64.c: Likewise.
13179         * dirent/scandirat64.c: Likewise.
13180         * sysdeps/wordsize-64/alphasort.c: File removed.
13181         * sysdeps/wordsize-64/alphasort64.c: File removed.
13182         * sysdeps/wordsize-64/scandir.c: File removed.
13183         * sysdeps/wordsize-64/scandir64.c: File removed.
13184         * sysdeps/wordsize-64/scandirat.c: File removed.
13185         * sysdeps/wordsize-64/scandirat64.c: File removed.
13186         * sysdeps/wordsize-64/versionsort.c: File removed.
13187         * sysdeps/wordsize-64/versionsort64.c: File removed.
13188         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13189         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13190         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13191         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13192         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13193         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13194         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13195         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13197         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13198         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13199         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13200         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13201         [defined __arch64__ || defined __sparcv9]
13202         (__INO_T_MATCHES_INO64_T): New macro.
13203         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13204         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13205         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13206         * sysdeps/unix/sysv/linux/bits/dirent.h
13207         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13208         (_DIRENT_MATCHES_DIRENT64): New macro.
13210         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13211         Define lockf64 as an alias.
13212         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13213         Define fseeko64 as an alias.
13214         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13215         Define ftello64 as an alias.
13216         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13217         Define _IO_fgetpos64 and fgetpos64 as aliases.
13218         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13219         Define _IO_fsetpos64 and fsetpos64 as aliases.
13220         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13221         Conditionalize body on this.
13222         * libio/fseeko64.c: Likewise.
13223         * libio/ftello64.c: Likewise.
13224         * libio/iofgetpos64.c: Likewise.
13225         * libio/iofsetpos64.c: Likewise.
13226         * sysdeps/wordsize-64/lockf.c: File removed.
13227         * sysdeps/wordsize-64/lockf64.c: File removed.
13228         * sysdeps/wordsize-64/fseeko.c: File removed.
13229         * sysdeps/wordsize-64/fseeko64.c: File removed.
13230         * sysdeps/wordsize-64/ftello.c: File removed.
13231         * sysdeps/wordsize-64/ftello64.c: File removed.
13232         * sysdeps/wordsize-64/iofgetpos.c: File removed.
13233         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13234         * sysdeps/wordsize-64/iofsetpos.c: File removed.
13235         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13236         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13237         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13238         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13239         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13240         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13241         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13242         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13243         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13244         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13245         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13247         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13248         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13249         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13250         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13251         [defined __arch64__ || defined __sparcv9]
13252         (__OFF_T_MATCHES_OFF64_T): New macro.
13253         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13254         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13255         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13256         (__OFF_T_MATCHES_OFF64_T): New macro.
13258 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13260         * stdlib/secure-getenv.c (__secure_getenv): Replace
13261         GLIBC_2_16 with GLIBC_2_17.
13263 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13265         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13266         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13268 2012-08-03  David S. Miller  <davem@davemloft.net>
13270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13272 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13274         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13275         Remove.
13276         (__ASSUME_CORRECT_SI_PID): Likewise.
13277         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13278         (__ASSUME_TMPFS_NAME): Likewise.
13279         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13280         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13281         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13282         (HAVE_AUX_SECURE): Make definition unconditional.
13283         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13284         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13286 2012-08-03  Roland McGrath  <roland@hack.frob.com>
13288         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13289         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13290         * sysdeps/mach/hurd/eloop-threshold.h: New file.
13291         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13292         __eloop_threshold instead of SYMLOOP_MAX.
13294         * sysdeps/generic/eloop-threshold.h: New file.
13295         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13296         of MAXSYMLINKS.
13297         * elf/chroot_canon.c (chroot_canon): Likewise.
13299 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13301         [BZ #13717]
13302         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13303         Change to 2.6.0 everywhere.
13304         * sysdeps/unix/sysv/linux/configure: Regenerated.
13305         * sysdeps/unix/sysv/linux/kernel-features.h
13306         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13307         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13308         kernel versions.
13309         (__ASSUME_POSIX_TIMERS): Define unconditionally.
13310         (__ASSUME_FUTEX_REQUEUE): Remove.
13311         (__ASSUME_STATFS64): Define unconditionally.
13312         (__ASSUME_AT_SECURE): Likewise.
13313         (__ASSUME_CORRECT_SI_PID): Likewise.
13314         (__ASSUME_TGKILL): Define without depending on kernel version for
13315         i386.
13316         (__ASSUME_UTIMES): Likewise.
13317         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13318         kernel version.
13319         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13320         (__ASSUME_TMPFS_NAME): Likewise.
13321         * README: Update reference to Linux kernel versions.
13323 2012-08-02  Marek Polacek  <polacek@redhat.com>
13325         [BZ# 14150]
13326         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
13327         libc_cv_asm_type_prefix with %.
13328         * configure: Regenerated.
13329         * include/libc-symbols.h: Remove comment about
13330         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13331         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13332         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13333         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13334         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13335         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13336         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13337         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13338         * elf/tst-unique2mod1.c: Likewise.
13339         * elf/tst-unique1mod2.c: Likewise.
13340         * elf/tst-unique1mod1.c: Likewise.
13341         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13342         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13343         Replace ASM_TYPE_DIRECTIVE with .type.
13344         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13345         * sysdeps/i386/sysdep.h: Likewise.
13346         * sysdeps/x86_64/sysdep.h: Likewise.
13347         * sysdeps/sh/sysdep.h: Likewise.
13348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13349         Do not define ASM_TYPE_DIRECTIVE.
13350         * sysdeps/powerpc/sysdep.h: Likewise.
13351         * sysdeps/powerpc/powerpc32/sysdep.h:
13352         Replace ASM_TYPE_DIRECTIVE with .type.
13353         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13354         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13355         * sysdeps/i386/fpu/e_powf.S: Likewise.
13356         * sysdeps/i386/fpu/e_expl.S: Likewise.
13357         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13358         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13359         * sysdeps/i386/fpu/e_pow.S: Likewise.
13360         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13361         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13362         * sysdeps/i386/fpu/s_expm1.S: Likewise.
13363         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13364         * sysdeps/i386/fpu/e_log2.S: Likewise.
13365         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13366         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13367         * sysdeps/i386/fpu/e_powl.S: Likewise.
13368         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13369         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13370         * sysdeps/i386/fpu/e_logl.S: Likewise.
13371         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13372         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13373         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13374         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13375         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13376         * sysdeps/i386/fpu/e_log.S: Likewise.
13377         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13378         * sysdeps/i386/fpu/e_logf.S: Likewise.
13379         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13380         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13381         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13382         * sysdeps/i386/fpu/e_log10.S: Likewise.
13383         * sysdeps/i386/fpu/s_frexp.S: Likewise.
13384         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13385         * sysdeps/i386/fpu/s_asinh.S: Likewise.
13386         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13387         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13388         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13389         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13390         * sysdeps/i386/i686/strtok.S: Likewise.
13391         * sysdeps/i386/i386-mcount.S: Likewise.
13392         * sysdeps/i386/strtok.S: Likewise.
13393         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13394         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13395         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13396         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13397         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13398         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13399         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13400         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13401         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13402         * sysdeps/x86_64/_mcount.S: Likewise.
13403         * sysdeps/x86_64/strtok.S: Likewise.
13404         * sysdeps/sh/_mcount.S: Likewise.
13406 2012-08-01  Roland McGrath  <roland@hack.frob.com>
13408         * libio/iofopen.c: Include <fcntl.h>.
13409         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13410         (_IO_fopen64, fopen64): Define as aliases.
13411         * libio/iofopen64.c: Include <fcntl.h>.
13412         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13413         Conditionalize body on this.
13414         * sysdeps/wordsize-64/iofopen.c: File removed.
13415         * sysdeps/wordsize-64/iofopen64.c: File removed.
13417 2012-08-01  Marek Polacek  <polacek@redhat.com>
13419         * libc/Makeconfig: Use elf in place of binfmt-subdir.
13420         Use dlfcn directly instead of a variable.
13421         (binfmt-subdir): Do not define.
13422         (dlfcn): Likewise.
13424 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
13426         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13427         Remove all definitions.
13428         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13429         <kernel-features.h>.
13430         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13431         (miss_F_GETOWN_EX): Remove all definitions.
13432         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13433         macro definition.
13434         [!__ASSUME_FCNTL64]: Remove conditional code.
13435         [__ASSUME_FCNTL64]: Make code unconditional.
13436         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13437         <kernel-features.h>.
13438         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13439         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13440         (lockf64) [__NR_fcntl64]: Make code unconditional.
13441         (lockf64) [__ASSUME_FCNTL64]: Likewise.
13443         * sysdeps/unix/sysv/linux/kernel-features.h
13444         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13445         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13446         Make code unconditional.
13447         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13448         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13450         [__NR_vfork]: Make code unconditional.
13451         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13452         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13454         [__NR_vfork]: Make code unconditional.
13455         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13456         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13458 2012-08-01  Roland McGrath  <roland@hack.frob.com>
13460         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13461         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13463         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13464         Define mkstemp64 as an alias.
13465         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13466         Define mkstemps64 as an alias.
13467         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13468         Define mkostemp64 as an alias.
13469         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13470         Define mkostemps64 as an alias.
13471         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13472         Conditionalize body on this.
13473         * misc/mkostemp64.c: Likewise.
13474         * misc/mkostemps64.c: Likewise.
13475         * misc/mkstemps64.c: Likewise.
13476         * sysdeps/wordsize-64/mkstemp64.c: File removed.
13477         * sysdeps/wordsize-64/mkostemp64.c: File removed.
13478         * sysdeps/wordsize-64/mkostemp.c: File removed.
13479         * sysdeps/wordsize-64/mkstemp.c: File removed.
13480         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13481         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13482         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13483         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13485         [BZ #14138]
13486         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13487         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13488         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13489         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13491         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13492         compat_symbol macros from <shlib-compat.h> rather than the underlying
13493         default_symbol_version and symbol_version macros, so that DEFAULT
13494         lines in shlib-versions are respected.
13495         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13497 2012-08-01  Florian Weimer  <fweimer@redhat.com>
13499         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13500         Declare with warn_unused_result.
13501         (setgid, setregid, setegid, setresgid): Likewise.
13502         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13503         Likewise.
13504         * WUR-REPORT: Remove set*id functions.
13506 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
13508         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13510 2012-07-31  Roland McGrath  <roland@hack.frob.com>
13512         [BZ #10191]
13513         * include/sys/socket.h (__libc_accept, __libc_accept4):
13514         Add attribute_hidden.
13515         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13517         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13518         use of PTR_MANGLE.
13519         * inet/getnetgrent_r.c (setup): Likewise.
13521         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13523 2012-07-31  David S. Miller  <davem@davemloft.net>
13525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13527 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
13529         [BZ #13629]
13530         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13531         value between 1.0 and 2.0 and smaller part has absolute value less
13532         than 1.0.
13533         * math/s_clog10.c (__clog10): Likewise.
13534         * math/s_clog10f.c (__clog10f): Likewise.
13535         * math/s_clog10l.c (__clog10l): Likewise.
13536         * math/s_clogf.c (__clogf): Likewise.
13537         * math/s_clogl.c (__clogl): Likewise.
13538         * math/libm-test.inc (clog_test): Add more tests.
13539         (clog10_test): Likewise.
13540         * sysdeps/i386/fpu/libm-test-ulps: Update.
13541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13543 2012-07-31  Florian Weimer  <fweimer@redhat.com>
13545         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13546         Exit with zero in case no suitable GID is found, and write a
13547         message to standard error.
13549 2012-07-30  Roland McGrath  <roland@hack.frob.com>
13551         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13552         rather than to 1.
13553         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13554         (MAXPATHLEN): Removed.
13555         (NOGROUP, NODEV): New macros.
13556         (setbit, clrbit, isset, isclr): New macros.
13557         (howmany, roundup, powerof2): New macros.
13558         (DEV_BSIZE): New macro.
13560         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13561         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13563         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13564         definition on [!__NO_LONG_DOUBLE_MATH].
13566         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13567         PTR_MANGLE and PTR_DEMANGLE.
13569         * socket/accept4.c (accept4): Rename to __libc_accept4.
13570         Define accept4 as a weak alias.
13572         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13573         on [_DIRENT_HAVE_D_TYPE].
13574         * io/ftw.c (ftw_dir): Likewise.
13576         * io/xmknod.c (__xmknod): Don't check PATH for being null.
13578         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13580         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13581         Use the BSD numbers rather than the arbitrary ones we had.
13582         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13583         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13584         (SIGXCPU, SIGXFSZ): New macros.
13585         (_NSIG): Now 32.
13587         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13588         initializer on [_LIBC_REENTRANT].
13590         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13591         definitions inside [_POSIX_MAPPED_FILES].
13593         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13595         * dirent/opendir.c: Include <fcntl.h>.
13597         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13598         (__libc_getspecific): Likewise.
13599         (__libc_key_create): Likewise.
13601         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13602         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13603         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13604         (tmpfile64): Define as alias.
13605         * sysdeps/wordsize-64/tmpfile.c: File removed.
13606         * sysdeps/wordsize-64/tmpfile64.c: File removed.
13607         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13608         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13610         * stdio-common/vfscanf.c: Include <stdbool.h>.
13611         * nss/makedb.c: Likewise.
13612         * stdio-common/_i18n_number.h: Likewise.
13613         * argp/argp-help.c: Likewise.
13614         * posix/wordexp.c: Likewise.
13615         * sysdeps/posix/spawni.c: Likewise.
13616         * nss/nss_files/files-initgroups.c: Likewise.
13617         * stdio-common/reg-modifier.c: Include <stdlib.h>.
13618         * nss/nss_files/files-initgroups.c: Likewise.
13619         * nss/nss_db/db-netgrp.c: Likewise.
13620         * nss/nss_db/db-initgroups.c: Likewise.
13621         * io/fchmodat.c: Include <sys/stat.h>.
13623         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13624         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13626         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13627         [HAVE_MMAP].
13629         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13630         Add multiple inclusion protection.
13632 2012-07-27  David S. Miller  <davem@davemloft.net>
13634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13636 2012-07-27  Gary Benson  <gbenson@redhat.com>
13638         [BZ #14298]
13639         * elf/rtld.c: Include <stap-probe.h>.
13640         (dl_main): Added static probes "init_start" and "init_complete".
13641         * elf/dl-load.c: Include <stap-probe.h>.
13642         (lose): Take new parameter "nsid".
13643         Added static probe "map_failed".
13644         (_dl_map_object_from_fd): Pass namespace id to lose.
13645         Added static probe "map_start".
13646         (open_verify): Pass namespace id to lose.
13647         * elf/dl-open.c: Include <stap-probe.h>.
13648         (dl_open_worker) Added static probes "map_complete", "reloc_start"
13649         and "reloc_complete".
13650         * elf/dl-close.c: Include <stap-probe.h>.
13651         (_dl_close_worker): Added static probes "unmap_start" and
13652         "unmap_complete".
13653         * elf/rtld-debugger-interface.txt: New file documenting the above.
13655 2012-07-26  Roland McGrath  <roland@hack.frob.com>
13657         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13658         rather than a string variable.
13659         * sunrpc/rpc_main.c (h_output): Likewise.
13660         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13662 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
13664         * inet/check_native.c: New file.
13666 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
13668         [BZ #13629]
13669         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13670         if larger part has absolute value 1.0.
13671         * math/s_clog10.c (__clog10): Likewise.
13672         * math/s_clog10f.c (__clog10f): Likewise.
13673         * math/s_clog10l.c (__clog10l): Likewise.
13674         * math/s_clogf.c (__clogf): Likewise.
13675         * math/s_clogl.c (__clogl): Likewise.
13676         * math/libm-test.inc (clog_test): Add more tests.
13677         (clog10_test): Likewise.
13678         * sysdeps/i386/fpu/libm-test-ulps: Update.
13679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13681         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13682         (pltexit): Likewise.
13683         (La_regs): Likewise.
13684         (La_retval): Likewise.
13685         (int_retval): Likewise.
13686         Update #error for removed macros to refer only to definitions in
13687         tst-audit.h.
13688         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13689         macro.
13690         (pltexit): Likewise.
13691         (La_regs): Likewise.
13692         (La_retval): Likewise.
13693         (int_retval): Likewise.
13694         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13695         macro.
13696         (pltexit): Likewise.
13697         (La_regs): Likewise.
13698         (La_retval): Likewise.
13699         (int_retval): Likewise.
13700         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13701         macro.
13702         (pltexit): Likewise.
13703         (La_regs): Likewise.
13704         (La_retval): Likewise.
13705         (int_retval): Likewise.
13706         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13707         macro.
13708         (pltexit): Likewise.
13709         (La_regs): Likewise.
13710         (La_retval): Likewise.
13711         (int_retval): Likewise.
13712         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13713         macro.
13714         (pltexit): Likewise.
13715         (La_regs): Likewise.
13716         (La_retval): Likewise.
13717         (int_retval): Likewise.
13718         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13719         macro.
13720         (pltexit): Likewise.
13721         (La_regs): Likewise.
13722         (La_retval): Likewise.
13723         (int_retval): Likewise.
13724         * sysdeps/generic/tst-audit.h: Update comment to refer only to
13725         macro definitions in tst-audit.h.
13726         * sysdeps/i386/tst-audit.h: New file.
13727         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13728         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13729         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13730         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13731         * sysdeps/sh/tst-audit.h: Likewise.
13732         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13733         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13734         * sysdeps/x86_64/tst-audit.h: Likewise.
13736 2012-07-26  Andreas Jaeger  <aj@suse.de>
13738         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13739         ptrace.
13741         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13742         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13743         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13744         PTRACE_O_MASK.
13745         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13746         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13747         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13749         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13750         value.
13752         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13753         _sigsys.
13754         (si_call_addr, si_syscall, si_arch): Define new macro.
13755         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13756         _sigsys.
13757         (si_call_addr, si_syscall, si_arch): Define new marcro.
13758         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13759         _sigsys.
13760         (si_call_addr, si_syscall, si_arch): Define new macro.
13761         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13762         _sigsys.
13763         (si_call_addr, si_syscall, si_arch): Define new macro.
13765 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
13767         [BZ #13717]
13768         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13769         Change to 2.4.21 where previously 2.4.1.
13770         * sysdeps/unix/sysv/linux/configure: Regenerated.
13771         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13772         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13773         Linux kernel version.
13774         (__ASSUME_STD_AUXV): Remove.
13775         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13776         kernel version.
13777         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13778         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13779         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13780         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13781         (__ASSUME_NETLINK_SUPPORT): Likewise.
13782         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13783         (__no_netlink_support): Remove conditional definition.
13784         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13785         Remove.
13786         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13787         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13788         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13789         (if_nameindex_ioctl): Remove.
13790         (if_nameindex_netlink): Do not handle __no_netlink_support.
13791         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13792         code.
13793         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13794         Remove conditional code.
13795         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13796         code.
13797         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13798         unconditional.
13799         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13800         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13801         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13802         Remove.
13803         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13804         [!__ASSUME_STD_AUXV]: Remove conditional code.
13805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13806         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13807         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13809         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13810         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13811         code.
13812         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13814         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13815         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13816         conditional code.
13817         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13819         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13820         code.
13821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13822         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13823         conditional code.
13824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13825         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13826         code unconditional.
13827         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13828         conditional code.
13829         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13830         unconditional.
13831         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13832         conditional code.
13833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13834         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13835         unconditional.
13836         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13837         conditional code.
13838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13839         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13840         code unconditional.
13841         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13842         conditional code.
13843         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13844         unconditional.
13845         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13846         conditional code.
13847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13848         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13849         code unconditional.
13850         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13851         conditional code.
13852         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13853         unconditional.
13854         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13855         conditional code.
13857 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
13859         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13860         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13861         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13862         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13863         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13864         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13865         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13866         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13867         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13868         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13869         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13870         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13871         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13872         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13873         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13874         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13875         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13876         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13877         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13879         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13880         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13881         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13883 2012-07-25  Florian Weimer  <fweimer@redhat.com>
13885         * Versions.def: Add GLIBC_2.17.
13886         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13887         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13888         Introduce __libc_secure_getenv.
13889         * stdlib/Versions (2.17): Add secure_getenv
13890         (GLIBC_PRIVATE): Add __libc_secure_getenv.
13891         * stdlib/secure-getenv.c: Rename __secure_getenv to
13892         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
13893         symbol __secure_getenv for GLIBC_2.0.
13894         * stdlib/tst-secure-getenv.c: New.
13895         * stdlib/Makefile (tests): Add testcase.
13896         * manual/startup.texi (Environment Access): Document
13897         secure_getenv.
13898         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13899         __libc_secure_getenv.
13900         * inet/ruserpass.c (ruserpass): Likewise.
13901         * malloc/mtrace.c (mtrace): Likewise.
13902         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13903         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13904         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13905         * sysdeps/posix/tempname.c: Likewise.  Evaluate
13906         HAVE_SECURE_GETENV.
13907         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13908         __secure_getenv to __libc_secure_getenv.
13909         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13911         Likewise.
13912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13913         Likewise.
13914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13916         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13922 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
13924         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13925         (struct La_i86_retval): Likewise.
13926         (struct La_x86_64_regs): Likewise.
13927         (struct La_x86_64_retval): Likewise.
13928         (struct La_x32_regs): Likewise.
13929         (struct La_x32_retval): Likewise.
13930         (struct La_ppc32_regs): Likewise.
13931         (struct La_ppc32_retval): Likewise.
13932         (struct La_ppc64_regs): Likewise.
13933         (struct La_ppc64_retval): Likewise.
13934         (struct La_sh_regs): Likewise.
13935         (struct La_sh_retval): Likewise.
13936         (struct La_s390_32_regs): Likewise.
13937         (struct La_s390_32_retval): Likewise.
13938         (struct La_s390_64_regs): Likewise.
13939         (struct La_s390_64_retval): Likewise.
13940         (struct La_sparc32_regs): Likewise.
13941         (struct La_sparc32_retval): Likewise.
13942         (struct La_sparc64_regs): Likewise.
13943         (struct La_sparc64_retval): Likewise.
13944         (struct audit_ifaces): Remove architecture-specific pltenter and
13945         pltexit members.
13946         * sysdeps/i386/ldsodefs.h: New file.
13947         * sysdeps/powerpc/ldsodefs.h: Likewise.
13948         * sysdeps/s390/ldsodefs.h: Likewise.
13949         * sysdeps/sh/ldsodefs.h: Likewise.
13950         * sysdeps/sparc/ldsodefs.h: Likewise.
13951         * sysdeps/x86_64/ldsodefs.h: Likewise.
13953 2012-07-25  Marek Polacek  <polacek@redhat.com>
13955         [BZ #6808]
13956         * math/libm-test.inc (yn_test): Add another test.
13957         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13958         to ERANGE when the result is +-Inf.
13959         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13960         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13961         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13962         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13964 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
13966         * conform/data/time.h-data (NULL): Use macro-constant.  Require
13967         equal to 0.
13968         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
13969         clock_t.
13970         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
13972 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
13974         * configure.in <sysdeps resolving>: Correct printing
13975         Implies_before.
13976         * configure: Regenerate.
13978 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
13980         * math/w_ilogb.c: Include <limits.h>.
13981         * math/w_ilogbl.c: Likewise.
13983 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
13985         * manual/lang.texi (__va_copy): Document primarily as ISO C99
13986         va_copy.  Document allowing for unavailable va_copy only as
13987         pre-C99 compatibility.
13988         * manual/string.texi (Copying and Concatenation): Use va_copy
13989         instead of __va_copy in concat example.
13991 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
13993         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13994         (__sendto): Use create_address_port.  Initialize APORT and deallocate
13995         it if not null.
13997         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13998         with O_NOLINK passed to __file_name_lookup.
14000         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14001         with O_NOLINK passed to __file_name_lookup.
14003         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14004         negative N or less than NGIDS.
14006         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14007         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14008         enough.  Use memcpy instead of strncpy.
14010 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14012         * elf/Makefile (check-data): Remove.
14013         (localplt.data): New vpath directive.
14014         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14015         instead of $(check-data).
14016         * scripts/data/localplt-generic.data: Move to ...
14017         * sysdeps/generic/localplt.data: ... here.
14018         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14019         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14020         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14022         ... here.
14023         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14025         ... here.
14026         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14028         ... here.
14029         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14031         ... here.
14032         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14034         ... here.
14035         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14037         ... here.
14039 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14041         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14042         PPC32 and PPC64 files.
14043         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14044         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14046 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14048         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14049         __makecontext_ret to ...
14050         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14051         ... here and call exit if uc_link is NULL.  New file.
14052         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14053         __makecontext_ret.S.
14054         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14055         __makecontext_ret to ...
14056         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14057         ... here and call exit if uc_link is NULL.  New file.
14058         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14059         __makecontext_ret.S.
14061 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14063         * elf/elf.h (R_390_IRELATIVE): New definition.
14064         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14065         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
14066         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14067         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14068         (elf_machine_lazy_rel): Likewise.
14069         * sysdeps/s390/dl-irel.h: New file.
14070         * sysdeps/s390/s390-64/memcpy.S: New asm code.
14071         * sysdeps/s390/s390-64/memset.S: New asm code.
14072         * sysdeps/s390/s390-64/memcmp.S: New asm code.
14073         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14074         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14075         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14076         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14077         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14078         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14079         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14080         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14081         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14082         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14083         * sysdeps/s390/s390-32/memcpy.S: New asm code.
14084         * sysdeps/s390/s390-32/memset.S: New asm code.
14085         * sysdeps/s390/s390-32/memcmp.S: New asm code.
14087 2012-07-17  Marek Polacek  <polacek@redhat.com>
14089         [BZ #14349]
14090         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14091         * sysdeps/s390/s390-64/configure.in: Likewise.
14092         * sysdeps/sparc/configure.in: Likewise.
14093         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14094         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14095         * sysdeps/i386/configure.in: Likewise.
14096         * sysdeps/x86_64/configure.in: Likewise.
14097         * sysdeps/sh/configure.in: Likewise.
14098         * sysdeps/s390/s390-32/configure: Regenerated.
14099         * sysdeps/s390/s390-64/configure: Likewise.
14100         * sysdeps/x86_64/configure: Likewise.
14101         * sysdeps/sh/configure: Likewise.
14102         * sysdeps/powerpc/powerpc64/configure: Likewise.
14103         * sysdeps/powerpc/powerpc32/configure: Likewise.
14104         * sysdeps/sparc/configure: Likwise.
14105         * sysdeps/i386/configure: Likewise.
14107         * elf/dl-open.c: Comment fixes.
14109 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
14111         * Makefile [CXX] (check-data): Remove.
14112         [CXX] (c++-types.data): New vpath directive.
14113         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14114         vpath.  Do not allow for C++ type data being missing.
14115         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14116         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14117         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14118         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14119         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14120         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14121         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14123         ... here.
14124         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14126         ... here.
14127         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14129         ... here.
14130         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14132         ... here.
14133         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14135         ... here.
14136         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14138         ... here.
14139         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14141         ... here.
14142         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14145         * elf/tls-macros.h (TLS_LE): Move architecture-specific
14146         definitions to architecture-specific files.
14147         (TLS_IE): Likewise.
14148         (TLS_LD): Likewise.
14149         (TLS_GD): Likewise.
14150         * sysdeps/i386/tls-macros.h: New file.
14151         * sysdeps/powerpc/tls-macros.h: Likewise.
14152         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14153         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14154         * sysdeps/sh/tls-macros.h: Likewise.
14155         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14156         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14157         * sysdeps/x86_64/tls-macros.h: Likewise.
14159 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14161         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14162         zero value for regular exit case.
14164         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14165         (__start_context): Preserve zero value for regular exit case.
14167 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14168             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14170         * manual/setjmp.texi (setcontext): Clarify normal process
14171         termination when uc_link is the null pointer.
14172         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14173         exit call.
14175 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
14177         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14178         preprocessor.  Test for each exception mask separately.
14180 2012-07-16  Andreas Jaeger  <aj@suse.de>
14182         * po/ru.po: Update from translation team.
14184 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
14186         * conform/data/string.h-data (NULL): Use macro-constant.  Require
14187         equal to 0.
14188         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14189         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14190         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14191         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14192         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14194 2012-07-13  Andreas Jaeger  <aj@suse.de>
14196         * po/fr.po: Update from translation team.
14198 2012-07-12  Marek Polacek  <polacek@redhat.com>
14200         [BZ #14173]
14201         * math/libm-test.inc (yn_test): Add test for BZ #14173.
14202         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14203         loop condition.
14205 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
14207         [BZ #13717]
14208         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14209         Change to 2.4.1 where previously 2.4.0.
14210         * sysdeps/unix/sysv/linux/configure: Regenerated.
14211         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14212         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14213         version.
14214         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14215         (__ASSUME_AT_CLKTCK): Remove.
14216         (__ASSUME_AT_PAGESIZE): Likewise.
14217         (__ASSUME_AT_XID): Likewise.
14218         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14219         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14220         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14221         unconditionally.
14222         (HAVE_AUX_PAGESIZE): Likewise.
14223         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14224         [__ASSUME_AT_CLKTCK]: Make code unconditional.
14225         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14227 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
14229         [BZ #14307]
14230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14231         the temporary buffer used to invoke __gethostbyname2_r,
14232         __gethostbyaddr_r and gethostbyname4_r to make room for struct
14233         host_data / struct gaih_addrtuple.
14234         * resolv/nss_dns/dns-host.c (global scope): Move definition of
14235         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14236         header file nss/nsswitch.h.
14237         * nss/nsswitch.h (global scope): Add definition of implementation
14238         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14239         resolv/nss_dns/dns-host.c).
14241 2012-07-11  Andreas Jaeger  <aj@suse.de>
14243         * po/fr.po: Update from translation team.
14245         * po/sv.po: Update from translation team
14246         * po/fr.po: Another update from translation team.
14248 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14250         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14251         for subnormals or multiply small sinh result by itself.
14252         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14255 2012-07-11  David S. Miller  <davem@davemloft.net>
14257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14259 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
14261         [BZ #14347]
14262         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14263         (INTERNAL_MARK): Shift it here.
14265 2012-07-10  Marek Polacek  <polacek@redhat.com>
14267         [BZ #14151]
14268         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
14269         libc_cv_asm_global_directive with .globl.
14270         * configure: Regenerated.
14271         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14272         with .globl.
14273         * sysdeps/i386/configure: Regenerated.
14274         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14275         with .globl.
14276         * sysdeps/x86_64/configure: Regenerated.
14277         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14278         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14279         * elf/tst-unique2mod2.c: Likewise.
14280         * elf/tst-unique2mod1.c: Likewise.
14281         * elf/tst-unique1mod2.c: Likewise.
14282         * elf/tst-unique1mod1.c: Likewise.
14283         * sysdeps/s390/s390-32/sysdep.h: Likewise.
14284         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14285         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14286         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14287         * sysdeps/mach/sysdep.h: Likewise.
14288         * sysdeps/i386/sysdep.h: Likewise.
14289         * sysdeps/i386/i386-mcount.S: Likewise.
14290         * sysdeps/x86_64/_mcount.S: Likewise.
14291         * sysdeps/x86_64/sysdep.h: Likewise.
14292         * sysdeps/sh/_mcount.S: Likewise.
14293         * sysdeps/sh/sysdep.h: Likewise.
14294         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14295         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14296         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14297         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14298         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14299         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14300         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14301         * locale/localeinfo.h: Likewise.
14302         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14303         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14305 2012-07-09  Roland McGrath  <roland@hack.frob.com>
14307         [BZ #14336]
14308         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14309         system".
14310         * manual/message.texi (The Uniforum approach): Likewise.
14311         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14312         (glibc iconv Implementation): Likewise.
14314 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
14316         [BZ #14337]
14317         * math/s_clog.c (__clog): Avoid scaling a value down where that
14318         could result in underflow.
14319         * math/s_clog10.c (__clog10): Likewise.
14320         * math/s_clog10f.c (__clog10f): Likewise.
14321         * math/s_clog10l.c (__clog10l): Likewise.
14322         * math/s_clogf.c (__clogf): Likewise.
14323         * math/s_clogl.c (__clogl): Likewise.
14324         * math/libm-test.inc (clog_test): Add more tests.
14325         (clog10_test): Likewise.
14326         * sysdeps/i386/fpu/libm-test-ulps: Update.
14327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14329 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
14331         [BZ #14283]
14332         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14333         by 7 not 8 to examine high bit of fractional part.
14335         [BZ #14042]
14336         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14337         for call to __mcount_internal.
14338         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14339         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14340         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14342 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
14344         [BZ #14154]
14345         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14346         approximation for values within 0x1p-13f of an odd multiple of
14347         pi/4.
14348         * math/libm-test.inc (tan_test): Do not allow spurious underflow
14349         exception.  Add more tests.
14350         * sysdeps/i386/fpu/libm-test-ulps: Update.
14352         [BZ #6778]
14353         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14354         inputs and return -1 for them.  Do not check for +Inf in case not
14355         reachable for +Inf.
14356         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14357         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14358         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14359         and return -1 for them.  Do not check for +Inf in case not
14360         reachable for +Inf.
14361         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14362         define.
14363         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14364         and return -1 for them.  Do not check for +Inf in case not
14365         reachable for +Inf.
14366         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
14367         spurious underflow.
14368         * sysdeps/i386/fpu/libm-test-ulps: Update.
14369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14371 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
14373         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14375 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
14377         [BZ #14157]
14378         [BZ #14331]
14379         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14380         could result in spurious underflow.  Scale down values above
14381         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14382         * math/s_csqrtf.c (__csqrtf): Likewise.
14383         * math/s_csqrtl.c (__csqrtl): Likewise.
14384         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
14385         spurious underflow.
14386         * sysdeps/i386/fpu/libm-test-ulps: Update.
14387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14389 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
14391         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14392         xopen-msg.sed.
14393         * catgets/xopen-msg.awk: New file.
14394         * catgets/xopen-msg.sed: Removed.
14396         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14397         po2text.sed.
14398         * intl/po2test.awk: New file.
14399         * intl/po2test.sed: Removed.
14401 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
14403         [BZ #14328]
14404         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14405         or multiply small sinh result by itself.
14406         * math/s_ctanf.c (__ctanf): Likewise.
14407         * math/s_ctanh.c (__ctanh): Likewise.
14408         * math/s_ctanhf.c (__ctanhf): Likewise.
14409         * math/s_ctanhl.c (__ctanhl): Likewise.
14410         * math/s_ctanl.c (__ctanl): Likewise.
14411         * math/libm-test.inc (ctan_test_tonearest): New function.
14412         (ctan_test_towardzero): Likewise.
14413         (ctan_test_downward): Likewise.
14414         (ctan_test_upward): Likewise.
14415         (ctanh_test_tonearest): Likewise.
14416         (ctanh_test_towardzero): Likewise.
14417         (ctanh_test_downward): Likewise.
14418         (ctanh_test_upward): Likewise.
14419         (main): Call these new functions.
14420         * sysdeps/i386/fpu/libm-test-ulps: Update.
14421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14423 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
14425         * .gitignore: Delete /ports entry.
14427 2012-07-03  Andreas Jaeger  <aj@suse.de>
14429         * po/bg.po: Update from translation team.
14430         * po/cs.po: Likewise.
14431         * po/de.po: Likewise.
14432         * po/hr.po: Likewise.
14433         * po/nl.pl: Likewise.
14434         * po/pl.po: Likewise.
14435         * po/vi.po: Likewise.
14437 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
14439         * Makeconfig [!+link] (+link-before-libc): New variable.
14440         [!+link] (+link-after-libc): Likewise.
14441         [!+link] (+link-tests): Likewise.
14442         [!+link] (+link): Define in terms of $(+link-before-libc) and
14443         $(+link-after-libc).
14444         [!+link-static] (+link-static-before-libc): New variable.
14445         [!+link-static] (+link-static-after-libc): Likewise.
14446         [!+link-static] (+link-static-tests): Likewise.
14447         [!+link-static] (+link-static): Define in terms of
14448         $(+link-static-before-libc) and $(+link-static-after-libc).
14449         [build-shared] (link-libc-before-gnulib): New variable.
14450         [build-shared] (link-libc-tests): Likewise.
14451         [build-shared] (link-libc): Define in terms of
14452         $(link-libc-before-gnulib).
14453         [!build-shared] (link-libc-tests): New variable.
14454         (link-libc-static-tests): New variable.
14455         [!gnulib] (gnulib-arch): New variable.
14456         [!gnulib] (gnulib-tests): Likewise.
14457         [!gnulib] (static-gnulib-arch): Likewise.
14458         [!gnulib] (static-gnulib-tests): Likewise.
14459         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
14460         Define with "=" instead of ":=".
14461         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
14462         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
14463         * Rules (binaries-all-notests): New variable.
14464         (binaries-all-tests): Likewise.
14465         (binaries-static-notests): Likewise.
14466         (binaries-static-tests): Likewise.
14467         (binaries-all): Define using $(binaries-all-notests) and
14468         $(binaries-all-tests).
14469         (binaries-static): Define using $(binaries-static-notests) and
14470         $(binaries-static-tests).
14471         (binaries-shared-tests): New variable.
14472         (binaries-shared-notests): Likewise.
14473         (binaries-shared): Remove variable.
14474         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14475         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14476         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14477         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14478         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14479         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14480         * elf/Makefile (sln-modules): New variable.
14481         (extra-objs): Add $(sln-modules:=.o).
14482         (ldconfig-modules): Add static-stubs.
14483         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14484         * elf/static-stubs.c: New file.
14486         [BZ #14283]
14487         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14488         by 7 not 8 to examine high bit of fractional part.  Use volatile
14489         variables when splitting into final array of floats if
14490         __FLT_EVAL_METHOD__ != 0.
14491         * math/libm-test.inc (cos_test): Add another test.
14492         (sin_test): Likewise.
14493         * sysdeps/i386/fpu/libm-test-ulps: Update.
14495         [BZ #14273]
14496         * math/libm-test.inc (cosh_test): Add more tests.
14498         * version.h (RELEASE): Set to "development".
14499         (VERSION): Set to "2.16.90".
14501 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
14503         * NEWS: Update copyright. Remove last-updated date.
14504         Mention math library bug fixes and timezone data changes.
14505         * README: Mention GNU/Hurd, x32, and HPPA support status.
14507 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
14509         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14511 2012-06-27  Andreas Jaeger  <aj@suse.de>
14513         * manual/contrib.texi (Contributors): Add Samuel Thibault.
14515 2012-06-25  Andreas Jaeger  <aj@suse.de>
14517         * sysdeps/s390/fpu/libm-test-ulps: Update.
14519 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
14520             Thomas Schwinge  <thomas@codesourcery.com>
14522         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14523         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14524         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14525         fanotify_mark.
14527 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
14529         * sysdeps/mach/start.c: Remove file.
14530         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14531         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14532         * sysdeps/sh/init-first.c: Likewise.
14534         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14535         registers for frame unwinding purposes, add CFI directives.
14536         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14537         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14538         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14539         Likewise.
14541         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14542         __fortify_fail returning.
14543         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14545         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14546         sysdeps/sh/____longjmp_chk.S.
14547         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14548         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14549         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14550         (gen-as-const-headers): Append sigaltstack-offsets.sym.
14552         * sysdeps/sh/abort-instr.h: New file.
14553         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14554         process in case exit returns.
14556         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14557         initialize the GOT register before use.
14559         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14560         calculation of ARGC > 4.
14562         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14563         meaningful names to some local labels.
14565 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14566             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14568         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14569         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14570         (__arch_compare_and_exchange_val_16_acq): Likewise.
14571         (__arch_compare_and_exchange_val_32_acq): Likewise.
14572         (atomic_exchange_and_add): Fix gUSA sequence.
14573         (atomic_add): Likewise.
14574         (atomic_add_negative): Likewise.
14575         (atomic_add_zero): Likewise.
14576         (atomic_bit_test_set): Likewise.
14578 2012-06-22  Andreas Schwab  <schwab@redhat.com>
14580         [BZ #13579]
14581         * include/link.h (struct link_map): Add l_free_initfini.
14582         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14583         l_initfini.
14584         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14585         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14586         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14587         set.
14589 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
14591         * configure.in: Use AC_LANG_SOURCE.
14592         * configure: Regenerate.
14594 2012-06-22  Roland McGrath  <roland@hack.frob.com>
14596         * configure.in (libc_cv_localstatedir): New substituted variable.
14597         * configure: Regenerated.
14598         * config.make.in (localstatedir): New variable, substituted from
14599         libc_cv_localstatedir.
14600         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14601         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14602         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14603         * sysdeps/gnu/configure: Regenerated.
14605 2012-06-21  Jeff Law  <law@redhat.com>
14607         [BZ #14277]
14608         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14609         free.  Simplify list management for _LIBC case.
14611 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
14613         [BZ #14273]
14614         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14615         Clear sign bit of 64-bit integer value before comparing against
14616         overflow value.
14618         * sysdeps/mach/configure: Regenerated.
14620 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
14622         [BZ #14278]
14623         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14625 2012-06-21  Jeff Law  <law@redhat.com>
14627         [BZ #13882]
14628         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
14629         uint16_t for elements in the "seen" array to avoid char overflows.
14630         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14631         * elf/dl-open.c (dl_open_worker): Likewise.
14633 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
14635         * scripts/list-sources.sh: Scan PORTS for translations.
14636         * po/libc.pot: Regenerated.
14638 2012-06-21  Andreas Jaeger  <aj@suse.de>
14640         [BZ #12194]
14641         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14642         warning.
14643         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14644         * bits/byteswap-16.h (__bswap_16): Likewise.
14645         * bits/byteswap.h (__bswap_constant_16): Likewise.
14647 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
14649         [BZ #14117]
14650         * sysdeps/i386/fpu_control.h: Removed.
14651         * sysdeps/x86_64/fpu_control.h: Moved to ...
14652         * sysdeps/x86/fpu_control.h: Here.
14654         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14655         (_FPU_SETCW): Likewise.
14657 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
14659         [BZ #14117]
14660         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14661         * sysdeps/x86/fpu/bits/mathinline.h: This.
14662         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14664         [BZ #14050]
14665         [BZ #14117]
14666         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14667         functions if __x86_64__ is defined.
14669 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
14671         * string/endian.h: Add !__ASSEMBLER__ condition for including
14672         conversion interfaces.
14674 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
14676         [BZ #14241]
14677         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14678         of ABS(x) in calculating zero to negative powers other than odd
14679         integers.
14680         * math/libm-test.inc (pow_test): Add more tests.
14682 2012-06-15  Andreas Jaeger  <aj@suse.de>
14684         * manual/contrib.texi (Contributors): Update entry of Liubov
14685         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14686         Machado Filho.
14688 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
14690         * string/string.h: Add __wur to GNU version of strerror_r.
14692 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
14694         [BZ #14229]
14695         * string/Makefile (tests): Add tst-strtok_r.
14696         * string/tst-strtok_r.c: New file.
14697         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14698         RAX_LP/RDX_LP on SAVE_PTR.
14700 2012-06-14  Roland McGrath  <roland@hack.frob.com>
14702         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14704 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
14706         * libm_test.inc (csqrt_test): Allow more spurious underflow
14707         exceptions.
14708         (j0_test): Likewise.
14709         (j1_test): Likewise.
14710         (y0_test): Likewise.
14711         (y1_test): Likewise.
14713 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
14715         * po/Makefile (libc.pot): Use UTF-8 charset.
14717 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
14719         [BZ #14210]
14720         Suppress sign-conversion warning from FD_SET.
14721         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14722         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14723         not unsigned long int.
14724         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14726 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
14728         [BZ #14050]
14729         [BZ #14117]
14730         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14731         __extern_always_inline instead of __extern_inline.
14732         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14733         (__signbit): Likewise.
14734         (__signbitl): Support C++ namespace.
14735         (lrintf): New inline function.
14736         (lrint): Likewise.
14737         (llrintf): Likewise.
14738         (llrint): Likewise.
14739         (fmaxf): Likewise.
14740         (fmax): Likewise.
14741         (fminf): Likewise.
14742         (fmin): Likewise.
14743         (rint): Likewise.
14744         (rintf): Likewise.
14745         (ceil): Likewise.
14746         (ceilf): Likewise.
14747         (floor): Likewise.
14748         (floorf): Likewise.
14749         (nearbyint): Likewise.
14750         (nearbyintf): Likewise.
14752 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
14754         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14755         non-default versions.
14757 2012-06-11  Roland McGrath  <roland@hack.frob.com>
14759         [BZ #14218]
14760         * manual/argp.texi (Argp): Reword argp_parse description slightly.
14762 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
14764         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14765         (FE_UPWARD, FE_DOWNWARD): Don't define.
14766         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14767         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14769         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14770         reading it.
14771         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14772         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14774 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14776         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14777         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14778         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14779         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14781 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14783         [BZ #14117]
14784         * sysdeps/i386/fpu/bits/fenv.h: Removed.
14785         * sysdeps/i386/fpu/Implies: New file.
14786         * sysdeps/x86_64/fpu/Implies: Likewise.
14787         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14788         * sysdeps/x86/fpu/bits/fenv.h: This.
14790         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14791         __SSE_MATH__.
14793 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14795         [BZ #14134]
14796         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14797         character 0xffff that matches the last element of the
14798         conversion table.
14800 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14802         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14803         fmodl commit.
14805 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14807         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14808         values higher than 25.6283.
14810 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14812         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14813         subnormal exponent extraction and add some __builtin_expect.
14814         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14815         Fix for subnormal mantissa calculation.
14817 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
14819         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14820         cpu2 is -1 and errno is not ENOSYS.
14822 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
14824         [BZ #14117]
14825         * sysdeps/i386/i486/bits/string.h: Renamed to ...
14826         * sysdeps/x86/bits/string.h: This.
14827         * sysdeps/x86_64/bits/string.h: Removed.
14829         * sysdeps/i386/i486/bits/string.h: Define inline functions only
14830         if not compiling for x86-64, but compiling for >= i486.
14832         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14833         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14835         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14836         New macro from Linux kernel 3.4.0.
14837         (FP_XSTATE_MAGIC2): Likewise.
14838         (FP_XSTATE_MAGIC2_SIZE): Likewise.
14839         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14840         (struct _fpx_sw_bytes): New struct.
14841         (struct _xsave_hdr): Likewise.
14842         (struct _ymmh_state): Likewise.
14843         (struct _xstate): Likewise.
14845         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14846         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14847         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14848         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14849         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14850         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14852         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14853         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14854         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14855         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14856         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14857         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14859 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14861         [BZ #13743]
14862         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14863         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14864         (sysdep_headers): Include sys/platform/ppc.h.
14865         * sysdeps/powerpc/test-gettimebase.c: Test for
14866         __ppc_get_timebase() to catch future ISA opcode/insn changes.
14867         * manual/Makefile (appendices): Include platform.texi.
14868         * manual/contrib.texi (Contributors): Update @node pointers.
14869         * manual/maint.texi (Maintenance): Likewise.
14870         (Platform): New node.
14871         * manual/platform.texi: New file.  Document the new features.
14873 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14874             Jakub Jelinek  <jakub@redhat.com>
14876         [BZ #14188]
14877         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14878         where __builtin_expect is unavailable.
14880 2012-06-03  David S. Miller  <davem@davemloft.net>
14882         * stdlib/longlong.h: Updated from GCC.
14884 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
14886         [BZ #14042]
14887         * sysdeps/powerpc/powerpc32/mcount.c: New file.
14888         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14889         __mcount_internal.
14890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14891         (GLIBC_2.16): Likewise.
14893 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14895         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14897 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
14899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14900         (default-abi): New variable.
14901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14902         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14903         variable.
14904         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14905         Likewise.
14906         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14907         Likewise.
14908         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14909         Likewise.
14911         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14912         definition.  Document in comment.
14914 2012-06-01  David S. Miller  <davem@davemloft.net>
14916         * stdlib/longlong.h: Updated from GCC.
14918 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14920         [BZ #14117]
14921         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14922         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14923         sys/debugreg.h sys/io.h here.
14924         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14925         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14926         sys/io.h.
14927         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14928         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14929         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14930         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14931         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14932         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14934         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14935         Define only if __x86_64__ is defined.
14937 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
14939         [BZ #14048]
14940         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14941         Use int64_t for variable i.
14942         * math/libm-test.inc (fmod_test): Add more tests.
14944         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14945         z computation is not scheduled after fetestexcept.
14946         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14947         Use math_force_eval instead of asm to ensure calculation scheduled
14948         before exception test.
14949         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14950         Ensure a1 + u.d computation is not scheduled after fetestexcept.
14952 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
14954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14955         computation is not scheduled after fetestexcept.
14957 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14959         [BZ #14117]
14960         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14961         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14963 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14965         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14966         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14968 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
14970         [BZ #14117]
14971         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14972         <bits/wordsize.h>.
14973         (__WCHAR_MIN): Support __WORDSIZE == 64.
14974         (__WCHAR_MAX): Likewise.
14976         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14977         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14979         [BZ #14183]
14980         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14981         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14983         [BZ #14117]
14984         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14985         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14987         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14988         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14990         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14991         Defined to 1 if __x86_64__ isn't defined.
14992         (_STAT_VER_LINUX_OLD): New.
14993         (st_atime): Remove duplicate.
14994         (st_mtime): Likewise.
14995         (st_ctime): Likewise.
14997 2012-05-31  David S. Miller  <davem@davemloft.net>
14999         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15000         entries.
15002 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15004         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15005         gen-libm-test.pl.
15007         [BZ #14132]
15008         * elf/dl-reloc.c: Include <_itoa.h>.
15009         (_dl_reloc_bad_type): Remove use of INTUSE.
15010         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15011         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15012         * stdio-common/psiginfo.c (psiginfo): Likewise.
15013         * stdio-common/psignal.c (psignal): Likewise.
15014         * string/strsignal.c (strsignal): Likewise.
15015         * include/signal.h (_sys_siglist): Declare hidden proto.
15016         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15017         INTVARDEF with libc_hidden_data_def.
15018         * stdio-common/itoa-udigits.c: Likewise.
15019         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15020         (_itoa_lower_digits_internal): Remove declaration.
15021         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15022         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15023         (_sys_sigabbrev_internal): Remove aliases.
15024         (_sys_siglist): Define hidden alias.
15026 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15028         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15029         bits/sysctl.h.
15031 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15033         [BZ #14117]
15034         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15035         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15037         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15038         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15039         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15040         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15041         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15042         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15044         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15045         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15046         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15048         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15049         with __addr.
15050         (insw): Likewise.
15051         (insl): Likewise.
15052         (outsb): Likewise.
15053         (outsw): Likewise.
15054         (outsl): Likewise.
15056         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15057         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15058         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15060         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15061         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15062         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15063         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15064         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15065         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15067         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15068         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15070         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15071         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15073         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15074         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15075         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15077         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15078         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15079         to ...
15080         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15082         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15083         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15084         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15086         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15087         for x86-64.
15088         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15090 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
15092         * math/math.h (M_El): Use two more decimal places.
15093         (M_LOG2El): Likewise.
15094         (M_LOG10El): Likewise.
15095         (M_LN2l): Likewise.
15096         (M_LN10l): Likewise.
15097         (M_PIl): Likewise.
15098         (M_PI_2l): Likewise.
15099         (M_PI_4l): Likewise.
15100         (M_1_PIl): Likewise.
15101         (M_2_PIl): Likewise.
15102         (M_2_SQRTPIl): Likewise.
15103         (M_SQRT2l): Likewise.
15104         (M_SQRT1_2l): Likewise.
15106 2012-05-31  David S. Miller  <davem@davemloft.net>
15108         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15109         values between float registers.
15110         * sysdeps/sparc/sparc64/memset.S: Likewise.
15111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15113 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
15115         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15116         -D_FORTIFY_SOURCE=1.
15117         (CPPFLAGS-tst-longjmp_chk.c): Define.
15118         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15119         (CPPFLAGS-tst-longjmp_chk2.c): Define.
15120         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15121         CFLAGS-tst-wchar-h.c.
15123 2012-05-31  Marek Polacek  <polacek@redhat.com>
15125         [BZ #14132]
15126         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15127         __endmntent_internal): Remove declaration.
15128         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15129         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15130         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15132 2012-05-30  David S. Miller  <davem@davemloft.net>
15134         * sysdeps/sparc/sparc32/soft-fp/q_util.c
15135         (___Q_simulate_exceptions): Use real FP ops rather than writing
15136         into the %fsr.
15137         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15138         Likewise.
15140 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15142         [BZ #14117]
15143         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15144         * sysdeps/x86/bits/xtitypes.h: This.
15146         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15147         * sysdeps/x86/bits/wordsize.h: This.
15149         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15150         * sysdeps/x86/bits/huge_vall.h: This.
15152         * sysdeps/i386/bits/select.h: Removed.
15153         * sysdeps/x86_64/bits/select.h: Renamed to ...
15154         * sysdeps/x86/bits/select.h: This.
15156         * sysdeps/i386/bits/setjmp.h: Removed.
15157         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15158         * sysdeps/x86/bits/setjmp.h: This.
15160         * sysdeps/i386/bits/mathdef.h: Removed.
15161         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15162         * sysdeps/x86/bits/mathdef.h: This.
15164 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
15166         [BZ #14132]
15167         * include/sys/socket.h (__connect_internal)
15168         (__libc_sa_len_internal): Remove declaration.
15169         (__connect, __libc_sa_len): Declare hidden_proto.
15170         (SA_LEN): Remove use of INTUSE.
15171         * socket/connect.c: Add libc_hidden_def.
15172         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15173         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15174         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15175         alias.
15176         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15177         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15178         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15179         of adding _internal alias.
15181 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15183         [BZ #14117]
15184         * sysdeps/i386/bits/link.h: Removed.
15185         * sysdeps/i386/bits/linkmap.h: Likewise.
15186         * sysdeps/x86_64/bits/link.h: Renamed to ...
15187         * sysdeps/x86/bits/link.h: This.
15188         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15189         * sysdeps/x86/bits/linkmap.h: This.
15191         * sysdeps/i386/bits/endian.h: Removed.
15192         * sysdeps/x86_64/bits/endian.h: Renamed to ...
15193         * sysdeps/x86/bits/endian.h: This.
15195         * sysdeps/i386/bits/byteswap.h: Removed.
15196         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15197         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15198         * sysdeps/x86/bits/byteswap.h: This.
15199         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15200         * sysdeps/x86/bits/byteswap-16.h: This.
15201         * sysdeps/i386/Implies: Add x86.
15202         * sysdeps/x86_64/Implies: Likewise.
15204 2012-05-30  David S. Miller  <davem@davemloft.net>
15206         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15207         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15208         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15209         (FP_TRAPPING_EXCEPTIONS): Define.
15210         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15211         (FP_TRAPPING_EXCEPTIONS): Define.
15212         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15213         subnormals only when inexact has been signalled or underflow
15214         exceptions are enabled.
15215         (_FP_PACK_CANONICAL): Likewise.
15217 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15219         [BZ #14183]
15220         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15221         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15223 2012-05-30  Richard Henderson  <rth@twiddle.net>
15225         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15226         with #ifndef NOT_IN_libc.
15228         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
15229         marked to avoid plt entry.
15231 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15233         [BZ #14112]
15234         * Makeconfig (default-abi): New macro.
15235         (abi-includes): Likewise.
15236         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
15237         $(abi-$(default-abi)-lib-soname) for soname if defined.
15238         ($(common-objpfx)gnu/lib-names.stmp): Generate from
15239         abi-variants.
15240         * Makefile (installed-stubs): Likewise.
15241         * include/stubs-biarch.h: Removed.
15242         * scripts/lib-names.awk: Only handle one library at a time.
15243         * scripts/soversions.awk: Remove WORDSIZE support.
15244         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15245         entries.
15246         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15247         Removed.
15248         (syscall-list-default-condition): Likewise.
15249         (syscall-list-default-condition): Likewise.
15250         (syscall-list-includes): Likewise.
15251         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15252         syscall-list-* with abi-*.  Handle undefined abi-variants.
15253         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15254         * sysdeps/unix/sysv/linux/i386/Implies: New file.
15255         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15256         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15257         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15258         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15259         Removed.
15260         (syscall-list-32-options): Likewise.
15261         (syscall-list-32-condition): Likewise.
15262         (syscall-list-64-options): Likewise.
15263         (syscall-list-64-condition): Likewise.
15264         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15265         macro.
15266         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15267         Renamed to ...
15268         (abi-*): This.
15269         (abi-64-ld-soname): New macro.
15270         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15271         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15272         Renamed to ...
15273         (abi-*): This.
15274         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15275         * sysdeps/x86_64/x32/shlib-versions: Likewise.
15277 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
15279         * sysdeps/unix/sysv/linux/kernel-features.h
15280         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15281         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15282         include <kernel-features.h>.
15283         [!__NR_ftruncate64]: Remove conditional code.
15284         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15285         [__NR_ftruncate64]: Make code unconditional.
15286         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15287         * sysdeps/unix/sysv/linux/truncate64.c: Do not
15288         include <kernel-features.h>.
15289         [!__NR_ftruncate64]: Remove conditional code.
15290         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15291         [__NR_ftruncate64]: Make code unconditional.
15292         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15294         include <kernel-features.h>.
15295         [!__NR_ftruncate64]: Remove conditional code.
15296         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15297         [__NR_ftruncate64]: Make code unconditional.
15298         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15300         include <kernel-features.h>.
15301         [!__NR_ftruncate64]: Remove conditional code.
15302         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15303         [__NR_ftruncate64]: Make code unconditional.
15304         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15306         * configure.in (libc_cv_fpie): Weaken to a compile test using
15307         LIBC_TRY_CC_OPTION.
15308         * configure: Regenerated.
15310 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15316         Refreshed.
15317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15323         Refreshed.
15325 2012-05-27  David S. Miller  <davem@davemloft.net>
15327         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15328         (___Q_zero): New.
15329         (__Q_simulate_exceptions): Return void.  Change to simulate
15330         exceptions by writing into the %fsr.
15331         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15332         (__Qp_handle_exceptions): Likewise.
15333         (numbers): Delete.
15334         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15335         __Qp_handle_exceptions.
15336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15337         __Qp_handle_exceptions.
15338         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15339         as unused and give dummy FP_RND_NEAREST initializer.
15340         (FP_INHIBIT_RESULTS): Define.
15341         (___Q_simulate_exceptions): Update declaration.
15342         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15343         formatting.
15344         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15345         as unused and give dummy FP_RND_NEAREST initializer.
15346         (__Qp_handle_exceptions): Update declaration.
15347         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15348         formatting.
15350 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
15352         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15353         the temporary FPU control word.
15354         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15355         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15356         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15357         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15358         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15359         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15360         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15361         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15362         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15363         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15364         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15366 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15368         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15369         fields.
15371 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
15373         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15374         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15375         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15376         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15377         Likewise.
15378         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15379         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15380         Likewise.
15382 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
15384         * po/h.po: Update from translation team.
15386 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
15388         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15390         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15391         handling of denormals.
15392         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15393         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15394         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15395         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15396         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15397         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15398         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15399         Likewise.
15401 2012-05-26  Marek Polacek  <polacek@redhat.com>
15403         [BZ #14152]
15404         * math/libm-test.inc (fma_test): Don't always expect underflow
15405         exception.
15407 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15409         [BZ #12416]
15410         * elf/tst-execstack.c: Include stackinfo.h.
15411         (do_test): Adjust test case to ensure that pthread_getattr_np
15412         behaviour remains the same after marking stack executable.
15414 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
15416         * sysdeps/unix/sysv/linux/kernel-features.h
15417         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15418         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15419         kernel-features.h.
15420         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15421         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15422         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15423         kernel-features.h.
15424         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15425         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15427 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
15429         * configure.in: Define the default includes to being none.
15430         * configure: Regenerated.
15432 2012-05-25  Roland McGrath  <roland@hack.frob.com>
15434         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15435         * sysdeps/x86_64/setjmp.S: Likewise.
15436         * sysdeps/i386/bsd-setjmp.S: Likewise.
15437         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15438         * sysdeps/i386/setjmp.S: Likewise.
15439         * sysdeps/i386/__longjmp.S: Likewise.
15440         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15441         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15443         * include/stap-probe.h: New file.
15444         * configure.in: Handle --enable-systemtap.
15445         * configure: Regenerated.
15446         * config.h.in (USE_STAP_PROBE): New #undef.
15447         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15448         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15449         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15451 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
15453         [BZ #13717]
15454         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15455         to 2.4.0 where earlier.
15456         * sysdeps/unix/sysv/linux/configure: Regenerated.
15457         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15458         <kernel-features.h>.
15459         [__ASSUME_32BITUIDS]: Make code unconditional.
15460         [!__ASSUME_32BITUIDS]: Remove conditional code.
15461         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15462         <kernel-features.h>.
15463         [__ASSUME_32BITUIDS]: Make code unconditional.
15464         [!__ASSUME_32BITUIDS]: Remove conditional code.
15465         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15466         [__ASSUME_32BITUIDS]: Make code unconditional.
15467         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15468         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15469         <kernel-features.h>.
15470         [__ASSUME_32BITUIDS]: Make code unconditional.
15471         [!__ASSUME_32BITUIDS]: Remove conditional code.
15472         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15473         <kernel-features.h>.
15474         [__ASSUME_32BITUIDS]: Make code unconditional.
15475         [!__ASSUME_32BITUIDS]: Remove conditional code.
15476         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15477         <kernel-features.h>.
15478         [__ASSUME_32BITUIDS]: Make code unconditional.
15479         [!__ASSUME_32BITUIDS]: Remove conditional code.
15480         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15481         <kernel-features.h>.
15482         [__ASSUME_32BITUIDS]: Make code unconditional.
15483         [!__ASSUME_32BITUIDS]: Remove conditional code.
15484         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15485         <kernel-features.h>.
15486         [__ASSUME_32BITUIDS]: Make code unconditional.
15487         [!__ASSUME_32BITUIDS]: Remove conditional code.
15488         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15489         <kernel-features.h>.
15490         [__ASSUME_32BITUIDS]: Make code unconditional.
15491         [!__ASSUME_32BITUIDS]: Remove conditional code.
15492         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15493         <kernel-features.h>.
15494         [__ASSUME_32BITUIDS]: Make code unconditional.
15495         [!__ASSUME_32BITUIDS]: Remove conditional code.
15496         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15497         <kernel-features.h>.
15498         [__ASSUME_32BITUIDS]: Make code unconditional.
15499         [!__ASSUME_32BITUIDS]: Remove conditional code.
15500         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15501         <kernel-features.h>.
15502         [__ASSUME_32BITUIDS]: Make code unconditional.
15503         [!__ASSUME_32BITUIDS]: Remove conditional code.
15504         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15505         <kernel-features.h>.
15506         [__ASSUME_32BITUIDS]: Make code unconditional.
15507         [!__ASSUME_32BITUIDS]: Remove conditional code.
15508         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15509         <kernel-features.h>.
15510         [__NR_setresgid] (__setresgid): Do not declare.
15511         [__ASSUME_32BITUIDS]: Make code unconditional.
15512         [!__ASSUME_32BITUIDS]: Remove conditional code.
15513         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15514         <kernel-features.h>.
15515         [__NR_setresuid] (__setresuid): Do not declare.
15516         [__ASSUME_32BITUIDS]: Make code unconditional.
15517         [!__ASSUME_32BITUIDS]: Remove conditional code.
15518         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15519         <kernel-features.h>.
15520         [__ASSUME_32BITUIDS]: Make code unconditional.
15521         [!__ASSUME_32BITUIDS]: Remove conditional code.
15522         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15523         <kernel-features.h>.
15524         [__ASSUME_32BITUIDS]: Make code unconditional.
15525         [!__ASSUME_32BITUIDS]: Remove conditional code.
15526         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15527         <kernel-features.h>.
15528         [__ASSUME_32BITUIDS]: Make code unconditional.
15529         [!__ASSUME_32BITUIDS]: Remove conditional code.
15530         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15531         <kernel-features.h>.
15532         [__ASSUME_32BITUIDS]: Make code unconditional.
15533         [!__ASSUME_32BITUIDS]: Remove conditional code.
15534         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15535         <kernel-features.h>.
15536         [__ASSUME_32BITUIDS]: Make code unconditional.
15537         [!__ASSUME_32BITUIDS]: Remove conditional code.
15538         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15539         <kernel-features.h>.
15540         [__ASSUME_32BITUIDS]: Make code unconditional.
15541         [!__ASSUME_32BITUIDS]: Remove conditional code.
15542         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15543         <kernel-features.h>.
15544         [__ASSUME_32BITUIDS]: Make code unconditional.
15545         [!__ASSUME_32BITUIDS]: Remove conditional code.
15546         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15547         <kernel-features.h>.
15548         [__ASSUME_32BITUIDS]: Make code unconditional.
15549         [!__ASSUME_32BITUIDS]: Remove conditional code.
15550         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15551         <kernel-features.h>.
15552         [__ASSUME_32BITUIDS]: Make code unconditional.
15553         [!__ASSUME_32BITUIDS]: Remove conditional code.
15554         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15555         <kernel-features.h>.
15556         [__ASSUME_32BITUIDS]: Make code unconditional.
15557         [!__ASSUME_32BITUIDS]: Remove conditional code.
15558         * sysdeps/unix/sysv/linux/kernel-features.h
15559         (__ASSUME_SETRESUID_SYSCALL): Remove.
15560         (__ASSUME_SETRESGID_SYSCALL): Likewise.
15561         (__ASSUME_32BITUIDS): Likewise.
15562         (__ASSUME_LDT_WORKS): Likewise.
15563         (__ASSUME_O_DIRECTORY): Likewise.
15564         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15565         architecture but not kernel version.
15566         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15567         (__ASSUME_MMAP2_SYSCALL): Likewise.
15568         (__ASSUME_STAT64_SYSCALL): Likewise.
15569         (__ASSUME_IPC64): Likewise.
15570         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15571         <kernel-features.h>.
15572         [__ASSUME_32BITUIDS]: Make code unconditional.
15573         [!__ASSUME_32BITUIDS]: Remove conditional code.
15574         * sysdeps/unix/sysv/linux/opendir.c: Do not include
15575         <kernel-features.h>.
15576         [__ASSUME_O_DIRECTORY]: Make code unconditional.
15577         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15578         132096]: Remove conditional code.
15579         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15580         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15581         <kernel-features.h>.
15582         [__ASSUME_32BITUIDS]: Make code unconditional.
15583         [!__ASSUME_32BITUIDS]: Remove conditional code.
15584         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15585         <kernel-features.h>.
15586         [__ASSUME_32BITUIDS]: Make code unconditional.
15587         [!__ASSUME_32BITUIDS]: Remove conditional code.
15588         * sysdeps/unix/sysv/linux/setegid.c: Do not include
15589         <kernel-features.h>.
15590         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15591         unconditional.
15592         (__setresgid): Do not declare.
15593         [__ASSUME_32BITUIDS]: Make code unconditional.
15594         [!__ASSUME_32BITUIDS]: Remove conditional code.
15595         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15596         <kernel-features.h>.
15597         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15598         unconditional.
15599         (__setresuid): Do not declare.
15600         [__ASSUME_32BITUIDS]: Make code unconditional.
15601         [!__ASSUME_32BITUIDS]: Remove conditional code.
15602         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15603         <kernel-features.h>.
15604         [__ASSUME_32BITUIDS]: Make code unconditional.
15605         [!__ASSUME_32BITUIDS]: Remove conditional code.
15606         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15607         <kernel-features.h>.
15608         [__ASSUME_32BITUIDS]: Make code unconditional.
15609         [!__ASSUME_32BITUIDS]: Remove conditional code.
15611 2012-05-25  Richard Henderson  <rth@twiddle.net>
15613         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15614         dl_hwcap to ifunc resolver.
15615         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15616         elf_ifunc_invoke.
15617         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15618         dl_hwcap to ifunc resolver.
15619         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15621 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15623         [BZ #14153]
15624         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15625         for |x| <= 2**-26, not 2**-57.
15626         * math/libm-test.inc (acos_test): Do not allow spurious underflow
15627         exception.
15629 2012-05-24  Jeff Law  <law@redhat.com>
15631         * stdio-common/Makefile (tests): Add bug25.
15632         * stdio-common/bug25.c: New test.
15634 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15636         [BZ #13576]
15637         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15638         multiple of MALLOC_ALIGNMENT in size.
15639         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15641 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15643         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15644         Require >= 256.
15645         (FILENAME_MAX): Use macro-int-constant.
15646         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
15647         (_IOFBF): Use macro-int-constant.
15648         (_IOLBF): Likewise.
15649         (_IONBF): Likewise.
15650         (SEEK_CUR): Likewise.
15651         (SEEK_END): Likewise.
15652         (SEEK_SET): Likewise.
15653         (TMP_MAX): Likewise.
15654         (EOF): Use macro-int-constant.  Require < 0.
15655         (NULL): Use macro-constant.  Require == 0.
15656         (stdin): Require type to be FILE *.
15657         (stdout): Likewise.
15658         (stderr): Likewise.
15659         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15660         macro-int-constant.
15661         (EXIT_SUCCESS): Likewise.
15662         (NULL): Use macro-constant.  Require == 0.
15663         (RAND_MAX): Use macro-int-constant.
15664         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15665         [C99-based standards] (strtof): Require function.
15666         [C99-based standards] (strtold): Likewise.
15667         [C99-based standards] (strtoll): Likewise.
15668         [C99-based standards] (strtoull): Likewise.
15669         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15670         [ISO || ISO99 || ISO11] (limits.h): Likewise.
15671         [ISO || ISO99 || ISO11] (math.h): Likewise.
15672         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15673         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15674         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15676 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
15678         [BZ #14132]
15679         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15680         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15681         * intl/dgettext.c (DCGETTEXT): Likewise.
15682         * intl/gettext.c (DCGETTEXT): Likewise.
15683         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15684         * posix/regex_internal.h (gettext): Likewise.
15685         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15686         Remove declaration.
15687         * include/argz.h (__argz_count_internal)
15688         (__argz_stringify_internal): Remove declaration.
15689         (__argz_count, __argz_stringify): Declare hidden proto.
15690         * intl/dcgettext.c: Remove use of INTDEF.
15691         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15692         * string/argz-stringify.c: Likewise.
15693         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15694         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15695         Declare hidden proto.
15696         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15697         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15698         Declare hidden proto.
15699         * include/stdio.h (__asprintf_internal): Don't declare.
15700         (__asprintf): Don't define as macro.  Declare hidden proto.
15701         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15702         (__fsetlocking): Declare hidden proto.
15703         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15704         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15705         hidden proto.
15706         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15707         (_IO_setlinebuf): Remove use of INTUSE.
15708         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15709         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15710         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15711         Remove declaration.
15712         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15713         (_IO_do_flush): Remove use of INTUSE.
15714         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15715         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15716         (_IO_adjust_column, _IO_least_wmarker)
15717         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15718         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15719         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15720         (_IO_default_doallocate, _IO_wdefault_doallocate)
15721         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15722         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15723         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15724         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15725         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15726         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15727         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15728         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15729         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15730         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15731         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15732         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15733         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15734         proto.
15735         (_IO_flush_all_internal, _IO_adjust_column_internal)
15736         (_IO_default_uflow_internal, _IO_default_finish_internal)
15737         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15738         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15739         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15740         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15741         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15742         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15743         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15744         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15745         (_IO_file_close_internal, _IO_file_close_it_internal)
15746         (_IO_file_underflow_internal, _IO_file_overflow_internal)
15747         (_IO_file_init_internal, _IO_file_attach_internal)
15748         (_IO_file_fopen_internal, _IO_file_read_internal)
15749         (_IO_file_sync_internal, _IO_file_seek_internal)
15750         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15751         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15752         (_IO_str_underflow_internal, _IO_str_overflow_internal)
15753         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15754         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15755         (_IO_list_all_internal, _IO_link_in_internal)
15756         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15757         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15758         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15759         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15760         (_IO_do_write_internal, _IO_padn_internal)
15761         (_IO_getline_info_internal, _IO_getline_internal)
15762         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15763         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15764         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15765         (_IO_vfscanf_internal, _IO_vfprintf_internal)
15766         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15767         (_IO_init_internal, _IO_un_link_internal): Don't declare.
15768         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15769         with libc_hidden_ver, remove use of INTUSE.
15770         * libio/genops.c: Likewise.
15771         * libio/freopen.c: Likewise.
15772         * libio/freopen64.c: Likewise.
15773         * libio/iofclose.c: Likewise.
15774         * libio/iofdopen.c: Likewise.
15775         * libio/iofflush.c: Likewise.
15776         * libio/iofflush_u.c: Likewise.
15777         * libio/iofgets.c: Likewise.
15778         * libio/iofgets_u.c: Likewise.
15779         * libio/iofopen.c: Likewise.
15780         * libio/iofopncook.c: Likewise.
15781         * libio/iofread.c: Likewise.
15782         * libio/iofread_u.c: Likewise.
15783         * libio/ioftell.c: Likewise.
15784         * libio/iofwrite.c: Likewise.
15785         * libio/iogetline.c: Likewise.
15786         * libio/iogets.c: Likewise.
15787         * libio/iogetwline.c: Likewise.
15788         * libio/iopadn.c: Likewise.
15789         * libio/iopopen.c: Likewise.
15790         * libio/ioseekoff.c: Likewise.
15791         * libio/ioseekpos.c: Likewise.
15792         * libio/iosetbuffer.c: Likewise.
15793         * libio/iosetvbuf.c: Likewise.
15794         * libio/ioungetc.c: Likewise.
15795         * libio/ioungetwc.c: Likewise.
15796         * libio/iovdprintf.c: Likewise.
15797         * libio/iovsprintf.c: Likewise.
15798         * libio/iovsscanf.c: Likewise.
15799         * libio/memstream.c: Likewise.
15800         * libio/obprintf.c: Likewise.
15801         * libio/oldfileops.c: Likewise.
15802         * libio/oldiofclose.c: Likewise.
15803         * libio/oldiofdopen.c: Likewise.
15804         * libio/oldiofopen.c: Likewise.
15805         * libio/oldiopopen.c: Likewise.
15806         * libio/oldstdfiles.c: Likewise.
15807         * libio/putc.c: Likewise.
15808         * libio/setbuf.c: Likewise.
15809         * libio/setlinebuf.c: Likewise.
15810         * libio/stdfiles.c: Likewise.
15811         * libio/strops.c: Likewise.
15812         * libio/vasprintf.c: Likewise.
15813         * libio/vscanf.c: Likewise.
15814         * libio/vsnprintf.c: Likewise.
15815         * libio/vswprintf.c: Likewise.
15816         * libio/wfiledoalloc.c: Likewise.
15817         * libio/wfileops.c: Likewise.
15818         * libio/wgenops.c: Likewise.
15819         * libio/wmemstream.c: Likewise.
15820         * libio/wstrops.c: Likewise.
15821         * libio/__fpurge.c: Likewise.
15822         * libio/__fsetlocking.c: Likewise.
15823         * assert/assert.c: Likewise.
15824         * debug/fgets_chk.c: Likewise.
15825         * debug/fgets_u_chk.c: Likewise.
15826         * debug/fread_chk.c: Likewise.
15827         * debug/fread_u_chk.c: Likewise.
15828         * debug/gets_chk.c: Likewise.
15829         * debug/obprintf_chk.c: Likewise.
15830         * debug/vasprintf_chk.c: Likewise.
15831         * debug/vdprintf_chk.c: Likewise.
15832         * debug/vsnprintf_chk.c: Likewise.
15833         * debug/vsprintf_chk.c: Likewise.
15834         * malloc/mtrace.c: Likewise.
15835         * misc/error.c: Likewise.
15836         * misc/syslog.c: Likewise.
15837         * stdio-common/asprintf.c: Likewise.
15838         * stdio-common/fxprintf.c: Likewise.
15839         * stdio-common/getw.c: Likewise.
15840         * stdio-common/isoc99_fscanf.c: Likewise.
15841         * stdio-common/isoc99_scanf.c: Likewise.
15842         * stdio-common/isoc99_vfscanf.c: Likewise.
15843         * stdio-common/isoc99_vscanf.c: Likewise.
15844         * stdio-common/isoc99_vsscanf.c: Likewise.
15845         * stdio-common/printf-prs.c: Likewise.
15846         * stdio-common/printf_fp.c: Likewise.
15847         * stdio-common/printf_fphex.c: Likewise.
15848         * stdio-common/printf_size.c: Likewise.
15849         * stdio-common/putw.c: Likewise.
15850         * stdio-common/scanf.c: Likewise.
15851         * stdio-common/sprintf.c: Likewise.
15852         * stdio-common/tmpfile.c: Likewise.
15853         * stdio-common/vfprintf.c: Likewise.
15854         * stdio-common/vfscanf.c: Likewise.
15855         * stdlib/strfmon_l.c: Likewise.
15856         * sunrpc/openchild.c: Likewise.
15857         * sunrpc/xdr_stdio.c: Likewise.
15858         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15859         * sysdeps/mach/hurd/tmpfile.c: Likewise.
15861 2012-05-24  Roland McGrath  <roland@hack.frob.com>
15863         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15865         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15866         in the third column, to generate for the shared library an IFUNC
15867         that uses _dl_vdso_vsym.
15868         * Makerules (COMPILE.c, compile-stdin.c): New variables.
15869         * Makeconfig (object-suffixes-noshared): New variable.
15871         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15872         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15873         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15874         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15876         [BZ #14132]
15877         * include/sys/time.h (__gettimeofday): Remove macro.
15878         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15879         * time/gettimeofday.c (__gettimeofday): Remove #undef.
15880         Remove INTDEF.
15881         (__gettimeofday): Add libc_hidden_def.
15882         (gettimeofday): Add libc_hidden_weak.
15883         * sysdeps/mach/gettimeofday.c: Likewise.
15884         * sysdeps/posix/gettimeofday.c: Likewise.
15885         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15886         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15888         (__gettimeofday_internal): Remove strong_alias.
15889         (__gettimeofday): Add libc_hidden_def.
15890         (gettimeofday): Add libc_hidden_weak.
15891         * sysdeps/unix/syscalls.list (gettimeofday):
15892         Remove __gettimeofday_internal alias.
15894 2012-05-24  Daniel Jacobowitz  <drow@false.org>
15895             H.J. Lu  <hongjiu.lu@intel.com>
15897         [BZ #12495]
15898         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15899         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15900         (largebin_index_32_big): New.
15901         (largebin_index): Use it for 16-byte alignment.
15902         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
15903         correction with front_misalign.
15905 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15909         Likewise.
15910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15911         Likewise.
15912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15913         Likewise.
15914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15915         Likewise.
15916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15917         Likewise.
15918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15919         Likewise.
15920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15921         Likewise.
15922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15923         Likewise.
15924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15925         Likewise.
15926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15927         Likewise.
15928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15929         Likewise.
15930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15931         Likewise.
15933         * scripts/data/c++-types-x32-linux-gnu.data: New file.
15934         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15936 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15938         [BZ #10846]
15939         [BZ #14036]
15940         * math/libm-test.inc (exp_test): Add test from bug 14036.
15941         (pow_test): Add test from bug 10846.
15943         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15944         and other flags.
15945         (special_function): Do not include flags in test name.
15946         (parse_args): Likewise.
15947         * sysdeps/i386/fpu/libm-test-ulps: Update.
15948         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15949         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15950         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15953         * math/gen-libm-test.pl (%beautify): Add entries for underflow
15954         exceptions.
15955         * math/libm-test.inc ("Philosophy"): Update comment about
15956         exception testing.
15957         (UNDERFLOW_EXCEPTION): New macro.
15958         (UNDERFLOW_EXCEPTION_OK): Likewise.
15959         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15960         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15961         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15962         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15963         (INVALID_EXCEPTION_OK): Update value.
15964         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15965         (OVERFLOW_EXCEPTION_OK): Likewise.
15966         (IGNORE_ZERO_INF_SIGN): Likewise.
15967         (test_exceptions): Handle underflow exceptions.
15968         (acos_test): Update for underflow exception expectations.
15969         (cexp_test): Likewise.
15970         (clog_test): Likewise.
15971         (clog10_test): Likewise.
15972         (csqrt_test): Likewise.
15973         (ctan_test): Likewise.
15974         (ctanh_test): Likewise.
15975         (exp_test): Likewise.
15976         (exp10_test): Likewise.
15977         (exp2_test): Likewise.
15978         (expm1_test): Likewise.
15979         (fma_test): Likewise.
15980         (j0_test): Likewise.
15981         (jn_test): Likewise.
15982         (nexttoward_test): Likewise.
15983         (pow_test): Likewise.
15984         (scalbn_test): Likewise.
15985         (scalbln_test): Likewise.
15986         (tan_test): Likewise.
15987         (y1_test): Likewise.
15988         * sysdeps/i386/fpu/libm-test-ulps: Update.
15989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15991 2012-05-23  David S. Miller  <davem@davemloft.net>
15993         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15994         (__libc_sigaction): Remove unused local variables.
15996 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
15998         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16000 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16002         mktime: avoid signed integer overflow
16003         * time/mktime.c (__mktime_internal): Do not mishandle the case
16004         where diff == INT_MIN.
16006         mktime: simplify computation of average
16007         * time/mktime.c (ranged_convert): Use new time_t_avg function
16008         instead of rolling our own (probably-slower) code.
16010         mktime: do not assume signed right shift propagates sign bit
16011         * time/mktime.c (isdst_differ): New static function.
16012         (__mktime_internal): No need to normalize tm_isdst now.
16013         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16014         tm_isdst values.
16016         mktime: merge another wrapv change from gnulib
16017         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16018         from some compilers.
16020         mktime: remove incorrect attempt at unusual arithmetics
16021         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16022         The code didn't really work on such machines anyway.
16023         (TYPE_MINIMUM): Assume two's complement.
16024         (twos_complement_arithmetic): Verify that long_int and time_t
16025         are two's complement (or unsigned, in the latter case).
16027         mktime: check signed shifts on long_int and time_t, too
16028         * time/mktime.c (SHR): Check that shifts work as desired
16029         on the types long_int and time_t too, as SHR is used on
16030         such types.
16032         mktime: do not assume 'long' is wide enough
16033         * time/mktime.c (verify): Move decl up.
16034         (long_int): New type.
16035         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16036         to remove assumption in the code that 'long' is wide enough to
16037         store year values.  This assumption is not true on x32 and on
16038         some non-glibc platforms.
16040         mktime: merge wrapv change from gnulib
16041         * time/mktime.c (WRAPV): New macro.
16042         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16043         (guess_time_tm, __mktime_internal): Do not assume that signed
16044         integer overflow wraps around; modern compilers generate code
16045         where this assumption is no longer valid.
16047 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16049         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16050         Replace "jmp L(pseudo_end)" with "ret".
16051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16052         Likewise.
16054 2012-05-23  Andreas Jaeger  <aj@suse.de>
16056         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16057         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16059 2012-05-23  Andreas Jaeger  <aj@suse.de>
16060             Maximilian Attems  <max@stro.at>
16062         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16063         New macros.
16065 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16067         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16068         code so that pseudo_end is just ret and the stack pointer is
16069         correct also for static library in error case.
16071 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
16073         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16074         move to syscalls.list.
16075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16080         * manual/install.texi (Running make install): Do not mention Linux
16081         kernel version for which pt_chown is not needed.
16082         (Linux): Do not mention problems with nscd with 2.0 kernels.
16083         * INSTALL: Regenerated.
16085 2012-05-23  Andreas Jaeger  <aj@suse.de>
16087         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16088         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16089         macro.
16090         * sysdeps/unix/sysv/linux/s390/bits/mman.h
16091         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16092         * sysdeps/unix/sysv/linux/sh/bits/mman.h
16093         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16094         * sysdeps/unix/sysv/linux/i386/bits/mman.h
16095         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16096         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16097         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16098         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16099         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16100         * sysdeps/unix/sysv/linux/bits/in.h
16101         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16103 2012-05-22  Roland McGrath  <roland@hack.frob.com>
16105         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16106         (PREPARE_VERSION): Just use assert instead, it will be elided
16107         under [NDEBUG] anyway.
16109 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16111         * sysdeps/unix/sysv/linux/Makefile: Include
16112         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16113         (sysdep_routines): Remove sysctl.
16114         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16115         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16116         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16117         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16118         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16120 2012-05-22  Andreas Jaeger  <aj@suse.de>
16122         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16123         that pseudo_end is just ret and the stack pointer is correct also
16124         for static library in error case.
16126 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16128         [BZ #14122]
16129         * nss/nsswitch.c (defconfig_entries): New variable.
16130         (__nss_database_lookup): Don't leak defconfig entries.
16131         (nss_parse_service_list): Don't leak on error paths.
16132         (free_database_entries): New function.
16133         (free_defconfig): New function.
16134         (free_mem): Move common code to free_database_entries.
16136 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16138         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16139         Add arch_prctl.
16140         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16142         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16143         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16144         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16145         New macro.
16146         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16147         (INTERNAL_SYSCALL_TYPES): Likewise.
16148         (LOAD_ARGS_TYPES_[1-6]): Likewise.
16149         (LOAD_REGS_TYPES_[1-6]): Likewise.
16150         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16151         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16153 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16155         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16156         copysignl for GLIBC_2_0.
16157         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16158         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16159         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16160         logbl for GLIBC_2_0.
16161         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16162         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16164 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16166         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16167         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16169         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16170         Use "neg %eax".
16172         * time/mktime.c: Update copyright years.
16174 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16176         mktime: merge comment-quoting-style change from gnulib
16177         * time/mktime.c: Quote 'like this' in comments.
16178         The GNU coding standards suggest that we no longer quote `like this',
16179         as "`" and "'" are typically rendered asymmetrically nowadays.
16180         The typical gnulib style is to quote 'like this' when quoting
16181         code, and "like this" when quoting English.
16183         * time/mktime.c (compile-command): Add "-I.".
16185         mktime: merge mktime-internal.h change from gnulib
16186         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16188         mktime: merge time_r change from gnulib
16189         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16191         mktime: merge DEBUG change from gnulib
16192         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16193         case system <time.h> has a #define.
16195         mktime: merge <sys/types.h> change from gnulib
16196         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16197         since <time.t> is now guaranteed to define time_t.
16199         mktime: merge HAVE_CONFIG_H change from gnulib
16200         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16202 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16204         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16205         Use "neg %eax".
16207         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16208         __rlim_t cast.
16209         (struct rusage): Use anonymous union to pad each field to
16210         __syscall_slong_t.
16212 2012-05-21  David S. Miller  <davem@davemloft.net>
16214         * Makefules (o-iterator): Remove .s cases.
16215         (compile-command.s): Delete.
16216         (COMPILE.s): Delete.
16217         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16219 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
16221         * configure.in (libc_cv_predef_stack_protector): Only consider
16222         "foobar" and "__stack_chk_fail" lines in libc_undefs.
16223         * configure: Regenerated.
16225 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16228         New macro.  Use R*LP on int and pointer.
16229         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16230         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16231         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16232         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16234         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16235         [__WORDSIZE_TIME64_COMPAT32] instead of
16236         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16237         (struct utmp): Likewise.
16238         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16239         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16240         Renamed to ...
16241         (__WORDSIZE_TIME64_COMPAT32): This.
16242         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16243         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16244         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16245         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16246         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16247         (__WORDSIZE_TIME64_COMPAT32): New macro.
16249 2012-05-21  Andreas Jaeger  <aj@suse.de>
16251         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16252         only if [SHARED]. Add prototype for __wcschr_ia32.
16254 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16256         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16257         of %rbp unmolested in the jmp_buf while mangling the low bits.
16258         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16259         unmolested high bits of %rbp while demangling the low bits.
16260         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16262 2012-05-21  Andreas Jaeger  <aj@suse.de>
16264         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16265         * sunrpc/svc_simple.c: Use it for registerrpc.
16266         * sunrpc/xcrypt.c: Use it for passwd2des.
16268         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16270 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16272         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16273         Don't define if [__SYSCALL_WORDSIZE != 32].
16274         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16275         New macro.
16277 2012-05-21  Bruno Haible  <bruno@clisp.org>
16278             Andreas Jaeger  <aj@suse.de>
16280         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16281         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16282         inptr and inend for must_buffer_ch.
16283         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16284         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16285         * stdio-common/Makefile (tests): Remove bug15.
16286         (bug15-ENV): Remove macro.
16287         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16288         anymore.
16290 2012-05-19  Andreas Jaeger  <aj@suse.de>
16291             Roland McGrath  <roland@hack.frob.com>
16293         * manual/contrib.texi: Completely rewritten. It contains now an
16294         alphabetical list of contributors and their contributions.
16296 2012-05-21  Richard Henderson  <rth@twiddle.net>
16298         * misc/getauxval.c (__getauxval): Use unsigned long int.
16299         * misc/sys/auxv.h: Include <sys/cdefs.h>.
16300         (getauxval): Use unsigned long int.
16302 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16304         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16306 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16308         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16309         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16310         __alignof__ (long double).
16312 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16316 2012-05-20  Richard Henderson  <rth@twiddle.net>
16318         * misc/getauxval.c: New file.
16319         * misc/sys/auxv.h: New file.
16320         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16321         (routines): Add getauxval.
16322         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16323         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16324         * elf/dl-sysdep.c (_dl_auxv): Remove.
16325         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16326         * elf/dl-support.c (_dl_auxv): New variable.
16327         (_dl_aux_init): Initialize it.
16328         * manual/startup.texi (Auxiliary Vector): New node.
16329         * sysdeps/generic/bits/hwcap.h: New file.
16330         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16331         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
16332         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16333         * sysdeps/sparc/sysdep.h: ... here.  Include it.
16334         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16335         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16337         Update.
16338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16341         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16347 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16351 2012-05-19  David S. Miller  <davem@davemloft.net>
16353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16355 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16357         [BZ #14123]
16358         * math/s_ccosh.c: Include <float.h>
16359         (__ccosh): Avoid internal overflow calculating sinh and cosh
16360         values before multiplying by sin and cos values.
16361         * math/s_ccoshf.c: Likewise.
16362         * math/s_ccoshl.c: Likewise.
16363         * math/s_csin.c: Likewise.
16364         * math/s_csinf.c: Likewise.
16365         * math/s_csinl.c: Likewise.
16366         * math/s_csinh.c: Likewise.
16367         * math/s_csinhf.c: Likewise.
16368         * math/s_csinhl.c: Likewise.
16369         * math/libm-test.inc (ccos_test): Add more tests.
16370         (ccosh_test): Likewise.
16371         (csin_test): Likewise.
16372         (csinh_test): Likewise.
16373         * sysdeps/i386/fpu/libm-test-ulps: Update.
16374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16376 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16378         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16379         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16381         * sysdeps/x86_64/x32/_itoa.h: Add comment.
16383 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16385         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16386         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16387         * sysdeps/powerpc/soft-fp/Versions: Likewise.
16388         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16389         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16390         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16391         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16392         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16393         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16394         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16395         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16396         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16397         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16398         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16399         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16400         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16401         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16402         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16403         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16404         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16405         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16406         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16407         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16408         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16409         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16410         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16411         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16412         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16413         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16414         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16415         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16417 2012-05-18  Andreas Jaeger  <aj@suse.de>
16419         * csu/.gitignore: Delete.
16421 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16423         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16424         (timex): Use __syscall_slong_t.
16426 2012-05-18  Andreas Jaeger  <aj@suse.de>
16427             Carlos O'Donell  <carlos_odonell@mentor.com>
16429         * manual/install.texi (Configuring and compiling): Update
16430         description about files modified in the source directory.
16431         * INSTALL: Regenerated.
16433 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16435         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16436         value.  Use "or" to set return value to -1.
16437         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16438         negate return value.
16440 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16442         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16443         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16444         failure if the compiler has Graphite support disabled.
16445         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16446         Likewise.
16447         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16448         CFLAGS-memmove.c): Likewise.
16449         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16450         Likewise.
16452 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16454         * sysdeps/x86_64/x32/_itoa.h: New file.
16456         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16457         getdents system call only if kernel and user dirents have the
16458         same d_ino and d_off.
16460         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16461         LLONG_MAX != LONG_MAX.
16462         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16463         (_fitoa_word): Likewise.
16465         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16466         years.
16467         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16468         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16469         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16471         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16472         include <bits/wordsize.h>.  Check __x86_64__ instead of
16473         __WORDSIZE.
16474         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16475         if __x86_64__ is defined.  Use anonymous union on fpstate.
16477         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16478         anonymous union.
16480 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
16482         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16483         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16484         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16485         Refer to _rtld_local_ro instead of _rtld_global_ro.
16486         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16487         Likewise.
16488         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16489         Likewise.
16490         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16491         Likewise.
16492         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16493         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16494         of _rtld_global, and rtld_progname instead of _dl_argv[0].
16496         * sysdeps/powerpc/powerpc32/dl-machine.c
16497         (__elf_machine_runtime_setup) [PROF]: Don't reference
16498         _dl_prof_resolve.
16500 2012-05-18  Andreas Jaeger  <aj@suse.de>
16502         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16503         function only available for GCCs before 3.4 since GCC 3.4
16504         introduced a builtin.
16505         (lrint): Likewise.
16506         (llrintf): Likewise.
16507         (llrint): Likewise.
16508         (fmaxf): Likewise.
16509         (fmax): Likewise.
16510         (fminf): Likewise.
16511         (fmin): Likewise.
16512         (rint): Likewise.
16513         (rintf): Likewise.
16514         (nearbyint): Likewise.
16515         (nearbyintf): Likewise.
16516         (ceil): Likewise.
16517         (ceilf): Likewise.
16518         (floor): Likewise.
16519         (floorf): Likewise.
16521 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16523         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16524         on both fields and cast pointer to __syscall_ulong_t.
16526         * bits/types.h (__fsword_t): New type.
16527         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16528         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16529         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16530         (__FSWORD_T_TYPE): Likewise.
16531         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16532         (__FSWORD_T_TYPE): Likewise.
16533         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16534         (__FSWORD_T_TYPE): Likewise.
16535         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16536         (__FSWORD_T_TYPE): Likewise.
16537         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16538         __SWORD_TYPE with __fsword_t.
16539         (statfs64): Likewise.
16541 2012-05-17  David S. Miller  <davem@davemloft.net>
16543         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16545 2012-05-17  Andreas Jaeger  <aj@suse.de>
16547         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16548         warning.
16550 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16552         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16554 2012-05-17  Andreas Jaeger  <aj@suse.de>
16556         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16557         when it is used.
16559 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16561         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16563 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16565         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16566         * sysdeps/x86_64/tst-mallocalign1.c: New file.
16568 2012-05-17  Andreas Jaeger  <aj@suse.de>
16569             Carlos O'Donell  <carlos_odonell@mentor.com>
16571         [BZ #14059]
16572         * sysdeps/x86_64/multiarch/init-arch.h
16573         (bit_YMM_Usable): Rename to...
16574         (bit_AVX_Usable): ... this.
16575         (bit_FMA4_Usable): New macro.
16576         (bit_XMM_state): New macro.
16577         (bit_YMM_state): New macro.
16578         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16579         [__ASSEMBLER__] (index_AVX_Usable): ... this.
16580         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16581         (CPUID_OSXSAVE): New macro.
16582         (CPUID_AVX): New macro.
16583         (CPUID_FMA4): New macro.
16584         (index_YMM_Usable): Rename to...
16585         (index_AVX_Usable): ... this.
16586         (HAS_AVX): Use HAS_ARCH_FEATURE.
16587         (HAS_FMA4): Likewise.
16588         (HAS_YMM_USABLE): Remove.
16589         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16590         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16591         are present.
16592         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16593         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16594         * sysdeps/x86_64/multiarch/Makefile: Likewise.
16595         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16596         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16598 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16600         * math/libm-test.c: Support platforms without multiple rounding modes.
16601         * math/bug-nextafter.c: Support platforms without FP exceptions.
16602         * math/bug-nexttoward.c: Likewise.
16603         * math/test-fenv.c: Likewise.
16604         * math/test-misc.c: Likewise.
16605         * stdlib/bug-getcontext.c: Likewise.
16607 2012-05-17  Andreas Jaeger  <aj@suse.de>
16609         * manual/examples/search.c (critter_cmp): Change signature to
16610         avoid warnings.
16611         * manual/string.texi (Collation Functions): Likewise.
16613 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16615         * bits/types.h: Fold copyright years.
16616         * bits/typesizes.h: Likewise.
16617         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16618         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16619         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16620         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16621         * time/time.h: Likewise.
16623 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
16625         [BZ #208]
16626         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16627         in instead of returning them.  Return void.
16628         (__libc_mallinfo): Accumulate over all arenas.
16629         (__malloc_stats): Adjust for change in int_mallinfo interface.
16631 2012-05-16  Roland McGrath  <roland@hack.frob.com>
16633         [BZ #10375]
16634         * configure.in (NM): Add AC_CHECK_TOOL for it.
16635         (libc_extra_cflags): New substituted variable.
16636         Check for -fstack-protector being used implicitly.
16637         * configure: Regenerated.
16638         * config.make.in (config-extra-cflags): New variable,
16639         gets @libc_extra_cflags@.
16640         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16642         [BZ #10375]
16643         * configure.in: Check for _FORTIFY_SOURCE being predefined.
16644         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16645         * configure: Regenerated.
16646         * config.make.in (CPPUNDEFS): New substituted variable.
16647         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16648         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16649         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16651 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16653         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16654         (mq_attr): Use __syscall_slong_t.
16656 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16658         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16659         Check __x86_64__ instead of __WORDSIZE.
16660         (_STAT_VER_LINUX): Likewise.
16661         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
16662         __syscall_ulong_t and __syscall_slong_t.
16663         (stat64): Likewise.
16665 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16667         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16669 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16671         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16673 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16675         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16676         __syscall_ulong_t.
16678         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16679         include <bits/wordsize.h>.  Check __x86_64__ instead of
16680         __WORDSIZE.
16681         (greg_t): Use "__extension__ long long int" if __x86_64__ is
16682         defined.
16683         (mcontext_t): Replace "unsigned long" with "unsigned long long".
16685         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16686         include <bits/wordsize.h>.  Check __x86_64__ instead of
16687         __WORDSIZE.
16688         (user_regs_struct): Use "__extension__ unsigned long long"
16689         instead of "unsigned long" if __x86_64__ is defined.
16690         (user): Likewise.  Pad after pointer field if __ILP32__ is
16691         defined.
16693 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
16695         * configure.in (makeinfo): Require version 4.5 or later.  Allow
16696         versions 5 to 9.
16697         * configure: Regenerated.
16698         * manual/install.texi (texinfo): Increase version requirement to
16699         4.5 or later.
16700         * INSTALL: Regenerated.
16702         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16704 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16706         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16708         * sysdeps/x86_64/x32/ffs.c: New file.
16710         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16711         __syscall_ulong_t.
16712         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16713         defined.  Use __syscall_ulong_t.
16714         (shminfo): Use __syscall_ulong_t.
16715         (shm_info): Likewise.
16717         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16718         __syscall_ulong_t.
16720         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16721         <bits/wordsize.h>.
16722         (msgqnum_t): Use __syscall_ulong_t.
16723         (msglen_t): Likewise.
16724         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
16725         __syscall_ulong_t.
16727         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16728         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16730         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16732         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16733         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16735         * sysvipc/sys/msg.h (msgbuf): Replace long int with
16736         __syscall_slong_t.
16738         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16739         include <bits/wordsize.h>.  Check __x86_64__ instead of
16740         __WORDSIZE.
16742         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16743         "unsigned long long int" if __x86_64__ is defined.
16744         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16746         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16747         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16748         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16750         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16751         <stdint.h>.
16752         (GET_PC): Cast to uintptr_t first.
16753         (GET_FRAME): Likewise.
16754         (GET_STACK): Likewise.
16756         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16757         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16758         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16759         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16760         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16761         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16762         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16763         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16764         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16765         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16766         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16767         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16768         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16769         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16770         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16771         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16772         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16773         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16774         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16775         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16776         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16777         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16778         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16779         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16780         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16781         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16782         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16783         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16784         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16786 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
16788         * Makerules (+depfiles): Also collect depfiles from .oS in
16789         $(extra-objs).
16790         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16791         .oS, $(libnldbl-routines)).
16793         * Makerules (native-compile-mkdep-flags): Define.
16794         * sunrpc/Makefile (extra-objs): Add $(addprefix
16795         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16796         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16797         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
16798         calling $(make-target-directory).
16800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16802         * bits/types.h (__snseconds_t): Removed.
16803         * time/time.h (struct timespec): Replace __snseconds_t with
16804         __syscall_slong_t.
16805         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16806         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16807         Likewise.
16808         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16809         (__SNSECONDS_T_TYPE): Likewise.
16810         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16811         (__SNSECONDS_T_TYPE): Likewise.
16812         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16813         (__SNSECONDS_T_TYPE): Likewise.
16815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16817         * sysdeps/mach/hurd/bits/typesizes.h
16818         (__SYSCALL_SLONG_TYPE): New macro.
16819         (__SYSCALL_ULONG_TYPE): Likewise.
16821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16823         * bits/types.h (__syscall_slong_t): New type.
16824         (__syscall_ulong_t): Likewise.
16826         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16827         (__SYSCALL_ULONG_TYPE): Likewise.
16828         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16829         (__SYSCALL_SLONG_TYPE): Likewise.
16830         (__SYSCALL_ULONG_TYPE): Likewise.
16831         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16832         (__SYSCALL_SLONG_TYPE): Likewise.
16833         (__SYSCALL_ULONG_TYPE): Likewise.
16834         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16835         (__SYSCALL_SLONG_TYPE): Likewise.
16836         (__SYSCALL_ULONG_TYPE): Likewise.
16838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16840         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16841         Add sigaltstack-offsets.sym.
16842         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16843         <sigaltstack-offsets.h>.
16844         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
16845         longjmp_msg pointer.
16846         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
16847         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16848         signal stack.
16849         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16851 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
16853         * elf/stackguard-macros.h: Remove file.
16854         * sysdeps/generic/stackguard-macros.h: New file.
16855         * sysdeps/i386/stackguard-macros.h: Likewise.
16856         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16857         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16858         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16859         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16860         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16861         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16862         * sysdeps/x86_64/stackguard-macros.h: Likewise.
16863         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16864         <elf/stackguard-macros.h>.
16866         [BZ #14109]
16867         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16868         __aligned__ in attribute.
16869         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16870         (gregset_t): Likewise.
16872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16874         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16875         * sysdeps/x86_64/64/Implies-after: Here.  New file.
16876         * sysdeps/x86_64/x32/Implies-after: New file.
16878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16880         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16881         and access return value for _dl_profile_fixup.  Use R10_LP to
16882         load frame size.
16884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16886         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16890         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16891         * sysdeps/x86_64/x32/sysdep.h: New file.
16893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16895         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16896         * sysdeps/x86_64/setjmp.S: Likewise.
16898 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16900         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16901         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16902         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16903         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16904         remove unused global constant.
16906 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
16908         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16909         include of <not-cancel.h>.
16911 2012-05-15  Roland McGrath  <roland@hack.frob.com>
16913         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16915 2012-05-15  Jeff Law  <law@redhat.com>
16916             Andreas Jaeger  <aj@suse.de>
16918         [BZ #13594]
16919         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16920         out from...
16921         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16922         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16923         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16924         code changing __hst_map_handle.map.
16926 2012-05-15  Roland McGrath  <roland@hack.frob.com>
16928         * configure.in (sysnames): Look for Implies-before and Implies-after
16929         files.
16930         * configure: Regenerated.
16932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16934         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16935         8-byte data alignment with LP_SIZE alignment.
16937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16939         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16940         into R10_LP.
16942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16944         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16948         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16949         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16950         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16951         Likewise.
16952         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16956         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16957         (stackinfo_sub_sp): Likewise.
16959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16961         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16962         RAX_LP.
16964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16966         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16967         into R*_LP.
16969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16971         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16972         sizes into R*_LP.
16974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16976         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16980         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16981         into R11_LP and load __x86_64_shared_cache_size_half into
16982         R8_LP.
16984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16986         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16987         R8_LP.
16989 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16991         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16992         logb for POWER7.
16993         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16994         logbf for POWER7.
16995         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16996         logbl for POWER7.
16997         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16998         powerpc32/power7/fpu/s_logb.c via #include.
16999         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17000         powerpc32/power7/fpu/s_logbf.c via #include.
17001         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17002         powerpc32/power7/fpu/s_logbl.c via #include.
17004 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17006         * README.libm: Remove file.
17008 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17010         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17011         count for x32.  Use R*_LP and omit operand-size suffix.
17013 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17015         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17016         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17017         * sysdeps/x86_64/x32/shlib-versions: New file.
17019 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17021         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17022         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17023         Use _dl_fatal_printf instead.
17025 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17027         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17028         set if not set by the user.  Do not allow for being unset.
17029         * sysdeps/unix/sysv/linux/configure: Regenerated.
17031 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17033         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17034         the `q' suffix from lea and replace .quad with ASM_ADDR.
17036 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17038         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17039         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17040         instead of $17.
17041         (PTR_DEMANGLE): Likewise.
17043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17045         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17046         (LP_OP): Likewise.
17047         (ASM_ADDR): Likewise.
17048         (RAX_LP): Likewise.
17049         (RBP_LP): Likewise.
17050         (RBX_LP): Likewise.
17051         (RCX_LP): Likewise.
17052         (RDI_LP): Likewise.
17053         (RSI_LP): Likewise.
17054         (RSP_LP): Likewise.
17055         (R8_LP): Likewise.
17056         (R9_LP): Likewise.
17057         (R10_LP): Likewise.
17058         (R10_LP): Likewise.
17059         (R11_LP): Likewise.
17060         (R12_LP): Likewise.
17061         (R13_LP): Likewise.
17062         (R14_LP): Likewise.
17063         (R15_LP): Likewise.
17065 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17067         * sysdeps/x86_64/x32/dl-machine.h: New file.
17069 2012-05-14  Andreas Jaeger  <aj@suse.de>
17071         * manual/Makefile (subdir): Remove export of subdir.
17072         (all): Remove target.
17073         (.PHONY): Remove all from list.
17074         (mkinstalldirs): Remove.
17075         (.PHONY): Remove installdirs from list.
17076         ($(inst_infodir)/libc.info): Use make-target-directory.
17077         (installdirs): Remove.
17078         (subdir_%): Remove.
17079         (glibc-targets): Remove.
17080         (lib): Remove.
17081         (stubs): Remove.
17082         ($(objpfx)stubs ../po/manual.pot): Remove.
17083         ($(objpfx)stamp%): Remove.
17084         (make-target-directory): Remove.
17085         (subdir_install): Remove.
17086         (routines): Remove.
17087         (aux): Remove.
17088         (sources): Remove.
17089         (objects): Remove.
17090         (headers): Remove.
17092         [BZ #13750]
17093         * manual/.gitignore: Remove, it's not needed anymore.
17094         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17095         all files in it.
17096         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17097         directory.
17098         (texis): Renamed to $(objpfx)texis.
17099         (texis-path): New, contains path to generated files.
17100         (chapters.%): Use texis-path for complete path, add extra argument
17101         libc-texinfo.sh.
17102         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17103         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17104         (summary,texi, stamp-summary): Use complete path of
17105         files. Generate files in build dir.
17106         (dir-add.texi): Build in build dir.
17107         (libm-err.texi,stamp-libm-err): Likewise.
17108         (version.texi, stamp-version): Likewise.
17109         (.%c.texi): Likewise.
17110         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17111         (mostlyclean): Remove target.
17112         (realclean): Remove target.
17113         (generated): Add new variable with contents from mostlyclean and
17114         realclean, remove entries duplicated in common-mostlyclean, add
17115         stamp-libm-err and stamp-version.
17116         (generated-dirs): Add libc directory.
17117         ($(inst_infodir)/libc.info): Install files from build dir.
17119         * manual/install.texi (Configuring and compiling): Adjust since
17120         the info files are not part of the tar ball anymore.
17122 2012-05-14  Andreas Jaeger  <aj@suse.de>
17124         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17125         variable.
17127 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17129         [BZ #13717]
17130         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17131         to 2.2.0 where earlier.
17132         * sysdeps/unix/sysv/linux/configure: Regenerated.
17133         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17134         Remove conditional code.
17135         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17136         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17137         Remove conditional code.
17138         [!__NR_lchown]: Likewise.
17139         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17140         [__NR_lchown]: Likewise.
17141         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17142         comment referencing __ASSUME_LCHOWN_SYSCALL.
17143         * sysdeps/unix/sysv/linux/i386/sigaction.c
17144         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17145         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17146         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17147         Remove conditional code.
17148         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17149         (__protocol_available): Remove #if 0 code.
17150         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17151         conditional code.
17152         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17153         * sysdeps/unix/sysv/linux/kernel-features.h
17154         (__ASSUME_GETCWD_SYSCALL): Don't define.
17155         (__ASSUME_REALTIME_SIGNALS): Likewise.
17156         (__ASSUME_PREAD_SYSCALL): Likewise.
17157         (__ASSUME_PWRITE_SYSCALL): Likewise.
17158         (__ASSUME_POLL_SYSCALL): Likewise.
17159         (__ASSUME_LCHOWN_SYSCALL): Likewise.
17160         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17161         non-SPARC.
17162         (__ASSUME_SIOCGIFNAME): Don't define.
17163         (__ASSUME_MSG_NOSIGNAL): Likewise.
17164         (__ASSUME_SENDFILE): Define unconditionally.
17165         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17166         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17167         conditional code.
17168         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17169         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17170         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17171         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17172         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17173         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17174         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17176         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17177         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17179         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17180         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17182         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17183         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17185         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17186         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17188         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17189         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17191         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17192         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17194         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17195         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17197         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17198         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17199         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17200         Remove conditional code.
17201         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17202         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17203         Remove conditional code.
17204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17205         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17206         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17207         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17208         Remove conditional code.
17209         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17210         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17211         Remove conditional code.
17212         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17213         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17214         Remove conditional code.
17215         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17216         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17217         Remove conditional code.
17218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17219         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17220         Remove conditional code.
17221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17222         * sysdeps/unix/sysv/linux/sh/pwrite64.c
17223         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17225         * sysdeps/unix/sysv/linux/sigaction.c
17226         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17227         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17228         * sysdeps/unix/sysv/linux/sigpending.c
17229         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17230         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17231         * sysdeps/unix/sysv/linux/sigprocmask.c
17232         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17233         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17234         * sysdeps/unix/sysv/linux/sigsuspend.c
17235         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17236         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17237         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17238         (__libc_missing_rt_sigs): Remove.
17239         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17240         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17241         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17242         Remove conditional code.
17243         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17244         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17245         return 1.
17246         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17247         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17248         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17249         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17251 2012-05-14  Andreas Jaeger  <aj@suse.de>
17253         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17254         it's not used in glibc.
17255         (__coshm1): Likewise.
17256         (__acosh1p): Likewise.
17257         (__sgn): Likewise.
17259         * manual/string.texi (Copying and Concatenation): Add missing
17260         variable in concat example.
17261         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17263 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17265         [BZ #14103]
17266         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17267         __builtin_clzl with __builtin_clzll.
17269 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17271         [BZ #14104]
17272         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17273         libc_freeres_ptr.
17275 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17277         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17278         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17279         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17280         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17282 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
17284         * NEWS: Update ia64 info.
17286 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
17288         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17289         used as bcopy.
17291 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
17293         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17294         * sysdeps/unix/syscalls.list (dup3): Likewise.
17295         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17296         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17298 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17300         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17301         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17303 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17305         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17306         thread pointer.
17307         (TLS_IE): Use mov/add instead of movq/addq to load thread
17308         pointer.
17309         (TLS_GD_PREFIX): New.
17310         (TLS_GD): Use it.
17312 2012-05-11  David S. Miller  <davem@davemloft.net>
17314         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17315         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17316         (_FPU_SETCW): Likewise.
17318 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17320         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17321         is 32-byte aligned.
17323 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
17325         [BZ #11837]
17326         * iconvdata/gb18030.c: Update tables.
17327         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
17328         characters specially.
17329         (BODY for TO_LOOP): Add encoding of missing ranges.
17331 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
17333         [BZ #13673]
17334         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17335         * sysdeps/mach/hurd/dup3.c: Likewise.
17336         * sysdeps/mach/hurd/readlinkat.c: Likewise.
17337         * sysdeps/powerpc/memmove.c:: Likewise.
17339 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17341         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17342         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17344 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17346         * elf/elf.h (R_X86_64_RELATIVE64): New.
17347         (R_X86_64_NUM): Updated.
17348         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17349         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
17350         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17351         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17352         tst-quad1pie tst-quad2pie
17353         (modules-names): Add tst-quadmod1 tst-quadmod2.
17354         ($(objpfx)tst-quad1): New dependency.
17355         ($(objpfx)tst-quad2): Likewise.
17356         ($(objpfx)tst-quad1pie): Likewise.
17357         ($(objpfx)tst-quad2pie): Likewise.
17358         * sysdeps/x86_64/tst-quad1.c: New file.
17359         * sysdeps/x86_64/tst-quad1pie.c: New file.
17360         * sysdeps/x86_64/tst-quad2.c: Likewise.
17361         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17362         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17363         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17364         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17365         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17367 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17369         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17370         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17371         * streams/stropts.h (t_scalar_t): Define type.
17373         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17374         (_PATH_PRESERVE): Set to "/var/lib".
17375         (_PATH_RWHODIR): Set to "/var/spool/rwho".
17377         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17378         instead of int.
17380         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17381         if __dir_mkfile succeeded.
17383         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17384         checking for _hurd_dtablesize.  Unlock it right after having
17385         finished _hurd_dtable allocation.
17387 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17389         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17390         * sysdeps/mach/hurd/configure: Regenerated.
17391         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17392         special-casing to...
17393         * sysdeps/gnu/configure.in: ... this new file.
17394         * sysdeps/unix/sysv/linux/configure: Regenerated.
17395         * sysdeps/gnu/configure: New generated file.
17397         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17398         for Linux: use nsec instead of usec, as well as:
17399         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17400         members of type struct timespec.
17401         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17402         New macros.
17403         (struct stat64): Likewise.
17404         (_STATBUF_ST_NSEC): New macro.
17405         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17407         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17408         __strtoul_internal rather than strtoul.
17410 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17412         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17413         and reject them.
17415 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17417         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17418         which preserves existing values.
17419         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17421 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17423         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17424         TIMEOUT values.  Return EINVAL for NFDS values either negative or
17425         greater than FD_SETSIZE.
17427 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17429         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17430         allocated, call __vm_protect to finish enabling the existing space, and
17431         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17432         allocate the remainder.
17434 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17436         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17437         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
17439 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17441         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17442         sysdeps/mach/hurd/readlink.c.
17444         * posix/tst-sysconf.c (posix_options): Only use
17445         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17446         _POSIX_SYNCHRONIZED_IO when they are defined
17447         * sysdeps/mach/hurd/bits/posix_opt.h:
17448         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17449         (_XOPEN_REALTIME): Undefine macro.
17450         (_XOPEN_REALTIME_THREADS): Undefine macro.
17451         (_XOPEN_SHM): Undefine macro.
17452         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17453         macro to -1.
17454         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17455         macro to -1.
17456         (_POSIX_ASYNC_IO): Undefine macro.
17457         (_POSIX_PRIORITIZED_IO): Undefine macro.
17458         (_POSIX_SPIN_LOCKS): Define macro to -1.
17460         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17461         SA_NODEFER, SA_RESETHAND.
17462         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17463         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17464         F_DUPFD_CLOEXEC.
17466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17468         * elf/Makefile (pldd-modules): Define unconditionally.
17470 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17472         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17474 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17476         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17477         Return ENOENT when name is empty.
17478         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17480 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17482         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17484         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17486 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17488         Fix mlock in all cases except non-readable pages.
17489         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17490         instead of VM_PROT_ALL as parameter to __vm_wire function.
17492         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17493         (__mkdir): When path is `/', just fail with EEXIST.
17494         * sysdeps/mach/hurd/mkdirat.c: Likewise.
17496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17498         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17499         <sys/uio.h> (for writev).
17500         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17501         and <sys/param.h> (for MIN).
17503 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17505         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17506         REQUESTED_TIME.  Properly set the remaining time and return EINTR
17507         if interrupted.
17509 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17511         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17512         Depend on against $(link-rpcuserlibs).
17514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17516         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17517         (__libc_stack_end): Do not use attribute_relro.
17518         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17519         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17520         to libthread-provided value.
17521         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17522         attribute_relro.
17524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17526         [BZ #3748]
17527         * bits/libc-lock.h (__libc_once_get): New macro.
17528         * sysdeps/mach/bits/libc-lock.h: Likewise.
17529         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17530         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17531         instead of using implementation details.
17533         * libio/fileops.c: Unconditionally include <kernel-features.h>.
17534         * libio/freopen.c: Likewise.
17535         * libio/freopen64.c: Likewise.
17536         * misc/syslog.c: Likewise.
17537         * nscd/connections.c: Likewise.
17538         * nscd/netgroupcache.c: Likewise.
17539         * sysdeps/posix/getcwd.c: Likewise.
17541 2012-05-10  Roland McGrath  <roland@hack.frob.com>
17543         * math/w_ilogbf.c: Add #include <limits.h>.
17545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17547         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17548         path instead of returning without unlocking.
17550         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17551         immediate-write ioctls.
17552         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17554 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17556         * sysdeps/mach/hurd/i386/init-first.c (init): Use
17557         __builtin_frame_address instead of making assumptions about the
17558         location of the return address relative to DATA.  Force early load of
17559         the return address.
17560         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17561         __builtin_frame_address.
17563         dup3 for GNU Hurd.
17564         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17565         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
17566         implement dup3 and do some further code clean-ups.
17567         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17568         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17570 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17572         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17574         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17575         HURD_CRITICAL_END around holding _hurd_dtable_lock.
17576         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17577         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17578         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17579         d->port.lock.
17581         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17582         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
17583         when handler == SIG_ERR, not when handler != SIG_ERR.
17585 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17587         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17588         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17589         definitions.
17591         accept4 for GNU Hurd.
17592         * include/sys/socket.h (__libc_accept4): New prototype.
17593         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
17594         to implement __libc_accept4.
17595         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17596         __libc_accept4.
17597         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17599         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17600         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17601         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17602         signal-defines.sym.
17604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17606         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17608 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17610         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17611         assertion on O_CLOEXEC flag.
17612         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17613         * hurd/intern-fd.c: Likewise.
17614         * hurd/port2fd.c: Likewise.
17616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17618         [BZ #3906]
17619         * bits/in.h (IPV6_PKTINFO): Define new macro.
17620         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17622 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17624         [BZ #13954]
17625         [BZ #13955]
17626         [BZ #13956]
17627         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17628         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17629         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17630         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17631         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17632         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17633         * math/libm-test.inc (logb_test) : Additional logb tests.
17635 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
17636             Andreas Jaeger  <aj@suse.de>
17638         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17639         * configure: Regenerated.
17640         * config.h.in (LINK_OBSOLETE_RPC): New macro.
17641         * config.make.in (link-obsolete-rpc): New substituted variable.
17642         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17643         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17644         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17645         (shared-only-routines): Don't set it under [link-obsolete-rpc],
17646         so that libc.a contains the symbols.
17647         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17648         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17649         * sunrpc/auth_none.c: Likewise.
17650         * sunrpc/auth_unix.c: Likewise.
17651         * sunrpc/authdes_prot.c: Likewise.
17652         * sunrpc/authuxprot.c: Likewise.
17653         * sunrpc/clnt_gen.c: Likewise.
17654         * sunrpc/clnt_perr.c: Likewise.
17655         * sunrpc/clnt_raw.c: Likewise.
17656         * sunrpc/clnt_simp.c: Likewise.
17657         * sunrpc/clnt_tcp.c: Likewise.
17658         * sunrpc/clnt_udp.c: Likewise.
17659         * sunrpc/clnt_unix.c: Likewise.
17660         * sunrpc/des_crypt.c: Likewise.
17661         * sunrpc/des_soft.c: Likewise.
17662         * sunrpc/get_myaddr.c: Likewise.
17663         * sunrpc/key_call.c: Likewise.
17664         * sunrpc/key_prot.c: Likewise.
17665         * sunrpc/netname.c: Likewise.
17666         * sunrpc/pm_getmaps.c: Likewise.
17667         * sunrpc/pm_getport.c: Likewise.
17668         * sunrpc/pmap_clnt.c: Likewise.
17669         * sunrpc/pmap_prot.c: Likewise.
17670         * sunrpc/pmap_prot2.c: Likewise.
17671         * sunrpc/pmap_rmt.c: Likewise.
17672         * sunrpc/publickey.c: Likewise.
17673         * sunrpc/rpc_cmsg.c: Likewise.
17674         * sunrpc/rpc_common.c: Likewise.
17675         * sunrpc/rpc_dtable.c: Likewise.
17676         * sunrpc/rpc_prot.c: Likewise.
17677         * sunrpc/rpc_thread.c: Likewise.
17678         * sunrpc/rtime.c: Likewise.
17679         * sunrpc/svc.c: Likewise.
17680         * sunrpc/svc_auth.c: Likewise.
17681         * sunrpc/svc_raw.c: Likewise.
17682         * sunrpc/svc_run.c: Likewise.
17683         * sunrpc/svc_tcp.c: Likewise.
17684         * sunrpc/svc_udp.c: Likewise.
17685         * sunrpc/svc_unix.c: Likewise.
17686         * sunrpc/svcauth_des.c: Likewise.
17687         * sunrpc/xcrypt.c: Likewise.
17688         * sunrpc/xdr.c: Likewise.
17689         * sunrpc/xdr_array.c: Likewise.
17690         * sunrpc/xdr_float.c: Likewise.
17691         * sunrpc/xdr_intXX_t.c: Likewise.
17692         * sunrpc/xdr_mem.c: Likewise.
17693         * sunrpc/xdr_rec.c: Likewise.
17694         * sunrpc/xdr_ref.c: Likewise.
17695         * sunrpc/xdr_sizeof.c: Likewise.
17696         * sunrpc/xdr_stdio.c: Likewise.
17698 2012-05-10  Roland McGrath  <roland@hack.frob.com>
17700         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17701         change.  Update copyright years.
17703 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
17705         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17707 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
17708             Joseph Myers  <joseph@codesourcery.com>
17709             Paul Pluzhnikov  <ppluzhnikov@google.com>
17711         [BZ #14012]
17712         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17713         requiring rpcgen.
17714         [cross-compiling] (extra-libs): Likewise.
17715         [cross-compiling] (extra-libs-others): Likewise.
17716         [cross-compiling] (librpcsvc-routines): Likewise.
17717         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17718         [cross-compiling] (omit-deps): Likewise.
17719         (sunrpc-CPPFLAGS): New variable.
17720         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17721         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17722         (cross-rpcgen-objs): New variable.
17723         (extra-objs): Append $(cross-rpcgen-objs).
17724         ($(cross-rpcgen-objs)): New rule.
17725         ($(objpfx)cross-rpcgen): Likewise.
17726         (rpcgen-cmd): Define to use $(built-program-file).  Expand
17727         comment.
17728         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17729         ($(objpfx)x%.stmp): Likewise.
17730         * sunrpc/proto.h [IS_IN_build] (_): Define.
17731         [IS_IN_build] (_libc_intl_domainname): Likewise.
17733 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17735         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17736         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17737         and R_X86_64_TPOFF64.
17739 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
17741         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17742         sysdeps/unix/sysv/syscalls.list.
17743         (stime): Likewise.
17744         (utime): Likewise.
17745         * sysdeps/unix/sysv/syscalls.list: Remove file.
17747 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
17749         [BZ #3440]
17750         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17751         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17752         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17753         (__LC_IDENTIFICATION): Make these macros useful in #if
17754         expressions, as required by C99.
17756 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
17758         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17759         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
17760         after this.
17762 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
17764         * stdlib/longlong.h: Updated from GCC.
17766 2012-05-09  Andreas Jaeger  <aj@suse.de>
17768         * nscd/nscd.c (run_modes): Make named enum, reorder so that
17769         default is first entry.
17770         (run_mode): Set type.
17771         (main): Remove informal message about syslog.
17772         (options): Fix typo.
17774         [BZ #14053]
17775         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17776         to asm.
17777         (lrint): Likewise.
17778         (llrintf): Likewise.
17779         (llrint): Likewise.
17780         (rint): Likewise.
17781         (rintf): Likewise.
17782         (nearbyint): Likewise.
17783         (nearbyintf): Likewise.
17785 2012-05-09  Andreas Jaeger  <aj@suse.de>
17786             Pedro Alves  <palves@redhat.com>
17788         * nscd/nscd.c (run_mode): Use enum.
17789         (main): Cleanup coding style issue.
17791 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
17792             Andreas Jaeger  <aj@suse.de>
17794         * nscd/nscd.c (go_background): Replaced with...
17795         (run_mode): ... this.
17796         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17797         (options): Add -F --foreground.
17798         (main): Implement it.
17799         (parse_opt): Parse it.
17801 2012-05-09  Andreas Jaeger  <aj@suse.de>
17803         [BZ #14083]
17804         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17805         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17806         -Wconversion warning.
17807         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17808         Likewise.
17810 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
17812         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
17813         == 0.
17814         (LC_ALL): Use macro-int-constant.
17815         (LC_COLLATE): Likewise.
17816         (LC_CTYPE): Likewise.
17817         (LC_MESSAGES): Likewise.
17818         (LC_MONETARY): Likewise.
17819         (LC_NUMERIC): Likewise.
17820         (LC_TIME): Likewise.
17821         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17822         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17823         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17824         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17825         Specify type.
17826         [C99-based standards] (float_t): Expect type.
17827         [C99-based standards] (double_t): Expect type.
17828         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
17829         type.
17830         [C99-based standards] (HUGE_VALL): Likewise.
17831         [C99-based standards] (INFINITY): Likewise.
17832         [C99-based standards] (NAN): Likewise.
17833         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17834         [C99-based standards] (FP_NAN): Likewise.
17835         [C99-based standards] (FP_NORMAL): Likewise.
17836         [C99-based standards] (FP_SUBNORMAL): Likewise.
17837         [C99-based standards] (FP_ZERO): Likewise.
17838         [C99-based standards] (FP_FAST_FMA): Use
17839         optional-macro-int-constant.  Specify type.  Require == 1.
17840         [C99-based standards] (FP_FAST_FMAF): Likewise.
17841         [C99-based standards] (FP_FAST_FMAL): Likewise.
17842         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17843         [C99-based standards] (FP_ILOGBNAN): Likewise.
17844         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17845         Specify type.
17846         [C99-based standards] (MATH_ERREXCEPT): Likewise.
17847         [C99-based standards] (math_errhandling): Specify type.
17848         [ISO99 || ISO11] (signgam): Do not allow.
17849         [non-C99-based standards] (copysignf): Do not allow.
17850         [non-C99-based standards] (exp2f): Likewise.
17851         [non-C99-based standards] (log2f): Likewise.
17852         [non-C99-based standards] (modff): Allow.
17853         [non-C99-based standards] (erff): Do not allow.
17854         [non-C99-based standards] (erfcf): Likewise.
17855         [non-C99-based standards] (gammaf): Likewise.
17856         [non-C99-based standards] (hypotf): Likewise.
17857         [non-C99-based standards] (j0f): Likewise.
17858         [non-C99-based standards] (j1f): Likewise.
17859         [non-C99-based standards] (jnf): Likewise.
17860         [non-C99-based standards] (lgammaf): Likewise.
17861         [non-C99-based standards] (tgammaf): Likewise.
17862         [non-C99-based standards] (y0f): Likewise.
17863         [non-C99-based standards] (y1f): Likewise.
17864         [non-C99-based standards] (ynf): Likewise.
17865         [non-C99-based standards] (isnanf): Likewise.
17866         [non-C99-based standards] (acoshf): Likewise.
17867         [non-C99-based standards] (asinhf): Likewise.
17868         [non-C99-based standards] (atanhf): Likewise.
17869         [non-C99-based standards] (cbrtf): Likewise.
17870         [non-C99-based standards] (expm1f): Likewise.
17871         [non-C99-based standards] (ilogbf): Likewise.
17872         [non-C99-based standards] (log1pf): Likewise.
17873         [non-C99-based standards] (logbf): Likewise.
17874         [non-C99-based standards] (nextafterf): Likewise.
17875         [non-C99-based standards] (remainderf): Likewise.
17876         [non-C99-based standards] (rintf): Likewise.
17877         [non-C99-based standards] (scalbf): Likewise.
17878         [non-C99-based standards] (copysignl): Likewise.
17879         [non-C99-based standards] (exp2l): Likewise.
17880         [non-C99-based standards] (log2l): Likewise.
17881         [non-C99-based standards] (modfl): Allow.
17882         [non-C99-based standards] (erfl): Do not allow.
17883         [non-C99-based standards] (erfcl): Likewise.
17884         [non-C99-based standards] (gammal): Likewise.
17885         [non-C99-based standards] (hypotl): Likewise.
17886         [non-C99-based standards] (j0l): Likewise.
17887         [non-C99-based standards] (j1l): Likewise.
17888         [non-C99-based standards] (jnl): Likewise.
17889         [non-C99-based standards] (lgammal): Likewise.
17890         [non-C99-based standards] (tgammal): Likewise.
17891         [non-C99-based standards] (y0l): Likewise.
17892         [non-C99-based standards] (y1l): Likewise.
17893         [non-C99-based standards] (ynl): Likewise.
17894         [non-C99-based standards] (isnanl): Likewise.
17895         [non-C99-based standards] (acoshl): Likewise.
17896         [non-C99-based standards] (asinhl): Likewise.
17897         [non-C99-based standards] (atanhl): Likewise.
17898         [non-C99-based standards] (cbrtl): Likewise.
17899         [non-C99-based standards] (expm1l): Likewise.
17900         [non-C99-based standards] (ilogbl): Likewise.
17901         [non-C99-based standards] (log1pl): Likewise.
17902         [non-C99-based standards] (logbl): Likewise.
17903         [non-C99-based standards] (nextafterl): Likewise.
17904         [non-C99-based standards] (remainderl): Likewise.
17905         [non-C99-based standards] (rintl): Likewise.
17906         [non-C99-based standards] (scalbl): Likewise.
17907         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17908         [non-C99-based standards] (FP_*): Do not allow.
17909         [C99-based standards] (FP_*): Change to
17910         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17911         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17912         allow.
17913         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17914         (SIG_ERR): Likewise.
17915         [X/Open-based standards] (SIG_HOLD): Likewise.
17916         (SIG_IGN): Likewise.
17917         (SIGABRT): Use macro-int-constant.  Specify type.  Require
17918         positive value.
17919         (SIGFPE): Likewise.
17920         (SIGILL): Likewise.
17921         (SIGINT): Likewise.
17922         (SIGSEGV): Likewise.
17923         (SIGTER): Likewise.
17924         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17925         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17926         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17927         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17928         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17929         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17930         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17931         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17932         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17933         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17934         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17935         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17936         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17937         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17938         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17939         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17940         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17941         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17942         [X/Open-based standards] (SIGTRAP): Likewise.
17943         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17944         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17945         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17946         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17947         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17948         allow.
17950 2012-05-08  Ian Wienand  <ianw@vmware.com>
17952         [BZ #14080]
17953         * time/tzset.c (__tzset_parse_tz): Update default rules for
17954         daylight time changes in the Energy Policy Act of 2005.
17956 2012-05-09  Andreas Jaeger  <aj@suse.de>
17958         [BZ #13983]
17959         * elf/ldconfig.c (parse_conf): Change string to make clear that
17960         ldconfig only issued a warning if ld.so.conf does not exist.
17962 2012-05-08  David S. Miller  <davem@davemloft.net>
17964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17965         movxtod instead of popping the value on the stack.
17967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17969 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
17971         * config.h.in: Add HAVE_ARM_PCS_VFP.
17973 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
17975         [BZ #13979]
17976         * include/features.h: Warn if user requests __FORTIFY_SOURCE
17977         checking but the checks are disabled for any reason.
17979 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17981         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17982         and ELF64_R_TYPE with ELFW(R_TYPE).
17984 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
17986         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17987         (ulimit): Likewise.
17989         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17990         (settimeofday): Likewise.
17992 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
17994         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
17995         a struct th_u2 inside the union, and move tu_block/tu_code into
17996         a new th_u3 union of tu_block/tu_code inside of that.  Move
17997         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
17998         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
17999         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18000         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18001         (th_stuff): Change to th_u1.tu_stuff.
18002         (th_data): Define.
18003         (th_msg): Change to th_u1.th_u2.tu_data.
18005 2012-05-07  David S. Miller  <davem@davemloft.net>
18007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18009         [BZ #14074]
18010         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18011         (SETUP_PIC_REG): Use it.
18012         (SETUP_PIC_REG_LEAF): Use it.
18014 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18016         [BZ #13885]
18017         [BZ #13923]
18018         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18019         USE_AS_EXPM1L.
18020         (EXPL_FINITE): Likewise.
18021         (FLDLOG): Likewise.
18022         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18023         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18024         e_expl.S.
18025         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18026         USE_AS_EXPM1L.
18027         (EXPL_FINITE): Likewise.
18028         (FLDLOG): Likewise.
18029         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18030         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18031         e_expl.S.
18032         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18033         test of -max_value argument for long double.
18034         * sysdeps/i386/fpu/libm-test-ulps: Update.
18035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18037 2012-05-06  David S. Miller  <davem@davemloft.net>
18039         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18040         quad soft-float symbols whose references which are compiler
18041         generated.
18042         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18044 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18046         [BZ #13884]
18047         [BZ #13914]
18048         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18049         USE_AS_EXP10L.
18050         (EXPL_FINITE): Likewise.
18051         (FLDLOG): Likewise.
18052         (c0): Likewise.
18053         (c1): Likewise.
18054         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18055         Adjust comments for base varying.
18056         (__expl_finite): Change alias to EXPL_FINITE.
18057         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18058         e_expl.S.
18059         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18060         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18061         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18062         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18063         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18064         USE_AS_EXP10L.
18065         (EXPL_FINITE): Likewise.
18066         (FLDLOG): Likewise.
18067         (c0): Likewise.
18068         (c1): Likewise.
18069         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18070         Adjust comments for base varying.
18071         (__expl_finite): Change alias to EXPL_FINITE.
18072         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
18073         tests for bugs.
18074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18076         [BZ #14064]
18077         * math/libm-test.inc (check_float_internal): Correct ulp
18078         calculation for subnormal expected results.
18080 2012-05-06  Andreas Jaeger  <aj@suse.de>
18082         * Makeconfig (+math-flags): New, set to -frounding-math.
18083         (+cflags): Add +math-flags so that all of glibc gets compiled with
18084         it.
18086         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18088 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
18090         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18091         Disable one test.
18093         [BZ #13787]
18094         [BZ #13922]
18095         [BZ #14036]
18096         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18097         (__ieee754_expl): Allow for and saturate large arguments.
18098         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18099         (u_threshold): Likewise.
18100         (__exp): Call __ieee754_exp before checking for overflow and
18101         underflow.
18102         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18103         (u_threshold): Likewise.
18104         (__expf): Call __ieee754_expf before checking for overflow and
18105         underflow.
18106         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18107         (u_threshold): Likewise.
18108         (__expl): Call __ieee754_expl before checking for overflow and
18109         underflow.
18110         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18111         (__ieee754_expl): Allow for and saturate large arguments.
18112         * math/libm-test.inc (exp_test): Add another test.  Do not allow
18113         missing overflow exception on overflow.
18114         (expm1_test): Do not allow missing overflow exception on overflow.
18116         * sysdeps/i386/fpu/e_expl.c: Move to ...
18117         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
18118         rather than using inline asm.
18119         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18120         * sysdeps/x86_64/fpu/e_expl.S: Copy from
18121         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18123         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18124         (nice): Likewise.
18125         (poll): Likewise.
18126         (signal): Likewise.
18127         (time): Likewise.
18128         (times): Likewise.
18130 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18132         * sysdeps/unix/syscalls.list (adjtime): Add entry from
18133         sysdeps/unix/common/syscalls.list.
18134         (fchmod): Likewise.
18135         (fchown): Likewise.
18136         (ftruncate): Likewise.
18137         (getrusage): Likewise.
18138         (gettimeofday): Likewise.
18139         (setpgid): Likewise.
18140         (setregid): Likewise.
18141         (setreuid): Likewise.
18142         (sigaction): Likewise.
18143         (truncate): Likewise.
18144         (vhangup): Likewise.
18145         * sysdeps/unix/common/syscalls.list: Remove file.
18146         * sysdeps/unix/bsd/Implies: Don't include unix/common.
18147         * sysdeps/unix/sysv/linux/Implies: Likewise.
18149 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
18151         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18153         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18154         Moved to ...
18155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18156         Here.
18157         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18158         to ...
18159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18160         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18161         to ...
18162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18163         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18164         to ...
18165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18166         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18167         to ...
18168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18169         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18170         to ...
18171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18172         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18173         to ...
18174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18175         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18176         to ...
18177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18178         Here.
18179         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18180         to ...
18181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18182         Here.
18183         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18184         to ...
18185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18186         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18187         Moved to ...
18188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18189         Here.
18190         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18191         to ...
18192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18194 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18196         * sysdeps/unix/common/bits/dirent.h: Remove file.
18197         * sysdeps/unix/common/bits/fcntl.h: Likewise.
18199         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18200         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18201         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18202         * sysdeps/unix/bsd/isatty.c: Likewise.
18203         * sysdeps/unix/bsd/tcdrain.c: Likewise.
18204         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18205         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18207 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18209         [BZ #13563]
18210         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18211         long double comparison inaccuracies.
18212         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18215 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
18217         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18218         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18220 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18222         [BZ #14049]
18223         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18224         nonzero digits before rounding a hex value.
18225         * stdlib/tst-strtod.c (tests): Add another test.
18227 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18229         * sysdeps/s390/fpu/libm-test-ulps: Update.
18231 2012-05-03  Andreas Jaeger  <aj@suse.de>
18233         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18234         does not get optimized out.
18235         (malloc_opt_barrier): New.
18237 2012-05-03  Andreas Jaeger  <aj@suse.de>
18238             Roland McGrath  <roland@hack.frob.com>
18240         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18241         intermediate file deletion.
18242         (generated): Add .symlist files.
18244 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
18246         [BZ #13775]
18247         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18248         Redirect under this condition.
18249         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18250         [__USE_GNU] (__dprintf_chk): Not under this condition.
18251         [__USE_GNU] (__vdprintf_chk): Likewise.
18252         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18253         under this condition.
18254         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18255         [__USE_XOPEN2K8] (dprintf): Define under this condition.
18256         [__USE_XOPEN2K8] (vdprintf): Likewise.
18257         [__USE_GNU] (__dprintf_chk): Not under this condition.
18258         [__USE_GNU] (__vdprintf_chk): Likewise.
18259         [__USE_GNU] (dprintf): Likewise.
18260         [__USE_GNU] (vdprintf): Likewise.
18262 2012-05-03  Roland McGrath  <roland@hack.frob.com>
18264         * elf/Makefile (common-generated): Set this instead of generated for
18265         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
18266         $(all-built-dso)-derived lists.
18268 2012-05-03  Andreas Jaeger  <aj@suse.de>
18270         * sysdeps/i386/fpu/libm-test-ulps: Update.
18272         * FAQ: Removed.
18273         * FAQ.in: Likewise.
18274         * scripts/gen-FAQ.pl: Likewise.
18275         * manual/install.texi (Installation): Point to online location of
18276         FAQ.
18277         * Makefile (files-for-dist): Remove FAQ.
18278         (FAQ): Remove.
18280 2012-05-02  Allan McRae  <allan@archlinux.org>
18282         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18283         (LDFLAGS-reldepmod5.so): Likewise.
18284         (LDFLAGS-reldep6mod1.so): Likewise.
18285         (LDFLAGS-reldep6mod4.so): Likewise.
18286         (LDFLAGS-reldep8mod3.so): Likewise.
18287         (LDFLAGS-unload4mod1.so): Likewise.
18288         (LDFLAGS-unload4mod2.so): Likewise.
18289         (LDFLAGS-tst-initorder): Likewise.
18290         (LDFLAGS-tst-initordera2.so): Likewise.
18291         (LDFLAGS-tst-initordera3.so): Likewise.
18292         (LDFLAGS-tst-initordera4.so): Likewise.
18293         (LDFLAGS-tst-initorderb2.so): Likewise.
18294         (LDFLAGS-noload): Likewise.
18295         (LDFLAGS-next): Likewise.
18296         (LDFLAGS-order2mod1.so): Likewise.
18297         (LDFLAGS-order2mod2.so): Likewise.
18298         (LDFLAGS-tst-initorder2): Likewise.
18299         (LDFLAGS-tst-initorder2a.so): Likewise.
18300         (LDFLAGS-tst-initorder2b.so): Likewise.
18301         (LDFLAGS-tst-initorder2c.so): Likewise.
18302         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18304 2012-05-02  David S. Miller  <davem@davemloft.net>
18306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18308 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18310         [BZ #14055]
18311         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18313 2012-05-02  Andreas Jaeger  <aj@suse.de>
18315         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18316         since we manipulate rounding mode.
18317         (CPPFLAGS-test-idouble.c): Likewise.
18318         (CPPFLAGS-test-ifloat.c): Likewise.
18319         (CFLAGS-test-ldouble.c): Likewise.
18320         (CFLAGS-test-double.c): Likewise.
18321         (CFLAGS-test-float.c): Likewise.
18322         (CFLAGS-test-misc.c): Likewise.
18323         (CFLAGS-test-test-fenv.c): Likewise.
18325 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18327         [BZ #2550]
18328         [BZ #2570]
18329         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18330         comparisons to determine direction to adjust input.
18332 2012-05-01  Roland McGrath  <roland@hack.frob.com>
18334         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18335         output to the target.
18337         * scripts/localplt.awk: New file.
18338         * elf/Makefile ($(objpfx)check-localplt): Target removed.
18339         (check-localplt-CFLAGS): Variable removed.
18340         ($(all-built-dso:=.jmprel)): New static pattern rule.
18341         (generated): Add those targets.
18342         (localplt-built-dso): New variable.
18343         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18345         * elf/check-localplt.c: File removed.
18347         * scripts/check-execstack.awk: New file.
18348         * elf/Makefile ($(objpfx)check-execstack): Target removed.
18349         (check-execstack-CFLAGS): Variable removed.
18350         ($(objpfx)check-execstack.h): Target removed.
18351         ($(objpfx)execstack-default): New target.
18352         (generated): Add that instead of check-execstack.h.
18353         ($(all-built-dso:=.phdr)): New static pattern rule.
18354         (generated): Add those targets.
18355         * elf/check-execstack.c: File removed.
18357         * scripts/check-textrel.awk: New file.
18358         * elf/Makefile ($(objpfx)check-textrel): Target removed.
18359         (check-textrel-CFLAGS): Variable removed.
18360         (all-built-dso): Use := to define.o
18361         ($(all-built-dso:=.dyn)): New static pattern rule.
18362         (generated): Add those targets.
18363         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18364         * config.make.in (READELF): New substituted variable.
18365         * elf/check-textrel.c: File removed.
18367 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18369         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18370         allow.
18371         * conform/data/ctype.h-data [C99-based standards] (isblank):
18372         Expect function.
18373         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18374         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18375         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18376         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18377         Specify type.  Require positive value.
18378         (EILSEQ): Likewise.
18379         (ERANGE): Likewise.
18380         [ISO || POSIX] (EILSEQ): Do not expect.
18381         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18382         Specify type.  Require positive value.
18383         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18384         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18385         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18386         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18387         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18388         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18389         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18390         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18391         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18392         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18393         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18394         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18395         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18396         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18397         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18398         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18399         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18400         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18401         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18402         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18403         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18404         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18405         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18406         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18407         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18408         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18409         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18410         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18411         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18412         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18413         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18414         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18415         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18416         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18417         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18418         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18419         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18420         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18421         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18422         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18423         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18424         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18425         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18426         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18427         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18428         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18429         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18430         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18431         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18432         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18433         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18434         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18435         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18436         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18437         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18438         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18439         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18440         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18441         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18442         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18443         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18444         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18445         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18446         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18447         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18448         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18449         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18450         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18451         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18452         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18453         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18454         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18455         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18456         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18457         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18458         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18459         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18460         Require >= 2.
18461         (FLT_ROUNDS): Expect as macro, not constant.
18462         (FLT_MANT_DIG): Use macro-int-constant.
18463         (DBL_MANT_DIG): Likewise.
18464         (LDBL_MANT_DIG): Likewise.
18465         (FLT_DIG): Likewise.
18466         (DBL_DIG): Likewise.
18467         (LDBL_DIG): Likewise.
18468         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
18469         (DBL_MIN_EXP): Likewise.
18470         (LDBL_MIN_EXP): Likewise.
18471         (FLT_MAX_EXP): Use macro-int-constant.
18472         (DBL_MAX_EXP): Likewise.
18473         (LDBL_MAX_EXP): Likewise.
18474         (FLT_MAX_10_EXP): Likewise.
18475         (DBL_MAX_10_EXP): Likewise.
18476         (LDBL_MAX_10_EXP): Likewise.
18477         (FLT_MAX): Use macro-constant.
18478         (DBL_MAX): Likewise.
18479         (LDBL_MAX): Likewise.
18480         (FLT_EPSILON): Use macro-constant.  Give upper bound.
18481         (DBL_EPSILON): Likewise.
18482         (LDBL_EPSILON): Likewise.
18483         (FLT_MIN): Likewise.
18484         (DBL_MIN): Likewise.
18485         (LDBL_MIN): Likewise.
18486         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18487         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18488         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18489         [ISO11] (FLT_HAS_SUBNORM): Likewise.
18490         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18491         [ISO11] (DBL_DECIMAL_DIG): Likewise.
18492         [ISO11] (FLT_DECIMAL_DIG): Likewise.
18493         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18494         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18495         [ISO11] (FLT_TRUE_MIN): Likewise.
18496         [ISO11] (LDBL_TRUE_MIN): Likewise.
18497         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18498         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18499         (SCHAR_MIN): Use macro-int-constant.  Specify type.
18500         (SCHAR_MAX): Likewise.
18501         (UCHAR_MAX): Likewise.
18502         (CHAR_MIN): Likewise.
18503         (CHAR_MAX): Likewise.
18504         (MB_LEN_MAX): Use macro-int-constant.
18505         (SHRT_MIN): Use macro-int-constant.  Specify type.
18506         (SHRT_MAX): Likewise.
18507         (USHRT_MAX): Likewise.
18508         (INT_MAX): Likewise.
18509         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
18510         bound negative.
18511         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18512         bound with "U".
18513         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18514         bound with "L".
18515         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
18516         bound negative.  Suffix upper bound with "L".
18517         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18518         bound with "UL".
18519         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18520         Specify type.
18521         [C99-based standards] (LLONG_MAX): Likewise.
18522         [C99-based standards] (ULLONG_MAX): Likewise.
18523         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
18524         == 0.
18525         [ISO11] (max_align_t): Require type.
18526         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18528         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18529         from $CFLAGS, without defining away __attribute__ calls.
18530         (checknamespace): Use $CFLAGS_namespace.
18532         * conform/conformtest.pl (@keywords): Only include C99 keywords
18533         for standards based on C99 or C11.
18535         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18536         Disable tests.
18537         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18538         UNIX98]: Likewise.
18540         * conform/conformtest.pl: Handle "macro-int-constant" and test for
18541         usability of symbols in #if.
18543         * conform/conformtest.pl: If macro or constant types start
18544         "promoted:", expect the symbol to be of the following type
18545         promoted by the integer promotions.
18547         * conform/conformtest.pl: Parse all "constant" and "macro" lines
18548         in one place.  Also handle "macro-constant".
18550         * conform/conformtest.pl: Only accept expected macro values with
18551         "==".  Parse all "macro" lines in one place.
18552         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18554         * conform/conformtest.pl: Handle braced types on "constant" lines
18555         instead of handling "typed-constant".
18556         * conform/data/signal.h-data: Use "constant" instead of
18557         "typed-constant".
18559         * conform/conformtest.pl: Handle "optional-" at start of lines in
18560         one place rather than duplicating several cases.  Handle each
18561         format of "macro" line with initial "optional-".
18563         * conform/conformtest.pl: Only accept expected constant or
18564         optional-constant values with "==".  Parse all "constant" lines in
18565         one place.  Parse all "optional-constant" lines in one place.
18566         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18567         * conform/data/fmtmsg.h-data: Likewise.
18568         * conform/data/netinet/in.h-data: Likewise.
18569         * conform/data/tar.h-data: Likewise.
18570         * conform/data/limits.h-data: Use "==" form on "constant" and
18571         "optional-constant" lines.
18573         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18574         Use -std=c99 for XOPEN2K.
18575         (@knownproblems): Remove.
18576         (newtoken): Don't check %isknown.
18578         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18579         Do not expect macro.
18580         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18581         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18582         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18583         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18584         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18585         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18586         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18587         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18588         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18589         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18590         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18591         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18592         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18593         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18594         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18595         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18596         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18597         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18598         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18599         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18600         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18601         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18602         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18603         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18604         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18605         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18606         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18607         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18608         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18609         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18610         [XPG3] (acosh): Likewise.
18611         [XPG3] (asinh): Likewise.
18612         [XPG3] (atanh): Likewise.
18613         [XPG3] (cbrt): Likewise.
18614         [XPG3] (expm1): Likewise.
18615         [XPG3] (ilogb): Likewise.
18616         [XPG3] (log1p): Likewise.
18617         [XPG3] (logb): Likewise.
18618         [XPG3] (nextafter): Likewise.
18619         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18620         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18621         [XPG3] (remainder): Likewise.
18622         [XPG3] (rint): Likewise.
18623         [XPG3 || XPG4 || UNIX98] (round): Likewise.
18624         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18625         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18626         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18627         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18628         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18629         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18630         [UNIX98 || XOPEN2K] (scalb): Expect.
18631         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18632         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18633         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18634         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18635         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18636         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18637         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18638         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18639         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18640         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18641         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18642         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18643         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18644         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18645         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18646         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18647         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18648         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18649         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18650         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18651         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18652         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18653         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18654         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18655         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18656         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18657         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18658         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18659         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18660         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18661         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18662         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18663         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18664         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18665         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18666         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18667         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18668         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18669         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18670         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18671         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18672         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18673         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18674         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18675         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18676         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18677         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18678         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18679         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18680         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18681         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18682         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18683         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18684         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18685         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18686         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18687         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18688         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18689         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18690         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18691         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18692         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18693         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18694         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18695         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18696         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18697         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18698         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18699         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18700         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18701         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18702         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18703         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18704         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18705         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18706         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18707         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18708         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18709         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18710         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18711         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18712         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18713         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18714         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18715         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18716         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18717         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18718         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18719         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18720         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18721         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18722         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18723         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18724         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18725         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18726         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18727         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18728         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18729         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18730         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18731         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18732         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18733         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18734         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18735         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18736         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18737         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18738         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18739         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18740         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18741         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18742         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18743         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18744         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18745         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18746         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18747         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18748         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18749         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18750         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18751         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18752         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18753         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18754         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18755         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18756         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18757         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18758         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18759         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18760         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18761         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18762         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18763         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18764         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18765         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18766         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18767         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18769         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18770         _XOPEN_SOURCE_EXTENDED for XPG4.
18772         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18774         * Makeconfig (localtime): Remove variable.
18775         (inst_localtime-file): Likewise.
18777 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18780         Update.
18781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18782         Update.
18783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18784         Update.
18785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18786         Update.
18787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18788         Update.
18789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18790         Update.
18791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18792         Update.
18793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18794         Update.
18795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18796         Update.
18798 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18800         [BZ #2550]
18801         [BZ #2570]
18802         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18803         comparisons to determine direction to adjust input.
18804         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18805         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18806         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18807         Likewise.
18808         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18809         Likewise.
18810         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18811         Likewise.
18812         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18813         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18814         Likewise.
18815         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18816         Likewise.
18817         * math/libm-test.inc (nexttoward_test): Add more tests.
18819 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18821         [BZ #14040]
18822         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18823         in version GLIBC_2.1, not GLIBC_2.0.
18824         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18825         Likewise.
18827 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
18829         [BZ #13942]
18830         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18831         (1 - x) * (1 + x).
18832         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18833         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18834         * math/libm-test.inc (acos_test): Add more tests.
18835         (asin_test): Likewise.
18836         * sysdeps/i386/fpu/libm-test-ulps: Update.
18837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18839         [BZ #14034]
18840         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18841         of square root.
18842         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18843         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18844         * math/libm-test.inc (acos_test_tonearest): New function.
18845         (acos_test_towardzero): Likewise.
18846         (acos_test_downward): Likewise.
18847         (acos_test_upward): Likewise.
18848         (asin_test_tonearest): Likewise.
18849         (asin_test_towardzero): Likewise.
18850         (asin_test_downward): Likewise.
18851         (asin_test_upward): Likewise.
18852         (main): Call the new functions.
18853         * sysdeps/i386/fpu/libm-test-ulps: Update.
18854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18856         [BZ #13884]
18857         [BZ #13924]
18858         * math/e_exp10.c: Include <float.h>.
18859         (__ieee754_exp10): Handle underflow here rather than multiplying
18860         large negative argument by M_LN10.
18861         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18862         of __ieee754_expf.
18863         * math/e_exp10l.c: Include <float.h>.
18864         (__ieee754_exp10l): Handle underflow here rather than multiplying
18865         large negative argument by M_LN10l.
18866         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
18867         spurious overflow exception on underflow.
18869 2012-04-29  Marek Polacek  <polacek@redhat.com>
18871         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18872         (__fortify_function): New macro.
18873         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18874         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18875         __extern_always_inline.
18876         * libio/bits/stdio2.h: Likewise.
18877         * libio/bits/stdio.h: Likewise.
18878         * string/string.h: Likewise.
18879         * string/bits/string3.h: Likewise.
18880         * include/stdio.h: Likewise.
18881         * stdlib/bits/stdlib.h: Likewise.
18882         * stdlib/stdlib.h: Likewise.
18883         * rt/bits/mqueue2.h: Likewise.
18884         * rt/mqueue.h: Likewise.
18885         * posix/bits/unistd.h: Likewise.
18886         * posix/unistd.h: Likewise.
18887         * io/bits/poll2.h: Likewise.
18888         * io/bits/fcntl2.h: Likewise.
18889         * io/fcntl.h: Likewise.
18890         * io/sys/poll.h: Likewise.
18891         * misc/bits/syslog.h: Likewise.
18892         * misc/bits/syslog-ldbl.h: Likewise.
18893         * misc/sys/syslog.h: Likewise.
18894         * socket/bits/socket2.h: Likewise.
18895         * socket/sys/socket.h: Likewise.
18896         * debug/tst-chk1.c: Likewise.
18897         * wcsmbs/bits/wchar2.h: Likewise.
18898         * wcsmbs/bits/wchar-ldbl.h: Likewise.
18899         * wcsmbs/wchar.h: Likewise.
18901 2012-04-29  Andreas Jaeger  <aj@suse.de>
18903         * Makerules (tests): Remove enable-check-abi protection.
18904         (check-abi-warn): Remove.
18905         (check-abi-%): Remove check-abi-warn usage.
18907         * configure.in: Remove check-abi configure option.
18908         * configure: Regenerated.
18909         * config.make.in (enable-check-abi): Remove.
18911 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
18913         [BZ #14033]
18914         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18915         double functions to double *_finite functions.
18917         [BZ #13941]
18918         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18919         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18920         LDBL_MIN_EXP.
18921         * stdio-common/Makefile (tests): Add tst-sprintf3.
18922         * stdio-common/tst-sprintf3.c: New file.
18924         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18925         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18927 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
18929         * conform/conformtest.pl: Remove duplicate typed-constant
18930         handling.
18932 2012-04-28  David S. Miller  <davem@davemloft.net>
18934         * Makerules (%.abilist): Add vpath on sysdep_dirs.
18935         (check-abi-%): Remove AWK script prerequisite and explicit
18936         abilist directory.
18937         (check-abi): Rewrite to just diff the symlist with the abilist.
18938         (config-tls, config-abi-config): Delete, no longer used.
18939         (update-abi-%): Remove AWK script and explicit abilist directory.
18940         (update-abi): Rewrite to simply compare and conditionally copy the
18941         symlist and the sysdep abilist file.  Remove update-abi-config
18942         checks.
18943         * abilist/ld.abilist: Remove.
18944         * abilist/libBrokenLocale.abilist: Remove.
18945         * abilist/libanl.abilist: Remove.
18946         * abilist/libcrypt.abilist: Remove.
18947         * abilist/libdl.abilist: Remove.
18948         * abilist/librt.abilist: Remove.
18949         * abilist/libthread_db.abilist: Remove.
18950         * abilist/libutil.abilist: Remove.
18951         * scripts/extract-abilist.awk: Remove.
18952         * scripts/merge-abilist.awk: Remove.
18953         * sysdeps/generic/libcidn.abilist: New file.
18954         * sysdeps/generic/libnss_compat.abilist: New file.
18955         * sysdeps/generic/libnss_db.abilist: New file.
18956         * sysdeps/generic/libnss_dns.abilist: New file.
18957         * sysdeps/generic/libnss_files.abilist: New file.
18958         * sysdeps/generic/libnss_hesiod.abilist: New file.
18959         * sysdeps/generic/libnss_nis.abilist: New file.
18960         * sysdeps/generic/libnss_nisplus.abilist: New file.
18961         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18962         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18963         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18964         file.
18965         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18966         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18967         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18968         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18969         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18970         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18971         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18972         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18973         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18974         file.
18975         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18976         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18977         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18978         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18979         file.
18980         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18981         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18982         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18983         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18984         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18985         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18986         file.
18987         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18988         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18989         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18990         file.
18991         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18993         New file.
18994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18995         New file.
18996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18997         New file.
18998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18999         New file.
19000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19001         New file.
19002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19003         New file.
19004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19005         New file.
19006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19007         New file.
19008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19009         New file.
19010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19011         New file.
19012         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19013         New file.
19014         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19015         New file.
19016         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19017         New file.
19018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19019         file.
19020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19021         New file.
19022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19023         New file.
19024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19025         file.
19026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19027         New file.
19028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19029         New file.
19030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19031         file.
19032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19033         New file.
19034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19035         New file.
19036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19037         New file.
19038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19039         New file.
19040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19041         New file.
19042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19043         New file.
19044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19046         file.
19047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19048         New file.
19049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19050         file.
19051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19052         file.
19053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19054         file.
19055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19056         file.
19057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19058         file.
19059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19060         New file.
19061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19062         file.
19063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19064         file.
19065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19066         New file.
19067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19068         file.
19069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19071         file.
19072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19073         New file.
19074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19075         file.
19076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19077         file.
19078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19079         file.
19080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19081         file.
19082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19083         file.
19084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19085         New file.
19086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19087         file.
19088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19089         file.
19090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19091         New file.
19092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19093         file.
19094         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19095         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19096         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19097         file.
19098         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19099         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19100         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19101         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19102         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19103         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19104         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19105         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19106         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19107         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19110         file.
19111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19112         New file.
19113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19114         file.
19115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19116         file.
19117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19118         file.
19119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19120         file.
19121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19122         file.
19123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19124         New file.
19125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19126         New file.
19127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19128         file.
19129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19130         New file.
19131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19132         file.
19133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19135         file.
19136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19137         New file.
19138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19139         file.
19140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19141         file.
19142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19143         file.
19144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19145         file.
19146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19147         file.
19148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19149         New file.
19150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19151         New file.
19152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19153         file.
19154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19155         New file.
19156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19157         file.
19159 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19161         * conform/conformtest.pl: Fix typo in handling typed-constant from
19162         allow-header.
19164 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19166         * README: Cut down references to pre-2.6 Linux kernels and
19167         Linuxthreads.  Update lists of configurations in libc and ports
19168         and sort alphabetically.  Say "or newer" with Linux kernel version
19169         requirements.
19171         * config.h.in [IS_IN_build]: Allow compiling without optimization.
19173 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19175         [BZ #887]
19176         * math/libm-test.inc (logb_test_downward): New test to expose
19177         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19178         rounding mode.
19180 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19182         [BZ #14027]
19183         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19184         to be done.
19185         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19186         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19188 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
19190         * sysdeps/unix/i386/brk.S: Remove file.
19191         * sysdeps/unix/i386/dl-brk.S: Likewise.
19192         * sysdeps/unix/i386/pipe.S: Likewise.
19193         * sysdeps/unix/i386/sigreturn.S: Likewise.
19194         * sysdeps/unix/i386/syscall.S: Likewise.
19195         * sysdeps/unix/i386/vfork.S: Likewise.
19196         * sysdeps/unix/i386/wait.S: Likewise.
19198         * sysdeps/unix/common/tcsendbrk.c: Move to ...
19199         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19201         * configure.in (arm*-none*): Do not allow without
19202         --enable-hacker-mode.
19203         (netbsd*): Remove case setting base_os.
19204         (386bsd*): Likewise.
19205         (freebsd*): Likewise.
19206         (bsdi*): Likewise.
19207         (osf*): Likewise.
19208         (sunos*): Likewise.
19209         (ultrix*): Likewise.
19210         (newsos*): Likewise.
19211         (dynix*): Likewise.
19212         (*bsd*): Likewise.
19213         (sysv*): Likewise.
19214         (isc*): Likewise.
19215         (esix*): Likewise.
19216         (sco*): Likewise.
19217         (minix*): Likewise.
19218         (irix4*): Likewise.
19219         (irix6*): Likewise.
19220         (solaris[2-9]*): Likewise.
19221         (none): Likewise.
19222         * configure: Regenerated.
19224 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19226         [BZ #11521]
19227         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19228         overflow or cancellation in calculating denominator.
19229         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19230         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19231         down expression to avoid unexpected rounding in newer GCCs.
19232         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19234 2012-04-26  David S. Miller  <davem@davemloft.net>
19236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19237         long-double compat symbols.
19238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19252 2012-04-25  David S. Miller  <davem@davemloft.net>
19254         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19255         HWCAP_* values only after the memory barriers have been defined.
19256         (atomic_full_barrier): Define.
19257         (atomic_read_barrier): Define.
19258         (atomic_write_barrier): Define.
19260 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19262         * shlib-versions: Add libgcc_s version information.
19263         * sysdeps/generic/libgcc_s.h: Remove.
19264         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19265         libgcc_s.h.
19266         * sysdeps/gnu/unwind-resume.c: Likewise.
19267         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19269 2012-04-25  David S. Miller  <davem@davemloft.net>
19271         * sysdeps/unix/sparc/brk.S: Delete.
19272         * sysdeps/unix/sparc/dl-brk.S: Delete.
19273         * sysdeps/unix/sparc/pipe.S: Delete.
19274         * sysdeps/unix/sparc/sysdep.S: Delete.
19275         * sysdeps/unix/sparc/sysdep.h: Delete.
19276         * sysdeps/unix/sparc/vfork.S: Delete.
19277         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19278         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19279         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19280         ret_ERRVAL, r0, r1, MOVE): Define.
19281         (JUMPTARGET): Remove.
19282         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19283         sysdeps/unix/sparc/sysdep.h
19284         (ENTRY, END): Remove.
19285         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19287 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
19289         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19290         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19291         -DIS_IN_build.
19293         * timezone/README: Update upstream location and email address for
19294         tzcode and tzdata.
19295         * timezone/zdump.c: Update from tzcode 2012b.
19296         * timezone/zic.c: Likewise.
19298         * configure.in (libc_cv_as_needed): Remove test.
19299         * configure: Regenerated.
19300         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19301         conditional definition.
19302         [$(have-as-needed) != yes] (no-as-needed): Likewise.
19303         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19304         * config.make.in (have-as-needed): Remove variable.
19306 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19307             Paul Pluzhnikov  <ppluzhnikov@google.com>
19309         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19310         strings correctly.
19312 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19314         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19315         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19316         * sysdeps/sh/strlen.S: Likewise.
19318 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19320         * sysdeps/unix/fork.S: Remove file.
19321         * sysdeps/unix/i386/fork.S: Likewise.
19322         * sysdeps/unix/sparc/fork.S: Likewise.
19324         * sysdeps/unix/system.c: Remove file.
19325         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19327         * sysdeps/unix/getegid.S: Remove file.
19328         * sysdeps/unix/geteuid.S: Likewise.
19330 2012-04-24  Roland McGrath  <roland@hack.frob.com>
19332         * scripts/check-localplt.awk: New file.
19333         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19334         of diff.
19335         * scripts/data/localplt-generic.data: Add a comment.
19337         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19338         NODE when __dir_mkfile failed.
19339         * sysdeps/mach/hurd/symlinkat.c: Likewise.
19340         Reported by Ludovic Courtès <ludo@gnu.org>.
19342 2012-04-24  Andreas Jaeger  <aj@suse.de>
19344         * Makerules (common-clean): Also remove gen-as-const-headers
19345         files.
19347 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19349         * Makerules (native-compile): Do not change working directory for
19350         build.  Use $(OUTPUT_OPTION) in command.
19351         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19353 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19355         [BZ #13886]
19356         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19357         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19358         * math/libm-test.inc (floor_test): Add more tests.
19359         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19361 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19363         * sysdeps/unix/getdents.c: Remove file.
19364         * sysdeps/unix/sysv/getdents.c: Likewise.
19365         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19367         * sysdeps/unix/syscalls.list (madvise): Add syscall from
19368         sysdeps/unix/mman/syscalls.list.
19369         (mmap): Likewise.
19370         (mprotect): Likewise.
19371         (msync): Likewise.
19372         (munmap): Likewise.
19373         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19374         * sysdeps/unix/mman/syscalls.list: Remove.
19375         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19377         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19378         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19379         * configure: Regenerated.
19380         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19381         $(libgcc_s_suffix).
19382         * config.make.in (libgcc_s_suffix): Remove variable.
19384 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
19386         * sysdeps/unix/sysv/gethostname.c: Move to ...
19387         * sysdeps/posix/gethostname.c: ... here.
19389         * sysdeps/unix/execve.S: Remove file.
19391         * sysdeps/unix/_exit.S: Remove file.
19393 2012-04-23  Andreas Jaeger  <aj@suse.de>
19395         [BZ #13739]
19396         * manual/Makefile: Remove make dist support, there's no
19397         need for a stand-alone documentation tar ball.
19398         (TEXI2DVI): Define always, it's not in Makeconfig.
19399         (dist): Removed.
19400         (tar-it): Removed.
19401         (edition): Removed.
19402         (glibc-doc-$(edition).tar): Removed
19403         (%.Z): Removed.
19404         (%.gz): Removed.
19405         (%.uu): Removed.
19406         (ETAGS): Remove, it's in Makeconfig.
19407         (move-if-change): Remove, it's in Makeconfig.
19409 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
19411         [BZ #13970]
19412         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19413         (strtod, strtof, strtold, strtol, strtoul, strtoq)
19414         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19415         (strtod_l, strtof_l, strtold_l): Remove __wur.
19416         It is not necessarily an error to ignore strtol's return value.
19417         One can reliably look at the stored endptr to decide whether
19418         the number had valid syntax.
19420 2012-04-21  Andreas Jaeger  <aj@suse.de>
19422         [BZ #13739]
19423         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19425 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
19427         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19428         * sysdeps/unix/sysv/Versions: Remove file.
19430 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
19432         [BZ #13927]
19433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19435 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
19437         [BZ #7064]
19438         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19439         version from __vm86.
19441 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
19443         * sysdeps/unix/common/lxstat.c: Remove file.
19444         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19446         * sysdeps/unix/sysv/Makefile: Remove file.
19448         * sysdeps/unix/sysv/direct.h: Remove file.
19450         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19451         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19452         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19453         * sysdeps/unix/sysv/bits/signum.h: Likewise.
19454         * sysdeps/unix/sysv/bits/stat.h: Likewise.
19455         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19456         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19458         * sysdeps/unix/sysv/setrlimit.c: Remove file.
19460         * sysdeps/unix/xmknod.c: Remove file.
19461         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19463         * sysdeps/unix/sysv/settimeofday.c: Remove file.
19465         * sysdeps/unix/sysv/i386/time.S: Remove file.
19467         * sysdeps/unix/fxstat.c: Remove file.
19468         * sysdeps/unix/xstat.c: Likewise.
19469         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19471         * sysdeps/unix/sysv/sigaction.c: Remove file.
19473         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19474         (sysdep_headers): Remove variable.
19475         [termio.h not in sysdep_headers] (generated): Likewise.
19476         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19477         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19478         * sysdeps/unix/sysv/tcdrain.c: Likewise.
19479         * sysdeps/unix/sysv/tcflow.c: Likewise.
19480         * sysdeps/unix/sysv/tcflush.c: Likewise.
19481         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19482         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19483         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19484         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19485         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19487         * sysdeps/unix/siglist.c: Remove file.
19489         * sysdeps/unix/getppid.S: Remove file.
19491         * sysdeps/unix/mkdir.c: Remove file.
19492         * sysdeps/unix/rmdir.c: Likewise.
19494 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
19496         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19497         ERR_MAX value.
19498         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19499         errlist-compat value.
19501 2012-04-18  David S. Miller  <davem@davemloft.net>
19503         * sysdeps/generic/memcopy.h (reg_char): Delete.
19504         * debug/strcat_chk.c: Use char, not reg_char.
19505         * debug/strcpy_chk.c: Likewise.
19506         * debug/strncat_chk.c: Likewise.
19507         * debug/strncpy_chk.c: Likewise.
19508         * string/memchr.c: Likewise.
19509         * string/memrchr.c: Likewise.
19510         * string/rawmemchr.c: Likewise.
19511         * string/strcat.c: Likewise.
19512         * string/strchr.c: Likewise.
19513         * string/strchrnul.c: Likewise.
19514         * string/strcmp.c: Likewise.
19515         * string/strcpy.c: Likewise.
19516         * string/strncat.c: Likewise.
19517         * string/strncmp.c: Likewise.
19518         * string/strncpy.c: Likewise.
19520 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19522         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19523         __builtin_memcopy is called when src and dest ranges are known to not
19524         overlap.
19526 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19528         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19529         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19530         fwd_align_merge macro call.
19531         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19532         bwd_align_merge macro call.
19533         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19535 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19537         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19538         bwd_align_merge macros.
19539         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19540         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19541         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19543 2012-04-18  David S. Miller  <davem@davemloft.net>
19545         * sysdeps/sparc/sparc64/memcopy.h: Delete.
19547 2012-04-18  Andreas Jaeger  <aj@suse.de>
19549         [BZ# 6794]
19550         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19551         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19552         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19554         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19555         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19556         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19558         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19559         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19560         Adjust for changed ldbl-128 files.
19562         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19563         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19564         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19566 2012-04-17  David S. Miller  <davem@davemloft.net>
19568         * sysdeps/sparc/sparc32/memcopy.h: Delete.
19570 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
19572         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19573         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19574         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19575         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19576         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19577         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19579 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19581         [BZ #6794]
19582         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19583         * math/libm-test.inc: Add ilogb errno and exception tests.
19584         * math/w_ilogb.c: New file: ilogb wrapper.
19585         * math/w_ilogbf.c: New file: ilogbf wrapper.
19586         * math/w_ilogbl.c: New file: ilogbl wrapper.
19587         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19588         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19589         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19590         exception being thrown with 0.0 as argument.
19591         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19592         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19593         exception being thrown with 0.0 as argument.
19594         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19595         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19596         exception being thrown with 0.0 as argument.
19597         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19598         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19599         exception being thrown with 0.0 as argument.
19600         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19601         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19602         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19603         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19604         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19605         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19606         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19607         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19608         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19610 2012-04-17  Petr Baudis  <pasky@ucw.cz>
19612         * include/sys/uio.h: Change __vector to __iovec to avoid clash
19613         with altivec.
19615 2012-04-16  Marek Polacek  <polacek@redhat.com>
19617         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19619 2012-04-16  Marek Polacek  <polacek@redhat.com>
19621         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19622         operands of fdivp instruction.
19624 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19626         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19627         * elf/tst-auditmod3b.c: Likewise.
19628         * elf/tst-auditmod4b.c: Likewise.
19629         * elf/tst-auditmod5b.c: Likewise.
19630         * elf/tst-auditmod6b.c: Likewise.
19631         * elf/tst-auditmod6c.c: Likewise.
19632         * elf/tst-auditmod7b.c: Likewise.
19633         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19634         * sysdeps/x86_64/preconfigure.in: Likewise.
19635         * sysdeps/x86_64/preconfigure: Regenerated.
19637 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19639         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19640         __ILP32__.
19642 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
19644         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19645         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19647 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
19649         [BZ #13973]
19650         * locale/iso-639.def: Fix gl language name. Spotted by
19651         Yaron Shahrabani.
19653 2012-04-12  Roland McGrath  <roland@hack.frob.com>
19655         [BZ #2074]
19656         * libio/libio.h (__io_write_fn): Update comment.
19658 2012-04-12  Petr Baudis  <pasky@ucw.cz>
19660         [BZ #2074]
19661         * stdio.texi (Hook Functions): The user provided writer function
19662         is not allowed to return -1.
19664 2012-04-11  David S. Miller  <davem@davemloft.net>
19666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19668 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
19670         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19671         Add a leading slash to rtkaio.
19673 2012-04-11  Jim Meyering  <meyering@redhat.com>
19675         [BZ #11959]
19676         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19677         It is not necessarily an error to ignore fwrite's return
19678         value.  One can reliably use ferror to test for errors after
19679         the fact.
19681 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
19683         * bits/types.h (__snseconds_t): New type.
19684         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19686         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19687         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19688         (__SNSECONDS_T_TYPE): Likewise.
19689         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19690         (__SNSECONDS_T_TYPE): Likewise.
19691         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19692         (__SNSECONDS_T_TYPE): Likewise.
19694 2012-04-10  Andreas Jaeger  <aj@suse.de>
19696         [BZ #2636]
19697         * manual/time.texi (Processor Time): Return type of times is
19698         elapsed real time since an arbitrary point in the past.
19699         (CPU Time): Move CLK_TCK from here...
19700         (Processor Time): ...to here.  Correct description.
19701         * manual/conf.texi (Constants for Sysconf): Correct description of
19702         _SC_CLK_TCK.
19704 2012-04-10  David S. Miller  <davem@davemloft.net>
19706         [BZ #13967]
19707         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19708         where the is a gap between DT_REL(A) and DT_JMPREL.
19710 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
19712         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19713         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19714         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19716 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19718         * elf/dl-support.c (_dl_inhibit_cache): New variable.
19719         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19720         (dl_main): Handle --inhibit-cache.
19721         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19722         _dl_inhibit_cache.
19723         * elf/dl-load.c (_dl_map_object): Use it.
19724         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19726 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
19728         [BZ #13872]
19729         * sysdeps/i386/fpu/e_powl.S (p78): New object.
19730         (__ieee754_powl): Saturate large exponents rather than testing for
19731         overflow of y*log2(x).
19732         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19733         * math/libm-test.inc (pow_test): Do not permit spurious overflow
19734         exceptions.
19736         [BZ #11521]
19737         * math/s_ctan.c: Include <float.h>.
19738         (__ctan): Avoid internal overflow or cancellation in calculating
19739         denominator.
19740         * math/s_ctanf.c: Likewise.
19741         * math/s_ctanl.c: Likewise.
19742         * math/s_ctanh.c: Likewise.
19743         * math/s_ctanhf.c: Likewise.
19744         * math/s_ctanhl.c: Likewise.
19745         * math/libm-test.inc (ctan_test): Add more tests.
19746         (ctanh_test): Likewise.
19747         * sysdeps/i386/fpu/libm-test-ulps: Update.
19748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19750 2012-04-09  Andreas Jaeger  <aj@suse.de>
19752         [BZ #6894]
19753         * manual/filesys.texi (Directory Entries): Mention that d_namlen
19754         is an optional BSD extension.
19756         [BZ #10254]
19757         * manual/stdio.texi (Opening Streams): Document additional fopen
19758         parameters.
19760 2012-04-09  Roland McGrath  <roland@hack.frob.com>
19762         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19763         %eax without telling the compiler.
19765 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
19767         [BZ # 13963]
19768         * manual/install.texi: Use sourceware.org.
19770 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
19772         [BZ #13873]
19773         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19774         (__ieee754_pow): Generate overflow and underflow using huge*huge
19775         and tiny*tiny rather than just returning constant infinity or zero
19776         for large exponents.
19777         * math/libm-test.inc (pow_test): Require overflow exceptions for
19778         applicable cases of large exponents.
19780         [BZ #706]
19781         * sysdeps/i386/fpu/e_pow.S (p10): New object.
19782         (__ieee754_pow): Use iterative multiplication algorithm only for
19783         integer exponents with absolute value below 1024.  Check for odd
19784         integer exponents when using algorithm for real exponents.
19785         * math/libm-test.inc (pow_test): Add more tests.
19786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19788 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
19790         [BZ #13705]
19791         * math/libm-test.inc (exp_test): Do not allow overflow exception
19792         on underflow test.
19794 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
19796         [BZ #13705]
19797         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19798         instead of __kernel_standard_f.
19800 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
19802         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19803         * sysdeps/x86_64/memset_chk.S: Likewise.
19805 2012-04-08  Andreas Jaeger  <aj@suse.de>
19807         [BZ #10153]
19808         * manual/startup.texi (Environment Access): Describe return value
19809         for putenv and setenv.
19811         [BZ #6895]
19812         * manual/filesys.texi (Directory Entries): Add description for
19813         DT_LNK.
19815         [BZ #6890]
19816         * manual/filesys.texi (Directory Entries): Clarify that it's file
19817         system not operating system in the description of DT_UNKNOWN.
19819         [BZ #6578]
19820         * manual/syslog.texi (closelog): Fix reference, it's openlog.
19822 2012-04-08  Stephen Compall  <s11@member.fsf.org>
19824         [BZ #6649]
19825         * manual/llio.texi (Opening and Closing Files): Add cross
19826         reference to explain mode argument.
19828 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
19830         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19831         * sysdeps/x86_64/memset_chk.S: Likewise.
19833 2012-04-07  David S. Miller  <davem@davemloft.net>
19835         * elf/elf.h (R_SPARC_WDISP10): Define.
19836         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19837         R_SPARC_SIZE32.
19838         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19839         R_SPARC_SIZE64 and R_SPARC_H34.
19841 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
19843         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19844         conditions and remove no longer applicable assertion.
19846 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
19848         * bits/byteswap.h: Include <features.h>.
19849         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19850         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19852 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
19854         * bits/byteswap.h (__bswap_16): Removed.
19855         Include <bits/byteswap-16.h> to get __bswap_16.
19856         * sysdeps/i386/bits/byteswap.h: Likewise.
19857         * sysdeps/s390/bits/byteswap.h: Likewise.
19858         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19859         * bits/byteswap-16.h: New file.
19860         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19861         * sysdeps/s390/bits/byteswap-16.h: Likewise.
19862         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19863         * string/Makefile (headers): Add bits/byteswap-16.h.
19865 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19867         [BZ #13895]
19868         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19869         extra indirection.
19870         * nss/Makefile (tests-static, tests): Add tst-nss-static.
19871         * nss/tst-nss-static.c: New.
19873 2012-04-06  Robert Millan  <rmh@gnu.org>
19875         [BZ #6486]
19876         * manual/llio.texi (File Position Primitive): lseek
19877         refers to WHENCE when it really means OFFSET.
19879 2012-04-06  Andreas Jaeger  <aj@suse.de>
19881         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19882         strncmp declarations.
19884         * abilist/libc.abilist: Add __poll and __ppoll.
19886 2012-04-05  David S. Miller  <davem@davemloft.net>
19888         * scripts/check-local-headers.sh: Accept a host triplet in the
19889         path matched by the exclude regexp.
19891         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19892         definition.
19893         * sysdeps/powerpc/powerpc32/dl-machine.h
19894         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19895         * sysdeps/s390/s390-32/dl-machine.h
19896         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19897         * sysdeps/sparc/sparc32/dl-machine.h
19898         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19899         * sysdeps/sparc/sparc64/dl-machine.h
19900         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19902         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19903         lazy binding.
19904         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19905         undefined symbol errors.
19907         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19908         DT_NEEDED entries.
19910 2012-04-05  Michael Matz  <matz@suse.de>
19912         [BZ #13592]
19913         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19915 2012-04-05  Andreas Jaeger  <aj@suse.de>
19917         [BZ #13908]
19918         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19919         comment.
19921 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19923         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19924         which ROUND is no valid rounding mode.
19926 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19928         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19929         read again.
19930         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19932 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19934         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19935         an exception using FPU order intentionally.
19937 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19939         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19940         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19941         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19942         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19944 2012-04-05  Simon Josefsson  <simon@josefsson.org>
19946         [BZ #12340]
19947         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19948         EINVAL when BUFLEN is too smal.
19950 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19952         [BZ #13553]
19953         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19954         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19956 2012-04-03  Andreas Jaeger  <aj@suse.de>
19958         [BZ #13938]
19959         * manual/setjmp.texi (System V contexts): Fix sentence.
19961         [BZ #13926]
19962         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19963         New macro for this case.
19964         [!__GNUC__] (__bswap_64): New inline function for this case.
19965         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19966         * bits/byteswap.h: Likewise.
19967         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19968         ull, guard with __GLIBC_HAVE_LONG_LONG.
19970         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19971         __GLIBC_HAVE_LONG_LONG.
19973         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19974         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19976 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19978         [BZ #13691]
19979         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19980         inptr and inend, rather than using last_ch.
19982 2012-04-02  David S. Miller  <davem@davemloft.net>
19984         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19985         * stdio-common/printf-parse.h (read_int): Change return type to
19986         'int', return -1 on INT_MAX overflow.
19987         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19988         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
19989         overflows INT_MAX.  Check for overflow of in-format-string precision
19990         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
19991         SIZE_MAX not INT_MAX for integer overflow test.
19992         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19993         skip the construct in the format string but do not record anything.
19994         * stdio-common/bug22.c: Adjust to test both width/prevision
19995         INT_MAX overflow as well as total length INT_MAX overflow.  Check
19996         explicitly for proper errno values.
19998 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20000         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20001         CHAR_MAX.
20002         * string/test-strcmp.c [! WIDE]: Likewise.
20003         * time/tst-mktime2.c: Likewise for INT_MAX.
20004         * string/test-string.h: #include <sys/param.h> for MIN.
20006         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20007         * sysdeps/i386/init-first.c (init): Likewise.
20008         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20009         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20010         * sysdeps/sh/init-first.c (init): Likewise.
20012 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20014         * po/ru.po: Update from translation team.
20015         * po/vi.po: Likewise.
20017 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20019         * resolv/nss_dns/dns-host.c: Merge copyright years.
20021 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20023         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20024         Optimize memcpy with prefetch if
20025         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20026         src, dst pointers have unequal 16 byte alignments.
20028 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20030         [BZ #13928]
20031         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20032         from a CNAME entry and return the minimum ttl for the query.
20033         (gaih_getanswer_slice): Likewise.
20035 2012-03-30  Jeff Law  <law@redhat.com>
20037         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20038         due to long keys.
20039         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20040         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20042         * resolv/nss_dns/dns-host.c: Update copyright year.
20044 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20046         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20047         requests to save a system call.  Fix check that all bytes are sent.
20049         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20050         comments for sendmmsg.
20052 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20054         [BZ #13691]
20055         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20056         with only 1 character between 0x0041 and 0x01b0.
20057         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20058         * wcsmbs/tst-mbsnrtowcs.c: New file.
20060 2012-03-29  David S. Miller  <davem@davemloft.net>
20062         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20063         small copies by hand.
20065 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20067         [BZ #13761]
20068         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20069         _nss_compat_initgroups_dyn): Fall back to malloc/free
20070         for large group memberships.
20072 2012-03-28  David S. Miller  <davem@davemloft.net>
20074         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20075         that branches into memcpy.
20076         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20077         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20078         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20079         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20080         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20081         bits.
20082         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20083         implementation too.
20084         * sysdeps/sparc/mempcpy.S: New file.
20086         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20087         the IFUNC routine in the libc case.
20088         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20090         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20091         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20092         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20093         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20094         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20095         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20096         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20097         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20099         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20100         loop to 256 bytes instead of 64 bytes and fix test signedness.
20102         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20103         * sysdeps/sparc/sparc32/Makefile: rather than here...
20104         * sysdeps/sparc/sparc64/Makefile: and here.
20106 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
20108         * malloc/mallocbug.c: Avoid warnings about unused variables.
20110 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20112         [BZ #13760]
20113         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20114         in the right place. Discard and retry query if response is
20115         larger than input buffer size.
20117 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
20119         [BZ #369]
20120         [BZ #2678]
20121         [BZ #3866]
20122         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20123         x for large integer exponent.
20124         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20125         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
20126         sign of result as needed afterwards.
20127         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20128         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20129         result for underflowing pow the same as for overflow.
20130         (__kernel_standard_l): Handle powl overflow and underflow here
20131         rather than calling __kernel_standard.
20132         * math/libm-test.inc (pow_test): Add more tests.
20134         [BZ #3868]
20135         [BZ #13879]
20136         [BZ #13910]
20137         [BZ #13911]
20138         [BZ #13912]
20139         [BZ #13913]
20140         [BZ #13915]
20141         [BZ #13916]
20142         [BZ #13917]
20143         [BZ #13918]
20144         [BZ #13919]
20145         [BZ #13920]
20146         [BZ #13921]
20147         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20148         * sysdeps/ieee754/k_standard.c: Include <float.h>.
20149         (__kernel_standard_l): New function.
20150         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20151         __kernel_standard.
20152         * math/w_acosl.c (__acosl): Likewise.
20153         * math/w_asinl.c (__asinl): Likewise.
20154         * math/w_atan2l.c (__atan2l): Likewise.
20155         * math/w_atanhl.c (__atanhl): Likewise.
20156         * math/w_coshl.c (__coshl): Likewise.
20157         * math/w_exp10l.c (__exp10l): Likewise.
20158         * math/w_exp2l.c (__exp2l): Likewise.
20159         * math/w_fmodl.c (__fmodl): Likewise.
20160         * math/w_hypotl.c (__hypotl): Likewise.
20161         * math/w_j0l.c (__j0l, __y0l): Likewise.
20162         * math/w_j1l.c (__j1l, __y1l): Likewise.
20163         * math/w_jnl.c (__jnl, __ynl): Likewise.
20164         * math/w_lgammal.c (__lgammal): Likewise.
20165         * math/w_log10l.c (__log10l): Likewise.
20166         * math/w_log2l.c (__log2l): Likewise.
20167         * math/w_logl.c (__logl): Likewise.
20168         * math/w_powl.c (__powl): Likewise.
20169         * math/w_remainderl.c (__remainderl): Likewise.
20170         * math/w_scalbl.c (sysv_scalbl): Likewise.
20171         * math/w_sinhl.c (__sinhl): Likewise.
20172         * math/w_sqrtl.c (__sqrtl): Likewise.
20173         * math/w_tgammal.c (__tgammal): Likewise.
20174         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20175         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20176         * math/libm-test.inc (acos_test): Add more tests.
20177         (acosh_test): Likewise.
20178         (asin_test): Likewise.
20179         (atanh_test): Likewise.
20180         (exp_test): Likewise.
20181         (exp10_test): Likewise.
20182         (exp2_test): Likewise.
20183         (expm1_test): Likewise.
20184         (lgamma_test): Likewise.
20185         (log_test): Likewise.
20186         (log10_test): Likewise.
20187         (log1p_test): Likewise.
20188         (log2_test): Likewise.
20189         (pow_test): Do not allow some spurious overflow exceptions.
20190         (sqrt_test): Add more tests.
20191         (tgamma_test): Likewise.
20192         (y0_test): Likewise.
20193         (y1_test): Likewise.
20194         (yn_test): Likewise.
20196 2012-03-27  Anton Blanchard  <anton@samba.org>
20198         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20199         MAP_HUGETLB.
20200         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20201         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20202         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20204 2012-03-27  David S. Miller  <davem@davemloft.net>
20206         * conform/Makefile: Run run-conformtest.sh using $(BASH).
20208         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20209         have-as-vis3 check.
20211 2012-03-27  Andreas Jaeger  <aj@suse.de>
20213         * sysdeps/x86_64/elf/configure.in: Moved to ...
20214         * sysdeps/x86_64/configure.in: ... here.
20215         * sysdeps/x86_64/elf/start.S: Moved to ...
20216         * sysdeps/x86_64/start.S: ... here.
20217         * sysdeps/x86_64/elf/configure: Delete.
20219         * sysdeps/x86_64/configure.in: Merge contents from
20220         sysdeps/i386/configure.in (without i686 check).
20222         * sysdeps/i386/elf/Versions: Merge into ...
20223         * sysdeps/i386/Versions: ... this.
20224         * sysdeps/i386/elf/Versions: Delete file.
20225         * sysdeps/i386/elf/start.S: Moved to ...
20226         * sysdeps/i386/start.S: ...here.
20227         * sysdeps/i386/elf/configure.in: Merge into...
20228         * sysdeps/i386/configure.in: ...here.
20229         * sysdeps/i386/elf/configure.in: Delete file.
20230         * sysdeps/i386/elf/configure: Delete file.
20232         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20233         * debug/backtracesyms.c: ... here.
20234         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20235         * debug/backtracesymsfd.c: ... here.
20236         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20237         * sysdeps/generic/ifunc-sel.h: ... here.
20239         * sysdeps/unix/i386/start.c: Delete file.
20240         * sysdeps/unix/sparc/start.c: Delete file.
20241         * sysdeps/unix/start.c: Delete file.
20243         * sysdeps/sh/elf/configure.in: Moved to ...
20244         * sysdeps/sh/configure.in: ... here.
20245         * sysdeps/sh/elf/start.S: Moved to ...
20246         * sysdeps/sh/start.S: ... here.
20247         * sysdeps/sh/elf/configure: Delete file.
20249         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20250         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20251         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20252         * sysdeps/powerpc/powerpc64/entry.h: ... here.
20253         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20254         * sysdeps/powerpc/powerpc64/start.S: here.
20255         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20256         * sysdeps/powerpc/powerpc64/Makefile: ... this.
20257         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20258         * sysdeps/powerpc/powerpc64/configure.in: ... this.
20259         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20261         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20262         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20263         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20264         * sysdeps/powerpc/powerpc32/start.S: ... here.
20265         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20266         * sysdeps/powerpc/powerpc32/configure.in: ... this.
20267         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20269         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20270         * sysdeps/powerpc/ifunc-sel.h: ... here.
20271         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20272         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20274         * sysdeps/sparc/elf/configure.in: Moved to ...
20275         * sysdeps/sparc/configure.in: ... here.
20276         * sysdeps/sparc/elf/configure: Delete file.
20277         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20278         * sysdeps/sparc/sparc32/start.S: ... here.
20279         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20280         * sysdeps/sparc/sparc64/start.S: ... here.
20281         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20282         * sysdeps/sparc/sparc32/Makefile: ... this.
20283         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20284         * sysdeps/sparc/sparc64/Makefile: ... this.
20286         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20287         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20288         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20289         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20290         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20291         * sysdeps/s390/s390-32/setjmp.S: ... here.
20292         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20293         * sysdeps/s390/s390-32/configure.in: ... here.
20294         * sysdeps/s390/s390-32/elf/configure: Delete file.
20295         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20296         * sysdeps/s390/s390-32/start.S: ... here.
20298         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20299         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20300         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20301         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20302         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20303         * sysdeps/s390/s390-64/setjmp.S: ... here.
20304         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20305         * sysdeps/s390/s390-64/configure.in: ... here
20306         * sysdeps/s390/s390-64/elf/configure: Delete file.
20307         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20308         * sysdeps/s390/s390-64/start.S: ... here.
20309         * sysdeps/s390/s390-64/elf/configure: Delete.
20311         * configure.in: Remove support for elf directories in sysdeps.
20313         * configure: Regenerated.
20314         * sysdeps/i386/configure: Regenerated.
20315         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20316         * sysdeps/powerpc/powerpc64/configure: Regenerated.
20317         * sysdeps/s390/s390-32/configure: Regenerated.
20318         * sysdeps/s390/s390-64/configure: Regenerated.
20319         * sysdeps/sh/configure: Regenerated.
20320         * sysdeps/sparc/configure: Regenerated.
20321         * sysdeps/x86_64/configure: Regenerated.
20323 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
20325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20327         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20328         denormal result into account.
20330 2012-03-25  Roland McGrath  <roland@hack.frob.com>
20332         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20333         Reported by Allan McRae <allan@archlinux.org>.
20335 2012-03-23  Jeff Law  <law@redhat.com>
20337         * nss/getnssent.c (__nss_getent): Fix typo.
20339 2012-03-23  David S. Miller  <davem@davemloft.net>
20341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20343 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
20345         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20346         to pad to uint64_t for each field.
20347         (dl_tls_index): Replace unsigned long with uint64_t.
20349 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
20350         Paul Pluzhnikov  <ppluzhnikov@google.com>
20352         [BZ #6528]
20353         * grp/Makefile (otherlibs): Don't set it.
20354         * inet/Makefile (otherlibs): Likewise.
20355         * login/Makefile (otherlibs): Likewise.
20356         * nscd/Makefile (otherlibs): Likewise.
20357         * posix/Makefile (otherlibs): Likewise.
20358         * pwd/Makefile (otherlibs): Likewise.
20359         * rt/Makefile (otherlibs): Likewise.
20360         * sunrpc/Makefile (otherlibs): Likewise.
20361         * nss/Makefile (otherlibs): Likewise.
20362         Add libnss_files to routines and static-only-routines.
20363         ($(objpfx)getent): Remove rule.
20364         * resolv/Makefile: Add libnss_dns and libresolv to routines and
20365         static-only-routines.
20367 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20369         [BZ #13892]
20370         * math/s_cexp.c: Include <float.h>.
20371         (__cexp): Handle exp result overflowing not necessarily
20372         overflowing both real and imaginary parts of result.
20373         * math/s_cexpf.c: Likewise.
20374         * math/s_cexpl.c: Likewise.
20375         * math/libm-test.inc (cexp_test): Add more tests.
20376         * sysdeps/i386/fpu/libm-test-ulps: Update.
20377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20379 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20381         * include/link.h (ELFW): New macro.
20382         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20383         Replace ELF64_R_TYPE with ELFW(R_TYPE).
20385 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20387         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20388         with uint64_t.
20390 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20392         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20393         declaration.
20394         (struct La_x32_retval): Likewise.
20396 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20398         * sysdeps/x86_64/preconfigure.in: New file.
20399         * sysdeps/x86_64/preconfigure: New generated file.
20401 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20403         [BZ #13824]
20404         * math/e_exp2l.c: Include <float.h>.
20405         (__ieee754_exp2l): Handle overflow and underflow cases
20406         separately.  Only pass fractional part of argument to
20407         __ieee754_expl.
20408         * math/libm-test.inc (exp2_test): Add more tests.
20410         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20411         negating x to take absolute value.
20412         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20413         Likewise.
20414         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20415         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20416         Likewise.
20417         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20418         computing low part if x was negated.
20419         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20421 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20423         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20424         la_x32_gnu_pltexit.
20425         (pltexit): Cast int_retval to ptrdiff_t.
20426         * elf/tst-auditmod3b.c: Likewise.
20427         * elf/tst-auditmod4b.c: Likewise.
20428         * elf/tst-auditmod5b.c: Likewise.
20429         * elf/tst-auditmod6b.c: Likewise.
20430         * elf/tst-auditmod6c.c: Likewise.
20431         * elf/tst-auditmod7b.c: Likewise.
20433         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20434         and x32_gnu_pltexit.
20436         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20437         __ELF_NATIVE_CLASS.
20438         (La_x32_regs): New macro.
20439         (La_x32_retval): Likewise.
20440         (la_x32_gnu_pltenter): New function prototype.
20441         (la_x32_gnu_pltexit): Likewise.
20443 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
20445         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20446         exponent.
20448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20450         * configure.in (libc_cv_cc_nofma): Check for option to disable
20451         generation of FMA instructions.
20452         * configure: Regenerate.
20453         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20454         * sysdeps/ieee754/dbl-64/Makefile: New file.
20455         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20456         Remove brandred-fma4.
20457         (CFLAGS-brandred-fma4.c): Remove.
20458         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20459         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20460         define.
20461         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20462         define.
20464 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20466         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20467         LLONG_MAX != LONG_MAX.
20468         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20469         (_fitoa_word): Likewise.
20470         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20471         LLONG_MAX != LONG_MAX.
20472         * stdio-common/_itowa.h: Include <_itoa.h>.
20473         (_itowa_word): Use _ITOA_WORD_TYPE on value.
20474         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
20475         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
20476         only if not defined.
20477         (_ITOA_WORD_TYPE): Likewise.
20478         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20479         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20481 2012-03-21  David S. Miller  <davem@davemloft.net>
20483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20485 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20487         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20488         of x86_64 when setting libc_cv_slibdir, libdir and
20489         libc_cv_localedir.
20490         * sysdeps/unix/sysv/linux/configure: Regenerated.
20492 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20494         * manual/lang.texi (Old Varargs): Remove section.
20495         (How Variadic): Update menu.
20496         (va_start): Do not mention varargs.h.
20498 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20499             Joseph Myers  <joseph@codesourcery.com>
20501         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20502         link test.
20503         * configure: Regenerated.
20505 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20507         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20508         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20509         conformtest.pl
20511 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20513         * NOTES: Remove.
20514         * Makefile (files-for-dist): Remove NOTES.
20515         (NOTES): Remove rule.
20516         * README: Don't refer to NOTES.
20517         * manual/creature.texi: Don't include macros.texi.
20518         * manual/intro.texi (creature.texi): Remove comment referring to
20519         NOTES.
20521         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20522         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20523         * configure: Regenerated.
20524         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20525         LIBC_TRY_CC_OPTION.
20526         (libc_cv_as_i686): Likewise.
20527         (libc_cv_cc_avx): Likewise.
20528         (libc_cv_cc_sse2avx): Likewise.
20529         (libc_cv_cc_fma4): Likewise.
20530         (libc_cv_cc_novzeroupper): Likewise.
20531         * sysdeps/i386/configure: Regenerated.
20533         [BZ #13883]
20534         * sysdeps/i386/fpu/s_cexp.S: Remove.
20535         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20536         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20537         * math/libm-test.inc (cexp_test): Add more tests.
20538         * sysdeps/i386/fpu/libm-test-ulps: Update.
20539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20541 2012-03-21  Allan McRae  <allan@archlinux.org>
20543         * timezone/Makefile: Do not install iso3166.tab and zone.tab
20545 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20547         [BZ #13871]
20548         * math/w_exp2.c: Do not include <float.h>.
20549         (o_threshold, u_threshold): Remove.
20550         (__exp2): Calculate result before checking finiteness and calling
20551         __kernel_standard.
20552         * math/w_exp2f.c: Likewise.
20553         * math/w_exp2l.c: Likewise.
20554         * math/libm-test.inc (exp2_test): Require overflow exception for
20555         1e6 input.
20557         [BZ #3866]
20558         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20559         range of signed 64-bit integers before using fistpll.  Remove
20560         checks for whether integers fit in mantissa bits.
20561         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20562         the range of signed 32-bit integers before using fistpl.  Remove
20563         checks for whether integers fit in mantissa bits.
20564         * sysdeps/i386/fpu/e_powl.S (p64): New object.
20565         (__ieee754_powl): Test for y outside the range of signed 64-bit
20566         integers before using fistpll.  Reduce 64-bit values to 63-bit
20567         ones as needed.
20568         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20569         divide-by-zero is raised for zero to large negative powers.
20570         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20571         (__ieee754_powl): Test for y outside the range of signed 64-bit
20572         integers before using fistpll.  Reduce 64-bit values to 63-bit
20573         ones as needed.
20574         * math/libm-test.inc (pow_test): Add more tests.
20576 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20578         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20579         <stdio-common/_itoa.h>.
20580         * debug/segfault.c: Likewise.
20581         * elf/dl-cache.c: Likewise.
20582         * elf/dl-minimal.c: Likewise.
20583         * elf/dl-misc.c: Likewise.
20584         * elf/dl-sysdep.c: Likewise.
20585         * elf/dl-version.c: Likewise.
20586         * elf/rtld.c: Likewise.
20587         * hurd/hurdsock.c: Likewise.
20588         * hurd/lookup-retry.c: Likewise.
20589         * malloc/malloc.c: Likewise.
20590         * malloc/mtrace.c: Likewise.
20591         * nscd/nscd_getgr_r.c: Likewise.
20592         * nscd/nscd_getpw_r.c: Likewise.
20593         * nscd/nscd_getserv_r.c: Likewise.
20594         * posix/getopt_init.c: Likewise.
20595         * posix/wordexp.c: Likewise.
20596         * stdio-common/_itoa.c: Likewise.
20597         * stdio-common/printf_fphex.c: Likewise.
20598         * stdio-common/vfprintf.c: Likewise.
20599         * string/_strerror.c: Likewise.
20600         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20601         * sysdeps/i386/i686/hp-timing.h: Likewise.
20602         * sysdeps/mach/_strerror.c: Likewise.
20603         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20604         * sysdeps/mach/hurd/sethostid.c: Likewise.
20605         * sysdeps/mach/hurd/xmknodat.c: Likewise.
20606         * sysdeps/mach/xpg-strerror.c: Likewise.
20607         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20608         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20609         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20610         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20611         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20612         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20613         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20614         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20615         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20616         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20617         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20618         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20619         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20620         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20621         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20622         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20623         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20624         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20625         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20626         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20627         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20629         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20631         * stdio-common/_itoa.h: Moved to ...
20632         * sysdeps/generic/_itoa.h: Here.
20634         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20636         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20637         instead of "_itoa.h" and "_itowa.h".
20638         * stdio-common/vfprintf.: Likewise.
20640 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20642         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20643         <bits/wordsize.h>.
20644         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20645         (__signbit): Likwise.
20646         (llrintf): Likwise.
20647         (llrint): Likwise.
20649 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20651         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20652         __WORDSIZE != 64.
20654 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
20656         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20657         OVERFLOW_EXCEPTION_OK.
20658         * math/libm-test.inc ("Philosophy"): Update comment about
20659         exception testing.
20660         (OVERFLOW_EXCEPTION): Define.
20661         (OVERFLOW_EXCEPTION_OK): Likewise.
20662         (INVALID_EXCEPTION_OK): Renumber.
20663         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20664         (IGNORE_ZERO_INF_SIGN): Likewise.
20665         (test_exceptions): Handle FE_OVERFLOW.
20666         (exp10_test): Expect overflow exceptions.
20667         (exp2_test): Likewise.
20668         (expm1_test): Likewise.
20669         (nextafter_test): Likewise.
20670         (pow_test): Likewise.
20671         (scalbn_test): Likewise.
20672         (scalbln_test): Likewise.
20674 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20676         * sysdeps/x86_64/bits/atomic.h
20677         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20678         64bit integer.
20679         (atomic_exchange_acq): Likewise.
20680         (__arch_exchange_and_add_body): Likewise.
20681         (__arch_add_body): Likewise.
20682         (atomic_add_negative): Likewise.
20683         (atomic_add_zero): Likewise.
20685 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20687         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20688         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20690 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20692         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20693         Check __x86_64__ instead of __WORDSIZE.
20695 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20697         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20699 2012-03-19  David S. Miller  <davem@davemloft.net>
20701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20703         * sysdeps/sparc/fpu/fenv_private.h: New file.
20704         * sysdeps/sparc/fpu/math_private.h: Use it.
20705         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20706         Remove.
20707         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20708         (libc_feholdexcept_setroundl): Remove.
20709         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20710         Remove.
20711         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20712         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20714 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20716         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20717         int64_t instead of long int.
20718         (INSERT_WORDS64): Likwise.
20720 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20722         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20723         _Unwind_GetCFA return to _Unwind_Ptr first.
20725 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
20727         [BZ #13629]
20728         * math/s_clog.c: Include <float.h>.
20729         (__clog): Scale large or subnormal inputs.
20730         * math/s_clogf.c: Likewise.
20731         * math/s_clogl.c: Likewise.
20732         * math/s_clog10.c: Include <float.h>.
20733         (M_LOG10_2): Define.
20734         (__clog10): Scale large or subnormal inputs.
20735         * math/s_clog10f.c: Likewise.
20736         * math/s_clog10l.c: Likewise.
20737         * math/libm-test.inc (clog_test): Add more tests.
20738         (clog10_test): Likewise.
20739         * sysdeps/i386/fpu/libm-test-ulps: Update.
20740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20742         [BZ #11451]
20743         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20744         x and y.
20745         * math/libm-test.inc (atan2_test): Add another test.
20747         * Makerules (common-objdir-compile): Remove.
20748         * sysdeps/unix/Makefile (config-generated): Do not add
20749         $(unix-generated) to variable.
20750         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20751         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20752         Remove rule.
20753         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20754         Likewise.
20755         [generic bits/local_lim.h] (before-compile): Do not append to
20756         variable.
20757         [generic bits/local_lim.h] (common-generated): Likewise.
20758         [generic sys/param.h] (before-compile): Do not append to variable.
20759         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20760         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20761         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20762         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20763         include.
20764         [generic sys/param.h] (sys/param.h-includes): Remove variable.
20765         [generic sys/param.h] (sys/param.h-includes): Remove rule.
20766         [generic sys/param.h] ($(addprefix
20767         $(common-objpfx),$(sys/param.h-includes))): Likewise.
20768         [generic sys/param.h] (common-generated): Do not append to
20769         variable.
20770         [generic sys/param.h] (sysdep_headers): Likewise.
20771         [generic bits/errno.h] (before-compile): Do not append to
20772         variable.
20773         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20774         rule.
20775         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20776         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20777         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20778         [generic bits/errno.h] (common-generated): Do not append to
20779         variable.
20780         [generic bits/ioctls.h] (before-compile): Do not append to
20781         variable.
20782         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20783         rule.
20784         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20785         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20786         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20787         rule.
20788         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20789         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20790         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20791         [generic bits/ioctls.h] (common-generated): Do not append to
20792         variable.
20793         [generic sys/syscall.h] (syscall.h): Remove variable.
20794         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20795         rule.
20796         [generic sys/syscall.h] (before-compile): Do not append to
20797         variable.
20798         [generic sys/syscall.h] (common-generated): Likewise.
20799         * sysdeps/unix/errnos-tmpl.c: Remove file.
20800         * sysdeps/unix/errnos.awk: Likewise.
20801         * sysdeps/unix/ioctls-tmpl.c: Likewise.
20802         * sysdeps/unix/ioctls.awk: Likewise.
20803         * sysdeps/unix/mk-local_lim.c: Likewise.
20804         * sysdeps/unix/snarf-ioctls: Likewise.
20806 2012-03-19  Richard Henderson  <rth@twiddle.net>
20808         * sysdeps/i386/fpu/fenv_private.h: New file.
20809         * sysdeps/i386/fpu/math_private.h: Use it.
20810         (math_opt_barrier, math_force_eval): Remove.
20811         (libc_feholdexcept_setround_53bit): Remove.
20812         (libc_feupdateenv_53bit): Remove.
20813         * sysdeps/x86_64/fpu/math_private.h: Likewise.
20814         (math_opt_barrier, math_force_eval): Remove.
20815         (libc_feholdexcept): Remove.
20816         (libc_feholdexcept_setround): Remove.
20817         (libc_fetestexcept, libc_fesetenv): Remove.
20818         (libc_feupdateenv_test): Remove.
20819         (libc_feupdateenv, libc_feholdsetround): Remove.
20820         (libc_feresetround): Remove.
20822         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20823         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20825         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20826         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20827         (libc_feupdateenv_testl): New.
20828         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20829         (libc_feupdateenv_testf): New.
20830         (libc_feupdateenv): Use libc_feupdateenv_test.
20831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20832         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20834         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20835         (libc_feholdsetroundf, libc_feholdsetroundl): New.
20836         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20837         (libc_feresetround_noex): New.
20838         (libc_feresetround_noexf): New.
20839         (libc_feresetround_noexl): New.
20840         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20841         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20842         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20843         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20844         SET_RESTORE_ROUND.
20845         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20846         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20847         (__cos): Likewise.
20848         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20849         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20850         SET_RESTORE_ROUND_NOEX.
20851         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20852         SET_RESTORE_ROUND_NOEXF.
20853         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20854         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20855         (libc_feholdsetroundf): New.
20856         (libc_feresetround, libc_feresetroundf): New.
20858         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20859         (libc_feholdexcept_setround_53bit): Convert from macro to function.
20860         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
20862         * sysdeps/generic/math_private.h: Include <fenv.h>.
20863         (default_libc_feholdexcept): New.
20864         (default_libc_feholdexcept_setround): New.
20865         (default_libc_fesetenv, default_libc_feupdateenv): New.
20866         (libc_feholdexcept): Only define if undefined.
20867         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20868         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20869         (libc_feholdexcept_setroundl): Likewise.
20870         (libc_feholdexcept_setround_53bit): Likewise.
20871         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20872         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20873         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20874         (libc_feupdateenv_53bit): Likewise.
20875         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20876         (libc_feholdexcept): Convert from macro to inline function.
20877         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20878         (libc_fesetenv, libc_feupdateenv): Likewise.
20880         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20881         not previously defined.
20882         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20883         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20884         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20885         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20886         * sysdeps/ieee754/flt-32/math_private.h: New file.
20887         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20888         math_private.h below SET_FLOAT_WORD.
20889         (__isnan, __isinf_ns, __finite): Remove.
20890         (__isnanf, __isinf_nsf, __finitef): Remove.
20892 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
20894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20896 2012-03-17  David S. Miller  <davem@davemloft.net>
20898         [BZ #6471]
20899         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20900         for 2.16.
20902 2012-03-16  David S. Miller  <davem@davemloft.net>
20904         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20905         warnings.
20907         [BZ #6471]
20908         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20909         properly.
20910         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20911         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20912         sysdep_routines when subdir is sysvipc.
20913         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20914         __getshmlba helper.
20916         * sysdeps/sparc/fpu/libm-test/ulps: Update.
20918 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20920         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20921         [__LP64__].
20923 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20925         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20926         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20927         (__lround): Renamed to ...
20928         (__llround): This.  Replace long int with long long int.
20929         Define lround functions as aliases of llround functions.
20930         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20932 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20934         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20935         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
20936         adresses to uintptr_t.  Replace "long int" and "unsigned long
20937         int" with "greg_t" on va_arg.
20939 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20941         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20942         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20944         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20945         Move e_machine check before EI_CLASS check.  Handle x32
20946         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20947         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20948         SKIP_EM_IA_64 and include
20949         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20951         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20952         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20953         (add_system_dir): New macro.
20955         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20956         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20958 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
20960         [BZ #2551]
20961         [BZ #2552]
20962         [BZ #2553]
20963         [BZ #2554]
20964         [BZ #2562]
20965         [BZ #2563]
20966         [BZ #2565]
20967         [BZ #2566]
20968         [BZ #2576]
20969         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20970         (y0): Likewise.
20971         * math/w_j0f.c (j0f): Likewise.
20972         (y0f): Likewise.
20973         * math/w_j0l.c (__j0l): Likewise.
20974         (__y0l): Likewise.
20975         * math/w_j1.c (j1): Likewise.
20976         (y1): Likewise.
20977         * math/w_j1f.c (j1f): Likewise.
20978         (y1f): Likewise.
20979         * math/w_j1l.c (__j1l): Likewise.
20980         (__y1l): Likewise.
20981         * math/w_jn.c (jn): Likewise.
20982         (yn): Likewise.
20983         * math/w_jnf.c (jnf): Likewise.
20984         (ynf): Likewise.
20985         * math/w_jnl.c (__jnl): Likewise.
20986         (__ynl): Likewise.
20987         * math/libm-test.inc (j0_test): Add more tests.
20988         (j1_test): Likewise.
20989         (jn_test): Likewise.  Add trailing semicolon to existing test.
20990         (y0_test): Likewise.
20991         (y1_test): Likewise.
20992         * sysdeps/i386/fpu/libm-test-ulps: Update.
20993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20995         [BZ #13851]
20996         [BZ #13854]
20997         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20998         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20999         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21000         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21001         (__tanl): Set errno for infinite argument.
21002         * sysdeps/i386/fpu/mptan.c: Remove.
21003         * sysdeps/i386/fpu/s_tan.S: Likewise.
21004         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21005         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21006         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21007         * math/libm-test.inc (tan_test): Add more tests and enable more
21008         tests for double and long double.
21009         * sysdeps/i386/fpu/libm-test-ulps: Update.
21010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21012 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21014         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21015         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21017 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21019         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21020         * configure.in: Use it for both main tree and add-ons.
21021         * configure: Regenerated.
21023 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21025         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21027 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21029         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21030         in comment.
21032         [BZ #13851]
21033         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21034         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21035         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21036         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21037         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21038         infinite argument.
21039         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21040         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21041         != 0 for prec == 2.
21042         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21043         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21044         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21045         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21046         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21047         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21048         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21049         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21050         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21051         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21052         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21053         * math/libm-test.inc (cos_test): Add more tests and enable more
21054         tests for long double.
21055         (sin_test): Likewise.
21056         (sincos_test): Likewise.
21057         * sysdeps/i386/fpu/libm-test-ulps: Update.
21058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21060 2012-03-16  David S. Miller  <davem@davemloft.net>
21062         * sysdeps/sparc/fpu/math_private.h: New file.
21064 2012-03-15  David S. Miller  <davem@davemloft.net>
21066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21067         file.
21068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21070         file.
21071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21076         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21077         sysdep routines.
21078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21080         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21081         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21083         * sysdeps/sparc/sparc-ifunc.h: New file.
21084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21085         sparc-ifunc.h
21086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21088         Likewise.
21089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21090         Likewise.
21091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21095         Likewise.
21096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21101         Likewise.
21102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21103         Likewise.
21104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21108         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21109         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21110         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21111         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21112         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21118         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21119         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21120         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21121         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21122         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21123         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21124         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21125         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21126         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21127         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21129 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21131         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21132         scaling.
21133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21135 2012-03-15  Andreas Jaeger  <aj@suse.de>
21137         [BZ #13852]
21138         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21139         ieee754/flt-32 implementation for sin, cos and sincos.
21140         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21141         * sysdeps/i386/fpu/s_cosf.S: Likewise.
21142         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21143         * sysdeps/i386/fpu/s_sinf.S: Likewise.
21144         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21145         ieee754/flt-32 implementation for tan.
21147         * math/libm-test.inc (cos_test): Enable some large input tests for
21148         float as well
21149         (sin_test): Likewise.
21150         (sincos_test): Likewise.
21151         (tan_test): Add tests for large input.
21153         * sysdeps/i386/fpu/libm-test-ulps: Update.
21155 2012-03-15  Andreas Jaeger  <aj@suse.de>
21157         [BZ #13658]
21158         * math/libm-test.inc (cos_test): Add more test cases.
21159         (sin_test): Likewise.
21160         (sincos_test): Likewise.
21162 2012-03-15  Andreas Jaeger  <aj@suse.de>
21164         [BZ #13837]
21165         * math/libm-test.inc (cos_test): Add a test case for large input
21166         value.
21167         (sin_test): Likewise.
21168         (sincos_test): Likewise.
21170 2012-03-15  Andreas Jaeger  <aj@suse.de>,
21171         Joseph Myers  <joseph@codesourcery.com>
21173         [BZ #13658]
21174         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21175         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21176         * sysdeps/i386/fpu/branred.c: Likewise.
21177         * sysdeps/i386/fpu/dosincos.c: Likewise.
21178         * sysdeps/i386/fpu/mpa.c: Likewise.
21179         * sysdeps/i386/fpu/s_cos.S: Likewise.
21180         * sysdeps/i386/fpu/s_sin.S: Likewise.
21181         * sysdeps/i386/fpu/s_sincos.S: Likewise.
21182         * sysdeps/i386/fpu/sincos32.c: Likewise.
21184         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21185         Define.
21186         (libc_feupdateenv_53bit): Define.
21187         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21188         Define.
21189         (libc_feupdateenv_53bit): Define.
21191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21192         53 bit (without extend i386 double precision).
21194         * math/libm-test.inc (sincos_test): Add tests for large input.
21195         (sin): Likewise.
21196         (cos): Likewise.
21198         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21200 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21204 2012-03-15  David S. Miller  <davem@davemloft.net>
21206         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21207         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21208         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21209         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21215         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21216         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21217         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21218         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21219         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21222         file.
21223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21225         file.
21226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21228         file.
21229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21231         file.
21232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21233         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21234         fmin/fmax sysdep routines.
21235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21237 2012-03-14  David S. Miller  <davem@davemloft.net>
21239         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21240         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21241         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21243         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21244         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21245         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21246         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21247         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21248         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21249         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21251         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21252         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21253         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21254         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21255         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21256         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21257         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21259         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21260         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21261         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21262         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21263         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21264         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21265         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21266         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21267         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21268         routines.
21269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21270         file.
21271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21273         file.
21274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21276         file.
21277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21279         file.
21280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21282         file.
21283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21285         file.
21286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21287         file.
21288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21289         file.
21290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21291         file.
21292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21293         New file.
21294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21295         file.
21296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21297         file.
21298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21300         file.
21301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21303         file.
21304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21306         file.
21307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21309         VIS3 routines.
21311         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21312         New file.
21314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21316         * sysdeps/sparc/configure.in: New file.
21317         * sysdeps/sparc/configure: Generate.
21318         * configure.in (libc_cv_sparc_as_vis3): Substitute.
21319         * configure: Regenerate.
21320         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21321         * config.make.in (have-as-vis3): New.
21322         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21323         available use -Av9d instead of -Av9a.
21324         * sysdeps/sparc/sparc64/Makefile: Likewise.
21325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21327         New file.
21328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21329         file.
21330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21331         New file.
21332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21333         file.
21334         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21335         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21336         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21337         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21338         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21340         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21341         fzeros/fnegs to load 0x80000000 into a float register instead of
21342         using the stack.
21343         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21345 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21348         bits/syscall.h.
21349         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21350         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21351         ($(inst_includedir)/bits/syscall.h): Remove rule.
21352         ($(objpfx)bits/syscall.d): Include instead of
21353         $(objpfx)syscall-list.d.
21354         (generated): Change syscall-list.h and syscall-list.d to
21355         bits/syscall.h and bits/syscall.d.
21357 2012-03-14  Roland McGrath  <roland@hack.frob.com>
21359         [BZ #13846]
21360         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21362 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21364         [BZ #13841]
21365         * math/s_csqrt.c: Include <float.h>.
21366         (__csqrt): Scale large or subnormal inputs.
21367         * math/s_csqrtf.c: Likewise.
21368         * math/s_csqrtl.c: Likewise.
21369         * math/libm-test.inc (csqrt_test): Add more tests.
21370         * sysdeps/i386/fpu/libm-test-ulps: Update.
21371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21373         [BZ #13840]
21374         * math/libm-test.inc (hypot_test): Add more tests.
21376 2012-03-13  David S. Miller  <davem@davemloft.net>
21378         [BZ #13840]
21379         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21380         double-precision for the calculation instead of scaling.
21382 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
21384         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21385         manipulate bits before adding and subtracting TWO52[sx].
21386         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21387         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21388         Likewise.
21389         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21391 2012-03-13  David S. Miller  <davem@davemloft.net>
21393         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21394         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21395         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21396         rtld-global-offsets.h
21397         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21399         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21400         large parameters.
21402         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21404         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21405         'err' in the ifdef scope in which it is actually used.
21407         * nss/nss_db/db-init.c: Include string.h
21409 2012-03-12  David S. Miller  <davem@davemloft.net>
21411         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21412         masking out of the most significant byte of random value used.
21413         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21414         Fix coding style in previous change.
21416         * sysdeps/unix/sysv/linux/kernel-features.h
21417         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21418         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21419         expression.
21420         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21421         later.
21423 2012-03-11  David S. Miller  <davem@davemloft.net>
21425         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21426         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21427         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21428         for 'resultvar' otherwise things get truncated on 64-bit.
21430         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21431         Fix masking out of the most significant byte of random value used.
21433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21435 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
21437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21439 2012-03-09  David S. Miller  <davem@davemloft.net>
21441         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21442         variables with appropriate CPP guards.
21443         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21444         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
21445         on resulting framesize and the management of the outregs buffer for pltexit.
21446         Preserve floating point return values across _dl_call_pltexit call.
21447         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21448         framesize and the management of the outregs buffer for pltexit.
21449         Preserve floating point return values across _dl_call_pltexit
21450         call.
21451         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21452         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21453         (print_exit): Fix format string for return register value.
21455 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
21457         * sunrpc/Makefile (others): Add rpcgen.
21458         ($(objpfx)rpcgen): Remove special build rule and dependency on
21459         libc.
21460         * sunrpc/rpcgen.c: New file.
21462 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
21464         [BZ #13673]
21465         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21466         * stdio-common/bug-vfprintf-nargs.c: Likewise.
21467         * sysdeps/i386/crti.S: Likewise.
21468         * sysdeps/i386/crtn.S: Likewise.
21469         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21470         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21471         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21472         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21473         * sysdeps/sh/crti.S: Likewise.
21474         * sysdeps/sh/crtn.S: Likewise.
21475         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21477         [BZ #13673]
21478         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21479         with URL.
21480         * locale/programs/locfile-kw.gperf: Likewise.
21481         * locale/programs/charmap-kw.h: Regenerated.
21482         * locale/programs/locfile-kw.h: Likewise.
21484         [BZ #13673]
21485         * intl/plural.y: Replace FSF snail mail address with URL.
21486         * intl/plural.c: Regenerated.
21488 2012-03-09  Richard Henderson  <rth@twiddle.net>
21490         * include/math_private.h: Remove file.
21491         * math/math_private.h: Move file ...
21492         * sysdeps/generic/math_private.h: ... here.
21494         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21495         * sysdeps/powerpc/fpu/math_private.h: Likewise.
21496         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21498         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21499         and <math_private.h>.
21500         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21501         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21502         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21503         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21504         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21505         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21506         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21507         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21508         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21509         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21510         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21511         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21512         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21513         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21514         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21515         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21516         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21517         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21518         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21519         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21520         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21521         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21522         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21523         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21524         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21525         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21526         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21527         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21528         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21529         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21530         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21531         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21532         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21533         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21534         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21535         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21536         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21537         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21538         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21539         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21540         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21541         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21542         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21543         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21544         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21545         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21546         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21547         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21548         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21549         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21550         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21551         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21552         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21553         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21554         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21555         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21556         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21557         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21558         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21559         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21560         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21561         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21562         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21563         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21564         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21565         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21566         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21567         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21568         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21569         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21570         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21571         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21572         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21573         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21574         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21575         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21576         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21577         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21578         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21579         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21580         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21581         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21582         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21583         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21584         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21585         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21586         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21587         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21588         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21589         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21590         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21591         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21592         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21593         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21594         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21595         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21596         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21597         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21598         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21599         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21600         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21601         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21602         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21603         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21604         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21605         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21606         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21607         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21608         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21609         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21610         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21611         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21612         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21613         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21614         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21615         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21616         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21617         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21618         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21619         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21620         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21621         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21622         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21623         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21624         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21625         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21626         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21627         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21628         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21629         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21630         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21631         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21632         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21633         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21634         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21635         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21636         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21637         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21638         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21639         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21640         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21641         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21642         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21643         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21644         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21645         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21646         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21647         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21648         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21649         * sysdeps/ieee754/k_standard.c: Likewise.
21650         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21651         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21652         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21653         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21654         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21655         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21656         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21657         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21658         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21659         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21660         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21661         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21662         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21663         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21664         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21665         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21666         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21667         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21668         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21669         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21670         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21671         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21672         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21673         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21674         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21675         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21676         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21677         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21678         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21679         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21680         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21681         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21682         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21683         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21684         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21685         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21686         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21687         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21688         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21689         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21690         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21691         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21692         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21693         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21694         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21695         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21696         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21697         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21698         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21699         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21700         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21701         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21702         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21703         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21704         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21705         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21706         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21707         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21708         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21709         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21710         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21711         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21712         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21713         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21714         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21715         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21716         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21717         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21718         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21719         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21720         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21721         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21722         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21723         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21724         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21725         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21726         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21727         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21728         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21729         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21730         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21731         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21732         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21733         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21734         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21735         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21736         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21737         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21738         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21739         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21740         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21741         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21742         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21743         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21744         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21745         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21746         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21747         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21748         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21749         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21750         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21751         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21752         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21754         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21755         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21756         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21757         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21758         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21759         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21760         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21761         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21762         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21763         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21764         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21765         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21766         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21767         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21768         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21769         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21770         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21771         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21772         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21773         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21774         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21775         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21776         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21777         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21778         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21779         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21780         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21781         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21782         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21783         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21784         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21785         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21786         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21787         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21788         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21789         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21790         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21791         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21792         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21793         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21794         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21795         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21796         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21797         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21798         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21799         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21800         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21801         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21802         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21803         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21804         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21805         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21806         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21807         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21808         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21809         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21810         * sysdeps/ieee754/s_lib_version.c: Likewise.
21811         * sysdeps/ieee754/s_matherr.c: Likewise.
21812         * sysdeps/ieee754/s_signgam.c: Likewise.
21813         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21814         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21815         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21816         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21817         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21818         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21819         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21820         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21821         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21822         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21823         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21824         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21825         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21826         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21827         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21828         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21829         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21830         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21831         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21832         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21833         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21835 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
21837         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21838         * sunrpc/rpc_main.c: Likewise.
21839         * sunrpc/rpc_svcout.c: Likewise.
21841 2012-03-09  David S. Miller  <davem@davemloft.net>
21843         * include/math_private.h: New file.
21845 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
21847         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21848         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21849         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21850         from <bits/socket_type.h>.
21851         (enum __socket_type): Don't define here.
21852         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21853         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21854         bits/socket_type.h.
21856         [BZ #13566]
21857         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21858         checking __USE_GNU.
21860         * Makerules ($(inst_includedir)/%.h): New rule.
21861         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21862         (install-others): Remove variable setting.
21863         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21865 2012-03-08  Richard Henderson  <rth@twiddle.net>
21867         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21868         from macro to inline function; merge with the
21869         !__LIBC_INTERNAL_MATH_INLINES version.
21870         (__ieee754_sqrtf): Likewise.
21872         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21873         to inline function.
21874         (__rintf, __floor, __floorf): Likewise.
21876         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21877         macro to inline function.
21878         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21880         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21881         not <math/math_private.h>.
21883 2012-03-08  David S. Miller  <davem@davemloft.net>
21885         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21886         copyright year.
21887         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21889 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
21891         * resolv/gai_misc.c (handle_requests): Fix struct timespec
21892         normalization.
21893         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21894         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21896 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
21898         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
21899         be defined individually, they must be defined as a block.  Define
21900         S for printing a string instead of hidint the different by using a
21901         macro for adding the 'l'.
21902         * stdio-common/tst-fphex-wide.c: Adjust.
21904 2012-03-07  Marek Polacek  <polacek@redhat.com>
21906         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21908 2012-03-08  Marek Polacek  <polacek@redhat.com>
21910         [BZ #13806]
21911         * stdio-common/Makefile (tests): Add tst-fphex-wide.
21912         * stdio-common/tst-fphex.c: Define a few macros to make the
21913         test reusable.  Use them.
21914         * stdio-common/tst-fphex-wide.c: New file.
21916 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
21918         [BZ #6911]
21919         * manual/macros.texi (gnusystems): New macro.
21920         (nongnusystems): Likewise.
21921         (gnulinuxhurdsystems): Likewise.
21922         (gnuhurdsystems): Likewise..
21923         (gnulinuxsystems): Likewise.
21924         * manual/charset.texi: Use new macros or @theglibc{} to refer to
21925         variants of the GNU system, not "GNU system".
21926         * manual/conf.texi: Likewise.
21927         * manual/errno.texi: Likewise.  Update example of errno macro
21928         expansion.
21929         * manual/filesys.texi: Likewise.
21930         (getumask): Document as specific to GNU/Hurd.
21931         * manual/install.texi: Likewise.  Reword some references to
21932         GNU/Linux.
21933         * manual/intro.texi: Likewise.
21934         * manual/io.texi: Likewise.
21935         (File Name Portability): Detail which constraints are inapplicable
21936         to all GNU systems and which are only inapplicable to GNU/Hurd.
21937         * manual/job.texi: Likewise.
21938         * manual/llio.texi: Likewise.
21939         (O_NOCTTY): Document as present on GNU/Linux.
21940         * manual/maint.texi: Likewise.
21941         * manual/memory.texi: Likewise.
21942         * manual/pattern.texi: Likewise.
21943         * manual/pipe.texi: Likewise.
21944         * manual/process.texi: Likewise.
21945         * manual/resource.texi: Likewise.
21946         (RUSAGE_CHILDREN): Remove statement about specifying a particular
21947         child on GNU/Hurd.
21948         * manual/setjmp.texi: Likewise.
21949         * manual/signal.texi: Likewise.
21950         * manual/startup.texi: Likewise.
21951         * manual/stdio.texi: Likewise.
21952         * manual/terminal.texi: Likewise.
21953         (ONLCR): Document as POSIX.
21954         (OXTABS): Document availability on GNU/Linux as XTABS.
21955         (ONOEOT): Document availability separately from other bits.
21956         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21957         * manual/time.texi: Likewise.
21958         * manual/users.texi: Likewise.
21959         * INSTALL: Regenerated.
21960         * sysdeps/gnu/errlist.c: Regenerated.
21962         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21963         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21964         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
21965         puts.
21966         * configure: Regenerated.
21968 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
21970         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21971         default includes instead of AC_HEADER_CHECK.
21972         * sysdeps/i386/configure: Regenerated.
21974         [BZ #10716]
21975         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21976         * math/s_cacoshf.c (__cacoshf): Likewise.
21977         * math/s_cacoshl.c (__cacoshl): Likewise.
21978         * math/s_casinh.c (__casinh): Set signs of result from argument.
21979         * math/s_casinhf.c (__casinhf): Likewise.
21980         * math/s_casinhl.c (__casinhl): Likewise.
21981         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21982         (casinh_test): Add more tests.
21983         * sysdeps/i386/fpu/libm-test-ulps: Update.
21984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21986 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
21988         * po/zh_TW.po: Update from translation team.
21990         * login/Makefile (distribute): Remove variable.
21991         * catgets/Makefile: Likewise.
21992         * mach/Makefile: Likewise.
21993         * malloc/Makefile: Likewise.
21994         * misc/Makefile: Likewise.
21995         * iconv/Makefile: Likewise.
21996         * nscd/Makefile: Likewise.
21997         * hurd/Makefile: Likewise.
21998         * manual/Makefile: Likewise.
21999         * locale/Makefile: Likewise.
22000         * intl/Makefile: Likewise.
22001         * conform/Makefile: Likewise.
22002         * nss/Makefile: Likewise.
22003         * time/Makefile: Likewise.
22004         * soft-fp/Makefile: Likewise.
22005         * dirent/Makefile: Likewise.
22006         * gmon/Makefile: Likewise.
22007         * po/Makefile: Likewise.
22008         * rt/Makefile: Likewise.
22009         * socket/Makefile: Likewise.
22010         * math/Makefile: Likewise.
22011         * signal/Makefile: Likewise.
22012         * debug/Makefile: Likewise.
22013         * elf/Makefile: Likewise.
22014         * timezone/Makefile: Likewise.
22015         * stdlib/Makefile: Likewise.
22016         * iconvdata/Makefile: Likewise.
22017         * sunrpc/Makefile: Likewise.
22018         * io/Makefile: Likewise.
22019         * argp/Makefile: Likewise.
22020         * inet/Makefile: Likewise.
22021         * hesiod/Makefile: Likewise.
22022         * grp/Makefile: Likewise.
22023         * csu/Makefile: Likewise.
22024         * wctype/Makefile: Likewise.
22025         * crypt/Makefile: Likewise.
22026         * libio/Makefile: Likewise.
22027         * string/Makefile: Likewise.
22028         * nis/Makefile: Likewise.
22029         * resolv/Makefile: Likewise.
22030         * stdio-common/Makefile: Likewise.
22031         * wcsmbs/Makefile: Likewise.
22032         * dlfcn/Makefile: Likewise.
22033         * posix/Makefile: Likewise.
22035         [BZ #6959]
22036         * timezone/Makefile: Don't install timezone files, just the programs
22037         and scripts.
22039 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22041         * nss/databases.def: Add missing gshadow entry.
22043         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22045 2012-03-06  Marek Polacek  <polacek@redhat.com>
22047         [BZ #13726]
22048         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22049         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22050         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22051         * stdio-common/tst-long-dbl-fphex.c: New file.
22053 2012-03-06  David S. Miller  <davem@davemloft.net>
22055         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22056         (set_obp_int): New function.
22057         (get_obp_int): New function.
22058         (__get_clockfreq_via_dev_openprom): Likewise.
22059         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22060         Avoid unused variable warnings on 'val' and use builtin_expect.
22061         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22062         __builtin_expect.
22063         (INLINE_CLONE_SYSCALL): Likewise.
22065 2012-03-05  David S. Miller  <davem@davemloft.net>
22067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22069 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
22071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22073         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22074         only for |x| >= 40.
22075         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22077 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22079         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22080         Replace gettimeofday with __vdso_gettimeofday.
22082         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22083         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22084         __vdso_clock_gettime and __vdso_getcpu.
22086         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22087         time with __vdso_time.
22089 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22091         * manual/lang.texi (size_t): Note types to which size_t may be
22092         equivalent with the GNU C Library, but do not describe when
22093         differences between them are significant.
22095 2012-03-05  Andreas Jaeger  <aj@suse.de>
22097         * sysdeps/i386/fpu/libm-test-ulps: Update.
22099 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22101         [BZ #3976]
22102         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22103         (__ieee754_pow): Save and restore rounding mode and use
22104         round-to-nearest for main computations.
22105         * math/libm-test.inc (pow_test_tonearest): New function.
22106         (pow_test_towardzero): Likewise.
22107         (pow_test_downward): Likewise.
22108         (pow_test_upward): Likewise.
22109         (main): Call the new functions.
22110         * sysdeps/i386/fpu/libm-test-ulps: Update.
22111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22113         [BZ #3976]
22114         * math/libm-test.inc (cosh_test_tonearest): New function.
22115         (cosh_test_towardzero): Likewise.
22116         (cosh_test_downward): Likewise.
22117         (cosh_test_upward): Likewise.
22118         (sinh_test_tonearest): Likewise.
22119         (sinh_test_towardzero): Likewise.
22120         (sinh_test_downward): Likewise.
22121         (sinh_test_upward): Likewise.
22122         (main): Call the new functions.
22123         * sysdeps/i386/fpu/libm-test-ulps: Update.
22124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22126 2012-03-05  Tom de Vries  <tom@codesourcery.com>
22128         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22129         default stack guard is set in last bytes.
22130         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22132 2012-03-05  Kees Cook  <keescook@chromium.org>
22134         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22136         [BZ #13656]
22137         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22138         possibly allocate from heap instead of stack.
22139         * stdio-common/bug-vfprintf-nargs.c: New file.
22140         * stdio-common/Makefile (tests): Add nargs overflow test.
22142 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
22144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22146 2012-03-03  Marek Polacek  <polacek@redhat.com>
22148         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22149         * math/math_private.h: Likewise.
22150         * stdlib/tst-strtod.c: Likewise.
22151         * sysdeps/i386/i486/bits/atomic.h: Likewise.
22152         * sysdeps/x86_64/bits/atomic.h: Likewise.
22154 2012-03-02  David S. Miller  <davem@davemloft.net>
22156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22160         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22161         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22162         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22163         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22165 2012-03-02  Roland McGrath  <roland@hack.frob.com>
22167         [BZ #13792]
22168         * manual/examples/README: New file, says the example source files
22169         can be used under GPL>=2.
22170         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22171         line containing just "*/".
22172         * manual/examples/add.c: Add copyright header (GPL>=2).
22173         * manual/examples/argp-ex1.c: Likewise.
22174         * manual/examples/argp-ex2.c: Likewise.
22175         * manual/examples/argp-ex3.c: Likewise.
22176         * manual/examples/argp-ex4.c: Likewise.
22177         * manual/examples/atexit.c: Likewise.
22178         * manual/examples/db.c: Likewise.
22179         * manual/examples/dir.c: Likewise.
22180         * manual/examples/dir2.c: Likewise.
22181         * manual/examples/execinfo.c: Likewise.
22182         * manual/examples/filecli.c: Likewise.
22183         * manual/examples/filesrv.c: Likewise.
22184         * manual/examples/fmtmsgexpl.c: Likewise.
22185         * manual/examples/genpass.c: Likewise.
22186         * manual/examples/inetcli.c: Likewise.
22187         * manual/examples/inetsrv.c: Likewise.
22188         * manual/examples/isockad.c: Likewise.
22189         * manual/examples/longopt.c: Likewise.
22190         * manual/examples/memopen.c: Likewise.
22191         * manual/examples/memstrm.c: Likewise.
22192         * manual/examples/mkfsock.c: Likewise.
22193         * manual/examples/mkisock.c: Likewise.
22194         * manual/examples/mygetpass.c: Likewise.
22195         * manual/examples/pipe.c: Likewise.
22196         * manual/examples/popen.c: Likewise.
22197         * manual/examples/rprintf.c: Likewise.
22198         * manual/examples/search.c: Likewise.
22199         * manual/examples/select.c: Likewise.
22200         * manual/examples/setjmp.c: Likewise.
22201         * manual/examples/sigh1.c: Likewise.
22202         * manual/examples/sigusr.c: Likewise.
22203         * manual/examples/stpcpy.c: Likewise.
22204         * manual/examples/strdupa.c: Likewise.
22205         * manual/examples/strftim.c: Likewise.
22206         * manual/examples/strncat.c: Likewise.
22207         * manual/examples/subopt.c: Likewise.
22208         * manual/examples/swapcontext.c: Likewise.
22209         * manual/examples/termios.c: Likewise.
22210         * manual/examples/testopt.c: Likewise.
22211         * manual/examples/testpass.c: Likewise.
22212         * manual/examples/timeval_subtract.c: Likewise.
22214         [BZ #13792]
22215         * manual/time.texi (Elapsed Time): Move timeval_subtract example
22216         function to ...
22217         * manual/timeval_subtract.c.texi: ... here, new file.
22219 2012-03-02  David S. Miller  <davem@davemloft.net>
22221         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22223 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
22225         [BZ #3976]
22226         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22227         (__sin): Save and restore rounding mode and use round-to-nearest
22228         for all computations.
22229         (__cos): Save and restore rounding mode and use round-to-nearest
22230         for all computations.
22231         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22232         <fenv.h>.
22233         (tan): Save and restore rounding mode and use round-to-nearest for
22234         all computations.
22235         * math/libm-test.inc (cos_test_tonearest): New function.
22236         (cos_test_towardzero): Likewise.
22237         (cos_test_downward): Likewise.
22238         (cos_test_upward): Likewise.
22239         (sin_test_tonearest): Likewise.
22240         (sin_test_towardzero): Likewise.
22241         (sin_test_downward): Likewise.
22242         (sin_test_upward): Likewise.
22243         (tan_test_tonearest): Likewise.
22244         (tan_test_towardzero): Likewise.
22245         (tan_test_downward): Likewise.
22246         (tan_test_upward): Likewise.
22247         (main): Call the new functions.
22248         * sysdeps/i386/fpu/libm-test-ulps: Update.
22249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22251         [BZ #10135]
22252         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22253         small n, then large n, before computing and testing k+n.
22254         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22255         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22256         Likewise.
22257         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22258         Likewise.
22259         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22260         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22261         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22262         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22263         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22264         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22265         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22266         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22267         * math/libm-test.inc (scalbn_test): Add more tests.
22268         (scalbln_test): Likewise.
22270         * manual/filesys.texi (mode_t): Describe constraints on size and
22271         signedness, not exact equivalence to a particular type.
22272         (ino_t): Likewise.
22273         (ino64_t): Likewise.
22274         (dev_t): Likewise.
22275         (nlink_t): Likewise.
22276         (blkcnt_t): Likewise.
22277         (blkcnt64_t): Likewise.
22278         * manual/llio.texi (off_t): Likewise.
22280         [BZ #3976]
22281         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22282         (__ieee754_exp): Save and restore rounding mode and use
22283         round-to-nearest for all computations.
22284         * math/libm-test.inc (exp_test_tonearest): New function.
22285         (exp_test_towardzero): Likewise.
22286         (exp_test_downward): Likewise.
22287         (exp_test_upward): Likewise.
22288         (main): Call the new functions.
22289         * sysdeps/i386/fpu/libm-test-ulps: Update.
22290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22292 2012-03-01  Chris Demetriou  <cgd@google.com>
22294         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22295         have predictable order.
22297 2012-03-01  David S. Miller  <davem@davemloft.net>
22299         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22301         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22302         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22303         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22304         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22306         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22307         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22308         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22310         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22311         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22312         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22313         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22314         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22318         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22319         * sysdeps/sparc/fpu/libm-test-ulps: to here.
22320         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22322         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22323         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22324         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22325         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22326         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22327         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22328         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22329         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22330         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22331         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22332         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22333         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22334         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22335         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22336         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22337         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22338         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22339         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22340         * sysdeps/sparc/elf/configure: Regenerated.
22342 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
22344         * configure.in (AS, LD): Require binutils 2.20 or later.
22345         * configure: Regenerated.
22346         * manual/install.texi (Tools for Compilation): Give binutils 2.20
22347         as required minimum version.
22348         * INSTALL: Regenerated.
22350         [BZ #2541]
22351         [BZ #4108]
22352         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22353         before squaring exponent.
22354         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22355         bottom long double and 27 bits of top long double before squaring
22356         exponent.
22357         * math/libm-test.inc (erfc_test): Add more tests.
22358         * sysdeps/i386/fpu/libm-test-ulps: Update.
22359         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22362 2012-03-01  Kai Tietz  <ktietz@redhat.com>
22364         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22365         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22366         containing bit-fields.
22367         * soft-fp/extended.h (_FP_UNION_E): Likewise.
22368         * soft-fp/single.h (_FP_UNION_S): Likewise.
22369         * soft-fp/double.h (_FP_UNION_D): Likewise.
22371 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
22373         [BZ #13786]
22374         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22375         not include ../strcmp.S.
22376         [USE_AS_STRNCASECMP_L]: Likewise.
22377         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22378         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22379         * sysdeps/i386/i686/multiarch/strncase_l-c.c
22380         (__strncasecmp_l_ia32): Define as alias to
22381         __strncasecmp_l_nonascii.
22383         [BZ #5794]
22384         * math/libm-test.inc (expm1_test): Add test for bug 5794.
22385         * sysdeps/i386/fpu/libm-test-ulps: Update.
22386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22388         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22391 2012-02-29  Jeff Law  <law@redhat.com>
22393         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22394         out of bounds read.
22396 2012-02-29  Marek Polacek  <polacek@redhat.com>
22398         [BZ #13706]
22399         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22400         * elf/Makefile: Add rules to run tst-unused-dep.out.
22402 2012-02-28  David S. Miller  <davem@davemloft.net>
22404         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22405         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22406         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22407         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22408         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22409         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22411 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
22413         * math/libm-test.inc (llround_test): Move one test from
22414         lround_test.  Use TEST_f_L in moved test.
22415         (lround_test): Move misplaced test to llround_test.  Add testcase
22416         from bug 2561.
22418 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
22420         * sysdeps/x86_64/fpu/e_expf.S: New file.
22421         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22423 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
22425         [BZ #13637]
22426         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22427         of remain_len that may cause incomplete multi-byte character and
22428         false match.
22429         * posix/bug-regex33.c: New file.
22430         * posix/Makefile (tests): Add bug-regex33.
22432 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
22434         * manual/macros.texi: New file.
22435         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22436         * manual/libc.texinfo: Include macros.texi.
22437         * manual/creatute.texi: Likewise.
22438         * manual/install.texi: Likewise.
22439         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22440         @glibcadj{} in references to the GNU C Library.
22441         * manual/charset.texi: Likewise.
22442         * manual/conf.texi: Likewise.
22443         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
22444         when not using those macros.
22445         * manual/creature.texi: Likewise.
22446         * manual/crypt.texi: Likewise.
22447         * manual/errno.texi: Likewise.
22448         * manual/filesys.texi: Likewise.
22449         * manual/header.texi: Likewise.
22450         * manual/install.texi: Likewise.
22451         * manual/intro.texi: Likewise.
22452         * manual/io.texi: Likewise.
22453         * manual/job.texi: Likewise.
22454         * manual/lang.texi: Likewise.
22455         * manual/libc.texiinfo: Likewise.
22456         * manual/llio.texi: Likewise.
22457         * manual/locale.texi: Likewise.
22458         * manual/maint.texi: Likewise.
22459         * manual/math.texi: Likewise.
22460         * manual/memory.texi: Likewise.
22461         * manual/message.texi: Likewise.
22462         * manual/nss.texi: Likewise.
22463         * manual/pattern.texi: Likewise.
22464         * manual/process.texi: Likewise.
22465         * manual/resource.texi: Likewise.
22466         * manual/search.texi: Likewise.
22467         * manual/setjmp.texi: Likewise.
22468         * manual/signal.texi: Likewise.
22469         * manual/socket.texi: Likewise.
22470         * manual/startup.texi: Likewise.
22471         * manual/stdio.texi: Likewise.
22472         * manual/string.texi: Likewise.
22473         * manual/sysinfo.texi: Likewise.
22474         * manual/syslog.texi: Likewise.
22475         * manual/terminal.texi: Likewise.
22476         * manual/time.texi: Likewise.
22477         * manual/users.texi: Likewise.
22478         * INSTALL: Regenerated.
22479         * NOTES: Regenerated.
22480         * sysdeps/gnu/errlist.c: Regenerated.
22482 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
22484         * include/dirent.h: Include <dirstream.h> before
22485         <dirent/dirent.h>.
22487 2012-02-28  David S. Miller  <davem@davemloft.net>
22489         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22490         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22491         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22492         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22494 2012-02-27  David S. Miller  <davem@davemloft.net>
22496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22498         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22499         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22502         frame pointer instead of stack pointer relative arg slot.
22503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22504         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22505         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22507 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
22509         [BZ #3992]
22510         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22512 2012-02-27  David S. Miller  <davem@davemloft.net>
22514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22518         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22519         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22520         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22521         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22523 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22525         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22526         later.  Allow versions 5-9.
22527         * configure: Regenerated.
22528         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22529         required minimum version and 4.6 as recommended version.  Do not
22530         mention bugs in GCC 2.7 and 2.8.
22531         * INSTALL: Regenerated.
22533 2012-02-27  David S. Miller  <davem@davemloft.net>
22535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22539         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22540         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22541         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22542         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22544         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22545         manipulate bits before adding and subtracting TWO112[sx].
22546         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22548 2012-02-27  Roland McGrath  <roland@hack.frob.com>
22550         [BZ #13775]
22551         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22552         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22553         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22554         being in POSIX, because they are in 1003.1-2008.
22556         * rt/tst-aio.c: Include <fcntl.h>.
22557         * rt/tst-aio7.c: Likewise.
22558         * rt/tst-aio64.c: Likewise.
22560         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22562 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22564         * manual/install.texi (--with-headers): Describe headers as
22565         interface headers, not private headers.
22566         (Specific advice for GNU/Linux systems): Describe use of headers
22567         from "make headers_install", not private headers from older
22568         kernels.
22569         * INSTALL: Regenerated.
22570         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22571         Change to 2.6.19.
22572         * sysdeps/unix/sysv/linux/configure: Regenerated.
22574         * manual/llio.texi (fclean): Remove documentation.
22576         * manual/Makefile (libc-texi-generated): New variable.  Include
22577         version.texi.
22578         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22579         $(libc-texi-generated), not duplicated list of files.
22580         (version.texi, stamp-version): New rules.
22581         (realclean): Remove $(libc-texi-generated), not individual files
22582         from that list.  Do not remove dir-add.texinfo.
22583         * manual/libc.texinfo: Comment out uses of edition numbers and
22584         references to printed manual.  Remove last-updated dates.
22585         (EDITION): Comment out.
22586         (ISBN): Likewise.
22587         (VERSION, UPDATED): Remove.
22588         (version.texi): Include.
22590 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
22592         * sysdeps/posix/spawni.c: Include <signal.h>.
22593         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22594         * sysdeps/pthread/aio_fsync.c: Likewise.
22596 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
22598         * conform/Makefile (tests): Run only when not cross-compiling and
22599         when fast-check is not defined.
22601         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22602         * conform/data/limits.h-data: Fixes for POSIX2008.
22603         * conform/run-conformtest.sh: Run all tests.
22604         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22605         headers.
22606         * include/bits/dlfcn.h: Likewise.
22607         * include/langinfo.h: Likewise.
22608         * include/monetary.h: Likewise.
22609         * include/sys/poll.h: Likewise.
22611         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22612         for __USE_GNU.
22613         * posix/spawn.h: Define __need_sigset_t.
22614         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22615         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22616         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
22617         to get sigevent_t only.
22618         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22619         only for __USE_GNU.
22620         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22621         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22622         process_vm_writev only for __USE_GNU.
22623         * termios/termios.h: Declare tcgetsid also for POSIX2008.
22625         * conform/Makefile: For now ignore errors from run-conformtest.
22626         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
22627         POSIX to avoid namespace pollution.  Don't prepend headers.
22628         * conform/data/aio.h-data: Fixes for POSIX testing.
22629         * conform/data/fcntl.h-data: Likewise.
22630         * conform/data/glob.h-data: Likewise.
22631         * conform/data/grp.h-data: Likewise.
22632         * conform/data/pthread.h-data: Likewise.
22633         * conform/data/pwd.h-data: Likewise.
22634         * conform/data/signal.h-data: Likewise.
22635         * conform/data/spawn.h-data: Likewise.
22636         * conform/data/stdio.h-data: Likewise.
22637         * conform/data/stdlib.h-data: Likewise.
22638         * conform/data/stropts.h-data: Likewise.
22639         * conform/data/sys/mman.h-data: Likewise.
22640         * conform/data/sys/stat.h-data: Likewise.
22641         * conform/data/sys/types.h-data: Likewise.
22642         * conform/data/sys/wait.h-data: Likewise.
22643         * conform/data/time.h-data: Likewise.
22644         * conform/data/unistd.h-data: Likewise.
22645         * conform/data/utime.h-data: Likewise.
22647         * io/sys/stat.h: fchmod was always in POSIX.
22648         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22649         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22650         * rt/aio.h: Define __need_timespec before including <time.h>.
22651         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22652         struct.  Add forward declaration of pthread_attr_t and use it in
22653         sigevent.
22654         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22655         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22656         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22657         always remove CLK_TCK definition.
22659 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
22661         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22663 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
22665         * conform/run-conformtest.sh: New file.
22666         * conform/Makefile: Run run-conformtest for tests.
22667         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
22668         support.
22670         * conform/data/uchar.h-data: New file.
22671         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22672         * conform/data/arpa/inet.h-data: Likewise.
22673         * conform/data/assert.h-data: Likewise.
22674         * conform/data/complex.h-data: Likewise.
22675         * conform/data/cpio.h-data: Likewise.
22676         * conform/data/ctype.h-data: Likewise.
22677         * conform/data/dirent.h-data: Likewise.
22678         * conform/data/dlfcn.h-data: Likewise.
22679         * conform/data/errno.h-data: Likewise.
22680         * conform/data/fcntl.h-data: Likewise.
22681         * conform/data/float.h-data: Likewise.
22682         * conform/data/fmtmsg.h-data: Likewise.
22683         * conform/data/fnmatch.h-data: Likewise.
22684         * conform/data/ftw.h-data: Likewise.
22685         * conform/data/glob.h-data: Likewise.
22686         * conform/data/grp.h-data: Likewise.
22687         * conform/data/iconv.h-data: Likewise.
22688         * conform/data/inttypes.h-data: Likewise.
22689         * conform/data/langinfo.h-data: Likewise.
22690         * conform/data/libgen.h-data: Likewise.
22691         * conform/data/limits.h-data: Likewise.
22692         * conform/data/locale.h-data: Likewise.
22693         * conform/data/math.h-data: Likewise.
22694         * conform/data/monetary.h-data: Likewise.
22695         * conform/data/mqueue.h-data: Likewise.
22696         * conform/data/ndbm.h-data: Likewise.
22697         * conform/data/net/if.h-data: Likewise.
22698         * conform/data/netdb.h-data: Likewise.
22699         * conform/data/netinet/in.h-data: Likewise.
22700         * conform/data/nl_types.h-data: Likewise.
22701         * conform/data/poll.h-data: Likewise.
22702         * conform/data/pthread.h-data: Likewise.
22703         * conform/data/pwd.h-data: Likewise.
22704         * conform/data/regex.h-data: Likewise.
22705         * conform/data/sched.h-data: Likewise.
22706         * conform/data/search.h-data: Likewise.
22707         * conform/data/semaphore.h-data: Likewise.
22708         * conform/data/setjmp.h-data: Likewise.
22709         * conform/data/signal.h-data: Likewise.
22710         * conform/data/spawn.h-data: Likewise.
22711         * conform/data/stdarg.h-data: Likewise.
22712         * conform/data/stdio.h-data: Likewise.
22713         * conform/data/stdlib.h-data: Likewise.
22714         * conform/data/string.h-data: Likewise.
22715         * conform/data/strings.h-data: Likewise.
22716         * conform/data/stropts.h-data: Likewise.
22717         * conform/data/sys/ipc.h-data: Likewise.
22718         * conform/data/sys/mman.h-data: Likewise.
22719         * conform/data/sys/msg.h-data: Likewise.
22720         * conform/data/sys/resource.h-data: Likewise.
22721         * conform/data/sys/select.h-data: Likewise.
22722         * conform/data/sys/sem.h-data: Likewise.
22723         * conform/data/sys/shm.h-data: Likewise.
22724         * conform/data/sys/socket.h-data: Likewise.
22725         * conform/data/sys/stat.h-data: Likewise.
22726         * conform/data/sys/statvfs.h-data: Likewise.
22727         * conform/data/sys/time.h-data: Likewise.
22728         * conform/data/sys/timeb.h-data: Likewise.
22729         * conform/data/sys/times.h-data: Likewise.
22730         * conform/data/sys/types.h-data: Likewise.
22731         * conform/data/sys/uio.h-data: Likewise.
22732         * conform/data/sys/un.h-data: Likewise.
22733         * conform/data/sys/utsname.h-data: Likewise.
22734         * conform/data/sys/wait.h-data: Likewise.
22735         * conform/data/syslog.h-data: Likewise.
22736         * conform/data/tar.h-data: Likewise.
22737         * conform/data/termios.h-data: Likewise.
22738         * conform/data/utime.h-data: Likewise.
22739         * conform/data/utmpx.h-data: Likewise.
22740         * conform/data/varargs.h-data: Likewise.
22741         * conform/data/wchar.h-data: Likewise.
22742         * conform/data/wctype.h-data: Likewise.
22743         * conform/data/wordexp.h-data: Likewise.
22745         * include/stropts.h: New file.
22746         * include/uchar.h: New file.
22747         * include/aio.h: Changes to allow conformtest.pl to use the headers.
22748         * include/assert.h: Likewise.
22749         * include/ctype.h: Likewise.
22750         * include/dirent.h: Likewise.
22751         * include/dlfcn.h: Likewise.
22752         * include/fcntl.h: Likewise.
22753         * include/fnmatch.h: Likewise.
22754         * include/glob.h: Likewise.
22755         * include/grp.h: Likewise.
22756         * include/libio.h: Likewise.
22757         * include/locale.h: Likewise.
22758         * include/math.h: Likewise.
22759         * include/net/if.h: Likewise.
22760         * include/netdb.h: Likewise.
22761         * include/netinet/in.h: Likewise.
22762         * include/pthread.h: Likewise.
22763         * include/pwd.h: Likewise.
22764         * include/regex.h: Likewise.
22765         * include/sched.h: Likewise.
22766         * include/search.h: Likewise.
22767         * include/setjmp.h: Likewise.
22768         * include/signal.h: Likewise.
22769         * include/stdio.h: Likewise.
22770         * include/stdlib.h: Likewise.
22771         * include/string.h: Likewise.
22772         * include/sys/cdefs.h: Likewise.
22773         * include/sys/mman.h: Likewise.
22774         * include/sys/msg.h: Likewise.
22775         * include/sys/resource.h: Likewise.
22776         * include/sys/select.h: Likewise.
22777         * include/sys/socket.h: Likewise.
22778         * include/sys/stat.h: Likewise.
22779         * include/sys/statvfs.h: Likewise.
22780         * include/sys/time.h: Likewise.
22781         * include/sys/times.h: Likewise.
22782         * include/sys/uio.h: Likewise.
22783         * include/sys/utsname.h: Likewise.
22784         * include/sys/wait.h: Likewise.
22785         * include/termios.h: Likewise.
22786         * include/time.h: Likewise.
22787         * include/ulimit.h: Likewise.
22788         * include/unistd.h: Likewise.
22789         * include/utime.h: Likewise.
22790         * include/wchar.h: Likewise.
22791         * include/wctype.h: Likewise.
22792         * include/wordexp.h: Likewise.
22794         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22796         * time/time.h: TIME_UTC must be a macro.
22797         Make timespec_get available for ISO C11 only as well.
22799 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
22801         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22802         Reported by Peng Haitao <penght@cn.fujitsu.com>.
22804 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22806         * configure.in: Use -o not -a in test for unsupported multi-arch.
22808 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22810         * manual/texinfo.tex: Update to version 2012-01-19.16.
22812 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22814         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22816 2012-02-24  Roland McGrath  <roland@hack.frob.com>
22818         [BZ #13738]
22819         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22820         * manual/fdl-1.3.texi: New file.
22821         * manual/fdl-1.1.texi: File removed.
22823         [BZ #13738]
22824         * manual/libc.texinfo (FDL_VERSION): New @set.
22825         Use it for mention of FDL in cover text.
22826         (Documentation License): Use it in @include file name.
22828 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22829             Roland McGrath  <roland@hack.frob.com>
22831         [BZ #5461]
22832         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22833         not LONG_LONG_MAX and LONG_LONG_MIN.
22834         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22835         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
22836         name.
22837         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22839 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22841         [BZ #2547]
22842         [BZ #11365]
22843         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22844         manipulate bits before adding and subtracting TWO23[sx].
22845         * math/libm-test.inc (nearbyint_test): Add more tests.
22847 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22849         [BZ #2548]
22850         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22851         bits before adding and subtracting TWO23[sx].
22852         * math/libm-test.inc (rint_test): Add more tests.
22853         (rint_test_tonearest): Likewise.
22854         (rint_test_towardzero): Likewise.
22855         (rint_test_downward): Likewise.
22856         (rint_test_upward: Likewise.
22858 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22860         [BZ #10110]
22861         * include/stdc-predef.h: New file.  Extracted from features.h.
22862         * include/features.h: Include stdc-predef.h.
22863         * Makefile (headers): Add stdc-predef.h.
22864         * CONFORMANCE (Compiler limitations): Update.
22866 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22868         * manual/libc.texinfo (VERSION, UPDATED): Revert.
22870 2012-02-21  David S. Miller  <davem@davemloft.net>
22872         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22873         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22875 2012-02-20  David S. Miller  <davem@davemloft.net>
22877         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22878         using a normal save/restore sequence, rather than allocating a
22879         dummy stack frame just to store a frame pointer and restore.
22880         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22882 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22884         * manual/install.texi: Fix stray word in line-wrapped comment.
22886 2012-02-20  David S. Miller  <davem@davemloft.net>
22888         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22889         both binutils and gcc support GOTDATA.
22891         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22892         "rd %pc" in the PIC register setup sequences.
22894         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22895         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22896         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22897         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22898         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22899         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22900         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22901         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22902         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22903         (SYSCALL_ERROR_HANDLER): Likewise.
22904         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22905         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22906         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22907         (SYSCALL_ERROR_HANDLER): Likewise.
22909         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22910         (HAVE_GCC_GOTDATA): New.
22911         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22912         relocation support in both binutils and gcc.
22913         * sysdeps/sparc/elf/configure: Regenerate.
22915         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22916         * sysdeps/sparc/sparc32/elf/configure: Delete.
22917         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22918         * sysdeps/sparc/sparc64/elf/configure: Delete.
22919         * sysdeps/sparc/elf/configure.in: New file.
22920         * sysdeps/sparc/elf/configure: Generate.
22922         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22923         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22924         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22925         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22926         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22928 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22930         * manual/install.texi: Do not mention specific glibc version
22931         numbers.
22932         * manual/libc.texinfo (VERSION, UPDATED): Update.
22933         (@copying): Use @copyright{} and range of years.
22935 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22937         [BZ #13695]
22938         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22939         [crti.S not in sysdirs] (generated): Do not append.
22940         [crti.S not in sysdirs] (omit-deps): Likewise.
22941         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22942         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22943         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22944         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22945         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22946         Likewise.
22947         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22948         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22949         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22950         * csu/defs.awk: Remove file.
22951         * sysdeps/generic/initfini.c: Likewise.
22952         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22953         variable.
22954         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22955         Likewise.
22957 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22959         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22960         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22961         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22962         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22963         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22964         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22965         <bits/epoll.h>.
22966         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22967         (__EPOLL_PACKED): Define to empty if not defined by
22968         <bits/epoll.h>.
22969         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22971         bits/epoll.h.
22973 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22975         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22976         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22977         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22978         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22979         <bits/timerfd.h>.
22980         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22981         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22982         bits/timerfd.h.
22984 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22986         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22987         in C locale.
22988         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22989         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22990         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22993 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
22995         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22996         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22998 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23000         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23001         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23002         defined.
23003         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23004         Likewise.
23005         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23006         entry for 2.16.
23008 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23010         * math/w_acos.c: Use non-signaling floating-point comparisons.
23011         * math/w_acosf.c: Likewise.
23012         * math/w_acosh.c: Likewise.
23013         * math/w_acoshf.c: Likewise.
23014         * math/w_acoshl.c: Likewise.
23015         * math/w_acosl.c: Likewise.
23016         * math/w_asin.c: Likewise.
23017         * math/w_asinf.c: Likewise.
23018         * math/w_asinl.c: Likewise.
23019         * math/w_atanh.c: Likewise.
23020         * math/w_atanhf.c: Likewise.
23021         * math/w_atanhl.c: Likewise.
23022         * math/w_exp2.c: Likewise.
23023         * math/w_exp2f.c: Likewise.
23024         * math/w_exp2l.c: Likewise.
23025         * math/w_j0.c: Likewise.
23026         * math/w_j0f.c: Likewise.
23027         * math/w_j0l.c: Likewise.
23028         * math/w_j1.c: Likewise.
23029         * math/w_j1f.c: Likewise.
23030         * math/w_j1l.c: Likewise.
23031         * math/w_jn.c: Likewise.
23032         * math/w_jnf.c: Likewise.
23033         * math/w_log.c: Likewise.
23034         * math/w_log10.c: Likewise.
23035         * math/w_log10f.c: Likewise.
23036         * math/w_log10l.c: Likewise.
23037         * math/w_log2.c: Likewise.
23038         * math/w_log2f.c: Likewise.
23039         * math/w_log2l.c: Likewise.
23040         * math/w_logf.c: Likewise.
23041         * math/w_logl.c: Likewise.
23042         * math/w_sqrt.c: Likewise.
23043         * math/w_sqrtf.c: Likewise.
23044         * math/w_sqrtl.c: Likewise.
23045         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23046         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23047         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23048         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23049         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23051 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23053         [BZ #9739]
23054         * manual/string.texi (strnlen): Use correct parameter name in
23055         equivalent expression.
23057 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23059         [BZ #11174]
23060         * manual/users.texi (seteuid): Consistently use neweuid for
23061         argument name.
23063 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23065         [BZ #13704]
23066         * manual/nss.texi (Services in the NSS configuration): Correct
23067         list of services in example configuration file.
23069 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
23071         [BZ #11322]
23072         * manual/arith.texi: Remove statements about negative zero
23073         behaving identically to zero.
23075 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23077         [BZ #5993]
23078         * manual/install.texi: Do not document upgrading from libc5.
23080 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23082         [BZ #4596]
23083         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23085 2012-02-18  David S. Miller  <davem@davemloft.net>
23087         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23088         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23089         %o7 across the call.
23090         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23091         instead.
23092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23093         SETUP_PIC_REG_LEAF.
23094         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23095         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23096         * sysdeps/sparc/crtn.S: Likewise.
23098 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
23100         * aout/Makefile: Remove.
23102 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
23104         [BZ #13058]
23105         * manual/examples/argp-ex1.c (main): Format definition in GNU
23106         style.
23107         * manual/examples/argp-ex2.c (main): Likewise.
23108         * manual/examples/argp-ex3.c (main): Likewise.
23109         * manual/examples/argp-ex4.c (main): Likewise.
23110         * manual/examples/longopt.c (main): Use new-style prototype
23111         definition.
23112         * manual/examples/strncat.c (main): Specify return type and use
23113         (void) for arguments.
23114         * manual/examples/subopt.c (main): Use char **argv argument.
23116 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23118         [BZ #5077]
23119         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23120         rounding modes.
23122 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
23124         [BZ #6907]
23125         * manual/string.texi (strchr): Change when strchrnul is
23126         recommended.
23128 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
23130         [BZ #174]
23131         * manual/locale.texi (setlocale): Document LOCPATH.
23133 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23135         [BZ #10210]
23136         * manual/process.texi (execle): Move @dots{} before last argument.
23138 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
23140         [BZ #12047]
23141         * manual/charset.texi (Generic Charset Conversion): Fix typo
23142         (LC_TYPE -> LC_CTYPE).
23144 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
23146         [BZ #5805]
23147         * manual/arith.texi (scalbn): Use @var{} on parameter names.
23148         (scalbnf): Likewise.
23149         (scalbnl): Likewise.
23150         (scalbln): Likewise.
23151         (scalblnf): Likewise.
23152         (scalblnl): Likewise.
23153         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23154         (vwarnx): Likewise.
23155         (verr): Likewise.
23156         (verrx): Likewise.
23157         * manual/filesys.texi (telldir): Use braces around return type.
23158         * manual/llio.texi (mmap): Add space after comma.
23159         (mmap64): Likewise.
23160         * manual/math.texi (jn): Use @var{} on parameter names.
23161         (jnf): Likewise.
23162         (jnl): Likewise.
23163         (yn): Likewise.
23164         (ynf): Likewise.
23165         (ynl): Likewise.
23166         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23167         line.
23168         * manual/resource.texi (ulimit): Use @dots{} instead of literal
23169         "...".
23170         (sched_get_priority_min): Remove semicolon on @deftypefun line.
23171         (sched_get_priority_max): Likewise.
23172         * manual/signal.texi (sigvec): Add space after comma.
23173         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23174         names.
23175         (if_indextoname): Likewise.
23176         (if_freenameindex): Likewise.
23177         (sendto): Use ',' instead of '.' in prototype.
23178         * manual/startup.texi (syscall): Use @dots{} instead of literal
23179         "...".
23180         * manual/stdio.texi (__fpending): Separate initial words of
23181         paragraph from @deftypefun line.
23182         * manual/syslog.texi (syslog): Use @dots{} instead of literal
23183         "...".
23184         (vsyslog): Use @var{} on parameter names.
23185         * manual/terminal.texi (stty): Use @var{} on parameter names.
23186         * manual/users.texi (getutmp): Use @var{} on parameter names.
23187         (getutmpx): Likewise.
23189 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23191         [BZ #6884]
23192         * manual/stdio.texi (fopen): Fix typos in description of
23193         ",ccs=STRING".
23195 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
23197         [BZ #4026]
23198         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23199         get clock_id definition.
23201 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
23203         [BZ #4822]
23204         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23205         (madvise): Cast every argument to void on its own.
23207 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23209         [BZ #9902]
23210         * manual/startup.texi (Exit Status): Fix typo.
23212 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23214         [BZ #10140]
23215         * manual/examples/argp-ex1.c: Include <stdlib.h>.
23216         * manual/examples/argp-ex2.c: Likewise.
23217         * manual/examples/argp-ex3.c: Likewise.
23219 2012-02-16  Richard Henderson  <rth@redhat.com>
23221         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23222         * sysdeps/s390/s390-32/initfini.c: Remove.
23223         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23224         * sysdeps/s390/s390-64/initfini.c: Remove.
23226 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23228         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23229         compiler output for sysdeps/generic/initfini.c.
23230         * sysdeps/sh/elf/initfini.c: Remove file.
23232 2012-02-16  David S. Miller  <davem@davemloft.net>
23234         [BZ #11494]
23235         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23237         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23238         * sysdeps/sparc/crti.S: New file.
23239         * sysdeps/sparc/crtn.S: New file.
23240         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23241         * sysdeps/sparc/sparc64/Makefile: Likewise.
23243 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
23245         [BZ #3335]
23246         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23248 2012-02-15  Roland McGrath  <roland@hack.frob.com>
23250         [BZ #4822]
23251         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23253         * mach/devstream.c (cookie_io_functions_t): Macro removed.
23254         (write, read, close): Likewise.
23255         Patch by Aurelien Jarno <aurelien@aurel32.net>.
23257 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
23259         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23260         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23261         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23262         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23263         <bits/signalfd.h>.
23264         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23265         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23266         bits/signalfd.h.
23268 2012-02-14  Marek Polacek  <polacek@redhat.com>
23270         * sysdeps/x86_64/crti.S: New file.
23271         * sysdeps/x86_64/crtn.S: New file.
23272         * sysdeps/x86_64/elf/initfini.c: Remove file.
23274 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23276         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23277         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23278         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23279         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23280         <bits/inotify.h>.
23281         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23282         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23283         bits/inotify.h.
23285 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23287         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23288         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23289         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23290         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23291         <bits/eventfd.h>.
23292         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23294         bits/eventfd.h.
23296 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
23298         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23299         __feraiseexcept instead of feraiseexcept.
23301         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23302         nanosleep invocations.
23303         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23304         strings, and add error checking for a nanosleep invocations.
23306 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
23308         Replace FSF snail mail address with URLs, as per GNU coding standards.
23309         Most of the snail mail addresses were wrong anyway, and omitting
23310         them makes the source code easier to maintain.  Almost all of the
23311         changes are to license notices and to locale LC_IDENTIFICATION
23312         addresses, except for this one:
23313         * manual/libc.texinfo: In "Published by", give the FSF's URL,
23314         not its snail mail address.
23316 2012-02-09  Richard Henderson  <rth@twiddle.net>
23318         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23319         of kernel-features.h.
23321         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23323 2012-02-08  Marek Polacek  <polacek@redhat.com>
23325         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23326         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23327         * sysdeps/gnu/_G_config.h: Likewise.
23328         * sysdeps/generic/_G_config.h: Likewise.
23330 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
23332         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23333         tests.
23334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23336         * sysdeps/powerpc/powerpc32/crti.S: New file.
23337         * sysdeps/powerpc/powerpc32/crtn.S: New file.
23338         * sysdeps/powerpc/powerpc64/crti.S: New file.
23339         * sysdeps/powerpc/powerpc64/crtn.S: New file.
23341         * Makeconfig (have-initfini): Don't set.
23342         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23343         * configure.in (nopic_initfini): Don't substitute.
23344         * config.h.in (HAVE_INITFINI): Don't #undef.
23345         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23346         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23348 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
23350         Support crti.S and crtn.S provided directly by architectures.
23351         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23352         [crti.S in sysdirs] (omit-deps): Likewise.
23353         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23354         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23355         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23356         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23357         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23358         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23359         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23360         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23361         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23362         compiler output for sysdeps/generic/initfini.c.
23363         * sysdeps/i386/elf/Makefile: Remove file.
23364         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23366 2012-02-07  Marek Polacek  <polacek@redhat.com>
23368         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23369         * sysdeps/gnu/_G_config.h: Likewise.
23370         * sysdeps/mach/hurd/_G_config.h: Likewise.
23372 2012-02-07  Marek Polacek  <polacek@redhat.com>
23374         * math/Makefile (tests): Add tst-CMPLX2.
23375         * math/tst-CMPLX2.c: New file.
23377 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
23379         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23381         * math/libm-test.inc (jn_test): Add missing L suffix.
23383 2012-02-06  Marek Polacek  <polacek@redhat.com>
23385         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23386         * sysdeps/i386/fpu/e_powf.S: Likewise.
23387         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23388         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23389         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23390         * sysdeps/i386/fpu/e_pow.S: Likewise.
23391         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23392         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23393         * sysdeps/i386/fpu/s_expm1.S: Likewise.
23394         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23395         * sysdeps/i386/fpu/e_log2.S: Likewise.
23396         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23397         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23398         * sysdeps/i386/fpu/e_powl.S: Likewise.
23399         * sysdeps/i386/fpu/s_log1p.S: Likewise.
23400         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23401         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23402         * sysdeps/i386/fpu/e_logl.S: Likewise.
23403         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23404         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23405         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23406         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23407         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23408         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23409         * sysdeps/i386/fpu/e_log.S: Likewise.
23410         * sysdeps/i386/fpu/s_cexp.S: Likewise.
23411         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23412         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23413         * sysdeps/i386/fpu/e_logf.S: Likewise.
23414         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23415         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23416         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23417         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23418         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23419         * sysdeps/i386/fpu/e_log10.S: Likewise.
23420         * sysdeps/i386/fpu/s_frexp.S: Likewise.
23421         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23422         * sysdeps/i386/fpu/s_asinh.S: Likewise.
23423         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23424         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23425         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23426         * sysdeps/i386/asm-syntax.h: Likewise.
23427         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23428         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23429         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23430         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23431         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23432         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23433         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23434         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23435         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23436         * sysdeps/powerpc/sysdep.h: Likewise.
23437         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23438         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23440 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
23442         [BZ #411]
23443         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23445 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
23447         * sysdeps/i386/sysdep.h: Include <features.h>.
23448         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23449         version.
23451 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
23453         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23454         Define.
23455         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23456         LOAD_PIC_REG_STR.
23458 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23460         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23461         (SETUP_PIC_REG): Use GET_PC_THUNK.
23462         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23463         macro.
23465 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23467         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23468         for non-PIC compilation.
23469         (SETUP_PIC_REG): Add .p2align directive.
23470         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23471         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23472         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23473         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23474         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23475         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23476         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23477         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23478         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23479         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23480         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23481         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23482         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23483         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23484         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23485         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23486         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23487         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23488         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23489         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23490         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23491         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23492         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23493         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23494         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23495         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23496         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23497         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23498         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23499         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23500         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23501         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23502         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23503         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23504         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23505         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23506         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23507         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23508         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23509         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23510         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23512 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23514         * math/tst-CMPLX.c: Include <stdio.h>.
23516 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
23518         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23519         float.
23520         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23521         * sysdeps/sparc/bits/mathdef.h: Likewise.
23523 2012-01-31  Marek Polacek  <polacek@redhat.com>
23525         * libio/libio.h: Don't define _PARAMS.
23526         * locale/programs/config.h: Don't define PARAMS.
23527         * stdlib/strtol_l.c: Likewise.
23528         (__strtol_l): Remove PARAMS from the prototype.
23530 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
23532         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
23533         names.  Just use the correct names.  Remove unnecessary wrapper
23534         functions.
23535         * malloc/arena.c: Likewise.
23536         * malloc/hooks.c: Likewise.
23538         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23539         ARENA_TEST says not to.  Simplify test for creation of a new arena.
23540         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23542 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
23544         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23545         into tail calls.
23546         (update_get_addr): New function.
23547         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23548         GET_ADDR_MODULE parameter.
23550 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23552         * crypt/cert.c: Remove __STDC__ conditionals.
23553         * crypt/crypt-entry.c: Likewise.
23554         * crypt/crypt_util.c: Likewise.
23555         * libio/filedoalloc.c: Likewise.
23556         * libio/fileops.c: Likewise.
23557         * libio/genops.c: Likewise.
23558         * libio/iofclose.c: Likewise.
23559         * libio/iofdopen.c: Likewise.
23560         * libio/iofopen.c: Likewise.
23561         * libio/iofopen64.c: Likewise.
23562         * libio/iogetdelim.c: Likewise.
23563         * libio/iopopen.c: Likewise.
23564         * libio/obprintf.c: Likewise.
23565         * libio/oldfileops.c: Likewise.
23566         * libio/oldiofclose.c: Likewise.
23567         * libio/oldiofdopen.c: Likewise.
23568         * libio/oldiofopen.c: Likewise.
23569         * libio/oldiopopen.c: Likewise.
23570         * libio/wfiledoalloc.c: Likewise.
23571         * libio/wgenops.c: Likewise.
23572         * locale/programs/xmalloc.c: Likewise.
23573         * misc/syslog.c: Likewise.
23574         * stdio-common/xbug.c: Likewise.
23575         * string/memchr.c: Likewise.
23576         * string/memcmp.c: Likewise.
23577         * string/memrchr.c: Likewise.
23578         * string/rawmemchr.c: Likewise.
23579         * sysdeps/posix/getcwd.c: Likewise.
23580         * time/strftime_l.c: Likewise.
23582 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23584         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23585         * config.make.in (config-cflags-sse2avx): Define.
23586         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23587         Fix typo.
23589 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
23591         * scripts/config.guess: Update from upstream config git repository.
23592         * scripts/config.sub: Likewise.
23594 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
23596         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23597         (EM_NUM): Update.
23598         (R_TILEPRO_*, R_TILEGX_*): New macros.
23600         * scripts/firstversions.awk: Fix bug in version range handling.
23602         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23604         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23606         * include/sys/epoll.h: New file.
23607         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23608         libc_hidden_def.
23610 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
23612         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23613         Avoid unnecessary __WORDSIZE == 64 test.
23614         (fmaxf): Use VEX format if possible.
23615         (fmax): Likewise.
23616         (fminf): Likewise.
23617         (fmin): Likewise.
23619         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23620         * math/math_private.h: Remove libc_fegetround* and
23621         libc_fesetround*.
23622         * sysdeps/i386/configure.in: Check for -msse2avx.
23623         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23624         also if SSE2AVX is defined.
23625         Remove libc_fegetround* and libc_fesetround*.
23626         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23627         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
23628         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23629         of HAS_YMM_USABLE.
23630         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23631         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23632         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23633         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23634         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23636         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23638 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23640         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23641         size is not set.
23642         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23644 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
23646         [BZ #13618]
23647         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23648         relocation.
23649         * Makeconfig (libm): Define.
23650         * elf/Makefile: Add rules to build and run tst-relsort1.
23651         * elf/tst-relsort1.c: New file.
23652         * elf/tst-relsort1mod1.c: New file.
23653         * elf/tst-relsort1mod2.c: New file.
23655 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
23657         * math/s_ldexp.c: Remove __STDC__ conditionals.
23658         * math/s_ldexpf.c: Likewise.
23659         * math/s_ldexpl.c: Likewise.
23660         * math/s_nextafter.c: Likewise.
23661         * math/s_nexttowardf.c: Likewise.
23662         * math/s_significand.c: Likewise.
23663         * math/s_significandf.c: Likewise.
23664         * math/s_significandl.c: Likewise.
23665         * math/w_jnl.c: Likewise.
23666         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23667         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23668         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23669         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23670         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23671         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23672         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23673         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23674         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23675         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23676         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23677         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23678         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23679         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23680         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23681         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23682         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23683         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23684         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23685         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23686         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23687         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23688         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23689         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23690         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23691         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23692         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23693         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23694         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23695         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23696         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23697         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23698         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23699         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23700         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23701         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23702         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23703         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23704         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23705         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23706         * sysdeps/ieee754/k_standard.c: Likewise.
23707         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23708         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23709         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23710         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23711         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23712         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23713         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23714         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23715         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23716         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23717         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23718         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23719         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23720         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23721         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23722         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23723         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23724         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23725         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23726         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23727         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23728         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23729         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23730         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23731         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23732         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23733         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23734         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23736         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23737         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23738         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23739         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23740         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23741         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23742         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23743         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23744         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23745         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23746         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23747         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23748         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23749         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23750         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23751         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23752         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23753         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23754         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23755         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23756         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23757         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23758         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23759         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23760         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23761         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23762         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23763         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23764         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23765         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23766         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23767         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23768         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23769         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23770         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23771         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23772         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23773         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23774         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23775         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23776         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23777         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23778         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23779         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23780         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23781         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23782         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23783         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23784         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23785         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23786         * sysdeps/ieee754/s_matherr.c: Likewise.
23787         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23788         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23789         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23790         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23792 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
23794         * crypt/md5.h: Remove __STDC__ conditionals.
23795         * libio/libioP.h: Likewise.
23796         * locale/programs/config.h: Likewise.
23797         * sysdeps/generic/sysdep.h: Likewise.
23798         * sysdeps/i386/asm-syntax.h: Likewise.
23799         * sysdeps/s390/asm-syntax.h: Likewise.
23800         * sysdeps/unix/sysdep.h: Likewise.
23801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23804 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
23806         * libio/libio.h: Remove __STDC__ conditionals.
23807         * malloc/obstack.h: Likewise.
23808         * math/complex.h: Likewise.
23809         * math/math.h: Likewise.
23810         * sysdeps/generic/_G_config.h: Likewise.
23811         * sysdeps/gnu/_G_config.h: Likewise.
23812         * sysdeps/mach/hurd/_G_config.h: Likewise.
23813         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23814         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23815         * sysdeps/sparc/bits/mathdef.h: Likewise.
23817 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
23819         [BZ #13583]
23820         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23821         Clean up HAS_* macros.
23822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23823         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23824         possible.
23825         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23826         HAS_AVX.
23827         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23828         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23829         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23830         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23831         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23833 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
23835         * elf/tst-unique3.cc (gets): Remove declaration.
23836         * elf/tst-unique3lib.cc (gets): Likewise.
23837         * elf/tst-unique3lib2.cc (gets): Likewise.
23838         * elf/tst-unique4.cc (gets): Likewise.
23840 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
23842         * include/stdio.h: Add C++ protection.  Add gets declarations and
23843         definitions.
23844         * debug/tst-chk1.c: Don't declare gets here.
23845         * stdio-common/tst-gets.c: Likewise.
23847 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
23849         * posix/glob: Remove directory.
23851 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
23853         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23855 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
23857         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23858         of the non-standard EPFNOSUPPORT.
23860 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23862         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23863         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23864         ANYWHERE set to 1 only on KERN_NO_SPACE error.
23866 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
23868         * wcsmbs/uchar.h: Test __STDC_VERSION__.
23870 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
23872         * nscd/aicache.c (addhstaiX): Do not cache negative results of
23873         transient errors.
23874         * nscd/grpcache.c (cache_addgr): Likewise.
23875         * nscd/hstcache.c (cache_addhst): Likewise.
23876         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23877         * nscd/pwdcache.c (cache_addpw): Likewise.
23878         * nscd/servicescache.c (cache_addserv): Likewise.
23880 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
23882         * malloc/malloc.c: Various cleanups.
23883         * malloc/hooks.c: Likewise.
23885         * stdlib/Makefile (tests): Add bug-fmtmsg1.
23886         * stdlib/bug-fmtmsg1.c: New file.
23888         * stdlib/fmtmsg.c (init): Add missing unlock.
23889         Patch by Peng Haitao <penght@cn.fujitsu.com>.
23891 2012-01-12  Marek Polacek  <polacek@redhat.com>
23893         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23894         and _GNU_SOURCE.
23896 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23898         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23899         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23900         macro to ensure uniqueness of label name.
23901         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23902         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23904 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
23906         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23908         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23909         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23910         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23911         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23913 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
23915         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23917         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23918         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23919         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23921         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23923         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23924         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23925         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23926         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23928         * math/bits/math-finite.h: Add ldexp support.
23930 2012-01-10  Marek Polacek  <polacek@redhat.com>
23932         * locale/programs/localedef.h (show_archive_content): Add noreturn
23933         attribute.
23935 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
23937         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23939 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23941         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23943         * io/Makefile (headers): Add bits/poll2.h.
23945 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
23947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23948         typo #include statement.
23950 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23952         * include/sys/cdefs.h: Define __attribute_alloc_size.
23953         * catgets/gencat.c: Add alloc_size attribute and apply consistently
23954         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23955         * elf/pldd.c: Likewise.
23956         * iconv/iconv_charmap.c: Likewise.
23957         * iconv/iconvconfig.c: Likewise.
23958         * iconv/strtab.c: Likewise.
23959         * locale/programs/locale.c: Likewise.
23960         * locale/programs/localedef.h: Likewise.
23961         * locale/programs/simple-hash.c: Likewise.
23962         * nscd/nscd.h: Likewise.
23963         * nss/makedb.c: Likewise.
23964         * sysdeps/generic/ldconfig.h: Likewise.
23965         * locale/programs/localedef.c: Remove xmalloc prototype.
23966         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23968 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23970         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23971         appropriate.
23973 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23975         * math/Makefile (tests): Add tst-CMPLX.
23976         * math/tst-CMPLX.c: New file.
23978         * math/complex.h (CMPLXL): Fix typo.
23980         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23981         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23982         GLIBC_2.16.
23983         * debug/tst-chk1.c: Add poll and ppoll tests.
23984         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23985         * include/sys/poll.h: Add hidden proto for ppoll.
23986         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23987         * sysdeps/mach/hurd/ppoll.c: Likewise.
23988         * io/ppoll.c: Likewise.
23989         * debug/poll_chk.c: New file.
23990         * debug/ppoll_chk.c: New file.
23991         * include/bits/poll2.h: New file.
23992         * io/bits/poll2.h: New file.
23994         [BZ #1350]
23995         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23997         * configure.in: static is always set to yes.  Remove.
23998         * config.make.in: Don't set build-static.
23999         * Makeconfig: Remove use of build-static.
24000         * dlfcn/Makefile: Likewise.
24001         * elf/Makefile: Likewise.
24002         * math/Makefile: Likewise.
24003         * misc/Makefile: Likewise.
24004         * nptl/Makefile: Likewise.
24005         * sysdeps/mach/hurd/Makefile: Likewise.
24007         * configure.in: PWD_P is not used anymore.
24008         * config.make.in: Remove PWD_P entry.
24010         * configure.in: Remove last remnants of RANLIB.
24011         No need to check for signed size_t anymore.
24012         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24013         and IA-64.
24014         Remove __builtin_expect test because we require at least gcc 3.4.
24015         * aclocal.m4: Likewise.
24017         * wcsmbs/mbrtoc16.c: Implement using towc function.
24018         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24019         * wcsmbs/wcsmbsload.c: Likewise.
24020         * iconv/gconv_simple.c: Likewise.
24021         * iconv/gconv_int.h: Likewise.
24022         * iconv/gconv_builtin.h: Likewise.
24023         * iconv/iconv_prog.c: Remove CHAR16 handling.
24025         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24027         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24029         * configure.in: Remove --with-elf and --enable-bounded options.
24030         Dont set base_machine for ia64.  More non-ELF conditions removed.
24031         Remove testing and setting of leading underscore information.
24032         * config.make.in (build-bounded): Set to no.
24033         * config.h.in: Remove NO_UNDERSCORES entry.
24034         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24035         them.
24036         * csu/start.c: Remove !NO_UNDERSCORE code.
24037         * locale/localeinfo.h: Likewise.
24038         * sysdeps/generic/machine-gmon.h: Likewise.
24039         * sysdeps/generic/sysdep.h: Likewise.
24040         * sysdeps/i386/sysdep.h: Likewise.
24041         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24042         * sysdeps/mach/sysdep.h: Likewise.
24043         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24044         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24045         * sysdeps/sh/sysdep.h: Likewise.
24046         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24047         * sysdeps/unix/i386/sysdep.S: Likewise.
24048         * sysdeps/unix/sparc/start.c: Likewise.
24049         * sysdeps/unix/sparc/sysdep.S: Likewise.
24050         * sysdeps/unix/sparc/sysdep.h: Likewise.
24051         * sysdeps/unix/start.c: Likewise.
24052         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24053         * sysdeps/x86_64/sysdep.h: Likewise.
24055 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24057         [BZ #13553]
24058         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24059         for non-gcc.
24060         * argp/argp-fmtstream.h: Use const instead __const.
24061         * argp/argp.h: Likewise.
24062         * assert/assert.h: Likewise.
24063         * bits/fenv.h: Likewise.
24064         * bits/sched.h: Likewise.
24065         * bits/sigset.h: Likewise.
24066         * bits/sigthread.h: Likewise.
24067         * catgets/nl_types.h: Likewise.
24068         * conform/data/pthread.h-data: Likewise.
24069         * crypt/crypt-private.h: Likewise.
24070         * crypt/crypt.h: Likewise.
24071         * crypt/crypt_util.c: Likewise.
24072         * ctype/ctype.h: Likewise.
24073         * debug/execinfo.h: Likewise.
24074         * debug/mbsnrtowcs_chk.c: Likewise.
24075         * debug/mbsrtowcs_chk.c: Likewise.
24076         * debug/wcsnrtombs_chk.c: Likewise.
24077         * debug/wcsrtombs_chk.c: Likewise.
24078         * debug/wcstombs_chk.c: Likewise.
24079         * dirent/dirent.h: Likewise.
24080         * dlfcn/dlfcn.h: Likewise.
24081         * elf/neededtest4.c: Likewise.
24082         * grp/grp.h: Likewise.
24083         * gshadow/gshadow.h: Likewise.
24084         * iconv/gconv.h: Likewise.
24085         * iconv/gconv_int.h: Likewise.
24086         * iconv/gconv_simple.c: Likewise.
24087         * iconv/iconv.h: Likewise.
24088         * iconv/loop.c: Likewise.
24089         * iconv/skeleton.c: Likewise.
24090         * include/aio.h: Likewise.
24091         * include/aliases.h: Likewise.
24092         * include/argz.h: Likewise.
24093         * include/arpa/inet.h: Likewise.
24094         * include/assert.h: Likewise.
24095         * include/dirent.h: Likewise.
24096         * include/dlfcn.h: Likewise.
24097         * include/execinfo.h: Likewise.
24098         * include/fcntl.h: Likewise.
24099         * include/fenv.h: Likewise.
24100         * include/glob.h: Likewise.
24101         * include/grp.h: Likewise.
24102         * include/libintl.h: Likewise.
24103         * include/mntent.h: Likewise.
24104         * include/netdb.h: Likewise.
24105         * include/pwd.h: Likewise.
24106         * include/rpc/netdb.h: Likewise.
24107         * include/sched.h: Likewise.
24108         * include/search.h: Likewise.
24109         * include/shadow.h: Likewise.
24110         * include/signal.h: Likewise.
24111         * include/stdio.h: Likewise.
24112         * include/stdlib.h: Likewise.
24113         * include/string.h: Likewise.
24114         * include/sys/socket.h: Likewise.
24115         * include/sys/stat.h: Likewise.
24116         * include/sys/statfs.h: Likewise.
24117         * include/sys/statvfs.h: Likewise.
24118         * include/sys/syslog.h: Likewise.
24119         * include/sys/time.h: Likewise.
24120         * include/sys/uio.h: Likewise.
24121         * include/time.h: Likewise.
24122         * include/unistd.h: Likewise.
24123         * include/utmp.h: Likewise.
24124         * include/wchar.h: Likewise.
24125         * include/wctype.h: Likewise.
24126         * inet/aliases.h: Likewise.
24127         * inet/arpa/inet.h: Likewise.
24128         * inet/netinet/ether.h: Likewise.
24129         * inet/netinet/in.h: Likewise.
24130         * intl/libintl.h: Likewise.
24131         * io/bits/fcntl2.h: Likewise.
24132         * io/fcntl.h: Likewise.
24133         * io/ftw.h: Likewise.
24134         * io/sys/poll.h: Likewise.
24135         * io/sys/stat.h: Likewise.
24136         * io/sys/statfs.h: Likewise.
24137         * io/sys/statvfs.h: Likewise.
24138         * io/utime.h: Likewise.
24139         * libio/bits/stdio.h: Likewise.
24140         * libio/bits/stdio2.h: Likewise.
24141         * libio/libio.h: Likewise.
24142         * libio/libioP.h: Likewise.
24143         * libio/stdio.h: Likewise.
24144         * locale/lc-ctype.c: Likewise.
24145         * locale/locale.h: Likewise.
24146         * login/utmp.h: Likewise.
24147         * malloc/arena.c: Likewise.
24148         * malloc/malloc.c: Likewise.
24149         * malloc/malloc.h: Likewise.
24150         * malloc/mcheck.c: Likewise.
24151         * malloc/mtrace.c: Likewise.
24152         * math/bits/mathcalls.h: Likewise.
24153         * math/fenv.h: Likewise.
24154         * math/math_private.h: Likewise.
24155         * misc/bits/error.h: Likewise.
24156         * misc/bits/syslog.h: Likewise.
24157         * misc/err.h: Likewise.
24158         * misc/error.h: Likewise.
24159         * misc/fstab.h: Likewise.
24160         * misc/mntent.h: Likewise.
24161         * misc/regexp.h: Likewise.
24162         * misc/search.h: Likewise.
24163         * misc/sgtty.h: Likewise.
24164         * misc/sys/mman.h: Likewise.
24165         * misc/sys/syslog.h: Likewise.
24166         * misc/sys/uio.h: Likewise.
24167         * misc/sys/xattr.h: Likewise.
24168         * misc/ttyent.h: Likewise.
24169         * nis/rpcsvc/ypclnt.h: Likewise.
24170         * nss/nss.h: Likewise.
24171         * posix/bits/unistd.h: Likewise.
24172         * posix/fnmatch.h: Likewise.
24173         * posix/glob.h: Likewise.
24174         * posix/sched.h: Likewise.
24175         * posix/spawn.h: Likewise.
24176         * posix/sys/wait.h: Likewise.
24177         * posix/unistd.h: Likewise.
24178         * posix/wordexp.h: Likewise.
24179         * pwd/pwd.h: Likewise.
24180         * resolv/netdb.h: Likewise.
24181         * resource/sys/resource.h: Likewise.
24182         * rt/aio.h: Likewise.
24183         * rt/bits/mqueue2.h: Likewise.
24184         * rt/mqueue.h: Likewise.
24185         * shadow/shadow.h: Likewise.
24186         * signal/signal.h: Likewise.
24187         * socket/send.c: Likewise.
24188         * socket/sendto.c: Likewise.
24189         * socket/sys/socket.h: Likewise.
24190         * stdio-common/printf.h: Likewise.
24191         * stdlib/bits/stdlib.h: Likewise.
24192         * stdlib/fmtmsg.h: Likewise.
24193         * stdlib/monetary.h: Likewise.
24194         * stdlib/stdlib.h: Likewise.
24195         * stdlib/ucontext.h: Likewise.
24196         * streams/stropts.h: Likewise.
24197         * string/argz.h: Likewise.
24198         * string/bits/string2.h: Likewise.
24199         * string/string.h: Likewise.
24200         * string/strings.h: Likewise.
24201         * sunrpc/rpc/auth.h: Likewise.
24202         * sunrpc/rpc/auth_des.h: Likewise.
24203         * sunrpc/rpc/clnt.h: Likewise.
24204         * sunrpc/rpc/netdb.h: Likewise.
24205         * sunrpc/rpc/pmap_clnt.h: Likewise.
24206         * sunrpc/rpc/xdr.h: Likewise.
24207         * sysdeps/generic/inttypes.h: Likewise.
24208         * sysdeps/generic/net/if.h: Likewise.
24209         * sysdeps/generic/sys/swap.h: Likewise.
24210         * sysdeps/gnu/net/if.h: Likewise.
24211         * sysdeps/gnu/utmpx.h: Likewise.
24212         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24213         * sysdeps/i386/i486/bits/string.h: Likewise.
24214         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24215         * sysdeps/s390/bits/string.h: Likewise.
24216         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24217         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24218         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24219         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24220         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24221         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24222         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24223         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24224         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24225         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24226         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24227         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24228         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24229         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24230         * sysdeps/unix/sysv/linux/readv.c: Likewise.
24231         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24232         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24233         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24234         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24235         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24236         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24237         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24238         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24239         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24240         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24241         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24242         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24243         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24244         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24245         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24246         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24247         * sysvipc/sys/ipc.h: Likewise.
24248         * sysvipc/sys/msg.h: Likewise.
24249         * sysvipc/sys/sem.h: Likewise.
24250         * sysvipc/sys/shm.h: Likewise.
24251         * termios/termios.h: Likewise.
24252         * time/sys/time.h: Likewise.
24253         * time/time.h: Likewise.
24254         * wcsmbs/bits/wchar2.h: Likewise.
24255         * wcsmbs/uchar.h: Likewise.
24256         * wcsmbs/wchar.h: Likewise.
24257         * wctype/wctype.h: Likewise.
24259         [BZ #13551]
24260         * Makeconfig: Remove all but ELF support including AIX support.
24261         * Makerules: Likewise.
24262         * config.h.in: Likewise.
24263         * config.make.in: Likewise.
24264         * configure: Likewise.
24265         * configure.in: Likewise.
24266         * csu/Makefile: Likewise.
24267         * csu/version.c: Likewise.
24268         * debug/Makefile: Likewise.
24269         * dlfcn/Makefile: Likewise.
24270         * elf/Makefile: Likewise.
24271         * extra-lib.mk: Likewise.
24272         * iconv/Makefile: Likewise.
24273         * include/libc-symbols.h: Likewise.
24274         * include/shlib-compat.h: Likewise.
24275         * resolv/Makefile: Likewise.
24276         * resolv/res_libc.c: Likewise.
24277         * rt/Makefile: Likewise.
24278         * sysdeps/i386/asm-syntax.h: Likewise.
24279         * sysdeps/i386/sysdep.h: Likewise.
24280         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24281         * sysdeps/mach/sysdep.h: Likewise.
24282         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24283         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24284         * sysdeps/s390/asm-syntax.h: Likewise.
24285         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24286         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24287         * sysdeps/sh/sysdep.h: Likewise.
24288         * sysdeps/unix/sparc/sysdep.h: Likewise.
24289         * sysdeps/wordsize-32/divdi3.c: Likewise.
24290         * sysdeps/x86_64/sysdep.h: Likewise.
24292         * argp/Versions: Remove _argp_unlock_xxx.
24294         [BZ #13559]
24295         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
24296         * abilist/libBrokenLocale.abilist: Likewise.
24297         * abilist/libanl.abilist: Likewise.
24298         * abilist/libc.abilist: Likewise.
24299         * abilist/libcrypt.abilist: Likewise.
24300         * abilist/libdl.abilist: Likewise.
24301         * abilist/libm.abilist: Likewise.
24302         * abilist/libnsl.abilist: Likewise.
24303         * abilist/libpthread.abilist: Likewise.
24304         * abilist/libresolv.abilist: Likewise.
24305         * abilist/librt.abilist: Likewise.
24306         * abilist/libthread_db.abilist: Likewise.
24307         * abilist/libutil.abilist: Likewise.
24308         * abilist/libnss_db.abilist: New file.
24310         * scripts/abilist.awk: Add support for indirect functions.
24312         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24314         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24316         * shlib-versions: Remove entries for ports architectures.
24318         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
24319         files in ports.
24320         * elf/stackguard-macros.h: Remove support for IA-64.
24321         * elf/tst-auditmod1.c: Likewise.
24322         * sysdeps/generic/ldsodefs.h: Likewise.
24324         * sysdeps/unix/sysv/linux/configure.in: Ports should define
24325         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24326         configure files.
24328         [BZ #13552]
24329         * configure.in: Remove --enable-omitfp support.
24330         * FAQ.in: Adjust.
24331         * config.make.in: Likewise.
24332         * Makeconfig: Likewise.
24333         * manual/install.texi: Likewise.
24335         In case anyone cares, the IA-64 architecture could move to ports.
24336         * sysdeps/ia64/*: Removed.
24337         * sysdeps/unix/sysv/linux/ia64/*: Removed.
24338         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24340         [BZ #13555]
24341         * configure.in: Remove entries for unsupported architectures.
24343         [BZ #13533]
24344         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24345         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
24346         routines.
24347         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24348         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24349         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
24350         fall back to using wcrtomb.
24351         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24352         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
24353         renaming.
24354         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24355         * wcsmbs/tst-c16c32-1.c: New file.
24357         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24358         local variable.
24360         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24362         * elf/tst-unique3.cc: Add explicit declaration of gets.
24363         * elf/tst-unique3lib.cc: Likewise.
24364         * elf/tst-unique3lib2.cc: Likewise.
24365         * elf/tst-unique4.cc: Likewise.
24367         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24369 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
24371         [BZ #13566]
24372         * assert/assert.h (static_assert): Don't define for C++.
24373         * libio/stdio.h (gets): Do declare for C++ <= C++11.
24374         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24376 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
24378         * iconv/loop.c (single loop): Fix assertion in storing of
24379         remaining bytes.
24381         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24383 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
24385         * posix/getconf.c: Update copyright year.
24386         * nss/getent.c: Likewise.
24387         * nss/makedb.c: Likewise.
24388         * iconv/iconvconfig.c: Likewise.
24389         * iconv/iconv_prog.c: Likewise.
24390         * elf/ldconfig.c: Likewise.
24391         * elf/pldd.c: Likewise.
24392         * elf/sotruss.ksh: Likewise.
24393         * catgets/gencat.c: Likewise.
24394         * csu/version.c: Likewise.
24395         * elf/ldd.bash.in: Likewise.
24396         * elf/sprof.c (print_version): Likewise.
24397         * locale/programs/locale.c: Likewise.
24398         * locale/programs/localedef.c: Likewise.
24399         * login/programs/pt_chown.c: Likewise.
24400         * nscd/nscd.c (print_version): Likewise.
24401         * debug/xtrace.sh: Likewise.
24402         * malloc/memusage.sh: Likewise.
24403         * malloc/mtrace.pl: Likewise.
24404         * debug/catchsegv.sh: Likewise.
24406 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
24408         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24409         pure attribute.
24411 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
24413         [BZ #13533]
24414         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24415         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24416         transformations.
24417         * iconv/gconv_int.h: Likewise.
24418         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24419         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24420         from libc for GLIBC_2.16.
24421         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24422         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24423         * wcsmbs/uchar.h: Really define mbstate_t.
24424         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24425         * wcsmbs/c16rtomb.c: New file.
24426         * wcsmbs/mbrtoc16.c: New file.
24427         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24428         for C/POSIX locale.
24429         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24430         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24432         * wcsmbs/wchar.h: Add missing __restrict.
24434 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
24436         [BZ #13532]
24437         * time/Makefile (routines): Add timespec_get.
24438         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24439         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
24440         timespec for ISO C11.
24441         * time/timespec_get.c: New file.
24442         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24443         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24445         [BZ #13531]
24446         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24447         * stdlib/stdlib.h: Declare aligned_alloc.
24448         * Versions.def: Add GLIBC_2.16 for libc.
24449         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24451         [BZ 13527]
24452         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24453         ISO C11.
24455         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24456         code.
24458         [BZ #13528]
24459         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24461         [BZ #13529]
24462         * assert/assert.h (static_assert): Define.
24464         * version.h: Update for 2.16 development version.
24466         [BZ #13526]
24467         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24468         _ISOC11_SOURCE.
24470         * version.h (RELEASE): Bump for 2.15 release.
24471         * include/features.h (__GLIBC_MINOR__): Bump to 15.
24473         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24474         Patch by Marek Polacek <mpolacek@redhat.com>.
24476         * bits/byteswap.h: Protect long long constants with __extension__.
24477         * sysdeps/i386/bits/byteswap.h: Likewise.
24478         * sysdeps/ia64/bits/byteswap.h: Likewise.
24479         * sysdeps/s390/bits/byteswap.h: Likewise.
24480         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24482 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24484         [BZ #13540]
24485         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24486         destination buffer.
24487         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24489 2011-12-23  Marek Polacek  <polacek@redhat.com>
24491         * elf/dl-addr.c (determine_info): Add inline keyword.
24492         * elf/tst-auditmod4b.c (check_avx): Likewise.
24493         * elf/tst-auditmod6b.c (check_avx): Likewise.
24494         * elf/tst-auditmod6c.c (check_avx): Likewise.
24495         * elf/tst-auditmod7b.c (check_avx): Likewise.
24497 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
24499         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24500         !__SSE_MATH__.
24502 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24504         [BZ #13540]
24505         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24506         processing for last bytes.
24508 2011-08-06  Bruno Haible  <bruno@clisp.org>
24510         [BZ #13061]
24511         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24512         U+0385, not to U+1FEE.
24514         [BZ #13062]
24515         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24516         entry for U+00A5 U+0301.
24518 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24520         [BZ #13166]
24521         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24522         buffer for the output is too small.
24524         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24525         optimization.
24527         [BZ #13185]
24528         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24529         SSE flags if possible.
24531 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24533         [BZ #13540]
24534         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24535         processing for last bytes.
24537 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
24539         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24540         (syscall-list-default-options, syscall-list-default-condition)
24541         (syscall-list-includes): Define.
24542         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24543         list of ABIs and options and #if conditions for each ABI.  Do not
24544         handle common syscalls between ABIs specially.
24545         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24546         Remove.
24547         (syscall-list-variants, syscall-list-32bit-options)
24548         (syscall-list-32bit-condition, syscall-list-64bit-options)
24549         (syscall-list-64bit-condition): Define.
24550         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24551         (syscall-list-variants, syscall-list-32bit-options)
24552         (syscall-list-32bit-condition, syscall-list-64bit-options)
24553         (syscall-list-64bit-condition): Define.
24554         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24555         Remove.
24556         (syscall-list-variants, syscall-list-32bit-options)
24557         (syscall-list-32bit-condition, syscall-list-64bit-options)
24558         (syscall-list-64bit-condition): Define.
24559         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24560         Remove.
24561         (syscall-list-variants, syscall-list-32bit-options)
24562         (syscall-list-32bit-condition, syscall-list-64bit-options)
24563         (syscall-list-64bit-condition): Define.
24565 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24567         * locale/iso-639.def: Add brx entry.
24569         [BZ #13328]
24570         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24571         Proposed by Mariusz_Cukr <marcukr@op.pl>.
24573         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24574         __feraiseexcept_renamed.
24576 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24578         [BZ #13538]
24579         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24580         EPOLLET with unsigned values.
24581         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24582         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24584         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24585         to large cancellation.
24586         * math/s_cacoshf.c: Likewise.
24587         * math/s_cacoshl.c: Likewise.
24589 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
24591         [BZ #13305]
24592         [BZ #12786]
24593         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24594         * math/s_cacoshf.c: Likewise.
24595         * math/s_cacoshl.c: Likewise.
24597 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24599         [BZ #13439]
24600         * iconv/gconv.h: Define __GCONV_SWAP.
24601         * iconvdata/unicode.c: The swap bit must be stored in __flags.
24602         * iconvdata/utf-16.c: Likewise.
24603         * iconvdata/utf-32.c: Likewise.
24605 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24607         [BZ #13524]
24608         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24609         numerator after shifting it by one limb.
24611 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
24613         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24614         under [__USE_EXTERN_INLINES].
24616 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24618         [BZ #13446]
24619         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24621 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24623         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24624         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24625         optimized code.
24626         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24627         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24628         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24629         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24630         for strncasecmp/strncasecmp_l compilation.
24631         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24632         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24634 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
24636         [BZ #13484]
24637         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24638         of __asm__.
24640 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24642         [BZ #13506]
24643         * time/tzfile.c (__tzfile_read): Check values from file header.
24645 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24647         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24648         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24649         * powerpc/powerpc32/dl-start.S: Likewise.
24650         * powerpc/powerpc32/elf/start.S: Likewise.
24651         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24652         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24653         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24654         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24655         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24656         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24657         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24658         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24659         * powerpc/powerpc32/fpu/s_round.S: Likewise.
24660         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24661         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24662         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24663         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24664         * powerpc/powerpc32/memset.S: Likewise.
24665         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24666         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24667         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24668         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24669         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24670         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24671         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24672         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24673         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24674         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24675         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24676         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24677         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24679 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24681         * math/libm-test.inc: Added more nearbyint tests.
24682         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24683         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24684         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24685         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24687 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
24689         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24690         FD_CLOEXEC.
24692 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24694         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24695         Add wcscpy-ssse3 wcscpy-c.
24696         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24697         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24698         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24699         * sysdeps/x86_64/wcschr.S: New file.
24700         * sysdeps/x86_64/wcsrchr.S: New file.
24701         * string/test-strcmp.c: Remove checking of wcscmp function for
24702         wrong alignments.
24703         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24704         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24705         wcsrchr-sse2 wcsrchr-c.
24706         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24707         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24708         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24709         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24710         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24711         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24712         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24713         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24714         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24715         * wcsmbc/wcschr.c (WCSCHR): New macro.
24717 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24719         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24720         * wcsmbs/test-wcsrchr.c: New file.
24721         * string/test-strrchr.c: Add wcsrchr support.
24722         (WIDE): New macro.
24723         * wcsmbs/test-wcscpy.c: New file.
24724         * string/test-strcpy.c: Add wcscpy support.
24725         (WIDE): New macro.
24727 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
24729         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24730         the inner loop.
24732 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
24734         [BZ #13472]
24735         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24737 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
24739         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24740         Minor optimizations.
24742         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24743         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24744         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24746 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
24748         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24749         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24750         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24751         for gcc to avoid warnings.
24752         * inet/Makefile (tests): Add tst-checks.
24753         * inet/tst-checks.c: New file.
24755         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24756         warning.
24758         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24759         __wmemcmp_sse2.
24761         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24762         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24764         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24766 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
24768         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24769         problem.
24771         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24773 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
24775         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24776         conditional on GCC version.
24777         (__arch_compare_and_exchange_val_8_acq)
24778         (__arch_compare_and_exchange_val_16_acq)
24779         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24780         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24781         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24783 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
24785         * sysdeps/sh/backtrace.c: New file.
24787 2011-12-02  Andreas Schwab  <schwab@redhat.com>
24789         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
24790         parenthesis.
24792 2011-12-01  Andreas Schwab  <schwab@redhat.com>
24794         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24795         falling back to utime.
24797 2011-11-30  Andreas Schwab  <schwab@redhat.com>
24799         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24800         expectations for float.
24802 2011-11-29  Andreas Schwab  <schwab@redhat.com>
24804         * locale/weight.h (findidx): Add parameter len.
24805         * locale/weightwc.h (findidx): Likewise.
24806         * posix/fnmatch_loop.c (FCT): Adjust caller.
24807         * posix/regcomp.c (build_equiv_class): Likewise.
24808         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24809         * posix/regexec.c (check_node_accept_bytes): Likewise.
24810         * string/strcoll_l.c (STRCOLL): Likewise.
24811         * string/strxfrm_l.c (STRXFRM): Likewise.
24813 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
24815         * Makefile.in: Remove CVSOPT handling.
24816         * configure.in: Remove use of AC_REVISION.
24817         * iconvdata/Makefile (distribute): No need to filter out CVS.
24818         * scripts/list-sources.sh: Remove CVS, subversion and monotone
24819         handling.
24821 2011-11-16  Andreas Schwab  <schwab@redhat.com>
24823         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24824         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24825         [USE_AS_STRNCASECMP_L]: Likewise.
24826         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24827         NO_TLS_DIRECT_SEG_REFS.
24828         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24829         Fix argument offsets for non-PIC.
24830         [USE_AS_STRNCASECMP_L]: Likewise.
24831         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24832         NO_TLS_DIRECT_SEG_REFS.
24834 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
24836         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24837         O_CLOEXEC.
24838         * locale/loadlocale.c (_nl_load_locale): Likewise.
24840 2011-11-15  Andreas Schwab  <schwab@redhat.com>
24842         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24843         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24844         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24845         (SYSCALL_GETTIME): Set errno on error.
24847         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24848         count references to noai6ai_cached.
24850 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
24852         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24854         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24855         FD_CLOEXEC for /proc/self/maps.
24857         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24858         FD_CLOEXEC for /proc/meminfo.
24860         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24861         gai.conf.
24863         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
24864         FD_CLOEXEC for given file.
24866         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24868         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24869         FD_CLOEXEC for /etc/hosts.
24870         (_gethtent): Likewise.
24872         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24874         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24875         cancellation and set FD_CLOEXEC for /etc/netgroup.
24877         * nss/nss_files/files-key.c (search): Don't allow cancellation when
24878         reading /etc/publickey.
24880         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24881         allow cancellation when reading /etc/group.
24883         * nss/nss_files/files-alias.c (internal_setent): Don't allow
24884         cancellation.
24885         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
24887         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24888         when using data file.
24890         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24892         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24893         (write_nis_obj): Use "c" and "e" in fopen.
24895         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24897         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24899         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24901         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24903         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24904         locale.alias.
24906         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24908         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24910         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24912         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24913         file parsing and set FD_CLOEXEC.
24915 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
24917         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24919 2011-11-14  Andreas Schwab  <schwab@redhat.com>
24921         * malloc/arena.c (arena_get2): Don't call reused_arena when
24922         _int_new_arena failed.
24924 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
24926         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24927         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24928         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24929         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24930         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24931         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24932         to compile strcasecmp and strncasecmp.
24933         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24934         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24936         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24938 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
24940         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24941         locale-defines.sym to gen-as-const-headers.
24942         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24943         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24944         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24945         to compile strcasecmp and strncasecmp.
24946         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24947         strcasecmp_l and strncasecmp_l.
24948         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24949         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24950         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24951         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24952         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24953         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24954         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24955         * sysdeps/i386/i686/multiarch/strncase.S: New file.
24956         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24957         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24958         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24960 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
24962         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24963         result of SYSDEP_GETTIME_CPU to retval.
24964         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24965         parameter list to macro.  Remove trailing semicolon.  Adjust users.
24967         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24968         variable.
24970         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24971         mantissa words.
24972         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24974         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24975         from unused variable.
24977         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24978         DWARF definitions.
24979         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24980         for assembling.
24982         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24983         over namespaces.
24985         * sunrpc/rpc_prot.c (rejected): Fix case value.
24987         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24988         unsigned long long int to avoid warnings in shift.
24990         * posix/regex_internal.c (re_string_reconstruct): Actually use result
24991         of use of trans.
24992         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24993         variable tmp.
24995         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24996         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24997         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24999         * nis/nis_table.c (nis_list): Use variable of correct type for
25000         result of __follow_path call.
25002 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25004         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25005         of math functions ceil, trunc, floor, round, and sqrt, when
25006         avaliable on the platform.
25007         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25008         name clash.
25009         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25010         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25011         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25013 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25015         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25016         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25018 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25020         * include/unistd.h: Fix __readlink return type.
25021         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25023 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25025         * stdlib/ucontext.h: Undo last change for makecontext.
25027 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25029         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25031         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25032         * setjmp/setjmp.h: Mark functions as non-leaf.
25033         * setjmp/bits/setjmp2.h: Likewise.
25034         * stdlib/ucontext.h: Likewise.
25036 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25038         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25039         (reused_arena): Don't check arena limit.
25040         (arena_get2): Atomically check arena limit.
25042 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25044         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25045         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25047         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25048         instructions.
25050 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25052         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25053         handler when locking.
25055         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25056         Fix size of allocated buffer.
25058 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25060         [BZ #10103]
25061         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25062         declarations for long double functions.
25063         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25065         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25067 2011-11-03  Andreas Schwab  <schwab@redhat.com>
25069         * nscd/nscd.c (main): Don't start AVC thread until credentials are
25070         installed.
25072         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25073         is disabled.
25075 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25077         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25079 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25081         * include/alloca.h (stackinfo_alloca_round): Define.
25082         (extend_alloca): Use it.
25083         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25084         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25085         here.
25087         * scripts/check-local-headers.sh: Ignore libaudit.h.
25089         * nscd/Makefile (extra-objs): Make recursively expanded.
25091 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
25093         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25094         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25096         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25097         * posix/tst-rfc3484-2.c: Likewise.
25098         * posix/tst-rfc3484-3.c: Likewise.
25100         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25101         process_vm_writev.
25102         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25103         process_vm_writev.
25104         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25105         process_vm_writev from libc using GLIBC_2.15 version.
25107         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25109 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
25111         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25112         stack usage.
25114 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
25116         [BZ #13367]
25117         * nss/getent.c (initgroups_keys): Show error message in case no group
25118         names are given.
25120         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25121         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25122         __bump_nl_timestamp.
25123         * nscd/connections (nscd_init): When host database is served open
25124         netlink socket and request notification about configuration changes.
25125         (main_loop_poll): Track netlink file descriptor and bump timestamp
25126         in case data becomes available.
25127         (main_loop_epoll): Likewise.
25128         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25129         (database_pers_head): Add extra_data fileds.
25130         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25131         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25132         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25133         Adjust caller.
25134         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25135         in6ai data, call __free_in6ai.
25136         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25137         Add -DHAVE_NETLINK.
25138         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
25139         interface information.  Reuse previous data if netlink timestamp
25140         is not changed.
25141         (__bump_nl_timestamp): New function.
25142         (__free_in6ai): New function.
25144 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
25146         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25147         close_not_cancel_no_status here.
25148         (__check_pf): Reorganize code a bit to not call close twice if OOM.
25150 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25152         [BZ #13276]
25153         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25154         return value.
25156         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25157         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25158         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25160 2011-07-03  Andreas Jaeger  <aj@suse.de>
25162         [BZ #10709]
25163         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25164         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25165         * math/libm-test.inc (sin_test): Add test case.
25167 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25169         [BZ #13337]
25170         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25171         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25173         * elf/chroot_canon.c (chroot_canon): Cleanups.
25175         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25177         [BZ #13335]
25178         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25179         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25181         * string/test-strchr.c: Make usable for strchrnul testing.
25182         * string/test-strchrnul.c: New file.
25183         * string/Makefile (strop-tests): Add strchrnul.
25185         * po/it.po: Update from translation team.
25186         * po/es.po: Likewise.
25188 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
25190         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25191         the three constants needed as parameters.  Drop the others.
25192         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25193         __m128i_strloadu_tolower.
25194         Create and initialize variable zero and use it in all the places
25195         where _mm_setzero_si128 was used.
25197         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25198         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25199         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25200         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25201         anymore.
25202         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25203         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25204         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25205         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25206         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25207         __mpranred, __mptan.
25208         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25209         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25210         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25211         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25212         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25213         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25214         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25215         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25216         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25218 2011-10-28  Andreas Schwab  <schwab@redhat.com>
25220         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25221         redefine if SHARED.
25222         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25224         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25225         wide char related routines to wcsmbs subdir.
25227 2011-10-27  Andreas Schwab  <schwab@redhat.com>
25229         [BZ #13344]
25230         * misc/sys/cdefs.h (__THROWNL): Define.
25231         * posix/unistd.h: Use __THREADNL instead of __THREAD
25232         for memory synchronization functions.
25234 2011-10-26  Roland McGrath  <roland@hack.frob.com>
25236         [BZ #13349]
25237         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25238         doesn't exist.
25239         * manual/stdio.texi (Obstack Streams): Node removed.
25241 2011-10-26  Andreas Schwab  <schwab@redhat.com>
25243         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25244         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25245         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25247         * math/math_private.h (math_force_eval): Allow non-addressable
25248         arguments.
25249         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25251 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25253         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25254         file is not needed.
25256         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25257         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25258         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25259         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25260         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25261         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25262         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25263         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25264         Add AVX variants.
25265         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25266         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25267         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25268         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25269         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25270         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25271         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25272         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25273         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25274         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25275         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25276         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25277         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25278         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25279         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25280         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25281         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25282         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25283         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25285         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25286         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
25288         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25289         place.  Use VEX encoding when compiling for AVX.
25291 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25293         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25294         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25296         * string/test-strchr.c (do_test): Don't generate NUL bytes.
25298 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25300         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25301         useless if() expression.
25302         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25303         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25304         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25305         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25306         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25307         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25308         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25309         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25310         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25311         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25312         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25313         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25314         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25315         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25316         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25317         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25318         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25319         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25320         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25322         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25324 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25326         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25327         condition.
25328         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25330 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25332         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25333         .text section.  Avoid duplicate constants.
25334         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25335         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25336         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25337         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25338         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25339         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25340         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25341         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25342         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25343         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25344         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25345         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25346         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25347         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25348         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25349         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25350         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25351         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25352         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25353         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25354         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25355         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25356         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25357         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25358         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25359         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25360         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25361         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25362         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25363         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25364         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25365         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25366         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25367         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25368         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25369         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25370         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25371         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25372         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25373         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25374         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25375         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25376         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25377         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25378         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25380 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
25382         * sysdeps/x86_64/dla.h: Move to ...
25383         * sysdeps/x86_64/fpu/dla.h: ...here.
25384         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25385         situations.  Use __builtin_fma only for gcc 4.6 and up.
25387         * config.make.in: Add have-mfma4 entry.
25388         * configure.in: Substitute libc_cv_cc_fma4.
25389         * math/Makefile (dbl-only-routines): Add sincostab.
25390         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25391         Use __sincostab not sincos.
25392         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25393         name is a macro.
25394         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
25398         using __copysign.
25399         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
25400         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
25401         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25402         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25403         and __inv.
25404         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25405         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25406         __copysign.
25407         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
25408         define aliases when function name is a macro.
25409         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25410         sysdeps/ieee754/dbl-64/sincos.tbl.
25411         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25412         fma4-enabled routines.
25413         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25414         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25415         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25416         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25417         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25418         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25419         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25420         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25421         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25422         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25423         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25424         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25425         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25426         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25427         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25428         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25429         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25430         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25431         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25432         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25433         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25434         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25435         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25436         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25437         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25438         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25439         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25440         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25441         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25442         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25444         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25445         rename.
25446         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25447         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25448         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25449         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25450         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25451         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25452         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25453         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25455 2011-10-24  Andreas Schwab  <schwab@redhat.com>
25457         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25459 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25461         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25463         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25464         prediction.
25465         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25467         * string/strnlen.c: Don't define STRNLEN, reverse logic.
25468         Remove unused variable magic_bits.
25469         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25471         * string/strnlen.c: Define and use STRNLEN macro.
25472         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25473         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25474         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25475         * wcsmbs/wcslen.c: Define and use WCSLEN.
25476         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25477         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25478         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25479         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25480         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25481         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25482         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25484 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25486         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25487         strnlen-sse2-no-bsf.
25488         Rename strlen-no-bsf to strlen-sse2-no-bsf.
25489         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25490         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25491         Add strnlen support.
25492         (USE_AS_STRNLEN): New macro.
25493         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25494         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25495         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25496         * sysdeps/x86_64/wcslen.S: New file.
25498 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
25500         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25501         XMM-moves are used for copying on small sizes.
25503 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25505         * wcsmbs/Makefile (strop-tests): Add wcschr.
25506         * wcsmbs/test-wcschr.c: New file.
25507         * string/test-strchr.c: Update.
25508         Add wcschr support.
25509         (WIDE): New macro.
25511 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25513         * wcsmbs/Makefile (strop-tests): Add wcslen.
25514         * wcsmbs/test-wcslen.c: New file.
25515         * string/test-strlen.c: Update.
25516         Add wcslen support.
25517         (WIDE): New macro.
25519 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25521         * po/it.po: Update from translation team.
25523 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25525         * sysdeps/x86_64/wcscmp.S: Update.
25526         Fix wrong comparison semantics.
25527         wcscmp shall use signed comparison not unsigned.
25528         Don't use substraction to avoid overflow bug.
25529         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25530         * wcsmbc/wcscmp.c: Likewise.
25531         * string/test-strcmp.c: Likewise.
25532         Add new tests to check cases with negative values.
25534 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25536         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25537         * sysdeps/x86_64/dla.h: ...here.  New file.
25538         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25539         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25540         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25541         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25542         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25543         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25544         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25545         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25546         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25548 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
25550         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25551         __ynl_finite aliases.
25553 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25557         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25558         define DLA_FMA.
25559         [DLA_FMA] (EMULV): Use DLA_FMA.
25560         [DLA_FMA] (MUL12): Use EMULV.
25561         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25562         that are not needed.
25563         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25564         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25565         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25566         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25567         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25568         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25569         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25571 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
25573         * math/s_nan.c: Undef __nan.
25574         * math/s_nanf.c: Undef __nanf.
25575         * math/s_nanl.c: Undef __nanl.
25576         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25577         "math_private.h".
25579 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25581         * math/s_catan.c: Add branch predictions.
25582         * math/s_catanf.c: Likewise.
25583         * math/s_catanh.c: Likewise.
25584         * math/s_catanhf.c: Likewise.
25585         * math/s_catanhl.c: Likewise.
25586         * math/s_catanl.c: Likewise.
25587         * math/s_cexp.c: Likewise.
25588         * math/s_cexpf.c: Likewise.
25589         * math/s_cexpl.c: Likewise.
25590         * math/s_clog.c: Likewise.
25591         * math/s_clog10.c: Likewise.
25592         * math/s_clog10f.c: Likewise.
25593         * math/s_clog10l.c: Likewise.
25594         * math/s_clogf.c: Likewise.
25595         * math/s_clogl.c: Likewise.
25596         * math/s_csqrt.c: Likewise.
25597         * math/s_csqrtf.c: Likewise.
25598         * math/s_csqrtl.c: Likewise.
25599         * math/s_ctanf.c: Likewise.
25600         * math/s_ctanh.c: Likewise.
25601         * math/s_ctanhf.c: Likewise.
25602         * math/s_ctanhl.c: Likewise.
25603         * math/s_ctanl.c: Likewise.
25605         * math/math_private.h: Define __nan, __nanf, __nanl.
25606         * math/s_cacosh.c: Include <math_private.h>.
25607         * math/s_cacoshl.c: Likewise.
25608         * math/s_casinh.c: Likewise.
25609         * math/s_casinhf.c: Likewise.
25610         * math/s_casinhl.c: Likewise.
25611         * math/s_ccos.c: Rely entire on ccosh.
25612         * math/s_ccosf.c: Rely entire on ccoshf.
25613         * math/s_ccosl.c: Rely entirely on ccoshl.
25614         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
25615         Remove tests for FE_INVALID.
25616         * math/s_ccoshf.c: Likewise.
25617         * math/s_ccoshl.c: Likewise.
25618         * math/s_csin.c: Likewise.
25619         * math/s_csinf.c: Likewise.
25620         * math/s_csinh.c Likewise.
25621         * math/s_csinhf.c: Likewise.
25622         * math/s_csinhl.c: Likewise.
25623         * math/s_csinl.c: Likewise.
25624         * math/s_ctan.c: Likewise.
25625         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25626         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25627         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25629 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
25631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25632         compilation problems.
25634         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25635         __builtin_expect.
25637 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
25639         * sysdeps/i386/configure.in: Test for -mfma4 option.
25640         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25641         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25642         COMMON_CPUID_INDEX_80000001.
25643         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25644         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25645         use it if FMA3 is not supported.
25646         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25648         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25649         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25651 2011-10-20  Andreas Schwab  <schwab@redhat.com>
25653         [BZ #12892]
25654         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25655         it would create a cycle with a link time dependency.
25657 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
25659         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25660         instruction.
25661         * string/Makefile (strop-tests): Add rawmemchr.
25662         * string/test-rawmemchr.c: New file.
25664         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25665         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
25666         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
25667         when compiling str{,n}casecmp and when AVX is available.  Hook up
25668         new optimized code in initializers.
25670 2011-10-19  Andreas Schwab  <schwab@redhat.com>
25672         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25673         __feraiseexcept instead of feraiseexcept.
25675 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
25677         * math/math_private.h: Define defaults for libc_fetestexcept and
25678         libc_feupdateenv.
25679         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25680         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25681         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25682         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25683         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25684         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25685         libc_fetestexcept and libc_feupdateenv.
25687         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25688         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25689         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25690         * sysdeps/x86_64/fpu/math_private.h: Define special version of
25691         libc_feholdexcept_setround.
25693         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25694         Add s_nearbyint-c and s_nearbyintf-c.
25695         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25696         nearbyintf inlines.
25697         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25698         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25699         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25700         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25702         * math/math_private.h: Define defaults for libc_fegetround,
25703         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25704         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25705         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25706         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25707         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25708         standard functions.
25709         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25710         Remove comments and hacks for old compiler versions.
25711         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25712         libc_fegetround, libc_fesetround, libc_feholdexcept, and
25713         libc_feholdexceptl.
25715 2011-10-18  Andreas Schwab  <schwab@redhat.com>
25717         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25718         (__feraiseexcept_renamed): Add __NTH.
25719         (feraiseexcept): Add __NTH.  Rename local variables to fix
25720         namespace violations.
25722 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
25724         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25726         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25728         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25729         recently added interfaces.
25730         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25732         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25733         about macro parameter expansion.
25735         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25736         __NO_MATH_INLINES is defined.  Cleanups.
25738         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25739         and __floorf is target has SSE4.1.
25740         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25741         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25742         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25743         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25745         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25746         name.
25747         (floorf): Likewise.
25749         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25751 2011-10-17  Andreas Schwab  <schwab@redhat.com>
25753         * misc/sys/cdefs.h: Fix last change.
25755         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25756         database lookup.
25758 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
25760         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25762         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25763         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25764         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25765         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25766         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25767         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25768         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25769         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25770         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25771         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25772         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25773         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25774         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25775         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25776         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25777         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25778         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25779         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25780         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25781         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25782         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25783         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25785         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25786         ceil, ceilf, floor, floorf.
25788         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25789         Perform IRELATIVE relocations last.
25791         * elf/do-rel.h: Add another parameter nrelative, replacing the
25792         local variable with the same name.  Change name of the function
25793         to end in Rel or Rela (uppercase).
25794         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25795         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
25796         elf_dynamic_do_##reloc function.
25798 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
25800         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25801         is sufficient, at least on modern CPUs.
25803         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25805         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25806         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25808         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25809         __expl_finite.
25810         * math/bits/math-finite.h: Add entries for exp.
25811         * math/e_expl.c: Add __*_finite alias.
25812         * sysdeps/i386/fpu/e_exp.S: Likewise.
25813         * sysdeps/i386/fpu/e_expf.S: Likewise.
25814         * sysdeps/i386/fpu/e_expl.c: Likewise.
25815         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25816         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25817         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25818         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25819         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25820         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25821         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25823         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25824         is sufficient, at least on modern CPUs.
25826         * ctype/ctype-info.c (__ctype_init): Define.
25827         * include/ctype.h (__ctype_init): Declare.
25828         (__ctype_b_loc): The variable is always initialized.
25829         (__ctype_toupper_loc): Likewise.
25830         (__ctype_tolower_loc): Likewise.
25831         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25832         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25834 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
25836         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25838         * configure.in: Also look in $cxxmachine/include for C++ system
25839         headers.
25841 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25843         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25844         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25845         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25846         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
25847         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25848         (USE_AS_WMEMCMP): New macro.
25849         Fixing indents.
25850         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25851         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25852         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25853         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25855         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25856         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25857         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25858         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25859         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25860         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25861         (USE_AS_WMEMCMP): New macro.
25862         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25863         * sysdeps/string/test-memcmp.c: Update.
25864         Fix simple_wmemcmp.
25865         Add new tests.
25866         * wcsmbs/wmemcmp.c: Update.
25867         (WMEMCMP): New macro.
25868         Fix overflow bug.
25870 2011-10-12  Andreas Jaeger  <aj@suse.de>
25872         [BZ #13268]
25873         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25875 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
25877         * libio/iofwide.c (do_length): Avoid warning.
25879         * ctype/ctype.h (__isctype_f): Add missing __THROW.
25881 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
25883         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25885         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25886         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25887         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25888         * sysdeps/i386/i686/fpu/e_log.S: New file.
25889         * sysdeps/i386/i686/fpu/e_logf.S: New file.
25890         * sysdeps/i386/i686/fpu/e_logl.S: New file.
25892         * ctype/ctype.h: Add support for inlined isXXX functions when
25893         compiling C++ code.
25895 2011-10-14  Andreas Schwab  <schwab@redhat.com>
25897         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25899         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25901 2011-10-13  Roland McGrath  <roland@hack.frob.com>
25903         [BZ #13291]
25904         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25906 2011-10-13  Andreas Schwab  <schwab@redhat.com>
25908         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25909         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25910         feraiseexcept.
25912         * sysdeps/x86_64/memrchr.S: Check for zero size.
25914         * string/stratcliff.c: Add memrchr tests.
25916 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25918         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25919         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25920         rawmemchr-sse2 rawmemchr-sse2-bsf.
25921         * sysdeps/i386/i686/multiarch/memchr.S: New file.
25922         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25923         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25924         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25925         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25926         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25927         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25928         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25929         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25930         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25931         * string/memrchr.c (MEMRCHR): New macro.
25933 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
25935         Add integration with gcc's -ffinite-math-only and optimize wrapper
25936         functions in libm.
25937         * Versions.def: Define GLIBC_2.15 version for libm.
25938         * math/Makefile (headers): Add bits/math-finite.h.
25939         * math/bits/math-finite.h: New file.
25940         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25941         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25942         * math/e_acoshl.c: Add __*_finite alias.
25943         * math/e_acosl.c: Likewise.
25944         * math/e_asinl.c: Likewise.
25945         * math/e_atan2l.c: Likewise.
25946         * math/e_atanhl.c: Likewise.
25947         * math/e_coshl.c: Likewise.
25948         * math/e_exp10.c: Likewise.
25949         * math/e_exp10f.c: Likewise.
25950         * math/e_exp10l.c: Likewise.
25951         * math/e_exp2l.c: Likewise.
25952         * math/e_fmodl.c: Likewise.
25953         * math/e_gammal_r.c: Likewise.
25954         * math/e_hypotl.c: Likewise.
25955         * math/e_j0l.c: Likewise.
25956         * math/e_j1l.c: Likewise.
25957         * math/e_jnl.c: Likewise.
25958         * math/e_lgammal_r.c: Likewise.
25959         * math/e_log10l.c: Likewise.
25960         * math/e_log2l.c: Likewise.
25961         * math/e_logl.c: Likewise.
25962         * math/e_powl.c: Likewise.
25963         * math/e_sinhl.c: Likewise.
25964         * math/e_sqrtl.c: Likewise.
25965         * math/e_scalb.c: Completely rewritten and optimized.
25966         * math/e_scalbf.c: Likewise.
25967         * math/e_scalbl.c: Likewise.
25968         * math/w_acos.c: Likewise.
25969         * math/w_acosf.c: Likewise.
25970         * math/w_acosl.c: Likewise.
25971         * math/w_acosh.c: Likewise.
25972         * math/w_acoshf.c: Likewise.
25973         * math/w_acoshl.c: Likewise.
25974         * math/w_asin.c: Likewise.
25975         * math/w_asinf.c: Likewise.
25976         * math/w_asinl.c: Likewise.
25977         * math/w_atan2.c: Likewise.
25978         * math/w_atan2f.c: Likewise.
25979         * math/w_atan2l.c: Likewise.
25980         * math/w_atanh.c: Likewise.
25981         * math/w_atanhf.c: Likewise.
25982         * math/w_atanhl.c: Likewise.
25983         * math/w_exp10.c: Likewise.
25984         * math/w_exp10f.c: Likewise.
25985         * math/w_exp10l.c: Likewise.
25986         * math/w_fmod.c: Likewise.
25987         * math/w_fmodf.c: Likewise.
25988         * math/w_fmodl.c: Likewise.
25989         * math/w_j0.c: Likewise.
25990         * math/w_j0f.c: Likewise.
25991         * math/w_j0l.c: Likewise.
25992         * math/w_j1.c: Likewise.
25993         * math/w_j1f.c: Likewise.
25994         * math/w_j1l.c: Likewise.
25995         * math/w_jn.c: Likewise.
25996         * math/w_jnf.c: Likewise.
25997         * math/w_log.c: Likewise.
25998         * math/w_logf.c: Likewise.
25999         * math/w_logl.c: Likewise.
26000         * math/w_log10.c: Likewise.
26001         * math/w_log10f.c: Likewise.
26002         * math/w_log10l.c: Likewise.
26003         * math/w_log2.c: Likewise.
26004         * math/w_log2f.c: Likewise.
26005         * math/w_log2l.c: Likewise.
26006         * math/w_pow.c: Likewise.
26007         * math/w_powf.c: Likewise.
26008         * math/w_powl.c: Likewise.
26009         * math/w_remainder.c: Likewise.
26010         * math/w_remainderf.c: Likewise.
26011         * math/w_remainderl.c: Likewise.
26012         * math/w_scalb.c: Likewise.
26013         * math/w_scalbf.c: Likewise.
26014         * math/w_scalbl.c: Likewise.
26015         * math/w_sqrt.c: Likewise.
26016         * math/w_sqrtf.c: Likewise.
26017         * math/w_sqrtl.c: Likewise.
26018         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26019         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26020         used.
26021         * math/math_private.h: Declare __kernel_standard_f.
26022         * math/w_cosh.c: Remove cruft and optimize a bit.
26023         * math/w_coshf.c: Likewise.
26024         * math/w_coshl.c: Likewise.
26025         * math/w_exp2.c: Likewise.
26026         * math/w_exp2f.c: Likewise.
26027         * math/w_exp2l.c: Likewise.
26028         * math/w_hypot.c: Likewise.
26029         * math/w_hypotf.c: Likewise.
26030         * math/w_hypotl.c: Likewise.
26031         * math/w_lgamma.c: Likewise.
26032         * math/w_lgamma_r.c: Likewise.
26033         * math/w_lgammaf.c: Likewise.
26034         * math/w_lgammaf_r.c: Likewise.
26035         * math/w_lgammal.c: Likewise.
26036         * math/w_lgammal_r.c: Likewise.
26037         * math/w_sinh.c: Likewise.
26038         * math/w_sinhf.c: Likewise.
26039         * math/w_sinhl.c: Likewise.
26040         * math/w_tgamma.c: Likewise.
26041         * math/w_tgammaf.c: Likewise.
26042         * math/w_tgammal.c: Likewise.
26043         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26044         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26045         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26046         Minor optimizations.  Pretty printing.  Remove cruft.
26047         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26048         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26049         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26050         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26051         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26052         * sysdeps/i386/fpu/e_asin.S: Likewise.
26053         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26054         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26055         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26056         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26057         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26058         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26059         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26060         * sysdeps/i386/fpu/e_exp10.S: Likewise.
26061         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26062         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26063         * sysdeps/i386/fpu/e_exp2.S: Likewise.
26064         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26065         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26066         * sysdeps/i386/fpu/e_fmod.S: Likewise.
26067         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26068         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26069         * sysdeps/i386/fpu/e_hypot.S: Likewise.
26070         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26071         * sysdeps/i386/fpu/e_log.S: Likewise.
26072         * sysdeps/i386/fpu/e_log10.S: Likewise.
26073         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26074         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26075         * sysdeps/i386/fpu/e_log2.S: Likewise.
26076         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26077         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26078         * sysdeps/i386/fpu/e_logf.S: Likewise.
26079         * sysdeps/i386/fpu/e_logl.S: Likewise.
26080         * sysdeps/i386/fpu/e_pow.S: Likewise.
26081         * sysdeps/i386/fpu/e_powf.S: Likewise.
26082         * sysdeps/i386/fpu/e_powl.S: Likewise.
26083         * sysdeps/i386/fpu/e_remainder.S: Likewise.
26084         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26085         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26086         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26087         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26088         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26089         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26090         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26091         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26092         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26093         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26094         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26095         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26096         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26097         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26098         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26099         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26100         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26101         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26102         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26103         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26104         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26105         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26106         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26107         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26108         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26109         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26110         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26111         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26112         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26113         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26114         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26115         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26116         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26117         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26118         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26119         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26120         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26121         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26122         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26123         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26124         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26125         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26126         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26127         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26128         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26129         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26130         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26131         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26132         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26133         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26134         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26135         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26136         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26137         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26138         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26139         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26140         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26141         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26142         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26143         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26144         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26145         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26146         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26147         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26148         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26149         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26150         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26151         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26152         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26153         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26154         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26155         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26156         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26157         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26158         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26159         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26160         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26161         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26162         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26163         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26164         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26165         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26166         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26167         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26168         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26169         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26170         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26171         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26172         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26173         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26174         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26175         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26176         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26177         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26178         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26179         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26180         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26181         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26182         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26183         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26184         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26185         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26186         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26187         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26188         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26189         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26190         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26191         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26192         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26193         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26194         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26195         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26196         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26197         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26198         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26199         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26200         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26201         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26202         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
26203         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26204         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26205         (__isnanf): Likewise.
26206         (__isinf_ns): Likewise.
26207         (__isinf_nsf): Likewise.
26208         (__finite): Likewise.
26209         (__finitef): Likewise.
26210         (__ieee754_sqrt): Define as macro.
26211         (__ieee754_sqrtf): Define as macro.
26212         (__ieee754_sqrtl): Define as macro.
26213         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26214         inlined copy.
26215         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26216         __FINITE_MATH_ONLY__ consistent.
26217         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26219 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
26221         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26222         of rawmemchr.
26224         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26226 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
26228         * po/ja.po: Update from translation team.
26230 2011-10-08  Roland McGrath  <roland@hack.frob.com>
26232         * locale/programs/locarchive.c (prepare_address_space): New function.
26233         (create_archive, enlarge_archive, open_archive): Use it.
26235         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26236         inside [SHARED], where it is used.
26238         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26240         * nss/getent.c (netgroup_keys): Remove unused variable.
26241         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26243 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
26245         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26246         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26247         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26248         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26249         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26250         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26251         * math/Makefile (libm-calls): Add s_isinf_ns.
26252         * math/divtc3.c: Use __isinf_nsl instead of isinf.
26253         * math/multc3.c: Likewise.
26254         * math/s_casin.c: Likewise.
26255         * math/s_casinf.c: Likewise.
26256         * math/s_casinl.c: Likewise.
26257         * math/s_ccos.c: Likewise.
26258         * math/s_ccosf.c: Likewise.
26259         * math/s_ccosl.c: Likewise.
26260         * math/s_ctan.c: Likewise.
26261         * math/s_ctanf.c: Likewise.
26262         * math/s_ctanh.c: Likewise.
26263         * math/s_ctanhf.c: Likewise.
26264         * math/s_ctanhl.c: Likewise.
26265         * math/s_ctanl.c: Likewise.
26266         * math/w_fmod.c: Likewise.
26267         * math/w_fmodf.c: Likewise.
26268         * math/w_fmodl.c: Likewise.
26269         * math/w_remainder.c: Likewise.
26270         * math/w_remainderf.c: Likewise.
26271         * math/w_remainderl.c: Likewise.
26272         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26273         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26274         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26275         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26276         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26277         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26278         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26279         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26281         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26282         of the number.
26283         * stdio-common/printf_fphex.c: Likewise.
26284         * stdio-common/printf_size.c: Likewise.
26286         * math/e_exp10.c: Include math_private.h using <...> not "...".
26287         * math/e_exp10f.c: Likewise.
26288         * math/e_exp10l.c: Likewise.
26289         * math/e_exp2l.c: Likewise.
26290         * math/e_j0l.c: Likewise.
26291         * math/e_j1l.c: Likewise.
26292         * math/e_jnl.c: Likewise.
26293         * math/e_lgammal_r.c: Likewise.
26294         * math/e_rem_pio2l.c: Likewise.
26295         * math/e_scalb.c: Likewise.
26296         * math/e_scalbf.c: Likewise.
26297         * math/e_scalbl.c: Likewise.
26298         * math/k_cosl.c: Likewise.
26299         * math/k_sinl.c: Likewise.
26300         * math/k_tanl.c: Likewise.
26301         * math/s_cacoshf.c: Likewise.
26302         * math/s_catan.c: Likewise.
26303         * math/s_catanf.c: Likewise.
26304         * math/s_catanh.c: Likewise.
26305         * math/s_catanhf.c: Likewise.
26306         * math/s_catanhl.c: Likewise.
26307         * math/s_catanl.c: Likewise.
26308         * math/s_ccosh.c: Likewise.
26309         * math/s_ccoshf.c: Likewise.
26310         * math/s_ccoshl.c: Likewise.
26311         * math/s_cexp.c: Likewise.
26312         * math/s_cexpf.c: Likewise.
26313         * math/s_cexpl.c: Likewise.
26314         * math/s_clog.c: Likewise.
26315         * math/s_clog10.c: Likewise.
26316         * math/s_clog10f.c: Likewise.
26317         * math/s_clog10l.c: Likewise.
26318         * math/s_clogf.c: Likewise.
26319         * math/s_clogl.c: Likewise.
26320         * math/s_csin.c: Likewise.
26321         * math/s_csinf.c: Likewise.
26322         * math/s_csinh.c: Likewise.
26323         * math/s_csinhf.c: Likewise.
26324         * math/s_csinhl.c: Likewise.
26325         * math/s_csinl.c: Likewise.
26326         * math/s_csqrt.c: Likewise.
26327         * math/s_csqrtf.c: Likewise.
26328         * math/s_csqrtl.c: Likewise.
26329         * math/s_ctan.c: Likewise.
26330         * math/s_ctanf.c: Likewise.
26331         * math/s_ctanh.c: Likewise.
26332         * math/s_ctanhf.c: Likewise.
26333         * math/s_ctanhl.c: Likewise.
26334         * math/s_ctanl.c: Likewise.
26335         * math/s_ldexp.c: Likewise.
26336         * math/s_ldexpf.c: Likewise.
26337         * math/s_ldexpl.c: Likewise.
26338         * math/s_significand.c: Likewise.
26339         * math/s_significandf.c: Likewise.
26340         * math/s_significandl.c: Likewise.
26341         * math/w_acos.c: Likewise.
26342         * math/w_acosf.c: Likewise.
26343         * math/w_acosh.c: Likewise.
26344         * math/w_acoshf.c: Likewise.
26345         * math/w_acoshl.c: Likewise.
26346         * math/w_acosl.c: Likewise.
26347         * math/w_asin.c: Likewise.
26348         * math/w_asinf.c: Likewise.
26349         * math/w_asinl.c: Likewise.
26350         * math/w_atan2.c: Likewise.
26351         * math/w_atan2f.c: Likewise.
26352         * math/w_atan2l.c: Likewise.
26353         * math/w_atanh.c: Likewise.
26354         * math/w_atanhf.c: Likewise.
26355         * math/w_atanhl.c: Likewise.
26356         * math/w_cosh.c: Likewise.
26357         * math/w_coshf.c: Likewise.
26358         * math/w_coshl.c: Likewise.
26359         * math/w_dremf.c: Likewise.
26360         * math/w_exp10.c: Likewise.
26361         * math/w_exp10f.c: Likewise.
26362         * math/w_exp10l.c: Likewise.
26363         * math/w_exp2.c: Likewise.
26364         * math/w_exp2f.c: Likewise.
26365         * math/w_fmod.c: Likewise.
26366         * math/w_fmodf.c: Likewise.
26367         * math/w_fmodl.c: Likewise.
26368         * math/w_hypot.c: Likewise.
26369         * math/w_hypotf.c: Likewise.
26370         * math/w_hypotl.c: Likewise.
26371         * math/w_j0.c: Likewise.
26372         * math/w_j0f.c: Likewise.
26373         * math/w_j0l.c: Likewise.
26374         * math/w_j1.c: Likewise.
26375         * math/w_j1f.c: Likewise.
26376         * math/w_j1l.c: Likewise.
26377         * math/w_jn.c: Likewise.
26378         * math/w_jnf.c: Likewise.
26379         * math/w_jnl.c: Likewise.
26380         * math/w_lgamma.c: Likewise.
26381         * math/w_lgamma_r.c: Likewise.
26382         * math/w_lgammaf.c: Likewise.
26383         * math/w_lgammaf_r.c: Likewise.
26384         * math/w_lgammal.c: Likewise.
26385         * math/w_lgammal_r.c: Likewise.
26386         * math/w_log.c: Likewise.
26387         * math/w_log10.c: Likewise.
26388         * math/w_log10f.c: Likewise.
26389         * math/w_log10l.c: Likewise.
26390         * math/w_log2.c: Likewise.
26391         * math/w_log2f.c: Likewise.
26392         * math/w_log2l.c: Likewise.
26393         * math/w_logf.c: Likewise.
26394         * math/w_logl.c: Likewise.
26395         * math/w_pow.c: Likewise.
26396         * math/w_powf.c: Likewise.
26397         * math/w_powl.c: Likewise.
26398         * math/w_remainder.c: Likewise.
26399         * math/w_remainderf.c: Likewise.
26400         * math/w_remainderl.c: Likewise.
26401         * math/w_scalb.c: Likewise.
26402         * math/w_scalbf.c: Likewise.
26403         * math/w_scalbl.c: Likewise.
26404         * math/w_sinh.c: Likewise.
26405         * math/w_sinhf.c: Likewise.
26406         * math/w_sinhl.c: Likewise.
26407         * math/w_sqrt.c: Likewise.
26408         * math/w_sqrtf.c: Likewise.
26409         * math/w_sqrtl.c: Likewise.
26410         * math/w_tgamma.c: Likewise.
26411         * math/w_tgammaf.c: Likewise.
26412         * math/w_tgammal.c: Likewise.
26414         * po/ja.po: Update from translation team.
26416 2011-09-29  Andreas Jaeger  <aj@suse.de>
26418         [BZ #13179]
26419         * sunrpc/netname.c (netname2host): Fix logic.
26421         [BZ #6779]
26422         [BZ #6783]
26423         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26424         correctly.
26425         * math/w_remainder.c (__remainder): Likewise.
26426         * math/w_remainderf.c (__remainderf): Likewise.
26427         * math/libm-test.inc (remainder_test): Add test cases.
26429 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26431         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
26432         sdiv_qrnnd.
26434 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
26436         * string/test-memcmp.c: Avoid unncessary #defines.
26437         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26439 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26441         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26442         Use new sse2 version for core i3 - i7 as it's faster
26443         than sse42 version.
26444         (bit_Prefer_PMINUB_for_stringop): New.
26445         * sysdeps/x86_64/rawmemchr.S: Update.
26446         Replace with faster SSE2 version.
26447         * sysdeps/x86_64/memrchr.S: New file.
26448         * sysdeps/x86_64/memchr.S: Update.
26449         Replace with faster SSE2 version.
26451 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
26453         * elf/dl-load.c (lose): Add cast to avoid warning.
26455 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
26457         * po/ca.po: Update from translation team.
26459         * inet/getnetgrent_r.c: Hook up nscd.
26460         * nscd/Makefile (routines): Add nscd_netgroup.
26461         (nscd-modules): Add netgroupcache.
26462         (CFLAGS-netgroupcache.c): Define.
26463         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26464         (cache_search): Add const to second parameter.
26465         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26466         INNETGR.
26467         (dbs): Add netgrdb entry.
26468         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26469         (verify_persistent_db): Handle netgrdb.
26470         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26471         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26472         GETFDNETGR.
26473         (netgroup_response_header): Define.
26474         (innetgroup_response_header): Define.
26475         (datahead): Add netgroup_response_header and innetgroup_response_header
26476         elements.
26477         * nscd/nscd.conf: Add entries for netgroup cache.
26478         * nscd/nscd.h (dbtype): Add netgrdb.
26479         (_PATH_NSCD_NETGROUP_DB): Define.
26480         (netgroup_iov_disabled): Declare.
26481         (xmalloc, xcalloc, xrealloc): Move declarations here.
26482         (cache_search): Adjust prototype.
26483         Add netgroup-related prototypes.
26484         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26485         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26486         (__nscd_innetgr): Declare.
26487         * nscd/selinux.c (perms): Use access_vector_t as element type and
26488         add netgroup-related initializers.
26489         * nscd/netgroupcache.c: New file.
26490         * nscd/nscd_netgroup.c: New file.
26491         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26492         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26493         For four parameters use innetgr.
26494         * nss/nss_files/files-init.c: Add definition and callback for netgr.
26495         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26496         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26497         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26499         * nscd/connections.c (register_traced_file): Don't register file
26500         for disabled databases.
26502 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
26504         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26506         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26507         from tree and freeing node.
26509 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
26511         * nss/nsswitch.c (__nss_database_lookup): Handle
26512         nss_parse_service_list out of memory case.
26514 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
26516         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26517         out of memory case.
26519 2011-10-04  Andreas Schwab  <schwab@redhat.com>
26521         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26522         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26523         pass it down.
26524         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26525         elf_machine_rela, elf_machine_lazy_rel.
26526         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26527         (ELF_DYNAMIC_DO_REL): Likewise.
26528         (ELF_DYNAMIC_DO_RELA): Likewise.
26529         (ELF_DYNAMIC_RELOCATE): Likewise.
26530         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26531         to ELF_DYNAMIC_DO_REL.
26532         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26533         (dl_main): In trace mode always set __RTLD_NOIFUNC.
26534         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26535         elf_machine_rela.
26536         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26537         skip_ifunc, don't call ifunc function if non-zero.
26538         (elf_machine_rela): Likewise.
26539         (elf_machine_lazy_rel): Likewise.
26540         (elf_machine_lazy_rela): Likewise.
26541         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26542         (elf_machine_lazy_rel): Likewise.
26543         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26544         Likewise.
26545         (elf_machine_lazy_rel): Likewise.
26546         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26547         Likewise.
26548         (elf_machine_lazy_rel): Likewise.
26549         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26550         (elf_machine_lazy_rel): Likewise.
26551         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26552         (elf_machine_lazy_rel): Likewise.
26553         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26554         (elf_machine_lazy_rel): Likewise.
26555         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26556         (elf_machine_lazy_rel): Likewise.
26557         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26558         (elf_machine_lazy_rel): Likewise.
26559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26560         (elf_machine_lazy_rel): Likewise.
26562 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
26564         * nss/nss_files/files-init.c (_nss_files_init): Use static
26565         initialization for all the *_traced_file variables.
26567 2011-09-28  Andreas Schwab  <schwab@redhat.com>
26569         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26571 2011-09-27  Roland McGrath  <roland@hack.frob.com>
26573         [BZ #13226]
26574         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26576 2011-09-27  Andreas Schwab  <schwab@redhat.com>
26578         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26579         Reread the line before reparsing it.
26581 2011-09-26  Andreas Schwab  <schwab@redhat.com>
26583         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26585 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
26586             Maxim Kuvyrkov  <maxim@codesourcery.com>
26587             Joseph Myers  <joseph@codesourcery.com>
26589         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26590         if needed for __stack_chk_guard.
26592 2011-09-19  Roland McGrath  <roland@hack.frob.com>
26594         * sysdeps/posix/spawni.c (script_execute): Always define it.
26595         It will be optimized away if unused.
26596         (maybe_script_execute): New function.
26597         (__spawni): Call it.
26599         * Makerules: Don't include tls.make.
26600         (config-tls): Always set to thread.
26601         * tls.make.c: File removed.
26603 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
26605         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26606         * config.make.in (CPPFLAGS-config): New substituted variable.
26608 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26610         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26612         [BZ #13192]
26613         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26614         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26616 2011-09-15  Roland McGrath  <roland@hack.frob.com>
26618         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26619         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26620         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26621         (CALL_FAIL): Likewise.
26622         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26623         (CALL_FAIL): Macro removed.
26624         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26626 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26628         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26629         for __FINITE_MATH_ONLY__ == 1.
26631 2011-09-15  Andreas Schwab  <schwab@redhat.com>
26633         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26634         __ieee754_sqrt instead of sqrt.
26635         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26636         __ieee754_sqrtf instead of sqrtf.
26637         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26638         __floorf instead of floorf.
26639         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26640         __floorf, __truncf instead of floorf, truncf.
26642 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
26644         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26646         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26647         __extern_always_inline.
26648         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26649         32-bit.
26651 2011-09-14  Andreas Schwab  <schwab@redhat.com>
26653         * elf/rtld.c (dl_main): Also relocate in dependency order when
26654         doing symbol dependency testing.
26656 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
26658         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26659         Always define `refsym'.
26661 2011-09-13  Andreas Schwab  <schwab@redhat.com>
26663         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26664         (__FD_ELT): Renamed from __FDELT.
26665         * misc/bits/select2.h (__FD_ELT): Likewise.
26666         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26667         __FD_MASK instead of __FDELT, __FDMASK.
26668         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26669         Likewise.
26670         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26671         Likewise.
26673         * elf/Makefile (gen-ldd): Fix pattern.
26675         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26676         (init_tls): Likewise.
26678 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
26680         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26682 2011-09-12  Andreas Schwab  <schwab@redhat.com>
26684         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26685         `struct cmsghdr *' instead of `void *'.
26686         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26687         Likewise.
26689 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
26691         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26692         if non-absolute.
26693         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26694         ldd_rewrite_script.
26696 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
26698         * configure.in: Remove --with-tls option.
26699         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26700         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26701         out in case it is missing.
26702         * sysdeps/ia64/elf/configure.in: Likewise.
26703         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26704         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26705         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26706         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26707         * sysdeps/sh/elf/configure.in: Likewise.
26708         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26709         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26710         * sysdeps/x86_64/elf/configure.in: Likewise.
26711         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26712         * sysdeps/mach/hurd/tls.h: Likewise.
26714         [BZ #13067]
26715         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26717         [BZ #13090]
26718         * configure.in: Fix use of AC_INIT.
26720         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26722 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
26724         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26725         __set_errno.
26726         * malloc/hooks.c: Likewise.
26728         [BZ #11929]
26729         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
26730         variables statically.
26731         (narenas): Initialize.
26732         (list_lock): Initialize.
26733         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
26734         initializtion of main_arena and list_lock.  Small cleanups.
26735         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26736         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
26737         Add initializers to main_arena and mp_.
26738         (malloc_state): Remove pagesize member.  Change all users to use
26739         GLRO(dl_pagesize).
26741         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26742         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
26743         is always initialized.
26745         * malloc/malloc.c: Removed unused configurations and dead code.
26746         * malloc/arena.c: Likewise.
26747         * malloc/hooks.c: Likewise.
26748         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26750         * include/tls.h: Removed.  USE___THREAD must always be defined.
26751         * bits/libc-tsd.h: Don't handle !USE___THREAD.
26752         * elf/dl-libc.c: Likewise.
26753         * elf/dl-tsd.c: Likewise.
26754         * include/errno.h: Likewise.
26755         * include/netdb.h: Likewise.
26756         * include/resolv.h: Likewise.
26757         * inet/herrno-loc.c: Likewise.
26758         * inet/herrno.c: Likewise.
26759         * malloc/arena.c: Likewise.
26760         * malloc/hooks.c: Likewise.
26761         * malloc/malloc.c: Likewise.
26762         * resolv/res-state.c: Likewise.
26763         * resolv/res_libc.c: Likewise.
26764         * sysdeps/i386/dl-machine.h: Likewise.
26765         * sysdeps/ia64/dl-machine.h: Likewise.
26766         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26767         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26768         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26769         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26770         * sysdeps/sh/dl-machine.h: Likewise.
26771         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26772         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26773         * sysdeps/unix/i386/sysdep.S: Likewise.
26774         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26775         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26776         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26777         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26778         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26779         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26780         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26781         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26782         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26783         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26784         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26785         * sysdeps/x86_64/dl-machine.h: Likewise.
26786         * tls.make.c: Likewise.
26788         * configure.in: Remove --with-__thread option.  Make tests for
26789         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26790         tls_model attribute fail if no support is available.  Remove
26791         USE_IN_LIBIO.
26792         * Makeconfig: Adjust for dropped configure option.  All features are
26793         now mandatory.
26794         * Makerules: Likewise.
26795         * Versions.def: Likewise.
26796         * argp/argp-fmtstream.c: Likewise.
26797         * argp/argp-fmtstream.h: Likewise.
26798         * argp/argp-help.c: Likewise.
26799         * assert/assert.c: Likewise.
26800         * config.h.in: Likewise.
26801         * config.make.in: Likewise.
26802         * configure: Likewise.
26803         * configure.in: Likewise.
26804         * csu/Versions: Likewise.
26805         * csu/init.c: Likewise.
26806         * elf/tst-audit2.c: Likewise.
26807         * elf/tst-tls10.c: Likewise.
26808         * elf/tst-tls10.h: Likewise.
26809         * elf/tst-tls11.c: Likewise.
26810         * elf/tst-tls12.c: Likewise.
26811         * elf/tst-tls14.c: Likewise.
26812         * elf/tst-tlsmod11.c: Likewise.
26813         * elf/tst-tlsmod12.c: Likewise.
26814         * elf/tst-tlsmod13.c: Likewise.
26815         * elf/tst-tlsmod13a.c: Likewise.
26816         * elf/tst-tlsmod14a.c: Likewise.
26817         * elf/tst-tlsmod15b.c: Likewise.
26818         * elf/tst-tlsmod16a.c: Likewise.
26819         * elf/tst-tlsmod16b.c: Likewise.
26820         * elf/tst-tlsmod7.c: Likewise.
26821         * elf/tst-tlsmod8.c: Likewise.
26822         * elf/tst-tlsmod9.c: Likewise.
26823         * gmon/gmon.c: Likewise.
26824         * grp/fgetgrent_r.c: Likewise.
26825         * grp/putgrent.c: Likewise.
26826         * hurd/fopenport.c: Likewise.
26827         * include/libc-symbols.h: Likewise.
26828         * include/tls.h: Likewise.
26829         * intl/gettextP.h: Likewise.
26830         * intl/loadinfo.h: Likewise.
26831         * locale/global-locale.c: Likewise.
26832         * locale/localeinfo.h: Likewise.
26833         * mach/devstream.c: Likewise.
26834         * malloc/arena.c: Likewise.
26835         * malloc/set-freeres.c: Likewise.
26836         * misc/err.c: Likewise.
26837         * misc/getttyent.c: Likewise.
26838         * misc/mntent_r.c: Likewise.
26839         * posix/getopt.c: Likewise.
26840         * posix/wordexp.c: Likewise.
26841         * pwd/fgetpwent_r.c: Likewise.
26842         * resolv/Versions: Likewise.
26843         * resolv/res_hconf.c: Likewise.
26844         * shadow/fgetspent_r.c: Likewise.
26845         * shadow/putspent.c: Likewise.
26846         * stdio-common/printf_fphex.c: Likewise.
26847         * stdio-common/tmpfile.c: Likewise.
26848         * stdlib/abort.c: Likewise.
26849         * stdlib/fmtmsg.c: Likewise.
26850         * sunrpc/auth_unix.c: Likewise.
26851         * sunrpc/clnt_perr.c: Likewise.
26852         * sunrpc/clnt_tcp.c: Likewise.
26853         * sunrpc/clnt_udp.c: Likewise.
26854         * sunrpc/clnt_unix.c: Likewise.
26855         * sunrpc/openchild.c: Likewise.
26856         * sunrpc/svc_simple.c: Likewise.
26857         * sunrpc/svc_tcp.c: Likewise.
26858         * sunrpc/svc_udp.c: Likewise.
26859         * sunrpc/svc_unix.c: Likewise.
26860         * sunrpc/xdr.c: Likewise.
26861         * sunrpc/xdr_array.c: Likewise.
26862         * sunrpc/xdr_rec.c: Likewise.
26863         * sunrpc/xdr_ref.c: Likewise.
26864         * sunrpc/xdr_stdio.c: Likewise.
26866 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26868         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26870 2011-07-03  Andreas Jaeger  <aj@suse.de>
26872         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26873         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26874         regenerate with gen-libm-tests.pl.
26876 2010-05-12  Petr Baudis  <pasky@suse.cz>
26878         [BZ #11589]
26879         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26880         around j0() zero points by switching to j1().
26881         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26882         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26883         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26884         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26886 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26888         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26889         instead of 0.
26890         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26891         instead of 0.
26892         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26893         Patch in part by Pavel Roskin <proski@gnu.org>.
26895         [BZ #13138]
26896         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26897         realloc.
26898         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
26899         Free memory block if necessary.
26901         [BZ #12847]
26902         * libio/genops.c (INTDEF): For string streams the _lock pointer can
26903         be NULL.  Don't lock in this case.
26905 2011-09-09  Roland McGrath  <roland@hack.frob.com>
26907         * elf/elf.h (ELFOSABI_GNU): New macro.
26908         (ELFOSABI_LINUX): Define to that.
26910 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
26912         * string/strncat.c (strncat): Undef the symbol in case it has been
26913         defined in bits/string.h.
26915 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26917         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26919         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26920         link map.
26922 2011-08-17  Andreas Jaeger  <aj@suse.de>
26924         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26926 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26927             Ian Lance Taylor  <iant@google.com>
26929         * math/libm-test.inc (lround_test): New testcase.
26930         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26932 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
26934         * Makefile: Remove support for automatic cvs check-ins.
26935         * Makerules: Likewise.
26936         * config.make.in: Likewise.
26937         * configure.in: Likewise.
26938         * intl/Makefile: Likewise.
26939         * locale/Makefile: Likewise.
26940         * po/Makefile: Likewise.
26941         * posix/Makefile: Likewise.
26942         * sysdeps/gnu/Makefile: Likewise.
26943         * sysdeps/mach/hurd/Makefile: Likewise.
26944         * sysdeps/sparc/sparc32/Makefile: Likewise.
26946         [BZ #13118]
26947         * posix/Makefile (bug-regex32-ENV): Define.
26948         Patch by John Stanley <jpsinthemix@verizon.net>.
26950         * misc/Makefile (headers): Add bits/select2.h.
26951         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26952         * misc/bits/select2.h: New file.
26953         * include/bits/select2.h: New file.
26954         * debug/Makefile (routines): Add fdelt_chk.
26955         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26956         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26957         FD_ISSET.
26958         * debug/fdelt_chk.c: New file.
26960         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
26961         * wcsmbs/test-wmemcmp.c: Likewise.
26962         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26963         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26965 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26967         * string/Makefile (strop-tests): Add memcmp.
26968         * string/test-wmemcmp.c: New file.
26969         * string/test-memcmp.c: Add wmemcmp support.
26971 2011-09-08  Roland McGrath  <roland@hack.frob.com>
26973         [BZ #13153]
26974         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26975         2011-07-19 change.
26977         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26978         garbage value in a __mach_port_mod_refs call in the cases of the
26979         task-self and thread-self ports.
26981 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26983         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26985 2011-09-08  Andreas Schwab  <schwab@redhat.com>
26987         * elf/dl-load.c (lose): Check for non-null L.
26989 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
26991         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26993         * elf/dl-libc.c (dlerror_run): Pass back error code from
26994         dl_catch_error.
26996         [BZ #13123]
26997         * elf/dl-load.c (lose): Free l_origin if it is valid.
26999         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27000         names.
27001         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27002         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27003         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27004         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27005         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27006         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27008 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27010         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27011         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27012         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27013         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27014         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27015         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27016         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27017         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27018         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27019         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27021 2011-08-15  Alan Modra  <amodra@gmail.com>
27023         [BZ #13092]
27024         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27025         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27026         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27027         ppc_mcount to static-only-routines.
27028         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27029         __mcount_internal.
27030         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27031         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27033 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27035         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27036         for finite and infinity parameters.
27038 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27040         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27041         and add nop instructions for throughput optimization.
27042         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27044 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27046         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27047         aligned copy for power7 with vector-scalar instructions.
27048         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27050 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27052         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27053         AVX check.
27055 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27057         [BZ #13144]
27058         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27059         last change.
27061 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27063         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27064         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27065         syscall wrapper around clock_gettime in __vdso_clock_gettime.
27066         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27067         clock_gettime.
27069 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27071         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27072         Forgot to demangle the pointer.
27074         * sysdeps/i386/sysdep.h: Define atom_text_section.
27075         * sysdeps/x86_64/sysdep.h: Likewise.
27076         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27077         section with atom_text_section.
27078         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27079         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27080         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27081         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27082         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27084         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27085         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27086         already be defined.  Change to take two parameters and don't assign
27087         result to variable.  Adjust all users.
27088         Define INTERNAL_GETTIME if not already defined.
27089         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27090         call.
27091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27092         HAVE_CLOCK_GETTIME_VSYSCALL.
27093         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27095         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27096         gettimeofday vsyscall, just use time.
27098 2011-09-06  Andreas Schwab  <schwab@redhat.com>
27100         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27101         <errno.h>.
27103 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27105         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27106         syscall on x86-64.
27107         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27108         syscall.
27109         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27110         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27111         syscall if possible.
27113 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27115         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27116         e_ident.  Don't pass to find_mapsXX.
27117         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27119 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27122         strchr-sse2-no-bsf strrchr-sse2-no-bsf
27123         * sysdeps/x86_64/multiarch/strchr.S: Update.
27124         Check bit_slow_BSF bit.
27125         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27126         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27127         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27129 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27131         [BZ #13134]
27132         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27133         before glibc 2.15.
27134         (tryshell): Define.
27135         (__spawni): Change last parameter to be flag.  Test
27136         SPAWN_XFLAGS_USE_PATH flag to use path or not.
27137         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27138         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27139         * posix/spawni.c: Likewise.
27140         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27141         * posix/spawnp.c: Likewise.  Change normal version to use
27142         SPAWN_XFLAGS_USE_PATH.
27143         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27144         SPAWN_XFLAGS_TRY_SHELL.
27146         [BZ #13150]
27147         * posix/glob.h: Remove gcc 1.x support.
27149         [BZ #13068]
27150         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27152 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27154         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27155         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27156         strrchr-sse2-bsf
27157         * sysdeps/i386/i686/multiarch/strchr.S: New file.
27158         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27159         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27160         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27161         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27162         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27164 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27166         * sysdeps/x86_64/wcscmp.S: New file.
27168         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27169         wcscmp-c wcscmp-sse2
27170         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27171         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27172         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27173         * wcsmbs/wcscmp.c: Allow renaming.
27175 2011-09-05  David S. Miller  <davem@davemloft.net>
27177         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27178         stack slot, rather than the struct return pointer slot.
27179         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27180         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27182         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27184 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27186         * po/ja.po: Update from translation team.
27188         [BZ #13144]
27189         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27190         kernel in 64-bit binaries.
27192 2011-09-01  David S. Miller  <davem@davemloft.net>
27194         * elf/elf.h (HWCAP_SPARC_*): Move to..
27195         * sysdeps/sparc/sysdep.h: this new file and add new values.
27196         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27197         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27198         _DL_HWCAP_COUNT to 24.
27199         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27200         entries.
27201         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27202         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27203         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27204         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27205         instead of magic constants.
27206         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27208 2011-08-31  David S. Miller  <davem@davemloft.net>
27210         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27212         Reimplement to do errno handling inline.
27213         (SYSCALL_ERROR_HANDLER): New macro.
27214         (__SYSCALL_STRING): Do not do errno handling in asm.
27215         (__CLONE_SYSCALL_STRING): Delete.
27216         (__INTERNAL_SYSCALL_STRING): Delete.
27217         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27218         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27219         (PSEUDO): Reimplement to do errno handling inline.
27220         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27221         (SYSCALL_ERROR_HANDLER): New macro.
27222         (__SYSCALL_STRING): Do not do errno handling in asm.
27223         (__CLONE_SYSCALL_STRING): Delete.
27224         (__INTERNAL_SYSCALL_STRING): Delete.
27225         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27226         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27227         i386.
27228         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27229         (inline_syscall*): Add 'err' argument.
27230         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27231         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27232         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27233         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27235         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27236         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27238 2011-08-30  Andreas Schwab  <schwab@redhat.com>
27240         * elf/rtld.c (dl_main): Relocate objects in dependency order.
27242 2011-08-29  Jiri Olsa <jolsa@redhat.com>
27244         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27245         directive.
27247 2011-08-24  David S. Miller  <davem@davemloft.net>
27249         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27251 2011-08-24  Andreas Schwab  <schwab@redhat.com>
27253         * elf/Makefile: Add rules to build and run unload8 test.
27254         * elf/unload8.c: New file.
27255         * elf/unload8mod1.c: New file.
27256         * elf/unload8mod1x.c: New file.
27257         * elf/unload8mod2.c: New file.
27258         * elf/unload8mod3.c: New file.
27260         * elf/dl-close.c (_dl_close_worker): Reset private search list if
27261         it wasn't used.
27263 2011-08-23  David S. Miller  <davem@davemloft.net>
27265         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27266         subtract stack bias.
27267         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27268         %sp not %fp in calculations.
27269         (_JMPBUF_UNWINDS_ADJ): Likewise.
27271         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27272         (aio_suspend): Call it to force an exception region around the
27273         AIO_MISC_WAIT() invocation.
27275 2011-08-23  Andreas Schwab  <schwab@redhat.com>
27277         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27278         backslash.
27280 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
27282         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27283         protection macro.
27284         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27285         and <dl-machine.h>.
27286         (Elf64_FuncDesc): Remove.
27288 2011-08-22  David S. Miller  <davem@davemloft.net>
27290         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27291         sigaltstack check, add missing cfi directives.
27292         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27293         missing cfi directives, and sigaltstack handling.
27295 2011-08-16  Andreas Schwab  <schwab@redhat.com>
27297         [BZ #11724]
27298         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27299         object is seen twice.
27300         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27302         * elf/Makefile (distribute): Add tst-initorder2.c.
27303         (tests): Add tst-initorder2.
27304         (modules-names): Add tst-initorder2a tst-initorder2b
27305         tst-initorder2c tst-initorder2d.  Add rules to build them.
27306         ($(objpfx)tst-initorder2.out): New rule.
27307         * elf/tst-initorder2.c: New file.
27308         * elf/tst-initorder2.exp: New file.
27310 2011-08-22  Andreas Schwab  <schwab@redhat.com>
27312         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27314         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27315         dependencies back to end of function.
27317         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27318         $(elfobjdir)/ld.so.
27320 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
27322         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27323         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27324         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27325         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27326         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27327         of __vdso_gettimeofday.
27328         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27329         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
27330         attribute_hidden.
27331         (_libc_vdso_platform_setup): Remove initialization of
27332         __vdso_gettimeofday and __vdso_time.
27334 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27336         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27337         and fgetc_unlocked.
27338         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27339         getc_unlocked.
27341         * elf/dl-open.c (add_to_global): Report additions to the global scope
27342         for LD_DEBUG=scopes.
27343         (dl_open_worker): Also print scope of newly loaded dependencies.
27344         (_dl_show_scope): Indicate if there is no scope.
27346         [BZ #13114]
27347         * stdio-common/Makefile (tests): Add bug24.
27348         * stdio-common/bug24.c: New file.
27350 2011-08-19  Andreas Jaeger  <aj@suse.de>
27352         [BZ #13114]
27353         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27354         non-existant file when using close-on-exec mode.
27356 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27358         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27359         the very first instruction.
27361         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27362         the CFI state in the end.
27363         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27364         inclusion of dl-trampoline.h.
27365         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27367 2011-08-19  Andreas Schwab  <schwab@redhat.com>
27369         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27370         expectations for long double.
27372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27373         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27375 2011-08-14  David S. Miller  <davem@davemloft.net>
27377         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27378         artificual limit depends upon the system page size.
27380 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
27382         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27383         * resolv/Makefile: Define CFLAGS-libresolv.
27385 2011-08-17  Andreas Schwab  <schwab@redhat.com>
27387         * nss/makedb.c (compute_tables): Make variables used in nested
27388         function static.
27390 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
27392         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27393         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27394         if buffer was too small.
27396         * elf/pldd.c (main): Attach to all threads in the process.
27397         Rewrite /proc handling to use *at functions.
27399 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
27401         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27402         specifies first scope to show.
27403         (dl_open_worker): Update callers.  Move printing scope of new
27404         object to before the relocation.
27405         * elf/rtld.c (dl_main): Update _dl_show_scope call.
27406         * sysdeps/generic/ldsodefs.h: Update declaration.
27408         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27409         string for the scope number.
27411 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
27413         * nscd/servicescache.c (cache_addserv): Make sure written is always
27414         initialized.
27416 2011-08-14  Roland McGrath  <roland@hack.frob.com>
27418         * sysdeps/i386/i486/bits/atomic.h
27419         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27420         statement expression, so as to suppress "set but not used" warning.
27421         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27423         * string/strncat.c (STRNCAT): Use prototype definition.
27425         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27426         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27427         -Iprograms here.
27428         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27429         (localedef-modules): Add localedef.
27430         (locale-modules): Add locale.
27432         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27433         * elf/rtld.c (dl_main): Invert order of assignment in last change,
27434         to avoid a warning.
27436 2011-08-14  David S. Miller  <davem@davemloft.net>
27438         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27439         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27441 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
27443         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27444         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27445         * elf/rtld.c (dl_main): Set l_name of vDSO.
27446         Call _dl_show_scope when DL_DEBUG_SCOPES.
27447         (process_dl_debug): Recognize scopes flag and also set it for all.
27448         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27449         Declare _dl_show_scope.
27451         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27452         (do_dlopen): Pass caller_dlopen to dl_open.
27453         (__libc_dlopen_mode): Initialize caller_dlopen.
27455         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27456         of libc.  Make tolower call locale-independent.  Optimize a bit by
27457         using isdigit instead of isalnum.
27458         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27460 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
27462         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27463         was a dependency or dynamically loaded.
27465 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
27467         * intl/l10nflist.c: Allow architecture-specific pop function.
27468         * sysdeps/x86_64/l10nflist.c: New file.
27470         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27471         classification.
27473 2011-08-10  Andreas Schwab  <schwab@redhat.com>
27475         * include/dirent.h: Add libc_hidden_proto for scandirat and
27476         scandirat64.  Don't declare __scandirat64.
27477         * dirent/scandirat.c: Add libc_hidden_def.
27478         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27479         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27481 2011-08-10  David S. Miller  <davem@davemloft.net>
27483         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27484         enum.
27485         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27486         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27487         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27489 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
27491         * Versions.def [libc]: Add GLIBC_2.15.
27492         * dirent/Makefile (routines): Add scandirat and scandirat64.
27493         * dirent/Versions [libc]: Export scandirat and scandirat64 for
27494         GLIBC_2.15.
27495         * dirent/dirent.h: Declare scandirat and scandirat64.
27496         * dirent/scandirat.c: New file.
27497         * dirent/scandirat64.c: New file.
27498         * sysdeps/wordsize-64/scandirat.c: New file.
27499         * sysdeps/wordsize-64/scandirat64.c: New file.
27500         * dirent/opendir.c: Define opendirat.
27501         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
27502         using scandirat.
27503         * dirent/scandir64.c: Adjust for scandir.c change.
27504         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
27505         __scandirat64, and __scandir_cancel_handler.
27506         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
27507         additional parameter and use openat instead of open (outside of ld.so).
27508         Add new __opendir as wrapper around __opendirat.
27509         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27510         here without requiring old scandirat implementation.
27512 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
27514         * dirent/scandir.c (cancel_handler): Renamed to
27515         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
27516         defined.  Adjust users.
27517         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27518         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27520 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
27522         * string/test-string.h (IMPL): Use __STRING to expand name and then
27523         stringify it.
27525         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
27526         of cleanups.
27528 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27530         * string/Makefile: Update.
27531         (strop-tests): Append strncat.
27532         * string/test-wcscmp.c: New file.
27533         New comprehensive test for wcscmp.
27534         * string/test-strcmp.c: Update.
27535         (WIDE): New define.
27537 2011-07-22  Andreas Schwab  <schwab@redhat.com>
27539         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27540         line.
27542 2011-07-26  Andreas Schwab  <schwab@redhat.com>
27544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27545         encoding to ACE if AI_IDN.
27547 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
27549         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27550         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27552 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27554         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27555         Fix overflow bug in strncat.
27556         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27558         * string/test-strncat.c: Update.
27559         Add new tests for checking overflow bugs.
27561 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27563         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27564         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27565         * sysdeps/i386/i686/multiarch/strcat.S: New file.
27566         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27567         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27568         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27569         * sysdeps/i386/i686/multiarch/strncat.S: New file.
27570         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27571         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27573         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27574         (USE_AS_STRCAT): Define.
27575         Add strcat and strncat support.
27576         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27578 2011-07-25  Andreas Schwab  <schwab@redhat.com>
27580         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27581         __n bigger than INT_MAX+1.
27582         (__strncmp_g): Likewise.
27584 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
27586         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27587         * libio/stido.h: Likewise.
27589         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27590         (AF_NFC): Define.
27591         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27592         (AF_NFC): Define.
27594         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27595         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27596         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27597         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27598         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27600         [BZ #13021]
27601         * scripts/test-installation.pl: Don't expect libnss_test1 to be
27602         installed.
27604         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27605         typo.
27606         (_dl_x86_64_save_sse): Likewise.
27608 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
27610         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27611         OSXSAVE.
27612         (_dl_x86_64_save_sse): Likewise.
27614         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27616         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27618 2011-07-21  Andreas Schwab  <schwab@redhat.com>
27620         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27621         change.
27622         (_dl_x86_64_save_sse): Use correct AVX check.
27624 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27626         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27627         bug in strncpy/strncat.
27628         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27630 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
27632         * string/tester.c (test_strcat): Add tests for different alignments
27633         of source and destination.
27634         (test_strncat): Likewise.
27636 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27638         [BZ #12852]
27639         * posix/glob.c (glob): Check passed in values before using them in
27640         expressions to avoid some overflows.
27641         (glob_in_dir): Likewise.
27643         [BZ #13007]
27644         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27645         check for AVX enablement so that we don't crash with old kernels and
27646         new hardware.
27647         * elf/tst-audit4.c: Add same checks here.
27648         * elf/tst-audit6.c: Likewise.
27650         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27652 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
27654         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27656 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27658         * po/cs.po: Update from translation team.
27659         * po/bg.po: Likewise.
27661 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
27663         * misc/sys/cdefs.h: Add support for const attribute.
27664         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27665         to gnu_dev_{major,minor,makedev} functions.
27667 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
27669         * intl/dcigettext.c (get_output_charset): Add missing bracket.
27671 2011-07-20  Andreas Schwab  <schwab@redhat.com>
27673         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27674         strlen results.
27676 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27678         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27679         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27680         register in order to avoid conflicts with the soft frame pointer
27681         being held in r11 when necessary.
27682         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27683         (INTERNAL_VSYSCALL_NCS): Likewise.
27685 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
27687         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27688         * elf/dl-fini.c (_dl_fini): Adjust caller.
27689         * elf/dl-close.c (_dl_close_worker): Likewise.
27690         * sysdeps/generic/ldsodefs.h: Adjust declaration.
27692 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
27694         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27695         "aux_cache->nlibs < 0".
27697         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27698         in the reload-count case.
27700 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27702         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27703         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27704         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27705         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27706         * sysdeps/x86_64/multiarch/strcat.S: New file.
27707         * sysdeps/x86_64/multiarch/strncat.S: New file.
27708         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27709         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27710         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27711         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27712         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27713         (USE_AS_STRCAT): Define.
27714         Add strcat and strncat support.
27715         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27716         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27717         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27718         * string/strncat.c: Update.
27719         (USE_AS_STRNCAT): Define.
27720         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27721         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27722         and i7.
27723         * sysdeps/x86_64/multiarch/init-arch.h
27724         (bit_Prefer_PMINUB_for_stringop): New.
27725         (index_Prefer_PMINUB_for_stringop): Likewise.
27726         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27727         bit_Prefer_PMINUB_for_stringop.
27729 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
27731         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27732         buffer64.
27733         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27734         of casting of buffer.
27735         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27736         buffer32 and buffer64.
27737         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27738         writes instead of casting of buffer.
27739         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27740         buffer32.
27741         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27742         casting of buffer.
27744 2011-07-19  Andreas Schwab  <schwab@redhat.com>
27746         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27748 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
27750         * nscd/nscd.c (termination_handler): Don't do anything for a database
27751         if it has not yet been initialized.
27753 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
27755         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27757 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
27759         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27761 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
27763         * po/nl.po: Update from translation team.
27764         * po/sv.po: Likewise.
27766 2011-07-16  Roland McGrath  <roland@hack.frob.com>
27768         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27769         now disallowed by GCC.
27771         * configure.in (use-default-link): Default to yes if a test -shared
27772         link meets our qualifications.
27773         * configure: Regenerated.
27775         * config.make.in (output-format): New variable.
27776         * configure.in: Check for ld --print-output-format support.
27777         * configure: Regenerated.
27778         * Makerules ($(common-objpfx)format.lds)
27779         [$(output-format) != unknown]: Just use $(output-format),
27780         instead of the linker-script munging.
27782 2011-07-14  Roland McGrath  <roland@hack.frob.com>
27784         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27785         of $(common-objpfx)shlib.lds.
27786         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27788         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27789         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27791         * configure.in (-z relro check): Adjust test code to add a large
27792         writable data section after it.
27793         * configure: Regenerated.
27795 2011-07-11  Roland McGrath  <roland@hack.frob.com>
27797         * configure.in (-z relro check): Fix test code to make the variable
27798         truly const.
27799         * configure: Regenerated.
27801 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
27803         * nscd/nscd.h (struct traced_file): Define.
27804         (struct database_dyn): Remove inotify_descr, reset_res, and filename
27805         elements.  Add traced_files.
27806         (inotify_fd): Declare.
27807         (register_traced_file): Declare.
27808         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27809         (inotify_fd): Export.
27810         (resolv_conf_descr): Remove.
27811         (nscd_init): Move inotify descriptor creation to main.
27812         Don't register files for notification here.
27813         (register_traced_file): New function.
27814         (invalidate_cache): Don't use reset_res to determine whether to call
27815         res_init, go through the list of registered files.
27816         (main_loop_poll): The inotify descriptors are now stored in the
27817         structures for the traced files.
27818         (main_loop_epoll): Likewise
27819         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
27820         to __nss_disable_nscd.
27821         * nscd/cache.c (prune_cache): There is no single inotify descriptor
27822         for a database anymore.  Check the records for all the registered
27823         files instead.
27824         * nss/Makefile (libnss_files-routines): Add files-init.
27825         (libnss_db-routines): Add db-init.
27826         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27827         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27828         * nss/nss_db/db-init.c: New file.
27829         * nss/nss_files/files-init.c: New file.
27830         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
27831         __nss_lookup_function.
27832         (__nss_lookup_function): Call nss_load_library.
27833         (nss_load_all_libraries): New function.
27834         (__nss_disable_nscd): Take parameter with callback function for files
27835         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
27836         used for the cached services.
27837         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27838         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27839         options for features to all the files in nscd.
27841         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27843 2011-07-10  Roland McGrath  <roland@hack.frob.com>
27845         * csu/elf-init.c (__libc_csu_init): Comment typo.
27847 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
27849         * po/pl.po: Update from translation team.
27850         * po/ja.po: Likewise.
27851         * po/ru.po: Likewise.
27852         * po/ko.po: Likewise.
27853         * po/fr.po: Likewise.
27855 2011-07-09  Roland McGrath  <roland@hack.frob.com>
27857         * configure.in (.ctors/.dtors header and trailer check):
27858         Use an empirical test on a built program.
27859         * configure: Regenerated.
27861         * configure.in (-z relro check): Use an empirical test on a built DSO.
27862         Detect, but do not require, on ia64.
27863         * configure: Regenerated.
27865         * configure.in (READELF): Find it with AC_CHECK_TOOL.
27866         Update tests that use readelf to use $READELF instead.
27867         * configure: Regenerated.
27869 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
27871         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27872         if the result is not used.
27874 2011-07-05  Andreas Jaeger  <aj@suse.de>
27876         [BZ#9696]
27877         * stdlib/tst-strtod.c: Add testcase.
27879 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
27881         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27882         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27883         The latter has a higher limit.  Take additional parameter to pass to
27884         the new function.
27885         (__pathconf): Pass file to __statfs_link_max.
27886         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27887         __statfs_link_max.
27888         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27889         __statfs_link_max.
27891         [BZ #12868]
27892         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27893         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27894         Handle Lustre.
27895         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27896         (__statfs_filesize_max): Likewise.
27897         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27899 2011-07-05  Andreas Jaeger  <aj@suse.de>
27901         * resolv/res_comp.c (dn_skipname): Remove unused variable.
27903 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
27905         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27906         `status' variable.
27907         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27908         Likewise.
27910 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
27912         * Makefile (strop-tests): Add strncat.
27913         * string/test-strncat.c: New file.
27915 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
27917         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27919 2011-06-21  Andreas Jaeger  <aj@suse.de>
27921         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27922         Copy rule from iconvdata/Makefile.
27924 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
27926         [BZ #12922]
27927         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27928         but no long options are defined, just return 'W'.
27930 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
27932         [BZ #9696]
27933         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27935 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
27937         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27938         netgroups to read.
27939         (innetgr): Likewise.
27941 2011-07-05  Roland McGrath  <roland@hack.frob.com>
27943         * config.make.in (install_root): Default to $(DESTDIR).
27945 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
27947         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27949 2011-07-02  Roland McGrath  <roland@hack.frob.com>
27951         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27953         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27954         containing directory rather than embedding absolute directory names.
27956         * scripts/check-local-headers.sh: Rewritten using awk.
27957         Match by word, not by line.  Print error messages for matches.
27958         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27960         * Makerules [shlib-lds-flags empty]:
27961         ($(common-objpfx)libc_pic.opts): New target.
27962         ($(common-objpfx)libc_pic.os.clean): New target.
27963         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27965         * config.make.in (OBJCOPY): New variable.
27966         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27967         * configure: Regenerated.
27969         * config.make.in (use-default-link): New variable.
27970         * configure.in (use_default_link): Grok --with-default-link to set it.
27971         * configure: Regenerated.
27972         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27973         (shlib-lds, shlib-lds-flags): Define to empty.
27975         * Makerules (shlib-lds): New variable.
27976         (shlib-lds-flags): New variable.
27977         (build-shlib, build-moduile, build-module-asneeded): Use it.
27978         ($(common-objpfx)libc.so): Use $(shlib-lds).
27979         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27980         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27982         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27983         DT_FLAGS/DT_FLAGS_1 with zero flags.
27985         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27986         linker script munging.
27988 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
27990         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27991         as 128-bit value.
27992         * crypt/sha512.c (sha512_process_block): Perform total addition using
27993         128-bit if possible.
27994         (__sha512_finish_ctx): Likewise.
27995         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27996         as 64-bit value.
27997         * crypt/sha256.c (SWAP64): Define.
27998         (sha256_process_block): Perform total addition using 64-bit if
27999         possible.
28000         (__sha256_finish_ctx): Likewise.
28002 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28004         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28005         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28006         * nscd/hstcache.c (cache_addhst): Likewise.
28007         * nscd/grpcache.c (cache_addgr): Likewise.
28008         * nscd/aicache.c (addhstaiX): Likewise
28009         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28011 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28013         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28014         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28015         * nscd/hstcache.c (cache_addhst): Likewise.
28016         * nscd/grpcache.c (cache_addgr): Likewise.
28017         * nscd/aicache.c (addhstaiX): Likewise
28019 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28021         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28022         domain only when needed.
28024 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28027         is always restored.
28029 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28031         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28032         are re-adding the entry.
28033         * nscd/servicescache.c (cache_addserv): Likewise.
28035 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28037         * sysdeps/generic/dl-irel.h: fix protection against multiple
28038         inclusions.
28039         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28041 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28043         [BZ #12935]
28044         * malloc/memusage.sh: Fix quoting in message.
28045         * debug/xtrace.sh: Likewise.
28047         * configure.in: Remove support for --experimental-malloc option, make
28048         it the default.
28049         * config.make.in: Likewise.
28050         * malloc/Makefile: Likewise.
28052 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28054         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28055         two-byte characters.
28057 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28059         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28060         AC_CACHE_CHECK invocation.
28061         * configure: Regenerated.
28063         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28065 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
28067         [BZ #12350]
28068         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
28069         bit from old_res_options.
28071         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28073         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28074         value type for setfct.
28076 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
28078         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28079         __gettimeofday instead of gettimeofday.
28081 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
28083         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28085 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28087         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28089         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28090         info.
28092 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28095         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28096         strcpy-sse2-unaligned strncpy-sse2-unaligned
28097         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28098         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28099         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28100         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28101         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28102         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28103         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28104         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28105         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28106         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28107         (STRCPY): Support SSE2 and SSSE3 versions.
28109 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
28111         [BZ #12874]
28112         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28113         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28114         kernels which artificially limit size of requests.
28116 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28118         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28119         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28120         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28121         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28122         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28123         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28124         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28125         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28126         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28127         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28128         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28129         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28130         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28131         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28132         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28134         Enable unaligned load optimization for Intel Core i3, i5 and i7
28135         processors.
28136         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28137         Define.
28138         (index_Fast_Unaligned_Load): Define.
28139         (HAS_FAST_UNALIGNED_LOAD): Define.
28141 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
28143         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28145 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28147         [BZ #12907]
28148         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28149         until it is clear that the information is realy needed.
28150         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28152 2011-06-22  Andreas Schwab  <schwab@redhat.com>
28154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28156 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28158         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28159         /sys/devices/system/cpu/online if it is usable.
28161         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28162         reading the information from the /proc filesystem to once a second.
28164 2011-06-21  Andreas Jaeger  <aj@suse.de>
28166         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28167         NULL after inclusion of kernel headers.
28169 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
28171         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28172         calls to internal_setent.
28174         [BZ #12885]
28175         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28176         addresses using gethostbyname4_r ignore IPv4 addresses.
28178         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28179         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
28181         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28183 2011-06-20  David S. Miller  <davem@davemloft.net>
28185         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28186         inclusions.
28187         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28189         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28190         (elf_irel): Use it.
28191         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28192         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28193         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28194         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28195         * sysdeps/x86_64/dl-irel.h: Likewise.
28197         * elf/dl-runtime.c: Use elf_ifunc_invoke.
28198         * elf/dl-sym.c: Likewise.
28200 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28202         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
28203         need to dereference resplen2.
28205 2011-06-14  Andreas Schwab  <schwab@redhat.com>
28207         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28209 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28211         * Makeconfig: Define vardbdir and inst_vardbdir.
28212         * nss/Makefile: Add rules to install db-Makefile.
28214         * nss/nss_db/db-XXX.c: Cleanup.
28216         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28217         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28218         GLIBC_PRIVATE.
28219         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28220         * nss/makedb.c: Implement -g option to specify that value strings
28221         are generated and should not be added to table iterated over for
28222         get*ent calls.
28223         * nss/nss_db/db-initgroups.c: New file.
28225         * nss/getent.c: Add support for initgroups lookups through getgrouplist
28226         interface.
28228         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28229         (internal_getgrouplist): Adjust to name change.
28230         Update use_initgroups_entry if this is not the first call.
28231         * nss/databases.def: Add initgroups entry.
28233         * nss/makedb.c (compute_tables): Check result of multiple hash table
28234         sizes to minimize maximum chain length.
28236 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
28238         * Versions.def: Add entry for libnss_db.
28239         * shlib-versions: Likewise.
28240         * nss/Makefile: Add rules to build libnss_db.
28241         * nss/Versions: Add libnss_db information.  Organize libnss_files
28242         entries better.
28243         * nss/db-Makefile: Add gshadow support.  Change rules for the new
28244         makedb progra.  Some minor improvements to generate smaller files.
28245         * nss/nss_db/nss_db.h: Move NSS database header data structures to
28246         here from...
28247         * nss/makedb.c: ...here.
28248         Improve database format to be smaller and require less memory at
28249         runtime.
28250         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
28251         db anymore.
28252         * nss/nss_db/db-netgrp.c: Likewise.
28253         * nss/nss_db/db-open.c: Likewise.
28254         * nss/nss_files/flies-XXX.x: Adjust comments.
28255         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28256         * nss/nss_files/files-grp.c: Likewise.
28257         * nss/nss_files/files-hosts.c: Likewise.
28258         * nss/nss_files/files-network.c: Likewise.
28259         * nss/nss_files/files-proto.c: Likewise.
28260         * nss/nss_files/files-pwd.c: Likewise.
28261         * nss/nss_files/files-rpc.c: Likewise.
28262         * nss/nss_files/files-service.c: Likewise.
28263         * nss/nss_files/files-sgrp.c: Likewise.
28264         * nss/nss_files/files-spwd.c: Likewise.
28265         * nss/nss_db/db-alias.c: Removed.
28266         * nss/nss_db/dummy-db.h: Removed.
28268 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
28270         * nss/makedb.c: Rewritten to not use database library.
28271         * nss/Makefile: Update to build new makedb program.
28273 2011-06-14  Andreas Jaeger  <aj@suse.de>
28275         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28276         memset declaration.
28278 2011-06-10  Andreas Schwab  <schwab@redhat.com>
28280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28281         tmpbuf.
28283 2011-06-10  Roland McGrath  <roland@hack.frob.com>
28285         * Makerules (shlib.lds): Fail if the linker script comes out empty.
28286         * elf/Makefile ($(objpfx)ld.so): Likewise.
28288         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28289         Don't list ld.so twice in dependencies.
28291         * posix/bug-regex31.c: Include <stdlib.h>.
28293         * nscd/hstcache.c (cache_addhst): Remove unused variable.
28295         * nis/nss_compat/compat-spwd.c
28296         (getspent_next_nss_netgr): Remove unused variable.
28297         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28299         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28300         nonmembers" output to use the right array.
28302         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28304         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28306         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28307         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28308         * catgets/gencat.c (read_input_file): Likewise.
28309         * locale/programs/locarchive.c (enlarge_archive): Likewise.
28311         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28312         variable definition inside #if's controlling its use.
28314         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28316         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28318         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28320         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28321         unreachable code.
28323         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28325         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28326         * configure: Regenerated.
28328         * Makerules: Revert last change.
28329         * elf/Makefile: Likewise.
28331 2011-06-09  Roland McGrath  <roland@hack.frob.com>
28333         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28334         * elf/Makefile ($(objpfx)librtld.os): Likewise.
28335         (reloc-link): Likewise.
28337 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
28339         * elf/Makefile: Add rules to build pldd.
28340         * elf/pldd.c: New file.
28341         * elf/pldd-xx.c: New file.
28343 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
28345         * version.h: Update for 2.15 development version.
28347 2011-06-07  David S. Miller  <davem@davemloft.net>
28349         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28350         ifuncs.
28351         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28352         elf_machine_lazy_rel): Likewise.
28353         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28354         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28355         elf_machine_lazy_rel): Likewise.
28356         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28357         dl_hwcap via passed in argument.
28358         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28359         Likewise.
28361 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28363         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
28365 2011-06-06  Roland McGrath  <roland@hack.frob.com>
28367         [BZ #12849]
28368         * manual/fdl-1.1.texi: New file, verbatim from:
28369         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28370         * manual/lgpl-2.1.texi: New file, verbatim from:
28371         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28372         * manual/Makefile (licenses): New variable, list those new file names.
28373         (texis): Use it.
28374         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28376         * manual/fdl.texi: File removed.
28377         * manual/lesser.texi: File removed.
28378         * manual/libc.texinfo (Copying, Documentation License):
28379         Use new @include file names, put @appendix directive before @include.
28381 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
28383         [BZ #12841]
28384         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28385         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28386         (mq_open): Add __NTH.
28388 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
28390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28391         Assume Intel Core i3/i5/i7 processor if AVX is available.
28393 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
28395         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28396         typo.
28398 2011-05-31  Andreas Schwab  <schwab@redhat.com>
28400         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28401         memory.  Use alloca_account.  Fix memory leak when retrying.
28403 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
28405         * version.h (RELEASE): Bump for 2.14 release.
28406         * include/features.h (__GLIBC_MINOR__): Bump to 14.
28408         * config.make.in (RANLIB): Remove entry.
28410 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
28412         * po/Makefile (po-sed-cmd): Add ksh to extensions.
28413         (libc.pot): Work around missing support for .ksh extension in xgettext.
28415         [BZ #12684]
28416         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28417         if both request failed.
28418         (send_dg): In case of server errors clear resplen or *resplen2.
28420         [BZ #12454]
28421         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28422         when there are multiple maps.
28423         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28424         (_dl_fini): Remove test here.
28426         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28428 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
28430         [BZ #12350]
28431         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28432         bit from old_res_options.
28433         (gaih_inet): Likewise.
28435         [BZ #11099]
28436         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28437         as signed.
28439         * resolv/res_init.c (res_setoptions): Make the code more compact.
28441         [BZ #11558]
28442         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28443         set RES_USEVC.
28445         [BZ #11634]
28446         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28448         * malloc/malloc.h: Mark malloc hook variables as deprecated.
28450         [BZ #11781]
28451         * malloc/malloc.h: Declare malloc hook variables as volatile.
28453         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28454         in last patch.
28456         [BZ #11799]
28457         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28458         raise in the comment.
28459         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28460         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28461         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28463 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
28465         [BZ #12811]
28466         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28467         grow the buffers more if it already has to be sufficient.
28468         (build_wcs_upper_buffer): Likewise.
28469         * posix/regexec.c (check_matching): Likewise.
28470         (clean_state_log_if_needed): Likewise.
28471         (extend_buffers): Don't enlarge buffers beyond size of the input
28472         buffer.
28473         Patches mostly by Emil Wojak <emil@wojak.eu>.
28474         * posix/bug-regex32.c: New file.
28475         * posix/Makefile (tests): Add bug-regex32.
28477         * locale/findlocale.c (_nl_find_locale): Return right away if
28478         _nl_explode_name failed.
28479         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28481         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28483         * debug/xtrace.sh: Unify messages.
28484         * malloc/memusage.sh: Likewise.
28486         [BZ #12813]
28487         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28488         time symbol from vDSO.  Substitute with vsyscall if not available.
28489         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28490         __vdso_time.
28492         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28493         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28494         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28495         Add sendmmsg and internal_sendmmsg.
28496         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28497         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28498         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28500         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28501         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28502         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28504 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
28506         [BZ #12813]
28507         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28508         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
28509         available.
28510         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28511         __vdso_getcpu.
28513         [BZ #12814]
28514         * iconvdata/Makefile (tests): Add bug-iconv9.
28515         * iconvdata/bug-iconv9.c: New file.
28517 2011-05-27  Andreas Schwab  <schwab@redhat.com>
28519         [BZ #12814]
28520         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28522 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
28524         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28525         (struct user_regs_struct): Change intcs field back to cs.
28527 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
28529         * po/ja.po: Update from translation team.
28531 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
28533         [BZ #12795]
28534         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28535         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28537 2011-05-20  Andreas Schwab  <schwab@redhat.com>
28539         * stdlib/longlong.h: Update from GCC.
28541 2011-05-23  Andreas Schwab  <schwab@redhat.com>
28543         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28544         parameter name.
28545         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28546         Add parameter name.
28547         (__sysconf): Pass it down.
28549 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
28551         [BZ #12671]
28552         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28553         some situations.
28554         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28555         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28556         add in in __libc_use_alloca calls.  Adjust callers.
28557         (glob): Use malloc in some situations.
28559         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28560         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28561         pltexit.
28563 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
28565         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28566         and CLOCK_BOOTTIME_ALARM.
28568         [BZ #12782]
28569         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28570         is returned.
28572         * string/_strerror.c (__strerror_r): Print negative errors as signed
28573         numbers.
28575         [BZ #12777]
28576         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28577         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28578         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28580         * configure.in: Fix typo in redirection and correct removal of test
28581         files in two cases.
28583         [BZ #12788]
28584         * locale/setlocale.c (new_composite_name): Fix test to check for
28585         identical name of all categories.
28587         [BZ #12792]
28588         * libio/filedoalloc.c (local_isatty): New function.
28589         (_IO_file_doallocate): Use local_isatty.
28590         * stdio-common/perror.c (perror): In case a new stream is used
28591         forward the stream error.
28592         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28593         error flag.
28595 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
28597         [BZ #11869]
28598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28599         alloca.
28600         * include/alloca.h (extend_alloca_account): Define.
28602         [BZ #11857]
28603         * posix/regex.h: Fix comments with documentation of user-accessible
28604         fields after compilation and describe correct free'ing of pattern
28605         after re_compile_pattern.
28606         Patch by Reuben Thomas <rrt@sc3d.org>.
28608 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
28610         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28611         and -mno-altivec to prevent the compiler from using Altivec and/or
28612         VSX instructions when the corresponding registers are not available.
28614 2011-05-19  Andreas Schwab  <schwab@redhat.com>
28616         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28618 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
28620         * libio/freopen.c (freopen): Use __dup2, not dup2.
28621         * libio/freopen64.c (freopen64): Likewise.
28623 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28625         [BZ #12775]
28626         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28627         * math/Makefile (tests): Add test-powl.
28628         (CFLAGS-test-powl.c): Define.
28629         * math/test-powl.c: New file.
28631 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28633         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28635 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
28637         [BZ #11837]
28638         * iconvdata/gb18030.c: Update to GB18020-2005.
28640 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
28642         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28643         RE_SYNTAX_POSIX_AWK): Update to match recent development.
28644         Patch by Aharon Robbins <arnold@skeeve.com>.
28646         [BZ #11892]
28647         * stdlib/putenv.c (putenv): Don't always create copy of the variable
28648         on the stack.
28650         [BZ #11895]
28651         * misc/pselect.c (__pselect): Handle timeout value errors hidden
28652         through underflows.
28654         [BZ #12766]
28655         * misc/error.c (error_at_line): Ensure file_name and old_file_name
28656         point to strings before performing equality test for error_one_per_line
28657         mode.
28659         [BZ #11697]
28660         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28662         [BZ #11820]
28663         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28664         (struct user_fpregs_struct): Avoid __uint*_t types.
28666         [BZ #6420]
28667         * malloc/mtrace.c (tr_where): Add additional parameter to point to
28668         symbol info.  Use it instead of calling _dl_addr locally.
28669         (lock_and_info): New function.
28670         (tr_freehook): Call lock_and_info and pass symbol info as additional
28671         parameter to tr_where.
28672         (tr_mallochook): Likewise.
28673         (tr_reallochook): Likewise.
28674         (tr_memalignhook): Likewise.
28676         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
28677         used and couldn't be at all thread-safe.
28679 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
28681         * libio/freopen.c (freopen): Don't close old file descriptor
28682         before the new one is opened.  Instead dup the new file descriptor
28683         to the old one after the new stream is created.
28684         * libio/freopen64.c (freopen64): Likewise.
28685         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28686         * libio/fileops.c (_IO_new_file_close_it): Handle new
28687         _IO_FLAGS2_NOCLOSE flag.
28688         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28689         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28690         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28691         _IO_FLAGS2_NOCLOSE flag.
28692         * include/unistd.h: Add hidden_proto for dup3.
28693         Define __have_dup3.
28694         * io/dup3.c: Define hidden symbol.
28695         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28697         [BZ #7101]
28698         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28699         when an incomplete long option is used.
28700         * posix/tst-getopt_long1.c: New file.
28701         * posix/Makefile (tests): Add tst-getopt_long1.
28703         [BZ #10138]
28704         * scripts/config.guess: Update from autoconf-2.68.
28705         * scripts/config.sub: Likewise.
28707         [BZ #10157]
28708         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28709         tests into ...
28710         (has_cpuclock): ...this.  New function.
28711         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28712         macro here based on has_cpuclock code.
28714         [BZ #10149]
28715         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28716         First byte (not low byte) is now always NUL.
28717         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28719         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28720         Use non-cancelable interfaces.
28722         [BZ #9809]
28723         * locale/iso-639.def: Add entry for Sorani.
28725         [BZ #11901]
28726         * include/stdlib.h: Move include protection to the right place.
28727         Define abort_msg_s.  Declare __abort_msg with it.
28728         * stdlib/abort.c (__abort_msg): Adjust type.
28729         * assert/assert.c (__assert_fail_base): New function.  Majority
28730         of code from __assert_fail.  Allocate memory for __abort_msg with
28731         mmap.
28732         (__assert_fail): Now call __assert_fail_base.
28733         * assert/assert-perr.c: Remove bulk of implementation.  Use
28734         __assert_fail_base.
28735         * include/assert.hL Declare __assert_fail_base.
28736         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28737         mmap.
28738         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28740 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
28742         [BZ #11952]
28743         [BZ #12453]
28744         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28745         until all modules are registered in the DTV.
28746         * elf/Makefile: Add rules to build and run tst-tls19.
28747         * elf/tst-tls19.c: New file.
28748         * elf/tst-tls19mod1.c: New file.
28749         * elf/tst-tls19mod2.c: New file.
28750         * elf/tst-tls19mod3.c: New file.
28751         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28753         [BZ #12083]
28754         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28755         correctly.
28757         [BZ #12601]
28758         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28759         two-byte sequence errors.
28760         * iconvdata/Makefile (tests): Add bug-iconv8.
28761         * iconvdata/bug-iconv8.c: New file.
28763         [BZ #12626]
28764         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28765         buf2 definition.
28767         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28769         [BZ #12432]
28770         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28771         (dummy_getcfa): New function.
28772         (init): Get _Unwind_GetCFA address, use dummy if not found.
28773         (backtrace_helper): In recursion check, also check whether CFA changes.
28774         (__backtrace): Completely initialize arg.
28776         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28777         storing incomplete byte sequence in state object.  Avoid testing for
28778         guaranteed too small input if we know there is enough data available.
28780 2011-05-11  Andreas Schwab  <schwab@redhat.com>
28782         * Makeconfig (+link-pie): Indent.
28783         * Rules (binaries-pie): Define if $(have-fpie) and
28784         $(build-shared).
28785         (binaries-shared): Also filter out $(binaries-pie).
28786         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28787         * nscd/Makefile (others-pie): Add nscd.
28788         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28789         ($(objpfx)nscd): Remove command override.
28790         * login/Makefile (others-pie): Add pt_chown.
28791         ($(objpfx)pt_chown): Remove command override.
28792         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28793         remove command overrides.
28795 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
28797         * libio/tst_putwc.c: Fix error messages.
28799         [BZ #12724]
28800         * libio/fileops.c (_IO_new_file_close_it): Always flush when
28801         currently writing and seek to current position when not.
28802         * libio/Makefile (tests): Add bug-fclose1.
28803         * libio/bug-fclose1.c: New file.
28805 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
28807         [BZ #12511]
28808         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28809         don't set DF_1_NODELETE here.
28810         (do_lookup_x): When entering new entry test for copy relocation
28811         and if necessary set DF_1_NODELETE flag.
28812         * elf/tst-unique4.cc: New file.
28813         * elf/tst-unique4.h: New file.
28814         * elf/tst-unique4lib.cc: New file.
28815         * elf/Makefile: Add rules to build and run tst-unique4.
28816         Patch by Piotr Bury <pbury@goahead.com>.
28818 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
28820         [BZ #12052]
28821         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28823         [BZ #12625]
28824         * misc/mntent_r.c (addmntent): Flush the stream after the output
28826         [BZ #12393]
28827         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28828         (is_trusted_path_normalize): Skip initial colon.  Append slash
28829         to empty buffer.  Duplicate is_trusted_path code but allow
28830         constructed patch to be prefix.
28831         (is_dst): Allow $ORIGIN followed by /.
28832         (_dl_dst_substitute): Correct clearing of check_for_trusted.
28833         Correct testing of result of is_trusted_path_normalize
28834         (decompose_rpath): Fix warning.
28836 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
28838         [BZ #11257]
28839         * grp/initgroups.c (internal_getgrouplist): When we found the service
28840         list through the initgroups entry in nsswitch.conf do not always
28841         continue on a successful lookup.  Don't always use the
28842         __nss_group_database value if it is set.
28843         * nss/nsswitch.conf (initgroups): Change action for successful db
28844         lookup to continue for compatibility.
28846 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
28848         [BZ #11532]
28849         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28850         and CP774 modules.
28851         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28852         and CP774 modules.
28853         * iconvdata/tst-tables.sh: Likewise.
28854         * iconvdata/cp770.c: New file.
28855         * iconvdata/cp771.c: New file.
28856         * iconvdata/cp772.c: New file.
28857         * iconvdata/cp773.c: New file.
28858         * iconvdata/cp774.c: New file.
28859         * iconvdata/testdata/CP770: New file.
28860         * iconvdata/testdata/CP770..UTF8: New file.
28861         * iconvdata/testdata/CP771: New file.
28862         * iconvdata/testdata/CP771..UTF8: New file.
28863         * iconvdata/testdata/CP772: New file.
28864         * iconvdata/testdata/CP772..UTF8: New file.
28865         * iconvdata/testdata/CP773: New file.
28866         * iconvdata/testdata/CP773..UTF8: New file.
28867         * iconvdata/testdata/CP774: New file.
28868         * iconvdata/testdata/CP774..UTF8: New file.
28870         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28871         END CHARMAP line.
28872         * iconvdata/gen-8bit-gap.sh: Likewise.
28873         * iconvdata/gen-8bit.sh: Likewise.
28875         * locale/iso-639.def: Add ary entry.
28877         [BZ #11258]
28878         * locale/C-translit.h.in: Add U20A1 transliteration.
28880         [BZ #12178]
28881         * locale/iso-639.def: Add wae entry.
28882         Patch by Kevin Bortis <bortis@translate-wae.ch>.
28884         [BZ #12545]
28885         * locale/programs/localedef.c (construct_output_path): Use ssize_t
28886         for n.
28888         [BZ #12711]
28889         * locale/C-translit.h.in: Add entry for U20B9.
28890         Patch by pravin.d.s@gmail.com.
28892 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
28894         [BZ #12713]
28895         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28896         ENAMETOOLONG use generic getcwd.
28897         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
28898         in rtld.  Use *stat64.
28899         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28900         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28901         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28902         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28903         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28904         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28905         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28906         __fstatat64 macros.
28907         * include/dirent.h: Add libc_hidden_proto for rewinddir.
28908         * dirent/rewinddir.c: Add libc_hidden_def.
28909         * sysdeps/mach/hurd/rewinddir.c: Likewise.
28910         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
28912         * include/dirent.h (__alloc_dir): Add flags parameter.
28913         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28914         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28915         __alloc_dir.
28916         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
28917         from fdopendir if O_CLOEXEC is already set.
28919 2011-03-15  Alan Modra  <amodra@gmail.com>
28921         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28922         l_tls_firstbyte_offset non-zero.  Save padding offset in
28923         l_tls_firstbyte_offset for later use.
28924         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28925         freeing static tls block.
28927 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
28929         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28930         where #ifdef was intended.  The intent is to prevent ARG_MAX from
28931         being defined by the kernel headers.
28933 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
28935         [BZ #12734]
28936         * resolv/resolv.h: Define RES_NOTLDQUERY.
28937         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28938         no-tld-query and set RES_NOTLDQUERY.
28939         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28940         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28941         modern BIND to search name as TLD unless forbidden.
28943 2011-05-07  Petr Baudis  <pasky@suse.cz>
28944             Ulrich Drepper  <drepper@gmail.com>
28946         [BZ #12393]
28947         * elf/dl-load.c (fillin_rpath): Move trusted path check...
28948         (is_trusted_path): ...to here.
28949         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28950         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28951         using is_trusted_path_normalize() in setuid scripts.
28953 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28955         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28956         __BEGIN/__END_DECLS.
28958 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
28960         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28961         NSS_STATUS_NOTFOUND if no record was found.
28963 2011-05-05  Andreas Schwab  <schwab@redhat.com>
28965         * sunrpc/Makefile (headers): Add rpc/netdb.h.
28966         (headers-not-in-tirpc): Remove rpc/netdb.h
28967         * resolv/netdb.h: Revert last change.
28969 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28971         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28972         circular dependency between libgcc.a and libc.a.
28974 2011-05-05  Andreas Schwab  <schwab@redhat.com>
28976         * resolv/netdb.h: Don't include <rpc/netdb.h>.
28977         * nis/Makefile: Don't install rpcsvc/*.
28978         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28979         instead of <rpc/types.h>.
28980         (MAXHOSTNAMELEN): Define.
28982 2011-05-03  Andreas Schwab  <schwab@redhat.com>
28984         * elf/ldconfig.c (add_dir): Don't crash on empty path.
28986 2011-04-28  Maciej Babinski  <mbabinski@google.com>
28988         [BZ #12714]
28989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28990         gethostbyname4_r when IPv6 results are possible.
28992 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
28994         [BZ #12723]
28995         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28996         _PC_PIPE_BUF handling.
28998 2011-04-30  Bruno Haible  <bruno@clisp.org>
29000         [BZ #12717]
29001         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29002         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29003         to 'int'.
29004         * inet/getnameinfo.c (getnameinfo): Likewise.
29006 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29008         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29009         to groups setting in database lookup.
29010         * nss/nsswitch.conf: Add initgroups entry.
29012 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29014         [BZ #12685]
29015         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29016         mode string.
29017         Patch by Eric Blake <eblake@redhat.com>.
29019 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29021         * sunrpc/Makefile (need-export-routines): Add svc_run.
29022         (routines): Remove svc_run.
29023         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29024         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29025         * sunrpc/svc_run.c (svc_run): Likewise.
29026         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29028 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29030         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29031         problem in reallocation in last patch.
29033 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29035         * sunrpc/Makefile: Move inclusion of Rules.
29037 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29039         * nss/nss_files/files-initgroups.c: New file.
29040         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29041         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29042         _nss_files_initgroups_dyn.
29044 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29046         * elf/elf.h (R_ARM_IRELATIVE): Define.
29048 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29050         * po/ru.po: Update from translation team.
29052 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29054         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29055         dependencies.
29057 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29059         [BZ #12653]
29060         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29061         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29062         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29063         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29064         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29066 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
29068         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29069         differing bytes.
29070         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29071         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29072         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29074 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29076         [BZ #12420]
29077         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29078         storing it.
29079         * stdlib/bug-getcontext.c: New file.
29080         * stdlib/Makefile: Add rules to build and run bug-getcontext.
29082 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29084         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29085         instructions into .machine "z9-109".
29086         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29087         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29089 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29091         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29092         between environment variables and auxiliary vector.
29094 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
29096         * Makefile: Add rules to build linkobj/libc.so.
29097         * include/libc-symbols.h: Define libc_hidden_nolink.
29098         * include/rpc/auth.h: Mark functions which are to be hidden.
29099         * include/rpc/auth_des.h: Likewise.
29100         * include/rpc/auth_unix.h: Likewise.
29101         * include/rpc/clnt.h: Likewise.
29102         * include/rpc/des_crypt.h: Likewise.
29103         * include/rpc/key_prot.h: Likewise.
29104         * include/rpc/pmap_clnt.h: Likewise.
29105         * include/rpc/pmap_prot.h: Likewise.
29106         * include/rpc/pmap_rmt.h: Likewise.
29107         * include/rpc/rpc_msg.h: Likewise.
29108         * include/rpc/svc.h: Likewise.
29109         * include/rpc/svc_auth.h: Likewise.
29110         * include/rpc/xdr.h: Likewise.
29111         * nis/Makefile: Link all DSOs against linkobj/libc.so.
29112         * nss/Makefile: Likewise.
29113         * sunrpc/Makefile: Don't install headers.  Build library with normal
29114         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
29115         * sunrpc/auth_des.c: Hide exported symbols by default, export some
29116         for the compat linking library.  Remove use of INTDEF/INTUSE.
29117         * sunrpc/auth_none.c: Likewise.
29118         * sunrpc/auth_unix.c: Likewise.
29119         * sunrpc/authdes_prot.c: Likewise.
29120         * sunrpc/authuxprot.c: Likewise.
29121         * sunrpc/clnt_gen.c: Likewise.
29122         * sunrpc/clnt_perr.c: Likewise.
29123         * sunrpc/clnt_raw.c: Likewise.
29124         * sunrpc/clnt_simp.c: Likewise.
29125         * sunrpc/clnt_tcp.c: Likewise.
29126         * sunrpc/clnt_udp.c: Likewise.
29127         * sunrpc/clnt_unix.c: Likewise.
29128         * sunrpc/des_crypt.c: Likewise.
29129         * sunrpc/des_soft.c: Likewise.
29130         * sunrpc/get_myaddr.c: Likewise.
29131         * sunrpc/key_call.c: Likewise.
29132         * sunrpc/key_prot.c: Likewise.
29133         * sunrpc/netname.c: Likewise.
29134         * sunrpc/pm_getmaps.c: Likewise.
29135         * sunrpc/pm_getport.c: Likewise.
29136         * sunrpc/pmap_clnt.c: Likewise.
29137         * sunrpc/pmap_prot.c: Likewise.
29138         * sunrpc/pmap_prot2.c: Likewise.
29139         * sunrpc/pmap_rmt.c: Likewise.
29140         * sunrpc/publickey.c: Likewise.
29141         * sunrpc/rpc_cmsg.c: Likewise.
29142         * sunrpc/rpc_common.c: Likewise.
29143         * sunrpc/rpc_dtable.c: Likewise.
29144         * sunrpc/rpc_prot.c: Likewise.
29145         * sunrpc/rpc_thread.c: Likewise.
29146         * sunrpc/rtime.c: Likewise.
29147         * sunrpc/svc.c: Likewise.
29148         * sunrpc/svc_auth.c: Likewise.
29149         * sunrpc/svc_authux.c: Likewise.
29150         * sunrpc/svc_raw.c: Likewise.
29151         * sunrpc/svc_run.c: Likewise.
29152         * sunrpc/svc_simple.c: Likewise.
29153         * sunrpc/svc_tcp.c: Likewise.
29154         * sunrpc/svc_udp.c: Likewise.
29155         * sunrpc/svc_unix.c: Likewise.
29156         * sunrpc/svcauth_des.c: Likewise.
29157         * sunrpc/xcrypt.c: Likewise.
29158         * sunrpc/xdr.c: Likewise.
29159         * sunrpc/xdr_array.c: Likewise.
29160         * sunrpc/xdr_float.c: Likewise.
29161         * sunrpc/xdr_intXX_t.c: Likewise.
29162         * sunrpc/xdr_mem.c: Likewise.
29163         * sunrpc/xdr_rec.c: Likewise.
29164         * sunrpc/xdr_ref.c: Likewise.
29165         * sunrpc/xdr_sizeof.c: Likewise.
29166         * sunrpc/xdr_stdio.c: Likewise.
29168 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
29170         [BZ #12650]
29171         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29172         * sysdeps/ia64/dl-tls.h: Likewise.
29173         * sysdeps/powerpc/dl-tls.h: Likewise.
29174         * sysdeps/s390/dl-tls.h: Likewise.
29175         * sysdeps/sh/dl-tls.h: Likewise.
29176         * sysdeps/sparc/dl-tls.h: Likewise.
29177         * sysdeps/x86_64/dl-tls.h: Likewise.
29178         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29180 2011-03-14  Andreas Schwab  <schwab@redhat.com>
29182         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29183         rpath element also skip the following colon.
29184         (expand_dynamic_string_token): Add is_path parameter and pass
29185         down to DL_DST_REQUIRED and _dl_dst_substitute.
29186         (decompose_rpath): Call expand_dynamic_string_token with
29187         non-zero is_path.  Ignore empty rpaths.
29188         (_dl_map_object_from_fd): Call expand_dynamic_string_token
29189         with zero is_path.
29191 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
29193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29194         Make cancelable.
29196 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
29198         [BZ #12655]
29199         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29200         Patch by Filipe David Manana <fdmanana@apache.org>.
29202 2011-04-07  Andreas Schwab  <schwab@redhat.com>
29204         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29205         Maintain aligned stack.
29206         (CHECK_RSP): Remove unused macro.
29208 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
29210         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29211         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29213 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
29215         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29217         * include/features.h: Mention __USE_XOPEN2K8 in comment.
29219 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
29221         [BZ #12518]
29222         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29223         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29224         * sysdeps/x86_64/memmove.c: New file.
29225         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29226         (memcpy): Renamed to ...
29227         (__new_memcpy): This.
29228         (memcpy): Provide GLIBC_2_14 memcpy.
29229         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29230         (memcpy): Provide GLIBC_2_2_5 memcpy.
29232 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29234         [BZ #12631]
29235         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29237 2011-03-30  Andreas Schwab  <schwab@redhat.com>
29239         * misc/syncfs.c: New file.
29240         * misc/Makefile (routines): Add syncfs.
29241         * posix/unistd.h: Declare syncfs.
29242         * sysdeps/unix/syscalls.list: Add syncfs.
29244 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29246         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29247         open_by_handle_at.
29248         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29249         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29250         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29251         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29253         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29254         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29256 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29258         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29259         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29260         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29261         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29262         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29264         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29266         * io/Makefile: Compile fallocate.c, fallocate64.c, and
29267         sync_file_range.c with -fexceptions.
29268         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29269         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29270         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29271         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29272         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29273         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29275         sync_file_range as cancellation point
29276         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
29277         now a wrapper around __call_sync_file_range with cancellation handling.
29278         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29279         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
29280         function name to __call_sync_file_range.
29281         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29282         Add call_sync_file_range.
29284 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29287         bits/timex.h.
29289 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29291         * iconv/iconv.h: Fix typo in comment.
29292         * io/fcntl.h: Likewise.
29293         * libio/stdio.h: Likewise.
29294         * posix/spawn.h: Likewise.
29295         * posix/unistd.h: Likewise.
29296         * stdlib/stdlib.h: Likewise.
29297         * time/time.h: Likewise.
29298         * wcsmbs/wchar.h: Likewise.
29300         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29301         open_by_handle): Add.
29302         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29303         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
29304         Augment a few comments.
29305         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29306         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29307         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29309         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29310         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29311         open_by_handle.
29313         * io/fcntl.h (AT_EMPTY_PATH): Define.
29315 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
29317         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29318         * sysdeps/unix/sysv/linux/bits/time.h: New file.
29319         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29320         to...
29321         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
29322         * Versions.def: Add GLIBC_2.14.
29323         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29324         Export.
29326 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
29328         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29329         round counter.
29330         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29332 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29334         [BZ #12597]
29335         * string/test-strncmp.c (do_page_test): New function.
29336         (check2): Likewise.
29337         (test_main): Call check2.
29338         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29340 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
29342         [BZ #12587]
29343         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29344         Handle cache information in CPU leaf 4.
29345         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29347 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
29349         [BZ #12583]
29350         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29351         character representation.
29352         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29354 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
29356         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29357         END(__isnan) to END(__isnanf) to match function entry point/label
29358         EALIGN(__isnanf,...).
29360 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
29362         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29364 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
29366         [BZ #12510]
29367         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29368         copy from the symbol referenced in the relocation to initialize the
29369         used variable.
29370         Patch by Piotr Bury <pbury@goahead.com>.
29371         * elf/Makefile: Add rules to build and tst-unique3.
29372         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29373         * elf/tst-unique3.cc: New file.
29374         * elf/tst-unique3.h: New file.
29375         * elf/tst-unique3lib.cc: New file.
29376         * elf/tst-unique3lib2.cc: New file.
29378         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29380 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
29382         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29383         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
29384         to _start.
29386 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
29388         * elf/dl-load.c (_dl_map_object): If we are looking for the first
29389         to-be-loaded object along a path to loader is ld.so.
29391 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
29392             Ulrich Drepper  <drepper@gmail.com>
29394         * sysdeps/x86_64/memset.S: After aligning destination, code
29395         branches to different locations depending on the value of
29396         misalignment, when multiarch is enabled. Fix this.
29398 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
29400         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29401         Set _x86_64_preferred_memory_instruction for AMD processsors.
29402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29403         Set bit_Prefer_SSE_for_memop for AMD processors.
29405 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
29407         * libio/fmemopen.c (fmemopen): Optimize a bit.
29409 2011-03-03  Andreas Schwab  <schwab@redhat.com>
29411         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29413 2011-03-03  Roland McGrath  <roland@redhat.com>
29415         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29417 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
29419         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29420         __bzero_ultra1 instead of __memset_ultra1.
29422 2011-02-23  Andreas Schwab  <schwab@redhat.com>
29423             Ulrich Drepper  <drepper@gmail.com>
29425         [BZ #12509]
29426         * include/link.h (struct link_map): Add l_orig_initfini.
29427         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29428         returning unsuccessfully.
29429         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29430         close of a file loaded at startup, restore the original l_initfini
29431         list.
29432         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29433         list, store the pointer.
29434         * elf/Makefile ($(objpfx)noload-mem): New rule.
29435         (noload-ENV): Define.
29436         (tests): Add $(objpfx)noload-mem.
29437         * elf/noload.c: Include <memcheck.h>.
29438         (main): Call mtrace.  Close all opened handles.
29440 2011-02-17  Andreas Schwab  <schwab@redhat.com>
29442         [BZ #12454]
29443         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29444         dependencies are missing.
29446 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29448         Fix __if_freereq crash: Unlike the generic version which uses free,
29449         Hurd needs munmap.
29450         * sysdeps/mach/hurd/ifreq.h: New file.
29452 2011-01-27  Petr Baudis  <pasky@suse.cz>
29453             Ulrich Drepper  <drepper@gmail.com>
29455         [BZ 12445]#
29456         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29457         to extend_alloca().
29458         * stdio-common/bug23.c: New file.
29459         * stdio-common/Makefile (tests): Add bug23.
29461 2010-09-28  Andreas Schwab  <schwab@redhat.com>
29462             Ulrich Drepper  <drepper@gmail.com>
29464         [BZ #12489]
29465         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29466         before performing relro protection.  At old place add assertion
29467         to make sure nothing changed.
29469 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
29470             Glauber de Oliveira Costa  <glommer@gmail.com>
29472         * elf/elf.h: Add new ARM TLS relocs.
29474 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
29476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29477         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29478         cast from r3.
29479         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
29480         'tests' variable.
29481         * sysdeps/wordsize-64/tst-writev.c: New file.
29483 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
29485         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29486         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29487         insns in _dl_start to prevent a TOC reference before relocs are
29488         resolved.
29490 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
29492         [BZ #12469]
29493         * Makeconfig: Remove RANLIB definition.
29494         * Makerules: Don't use RANLIB.
29495         * aclocal.m4: Remove ranlib test.
29496         * configure.in: No need to check for ranlib.
29497         * elf/rtld-Rules: Don't use RANLIB.
29499 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29501         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29502         protection macro.
29503         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29504         inclusion protection macro.
29506         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29507         SIGRTMIN and SIGRTMAX and print information in that case only when
29508         SIGRTMIN is defined.
29510 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
29512         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29513         arginfo fn returning -1.
29515         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29516         and thousands string is zero terminated.
29518 2011-02-03  Andreas Schwab  <schwab@redhat.com>
29520         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29521         sysdeps/unix/sysv/linux/bits/socket.h.
29523 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29525         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29526         (__CPU_COUNT): Remove old macros.
29527         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29528         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29529         (__CPU_ALLOC, __CPU_FREE): Add macros.
29530         (__sched_cpualloc, __sched_cpufree): Add declarations.
29532 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
29534         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29535         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29536         * nscd/aicache.c (addhstaiX): Return timeout of added value.
29537         (readdhstai): Return value of addhstaiX call.
29538         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29539         (addgrbyX): Return value returned by cache_addgr.
29540         (readdgrbyname): Return value returned by addgrbyX.
29541         (readdgrbygid): Likewise.
29542         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29543         (addpwbyX): Return value returned by cache_addpw.
29544         (readdpwbyname): Return value returned by addhstbyX.
29545         (readdpwbyuid): Likewise.
29546         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29547         (addservbyX): Return value returned by cache_addserv.
29548         (readdservbyname): Return value returned by addservbyX:
29549         (readdservbyport): Likewise.
29550         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29551         (addhstbyX): Return value returned by cache_addhst.
29552         (readdhstbyname): Return value returned by addhstbyX.
29553         (readdhstbyaddr): Likewise.
29554         (readdhstbynamev6): Likewise.
29555         (readdhstbyaddrv6): Likewise.
29556         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29557         (readdinitgroups): Return value returned by addinitgroupsX.
29558         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29559         (prune_cache): Keep track of timeout value of re-added entries.
29560         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29561         * nscd/nscd.h: Adjust prototypes of readd* functions.
29563 2011-02-04  Roland McGrath  <roland@redhat.com>
29565         * nis/nis_server.c (nis_servstate): Use the right name for 0.
29566         (nis_stats): Likewise.
29567         * nis/nis_modify.c (nis_modify): Likewise.
29568         * nis/nis_remove.c (nis_remove): Likewise.
29569         * nis/nis_add.c (nis_add): Likewise.
29571         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29573         * posix/fnmatch_loop.c: Add some consts.
29575         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29577 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
29579         [BZ #12460]
29580         * config.make.in (config-cflags-novzeroupper): Define.
29581         * configure.in: Substitute libc_cv_cc_novzeroupper.
29582         * elf/Makefile (AVX-CFLAGS): Define.
29583         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29584         (CFLAGS-tst-auditmod4a.c): Likewise.
29585         (CFLAGS-tst-auditmod4b.c): Likewise.
29586         (CFLAGS-tst-auditmod6b.c): Likewise.
29587         (CFLAGS-tst-auditmod6c.c): Likewise.
29588         (CFLAGS-tst-auditmod7b.c): Likewise.
29589         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29591 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
29593         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29594         function to the callback.
29595         Patch partly by Jiri Olsa <jolsa@redhat.com>.
29597 2011-02-02  Andreas Schwab  <schwab@redhat.com>
29599         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29600         of errno.
29602 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
29604         [BZ #11724]
29605         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29606         of constructors.
29607         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29608         of destructors.
29609         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29611         [BZ #11724]
29612         * elf/Makefile: Add rules to build and run new test.
29613         * elf/tst-initorder.c: New file.
29614         * elf/tst-initorder.exp: New file.
29615         * elf/tst-initordera1.c: New file.
29616         * elf/tst-initordera2.c: New file.
29617         * elf/tst-initordera3.c: New file.
29618         * elf/tst-initordera4.c: New file.
29619         * elf/tst-initorderb1.c: New file.
29620         * elf/tst-initorderb2.c: New file.
29621         * elf/tst-order-a1.c: New file.
29622         * elf/tst-order-a2.c: New file.
29623         * elf/tst-order-a3.c: New file.
29624         * elf/tst-order-a4.c: New file.
29625         * elf/tst-order-b1.c: New file.
29626         * elf/tst-order-b2.c: New file.
29627         * elf/tst-order-main.c: New file.
29628         New test case by George Gensure <werkt0@gmail.com>.
29630 2010-10-01  Andreas Schwab  <schwab@redhat.com>
29632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29633         decoding ACE if AI_CANONIDN.
29635 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
29637         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29639 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
29641         * version.h (RELEASE): Bump for 2.13 release.
29642         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29644         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29646         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29647         MADV_NOHUGEPAGE.
29648         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29649         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29650         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29651         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29652         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29653         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29655         * posix/getconf.c: Update copyright year.
29656         * catgets/gencat.c: Likewise.
29657         * csu/version.c: Likewise.
29658         * debug/catchsegv.sh: Likewise.
29659         * debug/xtrace.sh: Likewise.
29660         * elf/ldconfig.c: Likewise.
29661         * elf/ldd.bash.in: Likewise.
29662         * elf/sprof.c (print_version): Likewise.
29663         * iconv/iconv_prog.c: Likewise.
29664         * iconv/iconvconfig.c: Likewise.
29665         * locale/programs/locale.c: Likewise.
29666         * locale/programs/localedef.c: Likewise.
29667         * malloc/memusage.sh: Likewise.
29668         * malloc/mtrace.pl: Likewise.
29669         * nscd/nscd.c (print_version): Likewise.
29670         * nss/getent.c: Likewise.
29672         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29673         PF_CAIF, and PF_ALG.
29674         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29676 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
29678         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29679         (modules-names): Use them.
29680         (ifunc-test-modules, ifunc-pie-tests): Define.
29681         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29682         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29683         (test-extras): Likewise.
29684         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29685         $(compile-command.c).
29686         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29687         (all-built-dso): Define.
29688         (check-textrel.out, check-execstack.out): Depend on it.
29690         * configure.in: Don't override --enable-multi-arch.
29692 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
29694         [BZ #6812]
29695         * nscd/hstcache.c (tryagain): Define.
29696         (cache_addhst): Return tryagain not notfound for temporary errors.
29697         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29698         failed.
29700 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
29702         [BZ #10563]
29703         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29704         to make the syscall.
29705         * sysdeps/unix/sysv/linux/setgroups.c: New file.
29707         [BZ #12378]
29708         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29709         and fall back to matching as normal character if the string ends before
29710         the matching ']' is found.  This is what POSIX requires.
29711         * posix/testfnm.c: Adjust test result.
29712         * posix/globtest.sh: Adjust test result.  Add new test.
29713         * posix/tst-fnmatch.input: Likewise.
29714         * posix/tst-fnmatch2.c: Add new test.
29716 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
29718         * elf/Makefile (check-execstack): Revert last change.  Depend on
29719         check-execstack.h.
29720         (check-execstack.h): New target.
29721         (generated): Add check-execstack.h.
29722         * elf/check-execstack.c: Include "check-execstack.h".
29723         (main): Revert last change.
29724         (handle_file): Return zero if GNU_STACK is absent and
29725         DEFAULT_STACK_PERMS doesn't include PF_X.
29727 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
29729         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29730         in child fails because the descriptor is already closed.
29731         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29732         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29733         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29735         [BZ #12397]
29736         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29737         syscall.
29739         [BZ #10484]
29740         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29741         temporary buffer used to handle multi lookups locally.
29742         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29744 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
29746         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29747         loader is ld.so.
29749 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
29751         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29752         alignment for SSE2.
29754 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
29756         [BZ #12394]
29757         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29758         characters.  When rounding increased number of integer digits recompute
29759         number of groups.
29760         * stdio-common/tst-grouping.c: New file.
29761         * stdio-common/Makefile: Add rules to build and run tst-grouping.
29763 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
29765         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29766         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
29768         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29769         void.
29770         * bits/select.h: Likewise.
29772 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
29774         * po/ja.po: Update from translation team.
29776 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
29778         [BZ #11155]
29779         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29780         implementation just like for lxstat, fxstatat, et al.
29782 2010-12-27  Jim Meyering  <meyering@redhat.com>
29784         [BZ #12348]
29785         * posix/regexec.c (build_trtable): Return failure indication upon
29786         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
29788 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
29790         [BZ #12201]
29791         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29792         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29793         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29794         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29796         [BZ #12207]
29797         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29799         [BZ #12204]
29800         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29801         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29803 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
29805         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29806         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29807         script has SORT_BY_INIT_PRIORITY.
29808         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29809         NO_CTORS_DTORS_SECTIONS is defined.
29810         * elf/soinit.c: Likewise.
29811         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29812         NO_CTORS_DTORS_SECTIONS is defined.
29813         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29814         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29815         * sysdeps/sh/init-first.c: Likewise.
29816         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29818 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
29820         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29821         always use the slow path.
29823 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
29825         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29826         similar rule which adds the sysdep directories to the header search in
29827         order to pick up the correct platform stackinfo.h.
29828         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29829         perform test if it is, otherwise return successfully without testing.
29830         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29831         DEFAULT_STACK_PERMS define in stackinfo.h.
29832         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29833         defined in stackinfo.h.
29834         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29835         DEFAULT_STACK_PERMS defined in stackinfo.h.
29836         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29837         * sysdeps/ia64/stackinfo.h: Likewise.
29838         * sysdeps/s390/stackinfo.h: Likewise.
29839         * sysdeps/sh/stackinfo.h: Likewise.
29840         * sysdeps/sparc/stackinfo.h: Likewise.
29841         * sysdeps/x86_64/stackinfo.h: Likewise.
29842         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29843         PF_X for powerpc64.  Retain PF_X for powerpc32.
29845 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
29847         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29848         accurately.
29849         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29850         GETDENTS_64BIT_ALIGNED.
29852 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
29854         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29856 2010-12-10  Andreas Schwab  <schwab@redhat.com>
29858         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29859         _GNU_SOURCE.
29861         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29862         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29863         Remove __restrict.
29864         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29865         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29867 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
29869         [BZ #11655]
29870         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29871         are initialized.
29873 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
29875         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29877 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
29879         * po/it.po: Update from translation team.
29881 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
29883         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29884         unused codes.
29886 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
29888         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29890 2010-11-24  Andreas Schwab  <schwab@redhat.com>
29892         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29893         specially.
29894         (gaih_getanswer_slice): Likewise.
29896 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
29898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29900 2010-05-31  Petr Baudis  <pasky@suse.cz>
29902         [BZ #11149]
29903         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29904         silently even in the chroot mode.
29906 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
29908         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29909         last patch a bit.  Pretty printing
29911 2010-05-31  Petr Baudis <pasky@suse.cz>
29913         [BZ #10085]
29914         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29915         initialization of skip_initgroups_dyn.
29917 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
29919         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29920         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29922 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
29924         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29926 2010-11-11  Andreas Schwab  <schwab@redhat.com>
29928         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29929         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29930         (tst-fnmatch-ENV): Set MALLOC_TRACE.
29931         ($(objpfx)tst-fnmatch-mem): New rule.
29932         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29933         * posix/tst-fnmatch.c (main): Call mtrace.
29935 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
29937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29938         Support Intel processor model 6 and model 0x2c.
29940 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
29942         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29943           signed comparison.
29945 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
29947         [BZ #12205]
29948         * string/test-strncasecmp.c (check_result): New function.
29949         (do_one_test): Use it.
29950         (check1): New function.
29951         (test_main): Use it.
29952         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29953         Support strcasecmp and strncasecmp.
29955 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
29957         [BZ #12194]
29958         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29959         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29961 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29963         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29964         IFUNC support.
29965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29966         memset-x86-64.
29967         * sysdeps/x86_64/multiarch/bzero.S: New file.
29968         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29969         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29970         * sysdeps/x86_64/multiarch/memset.S: New file.
29971         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29973         Set bit_Prefer_SSE_for_memop for Intel processors.
29974         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29975         Define.
29976         (index_Prefer_SSE_for_memop): Define.
29977         (HAS_PREFER_SSE_FOR_MEMOP): Define.
29979 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
29981         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29982         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29984 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
29986         [BZ #12191]
29987         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29988         (__x86_64_raw_data_cache_size_half): Likewise.
29989         (__x86_64_raw_shared_cache_size): Likewise.
29990         (__x86_64_raw_shared_cache_size_half): Likewise.
29992         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29993         (__x86_64_raw_data_cache_size_half): Likewise.
29994         (__x86_64_raw_shared_cache_size): Likewise.
29995         (__x86_64_raw_shared_cache_size_half): Likewise.
29996         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29997         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29998         and __x86_64_raw_shared_cache_size_half.  Round
29999         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30000         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30001         to multiple of 256 bytes.
30003 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30005         [BZ #12167]
30006         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30007         of inacessible symlinks.  Verify result of symlink before returning it.
30008         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30009         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30011 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30013         * math/math.h (isinf): Fix typo in comment.
30015 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30017         * po/da.po: Update from translation team.
30019 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30021         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30022         is added to the list.
30024 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30025             Ulrich Drepper  <drepper@gmail.com>
30027         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30028         the global list here.  Move code to...
30029         (_dl_add_to_namespace_list): ...here.  New function.
30030         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30031         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30032         * elf/dl-load.c (lose): Don't remove the element from the list.
30033         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30034         (_dl_map_object): Likewise.
30036 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30038         [BZ #12159]
30039         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30040         into all bytes of SSE register.
30041         Patch by Richard Li <richardpku@gmail.com>.
30043 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30045         [BZ #12140]
30046         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30047         perturbing.
30049 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30051         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30052         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30053         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30054         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30056         submachine.
30057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30059 2010-10-22  Andreas Schwab  <schwab@redhat.com>
30061         * include/dlfcn.h (__RTLD_SECURE): Define.
30062         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
30063         mode & __RTLD_SECURE instead.
30064         (open_path): Rename preloaded parameter to secure.
30065         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30066         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30067         * elf/dl-deps.c (openaux): Likewise.
30068         * elf/rtld.c (struct map_args): Remove is_preloaded.
30069         (map_doit): Don't use it.
30070         (dl_main): Likewise.
30071         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30072         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30074 2010-09-09  Andreas Schwab  <schwab@redhat.com>
30076         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30077         (sysd-rules-targets): Remove duplicates.
30078         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30079         rtld-%.$o dependency.
30081 2010-10-18  Andreas Schwab  <schwab@redhat.com>
30083         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30084         _dl_map_object do it.
30086 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
30088         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30089         fast fma builtins, define the macros in the C99 standard.
30090         (FP_FAST_FMAF): Likewise.
30091         (FP_FAST_FMAL): Likewise.
30092         * sysdeps/x86_64/bits/mathdef.h: Likewise.
30094         * bits/mathdef.h: Update copyright year.
30095         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30097 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
30099         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30100         builtins, define the macros in the C99 standard.
30101         (FP_FAST_FMAF): Likewise.
30102         (FP_FAST_FMAL): Likewise.
30103         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30104         multiply/add.
30105         (FP_FAST_FMAF): Likewise.
30107 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
30109         [BZ #3268]
30110         * math/libm-test.inc (fma_test): Some new testcases.
30111         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30112         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30113         y and infinite z.  Do multiplication by C already in long double.
30114         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30116         y and infinite z.  Do bitwise or of inexact bit into u.d.
30117         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30118         * sysdeps/i386/fpu/s_fmaf.S: Removed.
30119         * sysdeps/i386/fpu/s_fma.S: Removed.
30120         * sysdeps/i386/fpu/s_fmal.S: Removed.
30122 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
30124         [BZ #3268]
30125         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30126         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30127         computation is not scheduled after fetestexcept.  Fix value
30128         of minimum denormal long double.
30130 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
30132         [BZ #3268]
30133         * math/libm-test.inc (fma_test): Add some more tests.
30134         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30135         correctly.
30137 2010-10-15  Andreas Schwab  <schwab@redhat.com>
30139         * scripts/data/localplt-s390-linux-gnu.data: New file.
30140         * scripts/data/localplt-s390x-linux-gnu.data: New file.
30142 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
30144         [BZ #3268]
30145         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30146         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30147         instead of dbl-64.
30148         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30149         inlines.
30150         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30152         if one of x and y is very large and the other is subnormal.
30153         * sysdeps/s390/fpu/s_fmaf.c: New file.
30154         * sysdeps/s390/fpu/s_fma.c: New file.
30155         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30156         * sysdeps/powerpc/fpu/s_fma.S: New file.
30157         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30158         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30159         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30161 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
30163         [BZ #3268]
30164         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30165         fma tests.
30166         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30167         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30168         * sysdeps/i386/i686/multiarch/s_fma.c: Include
30169         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30170         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30171         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30172         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30174 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
30176         [BZ #12078]
30177         * posix/regcomp.c (parse_branch): One more memory leak plugged.
30178         * posix/bug-regex31.input: Add test case.
30180 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30182         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30183         * posix/bug-regex31.input: New file.
30185         [BZ #12078]
30186         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30187         (parse_sub_exp): Fix last change, use postorder.
30189         * posix/bug-regex31.c: New file.
30190         * posix/Makefile: Add rules to build and run bug-regex31.
30192         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30194         [BZ #12078]
30195         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30197         [BZ #12108]
30198         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30199         to have entries in sys_siglist.
30201         [BZ #12093]
30202         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30203         be NULL.
30205 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
30207         [BZ #3268]
30208         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30209         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30210         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30211         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30212         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30213         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30214         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30215         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30216         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30217         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30218         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30219         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30220         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30221         * math/ftestexcept.c (fetestexcept): Likewise.
30222         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30223         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30224         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30225         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30226         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30227         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30228         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30230 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30232         [BZ #12107]
30233         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30234         newline.
30236 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
30238         * string/bug-strstr1.c: New file.
30239         * string/Makefile: Add rules to build and run bug-strstr1.
30241 2010-10-05  Eric Blake  <eblake@redhat.com>
30243         [BZ #12092]
30244         * string/str-two-way.h (two_way_long_needle): Always clear memory
30245         when skipping input due to the shift table.
30247 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
30249         [BZ #12005]
30250         * malloc/mcheck.c: Handle large requests.
30252         [BZ #12077]
30253         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30254         for strncmp and strncasecmp.
30255         * string/stratcliff.c: Add tests for strcmp and strncmp.
30256         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30258 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30260         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30261         __set_fpscr.
30263 2010-09-30  Andreas Jaeger  <aj@suse.de>
30265         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30266         (CGROUP_SUPER_MAGIC): Define.
30267         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30268         Handle btrfs and cgroup file systems.
30269         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30270         Likewise.
30272 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
30274         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30275         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30277 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30279         [BZ #12067]
30280         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30281         trying to locate the ELF header.
30283 2010-09-27  Andreas Schwab  <schwab@redhat.com>
30285         [BZ #11611]
30286         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30287         Mask out sign-bit copies when constructing f_fsid.
30289 2010-09-24  Petr Baudis <pasky@suse.cz>
30291         * debug/stack_chk_fail_local.c: Add missing licence exception.
30292         * debug/warning-nop.c: Likewise.
30294 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
30296         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30297         implementing getdents64 using getdents syscall, set d_type if
30298         __ASSUME_GETDENTS32_D_TYPE.
30300 2010-09-16  Andreas Schwab  <schwab@redhat.com>
30302         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30303         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30305 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
30307         [BZ #12037]
30308         * posix/unistd.h: Undo change of feature selection for ftruncate from
30309         2010-01-11.
30311 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
30313         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30314         detection.
30316 2010-09-20  Andreas Schwab  <schwab@redhat.com>
30318         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30319         fanotify_mark.
30320         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30322 2010-09-14  Andreas Schwab  <schwab@redhat.com>
30324         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30325         variables after CHECK_SP call.
30326         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30328 2010-09-13  Andreas Schwab  <schwab@redhat.com>
30329             Ulrich Drepper  <drepper@redhat.com>
30331         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30332         re-relocationg ld.so.
30333         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30334         _dl_init_paths call.
30335         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
30336         here anymore.
30338 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
30340         * resolv/res_init.c (__res_vinit): Count the default server we added.
30342 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
30343             Ulrich Drepper  <drepper@redhat.com>
30345         [BZ #11968]
30346         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30347         (____longjmp_chk): Use %ebx for saving value across system call.
30348         Add unwind info.
30350 2010-09-06  Andreas Schwab  <schwab@redhat.com>
30352         * manual/Makefile: Don't mix pattern rules with normal rules.
30354 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30356         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30357         operation.
30358         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30359         * libio/iofopncook.c (_IO_cookie_init): Likewise.
30360         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30361         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30362         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30363         Likewise.
30365 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
30367         [BZ #11979]
30368         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30369         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30371 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
30373         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30374         * sysdeps/x86_64/addmul_1.S: Likewise.
30375         * sysdeps/x86_64/lshift.S: Likewise.
30376         * sysdeps/x86_64/mul_1.S: Likewise.
30377         * sysdeps/x86_64/rshift.S: Likewise.
30378         * sysdeps/x86_64/sub_n.S: Likewise.
30379         * sysdeps/x86_64/submul_1.S: Likewise.
30381 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30383         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30384         Define __sched_param instead of SCHED_* and sched_param when
30385         <bits/sched.h> is included with __need_schedparam defined.
30386         * bits/sched.h [__need_schedparam]
30387         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30388         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30389         (__defined_schedparam): Define to 1.
30390         (__sched_param): New structure, identical to sched_param.
30391         (__need_schedparam): Undefine.
30393 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
30395         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30396         (epoll_create1): Declare.
30398         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30400 2010-08-31  Andreas Schwab  <schwab@redhat.com>
30402         [BZ #7066]
30403         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30404         shifting retval into place.
30406 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
30408         * nis/rpcsvc/nis.h: Update copyright notice.
30409         * nis/rpcsvc/nis.x: Likewise.
30410         * nis/rpcsvc/nis_callback.h: Likewise.
30411         * nis/rpcsvc/nis_callback.x: Likewise.
30412         * nis/rpcsvc/nis_object.x: Likewise.
30413         * nis/rpcsvc/nis_tags.h: Likewise.
30414         * nis/rpcsvc/yp.h: Likewise.
30415         * nis/rpcsvc/yp.x: Likewise.
30416         * nis/rpcsvc/ypupd.h: Likewise.
30417         * nis/yp_xdr.c: Likewise.
30418         * nis/ypupdate_xdr.c: Likewise.
30420         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
30421         mainly the body of pmap_getport.  Add parameters to specify timeouts.
30422         (pmap_getport): Use __libc_rpc_getport.
30423         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30424         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30425         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30427 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
30429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30430         fanotify_mark.
30432 2010-08-27  Roland McGrath  <roland@redhat.com>
30434         * sysdeps/i386/i686/multiarch/Makefile
30435         (CFLAGS-varshift.c): New variable.
30437 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
30439         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30440         * sysdeps/i386/i686/multiarch/varshift.c: New file.
30442         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30444         * sysdeps/x86_64/strlen.S: Minimal code improvement.
30446 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30448         * sysdeps/x86_64/strlen.S: Unroll the loop.
30449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30450         strlen-sse2 strlen-sse2-bsf.
30451         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30452         __strlen_no_bsf if bit_Slow_BSF is set.
30453         (__strlen_sse42): Removed.
30454         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30455         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30457 2010-08-25  Roland McGrath  <roland@redhat.com>
30459         * sysdeps/x86_64/multiarch/varshift.S: File removed.
30460         * sysdeps/x86_64/multiarch/varshift.c: New file.
30461         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30462         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30463         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30464         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30466 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30468         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30469         strlen-sse2 strlen-sse2-bsf.
30470         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30471         __strlen_sse2_bsf if bit_Slow_BSF is unset.
30472         (__strlen_sse2): Removed.
30473         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30474         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30476         bit_Slow_BSF for Atom.
30477         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30478         (index_Slow_BSF): Define.
30479         (HAS_SLOW_BSF): Define.
30481 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
30483         [BZ #10851]
30484         * resolv/res_init.c (__res_vinit): When no server address at all
30485         is given default to loopback.
30487 2010-08-24  Roland McGrath  <roland@redhat.com>
30489         * configure.in: Remove config-name.h generation.
30490         * configure: Regenerated.
30491         * config-name.in: File removed.
30492         * scripts/config-uname.sh: New file.
30493         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30494         ($(objdir)config-name.h): New target.
30496         * sunrpc/rpc_parse.h: Avoid nested comment.
30498 2010-08-24  Richard Henderson  <rth@redhat.com>
30499             Ulrich Drepper  <drepper@redhat.com>
30500             H.J. Lu  <hongjiu.lu@intel.com>
30502         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30504         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30505         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
30506         _mm_alignr_epi8 with _mm_loadu_si128.
30507         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30508         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30509         (__m128i_shift_right): Removed.
30510         * sysdeps/i386/i686/multiarch/varshift.h: New file.
30511         * sysdeps/i386/i686/multiarch/varshift.S: New file.
30512         * sysdeps/x86_64/multiarch/varshift.h: New file.
30513         * sysdeps/x86_64/multiarch/varshift.S: New file.
30515 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
30517         * configure.in: Move assembler checks to before sysdep dir checking.
30519 2010-08-20  Petr Baudis  <pasky@suse.cz>
30521         * LICENSES: Sync the sunrpc license.
30523 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
30525         * sunrpc/auth_des.c: Update copyright notice once again.
30526         * sunrpc/auth_none.c: Likewise.
30527         * sunrpc/auth_unix.c: Likewise.
30528         * sunrpc/authdes_prot.c: Likewise.
30529         * sunrpc/authuxprot.c: Likewise.
30530         * sunrpc/bindrsvprt.c: Likewise.
30531         * sunrpc/clnt_gen.c: Likewise.
30532         * sunrpc/clnt_perr.c: Likewise.
30533         * sunrpc/clnt_raw.c: Likewise.
30534         * sunrpc/clnt_simp.c: Likewise.
30535         * sunrpc/clnt_tcp.c: Likewise.
30536         * sunrpc/clnt_udp.c: Likewise.
30537         * sunrpc/clnt_unix.c: Likewise.
30538         * sunrpc/des_crypt.c: Likewise.
30539         * sunrpc/des_soft.c: Likewise.
30540         * sunrpc/get_myaddr.c: Likewise.
30541         * sunrpc/getrpcport.c: Likewise.
30542         * sunrpc/key_call.c: Likewise.
30543         * sunrpc/key_prot.c: Likewise.
30544         * sunrpc/openchild.c: Likewise.
30545         * sunrpc/pm_getmaps.c: Likewise.
30546         * sunrpc/pm_getport.c: Likewise.
30547         * sunrpc/pmap_clnt.c: Likewise.
30548         * sunrpc/pmap_prot.c: Likewise.
30549         * sunrpc/pmap_prot2.c: Likewise.
30550         * sunrpc/pmap_rmt.c: Likewise.
30551         * sunrpc/rpc/auth.h: Likewise.
30552         * sunrpc/rpc/auth_unix.h: Likewise.
30553         * sunrpc/rpc/clnt.h: Likewise.
30554         * sunrpc/rpc/des_crypt.h: Likewise.
30555         * sunrpc/rpc/key_prot.h: Likewise.
30556         * sunrpc/rpc/netdb.h: Likewise.
30557         * sunrpc/rpc/pmap_clnt.h: Likewise.
30558         * sunrpc/rpc/pmap_prot.h: Likewise.
30559         * sunrpc/rpc/pmap_rmt.h: Likewise.
30560         * sunrpc/rpc/rpc.h: Likewise.
30561         * sunrpc/rpc/rpc_des.h: Likewise.
30562         * sunrpc/rpc/rpc_msg.h: Likewise.
30563         * sunrpc/rpc/svc.h: Likewise.
30564         * sunrpc/rpc/svc_auth.h: Likewise.
30565         * sunrpc/rpc/types.h: Likewise.
30566         * sunrpc/rpc/xdr.h: Likewise.
30567         * sunrpc/rpc_clntout.c: Likewise.
30568         * sunrpc/rpc_cmsg.c: Likewise.
30569         * sunrpc/rpc_common.c: Likewise.
30570         * sunrpc/rpc_cout.c: Likewise.
30571         * sunrpc/rpc_dtable.c: Likewise.
30572         * sunrpc/rpc_hout.c: Likewise.
30573         * sunrpc/rpc_main.c: Likewise.
30574         * sunrpc/rpc_parse.c: Likewise.
30575         * sunrpc/rpc_parse.h: Likewise.
30576         * sunrpc/rpc_prot.c: Likewise.
30577         * sunrpc/rpc_sample.c: Likewise.
30578         * sunrpc/rpc_scan.c: Likewise.
30579         * sunrpc/rpc_scan.h: Likewise.
30580         * sunrpc/rpc_svcout.c: Likewise.
30581         * sunrpc/rpc_tblout.c: Likewise.
30582         * sunrpc/rpc_util.c: Likewise.
30583         * sunrpc/rpc_util.h: Likewise.
30584         * sunrpc/rpcinfo.c: Likewise.
30585         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30586         * sunrpc/rpcsvc/key_prot.x: Likewise.
30587         * sunrpc/rpcsvc/klm_prot.x: Likewise.
30588         * sunrpc/rpcsvc/mount.x: Likewise.
30589         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30590         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30591         * sunrpc/rpcsvc/rex.x: Likewise.
30592         * sunrpc/rpcsvc/rstat.x: Likewise.
30593         * sunrpc/rpcsvc/rusers.x: Likewise.
30594         * sunrpc/rpcsvc/sm_inter.x: Likewise.
30595         * sunrpc/rpcsvc/spray.x: Likewise.
30596         * sunrpc/rpcsvc/yppasswd.x: Likewise.
30597         * sunrpc/rtime.c: Likewise.
30598         * sunrpc/svc.c: Likewise.
30599         * sunrpc/svc_auth.c: Likewise.
30600         * sunrpc/svc_authux.c: Likewise.
30601         * sunrpc/svc_raw.c: Likewise.
30602         * sunrpc/svc_run.c: Likewise.
30603         * sunrpc/svc_simple.c: Likewise.
30604         * sunrpc/svc_tcp.c: Likewise.
30605         * sunrpc/svc_udp.c: Likewise.
30606         * sunrpc/svc_unix.c: Likewise.
30607         * sunrpc/svcauth_des.c: Likewise.
30608         * sunrpc/xcrypt.c: Likewise.
30609         * sunrpc/xdr.c: Likewise.
30610         * sunrpc/xdr_array.c: Likewise.
30611         * sunrpc/xdr_float.c: Likewise.
30612         * sunrpc/xdr_mem.c: Likewise.
30613         * sunrpc/xdr_rec.c: Likewise.
30614         * sunrpc/xdr_ref.c: Likewise.
30615         * sunrpc/xdr_sizeof.c: Likewise.
30616         * sunrpc/xdr_stdio.c: Likewise.
30618         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30619         handling.
30621 2010-08-19  Andreas Schwab  <schwab@redhat.com>
30623         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30625 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
30627         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30628         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30629         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30630         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30631         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30632         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30633         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30634         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30635         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30636         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30637         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30638         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30639         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30640         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30642 2010-07-26  Anton Blanchard  <anton@samba.org>
30644         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30645         * malloc/arena.c (heap_trim): Likewise.
30647 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
30649         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30650         here.  Not...
30651         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30652         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30654 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30656         * sysdeps/i386/elf/Makefile: New file.
30658 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
30660         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30661         from fanotify_init.
30662         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30663         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30665 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
30667         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30668         of strncasecmp_l.
30669         * sysdeps/multiarch/strcmp.S: Likewise.
30671 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
30673         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30674         strncase_l-nonascii.
30675         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30676         Add strncase_l-ssse3.
30677         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30678         * sysdeps/x86_64/strcmp.S: Likewise.
30679         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30680         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30681         * sysdeps/x86_64/strncase.S: New file.
30682         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30683         * sysdeps/x86_64/strncase_l.S: New file.
30684         * string/Makefile (strop-tests): Add strncasecmp.
30685         * string/test-strncasecmp.c: New file.
30687         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30688         warning.
30690         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30691         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30693 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
30695         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30697 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
30699         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30700         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30701         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30703 2010-05-01  Alan Modra  <amodra@gmail.com>
30705         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30706         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30707         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30708         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30709         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30710         tidying.  Don't tail-call __sigjmp_save for static lib.
30711         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30712         save location.
30713         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30714         (CALL_MCOUNT): Add eh info, and nop after bl.
30715         (TAIL_CALL_SYSCALL_ERROR): New macro.
30716         (PSEUDO_RET): Use it.
30717         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30718         Correct save location of integer regs and cr.
30719         (_dl_profile_resolve): Correct cr save location.  Delete nops
30720         after bl when SHARED.  Reduce cfi size a little by better
30721         placement of cfi directives.
30722         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30723         make a stack frame.  Instead use parm save area as a temp.
30724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30725         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
30726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30727         Don't make a stack frame for parent, use parm save area.
30728         Increase child stack frame to 112 bytes.  Don't save unused reg,
30729         and adjust reg usage.  Set up cfi on error recovery and
30730         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30732         (__makecontext): Add dummy nop after jump to exit.
30733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30734         Use correct parm save area and cr save, reduce stack frame.
30735         Correct cfi for possible PSEUDO_RET frame setup.
30736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30737         Branch to local label emitted by PSEUDO_RET rather than
30738         __syscall_error.
30740 2010-08-12  Andreas Schwab  <schwab@redhat.com>
30742         [BZ #11904]
30743         * locale/programs/locale.c (print_assignment): New function.
30744         (show_locale_vars): Use it.
30746 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
30748         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30749         field.
30750         (struct statfs64): Likewise.
30751         (_STATFS_F_FLAGS): Define.
30752         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30753         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30754         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30755         (ST_VALID): Define locally.
30756         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30757         __statvfs_getflags, use the provided value.
30758         * sysdeps/unix/sysv/linux/kernel-features.h: Define
30759         __ASSUME_STATFS_F_FLAGS.
30761         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30763         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30764         Add sys/fanotify.h.
30765         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30766         fanotify_mask for GLIBC_2.13.
30767         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30768         fanotify_init and fanotify_mark.
30769         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30770         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30772         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30773         Add prlimit.
30774         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30775         prlimit64 for GLIBC_2.13.
30776         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30777         prlimit64.
30778         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30779         syscall.
30780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30781         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30782         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30783         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30784         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
30785         add prlimit alias.
30786         * sysdeps/unix/sysv/linux/prlimit.c: New file.
30788         [BZ #11903]
30789         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30790         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30792         * nss/Makefile: Add rules to build and run tst-nss-test1.
30793         * shlib-versions: Add entry for libnss_test1.
30794         * nss/nss_test1.c: New file.
30795         * nss/tst-nss-test1.c: New file.
30797         * nss/nsswitch.c (__nss_database_custom): Define new variable.
30798         (__nss_configure_lookup): Set appropriate entry in
30799         __nss_configure_lookup to true.
30800         * nss/nsswitch.h: Define enum with indeces of databases in
30801         databases and __nss_database_custom arrays.  Declare
30802         __nss_database_custom.
30803         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30804         to avoid using nscd when custom rules are installed.
30805         * nss/getXXbyYY_r.c: Likewise.
30806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30808         * nss/nss_files/files-parse.c: Whitespace fixes.
30810 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
30812         [BZ #11883]
30813         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30814         * posix/fnmatch_loop.c: Likewise.
30816 2010-07-17  Andi Kleen  <ak@linux.intel.com>
30818         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30819         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30820         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30821         * Versions.def [GLIBC_2.13]: Add.
30823 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
30825         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30826         Also fail if tpwd after pwuid call is NULL.
30828 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30830         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30831         when converting to ms.
30833 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30835         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30836         EOPNOTSUPP errors with ENOTTY.
30837         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30838         EOPNOTSUPP errors with ENOTTY.
30840 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
30842         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30843         Add strcasecmp_l-ssse3.
30844         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30845         strcasecmp.
30846         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30847         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30848         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30850 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
30852         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30854         * string/Makefile (strop-tests): Add strcasecmp.
30855         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30856         strcasecmp_l-nonascii.
30857         (gen-as-const-headers): Add locale-defines.sym.
30858         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30859         * sysdeps/x86_64/strcasecmp.S: New file.
30860         * sysdeps/x86_64/strcasecmp_l.S: New file.
30861         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30862         * sysdeps/x86_64/locale-defines.sym: New file.
30863         * string/test-strcasecmp.c: New file.
30865         * string/test-strcasestr.c: Test both ends of the range of characters.
30866         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30868 2010-07-29  Roland McGrath  <roland@redhat.com>
30870         [BZ #11856]
30871         * manual/locale.texi (Yes-or-No Questions): Fix example code.
30873 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
30875         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30876         for ld.so.
30878 2010-07-27  Andreas Schwab  <schwab@redhat.com>
30880         * manual/memory.texi (Malloc Tunable Parameters): Document
30881         M_PERTURB.
30883 2010-07-26  Roland McGrath  <roland@redhat.com>
30885         [BZ #11840]
30886         * configure.in (-fgnu89-inline check): Set and substitute
30887         gnu89_inline, not libc_cv_gnu89_inline.
30888         * configure: Regenerated.
30889         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30891 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
30893         * string/test-strnlen.c: New file.
30894         * string/Makefile (strop-tests): Add strnlen.
30895         * string/tester.c (test_strnlen): Add a few more test cases.
30896         * string/tst-strlen.c: Better error reporting.
30898         * sysdeps/x86_64/strnlen.S: New file.
30900 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
30902         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30903         lower-latency instructions.
30905 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
30907         * string/test-strcasestr.c: New file.
30908         * string/test-strstr.c: New file.
30909         * string/Makefile (strop-tests): Add strstr and strcasestr.
30910         * string/str-two-way.h: Don't undefine MAX.
30911         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30913 2010-07-21  Andreas Schwab  <schwab@redhat.com>
30915         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30916         strcasestr-nonascii.
30917         (CFLAGS-strcasestr-nonascii.c): Define.
30918         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30919         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30920         Remove unused attribute.
30922 2010-07-20  Roland McGrath  <roland@redhat.com>
30924         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30925         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
30926         ld.so.cache was broken.  With it, there is no way to disable dsocaps
30927         like LD_HWCAP_MASK can disable hwcaps.
30929 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
30931         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30933 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
30935         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30936         call in strcasestr.
30937         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30938         __strcasestr_sse42_nonascii.
30939         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30940         strcasestr-nonascii.c.
30941         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30943 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
30945         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30946         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30947         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30948         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30950 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
30952         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30953         fcntl.
30955 2010-07-06  Andreas Schwab  <schwab@redhat.com>
30957         [BZ #11577]
30958         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30959         dl_signal_cerror.
30961 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
30963         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30964         _PC_PIPE_BUF using F_GETPIPE_SZ.
30966 2010-07-05  Roland McGrath  <roland@redhat.com>
30968         * manual/arith.texi (Rounding Functions): Fix rint description
30969         implicit in round description.
30971 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
30973         * elf/Makefile: Fix linking for a few tests to make recent linker
30974         happy.
30976 2010-06-30  Andreas Schwab  <schwab@redhat.com>
30978         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30979         $(common-objpfx)libc_nonshared.a.
30981 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
30983         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30984         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30985         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30986         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30987         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30988         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30989         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30990         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31005         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31006         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31007         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31008         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31009         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31010         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31011         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31012         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31013         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31014         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31015         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31016         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31032 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31034         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31035         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31036         * string/memmove.c (memmove): Renamed to ...
31037         (MEMMOVE): ...this.  Default to memmove.
31038         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31039         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31040         (END_CHK): Define.
31041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31042         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31043         mempcpy-ssse3-back memmove-ssse3-back.
31044         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31045         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31046         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31047         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31048         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31049         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31050         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31051         * sysdeps/x86_64/multiarch/memmove.c: New file.
31052         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31053         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31054         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31055         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31056         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31057         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31058         Define.
31059         (index_Fast_Copy_Backward): Define.
31060         (HAS_ARCH_FEATURE): Define.
31061         (HAS_FAST_REP_STRING): Define.
31062         (HAS_FAST_COPY_BACKWARD): Define.
31064 2010-06-21  Andreas Schwab  <schwab@redhat.com>
31066         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31067         Restore proper fallback handling.
31069 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
31071         [BZ #11701]
31072         * posix/group_member.c (__group_member): Correct checking loop.
31074         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31075         OOM in getpwuid_r correctly.  Return error number when the caller
31076         should return, otherwise -1.
31077         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31078         call returning > 0 value.
31079         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31081 2010-06-07  Andreas Schwab  <schwab@redhat.com>
31083         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31084         libc_nonshared.a from targets in modules-names.
31086 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
31088         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31089         requires it.
31091 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
31093         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31094         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31095         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31096         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31098 2010-06-02  Andreas Schwab  <schwab@redhat.com>
31100         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31102 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
31104         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31105         and F_GETPIPE_SZ.
31106         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31107         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31108         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31109         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31110         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31111         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31113 2010-06-14  Roland McGrath  <roland@redhat.com>
31115         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31117 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
31119         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31120         __REDIRECT followed by __THROW.
31121         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31122         * posix/getopt.h (getopt): Likewise.
31124 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31126         * hurd/lookup-at.c (__file_name_lookup_at): Accept
31127         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
31128         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31129         in AT_FLAGS.
31130         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31131         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31133 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
31135         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31137 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
31139         [BZ #11640]
31140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31141         Properly check family and model.
31143 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
31145         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31147 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
31149         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31151 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
31153         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31154         symbol reference.
31156 2010-05-19  Andreas Schwab  <schwab@redhat.com>
31158         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31159         symbol reference.
31161 2010-05-21  Andreas Schwab  <schwab@redhat.com>
31163         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31164         and internal_recvmmsg.
31165         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31166         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31167         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31168         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31170         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31171         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31172         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31174 2010-05-20  Andreas Schwab  <schwab@redhat.com>
31176         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31178 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
31180         POWER7 optimizations.
31181         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31182         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31184 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
31186         * version.h: Update for 2.13 development version.
31188 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
31190         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31191         exceptions.  Return 0.
31193 2010-05-07  Roland McGrath  <roland@redhat.com>
31195         * elf/ldconfig.c (main): Add a const.
31197 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
31199         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31200         (args_options): Add no-idn option.
31201         (ahosts_keys_int): Add idn_flags to ai_flags.
31202         (parse_option): Handle 'i' option to clear idn_flags.
31204         * malloc/malloc.c (_int_free): Possible race in the most recently
31205         added check.  Only act on the data if no current modification
31206         happened.
31208 See ChangeLog.17 for earlier changes.