Fix previous commit.
[glibc.git] / ChangeLog
blob94bad3397e93080b9f17246c3b94e56169991990
1 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4         otherwise empty TRANS lines.
5         * sysdeps/gnu/errlist.c: Regenerated.
7         * catgets/gencat.c (error_print): Use (void) in function
8         definition.
9         * crypt/crypt_util.c (__init_des): Likewise.
10         * crypt/speeds.c (Stop): Likewise.
11         (main): Likewise.
12         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13         * inet/ruserpass.c (token): Likewise.
14         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15         * intl/localealias.c (extend_alias_table): Likewise.
16         * intl/plural-exp.c (init_germanic_plural): Likewise.
17         * libio/fcloseall.c (__fcloseall): Likewise.
18         * libio/genops.c (_IO_flush_all): Likewise.
19         (_IO_flush_all_linebuffered): Likewise.
20         (_IO_cleanup): Likewise.
21         (_IO_iter_begin): Likewise.
22         (_IO_iter_end): Likewise.
23         (_IO_list_lock): Likewise.
24         (_IO_list_unlock): Likewise.
25         (_IO_list_resetlock): Likewise.
26         * libio/getchar.c (getchar): Likewise.
27         * libio/getchar_u.c (getchar_unlocked): Likewise.
28         * libio/getwchar.c (getwchar): Likewise.
29         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31         * login/getpt.c (__getpt): Likewise.
32         * login/tst-utmp.c (main): Likewise.
33         * malloc/hooks.c (__malloc_check_init): Likewise.
34         * malloc/malloc.c (__malloc_stats): Likewise.
35         * malloc/mtrace.c (tr_break): Likewise.
36         (mtrace): Likewise.
37         (muntrace): Likewise.
38         * misc/fstab.c (endfsent): Likewise.
39         * misc/getclktck.c (__getclktck): Likewise.
40         * misc/getdtsz.c (__getdtablesize): Likewise.
41         * misc/gethostid.c (gethostid): Likewise.
42         * misc/getpagesize.c (__getpagesize): Likewise.
43         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
44         (__get_nprocs): Likewise.
45         (__get_phys_pages): Likewise.
46         (__get_avphys_pages): Likewise.
47         * misc/getttyent.c (getttyent): Likewise.
48         (setttyent): Likewise.
49         (endttyent): Likewise.
50         * misc/getusershell.c (getusershell): Likewise.
51         (endusershell): Likewise.
52         (setusershell): Likewise.
53         (initshells): Likewise.
54         * misc/hsearch.c (__hdestroy): Likewise.
55         * misc/sync.c (sync): Likewise.
56         * misc/syslog.c (closelog_internal): Likewise.
57         (closelog): Likewise.
58         * misc/ttyslot.c (ttyslot): Likewise.
59         * misc/vhangup.c (vhangup): Likewise.
60         * posix/fork.c (__fork): Likewise.
61         * posix/getegid.c (__getegid): Likewise.
62         * posix/geteuid.c (__geteuid): Likewise.
63         * posix/getgid.c (__getgid): Likewise.
64         * posix/getpid.c (__getpid): Likewise.
65         * posix/getppid.c (__getppid): Likewise.
66         * posix/getuid.c (__getuid): Likewise.
67         * posix/pause.c (pause): Likewise.
68         * posix/setpgrp.c (setpgrp): Likewise.
69         * posix/setsid.c (__setsid): Likewise.
70         * posix/test-vfork.c (noop): Likewise.
71         * resolv/gethnamaddr.c (_endhtent): Likewise.
72         (_gethtent): Likewise.
73         (ht_endhostent): Likewise.
74         (gethostent): Likewise.
75         (dns_service): Likewise.
76         * stdlib/drand48.c (drand48): Likewise.
77         * stdlib/lrand48.c (lrand48): Likewise.
78         * stdlib/mrand48.c (mrand48): Likewise.
79         * stdlib/rand.c (rand): Likewise.
80         * stdlib/random.c (__random): Likewise.
81         * stdlib/setenv.c (clearenv): Likewise.
82         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
83         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
84         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
85         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
86         (__get_nprocs): Likewise.
87         (__get_phys_pages): Likewise.
88         (__get_avphys_pages): Likewise.
89         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
90         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
91         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
92         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
93         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
94         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
95         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
96         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
97         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
98         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
99         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
100         * sysdeps/mach/hurd/sync.c (sync): Likewise.
101         * sysdeps/posix/clock.c (clock): Likewise.
102         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
103         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
104         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
105         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
106         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
107         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
108         (__get_nprocs_conf): Likewise.
109         (__get_phys_pages): Likewise.
110         (__get_avphys_pages): Likewise.
111         * time/clock.c (clock): Likewise.
112         * time/tzset.c (__tzname_max): Likewise.
114 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
116         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
117         (__bswap_32): Do not use "register".
118         * crypt/crypt.c (_ufc_doit_r): Likewise.
119         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
120         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
121         * gmon/gmon.c (__monstartup): Likewise.
122         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
123         * hurd/hurdmalloc.c (more_memory): Likewise.
124         (malloc): Likewise.
125         (free): Likewise.
126         (realloc): Likewise.
127         (malloc_fork_prepare): Likewise.
128         (malloc_fork_parent): Likewise.
129         (malloc_fork_child): Likewise.
130         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
131         (_svcauth_des): Likewise.
132         * inet/inet_lnaof.c (inet_lnaof): Likewise.
133         * inet/inet_net.c (inet_network): Likewise.
134         * inet/inet_netof.c (inet_netof): Likewise.
135         * inet/rcmd.c (__validuser2_sa): Likewise.
136         * io/fts.c (fts_open): Likewise.
137         (fts_load): Likewise.
138         (fts_close): Likewise.
139         (fts_read): Likewise.
140         (fts_children): Likewise.
141         (fts_build): Likewise.
142         (fts_stat): Likewise.
143         (fts_sort): Likewise.
144         (fts_alloc): Likewise.
145         (fts_lfree): Likewise.
146         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
147         (_IO_file_xsgetn): Likewise.
148         (_IO_file_xsgetn_mmap): Likewise.
149         * libio/iofopncook.c (_IO_cookie_read): Likewise.
150         (_IO_cookie_write): Likewise.
151         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
152         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
153         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
154         * malloc/obstack.c (_obstack_begin): Likewise.
155         (_obstack_begin_1): Likewise.
156         (_obstack_newchunk): Likewise.
157         (_obstack_allocated_p): Likewise.
158         (obstack_free): Likewise.
159         (_obstack_memory_used): Likewise.
160         * misc/getttyent.c (getttynam): Likewise.
161         (getttyent): Likewise.
162         (skip): Likewise.
163         (value): Likewise.
164         * misc/getusershell.c (initshells): Likewise.
165         * misc/syslog.c (__vsyslog_chk): Likewise.
166         * misc/ttyslot.c (ttyslot): Likewise.
167         * nis/nis_hash.c (__nis_hash): Likewise.
168         * posix/fnmatch_loop.c (FCT): Likewise.
169         * posix/getconf.c (print_all): Likewise.
170         (main): Likewise.
171         * posix/getopt.c (exchange): Likewise.
172         * posix/glob.c (globfree): Likewise.
173         (prefix_array): Likewise.
174         (__glob_pattern_type): Likewise.
175         * resolv/arpa/nameser.h (NS_GET16): Likewise.
176         (NS_GET32): Likewise.
177         (NS_PUT16): Likewise.
178         (NS_PUT32): Likewise.
179         * resolv/gethnamaddr.c (getanswer): Likewise.
180         (gethostbyname2): Likewise.
181         (gethostbyaddr): Likewise.
182         (_gethtent): Likewise.
183         (_gethtbyname2): Likewise.
184         (_gethtbyaddr): Likewise.
185         * resolv/ns_print.c (dst_s_get_int16): Likewise.
186         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
187         * resolv/res_init.c (__res_vinit): Likewise.
188         (net_mask): Likewise.
189         * resolv/res_mkquery.c (outchar): Likewise.
190         (PRINT): Likewise.
191         * stdio-common/printf_fp.c (outchar): Likewise.
192         (PRINT): Likewise.
193         * stdio-common/printf_fphex.c (outchar): Likewise.
194         (PRINT): Likewise.
195         * stdio-common/printf_size.c (outchar): Likewise.
196         (PRINT): Likewise.
197         * stdio-common/test_rdwr.c (main): Likewise.
198         * stdio-common/tfformat.c (matches): Likewise.
199         * stdio-common/vfprintf.c (outchar): Likewise.
200         (printf_unknown): Likewise.
201         (buffered_vfprintf): Likewise.
202         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
203         * stdio-common/xbug.c (AppendToBuffer): Likewise.
204         (ReadFile): Likewise.
205         * stdlib/qsort.c (SWAP): Likewise.
206         (_quicksort): Likewise.
207         * stdlib/setenv.c (__add_to_environ): Likewise.
208         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
209         * stdlib/strtol_l.c (__strtol_l): Likewise.
210         * stdlib/tst-strtod.c (main): Likewise.
211         * stdlib/tst-strtol.c (main): Likewise.
212         * stdlib/tst-strtoll.c (main): Likewise.
213         * string/bits/string2.h (__strcmp_cc): Likewise.
214         (__strcmp_cg): Likewise.
215         (__strcspn_c1): Likewise.
216         (__strcspn_c2): Likewise.
217         (__strcspn_c3): Likewise.
218         (__strspn_c1): Likewise.
219         (__strspn_c2): Likewise.
220         (__strspn_c3): Likewise.
221         (__strsep_1c): Likewise.
222         (__strsep_2c): Likewise.
223         (__strsep_3c): Likewise.
224         * string/memccpy.c (__memccpy): Likewise.
225         * string/stpcpy.c (__stpcpy): Likewise.
226         * string/strcmp.c (strcmp): Likewise.
227         * string/strrchr.c (strrchr): Likewise.
228         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
229         Likewise.
230         * sysdeps/mach/hurd/getcwd.c
231         (_hurd_canonicalize_directory_name_internal): Likewise.
232         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
233         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
234         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
235         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
236         Likewise, in both definitions.
237         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
238         definitions.
239         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
240         64] (__bswap_64): Likewise.
241         * time/test_time.c (main): Likewise.
242         * time/tzfile.c (__tzfile_read): Likewise.
243         (__tzfile_compute): Likewise.
244         * time/tzset.c (__tzset_parse_tz): Likewise.
245         (tzset_internal): Likewise.
246         (compute_change): Likewise.
247         * wcsmbs/wcscat.c (__wcscat): Likewise.
248         * wcsmbs/wcschr.c (wcschr): Likewise.
249         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
250         * wcsmbs/wcscspn.c (wcscspn): Likewise.
251         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
252         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
253         * wcsmbs/wcsspn.c (wcsspn): Likewise.
254         * wcsmbs/wcsstr.c (wcsstr): Likewise.
255         * wcsmbs/wmemchr.c (wmemchr): Likewise.
256         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
257         * wcsmbs/wmemset.c (wmemset): Likewise.
259 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
261         * scripts/config.guess: Update to version 2013-05-16.
262         * scripts/config.sub: Update to version 2013-04-24.
263         * scripts/install-sh: Update to version 2011-11-20.07.
264         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
265         * scripts/move-if-change: Update to version 2012-01-06 07:23.
267 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
269         * debug/fgetws_u_chk.c: Fix leading whitespaces.
270         * elf/sln.c: Likewise.
271         * hurd/hurd/ioctl.h: Likewise.
272         * hurd/hurdmalloc.c: Likewise.
273         * hurd/xattr.c: Likewise.
274         * include/shlib-compat.h: Likewise.
275         * inet/ruserpass.c: Likewise.
276         * libio/iofgets_u.c: Likewise.
277         * libio/iofgetws_u.c: Likewise.
278         * locale/programs/ld-identification.c: Likewise.
279         * locale/programs/ld-time.c: Likewise.
280         * mach/msg-destroy.c: Likewise.
281         * nss/nss_files/files-netgrp.c: Likewise.
282         * resolv/res_data.c: Likewise.
283         * soft-fp/op-1.h: Likewise.
284         * soft-fp/op-2.h: Likewise.
285         * soft-fp/op-4.h: Likewise.
286         * soft-fp/op-common.h: Likewise.
287         * stdio-common/printf_fphex.c: Likewise.
288         * stdlib/strtod_l.c: Likewise.
289         * sunrpc/rpc/clnt.h: Likewise.
290         * sysdeps/generic/framestate.c: Likewise.
291         * sysdeps/i386/bsd-_setjmp.S: Likewise.
292         * sysdeps/i386/bsd-setjmp.S: Likewise.
293         * sysdeps/i386/__longjmp.S: Likewise.
294         * sysdeps/i386/setjmp.S: Likewise.
295         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
296         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
297         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
298         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
299         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
300         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
301         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
302         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
303         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
304         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
305         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
306         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
307         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
308         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
309         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
310         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
311         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
312         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
313         * sysdeps/ieee754/support.c: Likewise.
314         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
315         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
316         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
317         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
318         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
319         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
320         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
321         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
322         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
323         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
324         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
325         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
326         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
327         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
328         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
329         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
330         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
333 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
335         * posix/transbug.c: Remove executable mode.
337 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
339         * crypt/speeds.c: Remove trailing whitespace.
340         * dlfcn/default.c: Likewise.
341         * elf/ifuncdep2.c: Likewise.
342         * elf/ifuncmain1.c: Likewise.
343         * elf/ifuncmain1vis.c: Likewise.
344         * elf/testobj.h: Likewise.
345         * elf/tst-stackguard1.c: Likewise.
346         * gmon/sys/gmon.h: Likewise.
347         * hurd/hurdmsg.c: Likewise.
348         * hurd/new-fd.c: Likewise.
349         * hurd/ports-get.c: Likewise.
350         * iconvdata/ibm1008_420.c: Likewise.
351         * inet/tst-getni1.c: Likewise.
352         * inet/tst-getni2.c: Likewise.
353         * libio/ioungetc.c: Likewise.
354         * libio/wfiledoalloc.c: Likewise.
355         * manual/libm-err-tab.pl: Likewise.
356         * math/w_dremf.c: Likewise.
357         * misc/ftruncate.c: Likewise.
358         * posix/bug-glob2.c: Likewise.
359         * posix/tst-pcre.c: Likewise.
360         * posix/wait4.c: Likewise.
361         * resolv/README: Likewise.
362         * resolv/res_debug.h: Likewise.
363         * resolv/tst-inet_ntop.c: Likewise.
364         * setjmp/bug269-setjmp.c: Likewise.
365         * soft-fp/extended.h: Likewise.
366         * soft-fp/op-1.h: Likewise.
367         * soft-fp/op-2.h: Likewise.
368         * soft-fp/op-4.h: Likewise.
369         * soft-fp/op-8.h: Likewise.
370         * soft-fp/testit.c: Likewise.
371         * stdio-common/bug16.c: Likewise.
372         * stdlib/random.c: Likewise.
373         * sunrpc/rpcsvc/rquota.x: Likewise.
374         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
375         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
376         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
377         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
378         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
379         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
380         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
381         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
382         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
383         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
384         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
385         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
386         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
387         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
388         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
389         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
390         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
391         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
392         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
393         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
394         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
395         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
396         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
397         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
398         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
399         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
400         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
401         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
402         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
403         * sysdeps/ieee754/s_lib_version.c: Likewise.
404         * sysdeps/mach/hurd/check_fds.c: Likewise.
405         * sysdeps/mach/hurd/getsockname.c: Likewise.
406         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
407         * sysdeps/mach/hurd/recvfrom.c: Likewise.
408         * sysdeps/powerpc/bits/link.h: Likewise.
409         * sysdeps/powerpc/dl-procinfo.c: Likewise.
410         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
411         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
412         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
413         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
414         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
415         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
416         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
417         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
418         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
419         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
420         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
421         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
422         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
423         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
424         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
425         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
426         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
427         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
428         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
429         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
430         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
431         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
432         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
433         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
434         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
435         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
436         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
437         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
438         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
439         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
440         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
441         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
442         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
443         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
444         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
445         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
446         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
447         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
448         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
449         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
450         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
451         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
452         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
453         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
454         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
455         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
456         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
457         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
458         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
459         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
460         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
461         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
462         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
463         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
464         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
465         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
466         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
467         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
468         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
469         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
470         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
471         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
472         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
473         * sysdeps/powerpc/sysdep.h: Likewise.
474         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
475         * sysdeps/s390/s390-64/sub_n.S: Likewise.
476         * sysdeps/sh/dl-trampoline.S: Likewise.
477         * sysdeps/sh/memset.S: Likewise.
478         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
479         * sysdeps/sh/strlen.S: Likewise.
480         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
481         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
482         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
483         * sysdeps/sparc/sparc32/rem.S: Likewise.
484         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
485         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
486         * sysdeps/sparc/sparc32/strchr.S: Likewise.
487         * sysdeps/sparc/sparc32/udiv.S: Likewise.
488         * sysdeps/sparc/sparc32/urem.S: Likewise.
489         * sysdeps/sparc/sparc64/add_n.S: Likewise.
490         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
491         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
492         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
493         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
494         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
495         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
496         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
497         * sysdeps/unix/bsd/times.c: Likewise.
498         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
499         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
503         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
504         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
505         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
506         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
507         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
508         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
509         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
510         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
511         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
512         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
513         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
514         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
515         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
516         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
517         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
518         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
519         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
520         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
521         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
522         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
523         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
524         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
525         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
526         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
527         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
528         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
529         * sysdeps/x86_64/strcspn.S: Likewise.
531 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
533         * locale/C-translit.h: Revert #include <stdint.h> because this is a
534         generated file.  Regenerate properly from gen-translit.pl.
535         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
536         locale/C-translit.h.
538 2013-06-05  Andreas Schwab  <schwab@suse.de>
540         [BZ #15100]
541         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
542         week as 6 instead of -1.
543         * time/tst-strptime.c (day_tests): Add test case.
545 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
547         * sysdeps/generic/math_private.h
548         (libc_feholdexcept_setround_53bit): Replace with
549         libc_feholdsetround_53bit.
550         (libc_feupdateenv_53bit): Replace with
551         libc_feresetround_53bit.
552         (SET_RESTORE_ROUND_53BIT): Adjust.
554 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
556         * string/test-strchrnul.c: Add copyright header.
558         * posix/tst-getaddrinfo4.c: Increase test timeout.
560 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
562         [BZ #15536]
563         * math/libm-test.inc (MAX_EXP): Remove
564         (MIN_EXP): Define.
565         (ulp): Use MIN_EXP - MANT_DIG.
566         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
568 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
570         * po/be.po: Revert last change.
571         * po/zh_CN.po: Likewise.
572         * po/header.pot: Likewise.
574 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
576         * Makefile ($(common-objpfx)linkobj/libc.so): Define
577         link-libc-deps to empty as target-specific variable.
578         * Makerules (link-libc-args): New variable.
579         (libc-for-link): Likewise.
580         (link-libc-deps): Likewise.
581         (lib%.so): Depend on $(link-libc-deps).  Link with
582         $(link-libc-args).
583         (build-module): Link with $(link-libc-args).
584         (build-module-asneeded): Likewise.
585         (build-module-helper-objlist): Filter out $(link-libc-deps) from
586         list of objects.
587         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
588         target-specific variable.
589         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
590         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
591         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
592         libc.
593         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
594         libc and ld.so.
595         ($(objpfx)libpcprofile.so): Likewise.
596         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
597         libc_nonshared.a.
598         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
599         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
600         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
601         $(link-libc-deps).
602         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
603         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
604         * login/Makefile ($(objpfx)libutil.so): Likewise.
605         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
606         * math/Makefile ($(objpfx)libm.so): Likewise.
607         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
608         $(objpfx)libnsl.so): Define libc-for-link as target-specific
609         variable instead of depending directly on libc.
610         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
611         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
612         $(link-libc-deps).
613         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
614         libc.
615         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
616         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
617         ($(objpfx)libanl.so): Likewise.
618         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
619         ld.so.
620         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
621         $(link-libc-deps).
622         * sysdeps/i386/fpu/Makefile: Remove file.
623         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
624         ($(objpfx)libm.so): Remove dependency on ld.so.
626 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
628         [BZ # 15553]
629         * nis/yp_xdr.c (XDRMAXNAME): Define.
630         (XDRMAXRECORD): Define.
631         (xdr_domainname): Use XDRMAXNAME.
632         (xdr_mapname): Likewise.
633         (xdr_peername): Likewise.
634         (xdr_keydat): Use XDRMAXRECORD.
635         (xdr_valdat): Likewise.
637 2013-05-30  Jeff Law  <law@redhat.com>
639         [BZ #14256]
640         * manual/errno.texi (ESTALE): Update to account for more than
641         just NFS file systems.
642         * sysdeps/gnu/errlist.c: Regenerated.
644 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
646         [BZ #15465]
647         * elf/Makefile (tests): Add tst-null-argv.
648         (modules-names):  Add tst-null-argv-lib.
649         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
650         (tst-null-argv-ENV): Set environment for tst-null-argv.
651         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
652         (RTLD_PROGNAME): New macro.
653         * elf/tst-null-argv.c: New test case.
654         * elf/tst-null-argv-lib.c: Library for test case.
655         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
656         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
657         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
658         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
659         * elf/dl-init.c (call_init): Likewise.
660         (_dl_init): Likewise.
661         * elf/dl-load.c (print_search_path): Likewise.
662         (_dl_map_object): Likewise.
663         * elf/dl-lookup.c (do_lookup_x): Likewise.
664         (add_dependency): Likewise.
665         (_dl_lookup_symbol_x): Likewise.
666         (_dl_debug_bindings): Likewise.
667         * elf/dl-open.c (_dl_show_scope): Likewise.
668         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
669         * elf/dl-version.c (match_symbol): Likewise.
670         (_dl_check_map_versions): Likewise.
671         * elf/rtld.c (dl_main): Likewise.
672         (print_unresolved): Use RTLD_PROGNAME.
673         (print_missing_version): Likewise.
674         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
675         (elf_machine_rela): Likewise.
676         * sysdeps/powerpc/powerpc32/dl-machine.c
677         (__process_machine_rela): Likewise.
678         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
679         Likewise.
680         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
681         Likewise.
682         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
683         Likewise.
684         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
685         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
686         Likewise.
687         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
688         Likewise.
689         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
691 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
693         * po/be.po: Add descriptive title.
694         * po/zh_CN.po: Likewise.
695         * po/header.pot: Likewise.
697 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
699         * locale/programs/locarchive.c (create_archive): Inlucde fname in
700         error message.
701         (enlarge_archive): Likewise.
703 2013-05-28  Ben North  <ben@redfrontdoor.org>
705         * manual/arith.texi (frexp): It is the magnitude of the return
706         value which lies in [0.5, 1), not the return value itself.
708 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
712 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
714         * stdio-common/bug26.c (main): Correct fscanf template.
716         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
717         declare _dl_skip_args.
719         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
720         Don't declare.
722         * manual/platform.texi: Add missing @end deftypefun.
724 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
726         [BZ #15529]
727         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
728         bit of mantissa of 2^16382.
729         * math/libm-test.inc (hypot_test_data): Add more tests.
731         * math/libm-test.inc: Add drem and pow10 to list of tested
732         functions.
733         (pow10_test): New function.
734         (drem_test): Likewise.
735         (drem_test_tonearest): Likewise.
736         (drem_test_towardzero): Likewise.
737         (drem_test_downward): Likewise.
738         (drem_test_upward): Likewise.
739         (main): Call the new functions.
741         * math/libm-test.inc (finite_test_data): Remove.
742         (finite_test): Run tests from isfinite_test_data.
743         (gamma_test_data): Remove.
744         (gamma_test): Run tests from lgamma_test_data.
745         * sysdeps/i386/fpu/libm-test-ulps: Update.
746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
748 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
750         * manual/platform.texi: Add PowerPC PPR function set documentation.
751         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
752         implementation.
754 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
756         * math/libm-test.inc (MAX_EXP): Define.
757         (ULPDIFF): Define.
758         (ulp): New function.
759         (check_float_internal): Use ULPDIFF.
760         (cpow_test): Disable failing test.
761         (check_ulp): Test ulp() implemetnation.
762         (main): Call check_ulp before starting tests.
764 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
766         * math/gen-libm-test.pl (generate_testfile): Do not handle
767         START_DATA and END_DATA.
768         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
769         END_DATA.
770         (acos_tonearest_test_data): Likewise.
771         (acos_towardzero_test_data): Likewise.
772         (acos_downward_test_data): Likewise.
773         (acos_upward_test_data): Likewise.
774         (acosh_test_data): Likewise.
775         (asin_test_data): Likewise.
776         (asin_tonearest_test_data): Likewise.
777         (asin_towardzero_test_data): Likewise.
778         (asin_downward_test_data): Likewise.
779         (asin_upward_test_data): Likewise.
780         (asinh_test_data): Likewise.
781         (atan_test_data): Likewise.
782         (atanh_test_data): Likewise.
783         (atan2_test_data): Likewise.
784         (cabs_test_data): Likewise.
785         (cacos_test_data): Likewise.
786         (cacosh_test_data): Likewise.
787         (carg_test_data): Likewise.
788         (casin_test_data): Likewise.
789         (casinh_test_data): Likewise.
790         (catan_test_data): Likewise.
791         (catanh_test_data): Likewise.
792         (cbrt_test_data): Likewise.
793         (ccos_test_data): Likewise.
794         (ccosh_test_data): Likewise.
795         (ceil_test_data): Likewise.
796         (cexp_test_data): Likewise.
797         (cimag_test_data): Likewise.
798         (clog_test_data): Likewise.
799         (clog10_test_data): Likewise.
800         (conj_test_data): Likewise.
801         (copysign_test_data): Likewise.
802         (cos_test_data): Likewise.
803         (cos_tonearest_test_data): Likewise.
804         (cos_towardzero_test_data): Likewise.
805         (cos_downward_test_data): Likewise.
806         (cos_upward_test_data): Likewise.
807         (cosh_test_data): Likewise.
808         (cosh_tonearest_test_data): Likewise.
809         (cosh_towardzero_test_data): Likewise.
810         (cosh_downward_test_data): Likewise.
811         (cosh_upward_test_data): Likewise.
812         (cpow_test_data): Likewise.
813         (cproj_test_data): Likewise.
814         (creal_test_data): Likewise.
815         (csin_test_data): Likewise.
816         (csinh_test_data): Likewise.
817         (csqrt_test_data): Likewise.
818         (ctan_test_data): Likewise.
819         (ctan_tonearest_test_data): Likewise.
820         (ctan_towardzero_test_data): Likewise.
821         (ctan_downward_test_data): Likewise.
822         (ctan_upward_test_data): Likewise.
823         (ctanh_test_data): Likewise.
824         (ctanh_tonearest_test_data): Likewise.
825         (ctanh_towardzero_test_data): Likewise.
826         (ctanh_downward_test_data): Likewise.
827         (ctanh_upward_test_data): Likewise.
828         (erf_test_data): Likewise.
829         (erfc_test_data): Likewise.
830         (exp_test_data): Likewise.
831         (exp_tonearest_test_data): Likewise.
832         (exp_towardzero_test_data): Likewise.
833         (exp_downward_test_data): Likewise.
834         (exp_upward_test_data): Likewise.
835         (exp10_test_data): Likewise.
836         (exp2_test_data): Likewise.
837         (expm1_test_data): Likewise.
838         (fabs_test_data): Likewise.
839         (fdim_test_data): Likewise.
840         (finite_test_data): Likewise.
841         (floor_test_data): Likewise.
842         (fma_test_data): Likewise.
843         (fma_towardzero_test_data): Likewise.
844         (fma_downward_test_data): Likewise.
845         (fma_upward_test_data): Likewise.
846         (fmax_test_data): Likewise.
847         (fmin_test_data): Likewise.
848         (fmod_test_data): Likewise.
849         (fpclassify_test_data): Likewise.
850         (frexp_test_data): Likewise.
851         (gamma_test_data): Likewise.
852         (hypot_test_data): Likewise.
853         (ilogb_test_data): Likewise.
854         (isfinite_test_data): Likewise.
855         (isgreater_test_data): Likewise.
856         (isgreaterequal_test_data): Likewise.
857         (isinf_test_data): Likewise.
858         (isless_test_data): Likewise.
859         (islessequal_test_data): Likewise.
860         (islessgreater_test_data): Likewise.
861         (isnan_test_data): Likewise.
862         (isnormal_test_data): Likewise.
863         (issignaling_test_data): Likewise.
864         (isunordered_test_data): Likewise.
865         (j0_test_data): Likewise.
866         (j1_test_data): Likewise.
867         (jn_test_data): Likewise.
868         (ldexp_test_data): Likewise.
869         (lgamma_test_data): Likewise.
870         (lrint_test_data): Likewise.
871         (lrint_tonearest_test_data): Likewise.
872         (lrint_towardzero_test_data): Likewise.
873         (lrint_downward_test_data): Likewise.
874         (lrint_upward_test_data): Likewise.
875         (llrint_test_data): Likewise.
876         (llrint_tonearest_test_data): Likewise.
877         (llrint_towardzero_test_data): Likewise.
878         (llrint_downward_test_data): Likewise.
879         (llrint_upward_test_data): Likewise.
880         (log_test_data): Likewise.
881         (log10_test_data): Likewise.
882         (log1p_test_data): Likewise.
883         (log2_test_data): Likewise.
884         (logb_test_data): Likewise.
885         (logb_downward_test_data): Likewise.
886         (lround_test_data): Likewise.
887         (llround_test_data): Likewise.
888         (modf_test_data): Likewise.
889         (nearbyint_test_data): Likewise.
890         (nextafter_test_data): Likewise.
891         (nexttoward_test_data): Likewise.
892         (pow_test_data): Likewise.
893         (pow_tonearest_test_data): Likewise.
894         (pow_towardzero_test_data): Likewise.
895         (pow_downward_test_data): Likewise.
896         (pow_upward_test_data): Likewise.
897         (remainder_test_data): Likewise.
898         (remainder_tonearest_test_data): Likewise.
899         (remainder_towardzero_test_data): Likewise.
900         (remainder_downward_test_data): Likewise.
901         (remainder_upward_test_data): Likewise.
902         (remquo_test_data): Likewise.
903         (rint_test_data): Likewise.
904         (rint_tonearest_test_data): Likewise.
905         (rint_towardzero_test_data): Likewise.
906         (rint_downward_test_data): Likewise.
907         (rint_upward_test_data): Likewise.
908         (round_test_data): Likewise.
909         (scalb_test_data): Likewise.
910         (scalbn_test_data): Likewise.
911         (scalbln_test_data): Likewise.
912         (signbit_test_data): Likewise.
913         (sin_test_data): Likewise.
914         (sin_tonearest_test_data): Likewise.
915         (sin_towardzero_test_data): Likewise.
916         (sin_downward_test_data): Likewise.
917         (sin_upward_test_data): Likewise.
918         (sincos_test_data): Likewise.
919         (sinh_test_data): Likewise.
920         (sinh_tonearest_test_data): Likewise.
921         (sinh_towardzero_test_data): Likewise.
922         (sinh_downward_test_data): Likewise.
923         (sinh_upward_test_data): Likewise.
924         (sqrt_test_data): Likewise.
925         (tan_test_data): Likewise.
926         (tan_tonearest_test_data): Likewise.
927         (tan_towardzero_test_data): Likewise.
928         (tan_downward_test_data): Likewise.
929         (tan_upward_test_data): Likewise.
930         (tanh_test_data): Likewise.
931         (tgamma_test_data): Likewise.
932         (trunc_test_data): Likewise.
933         (y0_test_data): Likewise.
934         (y1_test_data): Likewise.
935         (yn_test_data): Likewise.
936         (significand_test_data): Likewise.
938         * math/gen-libm-test.pl (@functions): Remove variable.
939         (generate_testfile): Don't handle START and END lines.
940         * math/libm-test.inc (START): New macro.
941         (END): Likewise.
942         (END_COMPLEX): Likewise.
943         (acos_test): Use END macro without arguments.
944         (acos_test_tonearest): Likewise.
945         (acos_test_towardzero): Likewise.
946         (acos_test_downward): Likewise.
947         (acos_test_upward): Likewise.
948         (acosh_test): Likewise.
949         (asin_test): Likewise.
950         (asin_test_tonearest): Likewise.
951         (asin_test_towardzero): Likewise.
952         (asin_test_downward): Likewise.
953         (asin_test_upward): Likewise.
954         (asinh_test): Likewise.
955         (atan_test): Likewise.
956         (atanh_test): Likewise.
957         (atan2_test): Likewise.
958         (cabs_test): Likewise.
959         (cacos_test): Use END_COMPLEX macro without arguments.
960         (cacosh_test): Likewise.
961         (carg_test): Use END macro without arguments.
962         (casin_test): Use END_COMPLEX macro without arguments.
963         (casinh_test): Likewise.
964         (catan_test): Likewise.
965         (catanh_test): Likewise.
966         (cbrt_test): Use END macro without arguments.
967         (ccos_test): Use END_COMPLEX macro without arguments.
968         (ccosh_test): Likewise.
969         (ceil_test): Use END macro without arguments.
970         (cexp_test): Use END_COMPLEX macro without arguments.
971         (cimag_test): Use END macro without arguments.
972         (clog_test): Use END_COMPLEX macro without arguments.
973         (clog10_test): Likewise.
974         (conj_test): Likewise.
975         (copysign_test): Use END macro without arguments.
976         (cos_test): Likewise.
977         (cos_test_tonearest): Likewise.
978         (cos_test_towardzero): Likewise.
979         (cos_test_downward): Likewise.
980         (cos_test_upward): Likewise.
981         (cosh_test): Likewise.
982         (cosh_test_tonearest): Likewise.
983         (cosh_test_towardzero): Likewise.
984         (cosh_test_downward): Likewise.
985         (cosh_test_upward): Likewise.
986         (cpow_test): Use END_COMPLEX macro without arguments.
987         (cproj_test): Likewise.
988         (creal_test): Use END macro without arguments.
989         (csin_test): Use END_COMPLEX macro without arguments.
990         (csinh_test): Likewise.
991         (csqrt_test): Likewise.
992         (ctan_test): Likewise.
993         (ctan_test_tonearest): Likewise.
994         (ctan_test_towardzero): Likewise.
995         (ctan_test_downward): Likewise.
996         (ctan_test_upward): Likewise.
997         (ctanh_test): Likewise.
998         (ctanh_test_tonearest): Likewise.
999         (ctanh_test_towardzero): Likewise.
1000         (ctanh_test_downward): Likewise.
1001         (ctanh_test_upward): Likewise.
1002         (erf_test): Use END macro without arguments.
1003         (erfc_test): Likewise.
1004         (exp_test): Likewise.
1005         (exp_test_tonearest): Likewise.
1006         (exp_test_towardzero): Likewise.
1007         (exp_test_downward): Likewise.
1008         (exp_test_upward): Likewise.
1009         (exp10_test): Likewise.
1010         (exp2_test): Likewise.
1011         (expm1_test): Likewise.
1012         (fabs_test): Likewise.
1013         (fdim_test): Likewise.
1014         (finite_test): Likewise.
1015         (floor_test): Likewise.
1016         (fma_test): Likewise.
1017         (fma_test_towardzero): Likewise.
1018         (fma_test_downward): Likewise.
1019         (fma_test_upward): Likewise.
1020         (fmax_test): Likewise.
1021         (fmin_test): Likewise.
1022         (fmod_test): Likewise.
1023         (fpclassify_test): Likewise.
1024         (frexp_test): Likewise.
1025         (gamma_test): Likewise.
1026         (hypot_test): Likewise.
1027         (ilogb_test): Likewise.
1028         (isfinite_test): Likewise.
1029         (isgreater_test): Likewise.
1030         (isgreaterequal_test): Likewise.
1031         (isinf_test): Likewise.
1032         (isless_test): Likewise.
1033         (islessequal_test): Likewise.
1034         (islessgreater_test): Likewise.
1035         (isnan_test): Likewise.
1036         (isnormal_test): Likewise.
1037         (issignaling_test): Likewise.
1038         (isunordered_test): Likewise.
1039         (j0_test): Likewise.
1040         (j1_test): Likewise.
1041         (jn_test): Likewise.
1042         (ldexp_test): Likewise.
1043         (lgamma_test): Likewise.
1044         (lrint_test): Likewise.
1045         (lrint_test_tonearest): Likewise.
1046         (lrint_test_towardzero): Likewise.
1047         (lrint_test_downward): Likewise.
1048         (lrint_test_upward): Likewise.
1049         (llrint_test): Likewise.
1050         (llrint_test_tonearest): Likewise.
1051         (llrint_test_towardzero): Likewise.
1052         (llrint_test_downward): Likewise.
1053         (llrint_test_upward): Likewise.
1054         (log_test): Likewise.
1055         (log10_test): Likewise.
1056         (log1p_test): Likewise.
1057         (log2_test): Likewise.
1058         (logb_test): Likewise.
1059         (logb_test_downward): Likewise.
1060         (lround_test): Likewise.
1061         (llround_test): Likewise.
1062         (modf_test): Likewise.
1063         (nearbyint_test): Likewise.
1064         (nextafter_test): Likewise.
1065         (nexttoward_test): Likewise.
1066         (pow_test): Likewise.
1067         (pow_test_tonearest): Likewise.
1068         (pow_test_towardzero): Likewise.
1069         (pow_test_downward): Likewise.
1070         (pow_test_upward): Likewise.
1071         (remainder_test): Likewise.
1072         (remainder_test_tonearest): Likewise.
1073         (remainder_test_towardzero): Likewise.
1074         (remainder_test_downward): Likewise.
1075         (remainder_test_upward): Likewise.
1076         (remquo_test): Likewise.
1077         (rint_test): Likewise.
1078         (rint_test_tonearest): Likewise.
1079         (rint_test_towardzero): Likewise.
1080         (rint_test_downward): Likewise.
1081         (rint_test_upward): Likewise.
1082         (round_test): Likewise.
1083         (scalb_test): Likewise.
1084         (scalbn_test): Likewise.
1085         (scalbln_test): Likewise.
1086         (signbit_test): Likewise.
1087         (sin_test): Likewise.
1088         (sin_test_tonearest): Likewise.
1089         (sin_test_towardzero): Likewise.
1090         (sin_test_downward): Likewise.
1091         (sin_test_upward): Likewise.
1092         (sincos_test): Likewise.
1093         (sinh_test): Likewise.
1094         (sinh_test_tonearest): Likewise.
1095         (sinh_test_towardzero): Likewise.
1096         (sinh_test_downward): Likewise.
1097         (sinh_test_upward): Likewise.
1098         (sqrt_test): Likewise.
1099         (tan_test): Likewise.
1100         (tan_test_tonearest): Likewise.
1101         (tan_test_towardzero): Likewise.
1102         (tan_test_downward): Likewise.
1103         (tan_test_upward): Likewise.
1104         (tanh_test): Likewise.
1105         (tgamma_test): Likewise.
1106         (trunc_test): Likewise.
1107         (y0_test): Likewise.
1108         (y1_test): Likewise.
1109         (yn_test): Likewise.
1110         (significand_test): Likewise.
1112 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
1114         [BZ #15381]
1115         * libio/genops.c (_IO_no_init): Initialize wide struct info.
1117 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1119         [BZ #14894]
1120         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1121         __ppc_mdoio and __ppc_mdoom.
1122         * manual/platform.texi: Document new functions __ppc_yield,
1123         __ppc_mdoio and __ppc_mdoom.
1125 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
1127         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1128         (main): Mention "tls" pseudo-hwcap is legacy.
1129         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1131 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1133         * math/gen-libm-test.pl (parse_args): Output only string of
1134         arguments as text for test name, not full call or descriptions of
1135         tests for extra outputs.
1136         (generate_testfile): Do not pass function name to parse_args.
1137         Generate this_func variable from START.
1138         * math/libm-test.inc (struct test_f_f_data): Rename test_name
1139         field to arg_str.
1140         (struct test_ff_f_data): Likewise.
1141         (test_ff_f_data_nexttoward): Likewise.
1142         (struct test_fi_f_data): Likewise.
1143         (struct test_fl_f_data): Likewise.
1144         (struct test_if_f_data): Likewise.
1145         (struct test_fff_f_data): Likewise.
1146         (struct test_c_f_data): Likewise.
1147         (struct test_f_f1_data): Likewise.  Remove field extra_name.
1148         (struct test_fF_f1_data): Likewise.
1149         (struct test_ffI_f1_data): Likewise.
1150         (struct test_c_c_data): Rename test_name field to arg_str.
1151         (struct test_cc_c_data): Likewise.
1152         (struct test_f_i_data): Likewise.
1153         (struct test_ff_i_data): Likewise.
1154         (struct test_f_l_data): Likewise.
1155         (struct test_f_L_data): Likewise.
1156         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
1157         and extra2_name.
1158         (COMMON_TEST_SETUP): New macro.
1159         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1160         (COMMON_TEST_CLEANUP): Likewise.
1161         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1162         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
1163         macros.
1164         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1165         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
1166         macros.
1167         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1168         (RUN_TEST_fff_f): Take argument string.  Call new setup and
1169         cleanup macros.
1170         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1171         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
1172         macros.
1173         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1174         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
1175         macros.
1176         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1177         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
1178         cleanup macros.
1179         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1180         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
1181         cleanup macros.
1182         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1183         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
1184         cleanup macros.
1185         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1186         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
1187         macros.
1188         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1189         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
1190         macros.
1191         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1192         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
1193         macros.
1194         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1195         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
1196         cleanup macros.
1197         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1198         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
1199         cleanup macros.
1200         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1201         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
1202         macros.
1203         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1204         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
1205         cleanup macros.
1206         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1207         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
1208         macros.
1209         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1210         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
1211         macros.
1212         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1213         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
1214         cleanup macros.
1215         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1217 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1219         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1220         to _sifields.sigfault.
1221         (si_addr_lsb): Define new macro.
1222         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1223         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1224         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1226 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
1228         [BZ #15441]
1229         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1230         returns -1.
1231         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1232         null return -1.
1233         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1234         loading the domain.
1236 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1238         * math/gen-libm-test.pl (parse_args): Do not include expected
1239         result in test name.
1240         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1241         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1242         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1243         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1244         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1247 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1249         * benchtests/Makefile: Sort function entries.
1251         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1252         tanh, asinh, acosh, atanh.
1253         * benchtests/acos-inputs: New file.
1254         * benchtests/acosh-inputs: New file.
1255         * benchtests/asin-inputs: New file.
1256         * benchtests/asinh-inputs: New file.
1257         * benchtests/atanh-inputs: New file.
1258         * benchtests/cosh-inputs: New file.
1259         * benchtests/log-inputs: New file.
1260         * benchtests/sinh-inputs: New file.
1261         * benchtests/tanh-inputs: New file.
1263 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
1265         [BZ #15339]
1266         * posix/tst-getaddrinfo4.c: New test.
1267         * posix/Makefile (tests): Add it.
1269 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1271         [BZ #15339]
1272         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1273         when no services were used.
1274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1275         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1277 2013-05-21  Andreas Schwab  <schwab@suse.de>
1279         [BZ #15014]
1280         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1281         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1282         successful.
1283         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1284         redundant variable declarations and reallocation of buffer when
1285         parsing as IPv6 address.  Always set NSS status when called from
1286         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
1287         buffer too small.  Correct computation of needed size.
1288         * nss/Makefile (tests): Add test-digits-dots.
1289         * nss/test-digits-dots.c: New test.
1291 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1293         * benchtests/Makefile: Remove instructions for adding
1294         benchmark tests.
1295         * benchtests/README: New file to explain how to execute and
1296         enhance the benchmark tests.
1298 2013-05-21  Andreas Schwab  <schwab@suse.de>
1300         [BZ #15493]
1301         * setjmp/Makefile (tests): Add tst-sigsetjmp.
1302         * setjmp/tst-sigsetjmp.c: New test.
1304 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1306         * sysdeps/x86_64/memset.S (memset): New implementation.
1307         (__bzero): Likewise.
1308         (__memset_tail): New function.
1310 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1312         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1313         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1314         __memcpy_sse2_unaligned ifunc selection.
1315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1316         Add memcpy-sse2-unaligned.S.
1317         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1318         Add: __memcpy_sse2_unaligned.
1320 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
1322         [BZ #15490]
1323         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1324         math_force_eval before restoring floating-point envrionment.
1325         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1326         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1327         Likewise.
1328         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1329         <math_private.h>.
1330         (__nearbyintl): Use math_force_eval before restoring
1331         floating-point environment.
1332         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1334         * math/gen-libm-test.pl (special_functions): Remove.
1335         (parse_args): Don't handle TEST_extra.  Handle functions with no
1336         return value.
1337         * math/libm-test.inc (struct test_sincos_data): Replace with
1338         struct test_fFF_11_data.
1339         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1340         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1341         (sincos_test_data): Change element type to struct
1342         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
1343         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1344         RUN_TEST_LOOP_sincos.
1345         * math/README.libm-test: Don't mention special handling of
1346         individual functions.
1347         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1348         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1349         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1350         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1351         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1354         * math/gen-libm-test.pl (get_variable): Remove function.
1355         (parse_args): Don't show pointer parameters to call in test
1356         names.  Use "extra output N" in test names for extra outputs
1357         rather than naming variables.
1359 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
1361         [BZ #15488]
1362         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1363         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1364         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1365         double tests.
1366         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1367         disable.
1368         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1369         check_long_double.
1371         * math/gen-libm-test.pl (@tests): Remove variable.
1372         ($count): Likewise.
1373         (new_test): Remove function.
1374         (show_exceptions): New function.
1375         (special_functions): Use show_exceptions instead of new_test.
1376         (parse_args): Likewise.
1377         (generate_testfile): Pass only function name in generated call to
1378         print_max_error or print_complex_max_error.
1379         (get_ulps): Do not handle complex tests specially.
1380         (output_test): Rename to ...
1381         (get_all_ulps_for_test): ... this.  Return a string rather than
1382         printing to a file.  Require ulps to be present.
1383         (output_ulps): Generate arrays rather than #defines.
1384         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1385         (struct ulp_data): New type.
1386         (BUILD_COMPLEX_ULP): Remove macro.
1387         (compare_ulp_data): New function.
1388         (find_ulps): Likewise.
1389         (find_test_ulps): Likewise.
1390         (find_function_ulps): Likewise.
1391         (find_complex_function_ulps): Likewise.
1392         (print_max_error): Determine allowed ulps using
1393         find_function_ulps.
1394         (print_complex_max_error): Determine allowed ulps using
1395         find_complex_function_ulps.
1396         (check_float_internal): Determine max ulps using find_test_ulps.
1397         (check_float): Do not take max_ulp parameter.  Update call to
1398         check_float_internal.
1399         (check_complex): Likewise.
1400         (check_int): Do not take max_ulp parameter.
1401         (check_long): Likewise.
1402         (check_bool): Likewise.
1403         (check_longlong): Likewise.
1404         (struct test_f_f_data): Remove max_ulp field.
1405         (struct test_ff_f_data): Likewise.
1406         (struct test_ff_f_data_nexttoward): Likewise.
1407         (struct test_fi_f_data): Likewise.
1408         (struct test_fl_f_data): Likewise.
1409         (struct test_if_f_data): Likewise.
1410         (struct test_fff_f_data): Likewise.
1411         (struct test_c_f_data): Likewise.
1412         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1413         (struct test_fF_f1_data): Likewise.
1414         (struct test_ffI_f1_data): Likewise.
1415         (struct test_c_c_data): Remove max_ulp field.
1416         (struct test_cc_c_data): Likewise.
1417         (struct test_f_i_data): Likewise.
1418         (struct test_ff_i_data): Likewise.
1419         (struct test_f_l_data): Likewise.
1420         (struct test_f_L_data): Likewise.
1421         (struct test_sincos_data): Likewise.
1422         (RUN_TEST_f_f): Do not handle ulps.
1423         (RUN_TEST_LOOP_f_f): Likewise.
1424         (RUN_TEST_2_f): Likewise.
1425         (RUN_TEST_LOOP_2_f): Likewise.
1426         (RUN_TEST_fff_f): Likewise.
1427         (RUN_TEST_LOOP_fff_f): Likewise.
1428         (RUN_TEST_c_f): Likewise.
1429         (RUN_TEST_LOOP_c_f): Likewise.
1430         (RUN_TEST_f_f1): Likewise.
1431         (RUN_TEST_LOOP_f_f1): Likewise.
1432         (RUN_TEST_fF_f1): Likewise.
1433         (RUN_TEST_LOOP_fF_f1): Likewise.
1434         (RUN_TEST_fI_f1): Likewise.
1435         (RUN_TEST_LOOP_fI_f1): Likewise.
1436         (RUN_TEST_ffI_f1): Likewise.
1437         (RUN_TEST_LOOP_ffI_f1): Likewise.
1438         (RUN_TEST_c_c): Likewise.
1439         (RUN_TEST_LOOP_c_c): Likewise.
1440         (RUN_TEST_cc_c): Likewise.
1441         (RUN_TEST_LOOP_cc_c): Likewise.
1442         (RUN_TEST_f_i): Likewise.
1443         (RUN_TEST_LOOP_f_i): Likewise.
1444         (RUN_TEST_f_i_tg): Likewise.
1445         (RUN_TEST_LOOP_f_i_tg): Likewise.
1446         (RUN_TEST_ff_i_tg): Likewise.
1447         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1448         (RUN_TEST_f_b): Likewise.
1449         (RUN_TEST_LOOP_f_b): Likewise.
1450         (RUN_TEST_f_b_tg): Likewise.
1451         (RUN_TEST_LOOP_f_b_tg): Likewise.
1452         (RUN_TEST_f_l): Likewise.
1453         (RUN_TEST_LOOP_f_l): Likewise.
1454         (RUN_TEST_f_L): Likewise.
1455         (RUN_TEST_LOOP_f_L): Likewise.
1456         (RUN_TEST_sincos): Likewise.
1457         (RUN_TEST_LOOP_sincos): Likewise.
1459 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
1461         [BZ #15480]
1462         [BZ #15485]
1463         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1464         main case of finite arguments, set rounding mode to FE_TONEAREST
1465         and discard exceptions.
1466         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1467         exceptions.
1468         (remainder_tonearest_test_data): New variable.
1469         (remainder_test_tonearest): New function.
1470         (remainder_towardzero_test_data): New variable.
1471         (remainder_test_towardzero): New function.
1472         (remainder_downward_test_data): New variable.
1473         (remainder_test_downward): New function.
1474         (remainder_upward_test_data): New variable.
1475         (remainder_test_upward): New function.
1476         (main): Call the new test functions.
1478         * math/libm-test.inc (struct test_f_f1_data): Remove field
1479         extra_init.
1480         (struct test_fF_f1_data): Likewise.
1481         (struct test_ffI_f1_data): Likewise.
1482         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
1483         based on value of EXTRA_EXPECTED.
1484         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1485         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
1486         EXTRA_VAR based on value of EXTRA_EXPECTED.
1487         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1488         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
1489         EXTRA_VAR based on value of EXTRA_EXPECTED.
1490         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1491         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
1492         EXTRA_VAR based on value of EXTRA_EXPECTED.
1493         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1494         * math/gen-libm-test.pl (parse_args): Don't output initializers
1495         for extra output values.
1497         * math/libm-test.inc (check_int): Expect result to be exactly
1498         equal to expected value and do not handle ulps.
1499         (check_long): Likewise.
1500         (check_longlong): Likewise.
1502         * math/libm-test.inc (ceil_test_data): Test for "inexact"
1503         exceptions.
1504         (cimag_test_data): Likewise.
1505         (conj_test_data): Likewise.
1506         (copysign_test_data): Likewise.
1507         (cproj_test_data): Likewise.
1508         (creal_test_data): Likewise.
1509         (fabs_test_data): Likewise.
1510         (fdim_test_data): Likewise.
1511         (finite_test_data): Likewise.
1512         (floor_test_data): Likewise.
1513         (fmax_test_data): Likewise.
1514         (fmin_test_data): Likewise.
1515         (fmod_test_data): Likewise.
1516         (fpclassify_test_data): Likewise.
1517         (frexp_test_data): Likewise.
1518         (ilogb_test_data): Likewise.
1519         (isfinite_test_data): Likewise.
1520         (isgreater_test_data): Likewise.
1521         (isgreaterequal_test_data): Likewise.
1522         (isinf_test_data): Likewise.
1523         (isless_test_data): Likewise.
1524         (islessequal_test_data): Likewise.
1525         (islessgreater_test_data): Likewise.
1526         (isnan_test_data): Likewise.
1527         (isnormal_test_data): Likewise.
1528         (issignaling_test_data): Likewise.
1529         (isunordered_test_data): Likewise.
1530         (ldexp_test_data): Likewise.
1531         (lrint_test_data): Likewise.
1532         (lrint_test_data) [TEST_FLOAT]: Disable one test.
1533         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1534         (lrint_tonearest_test_data): Test for "inexact" exceptions.
1535         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1536         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1537         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1538         test input.
1539         (lrint_towardzero_test_data): Test for "inexact" exceptions.
1540         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1541         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1542         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1543         that test input.
1544         (lrint_downward_test_data): Test for "inexact" exceptions.
1545         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1546         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1547         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1548         test input.
1549         (lrint_upward_test_data): Test for "inexact" exceptions.
1550         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1551         test input.
1552         (llrint_test_data): Test for "inexact" exceptions.
1553         (llrint_test_data) [TEST_FLOAT]: Disable one test.
1554         (llrint_tonearest_test_data): Test for "inexact" exceptions.
1555         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1556         (llrint_towardzero_test_data): Test for "inexact" exceptions.
1557         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1558         (llrint_downward_test_data): Test for "inexact" exceptions.
1559         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1560         (llrint_upward_test_data): Test for "inexact" exceptions.
1561         (logb_test_data): Likewise.
1562         (logb_downward_test_data): Likewise.
1563         (nextafter_test_data): Likewise.
1564         (nexttoward_test_data): Likewise.
1565         (remainder_test_data): Likewise.
1566         (remquo_test_data): Likewise.
1567         (scalbn_test_data): Likewise.
1568         (scalbln_test_data): Likewise.
1569         (signbit_test_data): Likewise.
1570         (sqrt_test_data): Likewise.
1571         (significand_test_data): Likewise.
1573 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1575         [BZ #15424]
1576         * benchtests/bench-modf.c (struct args): Mark arg0 as
1577         volatile.
1578         * scripts/bench.pl: Mark members of struct args as volatile.
1580 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1582         [BZ # 15497]
1583         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1584         negative infinity on POWER6 or lower.
1585         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1587 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1589         [BZ #15442]
1590         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1591         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1592         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1593         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1594         (_FP_SETQNAN): New macro.
1595         (_FP_SETQNAN_SEMIRAW): Likewise.
1596         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1597         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1598         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1599         (FP_EXTEND): Use _FP_FRAC_SNANP.
1600         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1601         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1602         into account.
1603         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1604         New macro.
1605         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1606         Likewise.
1608 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1610         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1611         with DIVIDE_BY_ZERO_EXCEPTION.
1612         (gamma_test_data): Likewise.
1613         (lgamma_test_data): Likewise.
1614         (log_test_data): Likewise.
1615         (log10_test_data): Likewise.
1616         (log2_test_data): Likewise.
1617         (tgamma_test_data): Likewise.
1619         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1620         (acos_test_tonearest): Likewise.
1621         (acos_test_towardzero): Likewise.
1622         (acos_test_downward): Likewise.
1623         (acos_test_upward): Likewise.
1624         (acosh_test): Likewise.
1625         (asin_test): Likewise.
1626         (asin_test_tonearest): Likewise.
1627         (asin_test_towardzero): Likewise.
1628         (asin_test_downward): Likewise.
1629         (asin_test_upward): Likewise.
1630         (asinh_test): Likewise.
1631         (atan_test): Likewise.
1632         (atanh_test): Likewise.
1633         (atan2_test): Likewise.
1634         (cabs_test): Likewise.
1635         (cacos_test): Likewise.
1636         (cacosh_test): Likewise.
1637         (casin_test): Likewise.
1638         (casinh_test): Likewise.
1639         (catan_test): Likewise.
1640         (catanh_test): Likewise.
1641         (cbrt_test): Likewise.
1642         (ccos_test): Likewise.
1643         (ccosh_test): Likewise.
1644         (cexp_test): Likewise.
1645         (clog_test): Likewise.
1646         (clog10_test): Likewise.
1647         (cos_test): Likewise.
1648         (cos_test_tonearest): Likewise.
1649         (cos_test_towardzero): Likewise.
1650         (cos_test_downward): Likewise.
1651         (cos_test_upward): Likewise.
1652         (cosh_test): Likewise.
1653         (cosh_test_tonearest): Likewise.
1654         (cosh_test_towardzero): Likewise.
1655         (cosh_test_downward): Likewise.
1656         (cosh_test_upward): Likewise.
1657         (cpow_test): Likewise.
1658         (csin_test): Likewise.
1659         (csinh_test): Likewise.
1660         (csqrt_test): Likewise.
1661         (ctan_test): Likewise.
1662         (ctan_test_tonearest): Likewise.
1663         (ctan_test_towardzero): Likewise.
1664         (ctan_test_downward): Likewise.
1665         (ctan_test_upward): Likewise.
1666         (ctanh_test): Likewise.
1667         (ctanh_test_tonearest): Likewise.
1668         (ctanh_test_towardzero): Likewise.
1669         (ctanh_test_downward): Likewise.
1670         (ctanh_test_upward): Likewise.
1671         (erf_test): Likewise.
1672         (erfc_test): Likewise.
1673         (exp_test): Likewise.
1674         (exp_test_tonearest): Likewise.
1675         (exp_test_towardzero): Likewise.
1676         (exp_test_downward): Likewise.
1677         (exp_test_upward): Likewise.
1678         (exp10_test): Likewise.
1679         (exp2_test): Likewise.
1680         (expm1_test): Likewise.
1681         (fmod_test): Likewise.
1682         (gamma_test): Likewise.
1683         (hypot_test): Likewise.
1684         (j0_test): Likewise.
1685         (j1_test): Likewise.
1686         (jn_test): Likewise.
1687         (lgamma_test): Likewise.
1688         (log_test): Likewise.
1689         (log10_test): Likewise.
1690         (log1p_test): Likewise.
1691         (log2_test): Likewise.
1692         (logb_test_downward): Likewise.
1693         (pow_test): Likewise.
1694         (pow_test_tonearest): Likewise.
1695         (pow_test_towardzero): Likewise.
1696         (pow_test_downward): Likewise.
1697         (pow_test_upward): Likewise.
1698         (remainder_test): Likewise.
1699         (remquo_test): Likewise.
1700         (sin_test): Likewise.
1701         (sin_test_tonearest): Likewise.
1702         (sin_test_towardzero): Likewise.
1703         (sin_test_downward): Likewise.
1704         (sin_test_upward): Likewise.
1705         (sincos_test): Likewise.
1706         (sinh_test): Likewise.
1707         (sinh_test_tonearest): Likewise.
1708         (sinh_test_towardzero): Likewise.
1709         (sinh_test_downward): Likewise.
1710         (sinh_test_upward): Likewise.
1711         (sqrt_test): Likewise.
1712         (tan_test): Likewise.
1713         (tan_test_tonearest): Likewise.
1714         (tan_test_towardzero): Likewise.
1715         (tan_test_downward): Likewise.
1716         (tan_test_upward): Likewise.
1717         (tanh_test): Likewise.
1718         (tgamma_test): Likewise.
1719         (y0_test): Likewise.
1720         (y1_test): Likewise.
1721         (yn_test): Likewise.
1723         * math/gen-libm-test.pl (adjust_arg): Remove function.
1724         (special_function): Remove argument $in_func.  Only handle
1725         generating output for tables of tests, not inside functions.
1726         (parse_args): Likewise.
1727         (generate_testfile): Remove variable $in_func.  Update call to
1728         parse_args.
1729         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1730         (MINUS_ZERO_INIT): Rename macro to minus_zero.
1731         (PLUS_INFTY_INIT): Rename macro to plus_infty.
1732         (MINUS_INFTY_INIT): Rename macro to minus_infty.
1733         (QNAN_VALUE_INIT): Rename macro to qnan_value.
1734         (MAX_VALUE_INIT): Rename macro to max_value.
1735         (MIN_VALUE_INIT): Rename macro to min_value.
1736         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1737         (plus_zero): Remove variable.
1738         (minus_zero): Likewise.
1739         (plus_infty): Likewise.
1740         (minus_infty): Likewise.
1741         (qnan_value): Likewise.
1742         (max_value): Likewise.
1743         (min_value): Likewise.
1744         (min_subnorm_value): Likewise.
1746 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1748         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1749         uint64_t or uint32_t usage.
1750         * crypt/sha256-block.c: Likewise.
1751         * crypt/sha256-crypt.c: Likewise.
1752         * crypt/sha256.c: Likewise.
1753         * crypt/sha512-block.c: Likewise.
1754         * crypt/sha512-crypt.c: Likewise.
1755         * crypt/sha512.c: Likewise.
1756         * debug/backtrace-tst.c: Likewise.
1757         * debug/pcprofiledump.c: Likewise.
1758         * elf/cache.c: Likewise.
1759         * elf/dl-cache.c: Likewise.
1760         * elf/dl-misc.c: Likewise.
1761         * elf/dl-profile.c: Likewise.
1762         * elf/dl-support.c: Likewise.
1763         * elf/ldconfig.c: Likewise.
1764         * elf/sprof.c: Likewise.
1765         * iconv/dummy-repertoire.c: Likewise.
1766         * iconv/iconv_charmap.c: Likewise.
1767         * iconv/skeleton.c: Likewise.
1768         * iconvdata/8bit-generic.c: Likewise.
1769         * iconvdata/cp737.h: Likewise.
1770         * iconvdata/cp775.h: Likewise.
1771         * iconvdata/ibm1008.h: Likewise.
1772         * iconvdata/ibm1025.h: Likewise.
1773         * iconvdata/ibm1046.h: Likewise.
1774         * iconvdata/ibm1097.h: Likewise.
1775         * iconvdata/ibm1112.h: Likewise.
1776         * iconvdata/ibm1122.h: Likewise.
1777         * iconvdata/ibm1123.h: Likewise.
1778         * iconvdata/ibm1124.h: Likewise.
1779         * iconvdata/ibm1129.h: Likewise.
1780         * iconvdata/ibm1130.h: Likewise.
1781         * iconvdata/ibm1132.h: Likewise.
1782         * iconvdata/ibm1133.h: Likewise.
1783         * iconvdata/ibm1137.h: Likewise.
1784         * iconvdata/ibm1140.h: Likewise.
1785         * iconvdata/ibm1141.h: Likewise.
1786         * iconvdata/ibm1142.h: Likewise.
1787         * iconvdata/ibm1143.h: Likewise.
1788         * iconvdata/ibm1144.h: Likewise.
1789         * iconvdata/ibm1145.h: Likewise.
1790         * iconvdata/ibm1146.h: Likewise.
1791         * iconvdata/ibm1147.h: Likewise.
1792         * iconvdata/ibm1148.h: Likewise.
1793         * iconvdata/ibm1149.h: Likewise.
1794         * iconvdata/ibm1153.h: Likewise.
1795         * iconvdata/ibm1154.h: Likewise.
1796         * iconvdata/ibm1155.h: Likewise.
1797         * iconvdata/ibm1156.h: Likewise.
1798         * iconvdata/ibm1157.h: Likewise.
1799         * iconvdata/ibm1158.h: Likewise.
1800         * iconvdata/ibm1160.h: Likewise.
1801         * iconvdata/ibm1161.h: Likewise.
1802         * iconvdata/ibm1162.h: Likewise.
1803         * iconvdata/ibm1163.h: Likewise.
1804         * iconvdata/ibm1164.h: Likewise.
1805         * iconvdata/ibm1166.h: Likewise.
1806         * iconvdata/ibm1167.h: Likewise.
1807         * iconvdata/ibm12712.h: Likewise.
1808         * iconvdata/ibm1390.h: Likewise.
1809         * iconvdata/ibm1399.h: Likewise.
1810         * iconvdata/ibm16804.h: Likewise.
1811         * iconvdata/ibm4517.h: Likewise.
1812         * iconvdata/ibm4899.h: Likewise.
1813         * iconvdata/ibm4909.h: Likewise.
1814         * iconvdata/ibm4971.h: Likewise.
1815         * iconvdata/ibm5347.h: Likewise.
1816         * iconvdata/ibm803.h: Likewise.
1817         * iconvdata/ibm856.h: Likewise.
1818         * iconvdata/ibm901.h: Likewise.
1819         * iconvdata/ibm902.h: Likewise.
1820         * iconvdata/ibm9030.h: Likewise.
1821         * iconvdata/ibm9066.h: Likewise.
1822         * iconvdata/ibm921.h: Likewise.
1823         * iconvdata/ibm922.h: Likewise.
1824         * iconvdata/ibm9448.h: Likewise.
1825         * iconvdata/isiri-3342.h: Likewise.
1826         * iconvdata/jis0201.h: Likewise.
1827         * include/link.h: Likewise.
1828         * include/netdb.h: Likewise.
1829         * inet/check_native.c: Likewise.
1830         * inet/check_pf.c: Likewise.
1831         * inet/getipv4sourcefilter.c: Likewise.
1832         * inet/getnameinfo.c: Likewise.
1833         * inet/getsourcefilter.c: Likewise.
1834         * inet/htonl.c: Likewise.
1835         * inet/setipv4sourcefilter.c: Likewise.
1836         * inet/setsourcefilter.c: Likewise.
1837         * inet/test-inet6_opt.c: Likewise.
1838         * inet/tst-network.c: Likewise.
1839         * locale/C-collate.c: Likewise.
1840         * locale/C-ctype.c: Likewise.
1841         * locale/C-time.c: Likewise.
1842         * locale/C-translit.h: Likewise.
1843         * locale/loadarchive.c: Likewise.
1844         * locale/programs/3level.h: Likewise.
1845         * locale/programs/charmap.c: Likewise.
1846         * locale/programs/charmap.h: Likewise.
1847         * locale/programs/ld-address.c: Likewise.
1848         * locale/programs/ld-collate.c: Likewise.
1849         * locale/programs/ld-ctype.c: Likewise.
1850         * locale/programs/ld-identification.c: Likewise.
1851         * locale/programs/ld-measurement.c: Likewise.
1852         * locale/programs/ld-messages.c: Likewise.
1853         * locale/programs/ld-monetary.c: Likewise.
1854         * locale/programs/ld-name.c: Likewise.
1855         * locale/programs/ld-numeric.c: Likewise.
1856         * locale/programs/ld-paper.c: Likewise.
1857         * locale/programs/ld-telephone.c: Likewise.
1858         * locale/programs/ld-time.c: Likewise.
1859         * locale/programs/linereader.c: Likewise.
1860         * locale/programs/locale.c: Likewise.
1861         * locale/programs/locarchive.c: Likewise.
1862         * locale/programs/locfile.h: Likewise.
1863         * locale/programs/repertoire.c: Likewise.
1864         * locale/programs/simple-hash.c: Likewise.
1865         * locale/programs/simple-hash.h: Likewise.
1866         * malloc/memusage.c: Likewise.
1867         * malloc/memusagestat.c: Likewise.
1868         * nis/nis_defaults.c: Likewise.
1869         * nis/nis_hash.c: Likewise.
1870         * nis/nis_print.c: Likewise.
1871         * nis/nis_xdr.c: Likewise.
1872         * nscd/connections.c: Likewise.
1873         * nscd/hstcache.c: Likewise.
1874         * nscd/nscd_gethst_r.c: Likewise.
1875         * nscd/nscd_getserv_r.c: Likewise.
1876         * nscd/nscd_helper.c: Likewise.
1877         * nscd/servicescache.c: Likewise.
1878         * nss/makedb.c: Likewise.
1879         * nss/nss_db/db-XXX.c: Likewise.
1880         * nss/nss_db/db-initgroups.c: Likewise.
1881         * nss/nss_db/db-netgrp.c: Likewise.
1882         * nss/nss_files/files-network.c: Likewise.
1883         * nss/nss_files/files-parse.c: Likewise.
1884         * posix/bug-regex5.c: Likewise.
1885         * posix/fnmatch_loop.c: Likewise.
1886         * posix/regcomp.c: Likewise.
1887         * posix/regexec.c: Likewise.
1888         * posix/tst-rfc3484-2.c: Likewise.
1889         * posix/tst-rfc3484-3.c: Likewise.
1890         * posix/tst-rfc3484.c: Likewise.
1891         * resolv/nss_dns/dns-canon.c: Likewise.
1892         * resolv/nss_dns/dns-network.c: Likewise.
1893         * resolv/res_init.c: Likewise.
1894         * resolv/res_mkquery.c: Likewise.
1895         * resolv/tst-aton.c: Likewise.
1896         * stdlib/cxa_atexit.c: Likewise.
1897         * stdlib/cxa_finalize.c: Likewise.
1898         * stdlib/gen-fpioconst.c: Likewise.
1899         * stdlib/strtol_l.c: Likewise.
1900         * string/tst-endian.c: Likewise.
1901         * sunrpc/auth_des.c: Likewise.
1902         * sunrpc/clnt_udp.c: Likewise.
1903         * sunrpc/rtime.c: Likewise.
1904         * sunrpc/svcauth_des.c: Likewise.
1905         * sunrpc/xdr.c: Likewise.
1906         * sunrpc/xdr_intXX_t.c: Likewise.
1907         * sunrpc/xdr_rec.c: Likewise.
1908         * sysdeps/generic/ldconfig.h: Likewise.
1909         * sysdeps/generic/ldsodefs.h: Likewise.
1910         * sysdeps/generic/memusage.h: Likewise.
1911         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1912         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1913         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1914         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1915         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1916         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1917         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1918         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1919         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1920         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1921         * sysdeps/posix/getaddrinfo.c: Likewise.
1922         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1923         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1924         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1925         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1926         * sysdeps/powerpc/test-gettimebase.c: Likewise.
1927         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1928         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1929         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1930         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1931         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1932         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1933         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1934         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1935         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1936         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1937         * sysdeps/x86_64/dl-tls.h: Likewise.
1938         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1939         * time/alt_digit.c: Likewise.
1940         * time/era.c: Likewise.
1941         * wcsmbs/tst-c16c32-1.c: Likewise.
1943 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1945         * math/libm-test.inc (struct test_sincos_data): New type.
1946         (RUN_TEST_LOOP_sincos): New macro.
1947         (sincos_test_data): New variable.
1948         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1950 2013-05-16  Richard Henderson  <rth@redhat.com>
1952         * math/atest-exp2.c (LIMB64): New macro.
1953         (CONSTSZ): New macro.
1954         (mp_exp1, mp_exp_m1, mp_log2): New variables.
1955         (hexdig): Move ...
1956         (print_mpn_fp): ... to function scope.
1957         (read_mpn_hex): Remove.
1958         (get_log2): Remove.
1959         (exp2_mpn): Use mp_log2.
1960         (main): Use mp_exp1.
1962 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1964         * math/libm-test.inc: Remove comment about not testing "inexact"
1965         exceptions.
1966         (INEXACT_EXCEPTION): New macro.
1967         (NO_INEXACT_EXCEPTION): Likewise.
1968         (INVALID_EXCEPTION_OK): Update value.
1969         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1970         (OVERFLOW_EXCEPTION_OK): Likewise.
1971         (UNDERFLOW_EXCEPTION_OK): Likewise.
1972         (IGNORE_ZERO_INF_SIGN): Likewise.
1973         (ERRNO_UNCHANGED): Likewise.
1974         (ERRNO_EDOM): Likewise.
1975         (ERRNO_ERANGE): Likewise.
1976         (test_exceptions): Handle testing "inexact" exceptions.
1977         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1978         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1979         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1980         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1981         INEXACT_EXCEPTION.
1982         (rint_towardzero_test_data): Likewise.
1983         (rint_downward_test_data): Likewise.
1984         (rint_upward_test_data): Likewise.
1986         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1987         with OVERFLOW_EXCEPTION.
1988         (exp10_test_data): Likewise.
1989         (exp2_test_data): Likewise.
1990         (expm1_test_data): Likewise.
1991         (lgamma_test_data): Likewise.
1992         (pow_test_data): Likewise.
1993         (tgamma_test_data): Likewise.
1994         (yn_test_data): Remove duplicate test of overflow.
1996         * math/libm-test.inc (struct test_cc_c_data): New type.
1997         (RUN_TEST_LOOP_cc_c): New macro.
1998         (cpow_test_data): New variable.
1999         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2001         * math/libm-test.inc (struct test_f_L_data): New type.
2002         (RUN_TEST_LOOP_f_L): New macro.
2003         (llrint_test_data): New variable.
2004         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2005         (llrint_tonearest_test_data): New variable.
2006         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2007         (llrint_towardzero_test_data): New variable.
2008         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2009         (llrint_downward_test_data): New variable.
2010         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2011         (llrint_upward_test_data): New variable.
2012         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2013         (llround_test_data): New variable.
2014         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2016 2013-05-13  Peter Collingbourne  <pcc@google.com>
2018         * math/atest-exp2.c (get_log2): Remove const attribute.
2020 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2022         * math/libm-test.inc (struct test_f_l_data): New type.
2023         (RUN_TEST_LOOP_f_l): New macro.
2024         (lrint_test_data): New variable.
2025         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2026         (lrint_tonearest_test_data): New variable.
2027         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2028         (lrint_towardzero_test_data): New variable.
2029         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2030         (lrint_downward_test_data): New variable.
2031         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2032         (lrint_upward_test_data): New variable.
2033         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2034         (lround_test_data): New variable.
2035         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2037 2013-05-15  Peter Collingbourne  <pcc@google.com>
2039         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2040         (EXTRACT_WORDS64) Use where appropriate.
2041         (INSERT_WORDS64) Likewise.
2043         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2044         constraints with x constraints.
2045         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2047         * malloc/obstack.c (_obstack_compat): Add initializer.
2049 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2051         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2052         si_trapno and add si_addr_lsb to _sifields.sigfault.
2053         (si_trapno): Remove macro.
2054         (si_addr_lsb): Define new macro.
2055         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2057 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2059         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2060         instead of TEST_f_l.
2061         (llrint_test_tonearest): Likewise.
2062         (llrint_test_towardzero): Likewise.
2063         (llrint_test_downward): Likewise.
2064         (llrint_test_upward): Likewise.
2065         (llround_test): Likewise.
2067         * math/libm-test.inc (struct test_f_i_data): Add comment.
2068         (RUN_TEST_LOOP_f_b): New macro.
2069         (RUN_TEST_LOOP_f_b_tg): Likewise.
2070         (finite_test_data): New variable.
2071         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2072         (isfinite_test_data): New variable.
2073         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2074         (isinf_test_data): New variable.
2075         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2076         (isnan_test_data): New variable.
2077         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2078         (isnormal_test_data): New variable.
2079         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2080         (issignaling_test_data): New variable.
2081         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2082         (signbit_test_data): New variable.
2083         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2085         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2086         with INVALID_EXCEPTION.
2087         (acosh_test_data): Likewise.
2088         (asin_test_data): Likewise.
2089         (atanh_test_data): Likewise.
2090         (fmod_test_data): Likewise.
2091         (log_test_data): Likewise.
2092         (log10_test_data): Likewise.
2093         (log2_test_data): Likewise.
2094         (pow_test_data): Likewise.
2095         (sqrt_test_data): Likewise.
2096         (y0_test_data): Likewise.
2097         (y1_test_data): Likewise.
2098         (yn_test_data): Likewise.
2100         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2101         function contents.
2103         * math/libm-test.inc (struct test_ff_i_data): New type.
2104         (RUN_TEST_LOOP_ff_i_tg): New macro.
2105         (isgreater_test_data): New variable.
2106         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2107         (isgreaterequal_test_data): New variable.
2108         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2109         (isless_test_data): New variable.
2110         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2111         (islessequal_test_data): New variable.
2112         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2113         (islessgreater_test_data): New variable.
2114         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2115         (isunordered_test_data): New variable.
2116         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2118 2013-05-14  David S. Miller  <davem@davemloft.net>
2120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2122 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
2124         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2126         * math/libm-test.inc (struct test_fF_f1_data): Change type of
2127         extra_test to int.
2128         (struct test_f_i_data): Change type of max_ulp to int.
2130         * math/libm-test.inc (test_ffI_f1_data): New type.
2131         (RUN_TEST_LOOP_ffI_f1): New macro.
2132         (remquo_test_data): New variable.
2133         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2135         * setjmp/tst-setjmp-fp.c: New file.
2136         * setjmp/Makefile (tests): Add tst-setjmp-fp.
2137         (link-libm): New variable.
2138         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2140         * math/libm-test.inc (struct test_f_i_data): New type.
2141         (RUN_TEST_LOOP_f_i): New macro.
2142         (RUN_TEST_LOOP_f_i_tg): Likewise.
2143         (fpclassify_test_data): New variable.
2144         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2145         (ilogb_test_data): New variable.
2146         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2148         * math/libm-test.inc (scalbln_test): Correct function name in END
2149         call.
2151         * math/libm-test.inc (struct test_f_f1_data): Add comment.
2152         (RUN_TEST_LOOP_fI_f1): New macro.
2153         (frexp_test_data): New variable.
2154         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2156         * math/libm-test.inc (struct test_fF_f1_data): New type.
2157         (RUN_TEST_LOOP_fF_f1): New macro.
2158         (modf_test_data): New variable.
2159         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2161         * math/libm-test.inc (struct test_f_f1_data): New type.
2162         (RUN_TEST_LOOP_f_f1): New macro.
2163         (gamma_test_data): New variable.
2164         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2165         (lgamma_test_data): New variable.
2166         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2168 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
2170         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2171         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2172         (main): Comment "tls" pseudo-hwcap.
2174 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
2176         * math/libm-test.inc (struct test_fl_f_data): New type.
2177         (RUN_TEST_LOOP_fl_f): New variable.
2178         (scalbln_test_data): New variable.
2179         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2181         * math/libm-test.inc (struct test_fi_f_data): New type.
2182         (RUN_TEST_LOOP_fi_f): New macro.
2183         (ldexp_test_data): New variable.
2184         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2185         (scalbn_test_data): New variable.
2186         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2188         * math/libm-test.inc (struct test_c_f_data): New type.
2189         (RUN_TEST_LOOP_c_f): New macro.
2190         (cabs_test_data): New variable.
2191         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2192         (carg_test_data): New variable.
2193         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2194         (cimag_test_data): New variable.
2195         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2196         (creal_test_data): New variable.
2197         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2199         * math/libm-test.inc (struct test_if_f_data): New type.
2200         (RUN_TEST_LOOP_if_f): New macro.
2201         (jn_test_data): New variable.
2202         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2203         (yn_test_data): New variable.
2204         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2206         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2208 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2210         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2211         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2213 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2215         * benchtests/Makefile (CPPFLAGS-nonlib): Add
2216         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2217         (bench-deps): Add bench-timing.h.
2218         * benchtests-bench-skeleton.c: Include bench-timing.h.
2219         (main): Use TIMING_* macros instead of clock_gettime.
2220         * benchtests/bench-timing.h: New file.
2222         [BZ #14582]
2223         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2224         Renamed from _LIB_VERSION.
2225         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2227 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
2229         * math/libm-test.inc (struct test_fff_f_data): New type.
2230         (RUN_TEST_LOOP_fff_f): New macro.
2231         (fma_test_data): New variable.
2232         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2233         (fma_towardzero_test_data): New variable.
2234         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2235         (fma_downward_test_data): New variable.
2236         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2237         (fma_upward_test_data): New variable.
2238         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2240         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2241         (struct test_c_c_data): New type.
2242         (RUN_TEST_LOOP_c_c): New macro.
2243         (cacos_test_data): New variable.
2244         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2245         (cacosh_test_data): New variable.
2246         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2247         (casin_test_data): New variable.
2248         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2249         (casinh_test_data): New variable.
2250         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2251         (catan_test_data): New variable.
2252         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2253         (catanh_test_data): New variable.
2254         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2255         (ccos_test_data): New variable.
2256         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2257         (ccosh_test_data): New variable.
2258         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2259         (cexp_test_data): New variable.
2260         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2261         (clog_test_data): New variable.
2262         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2263         (clog10_test_data): New variable.
2264         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2265         (conj_test_data): New variable.
2266         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2267         (cproj_test_data): New variable.
2268         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2269         (csin_test_data): New variable.
2270         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2271         (csinh_test_data): New variable.
2272         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2273         (csqrt_test_data): New variable.
2274         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2275         (ctan_test_data): New variable.
2276         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2277         (ctan_tonearest_test_data): New variable.
2278         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2279         (ctan_towardzero_test_data): New variable.
2280         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2281         (ctan_downward_test_data): New variable.
2282         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2283         (ctan_upward_test_data): New variable.
2284         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2285         (ctanh_test_data): New variable.
2286         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2287         (ctanh_tonearest_test_data): New variable.
2288         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2289         (ctanh_towardzero_test_data): New variable.
2290         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2291         (ctanh_downward_test_data): New variable.
2292         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2293         (ctanh_upward_test_data): New variable.
2294         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2295         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2296         of BUILD_COMPLEX.
2298         * math/libm-test.inc (struct test_ff_f_data): New type.
2299         (struct test_ff_f_data_nexttoward): Likewise.
2300         (RUN_TEST_LOOP_2_f): New macro.
2301         (RUN_TEST_LOOP_ff_f): Likewise.
2302         (atan2_test_data): New variable.
2303         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2304         (copysign_test_data): New variable.
2305         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2306         (fdim_test_data): New variable.
2307         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2308         (fmax_test_data): New variable.
2309         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2310         (fmin_test_data): New variable.
2311         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2312         (fmod_test_data): New variable.
2313         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2314         (hypot_test_data): New variable.
2315         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2316         (nextafter_test_data): New variable.
2317         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2318         (nexttoward_test_data): New variable.
2319         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2320         (pow_test_data): New variable.
2321         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2322         (pow_tonearest_test_data): New variable.
2323         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2324         (pow_towardzero_test_data): New variable.
2325         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2326         (pow_downward_test_data): New variable.
2327         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2328         (pow_upward_test_data): New variable.
2329         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2330         (remainder_test_data): New variable.
2331         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2332         (scalb_test_data): New variable.
2333         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2334         * sysdeps/i386/fpu/libm-test-ulps: Update.
2336 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
2338         * math/libm-test.inc (fma_test): Use max_value instead of local
2339         variable fltmax.
2340         (nextafter_test): Likewise.
2342         * math/libm-test.inc (acos_towardzero_test_data): New variable.
2343         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2344         (acos_downward_test_data): New variable.
2345         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2346         (acos_upward_test_data): New variable.
2347         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2348         (acosh_test_data): New variable.
2349         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2350         (asin_test_data): New variable.
2351         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2352         (asin_tonearest_test_data): New variable.
2353         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2354         (asin_towardzero_test_data): New variable.
2355         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2356         (asin_downward_test_data): New variable.
2357         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2358         (asin_upward_test_data): New variable.
2359         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2360         (asinh_test_data): New variable.
2361         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2362         (atan_test_data): New variable.
2363         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2364         (atanh_test_data): New variable.
2365         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2366         (cbrt_test_data): New variable.
2367         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2368         (ceil_test_data): New variable.
2369         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2370         (cos_test_data): New variable.
2371         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2372         (cos_tonearest_test_data): New variable.
2373         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2374         (cos_towardzero_test_data): New variable.
2375         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2376         (cos_downward_test_data): New variable.
2377         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2378         (cos_upward_test_data): New variable.
2379         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2380         (cosh_test_data): New variable.
2381         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2382         (cosh_tonearest_test_data): New variable.
2383         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2384         (cosh_towardzero_test_data): New variable.
2385         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2386         (cosh_downward_test_data): New variable.
2387         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2388         (cosh_upward_test_data): New variable.
2389         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2390         (erf_test_data): New variable.
2391         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2392         (erfc_test_data): New variable.
2393         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2394         (exp_test_data): New variable.
2395         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2396         (exp_tonearest_test_data): New variable.
2397         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2398         (exp_towardzero_test_data): New variable.
2399         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2400         (exp_downward_test_data): New variable.
2401         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2402         (exp_upward_test_data): New variable.
2403         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2404         (exp10_test_data): New variable.
2405         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2406         (exp2_test_data): New variable.
2407         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2408         (expm1_test_data): New variable.
2409         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2410         (fabs_test_data): New variable.
2411         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2412         (floor_test_data): New variable.
2413         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2414         (j0_test_data): New variable.
2415         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2416         (j1_test_data): New variable.
2417         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2418         (log_test_data): New variable.
2419         (log_test): Run tests with RUN_TEST_LOOP_f_f.
2420         (log10_test_data): New variable.
2421         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2422         (log1p_test_data): New variable.
2423         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2424         (log2_test_data): New variable.
2425         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2426         (logb_test_data): New variable.
2427         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2428         (logb_downward_test_data): New variable.
2429         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2430         (nearbyint_test_data): New variable.
2431         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2432         (rint_test_data): New variable.
2433         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2434         (rint_tonearest_test_data): New variable.
2435         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2436         (rint_towardzero_test_data): New variable.
2437         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2438         (rint_downward_test_data): New variable.
2439         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2440         (rint_upward_test_data): New variable.
2441         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2442         (round_test_data): New variable.
2443         (round_test): Run tests with RUN_TEST_LOOP_f_f.
2444         (sin_test_data): New variable.
2445         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2446         (sin_tonearest_test_data): New variable.
2447         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2448         (sin_towardzero_test_data): New variable.
2449         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2450         (sin_downward_test_data): New variable.
2451         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2452         (sin_upward_test_data): New variable.
2453         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2454         (sinh_test_data): New variable.
2455         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2456         (sinh_tonearest_test_data): New variable.
2457         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2458         (sinh_towardzero_test_data): New variable.
2459         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2460         (sinh_downward_test_data): New variable.
2461         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2462         (sinh_upward_test_data): New variable.
2463         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2464         (sqrt_test_data): New variable.
2465         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2466         (tan_test_data): New variable.
2467         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2468         (tan_tonearest_test_data): New variable.
2469         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2470         (tan_towardzero_test_data): New variable.
2471         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2472         (tan_downward_test_data): New variable.
2473         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2474         (tan_upward_test_data): New variable.
2475         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2476         (tanh_test_data): New variable.
2477         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2478         (tgamma_test_data): New variable.
2479         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2480         (trunc_test_data): New variable.
2481         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2482         (y0_test_data): New variable.
2483         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2484         (y1_test_data): New variable.
2485         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2486         (significand_test_data): New variable.
2487         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2489 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
2491         [BZ #12387]
2492         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2494 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2496         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2498 2013-05-10  Andreas Jaeger  <aj@suse.de>
2500         [BZ #15448]
2501         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2502         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2504 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
2506         * math/gen-libm-test.pl (adjust_arg): New function.
2507         (special_functions): Handle generating output in both functions
2508         and arrays.
2509         (parse_args): Likewise.
2510         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
2511         $in_func argument to parse_args.
2512         * math/libm-test.inc (struct test_f_f_data): New type.
2513         (IF_ROUND_INIT_): New macro.
2514         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2515         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2516         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2517         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2518         (ROUND_RESTORE_): Likewise.
2519         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2520         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2521         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2522         (ROUND_RESTORE_FE_UPWARD): Likewise.
2523         (RUN_TEST_LOOP_f_f): New macro.
2524         (acos_test_data): New variable.
2525         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2526         (acos_tonearest_test_data): New variable.
2527         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2529 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2531         * benchtests/bench-skeleton.c (startup): Fix coding style.
2533 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
2535         [BZ #6809]
2536         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2537         negative infinity argument.
2538         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2539         negative infinity argument.
2540         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2541         negative infinity argument.
2542         * math/libm-test.inc (tgamma_test): Expect errno to be set for
2543         domain errors.
2545 2013-05-10  Florian Weimer  <fweimer@redhat.com>
2547         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2548         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2549         * iconv/iconv_prog.c (main): Likewise.
2550         * locale/programs/charmap-dir.c (charmap_readdir)
2551         (fopen_uncompressed): Likewise.
2552         * locale/programs/locfile.c (siblings_uncached)
2553         (write_locale_data): Use lstat64 instead of lstat.
2554         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2555         stat.
2557 2013-05-10  Andreas Jaeger  <aj@suse.de>
2559         [BZ #15395]
2560         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2561         localization.
2562         Include <locale.h>.
2564 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
2566         * elf/dl-close.c (_dl_close_worker): Add comments.
2568 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
2570         [BZ #15359]
2571         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2572         high part of pi/2.
2573         (__ieee754_rem_pio2l): Update comments.
2575         [BZ #15429]
2576         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2577         high part of pi/2.
2578         (__ieee754_rem_pio2l): Update comments.
2580         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2581         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2583         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2584         M_PI_4l.
2586         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2587         (M_PI_34_LOG10El): Likewise.
2588         (M_PI2_LOG10El): Likewise.
2589         (M_PI4_LOG10El): Likewise.
2590         (M_PI_LOG10El): Likewise.
2592 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2596 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
2598         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2599         (MINUS_ZERO_INIT): Likewise.
2600         (PLUS_INFTY_INIT): Likewise.
2601         (MINUS_INFTY_INIT): Likewise.
2602         (QNAN_VALUE_INIT): Likewise.
2603         (MAX_VALUE_INIT): Likewise.
2604         (MIN_VALUE_INIT): Likewise.
2605         (MIN_SUBNORM_VALUE_INIT): Likewise.
2606         (plus_zero): Initialize with PLUS_ZERO_INIT.
2607         (minus_zero): Initialize with MINUS_ZERO_INIT.
2608         (plus_infty): Initialize with PLUS_INFTY_INIT.
2609         (minus_infty): Initialize with MINUS_INFTY_INIT.
2610         (qnan_value): Initialize with QNAN_VALUE_INIT.
2611         (max_value): Initialize with MAX_VALUE_INIT.
2612         (min_value): Initialize with MIN_VALUE_INIT.
2613         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2615         * math/libm-test.inc (RUN_TEST_if_f): New macro.
2616         (jn_test): Use TEST_if_f instead of TEST_ff_f.
2617         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2618         (yn_test): Use TEST_if_f instead of TEST_ff_f.
2620         * math/libm-test.inc (RUN_TEST_f_f): New macro.
2621         (RUN_TEST_2_f): Likewise.
2622         (RUN_TEST_ff_f): Likewise.
2623         (RUN_TEST_fi_f): Likewise.
2624         (RUN_TEST_fl_f): Likewise.
2625         (RUN_TEST_fff_f): Likewise.
2626         (RUN_TEST_c_f): Likewise.
2627         (RUN_TEST_f_f1): Likewise.
2628         (RUN_TEST_fF_f1): Likewise.
2629         (RUN_TEST_fI_f1): Likewise.
2630         (RUN_TEST_ffI_f1): Likewise.
2631         (RUN_TEST_c_c): Likewise.
2632         (RUN_TEST_cc_c): Likewise.
2633         (RUN_TEST_f_i): Likewise.
2634         (RUN_TEST_f_i_tg): Likewise.
2635         (RUN_TEST_ff_i_tg): Likewise.
2636         (RUN_TEST_f_b): Likewise.
2637         (RUN_TEST_f_b_tg): Likewise.
2638         (RUN_TEST_f_l): Likewise.
2639         (RUN_TEST_f_L): Likewise.
2640         (RUN_TEST_sincos): Likewise.
2641         * math/gen-libm-test.pl (new_test): Take new argument to indicate
2642         whether to show exceptions.  Do not include ");\n" in return
2643         value.
2644         (special_functions): Output call to RUN_TEST_sincos instead of
2645         check_float calls.  Update calls to new_test.
2646         (parse_args): Output call to single RUN_TEST_* macro instead of
2647         check_* calls and other assignments.  Update calls to new_test.
2649         [BZ #2546]
2650         [BZ #2560]
2651         [BZ #5159]
2652         [BZ #15426]
2653         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2654         input to result for tgamma overflow.
2655         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2656         (gamma_coeff): New variable.
2657         (NCOEFF): New macro.
2658         (gamma_positive): New function.
2659         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2660         underflow here.  Use gamma_positive instead of exp (lgamma) for
2661         other arguments.
2662         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2663         (gamma_coeff): New variable.
2664         (NCOEFF): New macro.
2665         (gammaf_positive): New function.
2666         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2667         underflow here.  Use gamma_positive instead of exp (lgamma) for
2668         other arguments.
2669         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2670         (gamma_coeff): New variable.
2671         (NCOEFF): New macro.
2672         (gammal_positive): New function.
2673         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2674         underflow here.  Use gamma_positive instead of exp (lgamma) for
2675         other arguments.
2676         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2677         (gamma_coeff): New variable.
2678         (NCOEFF): New macro.
2679         (gammal_positive): New function.
2680         (__ieee754_gammal_r): Handle positive infinity, overflow and
2681         underflow here.  Handle NaN the same as positive infinity.  Remove
2682         check x < 0xffffffff for negative integers.  Use gamma_positive
2683         instead of exp (lgamma) for other arguments.
2684         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2685         (gamma_coeff): New variable.
2686         (NCOEFF): New macro.
2687         (gammal_positive): New function.
2688         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2689         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2690         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2691         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2692         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2693         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2694         * sysdeps/generic/math_private.h (__gamma_productf): New
2695         prototype.
2696         (__gamma_product): Likewise.
2697         (__gamma_productl): Likewise.
2698         * math/Makefile (libm-calls): Add gamma_product.
2699         * math/libm-test.inc (tgamma_test): Add more tests.
2700         * sysdeps/i386/fpu/libm-test-ulps: Update.
2701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2703 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
2705         * benchtests/bench-skeleton.c (main): Preheat CPU.
2707 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
2709         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2711 2013-05-07  Roland McGrath  <roland@hack.frob.com>
2713         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2714         and _dl_skip_args_internal.
2716 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
2718         * manual/message.texi (Message Translation): Talk about users.
2719         Message to key mapping impacts design.
2721 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2723         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2725         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2727         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2728         * sysdeps/wordsize-64/glob64.c: ... here.
2730         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2731         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2732         New macros.
2734         * debug/getlogin_r_chk.c: Moved to ...
2735         * login/getlogin_r_chk.c: ... here.
2736         * debug/Makefile (routines): Move getlogin_r_chk to ...
2737         * login/Makefile (routines): ... here.
2738         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2739         * login/Versions (libc: GLIBC_2.4): ... here.
2741         * io/poll.c (__poll): Renamed from poll.
2742         Add libc_hidden_def.
2743         (poll): Define as weak alias.
2745         * debug/ptsname_r_chk.c: Moved to ...
2746         * login/ptsname_r_chk.c: ... here.
2747         * debug/Makefile (routines): Move ptsname_r_chk to ...
2748         * login/Makefile (routines): ... here.
2749         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2750         * login/Versions (libc: GLIBC_2.4): ... here.
2752         * posix/getlogin.c: Moved to ...
2753         * login/getlogin.c: ... here.
2754         * posix/getlogin_r.c: Moved to ...
2755         * login/getlogin_r.c: ... here.
2756         * posix/getlogin_r.c: Moved to ...
2757         * login/getlogin_r.c: ... here.
2758         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2759         * login/Makefile (routines): ... here.
2760         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2761         * login/Versions (libc: GLIBC_2.0): ... here.
2763         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2764         (setrlimit): Define as weak alias.
2766         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2767         Call __ names for open, ftruncate, and close.
2768         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2769         (truncate): Define as weak alias.
2771 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
2773         * math/gen-libm-test.pl (parse_args): Initialize x before each
2774         test of frexp, modf and remquo.
2776         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2777         test signgam value.
2779 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2781         [BZ #15418]
2782         [BZ #15419]
2783         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2784         internal tests.
2785         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2787 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2789         * elf/dl-writev.h: New file.
2790         * elf/dl-misc.c: Include it.
2791         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2792         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2794 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
2796         * math/libm-test.inc (noXFails): Remove variable.
2797         (noXPasses): Likewise.
2798         (BUILD_COMPLEX_INT): Remove macro.
2799         (print_screen): Remove xfail argument.
2800         (print_screen_max_error): Likewise.
2801         (update_stats): Likewise.
2802         (print_max_error): Likewise.  Update calls to other affected
2803         functions.
2804         (print_complex_max_error): Likewise.
2805         (test_single_exception): Update calls to print_screen.
2806         (test_single_errno): Likewise.
2807         (check_float_internal): Remove xfail argument.  Update calls to
2808         other affected functions.
2809         (check_float): Likewise.
2810         (check_complex): Likewise.
2811         (check_int): Likewise.
2812         (check_long): Likewise.
2813         (check_bool): Likewise.
2814         (check_longlong): Likewise.
2815         (main): Don't print noXFails and noXPasses.
2816         * math/gen-libm-test.pl (top level): Don't mention expected
2817         failure handling in comment.
2818         (new_test): Don't handle expected failures.
2819         (parse_args): Don't mention expected failure handling in comment.
2820         (generate_testfile): Don't handle expected failures.
2821         (parse_ulps): Likewise.
2822         (print_ulps_file): Likewise.
2823         (get_failure): Remove function.
2824         (output_test): Don't handle expected failures.
2825         * make/README.libm-test: Don't mention expected failure handling.
2827         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
2828         (minus_zero): Likewise.
2829         (plus_infty): Likewise.
2830         (minus_infty): Likewise.
2831         (qnan_value): Likewise.
2832         (max_value): Likewise.
2833         (min_value): Likewise.
2834         (min_subnorm_value): Likewise.
2835         (initialize): Do not initialize those variables dynamically.
2837 2013-05-03  Roland McGrath  <roland@hack.frob.com>
2839         * io/open.c (__open_2): Moved to ...
2840         * io/open_2.c: ... this new file.
2841         * io/open64.c (__open64_2): Moved to ...
2842         * io/open64_2.c: ... this new file.
2843         * io/openat.c (__openat_2): Moved to ...
2844         * io/openat_2.c: ... this new file.
2845         * io/openat64.c (__openat64_2): Moved to ...
2846         * io/openat64_2.c: ... this new file.
2847         * io/Makefile (routines): Add them.
2848         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2849         * sysdeps/unix/sysv/linux/open_2.c: File removed.
2850         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2851         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2852         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2853         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2854         (__openat64): Add hidden_ver.
2855         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2856         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2858         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2859         Separately conditionalize setting of GLRO(dl_sysinfo) so
2860         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2861         as well, but the actual setting is only under [NEED_DL_SYSINFO].
2863 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2865         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2866         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2867         definition.
2868         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2869         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2870         (_libc_vdso_platform_setup): Add __vdso_time initialization.
2871         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2872         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2874 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
2876         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2877         test signgam value.
2879         * math/libm-test.inc (hypot_test): Do not use
2880         IGNORE_ZERO_INF_SIGN.
2882 2013-05-03  Andreas Jaeger  <aj@suse.de>
2884         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2885         Linux 3.9.
2886         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2887         (PF_MAX): Adjust for VSOCK change.
2889 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2893 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
2895         [BZ #15264]
2896         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2897         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2898         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2900 2013-05-02  David S. Miller  <davem@davemloft.net>
2902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2904 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
2906         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2908 2013-05-01  Roland McGrath  <roland@hack.frob.com>
2910         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2912 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
2914         [BZ #14952]
2915         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2916         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2917         Use __attribute__ ((__gnu_inline__)).
2918         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2919         Don't use __attribute__ ((__gnu_inline__)).
2921 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
2923         [BZ #15423]
2924         * math/s_catan.c (__catan): Handle small real or imaginary part of
2925         input specially to avoid spurious underflow.
2926         * math/s_catanf.c (__catanf): Likewise.
2927         * math/s_catanh.c (__catanh): Likewise.
2928         * math/s_catanhf.c (__catanhf): Likewise.
2929         * math/s_catanhl.c (__catanhl): Likewise.
2930         * math/s_catanl.c (__catanl): Likewise.
2931         * math/libm-test.inc (catan_test): Add more tests.
2932         (catanh_test): Likewise.
2933         * sysdeps/i386/fpu/libm-test-ulps: Update.
2934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2936 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2940 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
2942         [BZ #15416]
2943         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2944         accurately for denominator in atan2.
2945         * math/s_catanf.c (__catanf): Likewise.
2946         * math/s_catanh.c (__catanh): Likewise.
2947         * math/s_catanhf.c (__catanhf): Likewise.
2948         * math/s_catanhl.c (__catanhl): Likewise.
2949         * math/s_catanl.c (__catanl): Likewise.
2950         * math/libm-test.inc (catan_test): Add more tests.
2951         (catanh_test): Likewise.
2952         * sysdeps/i386/fpu/libm-test-ulps: Update.
2953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2955 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2957         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2959         * benchtests/Makefile (bench): Remove slow benchmarks.
2960         * benchtests/atan-inputs: Add slow benchmark inputs.
2961         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2962         (BENCH_FUNC): Accept variant offset.
2963         (VARIANT): Define.
2964         * benchtests/bench-skeleton.c (main): Run benchmark for each
2965         variant.
2966         * benchtests/cos-inputs: Add slow benchmark inputs.
2967         * benchtests/exp-inputs: Likewise.
2968         * benchtests/pow-inputs: Likewise.
2969         * benchtests/sin-inputs: Likewise.
2970         * benchtests/slowatan-inputs: Remove.
2971         * benchtests/slowatan.c: Remove.
2972         * benchtests/slowcos-inputs: Remove.
2973         * benchtests/slowcos.c: Remove.
2974         * benchtests/slowexp-inputs: Remove.
2975         * benchtests/slowexp.c: Remove.
2976         * benchtests/slowpow-inputs: Remove.
2977         * benchtests/slowpow.c: Remove.
2978         * benchtests/slowsin-inputs: Remove.
2979         * benchtests/slowsin.c: Remove.
2980         * benchtests/slowtan-inputs: Remove.
2981         * benchtests/slowtan.c: Remove.
2982         * benchtests/tan-inputs: Add slow benchmark inputs.
2983         * scripts/bench.pl: Parse comments and directives.
2985         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
2986         in CPPFLAGS.
2987         ($(objpfx)bench-%.c): Remove *-ITER.
2988         * benchtests/bench-modf.c: Remove definition of ITER.
2989         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2990         (main): Loop for DURATION seconds instead of fixed number of
2991         iterations.
2992         * scripts/bench.pl: Don't expect iterations in parameters.
2994 2013-04-29  Roland McGrath  <roland@hack.frob.com>
2996         * io/fchdir.c (__fchdir): Renamed from fchdir.
2997         (fchdir): Define as weak alias.
2999 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3001         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3002         (ERRNO_EDOM): Likewise.
3003         (ERRNO_ERANGE): Likewise.
3004         (noErrnoTests): New variable.
3005         (init_max_error): Set errno to 0.
3006         (test_single_errno): New function.
3007         (test_errno): Likewise.
3008         (check_float_internal): Call test_errno.  Set errno to 0.
3009         (check_complex): Refer to errno tests in comment.
3010         (check_int): Call test_errno.  Set errno to 0.
3011         (check_long): Likewise.
3012         (check_bool): Likewise.
3013         (check_longlong): Likewise.
3014         (cos_test): Use ERRNO_* flags for errno tests instead of
3015         check_int.
3016         (expm1_test): Likewise.
3017         (fmod_test): Likewise.
3018         (ilogb_test): Likewise.
3019         (lgamma_test): Likewise.
3020         (pow_test): Likewise.
3021         (remainder_test): Likewise.
3022         (sin_test): Likewise.
3023         (tan_test): Likewise.
3024         (yn_test): Likewise.
3025         (initialize): Set errno to 0.
3026         (main): Print number of errno tests.
3027         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3029 2013-04-29  Andreas Jaeger  <aj@suse.de>
3031         [BZ #15084]
3032         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3033         and RES_USEVC.
3035         [BZ #15085]
3036         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3037         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3038         unimplemented.
3040         [BZ #15380]
3041         * stdlib/random.c (__initstate): Return NULL if
3042         __initstate fails.
3044         [BZ #15086]
3045         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3046         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3047         RES_SNGLKUPREOP.
3049 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3053 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3055         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3056         of individual tests.
3057         (casin_test): Likewise.
3058         (casinh_test): Likewise.
3060 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
3062         [BZ #15409]
3063         * math/s_catan.c (__catan): Handle arguments with large real or
3064         imaginary part separately without squaring.
3065         * math/s_catanf.c (__catanf): Likewise.
3066         * math/s_catanh.c (__catanh): Likewise.
3067         * math/s_catanhf.c (__catanhf): Likewise.
3068         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3069         and redefine.
3070         (__catanhl): Handle arguments with large real or imaginary part
3071         separately without squaring.
3072         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3073         and redefine.
3074         (__catanl): Handle arguments with large real or imaginary part
3075         separately without squaring.
3076         * math/libm-test.inc (catan_test): Add more tests.
3077         (catanh_test): Likewise.
3078         * sysdeps/i386/fpu/libm-test-ulps: Update.
3079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3081 2013-04-27  Andreas Jaeger  <aj@suse.de>
3083         [BZ #15007]
3084         * stdlib/stdlib.h: Update guards for qecvt.
3085         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3086         <stdlib.h>.
3088 2013-04-27  Allan McRae  <allan@archlinux.org>
3090         * sysdeps/i386/fpu/libm-test-ulps: Update.
3092 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
3094         [BZ #15406]
3095         * math/s_catan.c: Include <float.h>.
3096         (__catan): Ensure underflow exception occurs for underflowed
3097         result.
3098         * math/s_catanf.c: Include <float.h>.
3099         (__catanf): Ensure underflow exception occurs for underflowed
3100         result.
3101         * math/s_catanh.c: Include <float.h>.
3102         (__catanh): Ensure underflow exception occurs for underflowed
3103         result.
3104         * math/s_catanhf.c: Include <float.h>.
3105         (__catanhf): Ensure underflow exception occurs for underflowed
3106         result.
3107         * math/s_catanhl.c: Include <float.h>.
3108         (__catanhl): Ensure underflow exception occurs for underflowed
3109         result.
3110         * math/s_catanl.c: Include <float.h>.
3111         (__catanl): Ensure underflow exception occurs for underflowed
3112         result.
3113         * math/libm-test.inc (catan_test): Add more tests.
3114         (catanh_test): Likewise.
3116         [BZ #15405]
3117         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3118         underflowed result.
3119         * math/s_ccoshf.c (__ccoshf): Likewise.
3120         * math/s_ccoshl.c (__ccoshl): Likewise.
3121         * math/s_csin.c (__csin): Likewise.
3122         * math/s_csinf.c (__csinf): Likewise.
3123         * math/s_csinh.c (__csinh): Likewise.
3124         * math/s_csinhf.c (__csinhf): Likewise.
3125         * math/s_csinhl.c (__csinhl): Likewise.
3126         * math/s_csinl.c (__csinl): Likewise.
3127         * math/libm-test.inc (ccos_test): Add more tests.
3128         (ccosh_test): Likewise.
3129         (csin_test): Likewise.
3130         (csinh_test): Likewise.
3132 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3134         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3135         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3136         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3137         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3138         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3139         powerpc/power5+/fpu folders.
3140         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3143 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3147 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
3149         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3150         additions to variable.
3151         [$(config-machine) = x86_64] (modules-names): Likewise.
3152         ($(objpfx)tst-audit3): Remove dependency.
3153         ($(objpfx)tst-audit3.out): Likewise.
3154         ($(objpfx)tst-audit4): Likewise.
3155         ($(objpfx)tst-audit4.out): Likewise.
3156         ($(objpfx)tst-audit5): Likewise.
3157         ($(objpfx)tst-audit5.out): Likewise.
3158         ($(objpfx)tst-audit6): Likewise.
3159         ($(objpfx)tst-audit6.out): Likewise.
3160         ($(objpfx)tst-audit7): Likewise.
3161         ($(objpfx)tst-audit7.out): Likewise.
3162         (tst-audit3-ENV): Remove variable.
3163         (tst-audit4-ENV): Likewise.
3164         (tst-audit5-ENV): Likewise.
3165         (tst-audit6-ENV): Likewise.
3166         (tst-audit7-ENV): Likewise.
3167         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3168         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3169         addition to variable.
3170         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3171         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3172         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3173         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3174         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3175         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3176         tst-audit3, tst-audit4 and tst-audit5.
3177         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3178         tst-audit6 and tst-audit7.
3179         [$(subdir) = elf] (modules-names): Add audit modules for those
3180         tests.
3181         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3182         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3183         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3184         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3185         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3186         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3187         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3188         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3189         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3190         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3191         [$(subdir) = elf] (tst-audit3-ENV): New variable.
3192         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3193         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3194         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3195         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3196         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3197         Likewise.
3198         [$(subdir) = elf && $(config-cflags-avx) = yes]
3199         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3200         [$(subdir) = elf && $(config-cflags-avx) = yes]
3201         (CFLAGS-tst-auditmod4a.c): Likewise.
3202         [$(subdir) = elf && $(config-cflags-avx) = yes]
3203         (CFLAGS-tst-auditmod4b.c): Likewise.
3204         [$(subdir) = elf && $(config-cflags-avx) = yes]
3205         (CFLAGS-tst-auditmod6b.c): Likewise.
3206         [$(subdir) = elf && $(config-cflags-avx) = yes]
3207         (CFLAGS-tst-auditmod6c.c): Likewise.
3208         [$(subdir) = elf && $(config-cflags-avx) = yes]
3209         (CFLAGS-tst-auditmod7b.c): Likewise.
3210         * elf/tst-audit3.c: Move to ...
3211         * sysdeps/x86_64/tst-audit3.c: ... here.
3212         * elf/tst-audit4.c: Move to ...
3213         * sysdeps/x86_64/tst-audit4.c: ... here.
3214         * elf/tst-audit5.c: Move to ...
3215         * sysdeps/x86_64/tst-audit5.c: ... here.
3216         * elf/tst-audit6.c: Move to ...
3217         * sysdeps/x86_64/tst-audit6.c: ... here.
3218         * elf/tst-audit7.c: Move to ...
3219         * sysdeps/x86_64/tst-audit7.c: ... here.
3220         * elf/tst-auditmod3a.c: Move to ...
3221         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3222         * elf/tst-auditmod3b.c: Move to ...
3223         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3224         * elf/tst-auditmod4a.c: Move to ...
3225         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3226         * elf/tst-auditmod4b.c: Move to ...
3227         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3228         * elf/tst-auditmod5a.c: Move to ...
3229         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3230         * elf/tst-auditmod5b.c: Move to ...
3231         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3232         * elf/tst-auditmod6a.c: Move to ...
3233         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3234         * elf/tst-auditmod6b.c: Move to ...
3235         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3236         * elf/tst-auditmod6c.c: Move to ...
3237         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3238         * elf/tst-auditmod7a.c: Move to ...
3239         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3240         * elf/tst-auditmod7b.c: Move to ...
3241         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3243 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
3245         [BZ #15366]
3246         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3247         define unconditionally.
3248         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3249         define unconditionally.
3250         (INT8_C, INT16_C, etc.): Likewise.
3252 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
3254         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3255         __ehdr_start with hidden visibility.
3257         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3259 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
3261         * math/libm-test.inc (cos_test): Use accurate hex constants.
3262         (sincost_test): Likewise.
3264 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
3266         * math/libm-test.inc (catan_test): Add more tests.
3267         (catanh_test): Likewise.
3269         * math/s_catanf.c (__catanf): Use suffixed floating-point
3270         constants.
3271         * math/s_catanhf.c (__catanhf): Likewise.
3272         * math/s_catanhl.c (__catanhl): Likewise.
3273         * math/s_catanl.c (__catanl): Likewise.
3275         [BZ #15394]
3276         * math/s_catan.c (__catan): Calculate imaginary part of result
3277         with log1p not log unless computing log of number close to 0.
3278         * math/s_catanf.c (__catanf): Likewise.
3279         * math/s_catanl.c (__catanl): Likewise.
3280         * math/s_catanh.c (__catanh): Calculate real part of result with
3281         log1p not log unless computing log of number close to 0.
3282         * math/s_catanhf.c (__catanhf): Likewise.
3283         * math/s_catanhl.c (__catanhl): Likewise.
3284         * math/libm-test.inc (catan_test): Add more tests.
3285         (catanh_test): Likewise.
3286         * sysdeps/i386/fpu/libm-test-ulps: Update.
3287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3289 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3291         * benchtests/Makefile: Mention files in which fast and slow
3292         paths of math functions are implemented.
3294 2013-04-23  Roland McGrath  <roland@hack.frob.com>
3296         * sysdeps/posix/timespec_get.c: New file.
3298 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3300         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3301         POWER.
3302         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3303         for POWER.
3304         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3305         powerpc/power5/fpu folders.
3306         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3307         * benchtests/Makefile: Add modf testcase.
3308         * benchtests/bench-modf.c: New file: Benchmark test for mo
3310 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3312         [BZ #14888]
3313         * time/Makefile (tests): Add tst-strptime-whitespace.
3314         * time/strptime_l.c (get_number): Use ISSPACE.
3315         (__strptime_internal): Likewise.
3316         * time/tst-strptime-whitespace.c: New test case.
3318 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
3320         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3321         member.
3322         (_nss_files_init): Set it here.
3324 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
3326         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3327         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3328         unsigned.
3330 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
3332         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3334 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3336         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3337         size just once.
3339 2013-04-21  David S. Miller  <davem@davemloft.net>
3341         * po/ru.po: Update Russion translation from translation project.
3343 2013-04-17  Adam Conrad  <adconrad@0c3.net>
3345         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3346         and setfsgid.
3348 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
3350         * configure.in: Remove i386 configure warning. Remove i386 case.
3351         * configure: Regenerate.
3352         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3353         Add example to error message.
3354         * sysdeps/i386/configure: Regenerate.
3356 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3358         * benchtests/Makefile (bench): Add cos, tan, slowcos and
3359         slowtan.
3360         * benchtests/cos-inputs: New file.
3361         * benchtests/slowcos-inputs: New file.
3362         * benchtests/slowcos.c: New file.
3363         * benchtests/slowtan-inputs: New file.
3364         * benchtests/slowtan.c: New file.
3365         * benchtests/tan-inputs: New file.
3367 2013-04-16  Roland McGrath  <roland@hack.frob.com>
3369         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3370         considered kosher.
3372 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3374         * benchtests/Makefile: Include cppflags-iterator.mk to add
3375         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3377         * Makefile.in (bench-clean): New target.
3378         * benchtests/Makefile (bench-clean): Likewise.
3380 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
3382         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3384 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
3386         * stdio-common/tstdiomisc.c: Fix coding-style violation.
3388 2013-04-15  Andreas Schwab  <schwab@suse.de>
3390         * nscd/grpcache.c (cache_addgr): Properly check for short write.
3391         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3392         * nscd/pwdcache.c (cache_addpw): Likewise.
3393         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
3394         more than recsize.
3396 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3398         * benchtests/Makefile (bench): Write all output to
3399         bench-out.tmp together.
3401 2013-04-15  Andreas Schwab  <schwab@suse.de>
3403         * nscd/nscd.c (main): Don't fork again after closing files.
3405 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3407         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3409         * benchtests/Rules (bench-deps): Collect dependencies into a
3410         single variable.  Add Makefile to dependencies.
3411         ($(objpfx)bench-%.c): Depend on bench-deps.
3413 2013-04-12  Roland McGrath  <roland@hack.frob.com>
3414             Xavier Roche  <roche+kml2@exalead.com>
3416         [BZ #15361]
3417         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3418         just that it's a file descriptor.
3419         * manual/llio.texi (Synchronizing AIO Operations): Update description
3420         for EBADF error from aio_fsync.
3422 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3424         * Rules (bench): Move target definition...
3425         * benchtests/Makefile: ... here.
3427 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
3429         * math/libm-test.inc (cos_test): Fix PI/2 test.
3430         (sincos_test): Likewise.
3431         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3432         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3434 2013-04-11  Andreas Schwab  <schwab@suse.de>
3436         [BZ #13988]
3437         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3438         accept exponent character only when digits were seen.
3439         * stdio-common/Makefile (tests): Add bug26.
3440         * stdio-common/bug26.c: New file.
3442         [BZ #14293]
3443         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3444         non-freeable.
3446 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3448         * Makeconfig (rtld-prefix): Define built linker prefix.
3449         * Rules (run-bench): Use it.
3450         * math/Makefile (run-regen-ulps): Likewise.
3452         * Rules (bench): Remove eval.
3454 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3455             Roland McGrath  <roland@hack.frob.com>
3456             Ondrej Bilka  <neleai@seznam.cz>
3458         [BZ #15346]
3459         * time/getdate.c: Include ctype.h and alloca.h.
3460         (__getdate_r): Trim leading and trailing spaces of input.
3461         * time/tst-getdate.c (tests): Add tests with leading and
3462         trailing spaces.
3464 2013-04-08  Roland McGrath  <roland@hack.frob.com>
3466         [BZ #14280]
3467         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3468         when computing value.
3470 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3472         * math/README.libm-test (How can I generate "libm-test-ulps"?):
3473         Use testrun.sh to run libm tests.
3475         [BZ #15309]
3476         * elf/dl-open.c (dl_open_worker): memset all of seen array.
3478 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
3480         [BZ #15264]
3481         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3483 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3485         * Makefile.in (regen-ulps): New target.
3486         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3487         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3488         [ifneq (no,$(PERL)] (regen-ulps): New target.
3489         [ifeq (no,$(PERL)] (regen-ulps): New target.
3490         * math/libm-test.inc (ulps_file_name): Define.
3491         (output_dir): New variable.
3492         (options): Add "output-dir" option.
3493         (parse_opt): Handle 'o' case.
3494         (main): If output_dir is non-NULL use it as a prefix
3495         otherwise use "".
3496         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3498 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3500         [BZ #10060, #10062]
3501         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3502         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3503         fail configure if __sync_val_compare_and_swap is not inlined.
3504         * sysdeps/i386/configure: Regenerate.
3505         * configure.in: Build for i686 when configured for i386.
3506         * configure: Regenerate.
3507         * README: Remove i386 reference.
3509 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3511         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3512         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3514 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
3516         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3517         (lmsnanval): New variables.
3518         (F): Add conversion tests.
3519         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3520         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3522         * stdio-common/tstdiomisc.c (F): Properly collect individual
3523         tests' results.
3525         [BZ #14686, #15336]
3526         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3527         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3528         Instead, use input NaN values or generate a qNaN by arithmetic
3529         operation.  Also fix bugs to comply with the standard.
3530         * math/libm-test.inc (remainder_test): Add more tests.
3532         [BZ #15335, #15342]
3533         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3534         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3535         input NaN values or generate a qNaN by arithmetic operation.
3537         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3538         unreachable code.
3540         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3541         definitions.
3543 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
3545         [BZ #14478]
3546         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3547         underflowed result.
3548         * math/s_cexpf.c (__cexpf): Likewise.
3549         * math/s_cexpl.c (__cexpl): Likewise.
3550         * math/libm-test.inc (cexp_test): Add more tests.
3552 2013-04-03  Andreas Schwab  <schwab@suse.de>
3554         [BZ #15330]
3555         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3556         order arrays from heap if bigger than alloca cutoff.
3558 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
3560         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3561         (SNAN_TESTS_double): Refer to GCC PR56831.
3562         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3563         GCC PR56828.
3565 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3567         * Rules (bench): Move bench.out after the run is complete.
3569         * Rules (bench): Echo currently running benchmark.
3571         * benchtests/Makefile (bench): Add atan and slowatan.
3572         * benchtests/atan-inputs: New file.
3573         * benchtests/slowatan-inputs: New file.
3574         * benchtests/slowatan.c: New file.
3576         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3577         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3578         its value.
3580         [BZ #15305]
3581         * sysdeps/unix/sysv/linux/kernel-features.h
3582         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3583         __ASSUME_XFS_RESTRICTED_CHOWN.
3584         * sysdeps/unix/sysv/linux/pathconf.c
3585         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3586         Save and restore errno.
3588 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
3590         [BZ #15327]
3591         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3592         arguments using __kernel_casinh.
3593         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3594         arguments using __kernel_casinhf.
3595         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3596         arguments using __kernel_casinhl.
3597         * math/libm-test.inc (cacosh_test): Add more tests.
3598         * sysdeps/i386/fpu/libm-test-ulps: Update.
3599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3601 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3603         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3606         * bench/Makefile (bench): Add sin and slowsin.
3607         * benchtests/sin-inputs: New file.
3608         * benchtests/slowsin-inputs: New file.
3609         * benchtests/slowsin.c: New file.
3611         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3612         (bench): Add slowexp and slowpow.
3613         (exp-ITER): Increase iterations.
3614         (pow-ITER): Likewise.
3615         * benchtests/exp-inputs: Change input.
3616         * benchtests/pow-inputs: Likewise.
3617         * benchtests/slowexp-inputs: New file.
3618         * benchtests/slowexp.c: New file.
3619         * benchtests/slowpow-inputs: New file.
3620         * benchtests/slowpow.c: New file.
3622 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3624         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3625         instructions.
3626         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3627         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3628         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3629         * benchtests/Makefile: Add rint benchtest.
3630         * benchtests/rint-inputs: Input for rint benchtest.
3632 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
3634         * Versions.def (libm): Add GLIBC_2.18.
3635         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3636         hidden libm prototypes.
3637         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3638         * math/Makefile (libm-calls): Add s_issignaling.
3639         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3640         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
3641         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3642         declaration.
3643         * math/math.h [__USE_GNU] (issignaling): New macro.
3644         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3645         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3646         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3647         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3648         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3649         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3650         * manual/arith.texi (issignaling): New section.
3651         * manual/libm-err-tab.pl (@all_functions): Update comment.
3652         * math/gen-libm-test.pl (parse_args): Apply special handling for
3653         issignaling.
3654         * math/libm-test.inc (print_float, issignaling_test): New
3655         functions.
3656         (check_float_internal): Add issignaling checks.
3657         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3658         default definition.
3659         * sysdeps/powerpc/math-tests.h: New file.
3660         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3661         tests.
3662         * math/test-snan.c (TEST_FUNC): Likewise.
3664 2013-03-30  David S. Miller  <davem@davemloft.net>
3666         * po/de.po: Update from translation team.
3668 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
3670         [BZ #10357]
3671         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3672         imaginary part less than 1.0 and real part less than 0.5
3673         specially.
3674         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3675         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3676         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3677         (cacos_test): Add more tests.
3678         (casin_test): Likewise.
3679         (casinh_test): Likewise.
3680         * sysdeps/i386/fpu/libm-test-ulps: Update.
3681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3683 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3685         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3686         ONE with its value.
3688         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3689         (__pow_mp): Replace ONE and MONE with their values.
3690         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3691         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3692         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3693         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3694         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3695         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3697         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3699         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3700         (__pow_mp): Replace ZERO and MZERO with their values.
3701         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3702         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3703         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3705         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3706         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3707         (__sqr): Likewise.
3709         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3711         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3713 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3715         * include/stdlib.h [!SHARED] (__call_tls_dtors):
3716         Declare with __attribute__ ((weak)).
3717         * stdlib/exit.c (__libc_atexit) [!SHARED]:
3718         Call __call_tls_dtors only if it's not NULL.
3720 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3722         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3723         didn't do it already, then set _dl_phdr and _dl_phnum based on the
3724         magic __ehdr_start linker symbol if it's defined.
3725         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3726         them up here if it was already done.
3728         * elf/dl-support.c (_dl_phdr): Make pointer to const.
3729         (_dl_aux_init): Use const in cast when setting it.
3730         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3731         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3732         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3734         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3735         Declare them here.
3736         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3737         * csu/libc-tls.c: Nor here.
3738         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3740         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3741         (__libc_message): Never call vsyslog.
3743 2013-03-28  Alan Modra  <amodra@gmail.com>
3745         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3746         Define as empty.
3747         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3748         Likewise.
3750 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3752         [BZ #15214]
3753         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3754         underflow.
3755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3757 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3759         [BZ #15304]
3760         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3761         Don't add gid passed as argument.
3763         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3765 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
3767         [BZ #15307]
3768         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3769         imaginary part between 1.0 and 1.5 and real part less than 0.5
3770         specially.
3771         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3772         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3773         * math/libm-test.inc (cacos_test): Add more tests.
3774         (casin_test): Likewise.
3775         (casinh_test): Likewise.
3776         * sysdeps/i386/fpu/libm-test-ulps: Update.
3777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3779 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3781         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3782         constants.
3783         (norm): Likewise.
3784         (denorm): Likewise.
3785         (__dbl_mp): Likewise.
3786         (add_magnitudes): Likewise.
3787         (sub_magnitudes): Likewise.
3788         (__add): Likewise.
3789         (__sub): Likewise.
3790         (__mul): Likewise.
3791         (__sqr): Likewise.
3792         (__inv): Likewise.
3793         (__dvd): Likewise.
3795         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3796         commented code.
3797         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3798         (__dubcos): Likewise.
3799         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3800         (__ieee754_acos): Likewise.
3801         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3802         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3803         (__exp1): Likewise.
3804         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3805         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3806         (log1): Likewise.
3807         (my_log2): Likewise.
3808         (checkint): Likewise.
3809         * sysdeps/ieee754/dbl-64/e_remainder.c
3810         (__ieee754_remainder): Likewise.
3811         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3812         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3813         (bsloww): Likewise.
3814         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3816         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3817         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3818         MANTISSA_STORE_T to store computations on mantissa.  Use
3819         macros for rounding and division.
3820         (denorm): Likewise.
3821         (__dbl_mp): Likewise.
3822         (add_magnitudes): Likewise.
3823         (sub_magnitudes): Likewise.
3824         (__mul): Likewise.
3825         (__sqr): Likewise.
3826         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
3827         powers of two in terms of TWOPOW macro.
3828         (mp_no): Make type of mantissa as MANTISSA_T.
3829         [!RADIXI]: Define RADIXI.
3830         [!TWO52]: Define TWO52.
3831         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3833 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3835         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3836         llroundl symbol when building for PPC32.
3838 2013-03-24  Mark H Weaver  <mhw@netris.org>
3840         * manual/arith.texi (Normalization Functions): Fix prototypes for
3841         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3843 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3845         [BZ #13889]
3846         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3847         high value to check if expl overflow.
3848         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3849         to check for underflow and overflow.
3850         * math/libm-test.inc: Add exp test.
3852 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
3854         [BZ #11120]
3855         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3856         with NOT_IN_libc.
3858 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3860         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3861         symbol.
3863 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3865         * math/gen-libm-test.pl (parse_args, special_functions): Properly
3866         wrap blocks consisting of several statements.
3868         * sysdeps/generic/math-tests.h: New file.
3869         * sysdeps/i386/fpu/math-tests.h: Likewise.
3870         * math/test-snan.c: Include it.
3871         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3873 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
3875         [BZ #15285]
3876         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3877         (__ieee754_j0l): Do not improve calculations using cos of twice
3878         input for inputs above LDBL_MAX / 2.0L.
3879         (__ieee754_y0l): Likewise.
3880         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3881         (__ieee754_j1l): Do not improve calculations using cos of twice
3882         input for inputs above LDBL_MAX / 2.0L.
3883         (__ieee754_y1l): Likewise.
3884         * math/libm-test.inc (j0_test): Add another test.
3885         (j1_test): Likewise.
3886         (y0_test): Likewise.
3887         (y1_test): Likewise.
3888         * sysdeps/i386/fpu/libm-test-ulps: Update.
3890 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3892         * Rules ($(objpfx)bench-%.c): Include code from a C source
3893         file.
3895 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
3897         [BZ #15287]
3898         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3899         imaginary part 1.0 and real part less than 0.5 specially.
3900         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3901         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3902         * math/libm-test.inc (cacos_test): Add more tests.
3903         (casin_test): Likewise.
3904         (casinh_test): Likewise.
3905         * sysdeps/i386/fpu/libm-test-ulps: Update.
3906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3908 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3910         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3911         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3913 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
3915         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3916         * config.make.in (config-cflags-sse4): Remove variable.
3917         (config-cflags-avx): Likewise.
3918         (config-cflags-sse2avx): Likewise.
3919         (config-cflags-novzeroupper): Likewise.
3920         (config-asflags-i686): Likewise.
3921         (have-mfma4): Likewise.
3922         (have-as-vis3): Likewise.
3923         (MIG): Likewise.
3924         * configure.in (MIG): Do not AC_SUBST.
3925         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3926         (libc_cv_cc_sse4): Do not AC_SUBST.
3927         (libc_cv_cc_avx): Likewise.
3928         (libc_cv_cc_sse2avx): Likewise.
3929         (libc_cv_cc_novzeroupper): Likewise.
3930         (libc_cv_cc_fma4): Likewise.
3931         (libc_cv_as_i686): Likewise.
3932         (libc_cv_sparc_as_vis3): Likewise.
3933         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3934         LIBC_CONFIG_VAR.
3935         (config-asflags-i686): Likewise.
3936         (config-cflags-avx): Likewise.
3937         (config-cflags-sse2avx): Likewise.
3938         (have-mfma4): Likewise.
3939         (config-cflags-novzeroupper): Likewise.
3940         * sysdeps/mach/configure.in (MIG): Likewise.
3941         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3942         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3943         LIBC_CONFIG_VAR.
3944         (config-cflags-avx): Likewise.
3945         (config-cflags-sse2avx): Likewise.
3946         (have-mfma4): Likewise.
3947         (config-cflags-novzeroupper): Likewise.
3948         * configure: Regenerated.
3949         * sysdeps/i386/configure: Likewise.
3950         * sysdeps/mach/configure: Likewise.
3951         * sysdeps/sparc/configure: Likewise.
3952         * sysdeps/x86_64/configure: Likewise.
3954 2013-03-20  Roland McGrath  <roland@hack.frob.com>
3956         [BZ #14812]
3957         * locale/programs/localedef.c (options): Put N_ translation marker
3958         on argument names, not just descriptions.
3960 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3962         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3964 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
3966         [BZ #14176]
3967         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3969 2013-03-19  Roland McGrath  <roland@hack.frob.com>
3971         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3972         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3973         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3974         [!BEFORE_ABORT] (before_abort): New function.
3975         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3976         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3977         (writev_for_fatal): New function.
3978         (WRITEV_FOR_FATAL): New macro; call that.
3979         (backtrace_and_maps): New function.
3980         (BEFORE_ABORT): New macro; call that.
3981         (struct str_list): Type removed.
3982         (__libc_message, __libc_fatal): Functions removed.
3983         Include <sysdeps/posix/libc_fatal.c> instead.
3985 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
3987         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3988         constants.
3989         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3990         double constants.
3992 2013-03-19  Andreas Schwab  <schwab@suse.de>
3994         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3995         * sysdeps/gnu/configure: Regenerate.
3997         * configure.in: Substitute libc_cv_rtlddir.
3998         * configure: Regenerate.
3999         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4000         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4001         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4002         * elf/Makefile (install-others, CFLAGS-interp.c)
4003         (ldso_install, common-ldd-rewrite): Likewise.
4004         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4005         $(inst_slibdir)/$(rtld-installed-name).
4006         * scripts/rellns-sh: Add -p option.
4007         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4008         for source.
4010 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4012         * manual/nptl.texi: Renamed to ...
4013         * manual/threads.texi: ... this.
4014         * manual/Makefile (chapters): Update.
4016 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4018         [BZ #14812]
4019         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4020         on argument names, not just descriptions.
4021         * malloc/memusagestat.c (options): Likewise.
4022         * nss/getent.c (options): Likewise.
4024 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4026         [BZ #14812]
4027         * iconv/iconv_prog.c (options): Put N_ translation marker
4028         on argument names, not just descriptions.
4029         * iconv/iconvconfig.c (options): Likewise.
4031 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4033         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4034         implementation which is faster on all x86_64 architectures.
4035         Tested on AMD, Intel Nehalem, SNB, IVB.
4036         * sysdeps/x86_64/strnlen.S: Likewise.
4038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4039         Remove all multiarch strlen and strnlen versions.
4040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4041         Remove strlen and strnlen related parts.
4043         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4044         Inline strlen part.
4045         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4047         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4048         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4049         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4050         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4051         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4052         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4054 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
4056         * manual/memory.texi (Malloc Tunable Parameters):
4057         Sort parameters alphabetically. Add comments for missing entries.
4059 2013-03-17  David S. Miller  <davem@davemloft.net>
4061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4063 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
4065         [BZ #15283]
4066         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4067         for arguments at most half maximum finite value.
4068         * math/libm-test.inc (j0_test): Add more tests.
4069         (j1_test): Likewise.
4070         (y0_test): Likewise.
4071         (y1_test): Likewise.
4072         * sysdeps/i386/fpu/libm-test-ulps: Update.
4073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4075         [BZ #14155]
4076         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4077         1 / x and functions P and Q for arguments above 0x1p256L.
4078         (__ieee754_y0l): Likewise.
4079         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4080         (__ieee754_y1l): Likewise.
4081         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4082         (j1_test): Likewise.
4083         (y0_test): Likewise.
4084         (y1_test): Likewise.
4086 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
4088         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4089         variable.
4091 2013-03-15  Roland McGrath  <roland@hack.frob.com>
4093         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4094         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4095         zero since it's initialized to EXEC_PAGESIZE.
4097         * sysdeps/unix/sysv/linux/ldsodefs.h
4098         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4099         * sysdeps/generic/ldsodefs.h: ... here.
4101 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
4103         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4105         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4106         math/test-snan.c.
4107         * math/test-snan.c: Renamed from
4108         sysdeps/powerpc/fpu/test-powerpc-snan.c.
4109         * math/Makefile (tests): Add test-snan.
4110         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4111         test-powerpc-snan.
4113         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4114         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
4115         functions.
4116         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
4117         __builtin_nan family of functions.
4118         * math/libm-test.inc (initialize): Initialize qnan_value with
4119         __builtin_nan family of functions.
4120         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4121         Remove variables.
4122         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4123         Remove functions.
4124         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
4125         storage class.  Initialize qNaN_var and sNaN_var with
4126         __builtin_nan and __builtin_nans families of functions,
4127         respectively.
4129         * math/libm-test.inc (acosh_test): Also test with qNaN input.
4130         (sqrt_test): Remove duplicate test with qNaN input.
4131         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4132         (round_test, signbit_test, significand_test): Note missing +/-Inf
4133         as well as qNaN tests.
4135         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4136         qNaN_var.  Fix a few strings, too.
4137         * math/libm-test.inc (nan_value): Rename to qnan_value.
4138         * math/gen-libm-test.pl (%beautify): Adjust to that.
4139         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4140         * math/test-misc.c (main): Likewise.
4141         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4142         to __qnan_bytes, and __qnan_union, respectively.
4143         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4144         Likewise.
4145         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4146         and lqnanval, respectively.
4147         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4148         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4149         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4150         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4152         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4153         * math/test-misc.c (main) [__x86_64__]: Enable test for long
4154         doubles.
4156         * math/test-misc.c (main): Fix copy'n'pastos.
4157         * misc/tst-efgcvt.c (special): Likewise.
4159         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4160         Remove declarations.
4162 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4164         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4165         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4166         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4167         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4169 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4171         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4172         macro to return vdso values correctly in IFUNC implementations.
4173         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4174         Optimization by using IFUNC.
4176 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4177             Richard Henderson  <rth@redhat.com>
4178             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4180         * Makefile.in (bench): New target.
4181         * NEWS: Mention the benchmark framework.
4182         * Rules (bench): Likewise.
4183         (binaries-bench): Generate binaries for functions to
4184         benchmark.
4185         * benchtests/Makefile: New makefile for benchmark tests.
4186         * benchtests/bench-skeleton.c: New skeleton file for benchmark
4187         programs.
4188         * benchtests/exp-inputs: New input file for EXP function.
4189         * benchtests/pow-inputs: New input file for POW function.
4190         * scripts/bench.pl: New script to generate source files for
4191         benchmark programs.
4193 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4195         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4196         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4197         computations on mantissa.  Use macros for rounding and
4198         division.
4199         (denorm): Likewise.
4200         (__dbl_mp): Likewise.
4201         (add_magnitudes): Likewise.
4202         (sub_magnitudes): Likewise.
4203         (__mul): Likewise.
4204         (__sqr): Likewise.
4205         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4206         powers of two in terms of TWOPOW macro.
4207         (mp_no): Make type of mantissa as MANTISSA_T.
4208         [!RADIXI]: Define RADIXI.
4209         [!TWO52]: Define TWO52.
4210         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4212         * manual/nptl.texi (cindex): Modify threads to pthreads.
4214 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
4216         * sysdeps/x86_64/preconfigure: Regenerated.
4218 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
4220         [BZ #14155]
4221         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4222         0x1p28 and above.
4223         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4224         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4225         0x1p28 and above.
4226         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4227         * math/libm-test.inc (j0_test): Do not allow one spurious
4228         underflow exception.
4229         (y1_test): Likewise.
4231 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4233         * manual/Makefile (chapters): Add nptl.
4234         * manual/debug.texi (Debugging Support): Add link to Threads
4235         chapter.
4236         * manual/nptl.texi: New file.
4238         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4240 2013-03-14  Petr Baudis  <pasky@ucw.cz>
4242         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4243         for non-NULL pointer before the memory validity test. Pointed
4244         out by Holger Brunck <holger.brunck@keymile.com>.
4246 2013-03-13  Andreas Schwab  <schwab@suse.de>
4248         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4249         instead of .os.
4251 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
4253         * timezone/zic.c: Update from tzcode 2013b.
4255 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
4257         * manual/install.texi (Configuring and compiling):
4258         Mention i686 and i586.
4259         * INSTALL: Regenerate.
4261 2013-03-12  Roland McGrath  <roland@hack.frob.com>
4263         * sysdeps/init_array/elf-init.c: New file.
4264         * csu/elf-init.c
4265         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4266         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4268         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4269         __gmon_start__ as global, but as static with a .preinit_array pointer.
4270         * sysdeps/init_array/gmon-start.c: New file.  Use that.
4271         * sysdeps/init_array/crti.S: New file, empty except for comments.
4272         * sysdeps/init_array/crtn.S: Likewise.
4274 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
4276         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4277         definining bcopy.
4278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4279         Remove Prefer_SSE_for_memop.
4280         * sysdeps/x86_64/multiarch/init-arch.h: Remove
4281         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4282         HAS_PREFER_SSE_FOR_MEMOP.
4283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4284         memset-x86-64.
4285         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4286         Remove bzero, memset ifunc support.
4287         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4288         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4289         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4290         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4292 2013-03-11  Andreas Schwab  <schwab@suse.de>
4294         [BZ #15234]
4295         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4296         by SHLIB_COMPAT.
4297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4298         (GLIBC_2.16): Remove pthread_atfork.
4300 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4302         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4303         (ptestcases.h): Likewise.
4305 2013-03-08  Roland McGrath  <roland@hack.frob.com>
4307         * Makeconfig ($(common-objpfx)config.status): Depend on
4308         sysdeps/*/preconfigure{,.in} too.
4310 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
4312         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4313         (__free_hook): Use void * instead of __malloc_ptr_t.
4314         (__malloc_hook): Likewise.
4315         (__realloc_hook): Likewise.
4316         (__memalign_hook): Likewise.
4317         (__after_morecore_hook): Likewise.
4318         * malloc/arena.c (save_malloc_hook): Likewise.
4319         (save_free_hook): Likewise.
4320         * malloc/hooks.c (malloc_hook_ini): Likewise.
4321         (realloc_hook_ini): Likewise.
4322         (memalign_hook_ini): Likewise.
4323         * malloc/malloc.c (malloc_hook_ini): Likewise.
4324         (realloc_hook_ini): Likewise.
4325         (memalign_hook_ini): Likewise.
4326         (__free_hook): Likewise.
4327         (__malloc_hook): Likewise.
4328         (__realloc_hook): Likewise.
4329         (__memalign_hook): Likewise.
4330         (__libc_malloc): Likewise.
4331         (__libc_free): Likewise.
4332         (__libc_realloc): Likewise.
4333         (__libc_memalign): Likewise.
4334         (__libc_valloc): Likewise.
4335         (__libc_pvalloc): Likewise.
4336         (__libc_calloc): Likewise.
4337         (__posix_memalign): Likewise.
4338         * malloc/morecore.c (__sbrk): Likewise.
4339         (__default_morecore): Likewise.
4341         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4343         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4344         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4345         __malloc_ptrdiff_t.
4347         * malloc/malloc.h (__malloc_size_t): Remove macro.
4348         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4349         __malloc_size_t.
4350         (old_memalign_hook): Likewise.
4351         (old_realloc_hook): Likewise.
4352         (struct hdr): Likewise.
4353         (flood): Likewise.
4354         (mallochook): Likewise.
4355         (memalignhook): Likewise.
4356         (reallochook): Likewise.
4357         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4358         (tr_old_realloc_hook): Likewise.
4359         (tr_old_memalign_hook): Likewise.
4360         (tr_mallochook): Likewise.
4361         (tr_reallochook): Likewise.
4362         (tr_memalignhook): Likewise.
4364 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4366         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4367         default_ldbl_pack and using as default implementation.
4368         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4369         implementation.
4370         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4371         redundant definition.
4372         (ldbl_insert_mantissa): Likewise.
4373         (ldbl_canonicalize): Likewise.
4374         (ldbl_nearbyint): Likewise.
4375         (ldbl_pack): Rename to ldbl_pack_ppc.
4376         (ldbl_unpack): Rename to ldbl_unpack_ppc.
4377         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4378         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4380 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4383         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4384         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4385         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4387         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4388         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4389         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4391 2013-03-07  Andreas Jaeger  <aj@suse.de>
4393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4394         bits/mman-linux.h.
4396 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4398         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4399         Include mpa.h and declare __MPEXP.
4400         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4401         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4402         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4403         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4404         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4405         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4406         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4408         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4409         (__slowpow): Use long double EXPL and LOGL functions to
4410         compute POW.
4411         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4412         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4413         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4414         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4415         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4416         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4419         intermediate variable to calculate exponent.
4420         (__sqr): Likewise.
4421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4422         Likewise.
4423         (__sqr): Likewise.
4425         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4426         [!NO__SQR]: Define __sqr.
4427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4428         and NO__SQR.  Remove all code except __mul and __sqr.  Include
4429         sysdeps/ieee754/dbl-64/mpa.c.
4430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4432         [BZ #12723]
4433         * posix/Makefile (tests): Add tst-pathconf.
4434         * posix/tst-pathconf.c: New test case.
4435         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4436         _PC_PIPE_BUF.
4437         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4439 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
4441         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4443 2013-03-06  Andreas Jaeger  <aj@suse.de>
4445         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4446         definition via __MAP_ANONYMOUS.
4448         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4449         it's not part of Linux headers.
4451         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4452         (MAP_HUGE_MASK): Define.
4454         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4455         Define.
4456         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4457         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4458         Define.
4459         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4460         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4461         Define.
4462         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4463         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4464         Define.
4465         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4467         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4468         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4469         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4470         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4471         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4472         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4474         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4475         Handle f2fs.
4477         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4478         Handle f2fs and efivarfs.
4480         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4481         f2fs.
4483         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4484         (EFIVARFS_MAGIC): Add.
4485         (F2FS_LINK_MAX): Add.
4487 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4489         * stdio-common/vfprintf.c: Replace __builtin_expect with
4490         __glibc_unlikely.
4492 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
4494         [BZ #13550]
4495         * sysdeps/generic/bp-sym.h: Remove file.
4496         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4497         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4498         <bp-sym.h> and <bp-asm.h>.
4499         (__longjmp): Don't use BP_SYM.
4500         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4501         and <bp-asm.h>.
4502         (memcpy): Don't use BP_SYM.
4503         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4504         <bp-sym.h> and <bp-asm.h>.
4505         (memcpy): Don't use BP_SYM.
4506         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4507         <bp-asm.h>.
4508         (memcpy): Don't use BP_SYM.
4509         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4510         <bp-asm.h>.
4511         (memset): Don't use BP_SYM.
4512         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4513         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4514         (__bzero): Don't use BP_SYM.
4515         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4516         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4517         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4518         <bp-sym.h> and <bp-asm.h>.
4519         (memcmp): Don't use BP_SYM.  Remove comment about bounded
4520         pointers.
4521         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4522         <bp-sym.h> and <bp-asm.h>.
4523         (memcpy): Don't use BP_SYM.
4524         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4525         <bp-sym.h> and <bp-asm.h>.
4526         (memset): Don't use BP_SYM.
4527         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4528         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4529         (__bzero): Don't use BP_SYM.
4530         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4531         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4532         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4533         <bp-sym.h> and <bp-asm.h>.
4534         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4535         pointers.
4536         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4537         <bp-sym.h> and <bp-asm.h>.
4538         (memcpy): Don't use BP_SYM.
4539         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4540         <bp-sym.h> and <bp-asm.h>.
4541         (memset): Don't use BP_SYM.
4542         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4543         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4544         (__bzero): Don't use BP_SYM.
4545         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4546         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4547         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4548         <bp-sym.h> and <bp-asm.h>.
4549         (__memchr): Don't use BP_SYM.
4550         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4551         <bp-sym.h> and <bp-asm.h>.
4552         (memcmp): Don't use BP_SYM.  Remove comment about bounded
4553         pointers.
4554         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4555         <bp-sym.h> and <bp-asm.h>.
4556         (memcpy): Don't use BP_SYM.
4557         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4558         <bp-sym.h> and <bp-asm.h>.
4559         (__mempcpy): Don't use BP_SYM.
4560         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4561         <bp-sym.h> and <bp-asm.h>.
4562         (__memrchr): Don't use BP_SYM.
4563         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4564         <bp-sym.h> and <bp-asm.h>.
4565         (memset): Don't use BP_SYM.
4566         (__bzero): Likewise.
4567         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4568         <bp-sym.h> and <bp-asm.h>.
4569         (__rawmemchr): Don't use BP_SYM.
4570         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4571         <bp-sym.h> and <bp-asm.h>.
4572         (__STRCMP): Don't use BP_SYM.
4573         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4574         <bp-sym.h> and <bp-asm.h>.
4575         (strchr): Don't use BP_SYM.
4576         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4577         <bp-sym.h> and <bp-asm.h>.
4578         (__strchrnul): Don't use BP_SYM.
4579         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4580         <bp-sym.h> and <bp-asm.h>.
4581         (strlen): Don't use BP_SYM.
4582         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4583         <bp-sym.h> and <bp-asm.h>.
4584         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4585         pointers.
4586         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4587         <bp-sym.h> and <bp-asm.h>.
4588         (__strnlen): Don't use BP_SYM.
4589         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4590         <bp-sym.h> and <bp-asm.h>.
4591         (__GI__setjmp): Don't use BP_SYM.
4592         (_setjmp): Likewise.
4593         (__sigsetjmp): Likewise.
4594         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4595         (L(start_addresses)): Don't use BP_SYM.
4596         (_start): Likewise.
4597         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4598         <bp-asm.h>.
4599         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4600         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4601         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4602         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4603         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4604         <bp-asm.h>.
4605         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4606         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
4607         about bounded pointers.
4608         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4609         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4610         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4611         <bp-asm.h>.
4612         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4613         about bounded pointers.  Remove GKM FIXME comments.
4614         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4615         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4616         <bp-asm.h>.
4617         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4618         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
4619         Remove GKM FIXME comments.
4620         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4621         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4622         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4623         <bp-asm.h>.
4624         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4625         about bounded pointers.  Remove GKM FIXME comment.
4626         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4627         and <bp-asm.h>.
4628         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4629         pointers.
4630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4631         <bp-sym.h> and <bp-asm.h>.
4632         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4634         <bp-sym.h> and <bp-asm.h>.
4635         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4636         comment.
4638 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4640         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4641         call free(NULL).
4643 2013-03-05  David S. Miller  <davem@davemloft.net>
4645         * po/es.po: Update from translation team.
4647 2013-03-05  Andreas Jaeger  <aj@suse.de>
4649         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4650         <bits/mman-linux.h>.
4651         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4652         is fine.
4653         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4654         <bits/mman-linux.h> to end of file.
4655         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4656         is fine.
4657         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4658         <bits/mman-linux.h> to end of file.
4659         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4660         is fine.
4661         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4662         <bits/mman-linux.h> to end of file.
4664         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4665         (MCL_CURRENT, MCL_FUTURE): Define here.
4667 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4669         [BZ #15232]
4670         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4671         attribute_hidden.
4672         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4674 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4676         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4677         fourth parameter needed for rt_sigprocmask syscall.
4678         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4679         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4680         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4681         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4682         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4683         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4685 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
4687         [BZ #13550]
4688         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4689         comment about bounded pointers.
4690         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4691         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4693 2013-03-04  Andreas Jaeger  <aj@suse.de>
4695         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4696         common definitions.
4698         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4699         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4700         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4701         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4702         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4703         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4705 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4707         [BZ #15055]
4708         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4709         __ieee754_sqrl instead of __sqrl.
4711 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
4713         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4714         * sysdeps/powerpc/fpu_control.h: ... here.
4715         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4716         * sysdeps/powerpc/bits/fenvinline.h: ... here.
4717         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4718         * sysdeps/powerpc/bits/mathinline.h: ... here.
4720 2013-03-01  Roland McGrath  <roland@hack.frob.com>
4722         * elf/dl-hwcaps.c (_dl_important_hwcaps):
4723         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4724         to just [NEED_DL_SYSINFO_DSO].
4725         * elf/dl-support.c: Likewise.
4726         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4727         * elf/rtld.c (dl_main): Likewise.
4728         * elf/setup-vdso.h (setup_vdso): Likewise.
4729         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4730         * sysdeps/unix/sysv/linux/dl-sysdep.c
4731         (_dl_discover_osversion): Likewise.
4733 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
4735         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4736         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4738 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4740         * NEWS: Mention libm performance improvements and non-x86 PI
4741         futex support.
4743         * csu/libc-start.c (__pthread_initialize_minimal): Change
4744         function arguments.
4745         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4747 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
4749         [BZ #13550]
4750         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4751         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4752         <bp-sym.h> and <bp-asm.h>.
4753         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4754         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4755         and <bp-asm.h>.
4756         (memcpy): Don't use BP_SYM.
4757         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4758         <bp-asm.h>.
4759         (__mpn_add_n): Don't use BP_SYM.
4760         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4761         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4762         and <bp-asm.h>.
4763         (__mpn_addmul_1): Don't use BP_SYM.
4764         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4765         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4766         <bp-sym.h>.
4767         (_setjmp): Don't use BP_SYM.
4768         (__novmx_setjmp): Likewise.
4769         (__GI__setjmp): Likewise.
4770         (__vmx_setjmp): Likewise.
4771         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4772         <bp-sym.h>.
4773         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4774         (__bzero): Don't use BP_SYM.
4775         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4776         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4777         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4778         <bp-sym.h> and <bp-asm.h>.
4779         (memcpy): Don't use BP_SYM.
4780         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4781         <bp-sym.h> and <bp-asm.h>.
4782         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4783         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4784         <bp-sym.h> and <bp-asm.h>.
4785         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4786         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4787         <bp-asm.h>.
4788         (__mpn_lshift): Don't use BP_SYM.
4789         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4790         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4791         <bp-asm.h>.
4792         (memset): Don't use BP_SYM.
4793         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4794         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4795         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4796         <bp-asm.h>.
4797         (__mpn_mul_1): Don't use BP_SYM.
4798         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4799         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4800         <bp-sym.h> and <bp-asm.h>.
4801         (memcmp): Don't use BP_SYM.
4802         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4803         <bp-sym.h> and <bp-asm.h>.
4804         (memcpy): Don't use BP_SYM.
4805         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4806         <bp-sym.h> and <bp-asm.h>.
4807         (memset): Don't use BP_SYM.
4808         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4809         <bp-sym.h> and <bp-asm.h>.
4810         (strncmp): Don't use BP_SYM.
4811         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4812         <bp-sym.h> and <bp-asm.h>.
4813         (memcpy): Don't use BP_SYM.
4814         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4815         <bp-sym.h> and <bp-asm.h>.
4816         (memset): Don't use BP_SYM.
4817         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4818         <bp-sym.h> and <bp-asm.h>.
4819         (__memchr): Don't use BP_SYM.
4820         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4821         <bp-sym.h> and <bp-asm.h>.
4822         (memcmp): Don't use BP_SYM.
4823         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4824         <bp-sym.h> and <bp-asm.h>.
4825         (memcpy): Don't use BP_SYM.
4826         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4827         <bp-sym.h> and <bp-asm.h>.
4828         (__mempcpy): Don't use BP_SYM.
4829         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4830         <bp-sym.h> and <bp-asm.h>.
4831         (__memrchr): Don't use BP_SYM.
4832         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4833         <bp-sym.h> and <bp-asm.h>.
4834         (memset): Don't use BP_SYM.
4835         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4836         <bp-sym.h> and <bp-asm.h>.
4837         (__rawmemchr): Don't use BP_SYM.
4838         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4839         <bp-sym.h> and <bp-asm.h>.
4840         (__STRCMP): Don't use BP_SYM.
4841         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4842         <bp-sym.h> and <bp-asm.h>.
4843         (strchr): Don't use BP_SYM.
4844         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4845         <bp-sym.h> and <bp-asm.h>.
4846         (__strchrnul): Don't use BP_SYM.
4847         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4848         <bp-sym.h> and <bp-asm.h>.
4849         (strlen): Don't use BP_SYM.
4850         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4851         <bp-sym.h> and <bp-asm.h>.
4852         (strncmp): Don't use BP_SYM.
4853         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4854         <bp-sym.h> and <bp-asm.h>.
4855         (__strnlen): Don't use BP_SYM.
4856         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4857         <bp-asm.h>.
4858         (__mpn_rshift): Don't use BP_SYM.
4859         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4860         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4861         <bp-sym.h> and <bp-asm.h>.
4862         (__sigsetjmp): Don't use BP_SYM.
4863         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4864         (L(start_addresses)): Don't use BP_SYM.
4865         (_start): Likewise.
4866         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4867         <bp-asm.h>.
4868         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4869         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4870         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4871         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4872         <bp-asm.h>.
4873         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4874         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4875         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4876         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4877         <bp-asm.h>.
4878         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
4879         comments.
4880         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4881         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4882         <bp-asm.h>.
4883         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
4884         FIXME comments.
4885         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4886         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4887         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4888         <bp-asm.h>.
4889         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
4890         comment.
4891         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4892         and <bp-asm.h>.
4893         (strncmp): Don't use BP_SYM,
4894         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4895         <bp-asm.h>.
4896         (__mpn_sub_n): Don't use BP_SYM.
4897         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4898         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4899         and <bp-asm.h>.
4900         (__mpn_submul_1): Don't use BP_SYM.
4901         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4903         <bp-sym.h> and <bp-asm.h>.
4904         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4906         <bp-sym.h> and <bp-asm.h>.
4907         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4908         comment.
4910 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4913         Use ZK to minimize writes to Z.
4914         (sub_magnitudes): Simplify code a bit.
4915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4916         Use ZK to minimize writes to Z.
4917         (sub_magnitudes): Simplify code a bit.
4919 2013-02-27  Roland McGrath  <roland@hack.frob.com>
4921         * csu/gmon-start.c: Add special exception to license text.
4923 2013-02-27  Richard Henderson  <rth@redhat.com>
4925         * scripts/config.guess: Update from config.git.
4926         * scripts/config.sub: Likewise.
4928 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4930         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4932         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4934         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4936         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4938         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4940 2013-02-26  Roland McGrath  <roland@hack.frob.com>
4942         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4943         [$(build-shared = yes].
4945 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4947         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4948         (__mul): Reduce iterations for calculating mantissa.
4950         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4951         MPTWO.
4952         (__mpranred): Likewise.
4954         [BZ #15160]
4955         * malloc/memusagestat.c (main): Draw graphs for heap and stack
4956         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4958 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
4960         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4961         Define __attribute__.
4963 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4965         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4966         unused.
4967         * posix/regex_internal.h (__attribute): Remove.
4968         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4969         (re_string_context_at): Likewise.
4970         (bitset_not): Use __attribute__ and mark function as possibly
4971         unused.
4972         (bitset_merge): Likewise.
4973         (bitset_mask): Likewise.
4974         (re_string_char_size_at): Likewise.
4975         (re_string_wchar_at): Likewise.
4976         (re_string_elem_size_at): Likewise.
4978 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4980         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4981         code.
4982         (cc32): Likewise.
4984         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4985         (__acr): Likewise.
4986         (__cpy): Likewise.
4987         (norm): Likewise.
4988         (denorm): Likewise.
4989         (__dbl_mp): Likewise.
4990         (add_magnitudes): Likewise.
4991         (sub_magnitudes): Likewise.
4992         (__mul): Likewise.
4993         (__inv): Likewise.
4995         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4996         style.
4998         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4999         style.
5001         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5002         code.
5004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5005         up changes with default code.
5006         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5007         Likewise.
5009 2013-02-24  Allan McRae  <allan@archlinux.org>
5011         * manual/socket.texi (The Internet Namespace): Order menu items
5012         to match that in the file.
5014         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5015         node listing of the info page menu.
5017 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5019         [BZ #13550]
5020         * sysdeps/i386/bp-asm.h: Remove file.
5021         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5022         (PARMS): Do not use macros from bp-asm.h.
5023         (S1): Likewise.
5024         (S2): Likewise.
5025         (SIZE): Likewise.
5026         (__mpn_add_n): Do not use BP_SYM
5027         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5028         "bp-asm.h".
5029         (PARMS): Do not use macros from bp-asm.h.
5030         (S1): Likewise.
5031         (SIZE): Likewise.
5032         (__mpn_addmul_1): Do not use BP_SYM
5033         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5034         "bp-asm.h".
5035         (PARMS): Do not use macros from bp-asm.h.
5036         (SIGMSK): Likewise.
5037         (_setjmp): Likewise.  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/fpu/s_frexp.S: Do not include "bp-sym.h" and
5044         "bp-asm.h".
5045         (PARMS): Do not use macros from bp-asm.h.
5046         (__frexp): Do not use BP_SYM.
5047         (frexp): Likewise.
5048         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5049         "bp-asm.h".
5050         (PARMS): Do not use macros from bp-asm.h.
5051         (__frexpf): Do not use BP_SYM.
5052         (frexpf): Likewise.
5053         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5054         "bp-asm.h".
5055         (PARMS): Do not use macros from bp-asm.h.
5056         (__frexpl): Do not use BP_SYM.
5057         (frexpl): Likewise.
5058         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5059         "bp-asm.h".
5060         (PARMS): Do not use macros from bp-asm.h.
5061         (__remquo): Do not use BP_SYM.
5062         (remquo): Likewise.
5063         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5064         "bp-asm.h".
5065         (PARMS): Do not use macros from bp-asm.h.
5066         (__remquof): Do not use BP_SYM.
5067         (remquof): Likewise.
5068         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5069         "bp-asm.h".
5070         (PARMS): Do not use macros from bp-asm.h.
5071         (__remquol): Do not use BP_SYM.
5072         (remquol): Likewise.
5073         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5074         "bp-asm.h".
5075         (PARMS): Do not use macros from bp-asm.h.
5076         (DEST): Likewise.
5077         (SRC): Likewise.
5078         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
5079         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5080         "bp-asm.h".
5081         (PARMS): Do not use macros from bp-asm.h.
5082         (strlen): Do not use BP_SYM.
5083         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5084         "bp-asm.h".
5085         (PARMS): Do not use macros from bp-asm.h.
5086         (S1): Likewise.
5087         (S2): Likewise.
5088         (SIZE): Likewise.
5089         (__mpn_add_n): Do not use BP_SYM.
5090         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5091         "bp-asm.h".
5092         (PARMS): Do not use macros from bp-asm.h.
5093         (S1): Likewise.
5094         (SIZE): Likewise.
5095         (__mpn_addmul_1): Do not use BP_SYM.
5096         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5097         weak_alias.
5098         (bzero): Likewise.
5099         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5100         "bp-asm.h".
5101         (PARMS): Do not use macros from bp-asm.h.
5102         (S): Likewise.
5103         (SIZE): Likewise.
5104         (__mpn_lshift): Do not use BP_SYM.
5105         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5106         "bp-asm.h".
5107         (PARMS): Do not use macros from bp-asm.h.
5108         (DEST): Likewise.
5109         (SRC): Likewise.
5110         (LEN): Likewise.
5111         (memcpy): Likewise.  Do not use BP_SYM.
5112         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5113         libc_hidden_def and weak_alias.
5114         (mempcpy): Do not use BP_SYM in weak_alias.
5115         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5116         "bp-asm.h".
5117         (PARMS): Do not use macros from bp-asm.h.
5118         (DEST): Likewise.
5119         (LEN): Likewise.
5120         [!BZERO_P] (CHR): Likewise.
5121         (memset): Likewise.  Do not use BP_SYM.
5122         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5123         "bp-asm.h".
5124         (PARMS): Do not use macros from bp-asm.h.
5125         (S1): Likewise.
5126         (SIZE): Likewise.
5127         (__mpn_mul_1): Do not use BP_SYM.
5128         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5129         "bp-asm.h".
5130         (PARMS): Do not use macros from bp-asm.h.
5131         (S): Likewise.
5132         (SIZE): Likewise.
5133         (__mpn_rshift): Do not use BP_SYM.
5134         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5135         "bp-asm.h".
5136         (PARMS): Do not use macros from bp-asm.h.
5137         (STR): Likewise.
5138         (CHR): Likewise.
5139         (strchr): Likewise.  Do not use BP_SYM.
5140         (index): Do not use BP_SYM in weak_alias.
5141         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5142         "bp-asm.h".
5143         (PARMS): Do not use macros from bp-asm.h.
5144         (DEST): Likewise.
5145         (SRC): Likewise.
5146         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
5147         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5148         "bp-asm.h".
5149         (PARMS): Do not use macros from bp-asm.h.
5150         (strlen): Do not use BP_SYM.
5151         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5152         "bp-asm.h".
5153         (PARMS): Do not use macros from bp-asm.h.
5154         (S1): Likewise.
5155         (S2): Likewise.
5156         (SIZE): Likewise.
5157         (__mpn_sub_n): Do not use BP_SYM.
5158         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5159         "bp-asm.h".
5160         (PARMS): Do not use macros from bp-asm.h.
5161         (S1): Likewise.
5162         (SIZE): Likewise.
5163         (__mpn_submul_1): Do not use BP_SYM.
5164         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5165         "bp-asm.h".
5166         (PARMS): Do not use macros from bp-asm.h.
5167         (S1): Likewise.
5168         (S2): Likewise.
5169         (SIZE): Likewise.
5170         (__mpn_add_n): Do not use BP_SYM.
5171         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5172         weak_alias.
5173         (bzero): Likewise.
5174         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5175         "bp-asm.h".
5176         (PARMS): Do not use macros from bp-asm.h.
5177         (BLK2): Likewise.
5178         (LEN): Likewise.
5179         (memcmp): Do not use BP_SYM.
5180         (bcmp): Do not use BP_SYM in weak_alias.
5181         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5182         "bp-asm.h".
5183         (PARMS): Do not use macros from bp-asm.h.
5184         (DEST): Likewise.
5185         (SRC): Likewise.
5186         (LEN): Likewise.
5187         (memcpy): Likewise.  Do not use BP_SYM.
5188         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5189         "bp-asm.h".
5190         (PARMS): Do not use macros from bp-asm.h.
5191         (DEST): Likewise.
5192         (SRC): Likewise.
5193         (LEN): Likewise.
5194         (memmove): Likewise.  Do not use BP_SYM.
5195         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5196         "bp-asm.h".
5197         (PARMS): Do not use macros from bp-asm.h.
5198         (DEST): Likewise.
5199         (SRC): Likewise.
5200         (LEN): Likewise.
5201         (__mempcpy): Likewise.  Do not use BP_SYM.
5202         (mempcpy): Do not use BP_SYM in weak_alias.
5203         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5204         "bp-asm.h".
5205         (PARMS): Do not use macros from bp-asm.h.
5206         (DEST): Likewise.
5207         (LEN): Likewise.
5208         [!BZERO_P] (CHR): Likewise.
5209         (memset): Likewise.  Do not use BP_SYM.
5210         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5211         "bp-asm.h".
5212         (PARMS): Do not use macros from bp-asm.h.
5213         (STR2): Likewise.
5214         (strcmp): Do not use BP_SYM.
5215         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5216         "bp-asm.h".
5217         (PARMS): Do not use macros from bp-asm.h.
5218         (STR): Likewise.
5219         (DELIM): Likewise.
5220         [USE_AS_STRTOK_R] (SAVE): Likewise.
5221         (FUNCTION): Likewise.  Do not use BP_SYM.
5222         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5223         aliases.
5224         (strtok_r): Likewise.
5225         (__GI___strtok_r): Likewise.
5226         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5227         (PARMS): Do not use macros from bp-asm.h.
5228         (S): Likewise.
5229         (SIZE): Likewise.
5230         (__mpn_lshift): Do not use BP_SYM.
5231         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5232         (PARMS): Do not use macros from bp-asm.h.
5233         (STR): Likewise.
5234         (CHR): Likewise.
5235         (__memchr): Do not use BP_SYM.
5236         (memchr): Do not use BP_SYM in weak_alias.
5237         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5238         (PARMS): Do not use macros from bp-asm.h.
5239         (BLK2): Likewise.
5240         (LEN): Likewise.
5241         (memcmp): Do not use BP_SYM.
5242         (bcmp): Do not use BP_SYM in weak_alias.
5243         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5244         (PARMS): Do not use macros from bp-asm.h.
5245         (S1): Likewise.
5246         (SIZE): Likewise.
5247         (__mpn_mul_1): Do not use BP_SYM.
5248         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5249         "bp-asm.h".
5250         (PARMS): Do not use macros from bp-asm.h.
5251         (STR): Likewise.
5252         (CHR): Likewise.
5253         (__rawmemchr): Do not use BP_SYM.
5254         (rawmemchr): Do not use BP_SYM in weak_alias.
5255         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5256         (PARMS): Do not use macros from bp-asm.h.
5257         (S): Likewise.
5258         (SIZE): Likewise.
5259         (__mpn_rshift): Do not use BP_SYM.
5260         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5261         (PARMS): Do not use macros from bp-asm.h.
5262         (SIGMSK): Likewise.
5263         (__sigsetjmp): Likewise.  Do not use BP_SYM.
5264         * sysdeps/i386/start.S: Do not include "bp-sym.h".
5265         (_start): Do not use BP_SYM.
5266         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5267         (PARMS): Do not use macros from bp-asm.h.
5268         (DEST): Likewise.
5269         (SRC): Likewise.
5270         (__stpcpy): Likewise.  Do not use BP_SYM.
5271         (stpcpy): Do not use BP_SYM in weak_alias.
5272         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5273         "bp-asm.h".
5274         (PARMS): Do not use macros from bp-asm.h.
5275         (DEST): Likewise.
5276         (SRC): Likewise.
5277         (LEN): Likewise.
5278         (__stpncpy): Likewise.  Do not use BP_SYM.
5279         (stpncpy): Do not use BP_SYM in weak_alias.
5280         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5281         (PARMS): Do not use macros from bp-asm.h.
5282         (STR): Likewise.
5283         (CHR): Likewise.
5284         (strchr): Likewise.  Do not use BP_SYM.
5285         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5286         "bp-asm.h".
5287         (PARMS): Do not use macros from bp-asm.h.
5288         (STR): Likewise.
5289         (CHR): Likewise.
5290         (__strchrnul): Likewise.  Do not use BP_SYM.
5291         (strchrnul): Do not use BP_SYM in weak_alias.
5292         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5293         "bp-asm.h".
5294         (PARMS): Do not use macros from bp-asm.h.
5295         (STOP): Likewise.
5296         (strcspn): Do not use BP_SYM.
5297         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5298         "bp-asm.h".
5299         (PARMS): Do not use macros from bp-asm.h.
5300         (STR): Likewise.
5301         (STOP): Likewise.
5302         (strpbrk): Likewise.  Do not use BP_SYM.
5303         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5304         "bp-asm.h".
5305         (PARMS): Do not use macros from bp-asm.h.
5306         (STR): Likewise.
5307         (CHR): Likewise.
5308         (strrchr): Likewise.  Do not use BP_SYM.
5309         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5310         (PARMS): Do not use macros from bp-asm.h.
5311         (SKIP): Likewise.
5312         (strspn): Do not use BP_SYM.
5313         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5314         (PARMS): Do not use macros from bp-asm.h.
5315         (STR): Likewise.
5316         (DELIM): Likewise.
5317         (SAVE): Likewise.
5318         (FUNCTION): Likewise.  Do not use BP_SYM.
5319         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5320         aliases.
5321         (strtok_r): Likewise.
5322         (__GI___strtok_r): Likewise.
5323         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5324         (PARMS): Do not use macros from bp-asm.h.
5325         (S1): Likewise.
5326         (S2): Likewise.
5327         (SIZE): Likewise.
5328         (__mpn_sub_n): Do not use BP_SYM.
5329         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5330         "bp-asm.h".
5331         (PARMS): Do not use macros from bp-asm.h.
5332         (S1): Likewise.
5333         (SIZE): Likewise.
5334         (__mpn_submul_1): Do not use BP_SYM.
5335         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5336         <bp-sym.h>.
5337         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5338         and <bp-asm.h>.
5339         (PARMS): Do not use macros from bp-asm.h.
5340         (FLAGS): Likewise.
5341         (PTID): Likewise.
5342         (TLS): Likewise.
5343         (CTID): Likewise.
5344         (__clone): Do not use BP_SYM.
5345         (clone): Do not use BP_SYM in weak_alias.
5346         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5347         and <bp-asm.h>.
5348         (PARMS): Do not use macros from bp-asm.h.
5349         (LEN): Likewise.
5350         (__mmap64): Do not use BP_SYM.
5351         (mmap64): Do not use BP_SYM in weak_alias.
5352         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5353         <bp-sym.h> and <bp-asm.h>.
5354         (PARMS): Do not use macros from bp-asm.h.
5355         (__posix_fadvise64_l64): Do not use BP_SYM.
5356         * sysdeps/unix/sysv/linux/i386/semtimedop.S
5357         (PARMS): Do not use macros from bp-asm.h.
5358         (NSOPS): Likewise.
5359         (semtimedop): Do not use BP_SYM.
5360         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5361         and <bp-asm.h>.
5363 2013-02-21  Allan McRae  <allan@archlinux.org>
5365         * manual/message.texi (Charset conversion in gettext):
5366         Move @end statement to beginning of line.
5368 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5371         static.
5372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5373         Likewise.
5375         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5376         (denorm): Likewise.
5377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5380 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5382         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5383         tail-call to the resolved function if pltexit isn't needed.
5385 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5388         or Y being zero as being unlikely.
5389         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5390         Likewise.
5392 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
5394         * manual/nss.texi (System Databases and Name Service Switch):
5395         Remove frobnicate @pxref.
5397 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
5399         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5400         __attribute__ ((unused)) to __attribute__ ((__unused__)).
5402 2013-02-20  Petr Machata  <pmachata@redhat.com>
5404         * elf/elf.h (R_ARM_TARGET1): New macro.
5405         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5406         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5407         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5408         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5409         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5410         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5411         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5412         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5413         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5414         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5415         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5416         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5417         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5418         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5419         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5420         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5421         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5422         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5423         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5424         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5425         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5426         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5427         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5428         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5429         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5430         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5431         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5432         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5433         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5434         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5435         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5436         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5437         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5438         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5439         (R_ARM_THM_GOT_BREL12): Likewise.
5440         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5441         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5442         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5443         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5444         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5445         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5446         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5447         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5448         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5450 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
5452         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5453         __attribute_used__ to __attribute__ ((unused)).
5455 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5457         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5458         powerpc mpa.c.
5459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5460         comment formatting.
5461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5463 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
5465         [BZ #13550]
5466         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5467         Remove macro.
5468         (ENTER): Remove both macro definitions.
5469         (LEAVE): Likewise.
5470         (CHECK_BOUNDS_LOW): Likewise.
5471         (CHECK_BOUNDS_HIGH): Likewise.
5472         (CHECK_BOUNDS_BOTH): Likewise.
5473         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5474         (RETURN_BOUNDED_POINTER): Likewise.
5475         (RETURN_NULL_BOUNDED_POINTER): Likewise.
5476         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5477         (POP_ERRNO_LOCATION_RETURN): Likewise.
5478         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5479         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5480         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5481         macros.
5482         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5483         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5484         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5485         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5486         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5487         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5488         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5489         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5490         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5491         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5492         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5493         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5494         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5495         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5496         removed macros.
5497         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5498         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5499         macros.
5500         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5501         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5502         * sysdeps/i386/i586/memset.S (memset): Likewise.
5503         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5504         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5505         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5506         macros.
5507         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5508         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5509         Change uses of L(2) to L(out).
5510         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5511         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5512         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5513         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5514         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5515         removed macros.
5516         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5517         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5518         macros.
5519         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5520         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5521         (RETURN): Do not use macro LEAVE.
5522         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5523         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5524         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5525         * sysdeps/i386/i686/memset.S (memset): Likewise.
5526         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5527         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5528         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5529         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5530         Likewise.
5531         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5532         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
5533         L(1_2) and L(1_3) into L(1).
5534         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5535         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5536         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5537         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5538         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5539         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5540         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5541         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5542         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5543         macros.
5544         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5545         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5546         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5547         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5548         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5549         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5550         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5551         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5552         * sysdeps/i386/strcspn.S (strcspn): Likewise.
5553         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5554         * sysdeps/i386/strrchr.S (strrchr): Likewise.
5555         * sysdeps/i386/strspn.S (strspn): Likewise.
5556         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5557         conditional code.
5558         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5559         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5560         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5561         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
5562         L(1_3) into L(1_1).
5563         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5564         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5565         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5566         macros.
5567         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5569 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
5571         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5572         macro.
5574 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5576         * math/atest-exp.c (exp_mpn): Remove ROUND.
5577         * math/atest-exp2.c (exp_mpn): Likewise.
5578         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5580         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5581         * stdlib/tst-tls-atexit-lib.c: Likewise.
5582         * stdlib/tst-tls-atexit.c: Likewise.
5584 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5586         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5587         and __attribute_alloc_size__.
5589 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5591         * include/programs/xmalloc.h: Change __attribute_alloc_size to
5592         __attribute_alloc_size__.
5593         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5594         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5596 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5598         * include/programs/xmalloc.h: New file.
5599         * catgets/gencat.c: Include it.
5600         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5601         * elf/pldd.c: Likewise.
5602         * iconv/iconv_charmap.c: Likewise.
5603         * iconv/iconvconfig.c: Likewise.
5604         * iconv/strtab.c: Likewise.
5605         * locale/programs/locale.c: Likewise.
5606         * locale/programs/localedef.h: Likewise.
5607         * locale/programs/simple-hash.c: Likewise.
5608         * nscd/nscd.h: Likewise.
5609         * nss/makedb.c: Likewise.
5610         * sysdeps/generic/ldconfig.h: Likewise.
5612 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5614         * Versions.def: Add GLIBC_2.18.
5615         * include/link.h (struct link_map): New member l_tls_dtor_count.
5616         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5617         (__call_tls_dtors): Likewise.
5618         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5619         __cxa_thread_atexit_impl.
5620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5621         Likewise.
5622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5623         Likewise.
5624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5625         Likewise.
5626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5627         Likewise.
5628         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5630         Likewise.
5631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5632         Likewise.
5633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5635         Likewise.
5636         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5637         (tests): Add test case tst-tls-atexit.
5638         (modules-names): Add shared library for tst-tls-atexit.
5639         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5640         (GLIBC_PRIVATE): Add __call_tls_dtors.
5641         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5642         for libstdc++.
5643         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5644         * stdlib/tst-tls-atexit.c: New test case.
5645         * stdlib/tst-tls-atexit-lib.c: New test case.
5647         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5649         * elf/Versions (ld): Add _dl_find_dso_for_object.
5650         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5651         * elf/dl-open.c (_dl_find_dso_for_object): New function.
5652         (dl_open_worker): Use _dl_find_dso_for_object.
5653         * elf/dl-sym.c (do_sym): Likewise.
5654         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5656 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5658         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5659         Syntactic changes only.
5660         (_dl_runtime_profile): Do a tail-call to the resolved function.
5662 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
5664         [BZ #13550]
5665         * sysdeps/x86_64/bp-asm.h: Remove file.
5666         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5667         <bp-sym.h> and <bp-asm.h>.
5668         (__clone): Do not use BP_SYM.
5669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5670         <bp-sym.h> and <bp-asm.h>.
5671         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5672         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5673         "bp-asm.h".
5674         (_setjmp): Do not use BP_SYM.
5675         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5676         "bp-asm.h".
5677         (setjmp): Do not use BP_SYM.
5678         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5679         libc_hidden_def.
5680         (mempcpy): Do not use BP_SYM in weak_alias.
5681         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5682         "bp-asm.h".
5683         (strchr): Do not use BP_SYM.
5684         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5685         "bp-asm.h".
5686         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5687         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5688         (_start): Do not use BP_SYM.
5689         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5690         "bp-asm.h".
5691         (strcat): Do not use BP_SYM.
5692         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5693         "bp-asm.h".
5694         (STRCMP): Do not use BP_SYM.
5695         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5696         "bp-asm.h".
5697         (STRCPY): Do not use BP_SYM.
5698         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5699         "bp-asm.h".
5700         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5701         "bp-asm.h".
5702         (FUNCTION): Do not use BP_SYM.
5703         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5704         weak_alias.
5705         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5707 2013-02-17  Andreas Jaeger  <aj@suse.de>
5709         * time/Versions: Sort entries.
5710         * string/Versions: Likewise.
5711         * resolv/Versions: Likewise.
5712         * posix/Versions: Likewise.
5713         * iconv/Versions: Likewise.
5714         * elf/Versions: Likewise.
5715         * wcsmbs/Versions: Likewise.
5717 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5719         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5720         loop termination condition.
5722         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5723         variable to calculate EZ.
5724         (__sqr): Likewise.
5726         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5727         the lower precision input.
5729 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
5731         [BZ #13550]
5732         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5733         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5734         (run-via-rtld-prefix): Do not handle %-bp tests.
5735         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5736         (all-object-suffixes): Remove .ob.
5737         (bppfx): Remove variable.
5738         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5739         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5740         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5741         [$(build-bounded) = yes] (libtype.ob): Likewise.
5742         * Makerules (elide-routines.ob): Remove variable.
5743         (do-tests-clean): Do not handle *-bp.out.
5744         (common-mostlyclean): Do not handle *-bp and *-bp.out.
5745         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5746         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5747         (tests): Do not include $(tests-bp.out).
5748         (xtests): Do not include $(xtests-bp.out).
5749         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5750         [$(build-bounded) = yes] ($(addprefix
5751         $(objpfx),$(binaries-bounded))): Remove rule.
5752         ($(objpfx)%-bp.out): Remove rule.
5753         * config.make.in (build-bounded): Remove variable.
5754         * crypt/Makefile [$(build-bounded) = yes]
5755         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5756         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5757         append to variable.
5758         [$(build-bounded) = yes] (install-lib): Likewise.
5759         [$(build-bounded) = yes] (generated): Likewise.
5760         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5761         Remove rule.
5762         * intl/Makefile [$(build-bounded) = yes]
5763         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5764         * math/Makefile [$(build-bounded) = yes]
5765         ($(tests:%=$(objpfx)%-bp): Likewise.
5766         * misc/Makefile [$(build-bounded) = yes]
5767         ($(objpfx)tst-tsearch-bp): Likewise.
5768         * nptl/Makeconfig (bounded-thread-library): Remove variable.
5769         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5770         Remove dependency.
5771         * string/Makefile (o-objects.ob): Remove variable.
5772         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5773         (CFLAGS-.ob): Remove variable.
5774         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5775         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5776         both definitions of variable.
5777         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5778         (ASFLAGS-.ob): Remove variable.
5780 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
5782         [BZ #13550]
5783         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5784         Remove __BOUNDED_POINTERS__ from condition.
5785         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5786         * string/bits/string2.h [!__NO_STRING_INLINES &&
5787         !__BOUNDED_POINTERS__]: Likewise.
5788         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5789         Likewise.
5790         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5791         Remove conditional code.
5792         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5793         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5794         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5795         condition.
5797         [BZ #13550]
5798         * csu/libc-start.c: Do not include <bp-sym.h>.
5799         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5800         * elf/dl-open.c: Do not include <bp-sym.h>.
5801         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5802         * math/fegetenv.c: Do not include <bp-sym.h>.
5803         (fegetenv): Do not use BP_SYM in versioned symbols.
5804         * nptl/sysdeps/pthread/bits/libc-lockP.h
5805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5806         <bp-sym.h>.
5807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5808         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5810         (__pthread_mutex_destroy): Likewise.
5811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5812         (__pthread_mutex_lock): Likewise.
5813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5814         (__pthread_mutex_trylock): Likewise.
5815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5816         (__pthread_mutex_unlock): Likewise.
5817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5818         (__pthread_mutexattr_init): Likewise.
5819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5820         (__pthread_mutexattr_destroy): Likewise.
5821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5822         (__pthread_mutexattr_settype): Likewise.
5823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5824         (__pthread_rwlock_init): Likewise.
5825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5826         (__pthread_rwlock_destroy): Likewise.
5827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5828         (__pthread_rwlock_rdlock): Likewise.
5829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5830         (__pthread_rwlock_tryrdlock): Likewise.
5831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5832         (__pthread_rwlock_wrlock): Likewise.
5833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5834         (__pthread_rwlock_trywrlock): Likewise.
5835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5836         (__pthread_rwlock_unlock): Likewise.
5837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5838         (__pthread_key_create): Likewise.
5839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5840         (__pthread_setspecific): Likewise.
5841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5842         (__pthread_getspecific): Likewise.
5843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5844         Likewise.
5845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5846         (_pthread_cleanup_push_defer): Likewise.
5847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5848         (_pthread_cleanup_pop_restore): Likewise.
5849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5850         (pthread_setcancelstate): Likewise.
5851         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5852         <bp-sym.h>.
5853         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5854         (memchr): Do not use BP_SYM in weak_alias.
5855         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5856         (fegetenv): Do not use BP_SYM in versioned symbols.
5857         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5858         (fesetenv): Do not use BP_SYM in versioned symbols.
5859         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5860         (feupdateenv): Do not use BP_SYM in versioned symbols.
5861         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5862         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5863         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5864         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5865         (open64): Do not use BP_SYM in weak_alias.
5866         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5867         (fegetenv): Do not use BP_SYM in versioned symbols.
5868         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5869         (fesetenv): Do not use BP_SYM in versioned symbols.
5870         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5871         (feupdateenv): Do not use BP_SYM in versioned symbols.
5872         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5873         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5874         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5875         (feraiseexcept): Do not use BP_SYM in versioned symbols.
5876         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5877         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5878         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5879         <bp-sym.h>.
5880         (__libc_start_main): Do not use BP_SYM.
5882 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5885         redundant return line.
5886         (norm): Likewise.
5887         (denorm): Likewise.
5888         (dbl_mp): Likewise.
5889         (sub_magnitudes): Likewise.
5890         (__add): Likewise.
5891         (__sub): Likewise.
5892         (__mul): Likewise.
5893         (__inv): Likewise.
5894         (__dvd): Likewise.
5895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5896         (norm): Likewise.
5897         (denorm): Likewise.
5898         (dbl_mp): Likewise.
5899         (sub_magnitudes): Likewise.
5900         (__add): Likewise.
5901         (__sub): Likewise.
5902         (__mul): Likewise.
5903         (__inv): Likewise.
5904         (__dvd): Likewise.
5906         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5907         instead of __mul.
5908         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5909         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5910         (cc32): Likewise.
5912         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5913         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5915         of __mul for squares.
5916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5917         function
5918         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5919         Likewise.
5920         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5921         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5923 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
5925         [BZ #13550]
5926         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5927         code.
5928         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5929         prototype or function definition.  Rename ubp_* variables and
5930         parameters.  Remove argv definitions conditional on
5931         [__BOUNDED_POINTERS__].
5932         * debug/backtrace.c (__backtrace): Do not use __unbounded.
5933         * elf/dl-runtime.c (_dl_fixup): Likewise.
5934         * include/set-hooks.h (RUN_HOOK): Likewise.
5935         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5936         definition.
5937         * string/strcpy.c (strcpy): Do not use __unbounded.
5938         * sysdeps/generic/frame.h (struct layout): Likewise.
5939         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5940         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5941         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5942         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5943         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5944         (__backtrace): Likewise.
5945         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5946         use __ptrvalue.
5947         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5948         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5949         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5950         Likewise.
5951         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5952         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5953         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5954         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5955         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5956         Do not use __unbounded.
5957         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5958         Rename __unboundedrlimits parameter to rlimits in prototype.
5959         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5960         Do not use __unbounded.
5961         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5962         not use __ptrvalue.
5963         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5964         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5965         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5966         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5967         __ptrvalue or __unbounded.
5968         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5969         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5970         use __unbounded.
5971         (__new_msgctl): Do not use __ptrvalue.
5972         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5973         __unbounded.
5974         (__libc_msgrcv): Do not use __ptrvalue.
5975         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5976         startup_info): Do not use __unbounded.
5977         (__libc_start_main): Likewise.  Rename ubp_* variables and
5978         parameters.  Remove argv definitions conditional on
5979         [__BOUNDED_POINTERS__].
5980         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5981         __ptrvalue.
5982         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5983         use __unbounded.
5984         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5985         or __ptrvalue.
5986         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5987         use __unbounded.
5988         (__new_shmctl): Do not use __ptrvalue.
5989         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5990         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5991         Likewise.
5992         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5993         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5994         (__libc_sigaction): Likewise.
5995         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5996         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5997         Likewise.
5998         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6000 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6002         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6004         * string/mempcpy.c: Implement by calling memcpy.
6006 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6008         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6010         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6011         evaluation.
6013         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6014         values in the mantissa.
6016         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6017         minimize writes to Z.
6018         (sub_magnitudes): Simplify code a bit.
6020 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6022         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6023         from the message.  The linker prefixes all warnings with that already.
6025 2013-02-12  Andreas Schwab  <schwab@suse.de>
6027         [BZ #15078]
6028         * posix/regexec.c (extend_buffers): Add parameter min_len.
6029         (check_matching): Pass minimum needed length.
6030         (clean_state_log_if_needed): Likewise.
6031         (get_subexp): Likewise.
6032         * posix/Makefile (tests): Add bug-regex34.
6033         (bug-regex34-ENV): Define.
6034         * posix/bug-regex34.c: New file.
6036         [BZ #11561]
6037         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6038         elements compare against the byte sequence of it, not its name.
6039         * posix/Makefile (tests): Add bug-regex35.
6040         (bug-regex35-ENV): Define.
6041         * posix/bug-regex35.c: New file.
6043 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6045         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6046         comment.
6047         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6048         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6049         (CHECK_EOL): Add undef.
6051 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6053         * bits/stdlib-bsearch.h: New file.
6054         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6055         * stdlib/stdlib.h: Likewise.
6057 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6059         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6060         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6061         declaration.
6062         * manual/search.texi (Array Search Function): Add missing const in
6063         lfind prototype.
6064         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6065         declaration to use rlim_t.
6066         (Basic Scheduling Functions): Remove erroneous const from
6067         sched_getparam prototype.  Remove erroneous * from
6068         sched_get_priority_max and sched_get_priority_min prototypes.
6069         (Resource Usage): Fix summary @comment on vtimes to refer to
6070         sys/vtimes.h rather than vtimes.h.
6071         Add missing *s in vtimes prototype.
6072         (Limits on Resources): Fix ulimit prototype to return long int.
6073         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6074         prototypes to use long int rather than double.
6075         (BSD Random): Fix initstate and setstate to use char *, not void *.
6076         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6077         prototype to make second argument 'struct aiocb64 *const[]'.
6078         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6079         (Status of AIO Operations): Remove erroneous const in aio_return and
6080         aio_return64 prototypes.
6081         (Synchronizing I/O): Fix sync prototype to return void.
6082         * manual/startup.texi (Suboptions): Remove an erroneous const in
6083         getsubopt prototype.
6084         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6085         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6086         use size_t rather than int.
6087         (Scanning All Users): Likewise for getpwent_r.
6088         (Setting Groups): Add missing const to setgroups prototype.
6089         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6090         * manual/socket.texi (Host Names): Fix gethostbyaddr and
6091         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6092         'const void *' rather than 'const char *'.
6093         (Host Address Functions): Likewise for inet_ntop.
6094         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6095         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6096         ssize_t for return value.
6097         (Sending Data): Likewise for send, sendto, sendmsg.
6098         (Socket Option Functions): Add a missing const in setsockopt prototype.
6099         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6100         use wchar_t for the argument.
6101         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6102         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6103         take no arguments.
6104         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6105         double/float/long double for second argument.
6106         Fix return types of significand, significandf, significandl.
6107         * manual/filesys.texi (Setting Permissions): Use mode_t for second
6108         argument in fchmod prototype.
6109         (File Owner): Use uid_t and gid_t in fchown prototype.
6110         (File Times): Add const to utimes, futimes, and lutimes prototypes.
6111         (Making Special Files): Use mode_t and dev_t in mknod prototype.
6112         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6113         use 'const struct dirent **' as argument types to CMP function pointer
6114         argument.
6115         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6116         (File Times): Fix summary magic @comment for struct utimbuf and utime
6117         to refer to utime.h, not time.h.
6118         * manual/string.texi (Argz Functions): Add missing const in
6119         argz_extract and argz_next prototypes.
6120         (Finding Tokens in a String): Likewise for basename.
6121         (String/Array Comparison): Fix typo in wcscasecmp prototype.
6122         (Copying and Concatenation): Fix typo in wmemmove prototype.
6123         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6124         (Signal Stack): Remove erroneous const in sigstack prototype.
6125         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6126         prototype.
6127         (Simple Calendar Time): Likewise for stime.
6128         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6129         prototype.
6130         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6131         say sys/sysctl.h instead.
6132         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6133         and vsyslog prototypes.
6135 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6137         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6138         Remove.
6140 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6142         * misc/sys/mman.h: Fix typo in mremap comment.
6144 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6146         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6147         the '\0' terminator.
6149 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6151         [BZ #13550]
6152         * debug/segfault.c: Don't include <bp-checks.h>.
6153         * sysdeps/generic/bp-checks.h: Remove file.
6154         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6155         (__GETDENTS): Don't use CHECK_N.
6156         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6157         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6158         (__getgroups): Don't use CHECK_N.
6159         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6160         (setgroups): Don't use CHECK_N.
6161         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6162         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6163         (__libc_msgrcv): Don't use CHECK_N.
6164         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6165         (__libc_msgsnd): Don't use CHECK_N.
6166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6167         <bp-checks.h>.
6168         (__libc_pread): Don't use CHECK_N.
6169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6170         include <bp-checks.h>.
6171         (__libc_pread64): Don't use CHECK_N.
6172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6173         include <bp-checks.h>.
6174         (__libc_pwrite): Don't use CHECK_N.
6175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6176         include <bp-checks.h>.
6177         (__libc_pwrite64): Don't use CHECK_N.
6178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6179         <bp-checks.h>.
6180         (__libc_pread): Don't use CHECK_N.
6181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6182         include <bp-checks.h>.
6183         (__libc_pread64): Don't use CHECK_N.
6184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6185         include <bp-checks.h>.
6186         (__libc_pwrite): Don't use CHECK_N.
6187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6188         include <bp-checks.h>.
6189         (__libc_pwrite64): Don't use CHECK_N.
6190         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6191         (do_pread): Don't use CHECK_N.
6192         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6193         (do_pread64): Don't use CHECK_N.
6194         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6195         (do_pwrite): Don't use CHECK_N.
6196         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6197         (do_pwrite64): Don't use CHECK_N.
6198         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6199         (__libc_readv): Don't use CHECK_N.
6200         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6201         (semop): Don't use CHECK_N.
6202         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6203         <bp-checks.h>.
6204         (semtimedop): Don't use CHECK_N.
6205         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6206         (__libc_pread): Don't use CHECK_N.
6207         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6208         <bp-checks.h>.
6209         (__libc_pread64): Don't use CHECK_N.
6210         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6211         <bp-checks.h>.
6212         (__libc_pwrite): Don't use CHECK_N.
6213         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6214         <bp-checks.h>.
6215         (__libc_pwrite64): Don't use CHECK_N.
6216         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6217         <bp-checks.h>.
6218         (__libc_msgrcv): Don't use CHECK_N.
6219         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6220         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
6221         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6222         (__libc_writev): Don't use CHECK_N.
6224 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6226         * string/strcpy.c: Removed unused variable.
6228         * Makeconfig (+sysdep-includes): Define with := rather than =.
6229         Use an existing include/ subdir of each sysdeps dir before it.
6231 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6233         * nscd/connection.c (register_traced_file): Comment function.
6234         [HAVE_INOTIFY] (union __inev): Define.
6235         [HAVE_INOTIFY] (inotify_check_files): New function.
6236         [HAVE_INOTIFY] (clear_db_cache): Likewise.
6237         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6238         clear_db_cache.
6239         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6241 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6243         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6244         loaded if not already and that a failure is permanent.
6246 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6248         [BZ #15006]
6249         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6250         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6252 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6254         [BZ #13550]
6255         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6256         (CHECK_1_NULL_OK): Likewise.
6257         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6258         (__fxstat): Do not use CHECK_1.
6259         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6260         <bp-checks.h>.
6261         (___fxstat64): Do not use CHECK_1.
6262         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6263         <bp-checks.h>.
6264         (__fxstatat): Do not use CHECK_1.
6265         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6266         <bp-checks.h>.
6267         (__fxstatat64): Do not use CHECK_1.
6268         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6269         <bp-checks.h>.
6270         (__fxstat): Do not use CHECK_1.
6271         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6272         <bp-checks.h>.
6273         (__fxstatat): Do not use CHECK_1.
6274         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6275         <bp-checks.h>.
6276         (__getresgid): Do not use CHECK_1.
6277         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6278         <bp-checks.h>.
6279         (__getresuid): Do not use CHECK_1.
6280         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6281         <bp-checks.h>.
6282         (__lxstat): Do not use CHECK_1.
6283         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6284         <bp-checks.h>.
6285         (__old_msgctl): Do not use CHECK_1.
6286         (__new_msgctl): Likewise.
6287         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6288         <bp-checks.h>.
6289         (__new_setrlimit): Do not use CHECK_1.
6290         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6291         <bp-checks.h>.
6292         (__old_shmctl): Do not use CHECK_1.
6293         (__new_shmctl): Likewise.
6294         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6295         <bp-checks.h>.
6296         (__xstat): Do not use CHECK_1.
6297         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6298         (__lxstat): Do not use CHECK_1.
6299         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6300         <bp-checks.h>.
6301         (___lxstat64): Do not use CHECK_1.
6302         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6303         (__old_msgctl): Do not use CHECK_1.
6304         (__new_msgctl): Likewise.
6305         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6306         <bp-checks.h>.
6307         (__gettimeofday): Do not use CHECK_1.
6308         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6309         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6310         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6311         <bp-checks.h>.
6312         (__gettimeofday): Do not use CHECK_1.
6313         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6314         (__old_shmctl): Do not use CHECK_1_NULL_OK.
6315         (__new_shmctl): Do not use CHECK_1.
6316         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6317         <bp-checks.h>.
6318         (do_sigtimedwait): Do not use CHECK_1.
6319         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6320         <bp-checks.h>.
6321         (do_sigwaitinfo): Do not use CHECK_1.
6322         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6323         <bp-checks.h>.
6324         (msgctl): Do not use CHECK_1.
6325         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6326         <bp-checks.h>.
6327         (shmctl): Do not use CHECK_1.
6328         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6329         (ustat): Do not use CHECK_1.
6330         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6331         <bp-checks.h>.
6332         (__fxstat): Do not use CHECK_1.
6333         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6334         <bp-checks.h>.
6335         (__fxstatat): Do not use CHECK_1.
6336         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6337         <bp-checks.h>.
6338         (__lxstat): Do not use CHECK_1.
6339         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6340         <bp-checks.h>.
6341         (__xstat): Do not use CHECK_1.
6342         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6343         (__xstat): Do not use CHECK_1.
6344         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6345         (___xstat64): Do not use CHECK_1.
6347         [BZ #13550]
6348         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6349         definitions.
6350         (CHECK_BOUNDS_HIGH): Likewise.
6351         * string/strcpy.c: Do not include <bp-checks.h>.
6352         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6354 2013-02-07  Roland McGrath  <roland@hack.frob.com>
6356         * nscd/nscd-client.h (__nscd_drop_map_ref):
6357         Add __attribute__ ((unused)).
6358         * nis/nss-nisplus.h (niserr2nss): Likewise.
6360         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6361         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6363         * csu/libc-tls.c (init_static_tls, init_slotinfo):
6364         Remove inline keyword.
6365         * include/rounding-mode.h (round_away): Likewise.
6366         * libio/wfileops.c (adjust_wide_data): Likewise.
6367         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6368         (__m128i_strloadu_tolower): Likewise.
6369         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6370         (__m128i_strloadu_tolower): Likewise.
6371         * time/mktime.c (ydhms_diff): Likewise.
6372         * locale/elem-hash.h (elem_hash): Likewise.
6373         * locale/setlocale.c (setdata): Likewise.
6374         * posix/regex_internal.h (re_string_char_size_at): Likewise.
6375         (re_string_wchar_at): Likewise.
6376         (bitset_not, bitset_merge, bitset_mask): Likewise.
6377         [!(__GNUC__ > 3)] (inline): Remove macro.
6378         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6379         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6380         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6381         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6382         * string/memcmp.c (memcmp_bytes): Likewise.
6383         * locale/programs/locarchive.c (compute_hashval): Likewise.
6384         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6385         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6386         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6387         * nss/getent.c (print_rpc, print_protocols): Likewise.
6388         (print_passwd, print_group, print_aliases): Likewise.
6389         * nis/nss-nisplus.h (niserr2nss): Likewise.
6390         * nscd/connections.c (restart_p): Likewise.
6391         Change return type to bool.
6393 2013-02-05  Roland McGrath  <roland@hack.frob.com>
6395         * Makeconfig (all-Depend-files): Add existing
6396         $(sorted-subdirs:=/Depend) files.
6397         (all-subdirs): Remove nss.
6398         * sysdeps/unix/inet/Subdirs: Add it here instead.
6399         * hesiod/Depend: New file.
6401         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6402         instead of calling alloca.
6404         * io/lseek.c (__lseek): Rename to __libc_lseek.
6405         Define __lseek as an alias.
6407         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6409 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
6411         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6412         else clause and remove check for non-standard endianness.
6414 2013-02-04  David S. Miller  <davem@davemloft.net>
6416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6418 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
6420         [BZ #13550]
6421         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6422         (__ubp_memchr): Remove prototype.
6423         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6424         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6425         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6426         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6427         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6428         Remove alias.
6429         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6430         (__ubp_memchr): Likewise.
6431         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6432         (__ubp_memchr): Likewise.
6433         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6434         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6435         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6436         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6437         CHECK_STRING.
6438         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6439         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6440         (__getcwd): Do not use CHECK_STRING.
6441         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6442         <bp-checks.h>.
6443         (__real_chown): Do not use CHECK_STRING.
6444         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6445         <bp-checks.h>.
6446         (fchownat): Do not use CHECK_STRING.
6447         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6448         CHECK_STRING.
6449         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6450         <bp-checks.h>.
6451         (__lchown): Do not use CHECK_STRING.
6452         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6453         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6454         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6455         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6457         include <bp-checks.h>.
6458         (truncate64): Do not use CHECK_STRING.
6459         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6460         <bp-checks.h>.
6461         (__real_chown): Do not use CHECK_STRING.
6462         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6463         <bp-checks.h>.
6464         (__lchown): Do not use CHECK_STRING.
6465         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6466         <bp-checks.h>.
6467         (__chown): Do not use CHECK_STRING.
6468         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6469         <bp-checks.h>.
6470         (truncate64): Do not use CHECK_STRING.
6471         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6472         Likewise.
6473         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6474         (__xmknod): Do not use CHECK_STRING.
6475         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6476         <bp-checks.h>.
6477         (__xmknodat): Do not use CHECK_STRING.
6478         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6479         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6481 2013-02-04  Andreas Schwab  <schwab@suse.de>
6483         [BZ #14142]
6484         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6485         * include/netdb.h: Likewise for h_errno.
6486         * elf/tst-stackguard1.c: Include <tls.h>.
6488 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6490         * elf/link.h (struct link_map): Extend the l_addr comment.
6491         * include/link.h (struct link_map): Likewise.
6493 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
6495         [BZ #13550]
6496         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6497         (BOUNDED_1): Remove macro.
6498         * debug/backtrace.c: Don't include <bp-checks.h>.
6499         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6500         (__backtrace): Likewise.
6501         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6502         <bp-checks.h>.
6503         (__backtrace): Don't use BOUNDED_1.
6504         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6505         <bp-checks.h>.
6506         (__backtrace): Don't use BOUNDED_1.
6507         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6508         (__backtrace): Don't use BOUNDED_1.
6509         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6510         (shmat): Don't use BOUNDED_N.
6512 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
6514         [BZ #13550]
6515         * sysdeps/generic/bp-start.h: Remove file.
6516         * csu/libc-start.c: Don't include <bp-start.h>.
6517         (LIBC_START_MAIN): Set up __environ directly instead of using
6518         INIT_ARGV_and_ENVIRON.
6519         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6520         <bp-start.h>.
6522         [BZ #13550]
6523         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6524         definitions.
6525         (CHECK_FCNTL): Likewise.
6526         (CHECK_N_PAGES): Likewise.
6528         [BZ #13550]
6529         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6530         definitions.
6531         (CHECK_SIGSET_NULL_OK): Likewise.
6532         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6533         <bp-checks.h>.
6534         (sigpending): Don't use CHECK_SIGSET.
6535         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6536         <bp-checks.h>.
6537         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6538         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6539         <bp-checks.h>.
6540         (do_sigsuspend): Don't use CHECK_SIGSET.
6541         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6542         use CHECK_SIGSET.
6543         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6544         (do_sigwait): Don't use CHECK_SIGSET.
6545         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6546         use CHECK_SIGSET.
6547         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6548         include <bp-checks.h>.
6549         (sigpending): Don't use CHECK_SIGSET.
6550         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6551         include <bp-checks.h>.
6552         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6553         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6554         <bp-checks.h>.
6555         (sigpending): Don't use CHECK_SIGSET.
6556         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6557         <bp-checks.h>.
6558         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6560         [BZ #13550]
6561         * sysdeps/generic/bp-semctl.h: Remove file.
6562         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6563         <bp-checks.h> and <bp-semctl.h>.
6564         (__old_semctl): Don't use CHECK_SEMCTL.
6565         (__new_semctl): Likewise.
6566         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6567         and <bp-semctl.h>.
6568         (__old_semctl): Don't use CHECK_SEMCTL.
6569         (__new_semctl): Likewise.
6570         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6571         <bp-checks.h> and <bp-semctl.h>.
6572         (__old_semctl): Don't use CHECK_SEMCTL.
6573         (__new_semctl): Likewise.
6574         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6575         <bp-checks.h> and <bp-semctl.h>.
6576         (semctl): Don't use CHECK_SEMCTL.
6578         [BZ #13550]
6579         * Makerules (elide-bp-thunks): Remove variable.
6580         (elide-routines.oS): Don't use $(elide-bp-thunks).
6581         (elide-routines.os): Likewise.
6582         (elide-routines.o): Likewise.
6583         (elide-routines.op): Likewise.
6584         (elide-routines.og): Likewise.
6585         (objects): Don't use $(bp-thunks).
6586         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6587         include.
6588         (common-generated): Do not add s-proto-bp.d.
6589         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6590         (int): Likewise.
6591         (typ): Likewise.
6592         Do not generate makefile rules for bounded-pointer thunks.
6593         * sysdeps/generic/bp-thunks.h: Remove file.
6594         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6595         * sysdeps/unix/s-proto-bp.S: Likewise.
6597         [BZ #15062]
6598         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6599         parts of result separately when argument is not close to line from
6600         -i to i and one part of argument is small.
6601         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6602         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6603         * math/libm-test.inc (cacos_test): Add more tests.
6604         (casin_test): Likewise.
6605         (casinh_test): Likewise.
6606         * sysdeps/i386/fpu/libm-test-ulps: Update.
6607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6609 2013-01-31  David S. Miller  <davem@davemloft.net>
6611         * po/de.po: Update from translation team.
6613 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
6615         * time/tzfile.c: Include stdint.h for SIZE_MAX.
6617 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
6619         * configure.in (_AC_PROG_CC_C89): New definition.
6620         * configure: Regenerate.
6622         * configure.in (AC_PROG_CPP): New definition.
6623         * configure: Regenerate.
6625 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6627         * debug/tst-backtrace.h: New file.
6628         * debug/tst-backtrace2.c: Include tst-backtrace.h.
6629         (ret): Remove variable.
6630         (x): Likewise.
6631         (FAIL): Remove macro.
6632         (NO_INLINE): Likewise.
6633         (fn1): Use match function instead of strstr.
6634         * debug/tst-backtrace3.c: Include tst-backtrace.h.
6635         (ret): Remove variable.
6636         (x): Likewise.
6637         (FAIL): Remove macro.
6638         (NO_INLINE): Likewise.
6639         (fn): Use match function instead of strstr.
6640         * debug/tst-backtrace4.c: Include tst-backtrace.h.
6641         (ret): Remove variable.
6642         (x): Likewise.
6643         (FAIL): Remove macro.
6644         (NO_INLINE): Likewise.
6645         (handle_signal): Use match function instead of strstr.
6646         * debug/tst-backtrace5.c: Include tst-backtrace.h.
6647         (ret): Remove variable.
6648         (x): Likewise.
6649         (FAIL): Remove macro.
6650         (NO_INLINE): Likewise.
6651         (handle_signal): Use match function instead of strstr.
6653 2013-01-23  Roland McGrath  <roland@hack.frob.com>
6655         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6657 2013-01-23  David S. Miller  <davem@davemloft.net>
6659         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6660         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6661         argument of CAS if possible.
6662         * sysdeps/sparc/sparc64/bits/atomic.h
6663         (__arch_compare_and_exchange_val_32_acq): Likewise.
6664         (__arch_compare_and_exchange_val_64_acq): Likewise.
6666 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
6668         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6669         * sysdeps/posix/ulimit.c: ... this.
6670         Include <limits.h>.
6671         * sysdeps/unix/bsd/ulimit.c: Remove file.
6673 2013-01-23  Adam Conrad  <adconrad@0c3.net>
6675         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6676         (LDFLAGS-tst-array5): Likewise.
6678 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6680         [BZ #15036]
6681         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6682         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6683         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6684         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6686 2013-01-21  David S. Miller  <davem@davemloft.net>
6688         * sysdeps/sparc/backtrace.c: New file.
6689         * sysdeps/sparc/sparc32/backtrace.h: New file.
6690         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6691         * sysdeps/sparc/sparc64/backtrace.h: New file.
6692         * sysdeps/sparc/sparc64/backtrace.c: Delete.
6693         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6694         -funwind-tables.
6696 2013-01-21  Andreas Schwab  <schwab@suse.de>
6698         [BZ #15020]
6699         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6700         closed its stdout.
6702 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
6704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6705         "mpa2.h".
6706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6708 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
6709             Mark Mitchell  <mark@codesourcery.com>
6710             Tom de Vries  <tom@codesourcery.com>
6711             Paul Pluzhnikov  <ppluzhnikov@google.com>
6713         * debug/tst-backtrace2.c: New file.
6714         * debug/tst-backtrace3.c: Likewise.
6715         * debug/tst-backtrace4.c: Likewise.
6716         * debug/tst-backtrace5.c: Likewise.
6717         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6718         (CFLAGS-tst-backtrace3.c): Likewise.
6719         (CFLAGS-tst-backtrace4.c): Likewise.
6720         (CFLAGS-tst-backtrace5.c): Likewise.
6721         (LDFLAGS-tst-backtrace2): Likewise.
6722         (LDFLAGS-tst-backtrace3): Likewise.
6723         (LDFLAGS-tst-backtrace4): Likewise.
6724         (LDFLAGS-tst-backtrace5): Likewise.
6725         (tests): Add new tests tst-backtrace2, tst-backtrace3,
6726         tst-backtrace4 and tst-backtrace5.
6728 2013-01-18  Anton Blanchard  <anton@samba.org>
6729             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6731         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6732         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6733         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6734         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6736         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6737         "+r" and remove output regs list as redundant.  Add explicit inline
6738         asm to specify register of return val to work around compiler codegen
6739         bug.  Remove (int) cast on return value.  Add return type parameter to
6740         use in macro so that this macro does not truncate return value for
6741         64-bit values.
6742         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6743         pass to INTERNAL_VSYSCALL_NCS.
6744         (INLINE_VSYSCALL): Add 'long int' as return type to
6745         INTERNAL_VSYSCALL_NCS macro invocation.
6746         (INTERNAL_VSYSCALL): Add 'long int' as return type to
6747         INTERNAL_VSYSCALL_NCS macro invocation.
6748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6750 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6752         [BZ #14496]
6753         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6754         Fix application of SIMD FP exception mask.
6756         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6757         mp_no from a power of two.
6758         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6759         __mpexp_twomm1.  Use __pow_mp.
6761         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6762         multiplication.
6764 2013-01-17  David S. Miller  <davem@davemloft.net>
6766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6768 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
6770         [BZ #15023]
6771         * include/complex.h: Condition contents on [!_COMPLEX_H].
6772         (__kernel_casinhf): New prototype.
6773         (__kernel_casinh): Likewise.
6774         (__kernel_casinhl): Likewise.
6775         * math/Makefile (libm_calls): Add k_casinh.
6776         * math/k_casinh.c: New file.
6777         * math/k_casinhf.c: Likewise.
6778         * math/k_casinhl.c: Likewise.
6779         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6780         finite nonzero arguments.
6781         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6782         finite nonzero arguments.
6783         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6784         finite nonzero arguments.
6785         * math/s_casinh.c: Do not include <float.h>.
6786         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6787         * math/s_casinhf.c: Do not include <float.h>.
6788         (__casinhf): Move code for finite nonzero arguments to
6789         k_casinhf.c.
6790         * math/s_casinhl.c: Do not include <float.h>.
6791         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6792         redefine.
6793         (__casinhl): Move code for finite nonzero arguments to
6794         k_casinhl.c.
6795         * math/libm-test.inc (cacos_test): Add more tests.
6796         * sysdeps/i386/fpu/libm-test-ulps: Update.
6797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6799 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
6801         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6802         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6803         [!HAVE_MREMAP]: Remove [defined linux] case.
6804         * malloc/arena.c: Do not include <malloc-sysdep.h>.
6806 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6808         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6810 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
6812         * elf/elf.h (R_386_SIZE32): New relocation.
6813         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6814         R_386_SIZE32.
6815         (elf_machine_rela): Likewise.
6816         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6817         R_X86_64_SIZE64 and R_X86_64_SIZE32.
6819 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
6821         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6822         (FP_FAST_FMA): Do not define.
6823         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6824         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6825         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6826         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6827         !_SOFT_FLOAT]: Likewise.
6828         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6829         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6830         value.
6831         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6832         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6833         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6834         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6835         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6836         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6837         file.
6839 2013-01-16  Andreas Schwab  <schwab@suse.de>
6841         [BZ #14327]
6842         * include/stdlib.h (__mktemp): Add declaration.
6843         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6844         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6846 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6848         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6849         definitions.
6850         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6851         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6852         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6853         definitions here.
6854         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6855         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6856         definitions.
6857         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6858         and ONE.
6859         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6860         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6861         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6862         definitions.
6863         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6864         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6865         definitions.
6866         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6868         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6870 2013-01-15  David S. Miller  <davem@davemloft.net>
6872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6873         trunc{,f} to libm-sysdep_routes.
6874         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6876         file.
6877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6879         file.
6880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6881         file.
6882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6884         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6885         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6886         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6887         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6888         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6889         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6892         nearbyint{,f} to libm-sysdep_routes.
6893         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6895         New file.
6896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6897         file.
6898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6899         New file.
6900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6901         file.
6902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6904         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6905         file.
6906         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6907         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6908         file.
6909         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6910         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6911         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6913         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6914         libc_feholdexcept and libc_fesetenv.
6916 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
6918         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6920 2013-01-14  David S. Miller  <davem@davemloft.net>
6922         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6923         (SPARC_ASM_VIS2_IFUNC): Likewise.
6924         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6926         use of 'siam' instruction.
6927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6928         Likewise.
6929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6930         Likewise.
6931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6932         Likewise.
6933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6935         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6938         file.
6939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6940         file.
6941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6942         file.
6943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6944         file.
6945         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6947         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6948         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6950         new VIS2 routines.
6951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6954         Likewise.
6955         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6960         routines to libm-sysdep_routines.
6961         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6964         fdim/fdimf to libm-sysdep_routines.
6965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6966         file.
6967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6969         file.
6970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6973         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6974         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6975         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6976         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6978 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6980         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6981         to optimize copies.
6983         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6987         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6988         local variable MPTWO.
6989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6990         Likewise.
6992 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
6994         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6995         GLOB_NOESCAPE.
6997 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
6999         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7001 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7003         * manual/pattern.texi (glob_t): Document gl_flags.
7004         (glob64_t): Likewise.
7006 2013-01-11  David S. Miller  <davem@davemloft.net>
7008         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7009         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7010         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7011         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7012         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7013         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7014         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7015         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7016         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7017         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7018         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7019         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7020         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7022         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7023         sparc V9 rather than using V8 code.
7024         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7025         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7027         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7028         Move to...
7029         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7030         Here.
7032 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7034         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7035         not in the main loop.
7036         * configure: Regenerated.
7038 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7040         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7041         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7042         to just #else.
7043         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7044         [!__GLIBC_HAVE_LONG_LONG] case.
7045         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7046         condition to just #else.
7047         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7048         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7049         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7050         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7051         unconditional.
7052         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7053         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7054         #elif condition to just #else.
7055         * sysdeps/unix/sysv/linux/sys/sysmacros.h
7056         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7057         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7058         #elif condition to just #else.
7060 2013-01-11  Steve Ellcey  <sellcey@mips.com>
7062         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7063         (EF_MIPS_ARCH_64): Fix value.
7064         (EF_MIPS_ARCH_32R2): New.
7065         (EF_MIPS_ARCH_64R2): New.
7067 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
7069         * Makeconfig (+link-pie-before-libc): New.
7070         (+link-pie-after-libc): Likewise.
7071         (+link-pie-tests): Likewise.
7072         (+link-pie): Rewritten.
7073         (link-before-libc): Remove $(config-LDFLAGS).
7074         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7075         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7076         (config-LDFLAGS): Renamed to ...
7077         (rtld-LDFLAGS): This.
7078         (rtld-tests-LDFLAGS): New macro.
7079         (link-libc-rpath-link): Likewise.
7080         (link-libc-tests-rpath-link): Likewise.
7081         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7082         (link-libc): Prepand $(link-libc-rpath-link).
7083         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7084         (test-program-prefix): New macro.
7085         (test-via-rtld-prefix): Likewise.
7086         (test-program-cmd): Likewise.
7087         (host-test-program-cmd): Likewise.
7088         * Makefile ($(common-objpfx)testrun.sh): Replace
7089         $(run-program-prefix) with $(test-program-prefix).
7090         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7091         $(rtld-LDFLAGS).
7092         ($(common-objpfx)shlib.lds): Likewise.
7093         (build-module-helper): Likewise.
7094         ($(common-objpfx)format.lds): Likewise.
7095         * Rules (binaries-pie-tests): New.
7096         (binaries-pie-notests): Likewise.
7097         (binaries-pie): Rewritten.
7098         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7099         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7100         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7101         (make-test-out): Replace $(host-built-program-cmd) with
7102         $(host-test-program-cmd).
7103         * config.make.in (build-hardcoded-path-in-tests): New variable.
7104         * configure.in (--enable-hardcoded-path-in-tests): New configure
7105         option.
7106         (hardcoded_path_in_tests): New AC_SUBST.
7107         * configure: Regenerated.
7108         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7109         $(built-program-cmd) with $(test-program-cmd).
7110         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7111         (test_program_cmd): This.
7112         * elf/Makefile ($(objpfx)order.out): Run test with
7113         $(test-program-prefix).
7114         ($(objpfx)order2.out): Likewise.
7115         ($(objpfx)tst-initorder.out): Likewise.
7116         ($(objpfx)tst-initorder2.out): Likewise.
7117         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7118         $(test-program-cmd).
7119         ($(objpfx)tst-array1-static.out): Likewise.
7120         ($(objpfx)tst-array2.out): Likewise.
7121         ($(objpfx)tst-array3.out): Likewise.
7122         ($(objpfx)tst-array4.out): Likewise.
7123         ($(objpfx)tst-array5.out): Likewise.
7124         ($(objpfx)tst-array5-static.out): Likewise.
7125         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7126         $(test-program-cmd).
7127         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7128         $(run-program-prefix) with $(test-program-prefix).
7129         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7130         (test_program_prefix): This.
7131         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7132         $(run-program-prefix) with $(test-program-prefix).
7133         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7134         (test_program_prefix): This.
7135         * iconvdata/tst-tables.sh: Likewise.
7136         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7137         $(run-program-prefix) with $(test-program-prefix).
7138         ($(objpfx)tst-translit.out): Likewise.
7139         ($(objpfx)tst-gettext2.out): Likewise.
7140         ($(objpfx)tst-gettext4.out): Likewise.
7141         ($(objpfx)tst-gettext6.out): Likewise.
7142         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7143         (test_program_prefix): This.
7144         * intl/tst-gettext2.sh: Likewise.
7145         * intl/tst-gettext4.sh  Likewise.
7146         * intl/tst-gettext6.sh: Likewise.
7147         * intl/tst-translit.sh: Likewise.
7148         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7149         with $(test-program-cmd).
7150         * libio/Makefile ($(objpfx)test-freopen.out): Replace
7151         $(run-program-prefix) with $(test-program-prefix).
7152         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7153         (test_program_prefix): This.
7154         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7155         $(run-program-prefix) with $(test-program-prefix).
7156         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7157         (test_program_prefix): This.
7158         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7159         * posix/Makefile ($(objpfx)globtest.out): Replace
7160         $(run-via-rtld-prefix) and $(test-wrapper) with
7161         $(test-program-prefix) and $(test-via-rtld-prefix).
7162         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7163         $(test-program-prefix).
7164         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7165         $(host-test-program-cmd).
7166         (tst-spawn-ARGS): Likewise.
7167         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7168         $(test-program-prefix).
7169         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7170         (test_via_rtld_prefix): This.
7171         (test_wrapper): Renamed to ...
7172         (test_program_prefix): This.
7173         (run_program_prefix): Replaced by test_program_prefix.
7174         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7175         (test_program_prefix): This.
7176         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7177         with $(host-test-program-cmd).
7178         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7179         $(run-program-prefix) with $(test-program-prefix).
7180         ($(objpfx)tst-printf.out): Likewise.
7181         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7182         $(test-program-cmd).
7183         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7184         (test_program_prefix): This.
7185         * stdio-common/tst-unbputc.sh: Likewise.
7186         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7187         $(run-program-prefix) with $(test-program-prefix).
7188         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7189         (test_program_prefix): This.
7190         * string/Makefile ($(objpfx)tst-svc.out):  Replace
7191         $(built-program-cmd) with $(test-program-cmd).
7193 2013-01-11  Andreas Jaeger  <aj@suse.de>
7195         [BZ #15003]
7196         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7197         value. Sync with Linux 3.7.
7199 2013-01-10  David S. Miller  <davem@davemloft.net>
7201         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7202         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7203         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7205 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7207         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7208         never set.
7209         * configure: Regenerated.
7211 2013-01-10  David S. Miller  <davem@davemloft.net>
7213         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7214         sparc V9 rather than using V8 code.
7215         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7216         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7218 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7220         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7221         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7222         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7223         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7224         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7225         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7226         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7227         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7228         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7229         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7230         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7231         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7232         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7233         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7234         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7235         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7236         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7237         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7238         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7239         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7240         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7241         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7242         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7243         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7244         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7245         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7246         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7248 2013-01-10  David S. Miller  <davem@davemloft.net>
7250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7252 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7254         * posix/Makefile (tests-static): New variable.
7255         (tests): Add $(tests-static).
7256         (tst-exec-static-ARGS): New variable.
7257         (tst-spawn-static-ARGS): Likewise.
7258         * posix/tst-exec-static.c: New file.
7259         * posix/tst-spawn-static.c: Likewise.
7260         * posix/tst-exec.c: Support run directly.
7261         * posix/tst-spawn.c: Likewise.
7263 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
7265         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7266         long.
7267         * math/bits/mathcalls.h (llrint): Likewise.
7268         (llround): Likewise.
7269         * stdlib/stdlib.h (struct drand48_data): Likewise.
7270         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7271         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7272         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7273         Likewise.
7274         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7275         Likewise.
7276         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7277         (elf_greg_t): Likewise.
7278         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7279         (__jmp_buf): Likewise.
7280         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7281         definitions.
7282         (llrint): Likewise, for all definitions.
7283         (llrintl): Likewise.
7285         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7286         Remove [__GNUC__] condition.
7287         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7288         condition to just [__USE_ISOC99].
7289         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7291 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7293         [BZ #14200]
7294         * sysdeps/unix/sysv/linux/x86/bits/environments.h
7295         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7296         defined.
7297         (_POSIX_V6_ILP32_OFF32): Likewise.
7298         (_XBS5_ILP32_OFF32): Likewise.
7299         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7300         (__ILP32_OFFBIG_LDFLAGS): Likewise.
7302 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7304         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7306         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7307         doubles __mpexp_twomm1.  Adjust usage.
7308         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7309         Remove.
7311 2013-01-10  Andreas Schwab  <schwab@suse.de>
7313         [BZ #14964]
7314         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7315         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7317 2013-01-09  David S. Miller  <davem@davemloft.net>
7319         [BZ #15003]
7320         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7321         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7322         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7323         TCP_FASTOPEN): Define.
7324         (tcp_repair_opt): New structure.
7325         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7326         enum values.
7327         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7328         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7329         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7330         (tcp_cookie_transactions): New structure.
7332 2013-01-09  Anton Blanchard  <anton@samba.org>
7334         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7335         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7336         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7337         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7339 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
7341         * include/features.h (__USE_ANSI): Remove.
7343 2013-01-09  Roland McGrath  <roland@hack.frob.com>
7345         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7347         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7349 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7351         * sysdeps/s390/fpu/libm-test-ulps: Update.
7353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7355         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7356         (__acr): Likewise.
7357         (__cpy): Likewise.
7358         (norm): Likewise.
7359         (denorm): Likewise.
7360         (__mp_dbl): Likewise.
7361         (__dbl_mp): Likewise.
7362         (add_magnitudes): Likewise.
7363         (sub_magnitudes): Likewise.
7364         (__add): Likewise.
7365         (__sub): Likewise.
7366         (__mul): Likewise.
7367         (__inv): Likewise.
7368         (__dvd): Likewise.
7369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7370         (__acr): Likewise.
7371         (__cpy): Likewise.
7372         (norm): Likewise.
7373         (denorm): Likewise.
7374         (__mp_dbl): Likewise.
7375         (__dbl_mp): Likewise.
7376         (add_magnitudes): Likewise.
7377         (sub_magnitudes): Likewise.
7378         (__add): Likewise.
7379         (__sub): Likewise.
7380         (__mul): Likewise.
7381         (__inv): Likewise.
7382         (__dvd): Likewise.
7383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7384         (__acr): Likewise.
7385         (__cpy): Likewise.
7386         (norm): Likewise.
7387         (denorm): Likewise.
7388         (__mp_dbl): Likewise.
7389         (__dbl_mp): Likewise.
7390         (add_magnitudes): Likewise.
7391         (sub_magnitudes): Likewise.
7392         (__add): Likewise.
7393         (__sub): Likewise.
7394         (__mul): Likewise.
7395         (__inv): Likewise.
7396         (__dvd): Likewise.
7398 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
7400         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7401         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7402         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7403         2 && __USE_EXTERN_INLINES]: Likewise.
7405 2013-01-08  Andreas Jaeger  <aj@suse.de>
7407         [BZ# 14985]
7408         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7409         Remove.
7410         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7411         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7413 2013-01-07  Anton Blanchard  <anton@samba.org>
7415         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7416         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7417         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7418         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7419         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7420         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7421         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7422         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7424         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7425         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7426         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7427         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7428         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7429         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7430         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7431         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7432         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7433         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7434         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7435         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7436         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7437         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7438         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7439         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7440         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7441         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7442         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7443         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7444         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7445         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7447         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7448         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7449         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7450         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7451         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7452         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7453         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7454         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7455         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7456         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7457         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7459 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
7461         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7462         (__MALLOC_PMT): Likewise.
7463         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7464         [__GNUC__], only on [_LIBC].
7465         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7466         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7467         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7468         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7469         forward declaration.
7470         (realloc_hook_ini): Likewise.
7471         (memalign_hook_ini): Likewise.
7472         (__libc_memalign): Do not use __MALLOC_PMT in variable
7473         declaration.
7474         (__libc_valloc): Likewise.
7475         (__libc_pvalloc): Likewise.
7476         (__libc_calloc): Likewise.
7477         (__posix_memalign): Likewise.
7479         [BZ #14996]
7480         * math/s_casinh.c: Include <float.h>.
7481         (__casinh): Do not do computation with squaring and square root
7482         for large arguments.
7483         * math/s_casinhf.c: Include <float.h>.
7484         (__casinhf): Do not do computation with squaring and square root
7485         for large arguments.
7486         * math/s_casinhl.c: Include <float.h>.
7487         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7488         (__casinhl): Do not do computation with squaring and square root
7489         for large arguments.
7490         * math/libm-test.inc (casin_test): Add more tests.
7491         (casinh_test): Likewise.
7492         * sysdeps/i386/fpu/libm-test-ulps: Update.
7493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7495 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
7497         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7498         (__x86_64_raw_data_cache_size): Likewise.
7499         (__x86_64_data_cache_size_half): Likewise.
7500         (__x86_64_raw_data_cache_size_half): Likewise.
7501         (__x86_64_shared_cache_size): Likewise.
7502         (__x86_64_raw_shared_cache_size): Likewise.
7503         (__x86_64_shared_cache_size_half): Likewise.
7504         (__x86_64_raw_shared_cache_size_half): Likewise.
7505         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7506         to ...
7507         (__x86_data_cache_size): This.
7508         (__x86_64_raw_data_cache_size): Renamed to ...
7509         (__x86_raw_data_cache_size): This.
7510         (__x86_64_data_cache_size_half): Renamed to ...
7511         (__x86_data_cache_size_half): This.
7512         (__x86_64_raw_data_cache_size_half): Renamed to ...
7513         (__x86_raw_data_cache_size_half): This.
7514         (__x86_64_shared_cache_size): Renamed to ...
7515         (__x86_shared_cache_size): This.
7516         (__x86_64_raw_shared_cache_size): Renamed to ...
7517         (__x86_raw_shared_cache_size): This.
7518         (__x86_64_shared_cache_size_half): Renamed to ...
7519         (__x86_shared_cache_size_half): This.
7520         (__x86_64_raw_shared_cache_size_half): Renamed to ...
7521         (__x86_raw_shared_cache_size_half): This.
7522         * sysdeps/x86_64/memcpy.S: Updated.
7523         * sysdeps/x86_64/memset.S: Likewise.
7524         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7525         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7526         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7528 2013-01-04  David S. Miller  <davem@davemloft.net>
7530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7532 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
7534         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7535         1 to avoid redefinition warning.
7536         (__USE_GNU): Don't define.
7537         (init_signaling_nan): Protoize.
7539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7541 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7543         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7544         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7545         (__cpymn): Likewise.
7546         (norm): Remove commented code.
7547         (denorm): Likewise.
7548         (__mp_dbl): Likewise.
7549         (__inv): Likewise.
7550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7551         (__cpymn): Likewise.
7552         (norm): Remove commented code.
7553         (denorm): Likewise.
7554         (__mp_dbl): Likewise.
7555         (__inv): Likewise.
7557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7558         mp_no value for 1.0 and 2.0.
7559         (norm): Use RADIXI instead of radixi.d.
7560         (denorm): Likewise.
7561         (__mul): Use 0.0 instead of zero.d.
7562         * sysdeps/powerpc/powerpc64/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.
7568 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
7570         [BZ #14994]
7571         * math/s_casinh.c (__casinh): Reduce finite argument to first
7572         quadrant then set signs of results at the end.
7573         * math/s_casinhf.c (__casinhf): Likewise.
7574         * math/s_casinhl.c (__casinhl): Likewise.
7575         * math/libm-test.inc (casin_test): Add more tests.
7576         (casinh_test): Likewise.
7577         * sysdeps/i386/fpu/libm-test-ulps: Update.
7578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7580 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7582         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7584         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7586         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7587         declarations.
7588         (denorm): Likewise.
7589         (__mp_dbl): Likewise.
7590         (__inv): Likewise.
7592         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7593         and adjust the header comment.
7595         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7596         variable name from declaration.
7598 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
7600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7601         Initialize COMMON_CPUID_INDEX_7 element.
7602         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7603         (CPUID_RTM): Likewise.
7604         (HAS_RTM): Likewise.
7605         (COMMON_CPUID_INDEX_7): New enum.
7607 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
7609         [BZ #14981]
7610         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7611         size is zero, record memory as freed.
7613 2013-01-03  Andreas Jaeger  <aj@suse.de>
7615         * po/ia.po: Add new Interlingua translation.
7617 2012-01-03  Allan McRae  <allan@archlinux.org>
7619         * locale/programs/localedef.c: Fix description of '--posix' flag.
7621 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
7623         * NEWS: Update dates in second copyright notice.
7624         * README: Update copyright dates in example.
7625         * manual/libc.texinfo: Update copyright dates.
7626         * scripts/test-installation.pl: Update copyright date in --version
7627         output.
7629         * hurd/ctty-input.c: Fix copyright notice formatting.
7630         * hurd/ctty-output.c: Likewise.
7631         * hurd/dtable.c: Likewise.
7632         * hurd/hurd-raise.c: Likewise.
7633         * hurd/hurdprio.c: Likewise.
7634         * hurd/msgportdemux.c: Likewise.
7635         * misc/sys/file.h: Likewise.
7636         * misc/sys/ioctl.h: Likewise.
7637         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7638         * sysdeps/mach/hurd/chdir.c: Likewise.
7639         * sysdeps/mach/hurd/fchdir.c: Likewise.
7640         * sysdeps/mach/hurd/rename.c: Likewise.
7641         * sysdeps/mach/hurd/rmdir.c: Likewise.
7642         * sysdeps/mach/hurd/seekdir.c: Likewise.
7643         * sysdeps/mach/hurd/setsid.c: Likewise.
7644         * sysdeps/posix/wait3.c: Likewise.
7646         * All files with FSF copyright notices: Update copyright dates
7647         using scripts/update-copyrights.
7648         * intl/plural.c: Regenerated.
7649         * locale/programs/charmap-kw.h: Likewise.
7650         * locale/programs/locfile-kw.h: Likewise.
7652 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7654         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7655         four values.
7657         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7658         calculation loop and add branch prediction.
7660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7661         check access beyond bounds of m1np.
7663         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7664         MPTWO.
7665         (__inv): Remove local variable MPTWO to use the global
7666         constant.
7667         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7668         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7669         variable MPTWO.
7670         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7671         MP3HALFS static const.
7673 2013-01-01  David S. Miller  <davem@davemloft.net>
7675         * po/ca.po: Update from translation team.
7677 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
7679         * scripts/update-copyrights: New file.
7680         * Makeconfig: Reformat copyright notice.
7681         * ctype/ctype.h: Likewise.
7682         * debug/swprintf_chk.c: Likewise.
7683         * elf/dl-cache.c: Likewise.
7684         * elf/dl-debug.c: Likewise.
7685         * elf/dl-object.c: Likewise.
7686         * grp/initgroups.c: Likewise.
7687         * hurd/Makefile: Likewise.
7688         * hurd/hurd/signal.h: Likewise.
7689         * hurd/hurdfault.c: Likewise.
7690         * hurd/hurdioctl.c: Likewise.
7691         * hurd/hurdlookup.c: Likewise.
7692         * hurd/intr-msg.c: Likewise.
7693         * iconv/gconv_open.c: Likewise.
7694         * libio/swprintf.c: Likewise.
7695         * locale/lc-ctype.c: Likewise.
7696         * locale/nl_langinfo.c: Likewise.
7697         * mach/Machrules: Likewise.
7698         * mach/Makefile: Likewise.
7699         * malloc/obstack.h: Likewise.
7700         * manual/Makefile: Likewise.
7701         * manual/tsort.awk: Likewise.
7702         * misc/bits/stab.def: Likewise.
7703         * nis/nis_print_group_entry.c: Likewise.
7704         * nis/nis_table.c: Likewise.
7705         * nis/nss_compat/compat-pwd.c: Likewise.
7706         * nis/nss_compat/compat-spwd.c: Likewise.
7707         * po/Makefile: Likewise.
7708         * posix/fnmatch.c: Likewise.
7709         * posix/regex.h: Likewise.
7710         * resolv/Makefile: Likewise.
7711         * resolv/nss_dns/dns-network.c: Likewise.
7712         * resolv/res_hconf.c: Likewise.
7713         * scripts/gen-sorted.awk: Likewise.
7714         * soft-fp/soft-fp.h: Likewise.
7715         * stdio-common/printf.h: Likewise.
7716         * stdlib/monetary.h: Likewise.
7717         * stdlib/random.c: Likewise.
7718         * stdlib/random_r.c: Likewise.
7719         * sysdeps/generic/Makefile: Likewise.
7720         * sysdeps/gnu/Makefile: Likewise.
7721         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7722         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7723         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7724         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7725         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7726         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7727         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7728         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7729         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7730         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7731         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7732         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7733         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7734         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7735         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7736         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7737         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7738         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7739         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7740         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7741         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7742         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7743         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7744         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7745         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7746         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7747         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7748         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7749         * sysdeps/mach/hurd/errnos.awk: Likewise.
7750         * sysdeps/mach/hurd/fork.c: Likewise.
7751         * sysdeps/mach/hurd/getcwd.c: Likewise.
7752         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7753         * sysdeps/mach/hurd/mmap.c: Likewise.
7754         * sysdeps/mach/hurd/utimes.c: Likewise.
7755         * sysdeps/mach/hurd/xmknod.c: Likewise.
7756         * sysdeps/posix/profil.c: Likewise.
7757         * sysdeps/posix/readdir_r.c: Likewise.
7758         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7759         * sysdeps/powerpc/bits/setjmp.h: Likewise.
7760         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7761         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7763         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7764         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7765         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7767         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7768         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7769         * sysdeps/pthread/lio_listio.c: Likewise.
7770         * sysdeps/sparc/dl-procinfo.h: Likewise.
7771         * sysdeps/unix/i386/sysdep.S: Likewise.
7772         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7773         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7774         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7775         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7777         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7778         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7779         * sysdeps/unix/sysv/linux/speed.c: Likewise.
7780         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7781         * sysdeps/wordsize-32/divdi3.c: Likewise.
7782         * time/sys/time.h: Likewise.
7783         * wcsmbs/Makefile: Likewise.
7785 2013-01-01  David S. Miller  <davem@davemloft.net>
7787         * po/fr.po: Update from translation team.
7789         * catgets/gencat.c: Update copyright year.
7790         * csu/version.c: Likewise.
7791         * debug/catchsegv.sh: Likewise.
7792         * debug/pcprofiledump.c: Likewise.
7793         * debug/xtrace.sh: Likewise.
7794         * elf/ldconfig.c: Likewise.
7795         * elf/ldd.bash.in: Likewise.
7796         * elf/pldd.c: Likewise.
7797         * elf/sotruss.ksh: Likewise.
7798         * elf/sprof.c: Likewise.
7799         * iconv/iconv_prog.c: Likewise.
7800         * iconv/iconvconfig.c: Likewise.
7801         * locale/programs/locale.c: Likewise.
7802         * locale/programs/localedef.c: Likewise.
7803         * login/programs/pt_chown.c: Likewise.
7804         * malloc/memusage.sh: Likewise.
7805         * malloc/memusagestat.c: Likewise.
7806         * malloc/mtrace.pl: Likewise.
7807         * nscd/nscd.c: Likewise.
7808         * nss/getent.c: Likewise.
7809         * nss/makedb.c: Likewise.
7810         * posix/getconf.c: Likewise.
7812 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7814         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7815         numbers.
7817 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
7819         * math/bits/mathcalls.h (modf): Use __nonnull.
7821 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7823         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7824         (split): Use macro CN instead of the bare value.
7825         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7826         could be used.
7827         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7828         instead of the bare value.
7829         (power1): Likewise.
7831 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7833         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7834         __ATAN_TWOM.
7835         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7837         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7838         their values.
7839         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7840         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7841         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7842         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7844 2012-12-28  Andreas Jaeger  <aj@suse.de>
7846         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
7847         values are from Linux 3.7.
7849         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7850         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
7852 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7854         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7855         TRUE case.
7857         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7858         (norm): Likewise.
7859         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7860         variables with preprocessor constants.
7861         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7862         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7863         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7865 2012-12-27  Bruno Haible  <bruno@clisp.org>
7867         [BZ #14317]
7868         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7869         only if needed.
7871 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7874         and use variable directly.
7875         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7877         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7878         MPONE.
7879         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7880         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7881         variable MPONE.
7882         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7884         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7885         include directive.  Remove local variable MPONE.
7886         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7887         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7888         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7890 2012-12-25  David S. Miller  <davem@davemloft.net>
7892         * version.h (RELEASE): Set to "development".
7893         (VERSION): Set to "2.17.90".
7894         * NEWS: Add 2.18 section.
7896 2012-12-21  David S. Miller  <davem@davemloft.net>
7898         * po/hr.po: Update from translation team.
7900 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7902         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7904 2012-12-19  Steve Ellcey  <sellcey@mips.com>
7906         * NEWS:  Mention new memcpy for MIPS.
7908 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7910         * manual/contrib.texi (Contributors): Spelling correction.
7912 2012-12-15  David S. Miller  <davem@davemloft.net>
7914         * po/ru.po: Update from translation team.
7916 2012-12-13  David S. Miller  <davem@davemloft.net>
7918         * NEWS: Mention IFUNC testsuite enhancements.
7920         * po/pl.po: Update from translation team.
7921         * po/bg.po: Likewise.
7923         * manual/contrib.texi (Contributors): Update entries for Hongjiu
7924         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
7926 2012-12-11  David S. Miller  <davem@davemloft.net>
7928         * po/sv.po: Update from translation team.
7930         * po/vi.po: Update from translation team.
7932         * po/cs.po: Update from translation team.
7934         * po/de.po: Update from translation team.
7935         * po/eo.po: Likewise.
7936         * po/nl.po: Likewise.
7938 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7940         [BZ #14246]
7941         * manual/argp.texi (Argp Helper Functions): Move node to follow
7942         Argp Parsing State.
7944         [BZ #14872]
7945         * manual/conf.texi (Limits on File System Capacity): Mention if
7946         terminating null is included in the max size.
7948 2012-12-10  Andreas Jaeger  <aj@suse.de>
7950         * po/cs.po: Update from translation team.
7952 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7954         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7955         void pointer and cast to uintptr_t.
7956         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7957         path.
7958         * sysdeps/s390/s390-64/memcpy.S: Likewise.
7959         * sysdeps/s390/s390-64/memset.S: Likewise.
7961 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
7963         [BZ #14833]
7964         * menual/message.texi (Message Translation): Fix typos.
7965         (Helper programs for gettext): Likewise.
7967 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
7969         [BZ #14898]
7970         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7971         Change to -1.
7973 2012-12-07  David S. Miller  <davem@davemloft.net>
7975         * po/libc.pot: Update.
7977 2012-12-07  Richard Henderson  <rth@redhat.com>
7979         [BZ #10114]
7980         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7981         normal/normal case to before the switch.
7982         (_FP_DIV): Likewise.
7984 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
7985             Mike Frysinger  <vapier@gentoo.org>
7987         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7988         check for __NR_fadvise64_64.
7990 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
7992         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7993         0, not just to plain "0" as a statement.
7994         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7995         with cw.
7997 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
7999         * NEWS: Use sourceware.org in Bugzilla URL.
8001 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8004         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8006         * stdio-common/tst-put-error.c (do_test): Add newline to the
8007         padded test to ensure flush.
8009 2012-12-05  Jeff Law  <law@redhat.com>
8011         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8013 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8015         * README: Don't refer to ports add-on as distributed separately.
8016         Mention AArch64 in list of systems supported in the ports add-on.
8018         * LICENSES: Add more non-FSF copyright and license notices.
8020         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8021         ((unused)).
8023         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8025         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8026         10000 as width of padded output.
8028 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8030         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8032         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8033         variable LX with __attribute__ ((unused)).
8034         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8035         Likewise.
8036         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8037         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8038         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8039         with __attribute__ ((unused)).
8041 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8043         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8045 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8047         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8048         (CFLAGS-nldbl-acos.c): New variable.
8049         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8050         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8051         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8052         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8053         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8054         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8055         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8056         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8057         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8058         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8059         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8060         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8061         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8062         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8063         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8064         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8065         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8066         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8067         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8068         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8069         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8070         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8071         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8072         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8073         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8074         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8075         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8076         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8077         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8078         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8079         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8080         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8081         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8082         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8083         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8084         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8085         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8086         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8087         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8088         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8089         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8090         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8091         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8092         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8093         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8094         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8095         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8096         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8097         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8098         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8099         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8100         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8101         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8102         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8103         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8104         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8105         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8106         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8107         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8108         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8109         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8110         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8111         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8112         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8113         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8114         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8115         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8116         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8117         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8118         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8119         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8120         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8121         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8122         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8123         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8124         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8125         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8126         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8127         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8128         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8129         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8130         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8131         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8132         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8133         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8134         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8135         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8136         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8137         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8138         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8139         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8140         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8141         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8142         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8143         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8144         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8145         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8148         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8150         [BZ #14914]
8151         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8152         whole low double instead of just low 47 bits when splitting values
8153         into two parts.
8155 2012-12-03  Allan McRae  <allan@archlinux.org>
8157         * manual/stdio.texi (Predefined Printf Handlers): Remove
8158         @hsep and @vsep usage.
8160 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
8162         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8163         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8165 2012-12-03  Jeff Law  <law@redhat.com>
8167         * time/sys/time.h (settimeofday): Do not mark TV argument
8168         as __nonnull.
8170 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
8172         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8173         when currently writing and seek to current position when not.
8174         * libio/Makefile (tests): Remove bug-fclose1.
8175         * libio/bug-fclose1.c: Delete.
8177 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
8179         * manual/arith.texi (feenableexcept): Fix typo.
8180         (fedisableexcept): Likewise.
8182 2012-11-30  Roland McGrath  <roland@hack.frob.com>
8184         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8185         second, differently-typed declaration, rather than a cast.
8187 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8189         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8190         * include/rpc/svc.h: ... here.
8192 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
8194         [BZ #13013]
8195         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8196         depending n and resplen2 to catch cases where answer
8197         equals answerp2.
8199 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
8201         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8202         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8204 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
8206         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8208 2012-11-29  Roland McGrath  <roland@hack.frob.com>
8210         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8212 2012-11-28  Jeff Law  <law@redhat.com>
8214         [BZ #13761]
8215         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8216         dataset_temporary.  Track alloca usage into alloca_used.
8217         If dataset is large allocate and release it via malloc/free.
8219 2012-06-04  Florian Weimer  <fweimer@redhat.com>
8221         [BZ #14197]
8222         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8224 2012-11-28  David S. Miller  <davem@davemloft.net>
8226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8228 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8230         [BZ #14803]
8231         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8232         of pi/2 rounded to nearest to 64 bits.
8233         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8234         nearest to 64 bits.
8235         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8236         bits.
8238 2012-11-28  Jeff Law <law@redhat.com>
8239             Martin Osvald <mosvald@redhat.com>
8241         [BZ #14889]
8242         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8243         * sunrpc/svc.c: Include time.h.
8244         (__svc_accept_failed): New function.
8245         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8246         any reason other than EINTR, call __svc_accept_failed.
8247         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8248         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8250 2012-11-28  Andreas Schwab  <schwab@suse.de>
8252         * scripts/abilist.awk: Also handle indirect functions in .opd
8253         section.
8255 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8257         [BZ #13881]
8258         * sysdeps/x86/fpu/powl_helper.c: New file.
8259         * sysdeps/x86/fpu/Makefile: Likewise.
8260         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8261         (p3): New object.
8262         (__ieee754_powl): Use __powl_helper for finite arguments except
8263         integer exponents below 8.
8264         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8265         (p3): New object.
8266         (__ieee754_powl): Use __powl_helper for finite arguments except
8267         integer exponents below 8.
8268         * math/libm-test.inc (pow_test): Add more tests and enable some
8269         previously disabled tests.
8270         * sysdeps/i386/fpu/libm-test-ulps: Update.
8271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8273 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8274             Carlos O'Donell  <carlos_odonell@mentor.com>
8276         * nss/makedb.c (is_prime): Assert that input is odd and greater
8277         than 4.  Note that fact in a comment too.
8278         (next_prime): Add 4 to input.
8280 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8282         [BZ #11741]
8283         * libio/Makefile (tests): Add test case tst-fwrite-error.
8284         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8285         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8286         * libio/tst-fwrite-error.c: New test case.
8288 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
8290         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8291         before casting to void *.
8292         * include/libc-internal.h (__pointer_type): New macro.
8293         (__integer_if_pointer_type_sub): Likewise.
8294         (__integer_if_pointer_type): Likewise.
8295         (cast_to_integer): Likewise.
8296         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8297         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8298         before casting to atomic64_t.
8299         (atomic_exchange_acq): Likewise.
8300         (__arch_exchange_and_add_body): Likewise.
8301         (__arch_add_body): Likewise.
8302         (atomic_add_negative): Likewise.
8303         (atomic_add_zero): Likewise.
8305 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
8307         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8308         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8309         (add_fdes): Likewise.
8310         (linear_search_fdes): Likewise.
8311         (binary_search_unencoded_fdes): Likewise.
8313 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
8315         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8317 2012-11-24  Adam Conrad  <adconrad@0c3.net>
8319         * configure.in: Autodetect C++ header directories.
8320         * configure: Regenerated.
8322 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
8324         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8326 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
8328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8330 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
8332         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8333         LDBL_MANT_DIG == 106]: Disable some tests.
8334         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8335         Likewise.
8336         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8337         Likewise.
8339         [BZ #14871]
8340         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8341         input for small inputs.  Return +/- pi/2 for large inputs.
8342         * math/libm-test.inc (atan_test): Add more tests.
8344         * sysdeps/generic/unwind-dw2-fde-glibc.c
8345         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8346         __attribute__ ((unused)).
8348         [BZ #14645]
8349         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8350         x * y if x and y are nonzero and z is zero.
8352         [BZ #14811]
8353         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8354         nonzero exponents with absolute value below 0x1p-117 to +/-
8355         0x1p-117.
8357         [BZ #14869]
8358         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8359         up arguments below 2**-450, not just those below 2**-500.
8360         * math/libm-test.inc (hypot_test): Add another test.
8362         [BZ #14868]
8363         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8364         Return a+b for ratio over 2**120, not 2**60.
8365         * math/libm-test.inc (hypot_test): Add another test.
8367         * math/libm-test.inc (clog_test): Use
8368         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8369         (clog10_test): Likewise.
8371         [BZ #6778]
8372         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8374 2012-11-22  Andreas Schwab  <schwab@suse.de>
8376         * sysdeps/i386/fpu/libm-test-ulps: Update.
8378 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
8380         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8381         printf output with newline.
8383 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
8385         [BZ #14865]
8386         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8387         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8388         -z nodlopen, -z initfirst and -z execstack support.
8389         * configure: Regenerated.
8391         * elf/elf.h (DF_1_NODIRECT): New macro.
8392         (DF_1_IGNMULDEF): Likewise.
8393         (DF_1_NOKSYMS): Likewise.
8394         (DF_1_NOHDR): Likewise.
8395         (DF_1_EDITED): Likewise.
8396         (DF_1_NORELOC): Likewise.
8397         (DF_1_SYMINTPOSE): Likewise.
8398         (DF_1_GLOBAUDIT): Likewise.
8399         (DF_1_SINGLETON): Likewise.
8400         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8401         DT_1_SUPPORTED_MASK bits.
8402         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8404 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
8406         * sysdeps/unix/make-syscalls.sh: Document prefixes.
8408 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
8410         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8411         macro.
8413         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8414         (sendmmsg): Move declarations...
8415         * socket/sys/socket.h: ... here.
8416         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8417         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8418         include it from...
8419         * socket/recvmmsg.c: ... this new file.
8420         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8421         (sendmmsg): Rename to __sendmmsg, create weak alias and make
8422         definition of __sendmmsg hidden.
8423         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8424         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8425         Move ENOSYS stub into and include it from...
8426         * socket/sendmmsg.c: ... this new file.
8427         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8428         (sysdep_routines): Move recvmmsg and sendmmsg...
8429         * socket/Makefile (routines): ... here.
8430         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8431         (GLIBC_PRIVATE): Add __sendmmsg.
8432         * include/sys/socket.h (__sendmmsg): Add declarations.
8433         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8434         sendmmsg.
8436 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
8438         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8439         variable I1 with __attribute__ ((unused)).
8440         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8442 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
8444         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8445         DUMMY variables with __attribute__ ((unused)).
8447         * bits/byteswap.h: Include <bits/types.h>.
8448         (__bswap_64): Use __uint64_t instead of unsigned long long int.
8450 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
8452         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8453         string_t.  Do not manually set errno.
8454         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8455         length with __strnlen.  Make sure to both set errno and return it on
8456         failure.
8458 2012-11-19  David S. Miller  <davem@davemloft.net>
8460         With help from Joseph Myers.
8461         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8462         very large arguments properly.
8463         * math/libm-test.inc (atan_test): New tests.
8464         (atan2_test): New tests.
8465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8468 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
8470         [BZ #14856]
8471         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8472         Define to 3.
8474         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8475         [POSIX] (EADDRNOTAVAIL): Likewise.
8476         [POSIX] (EAFNOSUPPORT): Likewise.
8477         [POSIX] (EALREADY): Likewise.
8478         [POSIX] (ECONNABORTED): Likewise.
8479         [POSIX] (ECONNREFUSED): Likewise.
8480         [POSIX] (ECONNRESET): Likewise.
8481         [POSIX] (EDESTADDRREQ): Likewise.
8482         [POSIX] (EDQUOT): Likewise.
8483         [POSIX] (EHOSTUNREACH): Likewise.
8484         [POSIX] (EIDRM): Likewise.
8485         [POSIX] (EISCONN): Likewise.
8486         [POSIX] (ELOOP): Likewise.
8487         [POSIX] (EMULTIHOP): Likewise.
8488         [POSIX] (ENETDOWN): Likewise.
8489         [POSIX] (ENETUNREACH): Likewise.
8490         [POSIX] (ENOBUFS): Likewise.
8491         [POSIX] (ENODATA): Likewise.
8492         [POSIX] (ENOLINK): Likewise.
8493         [POSIX] (ENOMSG): Likewise.
8494         [POSIX] (ENOPROTOOPT): Likewise.
8495         [POSIX] (ENOSR): Likewise.
8496         [POSIX] (ENOSTR): Likewise.
8497         [POSIX] (ENOTCONN): Likewise.
8498         [POSIX] (ENOTSOCK): Likewise.
8499         [POSIX] (EOPNOTSUPP): Likewise.
8500         [POSIX] (EOVERFLOW): Likewise.
8501         [POSIX] (EPROTO): Likewise.
8502         [POSIX] (EPROTONOSUPPORT): Likewise.
8503         [POSIX] (EPROTOTYPE): Likewise.
8504         [POSIX] (ESTALE): Likewise.
8505         [POSIX] (ETIME): Likewise.
8506         [POSIX] (ETXTBSY): Likewise.
8507         [POSIX] (EWOULDBLOCK): Likewise.
8508         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8509         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8510         [POSIX] (SEEK_CUR): Likewise.
8511         [POSIX] (SEEK_END): Likewise.
8512         [POSIX || UNIX98] (mode_t): Do not require.
8513         [POSIX] (off_t): Likewise.
8514         [POSIX] (pid_t): Likewise.
8515         [POSIX] (sys/stat.h): Do not allow header.
8516         [POSIX] (unistd.h): Likewise.
8517         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8518         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8519         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8520         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8521         require.
8522         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8523         sigevent): Specify elements.
8524         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8525         entry.
8526         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8527         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8529         * conform/data/cpio.h-data [POSIX]: Disable whole file.
8530         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8531         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8532         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8533         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8534         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8535         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8536         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8537         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8538         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8539         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8540         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8541         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8542         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8543         Likewise.
8544         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8545         Likewise.
8546         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8547         Likewise.
8548         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8549         Likewise.
8550         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8551         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8552         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8553         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8554         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8555         Specify lower bound on value.
8556         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8557         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8558         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8559         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8560         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8561         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8562         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8563         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8564         value.
8565         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8566         as optional.
8567         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8568         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8569         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8570         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8571         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8572         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8573         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8574         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8575         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8576         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8577         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8578         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8579         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8580         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8581         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8582         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8583         entry.
8584         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8585         optional.
8586         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8587         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8588         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8589         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8590         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8591         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8592         Likewise.
8593         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8594         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8595         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8596         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8597         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
8598         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8599         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8600         as optional.
8601         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8602         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8603         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8604         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8605         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8606         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8607         specify as optional.
8608         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8609         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8610         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8611         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8612         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8613         [XPG3] (NL_LANGMAX): Likewise.
8614         [POSIX || XPG3] (NL_MSGMAX): Likewise.
8615         [POSIX || XPG3] (NL_NMAX): Likewise.
8616         [POSIX || XPG3] (NL_SETMAX): Likewise.
8617         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8618         [XPG3] (NZERO): Likewise.
8619         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8620         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8621         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8622         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8623         (REG_ERANGE): Expect.
8624         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8625         optional-constant.
8626         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8627         Use (void) in prototype.
8628         [POSIX] (*_t): Allow.
8629         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8630         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8631         (WRDE_BADVAL): Expect.
8633         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8634         expect.
8635         [XPG3 || XPG4] (O_RSYNC): Likewise.
8636         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8637         Likewise.
8638         [XPG3 || XPG4] (pthread_sigmask): Likewise.
8639         [XPG3 || XPG4] (sigqueue): Likewise.
8640         [XPG3 || XPG4] (sigtimedwait): Likewise.
8641         [XPG3 || XPG4] (sigwaitinfo): Likewise.
8642         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8643         [XPG3 || XPG4] (vsnprintf): Likewise.
8644         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8645         Likewise.
8646         [XPG3 || XPG4] (blksize_t): Likewise.
8647         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8648         Likewise.
8649         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8650         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8651         [XPG3 || XPG4] (struct itimerspec): Likewise.
8652         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8653         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8654         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8655         [XPG3 || XPG4] (clockid_t): Likewise.
8656         [XPG3 || XPG4] (timer_t): Likewise.
8657         [XPG3 || XPG4] (clock_getres): Likewise.
8658         [XPG3 || XPG4] (clock_gettime): Likewise.
8659         [XPG3 || XPG4] (clock_settime): Likewise.
8660         [XPG3 || XPG4] (nanosleep): Likewise.
8661         [XPG3 || XPG4] (timer_create): Likewise.
8662         [XPG3 || XPG4] (timer_delete): Likewise.
8663         [XPG3 || XPG4] (timer_gettime): Likewise.
8664         [XPG3 || XPG4] (timer_getoverrun): Likewise.
8665         [XPG3 || XPG4] (timer_settime): Likewise.
8666         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8667         [XPG3 || XPG4] (getlogin_r): Likewise.
8668         [XPG3 || XPG4] (pread): Likewise.
8669         [XPG3 || XPG4] (pthread_atfork): Likewise.
8670         [XPG3 || XPG4] (pwrite): Likewise.
8672         [BZ #14835]
8673         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8674         <bits/siginfo.h>.
8676 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
8678         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8679         finalizing MALLSTREAM.
8681         * sysdeps/mach/hurd/syncfs.c: New file.
8683 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8685         [BZ #14719]
8686         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8687         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8688         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8689         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8690         (_nss_dns_gethostbyname4_r): Likewise.
8691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8692         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8694 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
8696         [BZ #13763]
8697         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8699 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
8701         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8702         * elf/cache.c (print_entry): Print ",AArch64" for
8703         FLAG_AARCH64_LIB64
8705         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8706         * elf/cache.c (print_entry): Print ",hard-float" for
8707         FLAG_ARM_LIBHF.
8709 2012-11-18  David S. Miller  <davem@davemloft.net>
8711         With help from Joseph Myers.
8712         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8713         cutoff to 2**-13.
8714         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8715         cutoff to 2**-25.
8716         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8717         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8718         small.
8719         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8720         * math/libm-test.inc (y0_test): New tests.
8721         (y1_test): New tests.
8722         * sysdeps/i386/fpu/libm-test-ulps: Update.
8723         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8726 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
8728         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8729         64-bit targets.
8730         * configure: Regenerated.
8732 2012-11-17  David S. Miller  <davem@davemloft.net>
8734         [BZ #14811]
8735         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8736         nonzero exponents with absolute value below 0x1p-128 to +/-
8737         0x1p-128.
8739 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
8741         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8743         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8745         * posix/getconf-speclist.c: New file.
8746         * posix/posix-envs.def: Likewise.
8747         * posix/confstr.c (START_ENV_GROUP): New macro.
8748         (END_ENV_GROUP): Likewise.
8749         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8750         (KNOWN_PRESENT_ENV_STRING): Likewise.
8751         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8752         (UNKNOWN_ENVIRONMENT): Likewise.
8753         (confstr): Include posix-envs.def instead of handling
8754         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8755         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8756         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8757         (END_ENV_GROUP): Likewise.
8758         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8759         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8760         (UNKNOWN_ENVIRONMENT): Likewise.
8761         (__sysconf): Include posix-envs.def instead of handling associated
8762         cases directly here.
8763         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8764         preprocessing getconf-speclist.c rather than running getconf or
8765         generating empty file.
8767 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
8769         * scripts/check-local-headers.sh: Ignore 'mach' headers.
8771 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
8773         [BZ #14672]
8774         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8776 2012-11-16  David S. Miller  <davem@davemloft.net>
8778         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8779         smaller than LDBL_EPSILON/2.0L, just return xm1.
8781 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
8783         * elf/tst-array1.c (init): Set constructor priority to 1000.
8784         (fini): Set destructor priority to 1000.
8785         * elf/tst-array2dep.c: Likewise.
8787 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8789         [BZ #11741]
8790         * libio/fileops.c (_IO_new_file_write): Correctly return error.
8791         (_IO_new_file_xsputn): Also return EOF if none of the input
8792         data was written when overflow failed.
8793         * libio/iopadn.c (_IO_padn): Likewise.
8794         * libio/iowpadn.c (_IO_wpadn): Likewise.
8795         * stdio-common/tst-put-error.c: Add copyright notice.
8796         (do_test): Add case for printing padded string.
8797         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8798         _IO_padn returned error.
8799         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8800         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8801         return EOF.
8803 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8805         * libio/libioP.h: Add comment note that the references to C++
8806         bits are now obsolete.
8808 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8810         * math/libm-test.inc (check_complex): Use asprintf.
8812 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
8814         * debug/pcprofiledump.c (print_version): Update copyright year.
8815         * malloc/memusagestat.c (print_version): Likewise.
8817 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8819         [BZ #14831]
8820         * elf/Makefile (tests): Add tst-audit8.
8821         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8822         ($(objpfx)tst-audit8.out): New target.
8823         (tst-audit8-ENV): New variable.
8824         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8825         audit if l_reloc_result is NULL.
8826         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8827         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8828         * elf/tst-audit8.c: New file.
8830 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8832         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8833         * misc/Makefile (CFLAGS-select.c): Define.
8834         * posix/Makefile (CFLAGS-pause.c): Define.
8836 2012-11-13  David S. Miller  <davem@davemloft.net>
8838         * crypt/Makefile: Move test targets after toplevel Rules
8839         inclusion.  Grab any necessary sysdep routines when linking.
8840         * crypt/md5.c (md5_process_block): Remove define, we will always
8841         name it __md5_process_block.
8842         (md5_finish_ctx): Update md5_process_block call.
8843         (md5_stream): Likewise.
8844         (md5_process_bytes): Likewise.
8845         (md5_process_block): Rename to __md5_process_block and move to ...
8846         * crypt/md5-block.c: ... here.
8847         * crypt/sha256.c (sha256_process_block): Move to ...
8848         * crypt/sha256-block.c: ... here.
8849         * crypt/sha512.c (sha512_process_block): Move to ...
8850         * crypt/sha512-block.c: ... here.
8851         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8852         path.
8853         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8854         * sysdeps/sparc/sparc64/multiarch/Makefile
8855         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8856         crypt subdir.
8857         (localedef-aux): Add md5 crypto assembler when in locale subdir.
8858         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8859         multiarch changes.
8860         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8861         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8862         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8863         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8864         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8865         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8866         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8867         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8868         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8869         file.
8870         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8871         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8872         file.
8873         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8875 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
8877         * timezone/tzselect.ksh: Update from tzcode git revision
8878         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8879         * timezone/zdump.c: Likewise.
8880         * timezone/zic.c: Likewise.
8881         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8882         in TZVERSION setting, not $(PKGVERSION).
8883         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
8884         REPORT_BUGS_TO settings.
8886         [BZ #14838]
8887         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8888         macro.
8890 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8892         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8893         detection to immediately after _FP_ROUND().
8894         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8895         bits are 0.
8897 2012-11-11  David S. Miller  <davem@davemloft.net>
8899         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8900         inttypes.h
8901         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8902         __close rather than their public counterparts.
8904 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
8906         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8907         file.
8908         [UNIX98] (sem_timedwait): Do not expect.
8909         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8910         [XPG4 || UNIX98] (sockatmark): Do not expect.
8911         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8912         (clock_getcpuclockid): Do not expect.
8913         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8914         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8915         Do not expect.
8916         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8917         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8918         [UNIX98] (vwscanf): Likewise.
8919         [UNIX98] (vswscanf): Likewise.
8921 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
8923         * timezone/version.h: Remove file.
8924         * timezone/README: Do not refer to version.h.
8925         * timezone/Makefile ($(objpfx)zic.o): New dependency on
8926         $(objpfx)version.h.
8927         ($(objpfx)zdump.o): Likewise.
8928         ($(objpfx)version.h): New target.
8930         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8931         2012i.
8932         * timezone/README: Don't mention modification to tzselect.ksh.
8933         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8934         work on unmodified tzselect.ksh.  Substitute version numbers in
8935         tzselect.ksh.
8937         * Makefile (format-me): Remove.
8938         (INSTALL): Adjust indentation.  Use commands directly instead of
8939         using $(format-me).
8941         * aclocal.m4 (ACX_PKGVERSION): New macro.
8942         (ACX_BUGURL): Likewise.
8943         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8944         (PKGVERSION): New AC_DEFINE_UNQUOTED.
8945         (REPORT_BUGS_TO): Likewise.
8946         * configure: Regenerated.
8947         * config.h.in (PKGVERSION): New macro.
8948         (REPORT_BUGS_TO): Likewise.
8949         * config.make.in (PKGVERSION): New variable.
8950         (PKGVERSION_TEXI): Likewise.
8951         (REPORT_BUGS_TO): Likewise.
8952         (REPORT_BUGS_TEXI): Likewise.
8953         * Makefile (format-me): Use -I$(common-objpfx)manual.
8954         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8955         ($(common-objpfx)manual/%): New target.
8956         (manual/%): Remove target.
8957         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8958         (print_version): Use PKGVERSION.
8959         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8960         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8961         and REPORT_BUGS_TO.
8962         ($(objpfx)xtrace): Likewise.
8963         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8964         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8965         (print_version): Use PKGVERSION.
8966         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8967         (do_version): Use PKGVERSION.
8968         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8969         REPORT_BUGS_TO.
8970         (common-ldd-rewrite): Likewise.
8971         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8972         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8973         (print_version): Use PKGVERSION.
8974         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8975         * elf/pldd.c (argp_program_bug_address): Remove variable.
8976         (more_help): New function.
8977         (argp): Use more_help.
8978         (print_version): Use PKGVERSION.
8979         * elf/sln.c (main): Use PKGVERSION.
8980         (usage): Use REPORT_BUGS_TO.
8981         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8982         (top level): Use PKGVERSION.
8983         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8984         (print_version): Use PKGVERSION.
8985         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8986         (print_version): Use PKGVERSION.
8987         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8988         (print_version): Use PKGVERSION.
8989         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8990         (print_version): Use PKGVERSION.
8991         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8992         (print_version): Use PKGVERSION.
8993         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8994         (print_version): Use PKGVERSION.
8995         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8996         and BUGURL.
8997         ($(objpfx)memusage): Likewise.
8998         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8999         (do_version): Use PKGVERSION.
9000         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9001         (print_version): Use PKGVERSION.
9002         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9003         ($PKGVERSION): New variable.
9004         ($REPORT_BUGS_TO): Likewise.
9005         (usage): Use $REPORT_BUGS_TO.
9006         (top level): Use $PKGVERSION.
9007         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9008         ($(objpfx)pkgvers.texi): New rule.
9009         ($(objpfx)stamp-pkgvers): Likewise.
9010         * manual/install.texi: Include pkgvers.texi.
9011         (--with-pkgversion): Document new configure option.
9012         (--with-bugurl): Likewise.
9013         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9014         than necessarily for this particular distribution.  Use
9015         REPORT_BUGS_TO for where to report bugs.
9016         * INSTALL: Regenerated.
9017         * manual/libc.texinfo: Include pkgvers.texi.
9018         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9019         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9020         (print_version): Use PKGVERSION.
9021         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9022         (print_version): Use PKGVERSION.
9023         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9024         (print_version): Use PKGVERSION.
9025         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9026         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9027         macro.
9028         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9029         (print_version): Use PKGVERSION.
9030         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9031         (print_version): Use PKGVERSION.
9032         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9033         and PKGVERSION.
9035         * timezone/checktab.awk: Update from tzcode 2012i.
9036         * timezone/ialloc.c: Likewise.
9037         * timezone/private.h: Likewise.
9038         * timezone/scheck.c: Likewise.
9039         * timezone/tzfile.h: Likewise.
9040         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9041         (TZVERSION): Hardcode tzcode version number.
9042         * timezone/zdump.c: Update from tzcode 2012i.
9043         * timezone/zic.c: Likewise.
9044         * timezone/version.h: New file.
9045         * timezone/README: Describe version.h.  Update upstream location.
9047         [BZ #14824]
9048         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9049         (mktemp): Enable declaration.
9050         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9051         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9052         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9053         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9054         Likewise.
9055         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9056         Likewise.
9057         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9058         Likewise.
9059         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9060         Likewise.
9061         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9062         Likewise.
9063         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9064         Likewise.
9066         [BZ #14821]
9067         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9068         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
9069         for copies of such integer values.
9070         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9071         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9073 2012-11-09  Andreas Jaeger  <aj@suse.de>
9075         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9076         definitions and declarations that are provided by
9077         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9079 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9081         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9082         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9083         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9084         definition.
9086 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9088         * elf/elf.h: Update comment before AArch64 relocations.
9090 2012-11-07  David S. Miller  <davem@davemloft.net>
9092         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9093         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9094         (__start_context): Declare.
9095         (__makecontext_ret): Delete.
9096         (__makecontext): Hook up __start_context instead of
9097         __makecontext_ret.
9098         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9099         (sysdep_routines): Add __start_context when in stdlib.
9101 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9103         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9104         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9105         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
9106         hardcoded "nm".
9107         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
9108         (READELF): New variable.  Use it instead of hardcoded "readelf".
9110 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9112         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9113         * sysdeps/x86/Makefile: Here.
9114         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9115         * sysdeps/x86/tst-xmmymm.sh: This.
9117 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9119         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9120         expectations.
9121         [UNIX98] (pthread_barrier_t): Do not expect.
9122         [UNIX98] (pthread_barrierattr_t): Likewise.
9123         [UNIX98] (pthread_spinlock_t): Likewise.
9124         [UNIX98] (pthread_barrier_destroy): Likewise.
9125         [UNIX98] (pthread_barrier_init): Likewise.
9126         [UNIX98] (pthread_barrier_wait): Likewise.
9127         [UNIX98] (pthread_barrierattr_destroy): Likewise.
9128         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9129         [UNIX98] (pthread_barrierattr_init): Likewise.
9130         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9131         [UNIX98] (pthread_getcpuclockid): Likewise.
9132         [UNIX98] (pthread_mutex_timedlock): Likewise.
9133         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9134         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9135         [UNIX98] (pthread_sigmask): Likewise.
9136         [UNIX98] (pthread_spin_destroy): Likewise.
9137         [UNIX98] (pthread_spin_init): Likewise.
9138         [UNIX98] (pthread_spin_lock): Likewise.
9139         [UNIX98] (pthread_spin_trylock): Likewise.
9140         [UNIX98] (pthread_spin_unlock): Likewise.
9141         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9142         Do not expect.
9143         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9144         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9145         [XPG3 || XPG4] (pthread_cond_t): Likewise.
9146         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9147         [XPG3 || XPG4] (pthread_key_t): Likewise.
9148         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9149         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9150         [XPG3 || XPG4] (pthread_once_t): Likewise.
9151         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9152         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9153         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9154         [XPG3 || XPG4] (pthread_t): Likewise.
9156         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9157         not expect.
9158         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9160         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9161         Change function return type to int.
9163         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9164         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9165         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9166         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9167         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9168         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9169         [!POSIX] (posix_madvise): Likewise.
9170         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9171         && !UNIX98].
9172         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9173         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9174         (mode_t): Likewise.
9175         (posix_mem_offset): Likewise.
9176         (posix_typed_mem_get_info): Likewise.
9177         (posix_typed_mem_open): Likewise.
9179         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9180         Change condition to [XOPEN2K8].
9182         * conform/conformtest.pl: Preprocess allow-header data with -x c
9183         instead of from stdin.
9184         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9185         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9186         [C99-based standards] (cerfc): Likewise.
9187         [C99-based standards] (cexp2): Likewise.
9188         [C99-based standards] (cexpm1): Likewise.
9189         [C99-based standards] (clog10): Likewise.
9190         [C99-based standards] (clog1p): Likewise.
9191         [C99-based standards] (clog2): Likewise.
9192         [C99-based standards] (clgamma): Likewise.
9193         [C99-based standards] (ctgamma): Likewise.
9194         [C99-based standards] (cerff): Likewise.
9195         [C99-based standards] (cerfcf): Likewise.
9196         [C99-based standards] (cexp2f): Likewise.
9197         [C99-based standards] (cexpm1f): Likewise.
9198         [C99-based standards] (clog10f): Likewise.
9199         [C99-based standards] (clog1pf): Likewise.
9200         [C99-based standards] (clog2f): Likewise.
9201         [C99-based standards] (clgammaf): Likewise.
9202         [C99-based standards] (ctgammaf): Likewise.
9203         [C99-based standards] (cerfl): Likewise.
9204         [C99-based standards] (cerfcl): Likewise.
9205         [C99-based standards] (cexp2l): Likewise.
9206         [C99-based standards] (cexpm1l): Likewise.
9207         [C99-based standards] (clog10l): Likewise.
9208         [C99-based standards] (clog1pl): Likewise.
9209         [C99-based standards] (clog2l): Likewise.
9210         [C99-based standards] (clgammal): Likewise.
9211         [C99-based standards] (ctgammal): Likewise.
9212         * conform/data/inttypes.h-data [C99-based standards]: Include
9213         stdint.h-data.  Remove all expectations for stdint.h contents.
9214         [C99-based standards] (PRI*): Do not allow.
9215         [C99-based standards] (SCN*): Likewise.
9216         [C99-based standards] (*_t): Likewise.
9217         [C99-based-standards] (PRId8): Expect macro.
9218         [C99-based-standards] (PRIi8): Likewise.
9219         [C99-based-standards] (PRIo8): Likewise.
9220         [C99-based-standards] (PRIu8): Likewise.
9221         [C99-based-standards] (PRIx8): Likewise.
9222         [C99-based-standards] (PRIX8): Likewise.
9223         [C99-based-standards] (SCNd8): Likewise.
9224         [C99-based-standards] (SCNi8): Likewise.
9225         [C99-based-standards] (SCNo8): Likewise.
9226         [C99-based-standards] (SCNu8): Likewise.
9227         [C99-based-standards] (SCNx8): Likewise.
9228         [C99-based-standards] (PRIdLEAST8): Likewise.
9229         [C99-based-standards] (PRIiLEAST8): Likewise.
9230         [C99-based-standards] (PRIoLEAST8): Likewise.
9231         [C99-based-standards] (PRIuLEAST8): Likewise.
9232         [C99-based-standards] (PRIxLEAST8): Likewise.
9233         [C99-based-standards] (PRIXLEAST8): Likewise.
9234         [C99-based-standards] (SCNdLEAST8): Likewise.
9235         [C99-based-standards] (SCNiLEAST8): Likewise.
9236         [C99-based-standards] (SCNoLEAST8): Likewise.
9237         [C99-based-standards] (SCNuLEAST8): Likewise.
9238         [C99-based-standards] (SCNxLEAST8): Likewise.
9239         [C99-based-standards] (PRIdFAST8): Likewise.
9240         [C99-based-standards] (PRIiFAST8): Likewise.
9241         [C99-based-standards] (PRIoFAST8): Likewise.
9242         [C99-based-standards] (PRIuFAST8): Likewise.
9243         [C99-based-standards] (PRIxFAST8): Likewise.
9244         [C99-based-standards] (PRIXFAST8): Likewise.
9245         [C99-based-standards] (SCNdFAST8): Likewise.
9246         [C99-based-standards] (SCNiFAST8): Likewise.
9247         [C99-based-standards] (SCNoFAST8): Likewise.
9248         [C99-based-standards] (SCNuFAST8): Likewise.
9249         [C99-based-standards] (SCNxFAST8): Likewise.
9250         [C99-based-standards] (PRId16): Likewise.
9251         [C99-based-standards] (PRIi16): Likewise.
9252         [C99-based-standards] (PRIo16): Likewise.
9253         [C99-based-standards] (PRIu16): Likewise.
9254         [C99-based-standards] (PRIx16): Likewise.
9255         [C99-based-standards] (PRIX16): Likewise.
9256         [C99-based-standards] (SCNd16): Likewise.
9257         [C99-based-standards] (SCNi16): Likewise.
9258         [C99-based-standards] (SCNo16): Likewise.
9259         [C99-based-standards] (SCNu16): Likewise.
9260         [C99-based-standards] (SCNx16): Likewise.
9261         [C99-based-standards] (PRIdLEAST16): Likewise.
9262         [C99-based-standards] (PRIiLEAST16): Likewise.
9263         [C99-based-standards] (PRIoLEAST16): Likewise.
9264         [C99-based-standards] (PRIuLEAST16): Likewise.
9265         [C99-based-standards] (PRIxLEAST16): Likewise.
9266         [C99-based-standards] (PRIXLEAST16): Likewise.
9267         [C99-based-standards] (SCNdLEAST16): Likewise.
9268         [C99-based-standards] (SCNiLEAST16): Likewise.
9269         [C99-based-standards] (SCNoLEAST16): Likewise.
9270         [C99-based-standards] (SCNuLEAST16): Likewise.
9271         [C99-based-standards] (SCNxLEAST16): Likewise.
9272         [C99-based-standards] (PRIdFAST16): Likewise.
9273         [C99-based-standards] (PRIiFAST16): Likewise.
9274         [C99-based-standards] (PRIoFAST16): Likewise.
9275         [C99-based-standards] (PRIuFAST16): Likewise.
9276         [C99-based-standards] (PRIxFAST16): Likewise.
9277         [C99-based-standards] (PRIXFAST16): Likewise.
9278         [C99-based-standards] (SCNdFAST16): Likewise.
9279         [C99-based-standards] (SCNiFAST16): Likewise.
9280         [C99-based-standards] (SCNoFAST16): Likewise.
9281         [C99-based-standards] (SCNuFAST16): Likewise.
9282         [C99-based-standards] (SCNxFAST16): Likewise.
9283         [C99-based-standards] (PRId32): Likewise.
9284         [C99-based-standards] (PRIi32): Likewise.
9285         [C99-based-standards] (PRIo32): Likewise.
9286         [C99-based-standards] (PRIu32): Likewise.
9287         [C99-based-standards] (PRIx32): Likewise.
9288         [C99-based-standards] (PRIX32): Likewise.
9289         [C99-based-standards] (SCNd32): Likewise.
9290         [C99-based-standards] (SCNi32): Likewise.
9291         [C99-based-standards] (SCNo32): Likewise.
9292         [C99-based-standards] (SCNu32): Likewise.
9293         [C99-based-standards] (SCNx32): Likewise.
9294         [C99-based-standards] (PRIdLEAST32): Likewise.
9295         [C99-based-standards] (PRIiLEAST32): Likewise.
9296         [C99-based-standards] (PRIoLEAST32): Likewise.
9297         [C99-based-standards] (PRIuLEAST32): Likewise.
9298         [C99-based-standards] (PRIxLEAST32): Likewise.
9299         [C99-based-standards] (PRIXLEAST32): Likewise.
9300         [C99-based-standards] (SCNdLEAST32): Likewise.
9301         [C99-based-standards] (SCNiLEAST32): Likewise.
9302         [C99-based-standards] (SCNoLEAST32): Likewise.
9303         [C99-based-standards] (SCNuLEAST32): Likewise.
9304         [C99-based-standards] (SCNxLEAST32): Likewise.
9305         [C99-based-standards] (PRIdFAST32): Likewise.
9306         [C99-based-standards] (PRIiFAST32): Likewise.
9307         [C99-based-standards] (PRIoFAST32): Likewise.
9308         [C99-based-standards] (PRIuFAST32): Likewise.
9309         [C99-based-standards] (PRIxFAST32): Likewise.
9310         [C99-based-standards] (PRIXFAST32): Likewise.
9311         [C99-based-standards] (SCNdFAST32): Likewise.
9312         [C99-based-standards] (SCNiFAST32): Likewise.
9313         [C99-based-standards] (SCNoFAST32): Likewise.
9314         [C99-based-standards] (SCNuFAST32): Likewise.
9315         [C99-based-standards] (SCNxFAST32): Likewise.
9316         [C99-based-standards] (PRId64): Likewise.
9317         [C99-based-standards] (PRIi64): Likewise.
9318         [C99-based-standards] (PRIo64): Likewise.
9319         [C99-based-standards] (PRIu64): Likewise.
9320         [C99-based-standards] (PRIx64): Likewise.
9321         [C99-based-standards] (PRIX64): Likewise.
9322         [C99-based-standards] (SCNd64): Likewise.
9323         [C99-based-standards] (SCNi64): Likewise.
9324         [C99-based-standards] (SCNo64): Likewise.
9325         [C99-based-standards] (SCNu64): Likewise.
9326         [C99-based-standards] (SCNx64): Likewise.
9327         [C99-based-standards] (PRIdLEAST64): Likewise.
9328         [C99-based-standards] (PRIiLEAST64): Likewise.
9329         [C99-based-standards] (PRIoLEAST64): Likewise.
9330         [C99-based-standards] (PRIuLEAST64): Likewise.
9331         [C99-based-standards] (PRIxLEAST64): Likewise.
9332         [C99-based-standards] (PRIXLEAST64): Likewise.
9333         [C99-based-standards] (SCNdLEAST64): Likewise.
9334         [C99-based-standards] (SCNiLEAST64): Likewise.
9335         [C99-based-standards] (SCNoLEAST64): Likewise.
9336         [C99-based-standards] (SCNuLEAST64): Likewise.
9337         [C99-based-standards] (SCNxLEAST64): Likewise.
9338         [C99-based-standards] (PRIdFAST64): Likewise.
9339         [C99-based-standards] (PRIiFAST64): Likewise.
9340         [C99-based-standards] (PRIoFAST64): Likewise.
9341         [C99-based-standards] (PRIuFAST64): Likewise.
9342         [C99-based-standards] (PRIxFAST64): Likewise.
9343         [C99-based-standards] (PRIXFAST64): Likewise.
9344         [C99-based-standards] (SCNdFAST64): Likewise.
9345         [C99-based-standards] (SCNiFAST64): Likewise.
9346         [C99-based-standards] (SCNoFAST64): Likewise.
9347         [C99-based-standards] (SCNuFAST64): Likewise.
9348         [C99-based-standards] (SCNxFAST64): Likewise.
9349         [C99-based-standards] (PRIdMAX): Likewise.
9350         [C99-based-standards] (PRIiMAX): Likewise.
9351         [C99-based-standards] (PRIoMAX): Likewise.
9352         [C99-based-standards] (PRIuMAX): Likewise.
9353         [C99-based-standards] (PRIxMAX): Likewise.
9354         [C99-based-standards] (PRIXMAX): Likewise.
9355         [C99-based-standards] (SCNdMAX): Likewise.
9356         [C99-based-standards] (SCNiMAX): Likewise.
9357         [C99-based-standards] (SCNoMAX): Likewise.
9358         [C99-based-standards] (SCNuMAX): Likewise.
9359         [C99-based-standards] (SCNxMAX): Likewise.
9360         [C99-based-standards] (PRIdPTR): Likewise.
9361         [C99-based-standards] (PRIiPTR): Likewise.
9362         [C99-based-standards] (PRIoPTR): Likewise.
9363         [C99-based-standards] (PRIuPTR): Likewise.
9364         [C99-based-standards] (PRIxPTR): Likewise.
9365         [C99-based-standards] (PRIXPTR): Likewise.
9366         [C99-based-standards] (SCNdPTR): Likewise.
9367         [C99-based-standards] (SCNiPTR): Likewise.
9368         [C99-based-standards] (SCNoPTR): Likewise.
9369         [C99-based-standards] (SCNuPTR): Likewise.
9370         [C99-based-standards] (SCNxPTR): Likewise.
9371         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9372         allow.
9373         * conform/data/stdint.h-data: Update comments to clarify
9374         requirements.
9375         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
9376         type.
9377         [C99-based standards] (INT8_MAX): Likewise.
9378         [C99-based standards] (INT16_MIN): Likewise.
9379         [C99-based standards] (INT16_MAX): Likewise.
9380         [C99-based standards] (INT32_MIN): Likewise.
9381         [C99-based standards] (INT32_MAX): Likewise.
9382         [C99-based standards] (INT64_MIN): Likewise.
9383         [C99-based standards] (INT64_MAX): Likewise.
9384         [C99-based standards] (UINT8_MAX): Likewise.
9385         [C99-based standards] (UINT16_MAX): Likewise.
9386         [C99-based standards] (UINT32_MAX): Likewise.
9387         [C99-based standards] (UINT64_MAX): Likewise.
9388         [C99-based standards] (INT_LEAST8_MIN): Likewise.
9389         [C99-based standards] (INT_LEAST8_MAX): Likewise.
9390         [C99-based standards] (INT_LEAST16_MIN): Likewise.
9391         [C99-based standards] (INT_LEAST16_MAX): Likewise.
9392         [C99-based standards] (INT_LEAST32_MIN): Likewise.
9393         [C99-based standards] (INT_LEAST32_MAX): Likewise.
9394         [C99-based standards] (INT_LEAST64_MIN): Likewise.
9395         [C99-based standards] (INT_LEAST64_MAX): Likewise.
9396         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9397         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9398         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9399         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9400         [C99-based standards] (INT_FAST8_MIN): Likewise.
9401         [C99-based standards] (INT_FAST8_MAX): Likewise.
9402         [C99-based standards] (INT_FAST16_MIN): Likewise.
9403         [C99-based standards] (INT_FAST16_MAX): Likewise.
9404         [C99-based standards] (INT_FAST32_MIN): Likewise.
9405         [C99-based standards] (INT_FAST32_MAX): Likewise.
9406         [C99-based standards] (INT_FAST64_MIN): Likewise.
9407         [C99-based standards] (INT_FAST64_MAX): Likewise.
9408         [C99-based standards] (UINT_FAST8_MAX): Likewise.
9409         [C99-based standards] (UINT_FAST16_MAX): Likewise.
9410         [C99-based standards] (UINT_FAST32_MAX): Likewise.
9411         [C99-based standards] (UINT_FAST64_MAX): Likewise.
9412         [C99-based standards] (INTPTR_MIN): Likewise.
9413         [C99-based standards] (INTPTR_MAX): Likewise.
9414         [C99-based standards] (UINTPTR_MAX): Likewise.
9415         [C99-based standards] (INTMAX_MIN): Likewise.
9416         [C99-based standards] (INTMAX_MAX): Likewise.
9417         [C99-based standards] (UINTMAX_MAX): Likewise.
9418         [C99-based standards] (PTRDIFF_MIN): Likewise.
9419         [C99-based standards] (PTRDIFF_MAX): Likewise.
9420         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9421         [C99-based standards] (SIZE_MAX): Likewise.
9422         [C99-based standards] (WCHAR_MAX): Likewise.
9423         [C99-based standards] (WINT_MAX): Likewise.
9424         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
9425         constraint on value.
9426         [C99-based standards] (WCHAR_MIN): Likewise.
9427         [C99-based standards] (WINT_MIN): Likewise.
9428         [C99-based standards] (*_t): Allow.
9429         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9430         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9431         Include math.h-data and complex.h-data.  Remove all expectations
9432         of math.h and complex.h contents.
9433         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9434         at end of line.
9435         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9436         (struct tm): Expect tag.
9437         [C99-based-standards] (wcstof): Expect function.
9438         [C99-based-standards] (wcstold): Likewise.
9439         [C99-based-standards] (wcstoll): Likewise.
9440         [C99-based-standards] (wcstoull): Likewise.
9441         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9442         macro-int-constant.  Specify type.
9443         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
9444         constraint on value.
9445         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9446         Specify type.
9447         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9448         Specify value.
9449         [ISO C standards]: Do not allow headers.
9450         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9451         wcs[abcdefghijklmnopqrstuvwxyz]*.
9452         [ISO C standards] (*_t): Do not allow.
9453         * conform/data/wctype.h-data [C99-based standards] (iswblank):
9454         Expect function.
9455         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9456         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9457         Specify type.
9458         [ISO C standards]: Do not allow headers.
9459         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9460         is[abcdefghijklmnopqrstuvwxyz]*.
9461         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9462         to[abcdefghijklmnopqrstuvwxyz]*.
9463         [ISO C standards] (*_t): Do not allow.
9464         * conform/data/stdalign.h-data: New file.
9465         * conform/data/stdbool.h-data: Likewise.
9466         * conform/data/stdnoreturn.h-data: Likewise.
9468 2012-11-07  Roland McGrath  <roland@hack.frob.com>
9470         [BZ #14815]
9471         * manual/filesys.texi (Directory Entries): Typo fix.
9472         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9474 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9476         * elf/elf.h (EM_AARCH64): New macro.
9477         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9478         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9479         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9480         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9481         (R_AARCH64_TLSDESC): Likewise.
9482         (NT_ARM_TLS): Likewise.
9483         (NT_ARM_HW_BREAK): Likewise.
9484         (NT_ARM_HW_WATCH): Likewise.
9486 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9488         [BZ #14811]
9489         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9490         (__ieee754_powl): Saturate nonzero exponents with absolute value
9491         below 0x1p-79 to +/- 0x1p-79.
9492         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9493         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9494         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9495         nonzero exponents with absolute value below 0x1p-32 to +/-
9496         0x1p-32.
9497         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9498         (__ieee754_powl): Saturate nonzero exponents with absolute value
9499         below 0x1p-79 to +/- 0x1p-79.
9500         * math/libm-test.inc (pow_test): Add more tests.
9502 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9504         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9505         _dl_s390_cap_flags with kernel. Increase string length.
9506         (_dl_s390_platforms): Add z196 and zEC12.
9508 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9510         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9511         Change XOPEN21K to XOPEN2K.
9513 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
9515         * string/memmove.c: Use memcpy when possible.
9517 2012-11-06  Andreas Jaeger  <aj@suse.de>
9519         * po/eo.po: Update from translation team.
9521 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
9523         [BZ #14793]
9524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9525         exponent and small x and y exponents, scale x or y up.  Increase
9526         by 2 the exponent used in scaling up.
9527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9528         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9529         * math/libm-test.inc (fma_test): Add more tests.
9530         (fma_test_towardzero): Likewise.
9531         (fma_test_downward): Likewise.
9532         (fma_test_upward): Likewise.
9534 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
9536         [BZ #14805]
9537         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9538         fenv_t *.
9540         [BZ #14801]
9541         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9542         namespace for names of struct fields.
9543         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9544         fenv_t fields.
9545         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9546         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9548 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9550         [BZ #3665]
9551         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9553 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9555         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9556         PTR_DEMANGLE.
9558         [BZ #5246]
9559         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9560         PTR_DEMANGLE.
9562 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
9564         [BZ #14797]
9565         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9566         definitely overflow as x * y not x * y + z.
9567         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9569         * math/libm-test.inc (fma_test): Add more tests.
9570         (fma_test_towardzero): Likewise.
9571         (fma_test_downward): Likewise.
9572         (fma_test_upward): Likewise.
9574 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9576         [BZ #157]
9578         * include/stub-tag.h: Remove file.
9579         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9580         '#include' of it.
9581         * manual/maint.texi (Porting): Don't reference it.
9582         * Makerules ($(objpfx)stubs): Likewise.
9583         * dirent/closedir.c: Don't include <stub-tag.h>.
9584         * dirent/dirfd.c: Likewise.
9585         * dirent/fdopendir.c: Likewise.
9586         * dirent/getdents.c: Likewise.
9587         * dirent/getdents64.c: Likewise.
9588         * dirent/opendir.c: Likewise.
9589         * dirent/readdir.c: Likewise.
9590         * dirent/readdir64.c: Likewise.
9591         * dirent/readdir64_r.c: Likewise.
9592         * dirent/readdir_r.c: Likewise.
9593         * dirent/rewinddir.c: Likewise.
9594         * dirent/seekdir.c: Likewise.
9595         * dirent/telldir.c: Likewise.
9596         * gmon/profil.c: Likewise.
9597         * grp/setgroups.c: Likewise.
9598         * inet/if_index.c: Likewise.
9599         * io/access.c: Likewise.
9600         * io/chdir.c: Likewise.
9601         * io/chmod.c: Likewise.
9602         * io/chown.c: Likewise.
9603         * io/close.c: Likewise.
9604         * io/dup.c: Likewise.
9605         * io/dup2.c: Likewise.
9606         * io/dup3.c: Likewise.
9607         * io/euidaccess.c: Likewise.
9608         * io/faccessat.c: Likewise.
9609         * io/fchdir.c: Likewise.
9610         * io/fchmod.c: Likewise.
9611         * io/fchmodat.c: Likewise.
9612         * io/fchown.c: Likewise.
9613         * io/fchownat.c: Likewise.
9614         * io/fcntl.c: Likewise.
9615         * io/flock.c: Likewise.
9616         * io/fstatfs.c: Likewise.
9617         * io/fstatfs64.c: Likewise.
9618         * io/fstatvfs.c: Likewise.
9619         * io/fstatvfs64.c: Likewise.
9620         * io/futimens.c: Likewise.
9621         * io/fxstat.c: Likewise.
9622         * io/fxstat64.c: Likewise.
9623         * io/fxstatat.c: Likewise.
9624         * io/fxstatat64.c: Likewise.
9625         * io/getcwd.c: Likewise.
9626         * io/isatty.c: Likewise.
9627         * io/lchmod.c: Likewise.
9628         * io/lchown.c: Likewise.
9629         * io/link.c: Likewise.
9630         * io/linkat.c: Likewise.
9631         * io/lseek.c: Likewise.
9632         * io/lseek64.c: Likewise.
9633         * io/lxstat64.c: Likewise.
9634         * io/mkdir.c: Likewise.
9635         * io/mkdirat.c: Likewise.
9636         * io/mkfifo.c: Likewise.
9637         * io/mkfifoat.c: Likewise.
9638         * io/open.c: Likewise.
9639         * io/open64.c: Likewise.
9640         * io/openat.c: Likewise.
9641         * io/openat64.c: Likewise.
9642         * io/pipe.c: Likewise.
9643         * io/pipe2.c: Likewise.
9644         * io/poll.c: Likewise.
9645         * io/posix_fadvise.c: Likewise.
9646         * io/posix_fadvise64.c: Likewise.
9647         * io/posix_fallocate.c: Likewise.
9648         * io/posix_fallocate64.c: Likewise.
9649         * io/read.c: Likewise.
9650         * io/readlink.c: Likewise.
9651         * io/readlinkat.c: Likewise.
9652         * io/rmdir.c: Likewise.
9653         * io/sendfile.c: Likewise.
9654         * io/sendfile64.c: Likewise.
9655         * io/statfs.c: Likewise.
9656         * io/statfs64.c: Likewise.
9657         * io/statvfs.c: Likewise.
9658         * io/statvfs64.c: Likewise.
9659         * io/symlink.c: Likewise.
9660         * io/symlinkat.c: Likewise.
9661         * io/ttyname.c: Likewise.
9662         * io/ttyname_r.c: Likewise.
9663         * io/umask.c: Likewise.
9664         * io/unlink.c: Likewise.
9665         * io/unlinkat.c: Likewise.
9666         * io/utime.c: Likewise.
9667         * io/utimensat.c: Likewise.
9668         * io/write.c: Likewise.
9669         * io/xmknod.c: Likewise.
9670         * io/xmknodat.c: Likewise.
9671         * io/xstat.c: Likewise.
9672         * io/xstat64.c: Likewise.
9673         * login/getpt.c: Likewise.
9674         * login/grantpt.c: Likewise.
9675         * login/unlockpt.c: Likewise.
9676         * math/e_acoshl.c: Likewise.
9677         * math/e_acosl.c: Likewise.
9678         * math/e_asinl.c: Likewise.
9679         * math/e_atan2l.c: Likewise.
9680         * math/e_atanhl.c: Likewise.
9681         * math/e_coshl.c: Likewise.
9682         * math/e_expl.c: Likewise.
9683         * math/e_fmodl.c: Likewise.
9684         * math/e_gammal_r.c: Likewise.
9685         * math/e_hypotl.c: Likewise.
9686         * math/e_j0l.c: Likewise.
9687         * math/e_j1l.c: Likewise.
9688         * math/e_jnl.c: Likewise.
9689         * math/e_lgammal_r.c: Likewise.
9690         * math/e_log10l.c: Likewise.
9691         * math/e_log2l.c: Likewise.
9692         * math/e_logl.c: Likewise.
9693         * math/e_powl.c: Likewise.
9694         * math/e_rem_pio2l.c: Likewise.
9695         * math/e_sinhl.c: Likewise.
9696         * math/e_sqrtl.c: Likewise.
9697         * math/fclrexcpt.c: Likewise.
9698         * math/fedisblxcpt.c: Likewise.
9699         * math/feenablxcpt.c: Likewise.
9700         * math/fegetenv.c: Likewise.
9701         * math/fegetexcept.c: Likewise.
9702         * math/fegetround.c: Likewise.
9703         * math/feholdexcpt.c: Likewise.
9704         * math/fesetenv.c: Likewise.
9705         * math/fesetround.c: Likewise.
9706         * math/feupdateenv.c: Likewise.
9707         * math/fgetexcptflg.c: Likewise.
9708         * math/fraiseexcpt.c: Likewise.
9709         * math/fsetexcptflg.c: Likewise.
9710         * math/ftestexcept.c: Likewise.
9711         * math/k_cosl.c: Likewise.
9712         * math/k_rem_pio2l.c: Likewise.
9713         * math/k_sinl.c: Likewise.
9714         * math/k_tanl.c: Likewise.
9715         * math/s_asinhl.c: Likewise.
9716         * math/s_atanl.c: Likewise.
9717         * math/s_cbrtl.c: Likewise.
9718         * math/s_erfl.c: Likewise.
9719         * math/s_expm1l.c: Likewise.
9720         * math/s_log1pl.c: Likewise.
9721         * math/s_tanhl.c: Likewise.
9722         * misc/acct.c: Likewise.
9723         * misc/brk.c: Likewise.
9724         * misc/chflags.c: Likewise.
9725         * misc/chroot.c: Likewise.
9726         * misc/fchflags.c: Likewise.
9727         * misc/fgetxattr.c: Likewise.
9728         * misc/flistxattr.c: Likewise.
9729         * misc/fremovexattr.c: Likewise.
9730         * misc/fsetxattr.c: Likewise.
9731         * misc/fsync.c: Likewise.
9732         * misc/ftruncate.c: Likewise.
9733         * misc/futimes.c: Likewise.
9734         * misc/futimesat.c: Likewise.
9735         * misc/getdomain.c: Likewise.
9736         * misc/getdtsz.c: Likewise.
9737         * misc/gethostid.c: Likewise.
9738         * misc/gethostname.c: Likewise.
9739         * misc/getloadavg.c: Likewise.
9740         * misc/getpagesize.c: Likewise.
9741         * misc/getsysstats.c: Likewise.
9742         * misc/getxattr.c: Likewise.
9743         * misc/gtty.c: Likewise.
9744         * misc/ioctl.c: Likewise.
9745         * misc/lgetxattr.c: Likewise.
9746         * misc/listxattr.c: Likewise.
9747         * misc/llistxattr.c: Likewise.
9748         * misc/lremovexattr.c: Likewise.
9749         * misc/lsetxattr.c: Likewise.
9750         * misc/lutimes.c: Likewise.
9751         * misc/madvise.c: Likewise.
9752         * misc/mincore.c: Likewise.
9753         * misc/mlock.c: Likewise.
9754         * misc/mlockall.c: Likewise.
9755         * misc/mmap.c: Likewise.
9756         * misc/mprotect.c: Likewise.
9757         * misc/msync.c: Likewise.
9758         * misc/munlock.c: Likewise.
9759         * misc/munlockall.c: Likewise.
9760         * misc/munmap.c: Likewise.
9761         * misc/preadv.c: Likewise.
9762         * misc/preadv64.c: Likewise.
9763         * misc/ptrace.c: Likewise.
9764         * misc/pwritev.c: Likewise.
9765         * misc/pwritev64.c: Likewise.
9766         * misc/readv.c: Likewise.
9767         * misc/reboot.c: Likewise.
9768         * misc/remap_file_pages.c: Likewise.
9769         * misc/removexattr.c: Likewise.
9770         * misc/revoke.c: Likewise.
9771         * misc/select.c: Likewise.
9772         * misc/setdomain.c: Likewise.
9773         * misc/setegid.c: Likewise.
9774         * misc/seteuid.c: Likewise.
9775         * misc/sethostid.c: Likewise.
9776         * misc/sethostname.c: Likewise.
9777         * misc/setregid.c: Likewise.
9778         * misc/setreuid.c: Likewise.
9779         * misc/setxattr.c: Likewise.
9780         * misc/sstk.c: Likewise.
9781         * misc/stty.c: Likewise.
9782         * misc/swapoff.c: Likewise.
9783         * misc/swapon.c: Likewise.
9784         * misc/sync.c: Likewise.
9785         * misc/syncfs.c: Likewise.
9786         * misc/syscall.c: Likewise.
9787         * misc/truncate.c: Likewise.
9788         * misc/ualarm.c: Likewise.
9789         * misc/usleep.c: Likewise.
9790         * misc/ustat.c: Likewise.
9791         * misc/utimes.c: Likewise.
9792         * misc/vhangup.c: Likewise.
9793         * misc/writev.c: Likewise.
9794         * posix/_exit.c: Likewise.
9795         * posix/alarm.c: Likewise.
9796         * posix/execve.c: Likewise.
9797         * posix/fexecve.c: Likewise.
9798         * posix/fork.c: Likewise.
9799         * posix/fpathconf.c: Likewise.
9800         * posix/getaddrinfo.c: Likewise.
9801         * posix/getegid.c: Likewise.
9802         * posix/geteuid.c: Likewise.
9803         * posix/getgid.c: Likewise.
9804         * posix/getgroups.c: Likewise.
9805         * posix/getlogin.c: Likewise.
9806         * posix/getlogin_r.c: Likewise.
9807         * posix/getpgid.c: Likewise.
9808         * posix/getpid.c: Likewise.
9809         * posix/getppid.c: Likewise.
9810         * posix/getresgid.c: Likewise.
9811         * posix/getresuid.c: Likewise.
9812         * posix/getsid.c: Likewise.
9813         * posix/getuid.c: Likewise.
9814         * posix/glob64.c: Likewise.
9815         * posix/nanosleep.c: Likewise.
9816         * posix/pathconf.c: Likewise.
9817         * posix/pause.c: Likewise.
9818         * posix/posix_madvise.c: Likewise.
9819         * posix/pread.c: Likewise.
9820         * posix/pread64.c: Likewise.
9821         * posix/pwrite.c: Likewise.
9822         * posix/pwrite64.c: Likewise.
9823         * posix/sched_getaffinity.c: Likewise.
9824         * posix/sched_getp.c: Likewise.
9825         * posix/sched_gets.c: Likewise.
9826         * posix/sched_primax.c: Likewise.
9827         * posix/sched_primin.c: Likewise.
9828         * posix/sched_rr_gi.c: Likewise.
9829         * posix/sched_setaffinity.c: Likewise.
9830         * posix/sched_setp.c: Likewise.
9831         * posix/sched_sets.c: Likewise.
9832         * posix/sched_yield.c: Likewise.
9833         * posix/setgid.c: Likewise.
9834         * posix/setlogin.c: Likewise.
9835         * posix/setpgid.c: Likewise.
9836         * posix/setresgid.c: Likewise.
9837         * posix/setresuid.c: Likewise.
9838         * posix/setsid.c: Likewise.
9839         * posix/setuid.c: Likewise.
9840         * posix/sleep.c: Likewise.
9841         * posix/spawni.c: Likewise.
9842         * posix/sysconf.c: Likewise.
9843         * posix/times.c: Likewise.
9844         * posix/wait.c: Likewise.
9845         * posix/wait3.c: Likewise.
9846         * posix/wait4.c: Likewise.
9847         * posix/waitpid.c: Likewise.
9848         * resolv/gai_sigqueue.c: Likewise.
9849         * resource/getpriority.c: Likewise.
9850         * resource/getrlimit.c: Likewise.
9851         * resource/getrusage.c: Likewise.
9852         * resource/nice.c: Likewise.
9853         * resource/setpriority.c: Likewise.
9854         * resource/setrlimit.c: Likewise.
9855         * resource/ulimit.c: Likewise.
9856         * rt/aio_cancel.c: Likewise.
9857         * rt/aio_fsync.c: Likewise.
9858         * rt/aio_read.c: Likewise.
9859         * rt/aio_sigqueue.c: Likewise.
9860         * rt/aio_suspend.c: Likewise.
9861         * rt/aio_write.c: Likewise.
9862         * rt/clock_getres.c: Likewise.
9863         * rt/clock_gettime.c: Likewise.
9864         * rt/clock_nanosleep.c: Likewise.
9865         * rt/clock_settime.c: Likewise.
9866         * rt/lio_listio.c: Likewise.
9867         * rt/mq_close.c: Likewise.
9868         * rt/mq_getattr.c: Likewise.
9869         * rt/mq_notify.c: Likewise.
9870         * rt/mq_open.c: Likewise.
9871         * rt/mq_receive.c: Likewise.
9872         * rt/mq_send.c: Likewise.
9873         * rt/mq_setattr.c: Likewise.
9874         * rt/mq_timedreceive.c: Likewise.
9875         * rt/mq_timedsend.c: Likewise.
9876         * rt/mq_unlink.c: Likewise.
9877         * rt/shm_open.c: Likewise.
9878         * rt/shm_unlink.c: Likewise.
9879         * rt/timer_create.c: Likewise.
9880         * rt/timer_delete.c: Likewise.
9881         * rt/timer_getoverr.c: Likewise.
9882         * rt/timer_gettime.c: Likewise.
9883         * rt/timer_settime.c: Likewise.
9884         * setjmp/__longjmp.c: Likewise.
9885         * setjmp/setjmp.c: Likewise.
9886         * signal/kill.c: Likewise.
9887         * signal/killpg.c: Likewise.
9888         * signal/raise.c: Likewise.
9889         * signal/sigaction.c: Likewise.
9890         * signal/sigaltstack.c: Likewise.
9891         * signal/sigblock.c: Likewise.
9892         * signal/sigignore.c: Likewise.
9893         * signal/sigintr.c: Likewise.
9894         * signal/signal.c: Likewise.
9895         * signal/sigpause.c: Likewise.
9896         * signal/sigpending.c: Likewise.
9897         * signal/sigqueue.c: Likewise.
9898         * signal/sigreturn.c: Likewise.
9899         * signal/sigset.c: Likewise.
9900         * signal/sigsetmask.c: Likewise.
9901         * signal/sigstack.c: Likewise.
9902         * signal/sigsuspend.c: Likewise.
9903         * signal/sigtimedwait.c: Likewise.
9904         * signal/sigvec.c: Likewise.
9905         * signal/sigwait.c: Likewise.
9906         * signal/sigwaitinfo.c: Likewise.
9907         * signal/sysv_signal.c: Likewise.
9908         * socket/accept.c: Likewise.
9909         * socket/accept4.c: Likewise.
9910         * socket/bind.c: Likewise.
9911         * socket/connect.c: Likewise.
9912         * socket/getpeername.c: Likewise.
9913         * socket/getsockname.c: Likewise.
9914         * socket/getsockopt.c: Likewise.
9915         * socket/isfdtype.c: Likewise.
9916         * socket/listen.c: Likewise.
9917         * socket/recv.c: Likewise.
9918         * socket/recvfrom.c: Likewise.
9919         * socket/recvmsg.c: Likewise.
9920         * socket/send.c: Likewise.
9921         * socket/sendmsg.c: Likewise.
9922         * socket/sendto.c: Likewise.
9923         * socket/setsockopt.c: Likewise.
9924         * socket/shutdown.c: Likewise.
9925         * socket/sockatmark.c: Likewise.
9926         * socket/socket.c: Likewise.
9927         * socket/socketpair.c: Likewise.
9928         * stdio-common/ctermid.c: Likewise.
9929         * stdio-common/cuserid.c: Likewise.
9930         * stdio-common/remove.c: Likewise.
9931         * stdio-common/rename.c: Likewise.
9932         * stdio-common/renameat.c: Likewise.
9933         * stdio-common/tempname.c: Likewise.
9934         * stdlib/getcontext.c: Likewise.
9935         * stdlib/makecontext.c: Likewise.
9936         * stdlib/setcontext.c: Likewise.
9937         * stdlib/swapcontext.c: Likewise.
9938         * stdlib/system.c: Likewise.
9939         * streams/fattach.c: Likewise.
9940         * streams/fdetach.c: Likewise.
9941         * streams/getmsg.c: Likewise.
9942         * streams/getpmsg.c: Likewise.
9943         * streams/putmsg.c: Likewise.
9944         * streams/putpmsg.c: Likewise.
9945         * sysdeps/unix/bsd/getpt.c: Likewise.
9946         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9947         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9948         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9950         Likewise.
9951         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9952         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9953         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9954         * sysvipc/msgctl.c: Likewise.
9955         * sysvipc/msgget.c: Likewise.
9956         * sysvipc/msgrcv.c: Likewise.
9957         * sysvipc/msgsnd.c: Likewise.
9958         * sysvipc/semctl.c: Likewise.
9959         * sysvipc/semget.c: Likewise.
9960         * sysvipc/semop.c: Likewise.
9961         * sysvipc/semtimedop.c: Likewise.
9962         * sysvipc/shmat.c: Likewise.
9963         * sysvipc/shmctl.c: Likewise.
9964         * sysvipc/shmdt.c: Likewise.
9965         * sysvipc/shmget.c: Likewise.
9966         * termios/tcdrain.c: Likewise.
9967         * termios/tcflow.c: Likewise.
9968         * termios/tcflush.c: Likewise.
9969         * termios/tcgetattr.c: Likewise.
9970         * termios/tcgetpgrp.c: Likewise.
9971         * termios/tcsendbrk.c: Likewise.
9972         * termios/tcsetattr.c: Likewise.
9973         * termios/tcsetpgrp.c: Likewise.
9974         * time/adjtime.c: Likewise.
9975         * time/clock.c: Likewise.
9976         * time/getitimer.c: Likewise.
9977         * time/gettimeofday.c: Likewise.
9978         * time/setitimer.c: Likewise.
9979         * time/settimeofday.c: Likewise.
9980         * time/stime.c: Likewise.
9981         * time/time.c: Likewise.
9983 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
9985         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9986         /usr/old/bin.
9988         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9989         instead of spaces.
9990         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9992 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
9994         [BZ #14796]
9995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9996         FE_TONEAREST before applying Dekker multiplication and Knuth
9997         addition.  Clear inexact exceptions and check for exact zero
9998         results afterwards.
9999         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10000         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10001         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10002         * math/libm-test.inc (fma_test): Add more tests.
10003         (fma_test_towardzero): Likewise.
10004         (fma_test_downward): Likewise.
10005         (fma_test_upward): Likewise.
10006         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10007         function.
10008         (libc_fesetround): New macro.
10009         (libc_fesetroundf): Likewise.
10010         (libc_fesetroundl): Likewise.
10011         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10012         function.
10013         (libc_fesetround_387): Likewise.
10014         (libc_fesetroundf): New macro.
10015         (libc_fesetround): Likewise.
10016         (libc_fesetroundl): Likewise.
10017         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10018         function.
10019         (libc_fesetroundf): New macro.
10020         (libc_fesetround): Likewise.
10021         (libc_fesetroundl): Likewise.
10022         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10023         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10024         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10025         libm_hidden_ver.
10026         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10027         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10028         libm_hidden_def.
10029         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10030         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10031         libm_hidden_ver.
10032         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10033         libm_hidden_def.
10035         [BZ #3439]
10036         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10037         integer constant usable in #if and use that to give value to enum
10038         constant.
10039         (FE_DIVBYZERO): Likewise.
10040         (FE_UNDERFLOW): Likewise.
10041         (FE_OVERFLOW): Likewise.
10042         (FE_INVALID): Likewise.
10043         (FE_INVALID_SNAN): Likewise.
10044         (FE_INVALID_ISI): Likewise.
10045         (FE_INVALID_IDI): Likewise.
10046         (FE_INVALID_ZDZ): Likewise.
10047         (FE_INVALID_IMZ): Likewise.
10048         (FE_INVALID_COMPARE): Likewise.
10049         (FE_INVALID_SOFTWARE): Likewise.
10050         (FE_INVALID_SQRT): Likewise.
10051         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10052         (FE_TONEAREST): Likewise.
10053         (FE_TOWARDZERO): Likewise.
10054         (FE_UPWARD): Likewise.
10055         (FE_DOWNWARD): Likewise.
10056         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10057         (FE_DIVBYZERO): Likewise.
10058         (FE_OVERFLOW): Likewise.
10059         (FE_UNDERFLOW): Likewise.
10060         (FE_INEXACT): Likewise.
10061         (FE_TONEAREST): Likewise.
10062         (FE_DOWNWARD): Likewise.
10063         (FE_UPWARD): Likewise.
10064         (FE_TOWARDZERO): Likewise.
10065         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10066         (FE_UNDERFLOW): Likewise.
10067         (FE_OVERFLOW): Likewise.
10068         (FE_DIVBYZERO): Likewise.
10069         (FE_INVALID): Likewise.
10070         (FE_TONEAREST): Likewise.
10071         (FE_TOWARDZERO): Likewise.
10072         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10073         (FE_OVERFLOW): Likewise.
10074         (FE_UNDERFLOW): Likewise.
10075         (FE_DIVBYZERO): Likewise.
10076         (FE_INEXACT): Likewise.
10077         (FE_TONEAREST): Likewise.
10078         (FE_TOWARDZERO): Likewise.
10079         (FE_UPWARD): Likewise.
10080         (FE_DOWNWARD): Likewise.
10081         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10082         (FE_DIVBYZERO): Likewise.
10083         (FE_OVERFLOW): Likewise.
10084         (FE_UNDERFLOW): Likewise.
10085         (FE_INEXACT): Likewise.
10086         (FE_TONEAREST): Likewise.
10087         (FE_DOWNWARD): Likewise.
10088         (FE_UPWARD): Likewise.
10089         (FE_TOWARDZERO): Likewise.
10091 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
10093         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10095 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
10097         * scripts/cross-test-ssh.sh (command): Use newlines to separate
10098         commands.  Quote $PWD.
10099         (blacklist_exports): Don't use remove_newlines.  Replace "declare
10100         -x" by "export".
10101         (remove_newlines): Remove.
10103 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
10105         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10106         * stdlib/stdlib.h (atof): Moved to ...
10107         * include/bits/stdlib-float.h: Here.  New file.
10108         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10109         * stdlib/bits/stdlib-float.h: New file.
10110         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10111         -mno-sse -mno-mmx.
10112         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10113         <xmmintrin.h>.
10115 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10117         * conform/conformtest.pl (@headers): Add fenv.h.
10118         * conform/data/fenv.h-data: New file.
10119         * include/fenv.h [_ISOMAC]: Disable all contents of file except
10120         include of <math/fenv.h>.
10122         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10123         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10124         && !UNIX98].  Enables tests for XOPEN2K8.
10125         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10126         POSIX2008]: Likewise.
10128         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10129         (struct rusage): Do not expect type or its members.
10131         [BZ #3439]
10132         * math/math.h (FP_NAN): Define macro to integer constant usable in
10133         #if and use that to give value to enum constant.
10134         (FP_INFINITE): Likewise.
10135         (FP_ZERO): Likewise.
10136         (FP_SUBNORMAL): Likewise.
10137         (FP_NORMAL): Likewise.
10139 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
10141         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10142         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10143         arguments.
10145 2012-11-02  Roland McGrath  <roland@hack.frob.com>
10147         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10148         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10149         autoconf-time if not.
10150         * configure.in: Remove AC_PREREQ.
10152 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10154         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10155         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10156         of the internal implementation.
10158 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10160         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10161         except include of <misc/sys/syslog.h>.
10163 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10166         function returns with a NULL context exit with zero.
10168 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10170         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10172 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
10174         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10175         (run_program_cmd): This.
10176         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10177         (tst_langinfo): New variable.  Use it.
10179 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
10181         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10182         floating point opcodes.
10184 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10186         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10187         variable.
10189         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10191         * sysdeps/mach/hurd/powerpc: Remove directory.
10192         * sysdeps/mach/powerpc: Likewise.
10194 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10196         * scripts/check-local-headers.sh: Ignore c++ headers.
10198 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10200         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10201         __libc_cleanup_region_start argument.
10203 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
10205         [BZ #14784]
10206         [BZ #14785]
10207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10208         x * y using scaling, not as x * y + z.
10209         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10210         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10211         * math/libm-test.inc (fma_test): Add more tests.
10212         (fma_test_towardzero): Likewise.
10213         (fma_test_downward): Likewise.
10214         (fma_test_upward): Likewise.
10216 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10218         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10220 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10222         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10223         New variable.
10225 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
10227         * rt/tst-shm.c (worker): Correct checking for mmap failure.
10229 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10232         Fix sort order.
10233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10234         Likewise.
10236 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10239         Fix the order of the list for glibc 2.17.
10240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10241         Likewise.
10243 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10247 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10249         [BZ #14610]
10250         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10251         for low part of x being zero before using __atanl (y).
10252         * math/libm-test.inc (atan2_test): Add another test.
10254         * manual/install.texi (Configuring and compiling): Document
10255         general use of test-wrapper and test-wrapper-env.
10256         * INSTALL: Regenerated.
10258         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10259         (__fma): Do not extract and scale down low bits on after-rounding
10260         systems when result rounded to normal precision would have normal
10261         exponent.
10262         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10263         (__fmal): Do not extract and scale down low bits on after-rounding
10264         systems when result rounded to normal precision would have normal
10265         exponent.
10266         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10267         (__fmal): Do not extract and scale down low bits on after-rounding
10268         systems when result rounded to normal precision would have normal
10269         exponent.
10270         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10271         macro.
10272         (fma_test): Add more tests.
10273         (fma_test_towardzero): Likewise.
10274         (fma_test_downward): Likewise.
10275         (fma_test_upward): Likewise.
10277 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
10279         * sysdeps/i386/tininess.h: Renamed to ...
10280         * sysdeps/x86/tininess.h: This.
10281         * sysdeps/x86_64/tininess.h: Removed.
10283 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10285         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10286         input.  Use $(build-program-cmd).
10287         ($(objpfx)tst-array1-static.out): Likewise.
10288         ($(objpfx)tst-array2.out): Likewise.
10289         ($(objpfx)tst-array3.out): Likewise.
10290         ($(objpfx)tst-array4.out): Likewise.
10291         ($(objpfx)tst-array5.out): Likewise.
10292         ($(objpfx)tst-array5-static.out): Likewise.
10294 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
10296         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10297         if defined.
10299         * nss/nsswitch.h (nss_interface_function): Provide new
10300         macro for use with NSS functions.
10301         * grp/initgroups.c: Use new macro.
10302         * nss/getXXbyYY.c: Likewise.
10303         * nss/getXXbyYY_r.c: Likewise.
10304         * nss/getXXent.c: Likewise.
10305         * nss/getXXent_r.c: Likewise.
10306         * sysdeps/posix/getaddrinfo.c: Likewise.
10308 2012-10-30  Andreas Jaeger  <aj@suse.de>
10310         * po/ru.po: Update Russion translation from translation project.
10312 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10314         [BZ #14152]
10315         [BZ #14783]
10316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10317         result and shift together with sticky bit instead of replicating
10318         round-to-nearest rounding.
10319         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10320         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10321         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
10322         missing underflow exceptions.
10323         (fma_test_towardzero): Add more tests.
10324         (fma_test_downward): Likewise.
10325         (fma_test_upward): Likewise.
10327         [BZ #14047]
10328         * sysdeps/generic/tininess.h: New file.
10329         * sysdeps/i386/tininess.h: Likewise.
10330         * sysdeps/sh/tininess.h: Likewise.
10331         * sysdeps/x86_64/tininess.h: Likewise.
10332         * stdlib/tst-strtod-underflow.c: Likewise.
10333         * stdlib/tst-tininess.c: Likewise.
10334         * stdlib/strtod_l.c: Include <tininess.h>.
10335         (round_and_return): Do not set errno for exact underflow cases.
10336         Force an underflow exception when setting errno for underflow.
10337         Determine underflow based on rounding to normal precision if
10338         TININESS_AFTER_ROUNDING.
10339         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10340         ERANGE for exact underflow cases.
10341         * stdlib/Makefile (tests): Add tst-tininess and
10342         tst-strtod-underflow.
10343         ($(objpfx)tst-tininess): Use $(link-libm).
10344         ($(objpfx)tst-strtod-underflow): Likewise.
10346 2012-10-30  Andreas Jaeger  <aj@suse.de>
10348         [BZ#14767]
10349         * elf/Makefile (tests): Remove conditional for have-initfini-array
10350         since this is now always required and the variable does not exist
10351         anymore.
10352         (tests-static): Likewise.
10353         (modules-names): Likewise.
10355         * po/eo.po: Add Esperanto translation from translation project.
10357         * elf/tst-array1.c (fini_array): Make writeable so that it can be
10358         merged with constructor/destructor.
10359         (init_array): Likewise.
10360         * elf/tst-array2dep.c (fini_array): Likewise.
10361         (init_array): Likewise.
10363 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
10365         * manual/message.texi: Delete @cartouche tags.
10367 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
10369         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10370         EOPNOTSUPP.
10371         * sysdeps/mach/hurd/fsync.c: Likewise.
10373         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10374         [_POSIX_REALTIME_SIGNALS]: Change condition to
10375         [_POSIX_REALTIME_SIGNALS > 0].
10377 2012-10-27  Andreas Jaeger  <aj@suse.de>
10379         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10380         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10381         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10382         [__WORDSIZE != 64]: Likewise.
10384 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
10386         *  iconvdata/tst-table.sh: Remove ${SHELL}.
10387         *  iconvdata/tst-tables.sh: Likewise.
10389 2012-10-25  David S. Miller  <davem@davemloft.net>
10391         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10392         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10393         of strtoull.
10395         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10396         ifunc-impl-list.c
10397         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10398         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10399         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10400         file.
10402 2012-10-25  Roland McGrath  <roland@hack.frob.com>
10404         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10405         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10406         __getdirentries.
10408 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
10409             Jim Blandy  <jimb@codesourcery.com>
10411         * scripts/cross-test-ssh.sh: New file.
10412         * manual/install.texi (Configuring and compiling): Document use of
10413         cross-test-ssh.sh.
10414         * INSTALL: Regenerated.
10416 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
10418         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10419         EOPNOTSUPP.
10421 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
10423         * Makeconfig (run-program-prefix): Fix comment.
10425 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
10426             Jim Blandy  <jimb@codesourcery.com>
10428         * Makeconfig (test-wrapper): New variable,
10429         (test-wrapper-env): Likewise.
10430         [$(cross-compiling) = yes && $(test-wrapper) != ""]
10431         (run-built-tests): Define to yes.
10432         (run-program-prefix): Use $(test-wrapper).
10433         (built-program-cmd): Likewise.
10434         * Rules (make-test-out): Use $(test-wrapper-env) and
10435         $(host-built-program-cmd).
10436         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10437         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10438         tst-pathopt.sh.
10439         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10440         $(test-wrapper-env) to tst-rtld-load-self.sh.
10441         ($(objpfx)order2.out): Use $(test-wrapper).
10442         ($(objpfx)tst-initorder.out): Likewise.
10443         ($(objpfx)tst-initorder2.out): Likewise.
10444         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10445         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10446         (test_wrapper_env): New variable.  Use it to run ld.so.
10447         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10448         Use it to run ld.so.
10449         (test_wrapper_env): Likewise.
10450         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10451         $(test-wrapper) to run-iconv-test.sh.
10452         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10453         (ICONV): Use $test_wrapper.
10454         * posix/Makefile ($(objpfx)globtest.out): Pass
10455         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10456         globtest.sh, not $(run-program-prefix).
10457         * posix/globtest.sh (run_via_rtld_prefix): New variable.
10458         (test_wrapper): Likewise.
10459         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
10460         set together with run_via_rtld_prefix.
10461         (run_program_prefix): Define in terms of test_wrapper and
10462         run_via_rtld_prefix.
10464 2012-10-24  Roland McGrath  <roland@hack.frob.com>
10466         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10467         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10468         Targets removed.
10470         [BZ #14743]
10471         * include/time.h: Remove librt_hidden_proto (clock_gettime).
10472         Declare __clock_getres, __clock_gettime, __clock_settime,
10473         __clock_nanosleep, and __clock_getcpuclockid.
10474         * rt/clock_gettime.c: Define __clock_gettime as an alias.
10475         Remove librt_hidden_def (clock_gettime).
10476         * sysdeps/unix/clock_gettime.c: Likewise.
10477         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10478         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10479         * rt/clock_getres.c: Define __clock_getres as an alias.
10480         * sysdeps/posix/clock_getres.c: Likewise.
10481         * rt/clock_settime.c: Define __clock_settime as an alias.
10482         * sysdeps/unix/clock_settime.c: Likewise.
10483         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10484         * sysdeps/unix/clock_nanosleep.c: Likewise.
10485         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10486         * rt/clock-compat.c: New file.
10487         * rt/Makefile (librt-routines): Add clock-compat and move
10488         $(clock-routines) to ...
10489         (routines): ... here, new variable.
10490         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10491         Don't add get_clockfreq here.
10492         * rt/Versions (libc: GLIBC_2.17): New version set.
10493         Add clock_* symbols here.
10494         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
10495         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10496         (GLIBC_2.17): Add clock_* symbols.
10497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10499         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10501         Likewise.
10502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10503         Likewise.
10504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10508         * NEWS: Mention the move.
10510         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10511         Use __open, __read, __close rather than their public counterparts.
10512         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10513         (__get_clockfreq_via_cpuinfo): Likewise.
10514         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10515         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10517         * config.h.in (HAVE_IFUNC): New #undef.
10518         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10519         was successful.
10520         * configure: Regenerated.
10522 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
10524         * configure.in: Move READELF check to start of file.
10525         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10526         libc_cv_asm_gnu_indirect_function in the process.
10527         * configure: Regenerated.
10529 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
10531         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10532         send the output to /dev/null.
10533         (libc_cv_cc_with_libunwind): Likewise.
10534         (libc_cv_as_noexecstack): Likewise.
10535         * configure: Regenerate.
10537 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
10539         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10541         * posix/globtest.sh (TMPDIR): Do not set.
10542         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10543         (testout): Likewise.
10545 2012-10-24  Andreas Jaeger  <aj@suse.de>
10547         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10548         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10549         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10550         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10551         posix_fadvise64, posix_fallocate64.
10553         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10554         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10555         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10556         Likewise.
10557         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10558         Likewise.
10559         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10561         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10562         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10563         <bits/fcntl-linux.h>.
10564         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10567         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10568         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10569         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10570         [__WORDSIZE != 64]: Likewise.
10572 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10574         * Makeconfig (run-built-tests): New variable.
10575         * Rules [$(cross-compiling) = yes]: Change condition to
10576         [$(run-built-tests) = no].
10577         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10578         to [$(run-built-tests) = yes].
10579         * elf/Makefile [$(cross-compiling) = no]: Likewise
10580         * grp/Makefile [$(cross-compiling) = no]: Likewise.
10581         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10582         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10583         * intl/Makefile [$(cross-compiling) = no]: Likewise.
10584         * io/Makefile [$(cross-compiling) = no]: Likewise.
10585         * libio/Makefile [$(cross-compiling) = no]: Likewise.
10586         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10587         * misc/Makefile [$(cross-compiling) = no]: Likewise.
10588         * posix/Makefile [$(cross-compiling) = no]: Likewise.
10589         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10590         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10591         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10592         * string/Makefile [$(cross-compiling) = no]: Likewise.
10594         * posix/Makefile ($(objpfx)globtest.out): Pass
10595         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10596         $(rtld-installed-name).
10597         * posix/globtest.sh (elf_objpfx): Remove variable.
10598         (rtld_installed_name): Likewise.
10599         (library_path): Likewise.
10600         (run_program_prefix): New variable.  Use for running globtest
10601         binary.
10603 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
10604             Joseph Myers  <joseph@codesourcery.com>
10606         * Makeconfig (host-built-program-cmd): New variable.
10607         * elf/Makefile (tst-stackguard1-ARGS): Use
10608         $(host-built-program-cmd).
10609         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10610         (tst-spawn-ARGS): Likewise.
10611         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10613 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10614             Jim Blandy  <jimb@codesourcery.com>
10616         * Makeconfig (run-via-rtld-prefix): New variable.
10617         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10618         (built-program-cmd): Likewise.
10620 2012-10-22  Andreas Jaeger  <aj@suse.de>
10622         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10623         __O_RSYNC if it exists, otherwise to O_SYNC.
10625 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
10626             Joseph Myers  <joseph@codesourcery.com>
10628         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10629         /dev/null.
10630         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10631         from /dev/null
10632         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10633         /dev/null.
10635 2012-10-22  Andreas Jaeger  <aj@suse.de>
10637         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10638         Define always.
10639         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10641         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10642         bits/fcntl-linux.h.
10644         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10645         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10647         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10648         to __O_LARGEFILE.
10649         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10650         to __O_LARGEFILE.
10652 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
10653             Joseph Myers  <joseph@codesourcery.com>
10655         * config.make.in (NM): New variable.
10657 2012-10-21  Andreas Jaeger  <aj@suse.de>
10659         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10660         definitions and declarations that are provided by
10661         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10663 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
10665         [BZ #14683]
10666         * elf/Makefile (tests-static): Add tst-leaks1-static.
10667         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10668         ($(objpfx)tst-leaks1-static): New rule.
10669         ($(objpfx)tst-leaks1-static-mem): Likewise.
10670         (tst-leaks1-static-ENV): New macro.
10671         * elf/dl-open.c (dl_open_worker): Check the main application
10672         only if SHARED is defined.
10673         * elf/tst-leaks1-static.c: New file.
10675 2012-10-20  Andreas Jaeger  <aj@suse.de>
10677         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10678         generic values for Linux.
10679         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10680         and declarations that are provided by <bits/fcntl-linux.h> and
10681         include <bits/fcntl-linux.h>.
10682         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10685 2012-10-20  Roland McGrath  <roland@hack.frob.com>
10687         * io/fcntl.h: Move include of <bits/types.h> to the top and
10688         include it unconditionally.
10690 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
10692         * wcsmbs/Makefile (tests-ifunc): New variable.
10693         (tests): Add $(tests-ifunc).
10694         * wcsmbs/test-wcschr-ifunc.c: New file.
10695         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10696         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10697         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10698         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10699         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10701         * string/Makefile (tests-ifunc): New variable.
10702         (tests): Add $(tests-ifunc).
10703         * string/test-memccpy.c (TEST_NAME): New macro.
10704         * string/test-memchr.c (TEST_NAME): Likewise.
10705         * string/test-memcmp.c (TEST_NAME): Likewise.
10706         * string/test-memcpy.c (TEST_NAME): Likewise.
10707         * string/test-memmem.c (TEST_NAME): Likewise.
10708         * string/test-memmove.c (TEST_NAME): Likewise.
10709         * string/test-memset.c (TEST_NAME): Likewise.
10710         * string/test-rawmemchr.c (TEST_NAME): Likewise.
10711         * string/test-stpcpy.c (TEST_NAME): Likewise.
10712         * string/test-stpncpy.c (TEST_NAME): Likewise.
10713         * string/test-strcasecmp.c (TEST_NAME): Likewise.
10714         * string/test-strcasestr.c (TEST_NAME): Likewise.
10715         * string/test-strcat.c (TEST_NAME): Likewise.
10716         * string/test-strchr.c (TEST_NAME): Likewise.
10717         * string/test-strcmp.c(TEST_NAME): Likewise.
10718         * string/test-strcpy.c (TEST_NAME): Likewise.
10719         * string/test-strcspn.c (TEST_NAME): Likewise.
10720         * string/test-strlen.c (TEST_NAME): Likewise.
10721         * string/test-strncasecmp.c (TEST_NAME): Likewise.
10722         * string/test-strncmp.c (TEST_NAME): Likewise.
10723         * string/test-strncpy.c (TEST_NAME): Likewise.
10724         * string/test-strnlen.c (TEST_NAME): Likewise.
10725         * string/test-strpbrk.c (TEST_NAME): Likewise.
10726         * string/test-strrchr.c (TEST_NAME): Likewise.
10727         * string/test-strspn.c (TEST_NAME): Likewise.
10728         * string/test-strstr.c (TEST_NAME): Likewise.
10729         * string/test-bcopy-ifunc.c: New file.
10730         * string/test-bzero-ifunc.c: Likewise.
10731         * string/test-memccpy-ifunc.c: Likewise.
10732         * string/test-memchr-ifunc.c: Likewise.
10733         * string/test-memcmp-ifunc.c: Likewise.
10734         * string/test-memcpy-ifunc.c: Likewise.
10735         * string/test-memmem-ifunc.c: Likewise.
10736         * string/test-memmove-ifunc.c: Likewise.
10737         * string/test-mempcpy-ifunc.c: Likewise.
10738         * string/test-memset-ifunc.c: Likewise.
10739         * string/test-rawmemchr-ifunc.c: Likewise.
10740         * string/test-stpcpy-ifunc.c: Likewise.
10741         * string/test-stpncpy-ifunc.c: Likewise.
10742         * string/test-strcasecmp-ifunc.c: Likewise.
10743         * string/test-strcasestr-ifunc.c: Likewise.
10744         * string/test-strcat-ifunc.c: Likewise.
10745         * string/test-strchr-ifunc.c: Likewise.
10746         * string/test-strchrnul-ifunc.c: Likewise.
10747         * string/test-strcmp-ifunc.c: Likewise.
10748         * string/test-strcpy-ifunc.c: Likewise.
10749         * string/test-strcspn-ifunc.c: Likewise.
10750         * string/test-strlen-ifunc.c: Likewise.
10751         * string/test-strncasecmp-ifunc.c: Likewise.
10752         * string/test-strncat-ifunc.c: Likewise.
10753         * string/test-strncmp-ifunc.c: Likewise.
10754         * string/test-strncpy-ifunc.c: Likewise.
10755         * string/test-strnlen-ifunc.c: Likewise.
10756         * string/test-strpbrk-ifunc.c: Likewise.
10757         * string/test-strrchr-ifunc.c: Likewise.
10758         * string/test-strspn-ifunc.c: Likewise.
10759         * string/test-strstr-ifunc.c: Likewise.
10761         * debug/Makefile (tests-ifunc): New variable.
10762         (tests): Add $(tests-ifunc).
10763         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10764         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10765         * debug/test-stpcpy_chk-ifunc.c: New file.
10766         * debug/test-strcpy_chk-ifunc.c: Likewise.
10768 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10770         [BZ #13601]
10771         * elf/dl-load.c (open_verify): Retry read if the entire ELF
10772         header is not read in.
10774 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
10776         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
10777         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
10778         directly.  Pass built executable to script as
10779         $(built-program-cmd).
10780         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
10781         $testprogram without using LD_LIBRARY_PATH and $ldso.
10783         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10784         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10785         $(rtld-installed-name).
10786         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10787         (rtld_installed_name): Likewise.
10788         (library_path): Likewise.
10789         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
10790         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10791         $(run-program-prefix) to tst-tables.sh.
10792         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
10793         it to run tst-table-from and tst-table-to.
10794         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10795         Pass it to tst-table.sh.
10796         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10797         $(run-program-prefix) to tst-gettext.sh.
10798         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10799         tst-translit.sh.
10800         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10801         tst-gettext2.sh.
10802         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
10803         to run tst-gettext.
10804         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
10805         to run tst-gettext2.
10806         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
10807         to run tst-translit.
10808         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10809         $(run-program-prefix) to tst-mtrace.sh.
10810         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
10811         to run tst-mtrace.
10812         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10813         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10814         $(rtld-installed-name).
10815         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10816         (rtld_installed_name): Likewise.
10817         (run_program_prefix): New variable.  Use it to run wordexp-test.
10819         * Makeconfig (ARCH): Remove all definitions.
10820         (machine): Likewise.
10821         [ARCH]: Remove conditional code.
10822         [!objdir]: Give error.
10823         [!objdir] (objpfx): Remove.
10824         [!objdir] (common-objpfx): Likewise.
10825         [!objdir] (common-objdir): Likewise.
10826         * configure.in (config_makefile): Remove.  Hardcode Makefile in
10827         AC_CONFIG_FILES call.
10828         * configure: Regenerated.
10830         [BZ #13888]
10831         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10832         or TMPDIR.
10833         (testout): Likewise.
10835         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10836         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10837         $(rtld-installed-name).
10838         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10839         (rtld_installed_name): Likwise.
10840         (runit): Remove function.
10841         (run_getconf): New variable,  Use it for running getconf binary.
10843 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
10845         [BZ #14716]
10846         * string/test-memmem.c (check_result): New function.
10847         (do_one_test): Use it.
10848         (check1): New function.
10849         (test_main): Use it.
10851 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
10853         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10855 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
10857         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10858         (_G_LSEEK64): Likewise.
10859         (_G_MMAP64): Likewise.
10860         (_G_FSTAT64): Likewise.
10861         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10862         (_G_LSEEK64): Likewise.
10863         (_G_MMAP64): Likewise.
10864         (_G_FSTAT64): Likewise.
10865         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10866         unconditional.  Call __mmap64 directly.
10867         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10868         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
10869         __lseek64 directly.
10870         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10871         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
10872         __mmap64 directly.
10873         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10874         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
10875         __lseek64 directly.
10876         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10877         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
10878         __lseek64 directly.
10879         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10880         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
10881         __lseek64 directly.
10882         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10883         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
10884         __fxstat64 directly.
10885         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10886         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10887         unconditional.
10888         (freopen64) [!_G_OPEN64]: Remove conditional code.
10889         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10890         unconditional.
10891         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10892         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10893         unconditional.
10894         (ftello64) [!_G_LSEEK64]: Remove conditional code.
10895         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10896         unconditional.
10897         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10898         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10899         unconditional.
10900         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10901         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10902         unconditional.
10903         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10904         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10905         unconditional.
10906         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10907         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10908         unconditional.
10909         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10911 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10913         [BZ #12140]
10914         * manual/memory.texi (Malloc Tunable Parameters): Add note
10915         about free list pointers overwriting some perturb bytes.
10916         Wording suggested by Roland McGrath.
10918 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
10920         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10921         (lgamma_test): Likewise.
10922         (tgamma_test): Likewise.
10924 2012-10-16  Florian Weimer  <fweimer@redhat.com>
10926         [BZ #14700]
10927         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10928         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10930 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
10932         * NEWS: Mention BZ #14716.
10933         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10934         when removing AVAILABLE1_USES_J macro.
10936 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10938         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10939         (__bswap_64): __uint64_t for unsigned 64-bit int.
10941 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
10943         * include/string.h (memmem): Declare libc hidden alias.
10944         * string/memmem.c (memmem): Define libc hidden alias.
10945         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10946         __read, __close instead of open, read, close.
10948 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
10950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10951         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10952         global and hidden.
10953         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10954         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10955         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10956         Likewise.
10957         (__rawmemchr_sse2): Likewise.
10958         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10959         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10960         (__strchr_sse2): Likewise.
10961         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10962         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10963         (__strcasecmp_sse2): Likewise.
10964         (__strncasecmp_sse2): Likewise.
10965         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10966         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10967         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10968         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10969         (__strrchr_sse2): Likewise.
10970         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10971         ifunc-impl-list.c.
10972         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10973         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10974         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10975         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10976         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10977         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10978         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10979         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10980         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10981         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10982         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10983         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10984         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10985         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10986         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10987         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10988         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10989         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10990         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10991         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10992         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10993         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10994         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10995         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10996         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10997         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10998         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10999         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11000         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11001         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11003         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11004         global and hidden.
11005         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11006         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11007         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11008         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11009         Likewise.
11010         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11011         Likewise.
11012         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11013         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11014         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11015         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11016         ifunc-impl-list.c.
11017         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11018         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11019         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11020         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11021         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11022         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11023         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11024         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11025         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11026         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11027         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11028         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11029         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11030         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11031         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11032         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11033         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11034         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11035         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11036         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11037         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11038         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11039         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11040         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11041         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11042         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11043         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11044         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11045         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11046         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11047         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11048         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11049         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11050         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11051         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11052         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11053         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11054         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11055         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11056         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11057         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11059         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11060         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11061         * include/ifunc-impl-list.h: New file.
11062         * misc/ifunc-impl-list.c: Likewise.
11063         * misc/Makefile (routines): Add ifunc-impl-list.
11064         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11065         * string/test-string.h: Include <ifunc-impl-list.h>.
11066         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11067         impl_array): New variables.
11068         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11069         are defined.
11070         (test_init): Call __libc_ifunc_impl_list to initialize
11071         func_list if TEST_IFUNC and TEST_NAME are defined.
11073         * string/Makefile (strop-tests): Add bcopy and bzero.
11074         * string/test-bcopy.c: New file.
11075         * string/test-bzero.c: Likewise.
11076         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11077         defined.
11078         * string/test-memset.c: Support bzero test if TEST_BZERO is
11079         defined.
11080         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11081         __libc_memmove.
11082         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11083         __libc_memset.
11084         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11085         of memset.
11087 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
11089         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11090         * configure: Regenerated.
11092         * Makeconfig (+link-static-before-libc): Don't include
11093         $(link-static-libc).
11095         * libio/libio.h (_IO_pos_t): Remove.
11097 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11099         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
11100         McGrath.
11102 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11104         * crypt/crypt-entry.c: Include fips-private.h.
11105         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11106         * crypt/md5c-test.c (main): Tolerate disabled MD5.
11107         * sysdeps/unix/sysv/linux/fips-private.h: New file.
11108         * sysdeps/generic/fips-private.h: New file, dummy fallback.
11110 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11112         * crypt/crypt-private.h: Include stdbool.h.
11113         (_ufc_setup_salt_r): Return bool.
11114         * crypt/crypt-entry.c: Include errno.h.
11115         (__crypt_r): Return NULL with EINVAL for bad salt.
11116         * crypt/crypt_util.c (bad_for_salt): New.
11117         (_ufc_setup_salt_r): Check that salt is long enough and within
11118         the specified alphabet.
11119         * crypt/badsalttest.c: New file.
11120         * crypt/Makefile (tests): Add it.
11121         ($(objpfx)badsalttest): New.
11123 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
11125         * NEWS: Add entry for BZ #14602.
11127 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11129         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11130         type-generic.
11131         * math/libm-test.inc: Update comment listing what functions and
11132         macros are tested.
11133         (isgreater_test): New function.
11134         (isgreaterequal_test): Likewise.
11135         (isless_test): Likewise.
11136         (islessequal_test): Likewise.
11137         (islessgreater_test): Likewise.
11138         (isunordered_test): Likewise.
11139         (main): Call the new functions.
11141 2012-10-09  Roland McGrath  <roland@hack.frob.com>
11143         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11144         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11145         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11146         * sysdeps/i386/configure: Regenerated.
11147         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11148         * sysdeps/mach/configure: Regenerated.
11149         * sysdeps/mach/hurd/configure: Regenerated.
11150         * sysdeps/powerpc/configure: Regenerated.
11151         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11152         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11153         * sysdeps/s390/s390-32/configure: Regenerated.
11154         * sysdeps/s390/s390-64/configure: Regenerated.
11155         * sysdeps/sh/configure: Regenerated.
11156         * sysdeps/sparc/configure: Regenerated.
11157         * sysdeps/unix/sysv/linux/configure: Regenerated.
11158         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11159         * sysdeps/x86_64/configure: Regenerated.
11161         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11162         defined.  Don't check if MAP is NULL.
11164 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11166         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11167         (_G_stat64): Likewise.
11168         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11169         (_G_stat64): Likewise.
11170         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11171         instead of struct _G_stat64.
11172         * libio/fileops.c (mmap_remap_check): Likewise.
11173         (decide_maybe_mmap): Likewise.
11174         (_IO_new_file_seekoff): Likewise.
11175         (_IO_file_stat): Likewise.
11176         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11177         _G_off64_t.
11178         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11179         instead of struct _G_stat64.
11180         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11182 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
11184         [BZ #14602]
11185         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11186         Replace with ...
11187         (CHECK_EOL): New macro.
11188         (two_way_short_needle): Check beginning of haystack for EOL.  Use
11189         CHECK_EOL.
11190         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11191         Replace with CHECK_EOL.
11192         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11193         Replace with CHECK_EOL.
11195 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
11197         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11198         type-generic.
11199         * math/libm-test.inc: Update comment listing what functions and
11200         macros are tested.
11201         (finite_test): New function.
11202         (isinf_test): Likewise.
11203         (isnan_test): Likewise.
11204         (fpclassify_test): Test subnormal input.
11205         (isfinite_test): Likewise.
11206         (isnormal_test): Likewise.
11207         (main): Call the new functions.
11209 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
11211         [BZ #14660]
11212         * Makerules (%.dynsym): Force C locale when running
11213         $(OBJDUMP) --dynamic-syms.
11215 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
11217         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11218         <stdint.h>.
11220 2012-10-06  David S. Miller  <davem@davemloft.net>
11222         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11223         upper 32-bits of the length value in %o2 since we use branch-on-register
11224         tests which consider the entire 64-bit register.
11226 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
11228         * string/test-strstr.c (check2): Add a test for page boundary.
11230 2012-10-05  David S. Miller  <davem@davemloft.net>
11232         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11233         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11234         file.
11235         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11236         sysdep_routines.
11237         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11238         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11239         and bzero when HWCAP_SPARC_CRYPTO is present.
11241 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
11243         [BZ #14602]
11244         * string/test-strstr.c (check2): New function.
11245         (test_main): Call check2.
11247         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11248         and bug-strchr1.
11249         * string/bug-strcasestr1.c (do_test): Moved to ...
11250         * string/test-strcasestr.c (check1): Here.  New function.
11251         (do_one_test): Break out result checking code into ...
11252         (check_result): This.  New function.
11253         (do_one_test): Call check_result.
11254         (test_main): Call check1.
11255         * string/bug-strchr1.c (do_test): Moved to ...
11256         * string/test-strchr.c (check1): Here.  New function.
11257         (do_one_test): Break out result checking code into ...
11258         (check_result): This.  New function.
11259         (do_one_test): Call check_result.
11260         (test_main): Call check1.
11261         * string/bug-strstr1.c (main): Moved to ...
11262         * string/test-strstr.c (check1): Here.  New function.
11263         (do_one_test): Break out result checking code into ...
11264         (check_result): This.  New function.
11265         (do_one_test): Call check_result.
11266         (test_main): Call check1.
11267         * string/bug-strcasestr1.c: Removed.
11268         * string/bug-strchr1.c: Likewise.
11269         * string/bug-strstr1.c: Likewise.
11271         * elf/Makefile (dl-routines): Add hwcaps.
11272         * elf/dl-support.c (_dl_important_hwcaps): Removed.
11273         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11274         (_dl_important_hwcaps): Moved to ...
11275         * elf/dl-hwcaps.c: Here.  New file.
11276         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11278         [BZ #14557]
11279         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11280         if IS_IN_rtld isn't defined.
11282         * elf/dl-support.c (_dl_sysinfo_map): New.
11283         Include "get-dynamic-info.h" and "setup-vdso.h".
11284         (_dl_non_dynamic_init): Call setup_vdso.
11285         * elf/dynamic-link.h: Don't include <assert.h>.
11286         (elf_get_dynamic_info): Moved to ...
11287         * elf/get-dynamic-info.h: Here.  New file.
11288         * elf/dynamic-link.h: Include "get-dynamic-info.h".
11289         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11290         * elf/setup-vdso.h: Here.  New file.
11291         * elf/rtld.c: Include "setup-vdso.h".
11292         (dl_main): Call setup_vdso.
11294 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
11296         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11297         creal in comment listing functions tested.  List finite, isinf,
11298         isnan, isless, islessequal, isgreater, isgreaterequal,
11299         islessgreater, isunordered, lgamma_r and pow10 as functions and
11300         macros not tested.  Mention which functions not tested are aliases
11301         for other functions.  Fix typo.  Note that signs of NaNs are not
11302         tested.
11304         * scripts/config.guess: Update from config.git.
11305         * scripts/config.sub: Likewise.
11307 2012-10-04  Roland McGrath  <roland@hack.frob.com>
11309         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11310         * misc/madvise.c (madvise): Renamed to __madvise.
11311         Make madvise a weak alias.
11312         * include/sys/mman.h: Declare __madvise.
11313         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11314         * sysdeps/unix/syscalls.list
11315         (madvise): Make __madvise the strong name, and madvise a weak alias.
11316         * sysdeps/unix/sysv/linux/syscalls.list
11317         (madvise, mmap): Remove redundant entries.
11318         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11319         * malloc/malloc.c (mtrim): Likewise.
11320         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11322 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11324         * sysdeps/mach/hurd/dl-cache.c: File removed.
11325         * config.h.in (USE_LDCONFIG): New #undef.
11326         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11327         * configure: Regenerated.
11328         * elf/Makefile (dl-routines): Add dl-cache only under
11329         [$(use-ldconfig) = yes].
11330         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11331         cache on [USE_LDCONFIG].
11332         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11333         [USE_LDCONFIG].
11334         * elf/rtld.c (dl_main): Likewise.
11336 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
11338         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11339         _SC_LEVEL4_CACHE_LINESIZE.
11341 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11343         * sysdeps/unix/bsd/confstr.h: File removed.
11345 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
11347         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11348         sys/sdt-config.h.
11350 2012-10-02  Roland McGrath  <roland@hack.frob.com>
11352         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11353         Make 'mapoff' field ElfW(Off) rather than off_t.
11355 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
11357         * nscd/Makefile: Remove nscd-cflags and all its users.
11358         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11359         (CFLAGS-nonlib): Add compiler flags for nscd modules.
11361         [BZ #10631]
11362         * malloc.c (malloc_printerr): Clarify error message.
11364 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
11366         [BZ #14648]
11367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11368         Set bit_FMA_Usable if FMA is supported.
11369         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11370         macro.
11371         (bit_FMA4_Usable): Updated.
11372         (index_FMA_Usable): New macro.
11373         (CPUID_FMA): Likewise
11374         (HAS_FMA): Defined with bit_FMA_Usable.
11376 2012-10-01  Roland McGrath  <roland@hack.frob.com>
11378         * bits/types.h (__swblk_t): Type removed.
11379         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11380         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11381         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11382         (__SWBLK_T_TYPE): Likewise.
11383         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11384         (__SWBLK_T_TYPE): Likewise.
11385         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11386         (__SWBLK_T_TYPE): Likewise.
11387         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11388         (__SWBLK_T_TYPE): Likewise.
11390 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
11391             Honza Horak <hhorak@redhat.com>
11393         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11394         (xdr_mapname): Use YPMAXMAP as maxsize.
11395         (xdr_peername): Use YPMAXPEER as maxsize.
11396         (xdr_keydat): Use YPAXRECORD as maxsize.
11397         (xdr_valdat): Use YPMAXRECORD as maxsize.
11399 2012-10-01  Roland McGrath  <roland@hack.frob.com>
11401         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11403         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11404         * csu/init-first.c: ... here.
11405         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11406         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11407         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11408         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11409         * sysdeps/i386/init-first.c: File removed.
11410         * sysdeps/sh/init-first.c: File removed.
11412 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
11414         [BZ #14645]
11415         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11416         if x * y might underflow to zero and z is zero.
11417         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11418         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11419         * math/libm-test.inc (min_subnorm_value): New variable.
11420         (fma_test): Add more tests.
11421         (fma_test_towardzero): Likewise.
11422         (fma_test_downward): Likewise
11423         (fma_test_upward): Likewise.
11424         (initialize): Set min_subnorm_value.
11426 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
11428         [BZ #14638]
11429         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11430         0 + 0.
11431         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11432         mode for addition resulting in exact zero.
11433         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11435         exact 0 + 0.
11436         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11437         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11438         * math/libm-test.inc (fma_test): Add more tests.
11439         (fma_test_towardzero): New function.
11440         (fma_test_downward): Likewise.
11441         (fma_test_upward): Likewise.
11442         (main): Call the new functions.
11444 2012-09-28  David S. Miller  <davem@davemloft.net>
11446         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11448 2012-09-28  Roland McGrath  <roland@hack.frob.com>
11450         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11451         instead of SIGALRM.
11453         * sysdeps/gnu/_G_config.h: Moved to ...
11454         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11455         * sysdeps/mach/hurd/_G_config.h: Moved to ...
11456         * sysdeps/generic/_G_config.h: ... here.
11458         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
11460         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11462         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11463         Conditionalize target on [libnss_test1.so-version].
11465         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11467         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11468         (elfobjdir): Move out of conditionals.
11470         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11471         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11472         (__nss_lookup_function): Conditionalize label remove_from_tree on
11473         [!DO_STATIC_NSS || SHARED], matching its only use.
11475 2012-09-28  David S. Miller  <davem@davemloft.net>
11477         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11478         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11479         file.
11480         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11481         sysdep_routines.
11482         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11483         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11484         when HWCAP_SPARC_CRYPTO is present.
11486 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11488         * io/tst-mknodat.c: Create a FIFO instead of a socket.
11490 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
11492         [BZ #6530]
11493         * stdio-common/vfprintf.c (process_string_arg): Revert
11494         2000-07-22 change.
11496 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
11498         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11499         for testcase.
11500         * stdio-common/tst-sprintf.c: Include <locale.h>
11501         (main): Test sprintf's handling of incomplete multibyte
11502         characters.
11504 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
11506         * elf/dl-runtime.c (VERSYMIDX): Removed.
11507         * elf/dl-version.c (VERSYMIDX): Likewise.
11508         * elf/do-rel.h (VERSYMIDX): Likewise.
11509         (VALIDX): Likewise.
11510         * elf/dynamic-link.h (VERSYMIDX): Likewise.
11511         * elf/rtld.c (VALIDX): Likewise.
11512         (ADDRIDX): Likewise.
11513         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11514         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11515         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11516         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11517         (VALIDX): Likewise.
11518         (ADDRIDX): Likewise.
11520 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11522         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11524 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
11526         [BZ #11438]
11527         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11528         to global scope.
11529         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11530         addresses are in the same scope as 192.0.2/24.
11531         * posix/gai.conf: Document new scope table defaults.
11533 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11535         [BZ #5298]
11536         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11537         for ftell.  Compute offsets from write pointers instead.
11538         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11540 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11542         [BZ #14543]
11543         * libio/Makefile (tests): New test case tst-fseek.
11544         * libio/tst-fseek.c: New test case to verify that fseek/ftell
11545         combination works in wide mode.
11546         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11547         state when the external buffer state changes.
11549 2012-09-27  David S. Miller  <davem@davemloft.net>
11551         [BZ #14376]
11552         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11553         pass reloc->r_addend in as the 'high' argument to
11554         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11558 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11560         * rt/tst-aio2.c: Include <pthread.h>.
11561         * rt/tst-aio3.c: Likewise.
11563 2012-09-27  Steve Ellcey  <sellcey@mips.com>
11565         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11567 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11569         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11570         contents on [SHARED].
11572 2012-09-26  Marek Polacek  <polacek@redhat.com>
11574         [BZ #14530]
11575         [BZ #13741]
11576         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11577         for C++ and GCC <4.3 as well as for non GCC compilers.
11579 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11581         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11583 2012-09-25  Roland McGrath  <roland@hack.frob.com>
11585         * Makefile.in (all, install): Declare with .PHONY.
11586         Reported by Michael Hope <michael.hope@linaro.org>.
11588 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11590         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11591         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11592         system header.
11593         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11594         Likewise.
11595         (sydep_routines): Add the new and the internal functions.
11596         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11597         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11599         (GLIBC_2.17): Add the new function.
11600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11601         (GLIBC_2.17): Likewise.
11602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11603         (GLIBC_2.17): Likewise.
11604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11605         (GLIBC_2.17): Likewise.
11606         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11608 2012-09-25  Alan Modra  <amodra@gmail.com>
11610         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11611         Add release barrier before setting once_control to say
11612         initialisation is done.  Add hints on lwarx.  Use macro in
11613         place of isync.
11614         (clear_once_control): Add release barrier.
11616 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11618         [BZ #13629]
11619         * math/s_clog.c (__clog): Handle more values close to |z| = 1
11620         specially.
11621         * math/s_clog10.c (__clog10): Likewise.
11622         * math/s_clog10f.c (__clog10f): Likewise.
11623         * math/s_clog10l.c (__clog10l): Likewise.
11624         * math/s_clogf.c (__clogf): Likewise.
11625         * math/s_clogl.c (__clogl): Likewise.
11626         * math/Makefile (libm-calls): Add x2y2m1.
11627         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11628         (__x2y2m1): Likewise.
11629         (__x2y2m1l): Likewise.
11630         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11631         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11632         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11633         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11634         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11635         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11636         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11637         * sysdeps/i386/fpu/libm-test-ulps: Update.
11638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11640         [BZ #14621]
11641         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11642         int as type of variable DEPTH.
11643         (glob): Use size_t instead of int as type of variables NEWCOUNT
11644         and OLD_PATHC.
11646 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11648         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11649         Add s_sincosf-sse2.
11650         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11651         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11652         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11653         macros for using routine as __sincosf_ia32.
11654         Use macro for function declaration and weak_alias.
11655         * sysdeps/i386/fpu/libm-test-ulps: Update.
11657         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11658         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11660         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11661         subnormal argument.
11662         * math/s_cexpf.c (__cexpf): Likewise.
11663         * math/s_csinf.c (__csinf): Likewise.
11664         * math/s_csinhf.c (__csinhf): Likewise.
11665         * math/s_ctanf.c (__ctanf): Likewise.
11666         * math/s_ctanhf.c (__ctanhf): Likewise.
11667         * math/s_ccosh.c (__ccoshf): Likewise.
11668         * math/s_cexp.c (__cexpl): Likewise.
11669         * math/s_csin.c (__csin): Likewise.
11670         * math/s_csinh.c (__csinh): Likewise.
11671         * math/s_ctan.c (__ctan): Likewise.
11672         * math/s_ctanh.c (ctanh): Likewise.
11673         * math/s_ccoshl.c (__ccoshl): Likewise.
11674         * math/s_cexpl.c (__cexpl): Likewise.
11675         * math/s_csinl.c (__csinl): Likewise.
11676         * math/s_csinhl.c (__csinhl): Likewise.
11677         * math/s_ctanl.c (__ctanl): Likewise.
11678         * math/s_ctanhl.c (__ctanhl): Likewise.
11680 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11682         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11683         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11684         (_IO_off_t): Define to __off_t, not _G_off_t.
11685         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11686         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11687         (_IO_wint_t): Define to wint_t, not _G_wint_t.
11688         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11689         type of __dummy and __dummy2 fields.
11690         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11691         (_G_ssize_t): Likewise.
11692         (_G_off_t): Likewise.
11693         (_G_pid_t): Likewise.
11694         (_G_uid_t): Likewise.
11695         (_G_wchar_t): Likewise.
11696         (_G_wint_t): Likewise.
11697         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11698         (_G_ssize_t): Likewise.
11699         (_G_off_t): Likewise.
11700         (_G_pid_t): Likewise.
11701         (_G_uid_t): Likewise.
11702         (_G_wchar_t): Likewise.
11703         (_G_wint_t): Likewise.
11704         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11705         (_G_ssize_t): Likewise.
11706         (_G_off_t): Likewise.
11707         (_G_pid_t): Likewise.
11708         (_G_uid_t): Likewise.
11709         (_G_wchar_t): Likewise.
11710         (_G_wint_t): Likewise.
11712 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11714         * malloc/arena.c: Include malloc-sysdep.h.
11715         (shrink_heap): Use check_may_shrink_heap to decide if madvise
11716         is sufficient to shrink the heap or an unmap is needed.
11717         * sysdeps/generic/malloc-sysdep.h: New file.  Define
11718         new function check_may_shrink_heap.
11719         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
11720         new function check_may_shrink_heap.
11722 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11724         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11725         comments.
11727 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
11729         * catgets/test-gencat.sh: Add "set -e".
11730         * elf/tst-pathopt.sh: Likewise.
11731         * grp/tst_fgetgrent.sh: Likewise.
11732         * iconvdata/run-iconv-test.sh: Likewise.
11733         * intl/tst-gettext.sh: Likewise.
11734         * intl/tst-gettext2.sh: Likewise.
11735         * intl/tst-gettext4.sh: Likewise.
11736         * intl/tst-gettext6.sh: Likewise.
11737         * intl/tst-translit.sh: Likewise.
11738         * io/ftwtest-sh: Likewise.
11739         * libio/test-freopen.sh: Likewise.
11740         * malloc/tst-mtrace.sh: Likewise.
11741         * posix/globtest.sh: Likewise.
11742         * posix/tst-getconf.sh: Likewise.
11743         * posix/wordexp-tst.sh: Likewise.
11744         * stdio-common/tst-printf.sh: Likewise.
11745         * stdio-common/tst-unbputc.sh: Likewise.
11746         * stdlib/tst-fmtmsg.sh: Likewise.
11747         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11748         * catgets/Makefile: Do not specify -e option when running
11749         testsuite shell scripts.
11750         * elf/Makefile: Likewise.
11751         * grp/Makefile: Likewise.
11752         * iconvdata/Makefile: Likewise.
11753         * intl/Makefile: Likewise.
11754         * io/Makefile: Likewise.
11755         * libio/Makefile: Likewise.
11756         * malloc/Makefile: Likewise.
11757         * posix/Makefile: Likewise.
11758         * stdio-common/Makefile: Likewise.
11759         * stdlib/Makefile: Likewise.
11760         * sysdeps/x86_64/Makefile: Likewise.
11762         * io/ftwtest-sh: Add copyright header.
11763         * posix/globtest.sh: Likewise.
11764         * posix/tst-getconf.sh: Likewise.
11765         * posix/wordexp-tst.sh: Likewise.
11766         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11768 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
11770         [BZ #13679]
11771         * Makeconfig (+link): Defined as $(+link-static) if
11772         $(build-shared) isn't yes.
11773         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11774         isn't yes.
11775         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11777         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11779         [BZ #14562]
11780         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11781         new chunk size with MALLOC_ALIGN_MASK.
11783 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
11785         [BZ #5044]
11786         * stdio-common/printf_fphex.c: Include <stdbool.h> and
11787         <rounding-mode.h>.
11788         (__printf_fphex): Determine rounding using get_rounding_mode and
11789         round_away.
11790         * stdio-common/tst-printf-round.c (struct hex_test): New
11791         structure.
11792         (hex_tests): New variable.
11793         (test_hex_in_one_mode): New function.
11794         (do_test): Also run tests for hex float output.
11796 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
11798         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11799         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11800         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11801         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11802         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11803         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11804         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11805         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11807 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
11809         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11810         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11811         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11812         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11814 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
11816         [BZ #14579]
11817         * elf/rtld.c (dl_main): Limit the check for self loading to normal
11818         mode only.
11819         * elf/tst-rtld-load-self.sh: New test.
11820         * elf/Makefile: Run it.
11822 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
11824         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11825         (tst-writev-ENV): Remove.
11826         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11828 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
11830         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11832 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
11834         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11835         unconditional.
11836         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11837         Likewise.
11838         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11839         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11840         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11841         Likewise.
11843 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11845         [BZ #14587]
11846         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11847         * config.make.in (have-cpp-asm-debuginfo): Removed.
11848         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11849         * configure: Regenerated.
11851 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
11853         [BZ #5044]
11854         * stdio-common/printf_fp.c: Include <stdbool.h> and
11855         <rounding-mode.h>.
11856         (___printf_fp): Determine rounding using get_rounding_mode and
11857         round_away.
11858         * stdio-common/tst-printf-round.c: New file.
11859         * stdio-common/Makefile (tests): Add tst-printf-round.
11860         (link-libm): New variable.
11861         ($(objpfx)tst-printf-round): Depend in $(link-libm).
11863 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
11865         [BZ #14576]
11866         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11867         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11868         Likewise.
11869         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11870         Likewise.
11872 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
11874         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11875         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11876         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11877         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11879 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
11881         [BZ #14518]
11882         * include/rounding-mode.h: New file.
11883         * sysdeps/generic/get-rounding-mode.h: Likewise.
11884         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11885         * stdlib/strtod_l.c: Include <rounding-mode.h>.
11886         (MAX_VALUE): New macro.
11887         (MIN_VALUE): Likewise.
11888         (overflow_value): New function.
11889         (underflow_value): Likewise.
11890         (round_and_return): Use overflow_value and underflow_value to
11891         determine return values in overflow and underflow cases.  Use
11892         round_away to determine rounding depending on rounding mode.
11893         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11894         determine return values in overflow and underflow cases.
11895         * stdlib/tst-strtod-round.c: Include <fenv.h>.
11896         (struct test_results): New structure.
11897         (struct test): Use struct test_results to store expected results
11898         for all rounding modes.
11899         (TEST): Include expected results for all rounding modes.
11900         (test_in_one_mode): New function.
11901         (do_test): Use test_in_one_mode to compute and check results.
11902         Check results for all rounding modes.
11903         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11904         $(link-libm).
11906 2012-12-09  Allan McRae  <allan@archlinux.org>
11908         * sysdeps/i386/fpu/libm-test-ulps: Update
11910 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
11912         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11913         (_G_int32_t): Likewise.
11914         (_G_uint16_t): Likewise.
11915         (_G_uint32_t): Likewise.
11916         (_G_HAVE_BOOL): Likewise.
11917         (_G_HAVE_ATEXIT): Likewise.
11918         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11919         (_G_HAVE_IO_FILE_OPEN): Likewise.
11920         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11921         (_G_int32_t): Likewise.
11922         (_G_uint16_t): Likewise.
11923         (_G_uint32_t): Likewise.
11924         (_G_HAVE_BOOL): Likewise.
11925         (_G_HAVE_ATEXIT): Likewise.
11926         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11927         (_G_HAVE_IO_FILE_OPEN): Likewise.
11928         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11929         (_G_int32_t): Likewise.
11930         (_G_uint16_t): Likewise.
11931         (_G_uint32_t): Likewise.
11932         (_G_HAVE_BOOL): Likewise.
11933         (_G_HAVE_ATEXIT): Likewise.
11934         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11935         (_G_HAVE_IO_FILE_OPEN): Likewise.
11937 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
11939         * csu/libc-tls.c: Update copyright years.
11941 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
11943         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11944         [!_G_USING_THUNKS]: Remove conditional code.
11945         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11946         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11948         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11949         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11950         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11951         (_G_VTABLE_LABEL_PREFIX): Likewise.
11952         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11953         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11954         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11955         (_G_VTABLE_LABEL_PREFIX): Likewise.
11956         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11957         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11958         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11959         (_G_VTABLE_LABEL_PREFIX): Likewise.
11960         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11962 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
11964         * libio/Makefile: Include ../Makeconfig before tests.
11965         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11966         only if $(build-shared) is yes.
11968         * iconv/gconv_db.c: Update copyright years.
11970 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11972         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11973         unwind info if defined PIC. Fix special cases description.
11974         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11976         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11977         DP_HI_MASK entry.
11978         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11980 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
11982         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11984         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11985         is NULL.
11987         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11988         (LDLIBS-tst-chk4): This.
11989         (LDFLAGS-tst-chk5): Renamed to ...
11990         (LDLIBS-tst-chk5): This.
11991         (LDFLAGS-tst-chk6): Renamed to ...
11992         (LDLIBS-tst-chk6): This.
11993         (LDFLAGS-tst-lfschk4): Renamed to ...
11994         (LDLIBS-tst-lfschk4): This.
11995         (LDFLAGS-tst-lfschk5): Renamed to ...
11996         (LDLIBS-tst-lfschk5): This.
11997         (LDFLAGS-tst-lfschk6): Renamed to ...
11998         (LDLIBS-tst-lfschk6): This.
12000         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12001         on $(common-objpfx)soversions.mk.
12003 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12005         [BZ #10014]
12006         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12007         example host name.
12009 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12011         * malloc/arena.c (arena_get_retry): New function that gets
12012         another arena for the caller to try its request on.
12013         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12014         current arena cannot fulfill the request.
12015         (__libc_memalign): Likewise.
12016         (__libc_memalign): Likewise.
12017         (__libc_pvalloc): Likewise.
12018         (__libc_calloc): Likewise.
12020 2012-09-05  John Tobey  <john.tobey@gmail.com>
12022         [BZ #13542]
12023         * manual/arith.texi (Operations on Complex): Fix description
12024         of carg branch cut.
12026 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12028         [BZ #10014]
12029         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12030         host name.
12032         [BZ #10038]
12033         * manual/memory.texi (Memory): Make order of menu items match
12034         order of sections.
12036 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12038         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12039         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12040         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12042 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12044         * csu/libc-tls.c (static_dtv): Renamed to ...
12045         (_dl_static_dtv): This.  Make it global.
12046         (_dl_initial_dtv): Removed.
12047         (__libc_setup_tls): Updated.
12048         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12049         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12050         DL_INITIAL_DTV.
12052 2012-09-06  Petr Machata  <pmachata@redhat.com>
12054         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12055         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12056         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12057         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12059 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12061         [BZ #14545]
12062         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12063         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12064         freeing dtv[-1].
12066 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12068         [BZ #14544]
12069         * Makeconfig (link-static-before-libc): Replace $(+prector)
12070         with $(+prectorT).
12071         (link-static-after-libc): Replace $(+postctor) with
12072         $(+postctorT).
12073         (link-bounded): Replace $(+prector)/$(+postctor) with
12074         $(+prectorT)/$(+postctorT).
12075         (+prectorT): New macro.
12076         (+postctorT): Likewise.
12078 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12080         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12081         (round_str): Handle values above the maximum for IBM long double
12082         as inexact.
12083         * stdlib/tst-strtod-round.c (tests): Regenerated.
12085 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12087         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12088         assembler flag.
12089         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12090         zarch_nohighgprs around the zarch optimized routines.
12091         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12092         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12093         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12094         for zarch.
12096 2012-09-05  David S. Miller  <davem@davemloft.net>
12098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12100         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12101         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12102         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12103         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12104         entries.
12106 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12108         * malloc/arena.c: Fold copyright years.
12109         * malloc/mcheck.c, malloc/memusage.c: Likewise.
12111 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12113         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12115 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12117         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
12119 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12121         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12122         change internal state upon failure.
12124 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12126         * malloc/mcheck.c (mcheck_check_all): Fix typo.
12127         * malloc/memusage.c (mmap): Likewise.
12128         (mmap64, mremap): Likewise.  Adjust name in comment.
12130 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12132         * libio/fileops.c: Fix typos in comments.
12133         * libio/oldfileops.c: Likewise.
12134         * libio/wfileops.c: Likewise.
12136 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12138         [BZ #1349]
12139         * malloc/Makefile (tests): Add tst-malloc-usable test case.
12140         (tst-malloc-usable-ENV): Set environment for test case.
12141         * malloc/hooks.c (malloc_check_get_size): New function to get
12142         requested size.
12143         * malloc/malloc.c (musable): Use malloc_check_get_size.
12144         * malloc/tst-malloc-usable.c: New test case.
12146 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12148         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12150 2012-09-05  Allan McRae  <allan@archlinux.org>
12152         [BZ #13966]
12153         * configure.in (CXX_SYSINCLUDES): Use compiler output to
12154         determine header location.
12155         * configure: Regenerated.
12157 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12159         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12160         float format.
12161         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12162         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12163         format.
12164         (test): Regenerate.
12166 2012-09-04  David S. Miller  <davem@davemloft.net>
12168         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12169         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12170         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12172 2012-09-04  Florian Weimer  <fweimer@redhat.com>
12174         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12175         failures.
12177         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12179 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
12181         [BZ #9914]
12182         * libio/iogetdelim.c: Include <limits.h>.
12183         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12184         + len + 1 would overflow.
12186 2012-09-03  Andreas Jaeger  <aj@suse.de>
12188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12189         * sysdeps/i386/fpu/libm-test-ulps: Update.
12191 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12193         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12194         Add s_sinf-sse2, s_conf-sse2.
12196         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12197         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12198         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12199         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12201         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12202         for using routine as __sinf_ia32.
12203         Use macro for function declaration and weak_alias.
12204         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12205         for using routine as __cosf_ia32.
12206         Use macro for function declaration and weak_alias.
12208         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12209         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12211         * sysdeps/x86_64/fpu/s_sinf.S: New file.
12212         * sysdeps/x86_64/fpu/s_cosf.S: New file.
12213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12215         * math/libm-test.inc (cos_test): Add more test cases.
12216         (sin_test): Likewise.
12217         (sincos_test): Likewise.
12219 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12221         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12222         (IFUNC_RESOLVE): Make pointers to the specialized implementations
12223         hidden.
12224         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12226 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
12228         [BZ #14538]
12229         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12230         first element of the GOT.
12231         (elf_machine_load_address): Return the difference between
12232         the runtime address of _DYNAMIC and elf_machine_dynamic ().
12234 2012-09-01  Allan McRae  <allan@archlinux.org>
12236         [BZ #13412]
12237         * configure.in (AWK): Require gawk version 3.0 or later.
12238         * configure: Regenerated.
12240 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
12242         * sysdeps/unix/sysv/linux/kernel-features.h
12243         (__ASSUME_POSIX_CPU_TIMERS): Remove.
12244         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12245         [__NR_clock_getres]: Make code unconditional.
12246         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12247         (clock_getcpuclockid): Remove code left unreachable by removal of
12248         conditionals.
12249         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12250         code unconditional.
12251         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12252         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12253         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12254         Make code unconditional.
12255         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12256         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12257         * sysdeps/unix/sysv/linux/clock_settime.c
12258         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12259         conditional code.
12260         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12261         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12263 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
12265         [BZ #14476]
12266         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12267         scripts/test-installation.pl.
12269         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12270         and $ld_so_version if it is set.
12272 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12274         [BZ #14516]
12275         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12276         failure if reading from procfs failed.
12277         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12279 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12281         * sysdeps/unix/sysv/linux/kernel-features.h
12282         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12283         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12284         Remove conditional code.
12285         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12286         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12287         Remove conditional code.
12288         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12289         * sysdeps/unix/sysv/linux/i386/fxstat.c
12290         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12291         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12292         * sysdeps/unix/sysv/linux/i386/fxstatat.c
12293         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12294         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12295         * sysdeps/unix/sysv/linux/i386/lxstat.c
12296         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12297         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12298         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12299         Remove conditional code.
12300         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12301         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12302         Remove conditional code.
12303         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12304         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12305         <kernel-features.h>.
12306         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12307         Remove.
12308         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12309         Remove conditional code.
12310         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12311         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12312         Remove conditional.
12314 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
12316         [BZ #5400]
12317         * NEWS: Add fixed bug number.
12319 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12321         [BZ #14519]
12322         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12323         underflowing exponent in case of negative sign.
12324         * stdlib/tst-strtod-round-data: Add more tests.
12325         * stdlib/tst-strtod-round.c (tests): Regenerated.
12327         [BZ #3479]
12328         * stdlib/strtod_l.c (NDIG): Remove.
12329         (HEXNDIG): Likewise.
12330         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12331         smallest representable value.
12332         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12333         lie within an exact representation of 1/2 ulp of the result.
12334         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12335         unconditionally.
12336         (TENS_P9_IDX): Define unconditionally.
12337         (TENS_P9_SIZE): Likewise.
12338         (TENS_P10_IDX): Likewise.
12339         (TENS_P10_SIZE): Likewise.
12340         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12341         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12342         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12343         entries for 10^2^13 and 10^2^14.
12344         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12345         (TENS_P13_IDX): Define.
12346         (TENS_P13_SIZE): Likewise.
12347         (TENS_P14_IDX): Likewise.
12348         (TENS_P14_SIZE): Likewise.
12349         (_fpioconst_pow10): Change array size to
12350         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
12351         unconditional.
12352         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12353         1024]: Add entries for 10^2^13 and 10^2^14.
12354         [LAST_POW10 > _LAST_POW10]: Remove #error.
12355         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12356         (_fpioconst_pow10): Change array size to
12357         FPIOCONST_POW10_ARRAY_SIZE.
12358         * stdlib/gen-fpioconst.c: New file.
12359         * stdlib/gen-tst-strtod-round.c: Likewise.
12360         * stdlib/tst-strtod-round-data: Likewise.
12361         * stdlib/tst-strtod-round.c: Likewise.
12362         * stdlib/Makefile (tests): Add tst-strtod-round.
12364         [BZ #14459]
12365         * stdlib/strtod_l.c: Include <stdint.h>.
12366         (NDEBUG): Do not define.
12367         (round_and_return): Change EXPONENT parameter to type intmax_t.
12368         Rearrange calculations to avoid internal overflow possibilities.
12369         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12370         Rearrange calculations to avoid internal overflow possibilities.
12371         Assert that number fits inside MPNSIZE limbs.
12372         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12373         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
12374         calculations and add assertions to avoid internal overflow
12375         possibilities.  Add casts to avoid signed/unsigned operations.
12376         * stdlib/tst-strtod-overflow.c: New file.
12377         * stdlib/Makefile (tests): Add tst-strtod-overflow.
12379 2012-08-25  Marek Polacek  <polacek@redhat.com>
12381         * time/time.h: Fix some typos in comments.
12383 2012-08-23  Roland McGrath  <roland@hack.frob.com>
12385         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12386         * posix/tst-rfc3484-2.c: Likewise.
12387         * posix/tst-rfc3484-3.c: Likewise.
12389 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
12391         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12392         (EF_ARM_ABI_FLOAT_HARD): Likewise.
12394 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
12396         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12397         #include of fxstatat64.c.
12399 2012-08-22  Roland McGrath  <roland@hack.frob.com>
12401         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12402         * shadow/getspent_r.c: Likewise.
12403         * shadow/getspnam.c: Likewise.
12404         * shadow/getspnam_r.c: Likewise.
12405         * gshadow/getsgent.c: Likewise.
12406         * gshadow/getsgent_r.c: Likewise.
12407         * gshadow/getsgnam.c: Likewise.
12408         * gshadow/getsgnam_r.c: Likewise.
12409         * inet/getnetbyad.c: Likewise.
12410         * inet/getnetbyad_r.c: Likewise.
12411         * inet/getnetbynm.c: Likewise.
12412         * inet/getnetbynm_r.c: Likewise.
12413         * inet/getnetent.c: Likewise.
12414         * inet/getnetent_r.c: Likewise.
12415         * inet/getproto.c: Likewise.
12416         * inet/getproto_r.c: Likewise.
12417         * inet/getprtent.c: Likewise.
12418         * inet/getprtent_r.c: Likewise.
12419         * inet/getprtname.c: Likewise.
12420         * inet/getprtname_r.c: Likewise.
12421         * inet/getrpcbyname.c: Likewise.
12422         * inet/getrpcbyname_r.c: Likewise.
12423         * inet/getrpcbynumber.c: Likewise.
12424         * inet/getrpcbynumber_r.c: Likewise.
12425         * inet/getrpcent.c: Likewise.
12426         * inet/getrpcent_r.c: Likewise.
12427         * inet/getaliasent.c: Likewise.
12428         * inet/getaliasent_r.c: Likewise.
12429         * inet/getaliasname.c: Likewise.
12430         * inet/getaliasname_r.c: Likewise.
12431         * nscd/getgrgid_r.c: Likewise.
12432         * nscd/getgrnam_r.c: Likewise.
12433         * nscd/gethstbyad_r.c: Likewise.
12434         * nscd/gethstbynm3_r.c: Likewise.
12435         * nscd/getpwnam_r.c: Likewise.
12436         * nscd/getpwuid_r.c: Likewise.
12437         * nscd/getsrvbynm_r.c: Likewise.
12438         * nscd/getsrvbypt_r.c: Likewise.
12439         * nscd/gai.c: Likewise.
12441         * configure.in (build_nscd): New substituted variable, set
12442         by --disable-build-nscd and defaults to $use_nscd.
12443         * configure: Regenerated.
12444         * config.make.in (build-nscd): New substituted variable.
12445         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12446         Change conditional to require [$(build-nscd) = yes] as well.
12447         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12449         [BZ# 13696]
12450         * configure.in (use_nscd): New substituted variable, set by
12451         --disable-nscd.  If enabled, define USE_NSCD.
12452         * configure: Regenerated.
12453         * config.h.in: Add USE_NSCD.
12454         * config.make.in (use-nscd): New substituted variable.
12455         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12456         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12457         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12458         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12459         (CFLAGS-getgrnam_r.c): Likewise.
12460         (CFLAGS-initgroups.c): Likewise.
12461         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12462         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12463         Variables removed.
12464         * inet/getnetgrent_r.c
12465         (nscd_setnetgrent): New function, broken out of ...
12466         (setnetgrent): ... here.  Call it.
12467         (innetgr): Conditionalize nscd bits on [USE_NSCD].
12468         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12469         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12470         * nscd/Makefile (routines, aux): Move definitions after include of
12471         Makeconfig.  Conditionalize on [$(use-nscd) != no].
12472         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12473         Conditionalize on [USE_NSCD].
12474         (is_nscd, nscd_init_cb): Likewise.
12475         (nss_load_library): Conditionalize init callback on [USE_NSCD].
12476         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12477         * nss/nss_db/db-init.c: Likewise.
12478         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12479         [USE_NSCD].
12480         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12481         (make_request): Use it.
12482         (cache_valid_p): New function.
12483         (__check_pf): Use it.
12484         * NEWS: Add item for --disable-nscd.
12486 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
12488         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12489         to support sed >= 4.2.1-20-ga9bf076.
12490         * configure: Regenerated.
12492 2012-08-22  Roland McGrath  <roland@hack.frob.com>
12494         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12495         Conditionalize whole body on [IREL].
12497 2012-08-22  Jeff Law <law@redhat.com>
12499         [BZ #14505]
12500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12501         if the family is PF_UNSPEC.
12503 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
12505         * Makerules (lib-version): Rename from V.
12506         (install-lib-nosubdir): Change V to lib-version.
12508 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
12510         [BZ #14252]
12511         * powerpc32/power6/wcschr.c: New file.
12512         * powerpc32/power6/wcscpy.c: New file.
12513         * powerpc32/power6/wcsrchr.c: New file.
12514         * powerpc64/power6/wcschr.c: New file.
12515         * powerpc64/power6/wcscpy.c: New file.
12516         * powerpc64/power6/wcsrchr.c: New file.
12518 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
12520         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12521         (two_way_short_needle): Use it.
12522         * string/strstr.c (AVAILABLE1_USES_J): Define.
12523         * string/strcasestr.c: Likewise.
12525         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12526         array references.
12527         * string/strcasestr.c (TOLOWER): Make side-effect safe.
12529         [BZ #11607]
12530         * NEWS: Add an entry.
12531         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12532         define their defaults.
12533         (two_way_short_needle): Detect end-of-string on-the-fly.
12534         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12535         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12536         * string/bug-strcasestr1.c: New test.
12537         * string/Makefile: Run it.
12539 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
12541         [BZ #11607]
12542         * string/str-two-way.h (two_way_short_needle): Optimize matching of
12543         the first character.
12545 2012-08-21  Roland McGrath  <roland@hack.frob.com>
12547         * csu/elf-init.c (__libc_csu_irel): Function removed.
12548         * csu/libc-start.c (apply_irel): New function.
12549         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12551 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
12553         * sysdeps/unix/sysv/linux/kernel-features.h
12554         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12555         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12556         <kernel-features.h>.
12557         [__NR_fadvise64_64]: Make code unconditional.
12558         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12559         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12560         !__NR_fadvise64_64)]: Likewise.
12561         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12562         !__NR_fadvise64_64))]: Likewise.
12563         [__NR_fadvise64]: Make code unconditional.
12564         [!__NR_fadvise64]: Remove conditional code.
12565         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12566         <kernel-features.h>.
12567         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12568         unconditional.
12569         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12570         conditional code.
12571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12572         not include <kernel-features.h>.
12573         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12574         unconditional.
12575         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12576         conditional code.
12577         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12578         include <kernel-features.h>.
12579         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12580         unconditional.
12581         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12582         conditional code.
12584 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
12586         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12587         slight instruction rearrangements per scrollpipe analysis.
12588         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12590 2012-08-20  Roland McGrath  <roland@hack.frob.com>
12592         * manual/syslog.texi (syslog; vsyslog, closelog):
12593         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12594         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12596         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12597         DSOCAPS to match condition on defining it.
12599 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
12601         * sysdeps/unix/sysv/linux/kernel-features.h
12602         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12604         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12605         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12607         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12608         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12610         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12611         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12613         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12614         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12616         * sysdeps/unix/sysv/linux/kernel-features.h
12617         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12618         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12619         unconditional.
12620         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12621         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12622         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12623         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12624         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12625         Make code unconditional.
12626         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12627         (__mmap64) [!__NR_mmap2]: Likewise.
12628         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12629         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12630         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12631         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12632         [__NR_mmap2]: Make code unconditional.
12633         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12634         (__mmap64) [!__NR_mmap2]: Likewise.
12636 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12638         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12640 2012-08-18  Andreas Jaeger  <aj@suse.de>
12642         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12644 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12646         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12647         * include/unistd.h (__have_sock_cloexec): Likewise.
12648         (__have_pipe2): Likewise.
12649         (__have_dup3): Likewise.
12651 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12653         [BZ #9685]
12654         * include/unistd.h (__have_pipe2): Change define into an extern int.
12655         (__have_dup3): Likewise.
12656         * socket/have_sock_cloexec.c: Include fcntl.h.
12657         (__have_pipe2): New variable.
12658         (__have_dup3): Likewise.
12660 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
12662         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12664 2012-08-17  Marek Polacek  <polacek@redhat.com>
12666         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12667         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12669 2012-08-17  Roland McGrath  <roland@hack.frob.com>
12671         * configure.in: Add AC_SUBST for sysheaders.
12672         * configure: Regenerated.
12673         * config.make.in (sysheaders): New substituted variable.
12675         * sysdeps/unix/mkfifo.c: Moved ...
12676         * sysdeps/posix/mkfifo.c: ... here.
12677         * sysdeps/unix/mkfifoat.c: Moved ...
12678         * sysdeps/posix/mkfifoat.c: ... here.
12680         * sysdeps/unix/utime.c: Moved ...
12681         * sysdeps/posix/utime.c: ... here.
12683         * sysdeps/unix/time.c: Moved ...
12684         * sysdeps/posix/time.c: ... here.
12685         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12686         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12688         * sysdeps/unix/nice.c: Moved ...
12689         * sysdeps/posix/nice.c: ... here.
12691         * sysdeps/unix/alarm.c: Moved ...
12692         * sysdeps/posix/alarm.c: ... here.
12694         * intl/Makefile ($(codeset_mo)): Depend on the input file.
12696 2012-08-17  Jeff Law <law@redhat.com>
12698         * intl/Makefile (codeset_mo): New variable.
12699         ($(codeset_mo)): New target.
12700         (tst-codeset.out): Depend on that.  Remove explicit rule.
12701         (tst-gettext3.out, tst-gettext5.out): Likewise.
12702         (LOCPATH-ENV, tst-codeset-ENV): New variables.
12703         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12704         * intl/tst-codeset.sh: Remove.
12705         * intl/tst-gettext3.sh: Likewise.
12706         * intl/tst-gettext5.sh: Likewise.
12708 2012-08-17  Roland McGrath  <roland@hack.frob.com>
12710         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
12711         * sysdeps/unix/syscalls.list: ... here.
12713         * sysdeps/posix/getaddrinfo.c
12714         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12715         (gaiconf_init, gaiconf_reload): Use them.
12716         [!_STATBUF_ST_NSEC]
12717         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12718         Define using time_t rather than struct timespec.
12720         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12721         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12722         Macros removed.
12723         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12724         [!NO_THREADS].
12725         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12726         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12727         Likewise.
12729         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12730         __libc_cleanup_push argument.
12732         * bits/param.h: New file.
12733         * misc/sys/param.h: New file.
12734         * include/sys/param.h: New file.
12735         * misc/Makefile (headers): Add bits/param.h.
12736         * sysdeps/generic/sys/param.h: File removed.
12737         * sysdeps/unix/sysv/linux/bits/param.h: New file.
12738         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12739         * sysdeps/mach/hurd/bits/param.h: New file.
12740         * sysdeps/mach/hurd/sys/param.h: File removed.
12742         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12743         last change.
12745         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12746         [_IO_MTSAFE_IO].
12747         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12748         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12749         New macros.
12751         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12752         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12753         rather than -D_IO_MTSAFE_IO conditionally.
12754         * stdio-common/Makefile (CPPFLAGS): Likewise.
12755         * wcsmbs/Makefile (CPPFLAGS): Likewise.
12756         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12757         Use $(libio-mtsafe).
12758         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12759         of -D_IO_MTSAFE_IO.
12760         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12761         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12762         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12763         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12764         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12765         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12766         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12767         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12768         (CFLAGS-fread_u_chk.c): Likewise.
12769         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12770         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12771         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12772         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12773         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12774         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12775         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12776         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12777         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12779         * libio/Makefile: Test [$(libc-reentrant) = yes]
12780         instead of [$(filter %REENTRANT, $(defines)) nonempty].
12782         * Makeconfig
12783         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12784         * sysdeps/pthread/configure: File removed.
12785         * sysdeps/pthread/Makeconfig: New file.
12786         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12787         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12789 2012-08-16  Gary Benson  <gbenson@redhat.com>
12791         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12792         unmapping the first object in a namespace.
12794 2012-08-16  Roland McGrath  <roland@hack.frob.com>
12796         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12797         (__internal_setnetgrent): ... this.  Add internal_function to
12798         definition.  Add libc_hidden_def.
12799         (setnetgrent): Update caller.
12800         (internal_endnetgrent): Renamed to ...
12801         (__internal_endnetgrent): ... this.  Add internal_function to
12802         definition.  Add libc_hidden_def.
12803         (endnetgrent): Update caller.
12804         (internal_getnetgrent_r): Renamed to ...
12805         (__internal_getnetgrent_r): ... this.  Add internal_function to
12806         definition.  Add libc_hidden_def.
12807         (__getnetgrent_r): Update caller.
12808         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
12810 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
12812         * stdlib/longlong.h: Update from GCC.
12814 2012-08-16  Roland McGrath  <roland@hack.frob.com>
12816         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12817         on _QL, which is set by umul_ppmm but never used.
12818         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12819         variables, which are set by GMP macros but never used.
12820         * stdio-common/_itowa.c (_itowa): Likewise.
12821         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12822         * stdlib/mod_1.c (mpn_mod_1): Likewise.
12824 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
12826         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12827         struct La_sh_regs is not constant.
12828         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12829         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12830         and struct La_sparc64_regs are not constant.
12832 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
12834         * sysdeps/unix/sysv/linux/kernel-features.h
12835         (__ASSUME_POSIX_TIMERS): Remove.
12836         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12837         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12838         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12839         Make code unconditional.
12840         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12841         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12842         Make code unconditional.
12843         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12844         * sysdeps/unix/sysv/linux/clock_nanosleep.c
12845         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12846         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12847         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12848         Make code unconditional.
12849         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12850         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12851         (__libc_missing_posix_timers): Remove.
12853 2012-08-15  Roland McGrath  <roland@hack.frob.com>
12855         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12856         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12858         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12860         * elf/dl-sym.c: Include <stdlib.h>.
12862         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12863         constants, which avoids warnings in 32-bit builds.
12865         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12866         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12868         * misc/lseek.c: File moved to ...
12869         * io/lseek.c: ... here.
12871         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12873         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12874         shifting LEN more than 31 bits at once.
12876 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12878         [BZ #14195]
12879         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12880         segmentation fault for a case of two empty input strings.
12881         * string/test-strncasecmp.c (check1): Renamed to...
12882         (bz12205): ...this.
12883         (bz14195): Add new testcase for two empty input strings and N > 0.
12884         (test_main): Call new testcase, adapt for renamed function.
12886 2012-08-15  Andreas Jaeger  <aj@suse.de>
12888         [BZ #14090]
12889         * crypt/md5test2.c: New test, based on test supplied by Serge
12890         Belyshev <belyshev@depni.sinp.msu.ru>.
12891         * crypt/Makefile (xtests): Add md5test-giant..
12892         * crypt/Makefile ($(objpfx)md5test-giant): Add.
12894 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
12896         [BZ #14090]
12897         * crypt/md5.c (md5_process_block): Don't assume the buffer
12898         length is less than 2**32.
12899         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12900         length is less than 2**64.
12902 2012-08-15  Roland McGrath  <roland@hack.frob.com>
12904         * string/str-two-way.h: Include <sys/param.h>.
12905         (MAX): Macro removed.
12907         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12908         Move #define and #undef of memmove to just before and after
12909         including <string.h>.
12911         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12912         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12913         and after including <string.h>.  Move declarations of
12914         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12915         to before #include "string/memmove.c".
12917         * include/dirent.h: Declare __getdirentries.
12919         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12920         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12922 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
12924         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12925         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12926         * sysdeps/i386/configure: Regenerated.
12927         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12928         STABS_CURRENT_FILE, and STABS_FUN.
12929         (END): Remove call to STABS_FUN_END.
12930         (STABS_CURRENT_FILE1): Delete.
12931         (STABS_CURRENT_FILE): Likewise.
12932         (STABS_FUN): Likewise.
12933         (STABS_FUN_END): Likewise.
12934         (STABS_FUN2): Likewise.
12935         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12936         * sysdeps/x86_64/configure: Regenerated.
12938 2012-08-14  Roland McGrath  <roland@hack.frob.com>
12940         * elf/dl-open.c: Include <atomic.h>.
12941         * elf/dl-lookup.c: Likewise.
12943 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
12945         * sysdeps/unix/sysv/linux/kernel-features.h
12946         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12947         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12948         unconditionally.
12949         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12950         unconditionally.
12951         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12952         condition on __ASSUME_CLONE_THREAD_FLAGS.
12954 2012-08-14  Andreas Jaeger  <aj@suse.de>
12956         * sysdeps/i386/fpu/libm-test-ulps: Update.
12958 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
12960         * include/atomic.h (atomic_exchange_and_add): Split into ...
12961         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12962         New atomic macros.
12964 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
12966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12968 2012-08-13  Jeff Law <law@redhat.com>
12970         * manual/stdio.texi (snprintf): Clarify handling of the trailing
12971         null byte in the output string.
12973 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
12975         * sysdeps/unix/sysv/linux/kernel-features.h
12976         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12977         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12978         (__ASSUME_ARG_MAX_STACK_BASED): Define.
12979         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12980         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12981         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
12982         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12984 2012-08-09  Jeff Law <law@redhat.com>
12986         [BZ #13939]
12987         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12988         When avoid_arena is set, don't retry in the that arena.  Pick the
12989         next one, whatever it might be.
12990         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12991         (arena_lock): Pass in new parameter to arena_get2.
12992         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12993         arena_get2.
12994         (__libc_malloc): Unify retrying after main arena failure with
12995         __libc_memalign version.
12996         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12998 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13000         [BZ #14166]
13001         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13002         to __redirect_strstr.
13003         (__strstr_sse42): Use typeof __redirect_strstr.
13004         (__strstr_ia32): Likewise.
13005         (__libc_strstr): New prototype.
13006         (strstr): Renamed to ...
13007         (__libc_strstr): This.
13008         (strstr): New strong alias of __libc_strstr.
13009         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13010         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13011         __redirect_time.
13012         Include <time.h>.
13013         (__libc_time): New prototype.
13014         (time_ifunc): Replace time with __libc_time.
13015         (time): New strong alias and hidden definition of __libc_time.
13016         (__GI_time): Remove strong alias.
13017         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13018         Include <stddef.h>.
13019         (memmove): Redefined to __redirect_memmove.
13020         (__memmove_sse2): Use typeof __redirect_memmove.
13021         (__memmove_ssse3): Likewise.
13022         (__memmove_ssse3_back): Likewise.
13023         (__libc_memmove): New prototype.
13024         (memmove): Renamed to ...
13025         (__libc_memmove): This.
13026         (memmove): New strong alias of __libc_memmove.
13028 2012-08-08  Mark Salter  <msalter@redhat.com>
13030         * elf/elf.h
13031         (R_MN10300_TLS_GD): Define.
13032         (R_MN10300_TLS_LD): Likewise.
13033         (R_MN10300_TLS_LDO): Likewise.
13034         (R_MN10300_TLS_GOTIE): Likewise.
13035         (R_MN10300_TLS_IE): Likewise.
13036         (R_MN10300_TLS_LE): Likewise.
13037         (R_MN10300_TLS_DTPMOD): Likewise.
13038         (R_MN10300_TLS_DTPOFF): Likewise.
13039         (R_MN10300_TLS_TPOFF): Likewise.
13040         (R_MN10300_SYM_DIFF): Likewise.
13041         (R_MN10300_ALIGN): Likewise.
13042         (R_MN10300_NUM): Update.
13044 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13046         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13047         Remove.
13049 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13051         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13053         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13054         sysdeps/unix -> sysdeps/posix move.
13055         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13057 2012-08-07      Allan McRae     <allan@archlinux.org>
13059         [BZ #14303]
13060         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13061         (SUNOS_CPP): Likewise.
13062         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13063         not found.
13064         (open_input): Call CPP using execvp.
13066 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13068         * sysdeps/unix/sysv/linux/kernel-features.h
13069         (__ASSUME_PROT_GROWSUPDOWN): Remove.
13070         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13071         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13072         (__ASSUME_WAITID_SYSCALL): Likewise.
13073         * sysdeps/unix/sysv/linux/dl-execstack.c
13074         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13075         code unconditional.
13076         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13077         conditional code.
13078         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13079         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13080         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13081         code.
13082         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13083         unconditional.
13084         [__ASSUME_WAITID_SYSCALL]: Likewise.
13085         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13087 2012-08-07  Roland McGrath  <roland@hack.frob.com>
13089         * sysdeps/unix/closedir.c: Renamed to ...
13090         * sysdeps/posix/closedir.c: ... here.
13091         * sysdeps/unix/dirfd.c: Renamed to ...
13092         * sysdeps/posix/dirfd.c: ... here.
13093         * sysdeps/unix/dirstream.h: Renamed to ...
13094         * sysdeps/posix/dirstream.h: ... here.
13095         * sysdeps/unix/fdopendir.c: Renamed to ...
13096         * sysdeps/posix/fdopendir.c: ... here.
13097         * sysdeps/unix/opendir.c: Renamed to ...
13098         * sysdeps/posix/opendir.c: ... here.
13099         * sysdeps/unix/readdir.c: Renamed to ...
13100         * sysdeps/posix/readdir.c: ... here.
13101         * sysdeps/unix/readdir_r.c: Renamed to ...
13102         * sysdeps/posix/readdir_r.c: ... here.
13103         * sysdeps/unix/rewinddir.c: Renamed to ...
13104         * sysdeps/posix/rewinddir.c: ... here.
13105         * sysdeps/unix/seekdir.c: Renamed to ...
13106         * sysdeps/posix/seekdir.c: ... here.
13107         * sysdeps/unix/telldir.c: Renamed to ...
13108         * sysdeps/posix/telldir.c: ... here.
13109         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13110         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13111         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13112         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13114         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13115         * bits/fcntl.h: ... here.
13117         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13118         not 0.
13119         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13120         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13121         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13122         (struct flock): Move l_start, l_len to the beginning.
13123         Use __pid_t for l_pid.
13124         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13125         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13126         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13127         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13128         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13129         [__USE_LARGEFILE64] (struct flock64): New type.
13130         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13132         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13133         * bits/dirent.h: ... here.
13135         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13136         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13138 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13140         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13141         Change from 2.6.0 to 2.6.16.
13142         * sysdeps/unix/sysv/linux/configure: Regenerated.
13143         * sysdeps/unix/sysv/linux/kernel-features.h
13144         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13145         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13146         version.
13147         (__ASSUME_UTIMES): Likewise.
13148         (__ASSUME_CLONE_STOPPED): Remove.
13149         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13150         architectures, not kernel version.
13151         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13152         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13153         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13154         (__ASSUME_WAITID_SYSCALL): Likewise.
13155         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13156         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13157         * README: State 2.6.16 as minimum Linux kernel version.  Do not
13158         refer to older versions.
13160 2012-08-06  Roland McGrath  <roland@hack.frob.com>
13162         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13163         Define alphasort64 as an alias.
13164         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13165         Define versionsort64 as an alias.
13166         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13167         Define scandir64 as an alias.
13168         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13169         Define scandirat64 as an alias.
13170         * dirent/alphasort64.c (alphasort64):
13171         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13172         * dirent/versionsort64.c: Likewise.
13173         * dirent/scandir64.c: Likewise.
13174         * dirent/scandirat64.c: Likewise.
13175         * sysdeps/wordsize-64/alphasort.c: File removed.
13176         * sysdeps/wordsize-64/alphasort64.c: File removed.
13177         * sysdeps/wordsize-64/scandir.c: File removed.
13178         * sysdeps/wordsize-64/scandir64.c: File removed.
13179         * sysdeps/wordsize-64/scandirat.c: File removed.
13180         * sysdeps/wordsize-64/scandirat64.c: File removed.
13181         * sysdeps/wordsize-64/versionsort.c: File removed.
13182         * sysdeps/wordsize-64/versionsort64.c: File removed.
13183         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13184         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13185         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13186         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13187         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13188         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13189         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13190         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13192         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13193         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13194         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13195         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13196         [defined __arch64__ || defined __sparcv9]
13197         (__INO_T_MATCHES_INO64_T): New macro.
13198         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13199         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13200         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13201         * sysdeps/unix/sysv/linux/bits/dirent.h
13202         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13203         (_DIRENT_MATCHES_DIRENT64): New macro.
13205         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13206         Define lockf64 as an alias.
13207         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13208         Define fseeko64 as an alias.
13209         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13210         Define ftello64 as an alias.
13211         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13212         Define _IO_fgetpos64 and fgetpos64 as aliases.
13213         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13214         Define _IO_fsetpos64 and fsetpos64 as aliases.
13215         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13216         Conditionalize body on this.
13217         * libio/fseeko64.c: Likewise.
13218         * libio/ftello64.c: Likewise.
13219         * libio/iofgetpos64.c: Likewise.
13220         * libio/iofsetpos64.c: Likewise.
13221         * sysdeps/wordsize-64/lockf.c: File removed.
13222         * sysdeps/wordsize-64/lockf64.c: File removed.
13223         * sysdeps/wordsize-64/fseeko.c: File removed.
13224         * sysdeps/wordsize-64/fseeko64.c: File removed.
13225         * sysdeps/wordsize-64/ftello.c: File removed.
13226         * sysdeps/wordsize-64/ftello64.c: File removed.
13227         * sysdeps/wordsize-64/iofgetpos.c: File removed.
13228         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13229         * sysdeps/wordsize-64/iofsetpos.c: File removed.
13230         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13231         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13232         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13233         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13234         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13235         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13236         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13237         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13238         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13239         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13240         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13242         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13243         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13244         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13245         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13246         [defined __arch64__ || defined __sparcv9]
13247         (__OFF_T_MATCHES_OFF64_T): New macro.
13248         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13249         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13250         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13251         (__OFF_T_MATCHES_OFF64_T): New macro.
13253 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13255         * stdlib/secure-getenv.c (__secure_getenv): Replace
13256         GLIBC_2_16 with GLIBC_2_17.
13258 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13260         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13261         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13263 2012-08-03  David S. Miller  <davem@davemloft.net>
13265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13267 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13269         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13270         Remove.
13271         (__ASSUME_CORRECT_SI_PID): Likewise.
13272         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13273         (__ASSUME_TMPFS_NAME): Likewise.
13274         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13275         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13276         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13277         (HAVE_AUX_SECURE): Make definition unconditional.
13278         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13279         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13281 2012-08-03  Roland McGrath  <roland@hack.frob.com>
13283         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13284         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13285         * sysdeps/mach/hurd/eloop-threshold.h: New file.
13286         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13287         __eloop_threshold instead of SYMLOOP_MAX.
13289         * sysdeps/generic/eloop-threshold.h: New file.
13290         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13291         of MAXSYMLINKS.
13292         * elf/chroot_canon.c (chroot_canon): Likewise.
13294 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13296         [BZ #13717]
13297         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13298         Change to 2.6.0 everywhere.
13299         * sysdeps/unix/sysv/linux/configure: Regenerated.
13300         * sysdeps/unix/sysv/linux/kernel-features.h
13301         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13302         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13303         kernel versions.
13304         (__ASSUME_POSIX_TIMERS): Define unconditionally.
13305         (__ASSUME_FUTEX_REQUEUE): Remove.
13306         (__ASSUME_STATFS64): Define unconditionally.
13307         (__ASSUME_AT_SECURE): Likewise.
13308         (__ASSUME_CORRECT_SI_PID): Likewise.
13309         (__ASSUME_TGKILL): Define without depending on kernel version for
13310         i386.
13311         (__ASSUME_UTIMES): Likewise.
13312         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13313         kernel version.
13314         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13315         (__ASSUME_TMPFS_NAME): Likewise.
13316         * README: Update reference to Linux kernel versions.
13318 2012-08-02  Marek Polacek  <polacek@redhat.com>
13320         [BZ# 14150]
13321         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
13322         libc_cv_asm_type_prefix with %.
13323         * configure: Regenerated.
13324         * include/libc-symbols.h: Remove comment about
13325         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13326         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13327         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13328         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13329         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13330         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13331         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13332         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13333         * elf/tst-unique2mod1.c: Likewise.
13334         * elf/tst-unique1mod2.c: Likewise.
13335         * elf/tst-unique1mod1.c: Likewise.
13336         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13337         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13338         Replace ASM_TYPE_DIRECTIVE with .type.
13339         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13340         * sysdeps/i386/sysdep.h: Likewise.
13341         * sysdeps/x86_64/sysdep.h: Likewise.
13342         * sysdeps/sh/sysdep.h: Likewise.
13343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13344         Do not define ASM_TYPE_DIRECTIVE.
13345         * sysdeps/powerpc/sysdep.h: Likewise.
13346         * sysdeps/powerpc/powerpc32/sysdep.h:
13347         Replace ASM_TYPE_DIRECTIVE with .type.
13348         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13349         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13350         * sysdeps/i386/fpu/e_powf.S: Likewise.
13351         * sysdeps/i386/fpu/e_expl.S: Likewise.
13352         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13353         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13354         * sysdeps/i386/fpu/e_pow.S: Likewise.
13355         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13356         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13357         * sysdeps/i386/fpu/s_expm1.S: Likewise.
13358         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13359         * sysdeps/i386/fpu/e_log2.S: Likewise.
13360         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13361         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13362         * sysdeps/i386/fpu/e_powl.S: Likewise.
13363         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13364         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13365         * sysdeps/i386/fpu/e_logl.S: Likewise.
13366         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13367         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13368         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13369         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13370         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13371         * sysdeps/i386/fpu/e_log.S: Likewise.
13372         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13373         * sysdeps/i386/fpu/e_logf.S: Likewise.
13374         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13375         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13376         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13377         * sysdeps/i386/fpu/e_log10.S: Likewise.
13378         * sysdeps/i386/fpu/s_frexp.S: Likewise.
13379         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13380         * sysdeps/i386/fpu/s_asinh.S: Likewise.
13381         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13382         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13383         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13384         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13385         * sysdeps/i386/i686/strtok.S: Likewise.
13386         * sysdeps/i386/i386-mcount.S: Likewise.
13387         * sysdeps/i386/strtok.S: Likewise.
13388         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13389         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13390         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13391         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13392         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13393         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13394         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13395         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13396         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13397         * sysdeps/x86_64/_mcount.S: Likewise.
13398         * sysdeps/x86_64/strtok.S: Likewise.
13399         * sysdeps/sh/_mcount.S: Likewise.
13401 2012-08-01  Roland McGrath  <roland@hack.frob.com>
13403         * libio/iofopen.c: Include <fcntl.h>.
13404         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13405         (_IO_fopen64, fopen64): Define as aliases.
13406         * libio/iofopen64.c: Include <fcntl.h>.
13407         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13408         Conditionalize body on this.
13409         * sysdeps/wordsize-64/iofopen.c: File removed.
13410         * sysdeps/wordsize-64/iofopen64.c: File removed.
13412 2012-08-01  Marek Polacek  <polacek@redhat.com>
13414         * libc/Makeconfig: Use elf in place of binfmt-subdir.
13415         Use dlfcn directly instead of a variable.
13416         (binfmt-subdir): Do not define.
13417         (dlfcn): Likewise.
13419 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
13421         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13422         Remove all definitions.
13423         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13424         <kernel-features.h>.
13425         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13426         (miss_F_GETOWN_EX): Remove all definitions.
13427         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13428         macro definition.
13429         [!__ASSUME_FCNTL64]: Remove conditional code.
13430         [__ASSUME_FCNTL64]: Make code unconditional.
13431         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13432         <kernel-features.h>.
13433         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13434         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13435         (lockf64) [__NR_fcntl64]: Make code unconditional.
13436         (lockf64) [__ASSUME_FCNTL64]: Likewise.
13438         * sysdeps/unix/sysv/linux/kernel-features.h
13439         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13440         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13441         Make code unconditional.
13442         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13443         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13445         [__NR_vfork]: Make code unconditional.
13446         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13447         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13449         [__NR_vfork]: Make code unconditional.
13450         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13451         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13453 2012-08-01  Roland McGrath  <roland@hack.frob.com>
13455         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13456         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13458         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13459         Define mkstemp64 as an alias.
13460         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13461         Define mkstemps64 as an alias.
13462         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13463         Define mkostemp64 as an alias.
13464         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13465         Define mkostemps64 as an alias.
13466         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13467         Conditionalize body on this.
13468         * misc/mkostemp64.c: Likewise.
13469         * misc/mkostemps64.c: Likewise.
13470         * misc/mkstemps64.c: Likewise.
13471         * sysdeps/wordsize-64/mkstemp64.c: File removed.
13472         * sysdeps/wordsize-64/mkostemp64.c: File removed.
13473         * sysdeps/wordsize-64/mkostemp.c: File removed.
13474         * sysdeps/wordsize-64/mkstemp.c: File removed.
13475         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13476         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13477         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13478         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13480         [BZ #14138]
13481         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13482         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13483         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13484         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13486         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13487         compat_symbol macros from <shlib-compat.h> rather than the underlying
13488         default_symbol_version and symbol_version macros, so that DEFAULT
13489         lines in shlib-versions are respected.
13490         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13492 2012-08-01  Florian Weimer  <fweimer@redhat.com>
13494         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13495         Declare with warn_unused_result.
13496         (setgid, setregid, setegid, setresgid): Likewise.
13497         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13498         Likewise.
13499         * WUR-REPORT: Remove set*id functions.
13501 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
13503         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13505 2012-07-31  Roland McGrath  <roland@hack.frob.com>
13507         [BZ #10191]
13508         * include/sys/socket.h (__libc_accept, __libc_accept4):
13509         Add attribute_hidden.
13510         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13512         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13513         use of PTR_MANGLE.
13514         * inet/getnetgrent_r.c (setup): Likewise.
13516         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13518 2012-07-31  David S. Miller  <davem@davemloft.net>
13520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13522 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
13524         [BZ #13629]
13525         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13526         value between 1.0 and 2.0 and smaller part has absolute value less
13527         than 1.0.
13528         * math/s_clog10.c (__clog10): Likewise.
13529         * math/s_clog10f.c (__clog10f): Likewise.
13530         * math/s_clog10l.c (__clog10l): Likewise.
13531         * math/s_clogf.c (__clogf): Likewise.
13532         * math/s_clogl.c (__clogl): Likewise.
13533         * math/libm-test.inc (clog_test): Add more tests.
13534         (clog10_test): Likewise.
13535         * sysdeps/i386/fpu/libm-test-ulps: Update.
13536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13538 2012-07-31  Florian Weimer  <fweimer@redhat.com>
13540         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13541         Exit with zero in case no suitable GID is found, and write a
13542         message to standard error.
13544 2012-07-30  Roland McGrath  <roland@hack.frob.com>
13546         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13547         rather than to 1.
13548         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13549         (MAXPATHLEN): Removed.
13550         (NOGROUP, NODEV): New macros.
13551         (setbit, clrbit, isset, isclr): New macros.
13552         (howmany, roundup, powerof2): New macros.
13553         (DEV_BSIZE): New macro.
13555         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13556         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13558         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13559         definition on [!__NO_LONG_DOUBLE_MATH].
13561         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13562         PTR_MANGLE and PTR_DEMANGLE.
13564         * socket/accept4.c (accept4): Rename to __libc_accept4.
13565         Define accept4 as a weak alias.
13567         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13568         on [_DIRENT_HAVE_D_TYPE].
13569         * io/ftw.c (ftw_dir): Likewise.
13571         * io/xmknod.c (__xmknod): Don't check PATH for being null.
13573         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13575         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13576         Use the BSD numbers rather than the arbitrary ones we had.
13577         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13578         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13579         (SIGXCPU, SIGXFSZ): New macros.
13580         (_NSIG): Now 32.
13582         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13583         initializer on [_LIBC_REENTRANT].
13585         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13586         definitions inside [_POSIX_MAPPED_FILES].
13588         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13590         * dirent/opendir.c: Include <fcntl.h>.
13592         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13593         (__libc_getspecific): Likewise.
13594         (__libc_key_create): Likewise.
13596         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13597         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13598         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13599         (tmpfile64): Define as alias.
13600         * sysdeps/wordsize-64/tmpfile.c: File removed.
13601         * sysdeps/wordsize-64/tmpfile64.c: File removed.
13602         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13603         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13605         * stdio-common/vfscanf.c: Include <stdbool.h>.
13606         * nss/makedb.c: Likewise.
13607         * stdio-common/_i18n_number.h: Likewise.
13608         * argp/argp-help.c: Likewise.
13609         * posix/wordexp.c: Likewise.
13610         * sysdeps/posix/spawni.c: Likewise.
13611         * nss/nss_files/files-initgroups.c: Likewise.
13612         * stdio-common/reg-modifier.c: Include <stdlib.h>.
13613         * nss/nss_files/files-initgroups.c: Likewise.
13614         * nss/nss_db/db-netgrp.c: Likewise.
13615         * nss/nss_db/db-initgroups.c: Likewise.
13616         * io/fchmodat.c: Include <sys/stat.h>.
13618         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13619         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13621         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13622         [HAVE_MMAP].
13624         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13625         Add multiple inclusion protection.
13627 2012-07-27  David S. Miller  <davem@davemloft.net>
13629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13631 2012-07-27  Gary Benson  <gbenson@redhat.com>
13633         [BZ #14298]
13634         * elf/rtld.c: Include <stap-probe.h>.
13635         (dl_main): Added static probes "init_start" and "init_complete".
13636         * elf/dl-load.c: Include <stap-probe.h>.
13637         (lose): Take new parameter "nsid".
13638         Added static probe "map_failed".
13639         (_dl_map_object_from_fd): Pass namespace id to lose.
13640         Added static probe "map_start".
13641         (open_verify): Pass namespace id to lose.
13642         * elf/dl-open.c: Include <stap-probe.h>.
13643         (dl_open_worker) Added static probes "map_complete", "reloc_start"
13644         and "reloc_complete".
13645         * elf/dl-close.c: Include <stap-probe.h>.
13646         (_dl_close_worker): Added static probes "unmap_start" and
13647         "unmap_complete".
13648         * elf/rtld-debugger-interface.txt: New file documenting the above.
13650 2012-07-26  Roland McGrath  <roland@hack.frob.com>
13652         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13653         rather than a string variable.
13654         * sunrpc/rpc_main.c (h_output): Likewise.
13655         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13657 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
13659         * inet/check_native.c: New file.
13661 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
13663         [BZ #13629]
13664         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13665         if larger part has absolute value 1.0.
13666         * math/s_clog10.c (__clog10): Likewise.
13667         * math/s_clog10f.c (__clog10f): Likewise.
13668         * math/s_clog10l.c (__clog10l): Likewise.
13669         * math/s_clogf.c (__clogf): Likewise.
13670         * math/s_clogl.c (__clogl): Likewise.
13671         * math/libm-test.inc (clog_test): Add more tests.
13672         (clog10_test): Likewise.
13673         * sysdeps/i386/fpu/libm-test-ulps: Update.
13674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13676         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13677         (pltexit): Likewise.
13678         (La_regs): Likewise.
13679         (La_retval): Likewise.
13680         (int_retval): Likewise.
13681         Update #error for removed macros to refer only to definitions in
13682         tst-audit.h.
13683         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13684         macro.
13685         (pltexit): Likewise.
13686         (La_regs): Likewise.
13687         (La_retval): Likewise.
13688         (int_retval): Likewise.
13689         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13690         macro.
13691         (pltexit): Likewise.
13692         (La_regs): Likewise.
13693         (La_retval): Likewise.
13694         (int_retval): Likewise.
13695         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13696         macro.
13697         (pltexit): Likewise.
13698         (La_regs): Likewise.
13699         (La_retval): Likewise.
13700         (int_retval): Likewise.
13701         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13702         macro.
13703         (pltexit): Likewise.
13704         (La_regs): Likewise.
13705         (La_retval): Likewise.
13706         (int_retval): Likewise.
13707         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13708         macro.
13709         (pltexit): Likewise.
13710         (La_regs): Likewise.
13711         (La_retval): Likewise.
13712         (int_retval): Likewise.
13713         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13714         macro.
13715         (pltexit): Likewise.
13716         (La_regs): Likewise.
13717         (La_retval): Likewise.
13718         (int_retval): Likewise.
13719         * sysdeps/generic/tst-audit.h: Update comment to refer only to
13720         macro definitions in tst-audit.h.
13721         * sysdeps/i386/tst-audit.h: New file.
13722         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13723         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13724         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13725         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13726         * sysdeps/sh/tst-audit.h: Likewise.
13727         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13728         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13729         * sysdeps/x86_64/tst-audit.h: Likewise.
13731 2012-07-26  Andreas Jaeger  <aj@suse.de>
13733         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13734         ptrace.
13736         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13737         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13738         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13739         PTRACE_O_MASK.
13740         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13741         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13742         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13744         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13745         value.
13747         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13748         _sigsys.
13749         (si_call_addr, si_syscall, si_arch): Define new macro.
13750         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13751         _sigsys.
13752         (si_call_addr, si_syscall, si_arch): Define new marcro.
13753         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13754         _sigsys.
13755         (si_call_addr, si_syscall, si_arch): Define new macro.
13756         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13757         _sigsys.
13758         (si_call_addr, si_syscall, si_arch): Define new macro.
13760 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
13762         [BZ #13717]
13763         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13764         Change to 2.4.21 where previously 2.4.1.
13765         * sysdeps/unix/sysv/linux/configure: Regenerated.
13766         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13767         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13768         Linux kernel version.
13769         (__ASSUME_STD_AUXV): Remove.
13770         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13771         kernel version.
13772         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13773         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13774         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13775         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13776         (__ASSUME_NETLINK_SUPPORT): Likewise.
13777         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13778         (__no_netlink_support): Remove conditional definition.
13779         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13780         Remove.
13781         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13782         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13783         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13784         (if_nameindex_ioctl): Remove.
13785         (if_nameindex_netlink): Do not handle __no_netlink_support.
13786         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13787         code.
13788         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13789         Remove conditional code.
13790         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13791         code.
13792         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13793         unconditional.
13794         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13795         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13796         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13797         Remove.
13798         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13799         [!__ASSUME_STD_AUXV]: Remove conditional code.
13800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13801         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13802         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13804         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13805         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13806         code.
13807         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13809         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13810         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13811         conditional code.
13812         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13814         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13815         code.
13816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13817         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13818         conditional code.
13819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13820         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13821         code unconditional.
13822         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13823         conditional code.
13824         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13825         unconditional.
13826         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13827         conditional code.
13828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13829         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13830         unconditional.
13831         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13832         conditional code.
13833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13834         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13835         code unconditional.
13836         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13837         conditional code.
13838         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13839         unconditional.
13840         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13841         conditional code.
13842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13843         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13844         code unconditional.
13845         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13846         conditional code.
13847         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13848         unconditional.
13849         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13850         conditional code.
13852 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
13854         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13855         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13856         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13857         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13858         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13859         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13860         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13861         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13862         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13863         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13864         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13865         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13866         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13867         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13868         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13869         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13870         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13871         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13872         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13874         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13875         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13876         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13878 2012-07-25  Florian Weimer  <fweimer@redhat.com>
13880         * Versions.def: Add GLIBC_2.17.
13881         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13882         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13883         Introduce __libc_secure_getenv.
13884         * stdlib/Versions (2.17): Add secure_getenv
13885         (GLIBC_PRIVATE): Add __libc_secure_getenv.
13886         * stdlib/secure-getenv.c: Rename __secure_getenv to
13887         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
13888         symbol __secure_getenv for GLIBC_2.0.
13889         * stdlib/tst-secure-getenv.c: New.
13890         * stdlib/Makefile (tests): Add testcase.
13891         * manual/startup.texi (Environment Access): Document
13892         secure_getenv.
13893         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13894         __libc_secure_getenv.
13895         * inet/ruserpass.c (ruserpass): Likewise.
13896         * malloc/mtrace.c (mtrace): Likewise.
13897         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13898         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13899         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13900         * sysdeps/posix/tempname.c: Likewise.  Evaluate
13901         HAVE_SECURE_GETENV.
13902         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13903         __secure_getenv to __libc_secure_getenv.
13904         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13906         Likewise.
13907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13908         Likewise.
13909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13911         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13917 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
13919         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13920         (struct La_i86_retval): Likewise.
13921         (struct La_x86_64_regs): Likewise.
13922         (struct La_x86_64_retval): Likewise.
13923         (struct La_x32_regs): Likewise.
13924         (struct La_x32_retval): Likewise.
13925         (struct La_ppc32_regs): Likewise.
13926         (struct La_ppc32_retval): Likewise.
13927         (struct La_ppc64_regs): Likewise.
13928         (struct La_ppc64_retval): Likewise.
13929         (struct La_sh_regs): Likewise.
13930         (struct La_sh_retval): Likewise.
13931         (struct La_s390_32_regs): Likewise.
13932         (struct La_s390_32_retval): Likewise.
13933         (struct La_s390_64_regs): Likewise.
13934         (struct La_s390_64_retval): Likewise.
13935         (struct La_sparc32_regs): Likewise.
13936         (struct La_sparc32_retval): Likewise.
13937         (struct La_sparc64_regs): Likewise.
13938         (struct La_sparc64_retval): Likewise.
13939         (struct audit_ifaces): Remove architecture-specific pltenter and
13940         pltexit members.
13941         * sysdeps/i386/ldsodefs.h: New file.
13942         * sysdeps/powerpc/ldsodefs.h: Likewise.
13943         * sysdeps/s390/ldsodefs.h: Likewise.
13944         * sysdeps/sh/ldsodefs.h: Likewise.
13945         * sysdeps/sparc/ldsodefs.h: Likewise.
13946         * sysdeps/x86_64/ldsodefs.h: Likewise.
13948 2012-07-25  Marek Polacek  <polacek@redhat.com>
13950         [BZ #6808]
13951         * math/libm-test.inc (yn_test): Add another test.
13952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13953         to ERANGE when the result is +-Inf.
13954         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13955         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13956         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13957         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13959 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
13961         * conform/data/time.h-data (NULL): Use macro-constant.  Require
13962         equal to 0.
13963         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
13964         clock_t.
13965         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
13967 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
13969         * configure.in <sysdeps resolving>: Correct printing
13970         Implies_before.
13971         * configure: Regenerate.
13973 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
13975         * math/w_ilogb.c: Include <limits.h>.
13976         * math/w_ilogbl.c: Likewise.
13978 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
13980         * manual/lang.texi (__va_copy): Document primarily as ISO C99
13981         va_copy.  Document allowing for unavailable va_copy only as
13982         pre-C99 compatibility.
13983         * manual/string.texi (Copying and Concatenation): Use va_copy
13984         instead of __va_copy in concat example.
13986 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
13988         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13989         (__sendto): Use create_address_port.  Initialize APORT and deallocate
13990         it if not null.
13992         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13993         with O_NOLINK passed to __file_name_lookup.
13995         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13996         with O_NOLINK passed to __file_name_lookup.
13998         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13999         negative N or less than NGIDS.
14001         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14002         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14003         enough.  Use memcpy instead of strncpy.
14005 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14007         * elf/Makefile (check-data): Remove.
14008         (localplt.data): New vpath directive.
14009         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14010         instead of $(check-data).
14011         * scripts/data/localplt-generic.data: Move to ...
14012         * sysdeps/generic/localplt.data: ... here.
14013         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14014         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14015         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14017         ... here.
14018         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14020         ... here.
14021         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14023         ... here.
14024         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14026         ... here.
14027         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14029         ... here.
14030         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14032         ... here.
14034 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14036         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14037         PPC32 and PPC64 files.
14038         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14039         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14041 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14043         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14044         __makecontext_ret to ...
14045         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14046         ... here and call exit if uc_link is NULL.  New file.
14047         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14048         __makecontext_ret.S.
14049         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14050         __makecontext_ret to ...
14051         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14052         ... here and call exit if uc_link is NULL.  New file.
14053         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14054         __makecontext_ret.S.
14056 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14058         * elf/elf.h (R_390_IRELATIVE): New definition.
14059         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14060         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
14061         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14062         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14063         (elf_machine_lazy_rel): Likewise.
14064         * sysdeps/s390/dl-irel.h: New file.
14065         * sysdeps/s390/s390-64/memcpy.S: New asm code.
14066         * sysdeps/s390/s390-64/memset.S: New asm code.
14067         * sysdeps/s390/s390-64/memcmp.S: New asm code.
14068         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14069         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14070         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14071         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14072         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14073         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14074         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14075         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14076         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14077         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14078         * sysdeps/s390/s390-32/memcpy.S: New asm code.
14079         * sysdeps/s390/s390-32/memset.S: New asm code.
14080         * sysdeps/s390/s390-32/memcmp.S: New asm code.
14082 2012-07-17  Marek Polacek  <polacek@redhat.com>
14084         [BZ #14349]
14085         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14086         * sysdeps/s390/s390-64/configure.in: Likewise.
14087         * sysdeps/sparc/configure.in: Likewise.
14088         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14089         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14090         * sysdeps/i386/configure.in: Likewise.
14091         * sysdeps/x86_64/configure.in: Likewise.
14092         * sysdeps/sh/configure.in: Likewise.
14093         * sysdeps/s390/s390-32/configure: Regenerated.
14094         * sysdeps/s390/s390-64/configure: Likewise.
14095         * sysdeps/x86_64/configure: Likewise.
14096         * sysdeps/sh/configure: Likewise.
14097         * sysdeps/powerpc/powerpc64/configure: Likewise.
14098         * sysdeps/powerpc/powerpc32/configure: Likewise.
14099         * sysdeps/sparc/configure: Likwise.
14100         * sysdeps/i386/configure: Likewise.
14102         * elf/dl-open.c: Comment fixes.
14104 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
14106         * Makefile [CXX] (check-data): Remove.
14107         [CXX] (c++-types.data): New vpath directive.
14108         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14109         vpath.  Do not allow for C++ type data being missing.
14110         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14111         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14112         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14113         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14114         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14115         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14116         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14118         ... here.
14119         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14121         ... here.
14122         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14124         ... here.
14125         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14127         ... here.
14128         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14130         ... here.
14131         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14133         ... here.
14134         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14136         ... here.
14137         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14140         * elf/tls-macros.h (TLS_LE): Move architecture-specific
14141         definitions to architecture-specific files.
14142         (TLS_IE): Likewise.
14143         (TLS_LD): Likewise.
14144         (TLS_GD): Likewise.
14145         * sysdeps/i386/tls-macros.h: New file.
14146         * sysdeps/powerpc/tls-macros.h: Likewise.
14147         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14148         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14149         * sysdeps/sh/tls-macros.h: Likewise.
14150         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14151         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14152         * sysdeps/x86_64/tls-macros.h: Likewise.
14154 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14156         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14157         zero value for regular exit case.
14159         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14160         (__start_context): Preserve zero value for regular exit case.
14162 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14163             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14165         * manual/setjmp.texi (setcontext): Clarify normal process
14166         termination when uc_link is the null pointer.
14167         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14168         exit call.
14170 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
14172         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14173         preprocessor.  Test for each exception mask separately.
14175 2012-07-16  Andreas Jaeger  <aj@suse.de>
14177         * po/ru.po: Update from translation team.
14179 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
14181         * conform/data/string.h-data (NULL): Use macro-constant.  Require
14182         equal to 0.
14183         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14184         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14185         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14186         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14187         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14189 2012-07-13  Andreas Jaeger  <aj@suse.de>
14191         * po/fr.po: Update from translation team.
14193 2012-07-12  Marek Polacek  <polacek@redhat.com>
14195         [BZ #14173]
14196         * math/libm-test.inc (yn_test): Add test for BZ #14173.
14197         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14198         loop condition.
14200 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
14202         [BZ #13717]
14203         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14204         Change to 2.4.1 where previously 2.4.0.
14205         * sysdeps/unix/sysv/linux/configure: Regenerated.
14206         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14207         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14208         version.
14209         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14210         (__ASSUME_AT_CLKTCK): Remove.
14211         (__ASSUME_AT_PAGESIZE): Likewise.
14212         (__ASSUME_AT_XID): Likewise.
14213         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14214         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14215         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14216         unconditionally.
14217         (HAVE_AUX_PAGESIZE): Likewise.
14218         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14219         [__ASSUME_AT_CLKTCK]: Make code unconditional.
14220         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14222 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
14224         [BZ #14307]
14225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14226         the temporary buffer used to invoke __gethostbyname2_r,
14227         __gethostbyaddr_r and gethostbyname4_r to make room for struct
14228         host_data / struct gaih_addrtuple.
14229         * resolv/nss_dns/dns-host.c (global scope): Move definition of
14230         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14231         header file nss/nsswitch.h.
14232         * nss/nsswitch.h (global scope): Add definition of implementation
14233         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14234         resolv/nss_dns/dns-host.c).
14236 2012-07-11  Andreas Jaeger  <aj@suse.de>
14238         * po/fr.po: Update from translation team.
14240         * po/sv.po: Update from translation team
14241         * po/fr.po: Another update from translation team.
14243 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14245         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14246         for subnormals or multiply small sinh result by itself.
14247         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14250 2012-07-11  David S. Miller  <davem@davemloft.net>
14252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14254 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
14256         [BZ #14347]
14257         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14258         (INTERNAL_MARK): Shift it here.
14260 2012-07-10  Marek Polacek  <polacek@redhat.com>
14262         [BZ #14151]
14263         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
14264         libc_cv_asm_global_directive with .globl.
14265         * configure: Regenerated.
14266         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14267         with .globl.
14268         * sysdeps/i386/configure: Regenerated.
14269         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14270         with .globl.
14271         * sysdeps/x86_64/configure: Regenerated.
14272         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14273         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14274         * elf/tst-unique2mod2.c: Likewise.
14275         * elf/tst-unique2mod1.c: Likewise.
14276         * elf/tst-unique1mod2.c: Likewise.
14277         * elf/tst-unique1mod1.c: Likewise.
14278         * sysdeps/s390/s390-32/sysdep.h: Likewise.
14279         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14280         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14281         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14282         * sysdeps/mach/sysdep.h: Likewise.
14283         * sysdeps/i386/sysdep.h: Likewise.
14284         * sysdeps/i386/i386-mcount.S: Likewise.
14285         * sysdeps/x86_64/_mcount.S: Likewise.
14286         * sysdeps/x86_64/sysdep.h: Likewise.
14287         * sysdeps/sh/_mcount.S: Likewise.
14288         * sysdeps/sh/sysdep.h: Likewise.
14289         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14290         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14291         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14292         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14293         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14294         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14295         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14296         * locale/localeinfo.h: Likewise.
14297         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14298         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14300 2012-07-09  Roland McGrath  <roland@hack.frob.com>
14302         [BZ #14336]
14303         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14304         system".
14305         * manual/message.texi (The Uniforum approach): Likewise.
14306         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14307         (glibc iconv Implementation): Likewise.
14309 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
14311         [BZ #14337]
14312         * math/s_clog.c (__clog): Avoid scaling a value down where that
14313         could result in underflow.
14314         * math/s_clog10.c (__clog10): Likewise.
14315         * math/s_clog10f.c (__clog10f): Likewise.
14316         * math/s_clog10l.c (__clog10l): Likewise.
14317         * math/s_clogf.c (__clogf): Likewise.
14318         * math/s_clogl.c (__clogl): Likewise.
14319         * math/libm-test.inc (clog_test): Add more tests.
14320         (clog10_test): Likewise.
14321         * sysdeps/i386/fpu/libm-test-ulps: Update.
14322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14324 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
14326         [BZ #14283]
14327         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14328         by 7 not 8 to examine high bit of fractional part.
14330         [BZ #14042]
14331         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14332         for call to __mcount_internal.
14333         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14334         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14335         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14337 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
14339         [BZ #14154]
14340         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14341         approximation for values within 0x1p-13f of an odd multiple of
14342         pi/4.
14343         * math/libm-test.inc (tan_test): Do not allow spurious underflow
14344         exception.  Add more tests.
14345         * sysdeps/i386/fpu/libm-test-ulps: Update.
14347         [BZ #6778]
14348         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14349         inputs and return -1 for them.  Do not check for +Inf in case not
14350         reachable for +Inf.
14351         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14352         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14353         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14354         and return -1 for them.  Do not check for +Inf in case not
14355         reachable for +Inf.
14356         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14357         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         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
14362         spurious underflow.
14363         * sysdeps/i386/fpu/libm-test-ulps: Update.
14364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14366 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
14368         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14370 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
14372         [BZ #14157]
14373         [BZ #14331]
14374         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14375         could result in spurious underflow.  Scale down values above
14376         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14377         * math/s_csqrtf.c (__csqrtf): Likewise.
14378         * math/s_csqrtl.c (__csqrtl): Likewise.
14379         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
14380         spurious underflow.
14381         * sysdeps/i386/fpu/libm-test-ulps: Update.
14382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14384 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
14386         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14387         xopen-msg.sed.
14388         * catgets/xopen-msg.awk: New file.
14389         * catgets/xopen-msg.sed: Removed.
14391         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14392         po2text.sed.
14393         * intl/po2test.awk: New file.
14394         * intl/po2test.sed: Removed.
14396 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
14398         [BZ #14328]
14399         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14400         or multiply small sinh result by itself.
14401         * math/s_ctanf.c (__ctanf): Likewise.
14402         * math/s_ctanh.c (__ctanh): Likewise.
14403         * math/s_ctanhf.c (__ctanhf): Likewise.
14404         * math/s_ctanhl.c (__ctanhl): Likewise.
14405         * math/s_ctanl.c (__ctanl): Likewise.
14406         * math/libm-test.inc (ctan_test_tonearest): New function.
14407         (ctan_test_towardzero): Likewise.
14408         (ctan_test_downward): Likewise.
14409         (ctan_test_upward): Likewise.
14410         (ctanh_test_tonearest): Likewise.
14411         (ctanh_test_towardzero): Likewise.
14412         (ctanh_test_downward): Likewise.
14413         (ctanh_test_upward): Likewise.
14414         (main): Call these new functions.
14415         * sysdeps/i386/fpu/libm-test-ulps: Update.
14416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14418 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
14420         * .gitignore: Delete /ports entry.
14422 2012-07-03  Andreas Jaeger  <aj@suse.de>
14424         * po/bg.po: Update from translation team.
14425         * po/cs.po: Likewise.
14426         * po/de.po: Likewise.
14427         * po/hr.po: Likewise.
14428         * po/nl.pl: Likewise.
14429         * po/pl.po: Likewise.
14430         * po/vi.po: Likewise.
14432 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
14434         * Makeconfig [!+link] (+link-before-libc): New variable.
14435         [!+link] (+link-after-libc): Likewise.
14436         [!+link] (+link-tests): Likewise.
14437         [!+link] (+link): Define in terms of $(+link-before-libc) and
14438         $(+link-after-libc).
14439         [!+link-static] (+link-static-before-libc): New variable.
14440         [!+link-static] (+link-static-after-libc): Likewise.
14441         [!+link-static] (+link-static-tests): Likewise.
14442         [!+link-static] (+link-static): Define in terms of
14443         $(+link-static-before-libc) and $(+link-static-after-libc).
14444         [build-shared] (link-libc-before-gnulib): New variable.
14445         [build-shared] (link-libc-tests): Likewise.
14446         [build-shared] (link-libc): Define in terms of
14447         $(link-libc-before-gnulib).
14448         [!build-shared] (link-libc-tests): New variable.
14449         (link-libc-static-tests): New variable.
14450         [!gnulib] (gnulib-arch): New variable.
14451         [!gnulib] (gnulib-tests): Likewise.
14452         [!gnulib] (static-gnulib-arch): Likewise.
14453         [!gnulib] (static-gnulib-tests): Likewise.
14454         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
14455         Define with "=" instead of ":=".
14456         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
14457         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
14458         * Rules (binaries-all-notests): New variable.
14459         (binaries-all-tests): Likewise.
14460         (binaries-static-notests): Likewise.
14461         (binaries-static-tests): Likewise.
14462         (binaries-all): Define using $(binaries-all-notests) and
14463         $(binaries-all-tests).
14464         (binaries-static): Define using $(binaries-static-notests) and
14465         $(binaries-static-tests).
14466         (binaries-shared-tests): New variable.
14467         (binaries-shared-notests): Likewise.
14468         (binaries-shared): Remove variable.
14469         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14470         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14471         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14472         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14473         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14474         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14475         * elf/Makefile (sln-modules): New variable.
14476         (extra-objs): Add $(sln-modules:=.o).
14477         (ldconfig-modules): Add static-stubs.
14478         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14479         * elf/static-stubs.c: New file.
14481         [BZ #14283]
14482         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14483         by 7 not 8 to examine high bit of fractional part.  Use volatile
14484         variables when splitting into final array of floats if
14485         __FLT_EVAL_METHOD__ != 0.
14486         * math/libm-test.inc (cos_test): Add another test.
14487         (sin_test): Likewise.
14488         * sysdeps/i386/fpu/libm-test-ulps: Update.
14490         [BZ #14273]
14491         * math/libm-test.inc (cosh_test): Add more tests.
14493         * version.h (RELEASE): Set to "development".
14494         (VERSION): Set to "2.16.90".
14496 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
14498         * NEWS: Update copyright. Remove last-updated date.
14499         Mention math library bug fixes and timezone data changes.
14500         * README: Mention GNU/Hurd, x32, and HPPA support status.
14502 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
14504         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14506 2012-06-27  Andreas Jaeger  <aj@suse.de>
14508         * manual/contrib.texi (Contributors): Add Samuel Thibault.
14510 2012-06-25  Andreas Jaeger  <aj@suse.de>
14512         * sysdeps/s390/fpu/libm-test-ulps: Update.
14514 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
14515             Thomas Schwinge  <thomas@codesourcery.com>
14517         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14518         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14519         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14520         fanotify_mark.
14522 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
14524         * sysdeps/mach/start.c: Remove file.
14525         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14526         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14527         * sysdeps/sh/init-first.c: Likewise.
14529         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14530         registers for frame unwinding purposes, add CFI directives.
14531         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14532         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14533         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14534         Likewise.
14536         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14537         __fortify_fail returning.
14538         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14540         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14541         sysdeps/sh/____longjmp_chk.S.
14542         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14543         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14544         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14545         (gen-as-const-headers): Append sigaltstack-offsets.sym.
14547         * sysdeps/sh/abort-instr.h: New file.
14548         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14549         process in case exit returns.
14551         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14552         initialize the GOT register before use.
14554         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14555         calculation of ARGC > 4.
14557         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14558         meaningful names to some local labels.
14560 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14561             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14563         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14564         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14565         (__arch_compare_and_exchange_val_16_acq): Likewise.
14566         (__arch_compare_and_exchange_val_32_acq): Likewise.
14567         (atomic_exchange_and_add): Fix gUSA sequence.
14568         (atomic_add): Likewise.
14569         (atomic_add_negative): Likewise.
14570         (atomic_add_zero): Likewise.
14571         (atomic_bit_test_set): Likewise.
14573 2012-06-22  Andreas Schwab  <schwab@redhat.com>
14575         [BZ #13579]
14576         * include/link.h (struct link_map): Add l_free_initfini.
14577         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14578         l_initfini.
14579         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14580         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14581         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14582         set.
14584 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
14586         * configure.in: Use AC_LANG_SOURCE.
14587         * configure: Regenerate.
14589 2012-06-22  Roland McGrath  <roland@hack.frob.com>
14591         * configure.in (libc_cv_localstatedir): New substituted variable.
14592         * configure: Regenerated.
14593         * config.make.in (localstatedir): New variable, substituted from
14594         libc_cv_localstatedir.
14595         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14596         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14597         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14598         * sysdeps/gnu/configure: Regenerated.
14600 2012-06-21  Jeff Law  <law@redhat.com>
14602         [BZ #14277]
14603         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14604         free.  Simplify list management for _LIBC case.
14606 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
14608         [BZ #14273]
14609         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14610         Clear sign bit of 64-bit integer value before comparing against
14611         overflow value.
14613         * sysdeps/mach/configure: Regenerated.
14615 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
14617         [BZ #14278]
14618         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14620 2012-06-21  Jeff Law  <law@redhat.com>
14622         [BZ #13882]
14623         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
14624         uint16_t for elements in the "seen" array to avoid char overflows.
14625         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14626         * elf/dl-open.c (dl_open_worker): Likewise.
14628 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
14630         * scripts/list-sources.sh: Scan PORTS for translations.
14631         * po/libc.pot: Regenerated.
14633 2012-06-21  Andreas Jaeger  <aj@suse.de>
14635         [BZ #12194]
14636         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14637         warning.
14638         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14639         * bits/byteswap-16.h (__bswap_16): Likewise.
14640         * bits/byteswap.h (__bswap_constant_16): Likewise.
14642 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
14644         [BZ #14117]
14645         * sysdeps/i386/fpu_control.h: Removed.
14646         * sysdeps/x86_64/fpu_control.h: Moved to ...
14647         * sysdeps/x86/fpu_control.h: Here.
14649         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14650         (_FPU_SETCW): Likewise.
14652 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
14654         [BZ #14117]
14655         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14656         * sysdeps/x86/fpu/bits/mathinline.h: This.
14657         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14659         [BZ #14050]
14660         [BZ #14117]
14661         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14662         functions if __x86_64__ is defined.
14664 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
14666         * string/endian.h: Add !__ASSEMBLER__ condition for including
14667         conversion interfaces.
14669 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
14671         [BZ #14241]
14672         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14673         of ABS(x) in calculating zero to negative powers other than odd
14674         integers.
14675         * math/libm-test.inc (pow_test): Add more tests.
14677 2012-06-15  Andreas Jaeger  <aj@suse.de>
14679         * manual/contrib.texi (Contributors): Update entry of Liubov
14680         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14681         Machado Filho.
14683 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
14685         * string/string.h: Add __wur to GNU version of strerror_r.
14687 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
14689         [BZ #14229]
14690         * string/Makefile (tests): Add tst-strtok_r.
14691         * string/tst-strtok_r.c: New file.
14692         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14693         RAX_LP/RDX_LP on SAVE_PTR.
14695 2012-06-14  Roland McGrath  <roland@hack.frob.com>
14697         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14699 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
14701         * libm_test.inc (csqrt_test): Allow more spurious underflow
14702         exceptions.
14703         (j0_test): Likewise.
14704         (j1_test): Likewise.
14705         (y0_test): Likewise.
14706         (y1_test): Likewise.
14708 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
14710         * po/Makefile (libc.pot): Use UTF-8 charset.
14712 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
14714         [BZ #14210]
14715         Suppress sign-conversion warning from FD_SET.
14716         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14717         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14718         not unsigned long int.
14719         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14721 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
14723         [BZ #14050]
14724         [BZ #14117]
14725         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14726         __extern_always_inline instead of __extern_inline.
14727         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14728         (__signbit): Likewise.
14729         (__signbitl): Support C++ namespace.
14730         (lrintf): New inline function.
14731         (lrint): Likewise.
14732         (llrintf): Likewise.
14733         (llrint): Likewise.
14734         (fmaxf): Likewise.
14735         (fmax): Likewise.
14736         (fminf): Likewise.
14737         (fmin): Likewise.
14738         (rint): Likewise.
14739         (rintf): Likewise.
14740         (ceil): Likewise.
14741         (ceilf): Likewise.
14742         (floor): Likewise.
14743         (floorf): Likewise.
14744         (nearbyint): Likewise.
14745         (nearbyintf): Likewise.
14747 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
14749         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14750         non-default versions.
14752 2012-06-11  Roland McGrath  <roland@hack.frob.com>
14754         [BZ #14218]
14755         * manual/argp.texi (Argp): Reword argp_parse description slightly.
14757 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
14759         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14760         (FE_UPWARD, FE_DOWNWARD): Don't define.
14761         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14762         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14764         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14765         reading it.
14766         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14767         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14769 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14771         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14772         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14773         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14774         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14776 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14778         [BZ #14117]
14779         * sysdeps/i386/fpu/bits/fenv.h: Removed.
14780         * sysdeps/i386/fpu/Implies: New file.
14781         * sysdeps/x86_64/fpu/Implies: Likewise.
14782         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14783         * sysdeps/x86/fpu/bits/fenv.h: This.
14785         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14786         __SSE_MATH__.
14788 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14790         [BZ #14134]
14791         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14792         character 0xffff that matches the last element of the
14793         conversion table.
14795 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14797         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14798         fmodl commit.
14800 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14802         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14803         values higher than 25.6283.
14805 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14807         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14808         subnormal exponent extraction and add some __builtin_expect.
14809         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14810         Fix for subnormal mantissa calculation.
14812 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
14814         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14815         cpu2 is -1 and errno is not ENOSYS.
14817 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
14819         [BZ #14117]
14820         * sysdeps/i386/i486/bits/string.h: Renamed to ...
14821         * sysdeps/x86/bits/string.h: This.
14822         * sysdeps/x86_64/bits/string.h: Removed.
14824         * sysdeps/i386/i486/bits/string.h: Define inline functions only
14825         if not compiling for x86-64, but compiling for >= i486.
14827         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14828         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14830         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14831         New macro from Linux kernel 3.4.0.
14832         (FP_XSTATE_MAGIC2): Likewise.
14833         (FP_XSTATE_MAGIC2_SIZE): Likewise.
14834         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14835         (struct _fpx_sw_bytes): New struct.
14836         (struct _xsave_hdr): Likewise.
14837         (struct _ymmh_state): Likewise.
14838         (struct _xstate): Likewise.
14840         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14841         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14842         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14843         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14844         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14845         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14847         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14848         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14849         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14850         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14851         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14852         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14854 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14856         [BZ #13743]
14857         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14858         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14859         (sysdep_headers): Include sys/platform/ppc.h.
14860         * sysdeps/powerpc/test-gettimebase.c: Test for
14861         __ppc_get_timebase() to catch future ISA opcode/insn changes.
14862         * manual/Makefile (appendices): Include platform.texi.
14863         * manual/contrib.texi (Contributors): Update @node pointers.
14864         * manual/maint.texi (Maintenance): Likewise.
14865         (Platform): New node.
14866         * manual/platform.texi: New file.  Document the new features.
14868 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14869             Jakub Jelinek  <jakub@redhat.com>
14871         [BZ #14188]
14872         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14873         where __builtin_expect is unavailable.
14875 2012-06-03  David S. Miller  <davem@davemloft.net>
14877         * stdlib/longlong.h: Updated from GCC.
14879 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
14881         [BZ #14042]
14882         * sysdeps/powerpc/powerpc32/mcount.c: New file.
14883         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14884         __mcount_internal.
14885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14886         (GLIBC_2.16): Likewise.
14888 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14890         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14892 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
14894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14895         (default-abi): New variable.
14896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14897         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14898         variable.
14899         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14900         Likewise.
14901         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14902         Likewise.
14903         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14904         Likewise.
14906         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14907         definition.  Document in comment.
14909 2012-06-01  David S. Miller  <davem@davemloft.net>
14911         * stdlib/longlong.h: Updated from GCC.
14913 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14915         [BZ #14117]
14916         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14917         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14918         sys/debugreg.h sys/io.h here.
14919         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14920         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14921         sys/io.h.
14922         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14923         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14924         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14925         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14926         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14927         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14929         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14930         Define only if __x86_64__ is defined.
14932 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
14934         [BZ #14048]
14935         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14936         Use int64_t for variable i.
14937         * math/libm-test.inc (fmod_test): Add more tests.
14939         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14940         z computation is not scheduled after fetestexcept.
14941         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14942         Use math_force_eval instead of asm to ensure calculation scheduled
14943         before exception test.
14944         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14945         Ensure a1 + u.d computation is not scheduled after fetestexcept.
14947 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
14949         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14950         computation is not scheduled after fetestexcept.
14952 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14954         [BZ #14117]
14955         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14956         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14958 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14960         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14961         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14963 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
14965         [BZ #14117]
14966         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14967         <bits/wordsize.h>.
14968         (__WCHAR_MIN): Support __WORDSIZE == 64.
14969         (__WCHAR_MAX): Likewise.
14971         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14972         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14974         [BZ #14183]
14975         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14976         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14978         [BZ #14117]
14979         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14980         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14982         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14983         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14985         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14986         Defined to 1 if __x86_64__ isn't defined.
14987         (_STAT_VER_LINUX_OLD): New.
14988         (st_atime): Remove duplicate.
14989         (st_mtime): Likewise.
14990         (st_ctime): Likewise.
14992 2012-05-31  David S. Miller  <davem@davemloft.net>
14994         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14995         entries.
14997 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
14999         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15000         gen-libm-test.pl.
15002         [BZ #14132]
15003         * elf/dl-reloc.c: Include <_itoa.h>.
15004         (_dl_reloc_bad_type): Remove use of INTUSE.
15005         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15006         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15007         * stdio-common/psiginfo.c (psiginfo): Likewise.
15008         * stdio-common/psignal.c (psignal): Likewise.
15009         * string/strsignal.c (strsignal): Likewise.
15010         * include/signal.h (_sys_siglist): Declare hidden proto.
15011         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15012         INTVARDEF with libc_hidden_data_def.
15013         * stdio-common/itoa-udigits.c: Likewise.
15014         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15015         (_itoa_lower_digits_internal): Remove declaration.
15016         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15017         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15018         (_sys_sigabbrev_internal): Remove aliases.
15019         (_sys_siglist): Define hidden alias.
15021 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15024         bits/sysctl.h.
15026 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15028         [BZ #14117]
15029         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15030         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15032         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15033         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15034         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15035         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15036         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15037         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15039         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15040         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15041         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15043         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15044         with __addr.
15045         (insw): Likewise.
15046         (insl): Likewise.
15047         (outsb): Likewise.
15048         (outsw): Likewise.
15049         (outsl): Likewise.
15051         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15052         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15053         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15055         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15056         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15057         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15058         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15059         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15060         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15062         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15063         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15065         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15066         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15068         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15069         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15070         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15072         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15073         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15074         to ...
15075         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15077         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15078         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15079         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15081         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15082         for x86-64.
15083         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15085 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
15087         * math/math.h (M_El): Use two more decimal places.
15088         (M_LOG2El): Likewise.
15089         (M_LOG10El): Likewise.
15090         (M_LN2l): Likewise.
15091         (M_LN10l): Likewise.
15092         (M_PIl): Likewise.
15093         (M_PI_2l): Likewise.
15094         (M_PI_4l): Likewise.
15095         (M_1_PIl): Likewise.
15096         (M_2_PIl): Likewise.
15097         (M_2_SQRTPIl): Likewise.
15098         (M_SQRT2l): Likewise.
15099         (M_SQRT1_2l): Likewise.
15101 2012-05-31  David S. Miller  <davem@davemloft.net>
15103         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15104         values between float registers.
15105         * sysdeps/sparc/sparc64/memset.S: Likewise.
15106         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15108 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
15110         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15111         -D_FORTIFY_SOURCE=1.
15112         (CPPFLAGS-tst-longjmp_chk.c): Define.
15113         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15114         (CPPFLAGS-tst-longjmp_chk2.c): Define.
15115         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15116         CFLAGS-tst-wchar-h.c.
15118 2012-05-31  Marek Polacek  <polacek@redhat.com>
15120         [BZ #14132]
15121         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15122         __endmntent_internal): Remove declaration.
15123         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15124         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15125         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15127 2012-05-30  David S. Miller  <davem@davemloft.net>
15129         * sysdeps/sparc/sparc32/soft-fp/q_util.c
15130         (___Q_simulate_exceptions): Use real FP ops rather than writing
15131         into the %fsr.
15132         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15133         Likewise.
15135 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15137         [BZ #14117]
15138         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15139         * sysdeps/x86/bits/xtitypes.h: This.
15141         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15142         * sysdeps/x86/bits/wordsize.h: This.
15144         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15145         * sysdeps/x86/bits/huge_vall.h: This.
15147         * sysdeps/i386/bits/select.h: Removed.
15148         * sysdeps/x86_64/bits/select.h: Renamed to ...
15149         * sysdeps/x86/bits/select.h: This.
15151         * sysdeps/i386/bits/setjmp.h: Removed.
15152         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15153         * sysdeps/x86/bits/setjmp.h: This.
15155         * sysdeps/i386/bits/mathdef.h: Removed.
15156         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15157         * sysdeps/x86/bits/mathdef.h: This.
15159 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
15161         [BZ #14132]
15162         * include/sys/socket.h (__connect_internal)
15163         (__libc_sa_len_internal): Remove declaration.
15164         (__connect, __libc_sa_len): Declare hidden_proto.
15165         (SA_LEN): Remove use of INTUSE.
15166         * socket/connect.c: Add libc_hidden_def.
15167         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15168         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15169         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15170         alias.
15171         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15172         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15173         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15174         of adding _internal alias.
15176 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15178         [BZ #14117]
15179         * sysdeps/i386/bits/link.h: Removed.
15180         * sysdeps/i386/bits/linkmap.h: Likewise.
15181         * sysdeps/x86_64/bits/link.h: Renamed to ...
15182         * sysdeps/x86/bits/link.h: This.
15183         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15184         * sysdeps/x86/bits/linkmap.h: This.
15186         * sysdeps/i386/bits/endian.h: Removed.
15187         * sysdeps/x86_64/bits/endian.h: Renamed to ...
15188         * sysdeps/x86/bits/endian.h: This.
15190         * sysdeps/i386/bits/byteswap.h: Removed.
15191         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15192         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15193         * sysdeps/x86/bits/byteswap.h: This.
15194         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15195         * sysdeps/x86/bits/byteswap-16.h: This.
15196         * sysdeps/i386/Implies: Add x86.
15197         * sysdeps/x86_64/Implies: Likewise.
15199 2012-05-30  David S. Miller  <davem@davemloft.net>
15201         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15202         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15203         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15204         (FP_TRAPPING_EXCEPTIONS): Define.
15205         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15206         (FP_TRAPPING_EXCEPTIONS): Define.
15207         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15208         subnormals only when inexact has been signalled or underflow
15209         exceptions are enabled.
15210         (_FP_PACK_CANONICAL): Likewise.
15212 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15214         [BZ #14183]
15215         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15216         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15218 2012-05-30  Richard Henderson  <rth@twiddle.net>
15220         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15221         with #ifndef NOT_IN_libc.
15223         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
15224         marked to avoid plt entry.
15226 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15228         [BZ #14112]
15229         * Makeconfig (default-abi): New macro.
15230         (abi-includes): Likewise.
15231         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
15232         $(abi-$(default-abi)-lib-soname) for soname if defined.
15233         ($(common-objpfx)gnu/lib-names.stmp): Generate from
15234         abi-variants.
15235         * Makefile (installed-stubs): Likewise.
15236         * include/stubs-biarch.h: Removed.
15237         * scripts/lib-names.awk: Only handle one library at a time.
15238         * scripts/soversions.awk: Remove WORDSIZE support.
15239         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15240         entries.
15241         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15242         Removed.
15243         (syscall-list-default-condition): Likewise.
15244         (syscall-list-default-condition): Likewise.
15245         (syscall-list-includes): Likewise.
15246         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15247         syscall-list-* with abi-*.  Handle undefined abi-variants.
15248         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15249         * sysdeps/unix/sysv/linux/i386/Implies: New file.
15250         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15251         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15252         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15253         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15254         Removed.
15255         (syscall-list-32-options): Likewise.
15256         (syscall-list-32-condition): Likewise.
15257         (syscall-list-64-options): Likewise.
15258         (syscall-list-64-condition): Likewise.
15259         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15260         macro.
15261         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15262         Renamed to ...
15263         (abi-*): This.
15264         (abi-64-ld-soname): New macro.
15265         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15266         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15267         Renamed to ...
15268         (abi-*): This.
15269         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15270         * sysdeps/x86_64/x32/shlib-versions: Likewise.
15272 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
15274         * sysdeps/unix/sysv/linux/kernel-features.h
15275         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15276         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15277         include <kernel-features.h>.
15278         [!__NR_ftruncate64]: Remove conditional code.
15279         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15280         [__NR_ftruncate64]: Make code unconditional.
15281         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15282         * sysdeps/unix/sysv/linux/truncate64.c: Do not
15283         include <kernel-features.h>.
15284         [!__NR_ftruncate64]: Remove conditional code.
15285         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15286         [__NR_ftruncate64]: Make code unconditional.
15287         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15289         include <kernel-features.h>.
15290         [!__NR_ftruncate64]: Remove conditional code.
15291         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15292         [__NR_ftruncate64]: Make code unconditional.
15293         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15295         include <kernel-features.h>.
15296         [!__NR_ftruncate64]: Remove conditional code.
15297         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15298         [__NR_ftruncate64]: Make code unconditional.
15299         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15301         * configure.in (libc_cv_fpie): Weaken to a compile test using
15302         LIBC_TRY_CC_OPTION.
15303         * configure: Regenerated.
15305 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15311         Refreshed.
15312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15318         Refreshed.
15320 2012-05-27  David S. Miller  <davem@davemloft.net>
15322         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15323         (___Q_zero): New.
15324         (__Q_simulate_exceptions): Return void.  Change to simulate
15325         exceptions by writing into the %fsr.
15326         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15327         (__Qp_handle_exceptions): Likewise.
15328         (numbers): Delete.
15329         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15330         __Qp_handle_exceptions.
15331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15332         __Qp_handle_exceptions.
15333         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15334         as unused and give dummy FP_RND_NEAREST initializer.
15335         (FP_INHIBIT_RESULTS): Define.
15336         (___Q_simulate_exceptions): Update declaration.
15337         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15338         formatting.
15339         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15340         as unused and give dummy FP_RND_NEAREST initializer.
15341         (__Qp_handle_exceptions): Update declaration.
15342         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15343         formatting.
15345 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
15347         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15348         the temporary FPU control word.
15349         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15350         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15351         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15352         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15353         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15354         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15355         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15356         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15357         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15358         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15359         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15361 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15363         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15364         fields.
15366 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
15368         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15369         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15370         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15371         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15372         Likewise.
15373         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15374         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15375         Likewise.
15377 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
15379         * po/h.po: Update from translation team.
15381 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
15383         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15385         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15386         handling of denormals.
15387         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15388         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15389         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15390         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15391         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15392         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15393         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15394         Likewise.
15396 2012-05-26  Marek Polacek  <polacek@redhat.com>
15398         [BZ #14152]
15399         * math/libm-test.inc (fma_test): Don't always expect underflow
15400         exception.
15402 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15404         [BZ #12416]
15405         * elf/tst-execstack.c: Include stackinfo.h.
15406         (do_test): Adjust test case to ensure that pthread_getattr_np
15407         behaviour remains the same after marking stack executable.
15409 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
15411         * sysdeps/unix/sysv/linux/kernel-features.h
15412         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15413         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15414         kernel-features.h.
15415         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15416         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15417         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15418         kernel-features.h.
15419         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15420         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15422 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
15424         * configure.in: Define the default includes to being none.
15425         * configure: Regenerated.
15427 2012-05-25  Roland McGrath  <roland@hack.frob.com>
15429         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15430         * sysdeps/x86_64/setjmp.S: Likewise.
15431         * sysdeps/i386/bsd-setjmp.S: Likewise.
15432         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15433         * sysdeps/i386/setjmp.S: Likewise.
15434         * sysdeps/i386/__longjmp.S: Likewise.
15435         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15436         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15438         * include/stap-probe.h: New file.
15439         * configure.in: Handle --enable-systemtap.
15440         * configure: Regenerated.
15441         * config.h.in (USE_STAP_PROBE): New #undef.
15442         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15443         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15444         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15446 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
15448         [BZ #13717]
15449         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15450         to 2.4.0 where earlier.
15451         * sysdeps/unix/sysv/linux/configure: Regenerated.
15452         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15453         <kernel-features.h>.
15454         [__ASSUME_32BITUIDS]: Make code unconditional.
15455         [!__ASSUME_32BITUIDS]: Remove conditional code.
15456         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15457         <kernel-features.h>.
15458         [__ASSUME_32BITUIDS]: Make code unconditional.
15459         [!__ASSUME_32BITUIDS]: Remove conditional code.
15460         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15461         [__ASSUME_32BITUIDS]: Make code unconditional.
15462         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15463         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15464         <kernel-features.h>.
15465         [__ASSUME_32BITUIDS]: Make code unconditional.
15466         [!__ASSUME_32BITUIDS]: Remove conditional code.
15467         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15468         <kernel-features.h>.
15469         [__ASSUME_32BITUIDS]: Make code unconditional.
15470         [!__ASSUME_32BITUIDS]: Remove conditional code.
15471         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15472         <kernel-features.h>.
15473         [__ASSUME_32BITUIDS]: Make code unconditional.
15474         [!__ASSUME_32BITUIDS]: Remove conditional code.
15475         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15476         <kernel-features.h>.
15477         [__ASSUME_32BITUIDS]: Make code unconditional.
15478         [!__ASSUME_32BITUIDS]: Remove conditional code.
15479         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15480         <kernel-features.h>.
15481         [__ASSUME_32BITUIDS]: Make code unconditional.
15482         [!__ASSUME_32BITUIDS]: Remove conditional code.
15483         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15484         <kernel-features.h>.
15485         [__ASSUME_32BITUIDS]: Make code unconditional.
15486         [!__ASSUME_32BITUIDS]: Remove conditional code.
15487         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15488         <kernel-features.h>.
15489         [__ASSUME_32BITUIDS]: Make code unconditional.
15490         [!__ASSUME_32BITUIDS]: Remove conditional code.
15491         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15492         <kernel-features.h>.
15493         [__ASSUME_32BITUIDS]: Make code unconditional.
15494         [!__ASSUME_32BITUIDS]: Remove conditional code.
15495         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15496         <kernel-features.h>.
15497         [__ASSUME_32BITUIDS]: Make code unconditional.
15498         [!__ASSUME_32BITUIDS]: Remove conditional code.
15499         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15500         <kernel-features.h>.
15501         [__ASSUME_32BITUIDS]: Make code unconditional.
15502         [!__ASSUME_32BITUIDS]: Remove conditional code.
15503         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15504         <kernel-features.h>.
15505         [__NR_setresgid] (__setresgid): Do not declare.
15506         [__ASSUME_32BITUIDS]: Make code unconditional.
15507         [!__ASSUME_32BITUIDS]: Remove conditional code.
15508         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15509         <kernel-features.h>.
15510         [__NR_setresuid] (__setresuid): Do not declare.
15511         [__ASSUME_32BITUIDS]: Make code unconditional.
15512         [!__ASSUME_32BITUIDS]: Remove conditional code.
15513         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15514         <kernel-features.h>.
15515         [__ASSUME_32BITUIDS]: Make code unconditional.
15516         [!__ASSUME_32BITUIDS]: Remove conditional code.
15517         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15518         <kernel-features.h>.
15519         [__ASSUME_32BITUIDS]: Make code unconditional.
15520         [!__ASSUME_32BITUIDS]: Remove conditional code.
15521         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15522         <kernel-features.h>.
15523         [__ASSUME_32BITUIDS]: Make code unconditional.
15524         [!__ASSUME_32BITUIDS]: Remove conditional code.
15525         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15526         <kernel-features.h>.
15527         [__ASSUME_32BITUIDS]: Make code unconditional.
15528         [!__ASSUME_32BITUIDS]: Remove conditional code.
15529         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15530         <kernel-features.h>.
15531         [__ASSUME_32BITUIDS]: Make code unconditional.
15532         [!__ASSUME_32BITUIDS]: Remove conditional code.
15533         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15534         <kernel-features.h>.
15535         [__ASSUME_32BITUIDS]: Make code unconditional.
15536         [!__ASSUME_32BITUIDS]: Remove conditional code.
15537         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15538         <kernel-features.h>.
15539         [__ASSUME_32BITUIDS]: Make code unconditional.
15540         [!__ASSUME_32BITUIDS]: Remove conditional code.
15541         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15542         <kernel-features.h>.
15543         [__ASSUME_32BITUIDS]: Make code unconditional.
15544         [!__ASSUME_32BITUIDS]: Remove conditional code.
15545         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15546         <kernel-features.h>.
15547         [__ASSUME_32BITUIDS]: Make code unconditional.
15548         [!__ASSUME_32BITUIDS]: Remove conditional code.
15549         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15550         <kernel-features.h>.
15551         [__ASSUME_32BITUIDS]: Make code unconditional.
15552         [!__ASSUME_32BITUIDS]: Remove conditional code.
15553         * sysdeps/unix/sysv/linux/kernel-features.h
15554         (__ASSUME_SETRESUID_SYSCALL): Remove.
15555         (__ASSUME_SETRESGID_SYSCALL): Likewise.
15556         (__ASSUME_32BITUIDS): Likewise.
15557         (__ASSUME_LDT_WORKS): Likewise.
15558         (__ASSUME_O_DIRECTORY): Likewise.
15559         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15560         architecture but not kernel version.
15561         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15562         (__ASSUME_MMAP2_SYSCALL): Likewise.
15563         (__ASSUME_STAT64_SYSCALL): Likewise.
15564         (__ASSUME_IPC64): Likewise.
15565         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15566         <kernel-features.h>.
15567         [__ASSUME_32BITUIDS]: Make code unconditional.
15568         [!__ASSUME_32BITUIDS]: Remove conditional code.
15569         * sysdeps/unix/sysv/linux/opendir.c: Do not include
15570         <kernel-features.h>.
15571         [__ASSUME_O_DIRECTORY]: Make code unconditional.
15572         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15573         132096]: Remove conditional code.
15574         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15575         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15576         <kernel-features.h>.
15577         [__ASSUME_32BITUIDS]: Make code unconditional.
15578         [!__ASSUME_32BITUIDS]: Remove conditional code.
15579         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15580         <kernel-features.h>.
15581         [__ASSUME_32BITUIDS]: Make code unconditional.
15582         [!__ASSUME_32BITUIDS]: Remove conditional code.
15583         * sysdeps/unix/sysv/linux/setegid.c: Do not include
15584         <kernel-features.h>.
15585         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15586         unconditional.
15587         (__setresgid): Do not declare.
15588         [__ASSUME_32BITUIDS]: Make code unconditional.
15589         [!__ASSUME_32BITUIDS]: Remove conditional code.
15590         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15591         <kernel-features.h>.
15592         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15593         unconditional.
15594         (__setresuid): Do not declare.
15595         [__ASSUME_32BITUIDS]: Make code unconditional.
15596         [!__ASSUME_32BITUIDS]: Remove conditional code.
15597         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15598         <kernel-features.h>.
15599         [__ASSUME_32BITUIDS]: Make code unconditional.
15600         [!__ASSUME_32BITUIDS]: Remove conditional code.
15601         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15602         <kernel-features.h>.
15603         [__ASSUME_32BITUIDS]: Make code unconditional.
15604         [!__ASSUME_32BITUIDS]: Remove conditional code.
15606 2012-05-25  Richard Henderson  <rth@twiddle.net>
15608         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15609         dl_hwcap to ifunc resolver.
15610         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15611         elf_ifunc_invoke.
15612         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15613         dl_hwcap to ifunc resolver.
15614         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15616 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15618         [BZ #14153]
15619         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15620         for |x| <= 2**-26, not 2**-57.
15621         * math/libm-test.inc (acos_test): Do not allow spurious underflow
15622         exception.
15624 2012-05-24  Jeff Law  <law@redhat.com>
15626         * stdio-common/Makefile (tests): Add bug25.
15627         * stdio-common/bug25.c: New test.
15629 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15631         [BZ #13576]
15632         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15633         multiple of MALLOC_ALIGNMENT in size.
15634         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15636 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15638         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15639         Require >= 256.
15640         (FILENAME_MAX): Use macro-int-constant.
15641         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
15642         (_IOFBF): Use macro-int-constant.
15643         (_IOLBF): Likewise.
15644         (_IONBF): Likewise.
15645         (SEEK_CUR): Likewise.
15646         (SEEK_END): Likewise.
15647         (SEEK_SET): Likewise.
15648         (TMP_MAX): Likewise.
15649         (EOF): Use macro-int-constant.  Require < 0.
15650         (NULL): Use macro-constant.  Require == 0.
15651         (stdin): Require type to be FILE *.
15652         (stdout): Likewise.
15653         (stderr): Likewise.
15654         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15655         macro-int-constant.
15656         (EXIT_SUCCESS): Likewise.
15657         (NULL): Use macro-constant.  Require == 0.
15658         (RAND_MAX): Use macro-int-constant.
15659         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15660         [C99-based standards] (strtof): Require function.
15661         [C99-based standards] (strtold): Likewise.
15662         [C99-based standards] (strtoll): Likewise.
15663         [C99-based standards] (strtoull): Likewise.
15664         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15665         [ISO || ISO99 || ISO11] (limits.h): Likewise.
15666         [ISO || ISO99 || ISO11] (math.h): Likewise.
15667         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15668         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15669         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15671 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
15673         [BZ #14132]
15674         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15675         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15676         * intl/dgettext.c (DCGETTEXT): Likewise.
15677         * intl/gettext.c (DCGETTEXT): Likewise.
15678         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15679         * posix/regex_internal.h (gettext): Likewise.
15680         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15681         Remove declaration.
15682         * include/argz.h (__argz_count_internal)
15683         (__argz_stringify_internal): Remove declaration.
15684         (__argz_count, __argz_stringify): Declare hidden proto.
15685         * intl/dcgettext.c: Remove use of INTDEF.
15686         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15687         * string/argz-stringify.c: Likewise.
15688         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15689         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15690         Declare hidden proto.
15691         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15692         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15693         Declare hidden proto.
15694         * include/stdio.h (__asprintf_internal): Don't declare.
15695         (__asprintf): Don't define as macro.  Declare hidden proto.
15696         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15697         (__fsetlocking): Declare hidden proto.
15698         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15699         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15700         hidden proto.
15701         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15702         (_IO_setlinebuf): Remove use of INTUSE.
15703         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15704         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15705         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15706         Remove declaration.
15707         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15708         (_IO_do_flush): Remove use of INTUSE.
15709         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15710         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15711         (_IO_adjust_column, _IO_least_wmarker)
15712         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15713         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15714         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15715         (_IO_default_doallocate, _IO_wdefault_doallocate)
15716         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15717         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15718         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15719         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15720         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15721         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15722         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15723         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15724         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15725         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15726         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15727         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15728         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15729         proto.
15730         (_IO_flush_all_internal, _IO_adjust_column_internal)
15731         (_IO_default_uflow_internal, _IO_default_finish_internal)
15732         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15733         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15734         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15735         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15736         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15737         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15738         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15739         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15740         (_IO_file_close_internal, _IO_file_close_it_internal)
15741         (_IO_file_underflow_internal, _IO_file_overflow_internal)
15742         (_IO_file_init_internal, _IO_file_attach_internal)
15743         (_IO_file_fopen_internal, _IO_file_read_internal)
15744         (_IO_file_sync_internal, _IO_file_seek_internal)
15745         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15746         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15747         (_IO_str_underflow_internal, _IO_str_overflow_internal)
15748         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15749         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15750         (_IO_list_all_internal, _IO_link_in_internal)
15751         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15752         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15753         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15754         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15755         (_IO_do_write_internal, _IO_padn_internal)
15756         (_IO_getline_info_internal, _IO_getline_internal)
15757         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15758         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15759         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15760         (_IO_vfscanf_internal, _IO_vfprintf_internal)
15761         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15762         (_IO_init_internal, _IO_un_link_internal): Don't declare.
15763         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15764         with libc_hidden_ver, remove use of INTUSE.
15765         * libio/genops.c: Likewise.
15766         * libio/freopen.c: Likewise.
15767         * libio/freopen64.c: Likewise.
15768         * libio/iofclose.c: Likewise.
15769         * libio/iofdopen.c: Likewise.
15770         * libio/iofflush.c: Likewise.
15771         * libio/iofflush_u.c: Likewise.
15772         * libio/iofgets.c: Likewise.
15773         * libio/iofgets_u.c: Likewise.
15774         * libio/iofopen.c: Likewise.
15775         * libio/iofopncook.c: Likewise.
15776         * libio/iofread.c: Likewise.
15777         * libio/iofread_u.c: Likewise.
15778         * libio/ioftell.c: Likewise.
15779         * libio/iofwrite.c: Likewise.
15780         * libio/iogetline.c: Likewise.
15781         * libio/iogets.c: Likewise.
15782         * libio/iogetwline.c: Likewise.
15783         * libio/iopadn.c: Likewise.
15784         * libio/iopopen.c: Likewise.
15785         * libio/ioseekoff.c: Likewise.
15786         * libio/ioseekpos.c: Likewise.
15787         * libio/iosetbuffer.c: Likewise.
15788         * libio/iosetvbuf.c: Likewise.
15789         * libio/ioungetc.c: Likewise.
15790         * libio/ioungetwc.c: Likewise.
15791         * libio/iovdprintf.c: Likewise.
15792         * libio/iovsprintf.c: Likewise.
15793         * libio/iovsscanf.c: Likewise.
15794         * libio/memstream.c: Likewise.
15795         * libio/obprintf.c: Likewise.
15796         * libio/oldfileops.c: Likewise.
15797         * libio/oldiofclose.c: Likewise.
15798         * libio/oldiofdopen.c: Likewise.
15799         * libio/oldiofopen.c: Likewise.
15800         * libio/oldiopopen.c: Likewise.
15801         * libio/oldstdfiles.c: Likewise.
15802         * libio/putc.c: Likewise.
15803         * libio/setbuf.c: Likewise.
15804         * libio/setlinebuf.c: Likewise.
15805         * libio/stdfiles.c: Likewise.
15806         * libio/strops.c: Likewise.
15807         * libio/vasprintf.c: Likewise.
15808         * libio/vscanf.c: Likewise.
15809         * libio/vsnprintf.c: Likewise.
15810         * libio/vswprintf.c: Likewise.
15811         * libio/wfiledoalloc.c: Likewise.
15812         * libio/wfileops.c: Likewise.
15813         * libio/wgenops.c: Likewise.
15814         * libio/wmemstream.c: Likewise.
15815         * libio/wstrops.c: Likewise.
15816         * libio/__fpurge.c: Likewise.
15817         * libio/__fsetlocking.c: Likewise.
15818         * assert/assert.c: Likewise.
15819         * debug/fgets_chk.c: Likewise.
15820         * debug/fgets_u_chk.c: Likewise.
15821         * debug/fread_chk.c: Likewise.
15822         * debug/fread_u_chk.c: Likewise.
15823         * debug/gets_chk.c: Likewise.
15824         * debug/obprintf_chk.c: Likewise.
15825         * debug/vasprintf_chk.c: Likewise.
15826         * debug/vdprintf_chk.c: Likewise.
15827         * debug/vsnprintf_chk.c: Likewise.
15828         * debug/vsprintf_chk.c: Likewise.
15829         * malloc/mtrace.c: Likewise.
15830         * misc/error.c: Likewise.
15831         * misc/syslog.c: Likewise.
15832         * stdio-common/asprintf.c: Likewise.
15833         * stdio-common/fxprintf.c: Likewise.
15834         * stdio-common/getw.c: Likewise.
15835         * stdio-common/isoc99_fscanf.c: Likewise.
15836         * stdio-common/isoc99_scanf.c: Likewise.
15837         * stdio-common/isoc99_vfscanf.c: Likewise.
15838         * stdio-common/isoc99_vscanf.c: Likewise.
15839         * stdio-common/isoc99_vsscanf.c: Likewise.
15840         * stdio-common/printf-prs.c: Likewise.
15841         * stdio-common/printf_fp.c: Likewise.
15842         * stdio-common/printf_fphex.c: Likewise.
15843         * stdio-common/printf_size.c: Likewise.
15844         * stdio-common/putw.c: Likewise.
15845         * stdio-common/scanf.c: Likewise.
15846         * stdio-common/sprintf.c: Likewise.
15847         * stdio-common/tmpfile.c: Likewise.
15848         * stdio-common/vfprintf.c: Likewise.
15849         * stdio-common/vfscanf.c: Likewise.
15850         * stdlib/strfmon_l.c: Likewise.
15851         * sunrpc/openchild.c: Likewise.
15852         * sunrpc/xdr_stdio.c: Likewise.
15853         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15854         * sysdeps/mach/hurd/tmpfile.c: Likewise.
15856 2012-05-24  Roland McGrath  <roland@hack.frob.com>
15858         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15860         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15861         in the third column, to generate for the shared library an IFUNC
15862         that uses _dl_vdso_vsym.
15863         * Makerules (COMPILE.c, compile-stdin.c): New variables.
15864         * Makeconfig (object-suffixes-noshared): New variable.
15866         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15867         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15868         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15869         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15871         [BZ #14132]
15872         * include/sys/time.h (__gettimeofday): Remove macro.
15873         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15874         * time/gettimeofday.c (__gettimeofday): Remove #undef.
15875         Remove INTDEF.
15876         (__gettimeofday): Add libc_hidden_def.
15877         (gettimeofday): Add libc_hidden_weak.
15878         * sysdeps/mach/gettimeofday.c: Likewise.
15879         * sysdeps/posix/gettimeofday.c: Likewise.
15880         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15881         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15882         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15883         (__gettimeofday_internal): Remove strong_alias.
15884         (__gettimeofday): Add libc_hidden_def.
15885         (gettimeofday): Add libc_hidden_weak.
15886         * sysdeps/unix/syscalls.list (gettimeofday):
15887         Remove __gettimeofday_internal alias.
15889 2012-05-24  Daniel Jacobowitz  <drow@false.org>
15890             H.J. Lu  <hongjiu.lu@intel.com>
15892         [BZ #12495]
15893         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15894         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15895         (largebin_index_32_big): New.
15896         (largebin_index): Use it for 16-byte alignment.
15897         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
15898         correction with front_misalign.
15900 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15904         Likewise.
15905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15906         Likewise.
15907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15908         Likewise.
15909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15910         Likewise.
15911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15912         Likewise.
15913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15914         Likewise.
15915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15916         Likewise.
15917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15918         Likewise.
15919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15920         Likewise.
15921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15922         Likewise.
15923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15924         Likewise.
15925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15926         Likewise.
15928         * scripts/data/c++-types-x32-linux-gnu.data: New file.
15929         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15931 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15933         [BZ #10846]
15934         [BZ #14036]
15935         * math/libm-test.inc (exp_test): Add test from bug 14036.
15936         (pow_test): Add test from bug 10846.
15938         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15939         and other flags.
15940         (special_function): Do not include flags in test name.
15941         (parse_args): Likewise.
15942         * sysdeps/i386/fpu/libm-test-ulps: Update.
15943         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15944         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15945         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15948         * math/gen-libm-test.pl (%beautify): Add entries for underflow
15949         exceptions.
15950         * math/libm-test.inc ("Philosophy"): Update comment about
15951         exception testing.
15952         (UNDERFLOW_EXCEPTION): New macro.
15953         (UNDERFLOW_EXCEPTION_OK): Likewise.
15954         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15955         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15956         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15957         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15958         (INVALID_EXCEPTION_OK): Update value.
15959         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15960         (OVERFLOW_EXCEPTION_OK): Likewise.
15961         (IGNORE_ZERO_INF_SIGN): Likewise.
15962         (test_exceptions): Handle underflow exceptions.
15963         (acos_test): Update for underflow exception expectations.
15964         (cexp_test): Likewise.
15965         (clog_test): Likewise.
15966         (clog10_test): Likewise.
15967         (csqrt_test): Likewise.
15968         (ctan_test): Likewise.
15969         (ctanh_test): Likewise.
15970         (exp_test): Likewise.
15971         (exp10_test): Likewise.
15972         (exp2_test): Likewise.
15973         (expm1_test): Likewise.
15974         (fma_test): Likewise.
15975         (j0_test): Likewise.
15976         (jn_test): Likewise.
15977         (nexttoward_test): Likewise.
15978         (pow_test): Likewise.
15979         (scalbn_test): Likewise.
15980         (scalbln_test): Likewise.
15981         (tan_test): Likewise.
15982         (y1_test): Likewise.
15983         * sysdeps/i386/fpu/libm-test-ulps: Update.
15984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15986 2012-05-23  David S. Miller  <davem@davemloft.net>
15988         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15989         (__libc_sigaction): Remove unused local variables.
15991 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
15993         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15995 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
15997         mktime: avoid signed integer overflow
15998         * time/mktime.c (__mktime_internal): Do not mishandle the case
15999         where diff == INT_MIN.
16001         mktime: simplify computation of average
16002         * time/mktime.c (ranged_convert): Use new time_t_avg function
16003         instead of rolling our own (probably-slower) code.
16005         mktime: do not assume signed right shift propagates sign bit
16006         * time/mktime.c (isdst_differ): New static function.
16007         (__mktime_internal): No need to normalize tm_isdst now.
16008         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16009         tm_isdst values.
16011         mktime: merge another wrapv change from gnulib
16012         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16013         from some compilers.
16015         mktime: remove incorrect attempt at unusual arithmetics
16016         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16017         The code didn't really work on such machines anyway.
16018         (TYPE_MINIMUM): Assume two's complement.
16019         (twos_complement_arithmetic): Verify that long_int and time_t
16020         are two's complement (or unsigned, in the latter case).
16022         mktime: check signed shifts on long_int and time_t, too
16023         * time/mktime.c (SHR): Check that shifts work as desired
16024         on the types long_int and time_t too, as SHR is used on
16025         such types.
16027         mktime: do not assume 'long' is wide enough
16028         * time/mktime.c (verify): Move decl up.
16029         (long_int): New type.
16030         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16031         to remove assumption in the code that 'long' is wide enough to
16032         store year values.  This assumption is not true on x32 and on
16033         some non-glibc platforms.
16035         mktime: merge wrapv change from gnulib
16036         * time/mktime.c (WRAPV): New macro.
16037         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16038         (guess_time_tm, __mktime_internal): Do not assume that signed
16039         integer overflow wraps around; modern compilers generate code
16040         where this assumption is no longer valid.
16042 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16044         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16045         Replace "jmp L(pseudo_end)" with "ret".
16046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16047         Likewise.
16049 2012-05-23  Andreas Jaeger  <aj@suse.de>
16051         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16052         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16054 2012-05-23  Andreas Jaeger  <aj@suse.de>
16055             Maximilian Attems  <max@stro.at>
16057         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16058         New macros.
16060 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16062         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16063         code so that pseudo_end is just ret and the stack pointer is
16064         correct also for static library in error case.
16066 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
16068         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16069         move to syscalls.list.
16070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16075         * manual/install.texi (Running make install): Do not mention Linux
16076         kernel version for which pt_chown is not needed.
16077         (Linux): Do not mention problems with nscd with 2.0 kernels.
16078         * INSTALL: Regenerated.
16080 2012-05-23  Andreas Jaeger  <aj@suse.de>
16082         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16083         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16084         macro.
16085         * sysdeps/unix/sysv/linux/s390/bits/mman.h
16086         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16087         * sysdeps/unix/sysv/linux/sh/bits/mman.h
16088         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16089         * sysdeps/unix/sysv/linux/i386/bits/mman.h
16090         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16091         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16092         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16093         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16094         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16095         * sysdeps/unix/sysv/linux/bits/in.h
16096         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16098 2012-05-22  Roland McGrath  <roland@hack.frob.com>
16100         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16101         (PREPARE_VERSION): Just use assert instead, it will be elided
16102         under [NDEBUG] anyway.
16104 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16106         * sysdeps/unix/sysv/linux/Makefile: Include
16107         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16108         (sysdep_routines): Remove sysctl.
16109         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16110         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16111         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16112         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16113         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16115 2012-05-22  Andreas Jaeger  <aj@suse.de>
16117         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16118         that pseudo_end is just ret and the stack pointer is correct also
16119         for static library in error case.
16121 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16123         [BZ #14122]
16124         * nss/nsswitch.c (defconfig_entries): New variable.
16125         (__nss_database_lookup): Don't leak defconfig entries.
16126         (nss_parse_service_list): Don't leak on error paths.
16127         (free_database_entries): New function.
16128         (free_defconfig): New function.
16129         (free_mem): Move common code to free_database_entries.
16131 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16133         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16134         Add arch_prctl.
16135         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16137         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16138         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16139         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16140         New macro.
16141         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16142         (INTERNAL_SYSCALL_TYPES): Likewise.
16143         (LOAD_ARGS_TYPES_[1-6]): Likewise.
16144         (LOAD_REGS_TYPES_[1-6]): Likewise.
16145         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16146         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16148 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16150         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16151         copysignl for GLIBC_2_0.
16152         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16153         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16154         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16155         logbl for GLIBC_2_0.
16156         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16157         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16159 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16161         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16162         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16164         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16165         Use "neg %eax".
16167         * time/mktime.c: Update copyright years.
16169 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16171         mktime: merge comment-quoting-style change from gnulib
16172         * time/mktime.c: Quote 'like this' in comments.
16173         The GNU coding standards suggest that we no longer quote `like this',
16174         as "`" and "'" are typically rendered asymmetrically nowadays.
16175         The typical gnulib style is to quote 'like this' when quoting
16176         code, and "like this" when quoting English.
16178         * time/mktime.c (compile-command): Add "-I.".
16180         mktime: merge mktime-internal.h change from gnulib
16181         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16183         mktime: merge time_r change from gnulib
16184         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16186         mktime: merge DEBUG change from gnulib
16187         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16188         case system <time.h> has a #define.
16190         mktime: merge <sys/types.h> change from gnulib
16191         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16192         since <time.t> is now guaranteed to define time_t.
16194         mktime: merge HAVE_CONFIG_H change from gnulib
16195         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16197 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16200         Use "neg %eax".
16202         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16203         __rlim_t cast.
16204         (struct rusage): Use anonymous union to pad each field to
16205         __syscall_slong_t.
16207 2012-05-21  David S. Miller  <davem@davemloft.net>
16209         * Makefules (o-iterator): Remove .s cases.
16210         (compile-command.s): Delete.
16211         (COMPILE.s): Delete.
16212         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16214 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
16216         * configure.in (libc_cv_predef_stack_protector): Only consider
16217         "foobar" and "__stack_chk_fail" lines in libc_undefs.
16218         * configure: Regenerated.
16220 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16223         New macro.  Use R*LP on int and pointer.
16224         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16225         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16226         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16227         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16229         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16230         [__WORDSIZE_TIME64_COMPAT32] instead of
16231         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16232         (struct utmp): Likewise.
16233         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16234         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16235         Renamed to ...
16236         (__WORDSIZE_TIME64_COMPAT32): This.
16237         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16238         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16239         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16240         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16241         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16242         (__WORDSIZE_TIME64_COMPAT32): New macro.
16244 2012-05-21  Andreas Jaeger  <aj@suse.de>
16246         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16247         only if [SHARED]. Add prototype for __wcschr_ia32.
16249 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16251         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16252         of %rbp unmolested in the jmp_buf while mangling the low bits.
16253         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16254         unmolested high bits of %rbp while demangling the low bits.
16255         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16257 2012-05-21  Andreas Jaeger  <aj@suse.de>
16259         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16260         * sunrpc/svc_simple.c: Use it for registerrpc.
16261         * sunrpc/xcrypt.c: Use it for passwd2des.
16263         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16265 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16267         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16268         Don't define if [__SYSCALL_WORDSIZE != 32].
16269         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16270         New macro.
16272 2012-05-21  Bruno Haible  <bruno@clisp.org>
16273             Andreas Jaeger  <aj@suse.de>
16275         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16276         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16277         inptr and inend for must_buffer_ch.
16278         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16279         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16280         * stdio-common/Makefile (tests): Remove bug15.
16281         (bug15-ENV): Remove macro.
16282         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16283         anymore.
16285 2012-05-19  Andreas Jaeger  <aj@suse.de>
16286             Roland McGrath  <roland@hack.frob.com>
16288         * manual/contrib.texi: Completely rewritten. It contains now an
16289         alphabetical list of contributors and their contributions.
16291 2012-05-21  Richard Henderson  <rth@twiddle.net>
16293         * misc/getauxval.c (__getauxval): Use unsigned long int.
16294         * misc/sys/auxv.h: Include <sys/cdefs.h>.
16295         (getauxval): Use unsigned long int.
16297 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16299         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16301 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16303         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16304         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16305         __alignof__ (long double).
16307 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16311 2012-05-20  Richard Henderson  <rth@twiddle.net>
16313         * misc/getauxval.c: New file.
16314         * misc/sys/auxv.h: New file.
16315         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16316         (routines): Add getauxval.
16317         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16318         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16319         * elf/dl-sysdep.c (_dl_auxv): Remove.
16320         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16321         * elf/dl-support.c (_dl_auxv): New variable.
16322         (_dl_aux_init): Initialize it.
16323         * manual/startup.texi (Auxiliary Vector): New node.
16324         * sysdeps/generic/bits/hwcap.h: New file.
16325         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16326         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
16327         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16328         * sysdeps/sparc/sysdep.h: ... here.  Include it.
16329         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16330         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16332         Update.
16333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16336         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16342 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16346 2012-05-19  David S. Miller  <davem@davemloft.net>
16348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16350 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16352         [BZ #14123]
16353         * math/s_ccosh.c: Include <float.h>
16354         (__ccosh): Avoid internal overflow calculating sinh and cosh
16355         values before multiplying by sin and cos values.
16356         * math/s_ccoshf.c: Likewise.
16357         * math/s_ccoshl.c: Likewise.
16358         * math/s_csin.c: Likewise.
16359         * math/s_csinf.c: Likewise.
16360         * math/s_csinl.c: Likewise.
16361         * math/s_csinh.c: Likewise.
16362         * math/s_csinhf.c: Likewise.
16363         * math/s_csinhl.c: Likewise.
16364         * math/libm-test.inc (ccos_test): Add more tests.
16365         (ccosh_test): Likewise.
16366         (csin_test): Likewise.
16367         (csinh_test): Likewise.
16368         * sysdeps/i386/fpu/libm-test-ulps: Update.
16369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16371 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16373         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16374         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16376         * sysdeps/x86_64/x32/_itoa.h: Add comment.
16378 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16380         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16381         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16382         * sysdeps/powerpc/soft-fp/Versions: Likewise.
16383         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16384         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16385         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16386         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16387         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16388         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16389         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16390         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16391         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16392         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16393         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16394         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16395         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16396         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16397         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16398         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16399         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16400         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16401         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16402         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16403         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16404         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16405         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16406         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16407         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16408         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16409         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16410         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16412 2012-05-18  Andreas Jaeger  <aj@suse.de>
16414         * csu/.gitignore: Delete.
16416 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16418         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16419         (timex): Use __syscall_slong_t.
16421 2012-05-18  Andreas Jaeger  <aj@suse.de>
16422             Carlos O'Donell  <carlos_odonell@mentor.com>
16424         * manual/install.texi (Configuring and compiling): Update
16425         description about files modified in the source directory.
16426         * INSTALL: Regenerated.
16428 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16430         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16431         value.  Use "or" to set return value to -1.
16432         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16433         negate return value.
16435 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16437         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16438         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16439         failure if the compiler has Graphite support disabled.
16440         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16441         Likewise.
16442         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16443         CFLAGS-memmove.c): Likewise.
16444         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16445         Likewise.
16447 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16449         * sysdeps/x86_64/x32/_itoa.h: New file.
16451         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16452         getdents system call only if kernel and user dirents have the
16453         same d_ino and d_off.
16455         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16456         LLONG_MAX != LONG_MAX.
16457         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16458         (_fitoa_word): Likewise.
16460         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16461         years.
16462         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16463         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16464         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16466         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16467         include <bits/wordsize.h>.  Check __x86_64__ instead of
16468         __WORDSIZE.
16469         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16470         if __x86_64__ is defined.  Use anonymous union on fpstate.
16472         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16473         anonymous union.
16475 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
16477         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16478         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16479         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16480         Refer to _rtld_local_ro instead of _rtld_global_ro.
16481         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16482         Likewise.
16483         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16484         Likewise.
16485         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16486         Likewise.
16487         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16488         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16489         of _rtld_global, and rtld_progname instead of _dl_argv[0].
16491         * sysdeps/powerpc/powerpc32/dl-machine.c
16492         (__elf_machine_runtime_setup) [PROF]: Don't reference
16493         _dl_prof_resolve.
16495 2012-05-18  Andreas Jaeger  <aj@suse.de>
16497         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16498         function only available for GCCs before 3.4 since GCC 3.4
16499         introduced a builtin.
16500         (lrint): Likewise.
16501         (llrintf): Likewise.
16502         (llrint): Likewise.
16503         (fmaxf): Likewise.
16504         (fmax): Likewise.
16505         (fminf): Likewise.
16506         (fmin): Likewise.
16507         (rint): Likewise.
16508         (rintf): Likewise.
16509         (nearbyint): Likewise.
16510         (nearbyintf): Likewise.
16511         (ceil): Likewise.
16512         (ceilf): Likewise.
16513         (floor): Likewise.
16514         (floorf): Likewise.
16516 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16518         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16519         on both fields and cast pointer to __syscall_ulong_t.
16521         * bits/types.h (__fsword_t): New type.
16522         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16523         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16525         (__FSWORD_T_TYPE): Likewise.
16526         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16527         (__FSWORD_T_TYPE): Likewise.
16528         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16529         (__FSWORD_T_TYPE): Likewise.
16530         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16531         (__FSWORD_T_TYPE): Likewise.
16532         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16533         __SWORD_TYPE with __fsword_t.
16534         (statfs64): Likewise.
16536 2012-05-17  David S. Miller  <davem@davemloft.net>
16538         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16540 2012-05-17  Andreas Jaeger  <aj@suse.de>
16542         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16543         warning.
16545 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16547         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16549 2012-05-17  Andreas Jaeger  <aj@suse.de>
16551         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16552         when it is used.
16554 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16556         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16558 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16560         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16561         * sysdeps/x86_64/tst-mallocalign1.c: New file.
16563 2012-05-17  Andreas Jaeger  <aj@suse.de>
16564             Carlos O'Donell  <carlos_odonell@mentor.com>
16566         [BZ #14059]
16567         * sysdeps/x86_64/multiarch/init-arch.h
16568         (bit_YMM_Usable): Rename to...
16569         (bit_AVX_Usable): ... this.
16570         (bit_FMA4_Usable): New macro.
16571         (bit_XMM_state): New macro.
16572         (bit_YMM_state): New macro.
16573         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16574         [__ASSEMBLER__] (index_AVX_Usable): ... this.
16575         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16576         (CPUID_OSXSAVE): New macro.
16577         (CPUID_AVX): New macro.
16578         (CPUID_FMA4): New macro.
16579         (index_YMM_Usable): Rename to...
16580         (index_AVX_Usable): ... this.
16581         (HAS_AVX): Use HAS_ARCH_FEATURE.
16582         (HAS_FMA4): Likewise.
16583         (HAS_YMM_USABLE): Remove.
16584         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16585         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16586         are present.
16587         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16588         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16589         * sysdeps/x86_64/multiarch/Makefile: Likewise.
16590         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16591         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16593 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16595         * math/libm-test.c: Support platforms without multiple rounding modes.
16596         * math/bug-nextafter.c: Support platforms without FP exceptions.
16597         * math/bug-nexttoward.c: Likewise.
16598         * math/test-fenv.c: Likewise.
16599         * math/test-misc.c: Likewise.
16600         * stdlib/bug-getcontext.c: Likewise.
16602 2012-05-17  Andreas Jaeger  <aj@suse.de>
16604         * manual/examples/search.c (critter_cmp): Change signature to
16605         avoid warnings.
16606         * manual/string.texi (Collation Functions): Likewise.
16608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16610         * bits/types.h: Fold copyright years.
16611         * bits/typesizes.h: Likewise.
16612         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16613         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16614         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16615         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16616         * time/time.h: Likewise.
16618 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
16620         [BZ #208]
16621         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16622         in instead of returning them.  Return void.
16623         (__libc_mallinfo): Accumulate over all arenas.
16624         (__malloc_stats): Adjust for change in int_mallinfo interface.
16626 2012-05-16  Roland McGrath  <roland@hack.frob.com>
16628         [BZ #10375]
16629         * configure.in (NM): Add AC_CHECK_TOOL for it.
16630         (libc_extra_cflags): New substituted variable.
16631         Check for -fstack-protector being used implicitly.
16632         * configure: Regenerated.
16633         * config.make.in (config-extra-cflags): New variable,
16634         gets @libc_extra_cflags@.
16635         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16637         [BZ #10375]
16638         * configure.in: Check for _FORTIFY_SOURCE being predefined.
16639         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16640         * configure: Regenerated.
16641         * config.make.in (CPPUNDEFS): New substituted variable.
16642         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16643         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16644         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16646 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16648         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16649         (mq_attr): Use __syscall_slong_t.
16651 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16653         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16654         Check __x86_64__ instead of __WORDSIZE.
16655         (_STAT_VER_LINUX): Likewise.
16656         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
16657         __syscall_ulong_t and __syscall_slong_t.
16658         (stat64): Likewise.
16660 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16662         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16664 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16666         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16668 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16670         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16671         __syscall_ulong_t.
16673         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16674         include <bits/wordsize.h>.  Check __x86_64__ instead of
16675         __WORDSIZE.
16676         (greg_t): Use "__extension__ long long int" if __x86_64__ is
16677         defined.
16678         (mcontext_t): Replace "unsigned long" with "unsigned long long".
16680         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16681         include <bits/wordsize.h>.  Check __x86_64__ instead of
16682         __WORDSIZE.
16683         (user_regs_struct): Use "__extension__ unsigned long long"
16684         instead of "unsigned long" if __x86_64__ is defined.
16685         (user): Likewise.  Pad after pointer field if __ILP32__ is
16686         defined.
16688 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
16690         * configure.in (makeinfo): Require version 4.5 or later.  Allow
16691         versions 5 to 9.
16692         * configure: Regenerated.
16693         * manual/install.texi (texinfo): Increase version requirement to
16694         4.5 or later.
16695         * INSTALL: Regenerated.
16697         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16699 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16701         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16703         * sysdeps/x86_64/x32/ffs.c: New file.
16705         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16706         __syscall_ulong_t.
16707         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16708         defined.  Use __syscall_ulong_t.
16709         (shminfo): Use __syscall_ulong_t.
16710         (shm_info): Likewise.
16712         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16713         __syscall_ulong_t.
16715         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16716         <bits/wordsize.h>.
16717         (msgqnum_t): Use __syscall_ulong_t.
16718         (msglen_t): Likewise.
16719         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
16720         __syscall_ulong_t.
16722         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16723         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16725         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16727         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16728         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16730         * sysvipc/sys/msg.h (msgbuf): Replace long int with
16731         __syscall_slong_t.
16733         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16734         include <bits/wordsize.h>.  Check __x86_64__ instead of
16735         __WORDSIZE.
16737         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16738         "unsigned long long int" if __x86_64__ is defined.
16739         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16741         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16742         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16743         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16745         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16746         <stdint.h>.
16747         (GET_PC): Cast to uintptr_t first.
16748         (GET_FRAME): Likewise.
16749         (GET_STACK): Likewise.
16751         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16752         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16753         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16754         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16755         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16756         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16757         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16758         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16759         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16760         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16761         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16762         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16763         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16764         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16765         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16766         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16767         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16768         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16769         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16770         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16771         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16772         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16773         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16774         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16775         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16776         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16777         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16778         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16779         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16781 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
16783         * Makerules (+depfiles): Also collect depfiles from .oS in
16784         $(extra-objs).
16785         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16786         .oS, $(libnldbl-routines)).
16788         * Makerules (native-compile-mkdep-flags): Define.
16789         * sunrpc/Makefile (extra-objs): Add $(addprefix
16790         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16791         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16792         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
16793         calling $(make-target-directory).
16795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16797         * bits/types.h (__snseconds_t): Removed.
16798         * time/time.h (struct timespec): Replace __snseconds_t with
16799         __syscall_slong_t.
16800         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16801         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16802         Likewise.
16803         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16804         (__SNSECONDS_T_TYPE): Likewise.
16805         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16806         (__SNSECONDS_T_TYPE): Likewise.
16807         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16808         (__SNSECONDS_T_TYPE): Likewise.
16810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16812         * sysdeps/mach/hurd/bits/typesizes.h
16813         (__SYSCALL_SLONG_TYPE): New macro.
16814         (__SYSCALL_ULONG_TYPE): Likewise.
16816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16818         * bits/types.h (__syscall_slong_t): New type.
16819         (__syscall_ulong_t): Likewise.
16821         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16822         (__SYSCALL_ULONG_TYPE): Likewise.
16823         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16824         (__SYSCALL_SLONG_TYPE): Likewise.
16825         (__SYSCALL_ULONG_TYPE): Likewise.
16826         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16827         (__SYSCALL_SLONG_TYPE): Likewise.
16828         (__SYSCALL_ULONG_TYPE): Likewise.
16829         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16830         (__SYSCALL_SLONG_TYPE): Likewise.
16831         (__SYSCALL_ULONG_TYPE): Likewise.
16833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16835         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16836         Add sigaltstack-offsets.sym.
16837         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16838         <sigaltstack-offsets.h>.
16839         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
16840         longjmp_msg pointer.
16841         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
16842         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16843         signal stack.
16844         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16846 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
16848         * elf/stackguard-macros.h: Remove file.
16849         * sysdeps/generic/stackguard-macros.h: New file.
16850         * sysdeps/i386/stackguard-macros.h: Likewise.
16851         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16852         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16853         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16854         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16855         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16856         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16857         * sysdeps/x86_64/stackguard-macros.h: Likewise.
16858         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16859         <elf/stackguard-macros.h>.
16861         [BZ #14109]
16862         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16863         __aligned__ in attribute.
16864         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16865         (gregset_t): Likewise.
16867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16869         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16870         * sysdeps/x86_64/64/Implies-after: Here.  New file.
16871         * sysdeps/x86_64/x32/Implies-after: New file.
16873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16875         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16876         and access return value for _dl_profile_fixup.  Use R10_LP to
16877         load frame size.
16879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16881         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16885         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16886         * sysdeps/x86_64/x32/sysdep.h: New file.
16888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16890         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16891         * sysdeps/x86_64/setjmp.S: Likewise.
16893 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16895         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16896         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16897         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16898         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16899         remove unused global constant.
16901 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
16903         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16904         include of <not-cancel.h>.
16906 2012-05-15  Roland McGrath  <roland@hack.frob.com>
16908         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16910 2012-05-15  Jeff Law  <law@redhat.com>
16911             Andreas Jaeger  <aj@suse.de>
16913         [BZ #13594]
16914         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16915         out from...
16916         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16917         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16918         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16919         code changing __hst_map_handle.map.
16921 2012-05-15  Roland McGrath  <roland@hack.frob.com>
16923         * configure.in (sysnames): Look for Implies-before and Implies-after
16924         files.
16925         * configure: Regenerated.
16927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16929         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16930         8-byte data alignment with LP_SIZE alignment.
16932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16934         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16935         into R10_LP.
16937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16939         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16943         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16944         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16945         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16946         Likewise.
16947         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16951         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16952         (stackinfo_sub_sp): Likewise.
16954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16956         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16957         RAX_LP.
16959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16961         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16962         into R*_LP.
16964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16966         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16967         sizes into R*_LP.
16969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16971         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16975         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16976         into R11_LP and load __x86_64_shared_cache_size_half into
16977         R8_LP.
16979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16981         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16982         R8_LP.
16984 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16986         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16987         logb for POWER7.
16988         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16989         logbf for POWER7.
16990         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16991         logbl for POWER7.
16992         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16993         powerpc32/power7/fpu/s_logb.c via #include.
16994         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16995         powerpc32/power7/fpu/s_logbf.c via #include.
16996         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16997         powerpc32/power7/fpu/s_logbl.c via #include.
16999 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17001         * README.libm: Remove file.
17003 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17005         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17006         count for x32.  Use R*_LP and omit operand-size suffix.
17008 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17010         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17011         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17012         * sysdeps/x86_64/x32/shlib-versions: New file.
17014 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17016         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17017         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17018         Use _dl_fatal_printf instead.
17020 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17022         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17023         set if not set by the user.  Do not allow for being unset.
17024         * sysdeps/unix/sysv/linux/configure: Regenerated.
17026 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17028         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17029         the `q' suffix from lea and replace .quad with ASM_ADDR.
17031 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17034         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17035         instead of $17.
17036         (PTR_DEMANGLE): Likewise.
17038 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17040         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17041         (LP_OP): Likewise.
17042         (ASM_ADDR): Likewise.
17043         (RAX_LP): Likewise.
17044         (RBP_LP): Likewise.
17045         (RBX_LP): Likewise.
17046         (RCX_LP): Likewise.
17047         (RDI_LP): Likewise.
17048         (RSI_LP): Likewise.
17049         (RSP_LP): Likewise.
17050         (R8_LP): Likewise.
17051         (R9_LP): Likewise.
17052         (R10_LP): Likewise.
17053         (R10_LP): Likewise.
17054         (R11_LP): Likewise.
17055         (R12_LP): Likewise.
17056         (R13_LP): Likewise.
17057         (R14_LP): Likewise.
17058         (R15_LP): Likewise.
17060 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17062         * sysdeps/x86_64/x32/dl-machine.h: New file.
17064 2012-05-14  Andreas Jaeger  <aj@suse.de>
17066         * manual/Makefile (subdir): Remove export of subdir.
17067         (all): Remove target.
17068         (.PHONY): Remove all from list.
17069         (mkinstalldirs): Remove.
17070         (.PHONY): Remove installdirs from list.
17071         ($(inst_infodir)/libc.info): Use make-target-directory.
17072         (installdirs): Remove.
17073         (subdir_%): Remove.
17074         (glibc-targets): Remove.
17075         (lib): Remove.
17076         (stubs): Remove.
17077         ($(objpfx)stubs ../po/manual.pot): Remove.
17078         ($(objpfx)stamp%): Remove.
17079         (make-target-directory): Remove.
17080         (subdir_install): Remove.
17081         (routines): Remove.
17082         (aux): Remove.
17083         (sources): Remove.
17084         (objects): Remove.
17085         (headers): Remove.
17087         [BZ #13750]
17088         * manual/.gitignore: Remove, it's not needed anymore.
17089         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17090         all files in it.
17091         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17092         directory.
17093         (texis): Renamed to $(objpfx)texis.
17094         (texis-path): New, contains path to generated files.
17095         (chapters.%): Use texis-path for complete path, add extra argument
17096         libc-texinfo.sh.
17097         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17098         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17099         (summary,texi, stamp-summary): Use complete path of
17100         files. Generate files in build dir.
17101         (dir-add.texi): Build in build dir.
17102         (libm-err.texi,stamp-libm-err): Likewise.
17103         (version.texi, stamp-version): Likewise.
17104         (.%c.texi): Likewise.
17105         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17106         (mostlyclean): Remove target.
17107         (realclean): Remove target.
17108         (generated): Add new variable with contents from mostlyclean and
17109         realclean, remove entries duplicated in common-mostlyclean, add
17110         stamp-libm-err and stamp-version.
17111         (generated-dirs): Add libc directory.
17112         ($(inst_infodir)/libc.info): Install files from build dir.
17114         * manual/install.texi (Configuring and compiling): Adjust since
17115         the info files are not part of the tar ball anymore.
17117 2012-05-14  Andreas Jaeger  <aj@suse.de>
17119         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17120         variable.
17122 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17124         [BZ #13717]
17125         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17126         to 2.2.0 where earlier.
17127         * sysdeps/unix/sysv/linux/configure: Regenerated.
17128         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17129         Remove conditional code.
17130         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17131         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17132         Remove conditional code.
17133         [!__NR_lchown]: Likewise.
17134         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17135         [__NR_lchown]: Likewise.
17136         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17137         comment referencing __ASSUME_LCHOWN_SYSCALL.
17138         * sysdeps/unix/sysv/linux/i386/sigaction.c
17139         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17140         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17141         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17142         Remove conditional code.
17143         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17144         (__protocol_available): Remove #if 0 code.
17145         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17146         conditional code.
17147         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17148         * sysdeps/unix/sysv/linux/kernel-features.h
17149         (__ASSUME_GETCWD_SYSCALL): Don't define.
17150         (__ASSUME_REALTIME_SIGNALS): Likewise.
17151         (__ASSUME_PREAD_SYSCALL): Likewise.
17152         (__ASSUME_PWRITE_SYSCALL): Likewise.
17153         (__ASSUME_POLL_SYSCALL): Likewise.
17154         (__ASSUME_LCHOWN_SYSCALL): Likewise.
17155         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17156         non-SPARC.
17157         (__ASSUME_SIOCGIFNAME): Don't define.
17158         (__ASSUME_MSG_NOSIGNAL): Likewise.
17159         (__ASSUME_SENDFILE): Define unconditionally.
17160         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17161         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17162         conditional code.
17163         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17164         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17165         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17166         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17167         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17168         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17169         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17171         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17172         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17174         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17175         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17177         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17178         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17180         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17181         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17183         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17184         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17186         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17187         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17189         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17190         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17192         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17193         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17194         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17195         Remove conditional code.
17196         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17197         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17198         Remove conditional code.
17199         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17200         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17201         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17202         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17203         Remove conditional code.
17204         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17205         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17206         Remove conditional code.
17207         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17208         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17209         Remove conditional code.
17210         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17211         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17212         Remove conditional code.
17213         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17214         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17215         Remove conditional code.
17216         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17217         * sysdeps/unix/sysv/linux/sh/pwrite64.c
17218         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17219         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17220         * sysdeps/unix/sysv/linux/sigaction.c
17221         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17222         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17223         * sysdeps/unix/sysv/linux/sigpending.c
17224         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17225         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17226         * sysdeps/unix/sysv/linux/sigprocmask.c
17227         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17228         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17229         * sysdeps/unix/sysv/linux/sigsuspend.c
17230         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17231         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17232         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17233         (__libc_missing_rt_sigs): Remove.
17234         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17235         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17236         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17237         Remove conditional code.
17238         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17239         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17240         return 1.
17241         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17242         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17243         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17244         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17246 2012-05-14  Andreas Jaeger  <aj@suse.de>
17248         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17249         it's not used in glibc.
17250         (__coshm1): Likewise.
17251         (__acosh1p): Likewise.
17252         (__sgn): Likewise.
17254         * manual/string.texi (Copying and Concatenation): Add missing
17255         variable in concat example.
17256         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17258 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17260         [BZ #14103]
17261         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17262         __builtin_clzl with __builtin_clzll.
17264 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17266         [BZ #14104]
17267         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17268         libc_freeres_ptr.
17270 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17272         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17273         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17274         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17275         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17277 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
17279         * NEWS: Update ia64 info.
17281 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
17283         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17284         used as bcopy.
17286 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
17288         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17289         * sysdeps/unix/syscalls.list (dup3): Likewise.
17290         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17291         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17293 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17295         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17296         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17298 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17300         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17301         thread pointer.
17302         (TLS_IE): Use mov/add instead of movq/addq to load thread
17303         pointer.
17304         (TLS_GD_PREFIX): New.
17305         (TLS_GD): Use it.
17307 2012-05-11  David S. Miller  <davem@davemloft.net>
17309         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17310         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17311         (_FPU_SETCW): Likewise.
17313 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17315         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17316         is 32-byte aligned.
17318 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
17320         [BZ #11837]
17321         * iconvdata/gb18030.c: Update tables.
17322         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
17323         characters specially.
17324         (BODY for TO_LOOP): Add encoding of missing ranges.
17326 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
17328         [BZ #13673]
17329         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17330         * sysdeps/mach/hurd/dup3.c: Likewise.
17331         * sysdeps/mach/hurd/readlinkat.c: Likewise.
17332         * sysdeps/powerpc/memmove.c:: Likewise.
17334 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17336         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17337         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17339 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17341         * elf/elf.h (R_X86_64_RELATIVE64): New.
17342         (R_X86_64_NUM): Updated.
17343         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17344         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
17345         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17346         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17347         tst-quad1pie tst-quad2pie
17348         (modules-names): Add tst-quadmod1 tst-quadmod2.
17349         ($(objpfx)tst-quad1): New dependency.
17350         ($(objpfx)tst-quad2): Likewise.
17351         ($(objpfx)tst-quad1pie): Likewise.
17352         ($(objpfx)tst-quad2pie): Likewise.
17353         * sysdeps/x86_64/tst-quad1.c: New file.
17354         * sysdeps/x86_64/tst-quad1pie.c: New file.
17355         * sysdeps/x86_64/tst-quad2.c: Likewise.
17356         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17357         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17358         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17359         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17360         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17362 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17364         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17365         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17366         * streams/stropts.h (t_scalar_t): Define type.
17368         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17369         (_PATH_PRESERVE): Set to "/var/lib".
17370         (_PATH_RWHODIR): Set to "/var/spool/rwho".
17372         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17373         instead of int.
17375         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17376         if __dir_mkfile succeeded.
17378         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17379         checking for _hurd_dtablesize.  Unlock it right after having
17380         finished _hurd_dtable allocation.
17382 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17384         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17385         * sysdeps/mach/hurd/configure: Regenerated.
17386         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17387         special-casing to...
17388         * sysdeps/gnu/configure.in: ... this new file.
17389         * sysdeps/unix/sysv/linux/configure: Regenerated.
17390         * sysdeps/gnu/configure: New generated file.
17392         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17393         for Linux: use nsec instead of usec, as well as:
17394         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17395         members of type struct timespec.
17396         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17397         New macros.
17398         (struct stat64): Likewise.
17399         (_STATBUF_ST_NSEC): New macro.
17400         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17402         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17403         __strtoul_internal rather than strtoul.
17405 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17407         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17408         and reject them.
17410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17412         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17413         which preserves existing values.
17414         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17416 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17418         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17419         TIMEOUT values.  Return EINVAL for NFDS values either negative or
17420         greater than FD_SETSIZE.
17422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17424         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17425         allocated, call __vm_protect to finish enabling the existing space, and
17426         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17427         allocate the remainder.
17429 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17431         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17432         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
17434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17436         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17437         sysdeps/mach/hurd/readlink.c.
17439         * posix/tst-sysconf.c (posix_options): Only use
17440         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17441         _POSIX_SYNCHRONIZED_IO when they are defined
17442         * sysdeps/mach/hurd/bits/posix_opt.h:
17443         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17444         (_XOPEN_REALTIME): Undefine macro.
17445         (_XOPEN_REALTIME_THREADS): Undefine macro.
17446         (_XOPEN_SHM): Undefine macro.
17447         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17448         macro to -1.
17449         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17450         macro to -1.
17451         (_POSIX_ASYNC_IO): Undefine macro.
17452         (_POSIX_PRIORITIZED_IO): Undefine macro.
17453         (_POSIX_SPIN_LOCKS): Define macro to -1.
17455         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17456         SA_NODEFER, SA_RESETHAND.
17457         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17458         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17459         F_DUPFD_CLOEXEC.
17461 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17463         * elf/Makefile (pldd-modules): Define unconditionally.
17465 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17467         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17471         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17472         Return ENOENT when name is empty.
17473         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17475 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17477         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17479         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17483         Fix mlock in all cases except non-readable pages.
17484         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17485         instead of VM_PROT_ALL as parameter to __vm_wire function.
17487         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17488         (__mkdir): When path is `/', just fail with EEXIST.
17489         * sysdeps/mach/hurd/mkdirat.c: Likewise.
17491 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17493         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17494         <sys/uio.h> (for writev).
17495         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17496         and <sys/param.h> (for MIN).
17498 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17500         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17501         REQUESTED_TIME.  Properly set the remaining time and return EINTR
17502         if interrupted.
17504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17506         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17507         Depend on against $(link-rpcuserlibs).
17509 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17511         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17512         (__libc_stack_end): Do not use attribute_relro.
17513         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17514         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17515         to libthread-provided value.
17516         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17517         attribute_relro.
17519 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17521         [BZ #3748]
17522         * bits/libc-lock.h (__libc_once_get): New macro.
17523         * sysdeps/mach/bits/libc-lock.h: Likewise.
17524         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17525         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17526         instead of using implementation details.
17528         * libio/fileops.c: Unconditionally include <kernel-features.h>.
17529         * libio/freopen.c: Likewise.
17530         * libio/freopen64.c: Likewise.
17531         * misc/syslog.c: Likewise.
17532         * nscd/connections.c: Likewise.
17533         * nscd/netgroupcache.c: Likewise.
17534         * sysdeps/posix/getcwd.c: Likewise.
17536 2012-05-10  Roland McGrath  <roland@hack.frob.com>
17538         * math/w_ilogbf.c: Add #include <limits.h>.
17540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17542         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17543         path instead of returning without unlocking.
17545         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17546         immediate-write ioctls.
17547         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17549 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17551         * sysdeps/mach/hurd/i386/init-first.c (init): Use
17552         __builtin_frame_address instead of making assumptions about the
17553         location of the return address relative to DATA.  Force early load of
17554         the return address.
17555         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17556         __builtin_frame_address.
17558         dup3 for GNU Hurd.
17559         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17560         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
17561         implement dup3 and do some further code clean-ups.
17562         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17563         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17565 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17567         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17569         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17570         HURD_CRITICAL_END around holding _hurd_dtable_lock.
17571         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17572         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17573         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17574         d->port.lock.
17576         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17577         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
17578         when handler == SIG_ERR, not when handler != SIG_ERR.
17580 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17582         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17583         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17584         definitions.
17586         accept4 for GNU Hurd.
17587         * include/sys/socket.h (__libc_accept4): New prototype.
17588         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
17589         to implement __libc_accept4.
17590         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17591         __libc_accept4.
17592         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17594         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17595         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17596         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17597         signal-defines.sym.
17599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17601         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17603 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17605         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17606         assertion on O_CLOEXEC flag.
17607         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17608         * hurd/intern-fd.c: Likewise.
17609         * hurd/port2fd.c: Likewise.
17611 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17613         [BZ #3906]
17614         * bits/in.h (IPV6_PKTINFO): Define new macro.
17615         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17617 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17619         [BZ #13954]
17620         [BZ #13955]
17621         [BZ #13956]
17622         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17623         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17624         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17625         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17626         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17627         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17628         * math/libm-test.inc (logb_test) : Additional logb tests.
17630 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
17631             Andreas Jaeger  <aj@suse.de>
17633         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17634         * configure: Regenerated.
17635         * config.h.in (LINK_OBSOLETE_RPC): New macro.
17636         * config.make.in (link-obsolete-rpc): New substituted variable.
17637         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17638         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17639         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17640         (shared-only-routines): Don't set it under [link-obsolete-rpc],
17641         so that libc.a contains the symbols.
17642         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17643         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17644         * sunrpc/auth_none.c: Likewise.
17645         * sunrpc/auth_unix.c: Likewise.
17646         * sunrpc/authdes_prot.c: Likewise.
17647         * sunrpc/authuxprot.c: Likewise.
17648         * sunrpc/clnt_gen.c: Likewise.
17649         * sunrpc/clnt_perr.c: Likewise.
17650         * sunrpc/clnt_raw.c: Likewise.
17651         * sunrpc/clnt_simp.c: Likewise.
17652         * sunrpc/clnt_tcp.c: Likewise.
17653         * sunrpc/clnt_udp.c: Likewise.
17654         * sunrpc/clnt_unix.c: Likewise.
17655         * sunrpc/des_crypt.c: Likewise.
17656         * sunrpc/des_soft.c: Likewise.
17657         * sunrpc/get_myaddr.c: Likewise.
17658         * sunrpc/key_call.c: Likewise.
17659         * sunrpc/key_prot.c: Likewise.
17660         * sunrpc/netname.c: Likewise.
17661         * sunrpc/pm_getmaps.c: Likewise.
17662         * sunrpc/pm_getport.c: Likewise.
17663         * sunrpc/pmap_clnt.c: Likewise.
17664         * sunrpc/pmap_prot.c: Likewise.
17665         * sunrpc/pmap_prot2.c: Likewise.
17666         * sunrpc/pmap_rmt.c: Likewise.
17667         * sunrpc/publickey.c: Likewise.
17668         * sunrpc/rpc_cmsg.c: Likewise.
17669         * sunrpc/rpc_common.c: Likewise.
17670         * sunrpc/rpc_dtable.c: Likewise.
17671         * sunrpc/rpc_prot.c: Likewise.
17672         * sunrpc/rpc_thread.c: Likewise.
17673         * sunrpc/rtime.c: Likewise.
17674         * sunrpc/svc.c: Likewise.
17675         * sunrpc/svc_auth.c: Likewise.
17676         * sunrpc/svc_raw.c: Likewise.
17677         * sunrpc/svc_run.c: Likewise.
17678         * sunrpc/svc_tcp.c: Likewise.
17679         * sunrpc/svc_udp.c: Likewise.
17680         * sunrpc/svc_unix.c: Likewise.
17681         * sunrpc/svcauth_des.c: Likewise.
17682         * sunrpc/xcrypt.c: Likewise.
17683         * sunrpc/xdr.c: Likewise.
17684         * sunrpc/xdr_array.c: Likewise.
17685         * sunrpc/xdr_float.c: Likewise.
17686         * sunrpc/xdr_intXX_t.c: Likewise.
17687         * sunrpc/xdr_mem.c: Likewise.
17688         * sunrpc/xdr_rec.c: Likewise.
17689         * sunrpc/xdr_ref.c: Likewise.
17690         * sunrpc/xdr_sizeof.c: Likewise.
17691         * sunrpc/xdr_stdio.c: Likewise.
17693 2012-05-10  Roland McGrath  <roland@hack.frob.com>
17695         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17696         change.  Update copyright years.
17698 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
17700         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17702 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
17703             Joseph Myers  <joseph@codesourcery.com>
17704             Paul Pluzhnikov  <ppluzhnikov@google.com>
17706         [BZ #14012]
17707         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17708         requiring rpcgen.
17709         [cross-compiling] (extra-libs): Likewise.
17710         [cross-compiling] (extra-libs-others): Likewise.
17711         [cross-compiling] (librpcsvc-routines): Likewise.
17712         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17713         [cross-compiling] (omit-deps): Likewise.
17714         (sunrpc-CPPFLAGS): New variable.
17715         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17716         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17717         (cross-rpcgen-objs): New variable.
17718         (extra-objs): Append $(cross-rpcgen-objs).
17719         ($(cross-rpcgen-objs)): New rule.
17720         ($(objpfx)cross-rpcgen): Likewise.
17721         (rpcgen-cmd): Define to use $(built-program-file).  Expand
17722         comment.
17723         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17724         ($(objpfx)x%.stmp): Likewise.
17725         * sunrpc/proto.h [IS_IN_build] (_): Define.
17726         [IS_IN_build] (_libc_intl_domainname): Likewise.
17728 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17730         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17731         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17732         and R_X86_64_TPOFF64.
17734 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
17736         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17737         sysdeps/unix/sysv/syscalls.list.
17738         (stime): Likewise.
17739         (utime): Likewise.
17740         * sysdeps/unix/sysv/syscalls.list: Remove file.
17742 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
17744         [BZ #3440]
17745         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17746         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17747         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17748         (__LC_IDENTIFICATION): Make these macros useful in #if
17749         expressions, as required by C99.
17751 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
17753         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17754         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
17755         after this.
17757 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
17759         * stdlib/longlong.h: Updated from GCC.
17761 2012-05-09  Andreas Jaeger  <aj@suse.de>
17763         * nscd/nscd.c (run_modes): Make named enum, reorder so that
17764         default is first entry.
17765         (run_mode): Set type.
17766         (main): Remove informal message about syslog.
17767         (options): Fix typo.
17769         [BZ #14053]
17770         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17771         to asm.
17772         (lrint): Likewise.
17773         (llrintf): Likewise.
17774         (llrint): Likewise.
17775         (rint): Likewise.
17776         (rintf): Likewise.
17777         (nearbyint): Likewise.
17778         (nearbyintf): Likewise.
17780 2012-05-09  Andreas Jaeger  <aj@suse.de>
17781             Pedro Alves  <palves@redhat.com>
17783         * nscd/nscd.c (run_mode): Use enum.
17784         (main): Cleanup coding style issue.
17786 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
17787             Andreas Jaeger  <aj@suse.de>
17789         * nscd/nscd.c (go_background): Replaced with...
17790         (run_mode): ... this.
17791         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17792         (options): Add -F --foreground.
17793         (main): Implement it.
17794         (parse_opt): Parse it.
17796 2012-05-09  Andreas Jaeger  <aj@suse.de>
17798         [BZ #14083]
17799         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17800         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17801         -Wconversion warning.
17802         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17803         Likewise.
17805 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
17807         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
17808         == 0.
17809         (LC_ALL): Use macro-int-constant.
17810         (LC_COLLATE): Likewise.
17811         (LC_CTYPE): Likewise.
17812         (LC_MESSAGES): Likewise.
17813         (LC_MONETARY): Likewise.
17814         (LC_NUMERIC): Likewise.
17815         (LC_TIME): Likewise.
17816         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17817         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17818         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17819         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17820         Specify type.
17821         [C99-based standards] (float_t): Expect type.
17822         [C99-based standards] (double_t): Expect type.
17823         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
17824         type.
17825         [C99-based standards] (HUGE_VALL): Likewise.
17826         [C99-based standards] (INFINITY): Likewise.
17827         [C99-based standards] (NAN): Likewise.
17828         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17829         [C99-based standards] (FP_NAN): Likewise.
17830         [C99-based standards] (FP_NORMAL): Likewise.
17831         [C99-based standards] (FP_SUBNORMAL): Likewise.
17832         [C99-based standards] (FP_ZERO): Likewise.
17833         [C99-based standards] (FP_FAST_FMA): Use
17834         optional-macro-int-constant.  Specify type.  Require == 1.
17835         [C99-based standards] (FP_FAST_FMAF): Likewise.
17836         [C99-based standards] (FP_FAST_FMAL): Likewise.
17837         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17838         [C99-based standards] (FP_ILOGBNAN): Likewise.
17839         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17840         Specify type.
17841         [C99-based standards] (MATH_ERREXCEPT): Likewise.
17842         [C99-based standards] (math_errhandling): Specify type.
17843         [ISO99 || ISO11] (signgam): Do not allow.
17844         [non-C99-based standards] (copysignf): Do not allow.
17845         [non-C99-based standards] (exp2f): Likewise.
17846         [non-C99-based standards] (log2f): Likewise.
17847         [non-C99-based standards] (modff): Allow.
17848         [non-C99-based standards] (erff): Do not allow.
17849         [non-C99-based standards] (erfcf): Likewise.
17850         [non-C99-based standards] (gammaf): Likewise.
17851         [non-C99-based standards] (hypotf): Likewise.
17852         [non-C99-based standards] (j0f): Likewise.
17853         [non-C99-based standards] (j1f): Likewise.
17854         [non-C99-based standards] (jnf): Likewise.
17855         [non-C99-based standards] (lgammaf): Likewise.
17856         [non-C99-based standards] (tgammaf): Likewise.
17857         [non-C99-based standards] (y0f): Likewise.
17858         [non-C99-based standards] (y1f): Likewise.
17859         [non-C99-based standards] (ynf): Likewise.
17860         [non-C99-based standards] (isnanf): Likewise.
17861         [non-C99-based standards] (acoshf): Likewise.
17862         [non-C99-based standards] (asinhf): Likewise.
17863         [non-C99-based standards] (atanhf): Likewise.
17864         [non-C99-based standards] (cbrtf): Likewise.
17865         [non-C99-based standards] (expm1f): Likewise.
17866         [non-C99-based standards] (ilogbf): Likewise.
17867         [non-C99-based standards] (log1pf): Likewise.
17868         [non-C99-based standards] (logbf): Likewise.
17869         [non-C99-based standards] (nextafterf): Likewise.
17870         [non-C99-based standards] (remainderf): Likewise.
17871         [non-C99-based standards] (rintf): Likewise.
17872         [non-C99-based standards] (scalbf): Likewise.
17873         [non-C99-based standards] (copysignl): Likewise.
17874         [non-C99-based standards] (exp2l): Likewise.
17875         [non-C99-based standards] (log2l): Likewise.
17876         [non-C99-based standards] (modfl): Allow.
17877         [non-C99-based standards] (erfl): Do not allow.
17878         [non-C99-based standards] (erfcl): Likewise.
17879         [non-C99-based standards] (gammal): Likewise.
17880         [non-C99-based standards] (hypotl): Likewise.
17881         [non-C99-based standards] (j0l): Likewise.
17882         [non-C99-based standards] (j1l): Likewise.
17883         [non-C99-based standards] (jnl): Likewise.
17884         [non-C99-based standards] (lgammal): Likewise.
17885         [non-C99-based standards] (tgammal): Likewise.
17886         [non-C99-based standards] (y0l): Likewise.
17887         [non-C99-based standards] (y1l): Likewise.
17888         [non-C99-based standards] (ynl): Likewise.
17889         [non-C99-based standards] (isnanl): Likewise.
17890         [non-C99-based standards] (acoshl): Likewise.
17891         [non-C99-based standards] (asinhl): Likewise.
17892         [non-C99-based standards] (atanhl): Likewise.
17893         [non-C99-based standards] (cbrtl): Likewise.
17894         [non-C99-based standards] (expm1l): Likewise.
17895         [non-C99-based standards] (ilogbl): Likewise.
17896         [non-C99-based standards] (log1pl): Likewise.
17897         [non-C99-based standards] (logbl): Likewise.
17898         [non-C99-based standards] (nextafterl): Likewise.
17899         [non-C99-based standards] (remainderl): Likewise.
17900         [non-C99-based standards] (rintl): Likewise.
17901         [non-C99-based standards] (scalbl): Likewise.
17902         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17903         [non-C99-based standards] (FP_*): Do not allow.
17904         [C99-based standards] (FP_*): Change to
17905         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17906         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17907         allow.
17908         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17909         (SIG_ERR): Likewise.
17910         [X/Open-based standards] (SIG_HOLD): Likewise.
17911         (SIG_IGN): Likewise.
17912         (SIGABRT): Use macro-int-constant.  Specify type.  Require
17913         positive value.
17914         (SIGFPE): Likewise.
17915         (SIGILL): Likewise.
17916         (SIGINT): Likewise.
17917         (SIGSEGV): Likewise.
17918         (SIGTER): Likewise.
17919         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17920         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17921         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17922         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17923         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17924         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17925         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17926         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17927         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17928         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17929         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17930         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17931         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17932         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17933         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17934         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17935         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17936         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17937         [X/Open-based standards] (SIGTRAP): Likewise.
17938         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17939         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17940         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17941         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17942         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17943         allow.
17945 2012-05-08  Ian Wienand  <ianw@vmware.com>
17947         [BZ #14080]
17948         * time/tzset.c (__tzset_parse_tz): Update default rules for
17949         daylight time changes in the Energy Policy Act of 2005.
17951 2012-05-09  Andreas Jaeger  <aj@suse.de>
17953         [BZ #13983]
17954         * elf/ldconfig.c (parse_conf): Change string to make clear that
17955         ldconfig only issued a warning if ld.so.conf does not exist.
17957 2012-05-08  David S. Miller  <davem@davemloft.net>
17959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17960         movxtod instead of popping the value on the stack.
17962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17964 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
17966         * config.h.in: Add HAVE_ARM_PCS_VFP.
17968 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
17970         [BZ #13979]
17971         * include/features.h: Warn if user requests __FORTIFY_SOURCE
17972         checking but the checks are disabled for any reason.
17974 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17976         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17977         and ELF64_R_TYPE with ELFW(R_TYPE).
17979 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
17981         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17982         (ulimit): Likewise.
17984         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17985         (settimeofday): Likewise.
17987 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
17989         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
17990         a struct th_u2 inside the union, and move tu_block/tu_code into
17991         a new th_u3 union of tu_block/tu_code inside of that.  Move
17992         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
17993         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
17994         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17995         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17996         (th_stuff): Change to th_u1.tu_stuff.
17997         (th_data): Define.
17998         (th_msg): Change to th_u1.th_u2.tu_data.
18000 2012-05-07  David S. Miller  <davem@davemloft.net>
18002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18004         [BZ #14074]
18005         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18006         (SETUP_PIC_REG): Use it.
18007         (SETUP_PIC_REG_LEAF): Use it.
18009 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18011         [BZ #13885]
18012         [BZ #13923]
18013         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18014         USE_AS_EXPM1L.
18015         (EXPL_FINITE): Likewise.
18016         (FLDLOG): Likewise.
18017         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18018         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18019         e_expl.S.
18020         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18021         USE_AS_EXPM1L.
18022         (EXPL_FINITE): Likewise.
18023         (FLDLOG): Likewise.
18024         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18025         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18026         e_expl.S.
18027         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18028         test of -max_value argument for long double.
18029         * sysdeps/i386/fpu/libm-test-ulps: Update.
18030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18032 2012-05-06  David S. Miller  <davem@davemloft.net>
18034         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18035         quad soft-float symbols whose references which are compiler
18036         generated.
18037         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18039 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18041         [BZ #13884]
18042         [BZ #13914]
18043         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18044         USE_AS_EXP10L.
18045         (EXPL_FINITE): Likewise.
18046         (FLDLOG): Likewise.
18047         (c0): Likewise.
18048         (c1): Likewise.
18049         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18050         Adjust comments for base varying.
18051         (__expl_finite): Change alias to EXPL_FINITE.
18052         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18053         e_expl.S.
18054         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18055         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18056         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18057         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18058         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18059         USE_AS_EXP10L.
18060         (EXPL_FINITE): Likewise.
18061         (FLDLOG): Likewise.
18062         (c0): Likewise.
18063         (c1): Likewise.
18064         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18065         Adjust comments for base varying.
18066         (__expl_finite): Change alias to EXPL_FINITE.
18067         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
18068         tests for bugs.
18069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18071         [BZ #14064]
18072         * math/libm-test.inc (check_float_internal): Correct ulp
18073         calculation for subnormal expected results.
18075 2012-05-06  Andreas Jaeger  <aj@suse.de>
18077         * Makeconfig (+math-flags): New, set to -frounding-math.
18078         (+cflags): Add +math-flags so that all of glibc gets compiled with
18079         it.
18081         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18083 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
18085         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18086         Disable one test.
18088         [BZ #13787]
18089         [BZ #13922]
18090         [BZ #14036]
18091         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18092         (__ieee754_expl): Allow for and saturate large arguments.
18093         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18094         (u_threshold): Likewise.
18095         (__exp): Call __ieee754_exp before checking for overflow and
18096         underflow.
18097         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18098         (u_threshold): Likewise.
18099         (__expf): Call __ieee754_expf before checking for overflow and
18100         underflow.
18101         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18102         (u_threshold): Likewise.
18103         (__expl): Call __ieee754_expl before checking for overflow and
18104         underflow.
18105         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18106         (__ieee754_expl): Allow for and saturate large arguments.
18107         * math/libm-test.inc (exp_test): Add another test.  Do not allow
18108         missing overflow exception on overflow.
18109         (expm1_test): Do not allow missing overflow exception on overflow.
18111         * sysdeps/i386/fpu/e_expl.c: Move to ...
18112         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
18113         rather than using inline asm.
18114         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18115         * sysdeps/x86_64/fpu/e_expl.S: Copy from
18116         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18118         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18119         (nice): Likewise.
18120         (poll): Likewise.
18121         (signal): Likewise.
18122         (time): Likewise.
18123         (times): Likewise.
18125 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18127         * sysdeps/unix/syscalls.list (adjtime): Add entry from
18128         sysdeps/unix/common/syscalls.list.
18129         (fchmod): Likewise.
18130         (fchown): Likewise.
18131         (ftruncate): Likewise.
18132         (getrusage): Likewise.
18133         (gettimeofday): Likewise.
18134         (setpgid): Likewise.
18135         (setregid): Likewise.
18136         (setreuid): Likewise.
18137         (sigaction): Likewise.
18138         (truncate): Likewise.
18139         (vhangup): Likewise.
18140         * sysdeps/unix/common/syscalls.list: Remove file.
18141         * sysdeps/unix/bsd/Implies: Don't include unix/common.
18142         * sysdeps/unix/sysv/linux/Implies: Likewise.
18144 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
18146         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18148         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18149         Moved to ...
18150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18151         Here.
18152         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18153         to ...
18154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18155         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18156         to ...
18157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18158         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18159         to ...
18160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18161         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18162         to ...
18163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18164         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18165         to ...
18166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18167         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18168         to ...
18169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18170         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18171         to ...
18172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18173         Here.
18174         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18175         to ...
18176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18177         Here.
18178         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18179         to ...
18180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18181         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18182         Moved to ...
18183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18184         Here.
18185         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18186         to ...
18187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18189 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18191         * sysdeps/unix/common/bits/dirent.h: Remove file.
18192         * sysdeps/unix/common/bits/fcntl.h: Likewise.
18194         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18195         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18196         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18197         * sysdeps/unix/bsd/isatty.c: Likewise.
18198         * sysdeps/unix/bsd/tcdrain.c: Likewise.
18199         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18200         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18202 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18204         [BZ #13563]
18205         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18206         long double comparison inaccuracies.
18207         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18210 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
18212         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18213         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18215 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18217         [BZ #14049]
18218         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18219         nonzero digits before rounding a hex value.
18220         * stdlib/tst-strtod.c (tests): Add another test.
18222 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18224         * sysdeps/s390/fpu/libm-test-ulps: Update.
18226 2012-05-03  Andreas Jaeger  <aj@suse.de>
18228         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18229         does not get optimized out.
18230         (malloc_opt_barrier): New.
18232 2012-05-03  Andreas Jaeger  <aj@suse.de>
18233             Roland McGrath  <roland@hack.frob.com>
18235         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18236         intermediate file deletion.
18237         (generated): Add .symlist files.
18239 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
18241         [BZ #13775]
18242         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18243         Redirect under this condition.
18244         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18245         [__USE_GNU] (__dprintf_chk): Not under this condition.
18246         [__USE_GNU] (__vdprintf_chk): Likewise.
18247         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18248         under this condition.
18249         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18250         [__USE_XOPEN2K8] (dprintf): Define under this condition.
18251         [__USE_XOPEN2K8] (vdprintf): Likewise.
18252         [__USE_GNU] (__dprintf_chk): Not under this condition.
18253         [__USE_GNU] (__vdprintf_chk): Likewise.
18254         [__USE_GNU] (dprintf): Likewise.
18255         [__USE_GNU] (vdprintf): Likewise.
18257 2012-05-03  Roland McGrath  <roland@hack.frob.com>
18259         * elf/Makefile (common-generated): Set this instead of generated for
18260         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
18261         $(all-built-dso)-derived lists.
18263 2012-05-03  Andreas Jaeger  <aj@suse.de>
18265         * sysdeps/i386/fpu/libm-test-ulps: Update.
18267         * FAQ: Removed.
18268         * FAQ.in: Likewise.
18269         * scripts/gen-FAQ.pl: Likewise.
18270         * manual/install.texi (Installation): Point to online location of
18271         FAQ.
18272         * Makefile (files-for-dist): Remove FAQ.
18273         (FAQ): Remove.
18275 2012-05-02  Allan McRae  <allan@archlinux.org>
18277         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18278         (LDFLAGS-reldepmod5.so): Likewise.
18279         (LDFLAGS-reldep6mod1.so): Likewise.
18280         (LDFLAGS-reldep6mod4.so): Likewise.
18281         (LDFLAGS-reldep8mod3.so): Likewise.
18282         (LDFLAGS-unload4mod1.so): Likewise.
18283         (LDFLAGS-unload4mod2.so): Likewise.
18284         (LDFLAGS-tst-initorder): Likewise.
18285         (LDFLAGS-tst-initordera2.so): Likewise.
18286         (LDFLAGS-tst-initordera3.so): Likewise.
18287         (LDFLAGS-tst-initordera4.so): Likewise.
18288         (LDFLAGS-tst-initorderb2.so): Likewise.
18289         (LDFLAGS-noload): Likewise.
18290         (LDFLAGS-next): Likewise.
18291         (LDFLAGS-order2mod1.so): Likewise.
18292         (LDFLAGS-order2mod2.so): Likewise.
18293         (LDFLAGS-tst-initorder2): Likewise.
18294         (LDFLAGS-tst-initorder2a.so): Likewise.
18295         (LDFLAGS-tst-initorder2b.so): Likewise.
18296         (LDFLAGS-tst-initorder2c.so): Likewise.
18297         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18299 2012-05-02  David S. Miller  <davem@davemloft.net>
18301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18303 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18305         [BZ #14055]
18306         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18308 2012-05-02  Andreas Jaeger  <aj@suse.de>
18310         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18311         since we manipulate rounding mode.
18312         (CPPFLAGS-test-idouble.c): Likewise.
18313         (CPPFLAGS-test-ifloat.c): Likewise.
18314         (CFLAGS-test-ldouble.c): Likewise.
18315         (CFLAGS-test-double.c): Likewise.
18316         (CFLAGS-test-float.c): Likewise.
18317         (CFLAGS-test-misc.c): Likewise.
18318         (CFLAGS-test-test-fenv.c): Likewise.
18320 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18322         [BZ #2550]
18323         [BZ #2570]
18324         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18325         comparisons to determine direction to adjust input.
18327 2012-05-01  Roland McGrath  <roland@hack.frob.com>
18329         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18330         output to the target.
18332         * scripts/localplt.awk: New file.
18333         * elf/Makefile ($(objpfx)check-localplt): Target removed.
18334         (check-localplt-CFLAGS): Variable removed.
18335         ($(all-built-dso:=.jmprel)): New static pattern rule.
18336         (generated): Add those targets.
18337         (localplt-built-dso): New variable.
18338         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18340         * elf/check-localplt.c: File removed.
18342         * scripts/check-execstack.awk: New file.
18343         * elf/Makefile ($(objpfx)check-execstack): Target removed.
18344         (check-execstack-CFLAGS): Variable removed.
18345         ($(objpfx)check-execstack.h): Target removed.
18346         ($(objpfx)execstack-default): New target.
18347         (generated): Add that instead of check-execstack.h.
18348         ($(all-built-dso:=.phdr)): New static pattern rule.
18349         (generated): Add those targets.
18350         * elf/check-execstack.c: File removed.
18352         * scripts/check-textrel.awk: New file.
18353         * elf/Makefile ($(objpfx)check-textrel): Target removed.
18354         (check-textrel-CFLAGS): Variable removed.
18355         (all-built-dso): Use := to define.o
18356         ($(all-built-dso:=.dyn)): New static pattern rule.
18357         (generated): Add those targets.
18358         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18359         * config.make.in (READELF): New substituted variable.
18360         * elf/check-textrel.c: File removed.
18362 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18364         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18365         allow.
18366         * conform/data/ctype.h-data [C99-based standards] (isblank):
18367         Expect function.
18368         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18369         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18370         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18371         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18372         Specify type.  Require positive value.
18373         (EILSEQ): Likewise.
18374         (ERANGE): Likewise.
18375         [ISO || POSIX] (EILSEQ): Do not expect.
18376         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18377         Specify type.  Require positive value.
18378         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18379         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18380         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18381         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18382         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18383         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18384         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18385         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18386         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18387         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18388         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18389         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18390         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18391         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18392         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18393         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18394         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18395         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18396         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18397         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18398         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18399         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18400         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18401         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18402         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18403         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18404         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18405         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18406         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18407         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18408         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18409         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18410         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18411         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18412         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18413         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18414         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18415         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18416         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18417         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18418         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18419         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18420         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18421         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18422         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18423         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18424         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18425         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18426         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18427         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18428         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18429         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18430         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18431         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18432         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18433         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18434         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18435         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18436         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18437         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18438         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18439         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18440         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18441         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18442         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18443         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18444         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18445         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18446         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18447         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18448         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18449         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18450         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18451         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18452         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18453         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18454         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18455         Require >= 2.
18456         (FLT_ROUNDS): Expect as macro, not constant.
18457         (FLT_MANT_DIG): Use macro-int-constant.
18458         (DBL_MANT_DIG): Likewise.
18459         (LDBL_MANT_DIG): Likewise.
18460         (FLT_DIG): Likewise.
18461         (DBL_DIG): Likewise.
18462         (LDBL_DIG): Likewise.
18463         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
18464         (DBL_MIN_EXP): Likewise.
18465         (LDBL_MIN_EXP): Likewise.
18466         (FLT_MAX_EXP): Use macro-int-constant.
18467         (DBL_MAX_EXP): Likewise.
18468         (LDBL_MAX_EXP): Likewise.
18469         (FLT_MAX_10_EXP): Likewise.
18470         (DBL_MAX_10_EXP): Likewise.
18471         (LDBL_MAX_10_EXP): Likewise.
18472         (FLT_MAX): Use macro-constant.
18473         (DBL_MAX): Likewise.
18474         (LDBL_MAX): Likewise.
18475         (FLT_EPSILON): Use macro-constant.  Give upper bound.
18476         (DBL_EPSILON): Likewise.
18477         (LDBL_EPSILON): Likewise.
18478         (FLT_MIN): Likewise.
18479         (DBL_MIN): Likewise.
18480         (LDBL_MIN): Likewise.
18481         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18482         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18483         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18484         [ISO11] (FLT_HAS_SUBNORM): Likewise.
18485         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18486         [ISO11] (DBL_DECIMAL_DIG): Likewise.
18487         [ISO11] (FLT_DECIMAL_DIG): Likewise.
18488         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18489         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18490         [ISO11] (FLT_TRUE_MIN): Likewise.
18491         [ISO11] (LDBL_TRUE_MIN): Likewise.
18492         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18493         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18494         (SCHAR_MIN): Use macro-int-constant.  Specify type.
18495         (SCHAR_MAX): Likewise.
18496         (UCHAR_MAX): Likewise.
18497         (CHAR_MIN): Likewise.
18498         (CHAR_MAX): Likewise.
18499         (MB_LEN_MAX): Use macro-int-constant.
18500         (SHRT_MIN): Use macro-int-constant.  Specify type.
18501         (SHRT_MAX): Likewise.
18502         (USHRT_MAX): Likewise.
18503         (INT_MAX): Likewise.
18504         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
18505         bound negative.
18506         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18507         bound with "U".
18508         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18509         bound with "L".
18510         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
18511         bound negative.  Suffix upper bound with "L".
18512         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18513         bound with "UL".
18514         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18515         Specify type.
18516         [C99-based standards] (LLONG_MAX): Likewise.
18517         [C99-based standards] (ULLONG_MAX): Likewise.
18518         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
18519         == 0.
18520         [ISO11] (max_align_t): Require type.
18521         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18523         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18524         from $CFLAGS, without defining away __attribute__ calls.
18525         (checknamespace): Use $CFLAGS_namespace.
18527         * conform/conformtest.pl (@keywords): Only include C99 keywords
18528         for standards based on C99 or C11.
18530         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18531         Disable tests.
18532         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18533         UNIX98]: Likewise.
18535         * conform/conformtest.pl: Handle "macro-int-constant" and test for
18536         usability of symbols in #if.
18538         * conform/conformtest.pl: If macro or constant types start
18539         "promoted:", expect the symbol to be of the following type
18540         promoted by the integer promotions.
18542         * conform/conformtest.pl: Parse all "constant" and "macro" lines
18543         in one place.  Also handle "macro-constant".
18545         * conform/conformtest.pl: Only accept expected macro values with
18546         "==".  Parse all "macro" lines in one place.
18547         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18549         * conform/conformtest.pl: Handle braced types on "constant" lines
18550         instead of handling "typed-constant".
18551         * conform/data/signal.h-data: Use "constant" instead of
18552         "typed-constant".
18554         * conform/conformtest.pl: Handle "optional-" at start of lines in
18555         one place rather than duplicating several cases.  Handle each
18556         format of "macro" line with initial "optional-".
18558         * conform/conformtest.pl: Only accept expected constant or
18559         optional-constant values with "==".  Parse all "constant" lines in
18560         one place.  Parse all "optional-constant" lines in one place.
18561         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18562         * conform/data/fmtmsg.h-data: Likewise.
18563         * conform/data/netinet/in.h-data: Likewise.
18564         * conform/data/tar.h-data: Likewise.
18565         * conform/data/limits.h-data: Use "==" form on "constant" and
18566         "optional-constant" lines.
18568         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18569         Use -std=c99 for XOPEN2K.
18570         (@knownproblems): Remove.
18571         (newtoken): Don't check %isknown.
18573         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18574         Do not expect macro.
18575         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18576         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18577         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18578         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18579         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18580         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18581         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18582         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18583         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18584         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18585         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18586         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18587         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18588         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18589         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18590         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18591         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18592         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18593         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18594         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18595         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18596         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18597         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18598         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18599         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18600         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18601         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18602         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18603         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18604         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18605         [XPG3] (acosh): Likewise.
18606         [XPG3] (asinh): Likewise.
18607         [XPG3] (atanh): Likewise.
18608         [XPG3] (cbrt): Likewise.
18609         [XPG3] (expm1): Likewise.
18610         [XPG3] (ilogb): Likewise.
18611         [XPG3] (log1p): Likewise.
18612         [XPG3] (logb): Likewise.
18613         [XPG3] (nextafter): Likewise.
18614         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18615         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18616         [XPG3] (remainder): Likewise.
18617         [XPG3] (rint): Likewise.
18618         [XPG3 || XPG4 || UNIX98] (round): Likewise.
18619         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18620         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18621         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18622         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18623         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18624         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18625         [UNIX98 || XOPEN2K] (scalb): Expect.
18626         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18627         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18628         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18629         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18630         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18631         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18632         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18633         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18634         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18635         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18636         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18637         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18638         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18639         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18640         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18641         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18642         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18643         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18644         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18645         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18646         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18647         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18648         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18649         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18650         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18651         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18652         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18653         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18654         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18655         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18656         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18657         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18658         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18659         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18660         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18661         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18662         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18663         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18664         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18665         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18666         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18667         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18668         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18669         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18670         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18671         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18672         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18673         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18674         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18675         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18676         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18677         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18678         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18679         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18680         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18681         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18682         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18683         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18684         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18685         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18686         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18687         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18688         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18689         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18690         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18691         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18692         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18693         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18694         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18695         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18696         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18697         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18698         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18699         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18700         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18701         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18702         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18703         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18704         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18705         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18706         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18707         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18708         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18709         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18710         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18711         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18712         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18713         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18714         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18715         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18716         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18717         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18718         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18719         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18720         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18721         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18722         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18723         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18724         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18725         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18726         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18727         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18728         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18729         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18730         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18731         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18732         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18733         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18734         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18735         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18736         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18737         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18738         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18739         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18740         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18741         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18742         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18743         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18744         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18745         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18746         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18747         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18748         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18749         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18750         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18751         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18752         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18753         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18754         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18755         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18756         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18757         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18758         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18759         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18760         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18761         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18762         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18764         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18765         _XOPEN_SOURCE_EXTENDED for XPG4.
18767         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18769         * Makeconfig (localtime): Remove variable.
18770         (inst_localtime-file): Likewise.
18772 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18775         Update.
18776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18777         Update.
18778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18779         Update.
18780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18781         Update.
18782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18783         Update.
18784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18785         Update.
18786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18787         Update.
18788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18789         Update.
18790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18791         Update.
18793 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18795         [BZ #2550]
18796         [BZ #2570]
18797         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18798         comparisons to determine direction to adjust input.
18799         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18800         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18801         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18802         Likewise.
18803         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18804         Likewise.
18805         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18806         Likewise.
18807         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18808         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18809         Likewise.
18810         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18811         Likewise.
18812         * math/libm-test.inc (nexttoward_test): Add more tests.
18814 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18816         [BZ #14040]
18817         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18818         in version GLIBC_2.1, not GLIBC_2.0.
18819         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18820         Likewise.
18822 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
18824         [BZ #13942]
18825         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18826         (1 - x) * (1 + x).
18827         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18828         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18829         * math/libm-test.inc (acos_test): Add more tests.
18830         (asin_test): Likewise.
18831         * sysdeps/i386/fpu/libm-test-ulps: Update.
18832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18834         [BZ #14034]
18835         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18836         of square root.
18837         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18838         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18839         * math/libm-test.inc (acos_test_tonearest): New function.
18840         (acos_test_towardzero): Likewise.
18841         (acos_test_downward): Likewise.
18842         (acos_test_upward): Likewise.
18843         (asin_test_tonearest): Likewise.
18844         (asin_test_towardzero): Likewise.
18845         (asin_test_downward): Likewise.
18846         (asin_test_upward): Likewise.
18847         (main): Call the new functions.
18848         * sysdeps/i386/fpu/libm-test-ulps: Update.
18849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18851         [BZ #13884]
18852         [BZ #13924]
18853         * math/e_exp10.c: Include <float.h>.
18854         (__ieee754_exp10): Handle underflow here rather than multiplying
18855         large negative argument by M_LN10.
18856         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18857         of __ieee754_expf.
18858         * math/e_exp10l.c: Include <float.h>.
18859         (__ieee754_exp10l): Handle underflow here rather than multiplying
18860         large negative argument by M_LN10l.
18861         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
18862         spurious overflow exception on underflow.
18864 2012-04-29  Marek Polacek  <polacek@redhat.com>
18866         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18867         (__fortify_function): New macro.
18868         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18869         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18870         __extern_always_inline.
18871         * libio/bits/stdio2.h: Likewise.
18872         * libio/bits/stdio.h: Likewise.
18873         * string/string.h: Likewise.
18874         * string/bits/string3.h: Likewise.
18875         * include/stdio.h: Likewise.
18876         * stdlib/bits/stdlib.h: Likewise.
18877         * stdlib/stdlib.h: Likewise.
18878         * rt/bits/mqueue2.h: Likewise.
18879         * rt/mqueue.h: Likewise.
18880         * posix/bits/unistd.h: Likewise.
18881         * posix/unistd.h: Likewise.
18882         * io/bits/poll2.h: Likewise.
18883         * io/bits/fcntl2.h: Likewise.
18884         * io/fcntl.h: Likewise.
18885         * io/sys/poll.h: Likewise.
18886         * misc/bits/syslog.h: Likewise.
18887         * misc/bits/syslog-ldbl.h: Likewise.
18888         * misc/sys/syslog.h: Likewise.
18889         * socket/bits/socket2.h: Likewise.
18890         * socket/sys/socket.h: Likewise.
18891         * debug/tst-chk1.c: Likewise.
18892         * wcsmbs/bits/wchar2.h: Likewise.
18893         * wcsmbs/bits/wchar-ldbl.h: Likewise.
18894         * wcsmbs/wchar.h: Likewise.
18896 2012-04-29  Andreas Jaeger  <aj@suse.de>
18898         * Makerules (tests): Remove enable-check-abi protection.
18899         (check-abi-warn): Remove.
18900         (check-abi-%): Remove check-abi-warn usage.
18902         * configure.in: Remove check-abi configure option.
18903         * configure: Regenerated.
18904         * config.make.in (enable-check-abi): Remove.
18906 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
18908         [BZ #14033]
18909         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18910         double functions to double *_finite functions.
18912         [BZ #13941]
18913         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18914         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18915         LDBL_MIN_EXP.
18916         * stdio-common/Makefile (tests): Add tst-sprintf3.
18917         * stdio-common/tst-sprintf3.c: New file.
18919         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18920         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18922 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
18924         * conform/conformtest.pl: Remove duplicate typed-constant
18925         handling.
18927 2012-04-28  David S. Miller  <davem@davemloft.net>
18929         * Makerules (%.abilist): Add vpath on sysdep_dirs.
18930         (check-abi-%): Remove AWK script prerequisite and explicit
18931         abilist directory.
18932         (check-abi): Rewrite to just diff the symlist with the abilist.
18933         (config-tls, config-abi-config): Delete, no longer used.
18934         (update-abi-%): Remove AWK script and explicit abilist directory.
18935         (update-abi): Rewrite to simply compare and conditionally copy the
18936         symlist and the sysdep abilist file.  Remove update-abi-config
18937         checks.
18938         * abilist/ld.abilist: Remove.
18939         * abilist/libBrokenLocale.abilist: Remove.
18940         * abilist/libanl.abilist: Remove.
18941         * abilist/libcrypt.abilist: Remove.
18942         * abilist/libdl.abilist: Remove.
18943         * abilist/librt.abilist: Remove.
18944         * abilist/libthread_db.abilist: Remove.
18945         * abilist/libutil.abilist: Remove.
18946         * scripts/extract-abilist.awk: Remove.
18947         * scripts/merge-abilist.awk: Remove.
18948         * sysdeps/generic/libcidn.abilist: New file.
18949         * sysdeps/generic/libnss_compat.abilist: New file.
18950         * sysdeps/generic/libnss_db.abilist: New file.
18951         * sysdeps/generic/libnss_dns.abilist: New file.
18952         * sysdeps/generic/libnss_files.abilist: New file.
18953         * sysdeps/generic/libnss_hesiod.abilist: New file.
18954         * sysdeps/generic/libnss_nis.abilist: New file.
18955         * sysdeps/generic/libnss_nisplus.abilist: New file.
18956         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18957         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18958         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18959         file.
18960         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18961         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18962         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18963         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18964         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18965         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18966         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18967         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18968         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18969         file.
18970         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18971         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18972         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18973         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18974         file.
18975         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18976         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18977         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18978         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18979         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18980         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18981         file.
18982         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18983         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18984         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18985         file.
18986         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18987         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18988         New file.
18989         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18990         New file.
18991         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18992         New file.
18993         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18994         New file.
18995         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18996         New file.
18997         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18998         New file.
18999         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19000         New file.
19001         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19002         New file.
19003         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19004         New file.
19005         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19006         New file.
19007         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19008         New file.
19009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19010         New file.
19011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19012         New file.
19013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19014         file.
19015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19016         New file.
19017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19018         New file.
19019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19020         file.
19021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19022         New file.
19023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19024         New file.
19025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19026         file.
19027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19028         New file.
19029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19030         New file.
19031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19032         New file.
19033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19034         New file.
19035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19036         New file.
19037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19038         New file.
19039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19041         file.
19042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19043         New file.
19044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19045         file.
19046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19047         file.
19048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19049         file.
19050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19051         file.
19052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19053         file.
19054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19055         New file.
19056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19057         file.
19058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19059         file.
19060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19061         New file.
19062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19063         file.
19064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19066         file.
19067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19068         New file.
19069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19070         file.
19071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19072         file.
19073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19074         file.
19075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19076         file.
19077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19078         file.
19079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19080         New file.
19081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19082         file.
19083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19084         file.
19085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19086         New file.
19087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19088         file.
19089         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19090         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19091         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19092         file.
19093         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19094         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19095         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19096         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19097         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19098         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19099         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19100         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19101         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19102         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19105         file.
19106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19107         New file.
19108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19109         file.
19110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19111         file.
19112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19113         file.
19114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19115         file.
19116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19117         file.
19118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19119         New file.
19120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19121         New file.
19122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19123         file.
19124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19125         New file.
19126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19127         file.
19128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19130         file.
19131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19132         New file.
19133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19134         file.
19135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19136         file.
19137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19138         file.
19139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19140         file.
19141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19142         file.
19143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19144         New file.
19145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19146         New file.
19147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19148         file.
19149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19150         New file.
19151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19152         file.
19154 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19156         * conform/conformtest.pl: Fix typo in handling typed-constant from
19157         allow-header.
19159 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19161         * README: Cut down references to pre-2.6 Linux kernels and
19162         Linuxthreads.  Update lists of configurations in libc and ports
19163         and sort alphabetically.  Say "or newer" with Linux kernel version
19164         requirements.
19166         * config.h.in [IS_IN_build]: Allow compiling without optimization.
19168 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19170         [BZ #887]
19171         * math/libm-test.inc (logb_test_downward): New test to expose
19172         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19173         rounding mode.
19175 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19177         [BZ #14027]
19178         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19179         to be done.
19180         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19181         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19183 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
19185         * sysdeps/unix/i386/brk.S: Remove file.
19186         * sysdeps/unix/i386/dl-brk.S: Likewise.
19187         * sysdeps/unix/i386/pipe.S: Likewise.
19188         * sysdeps/unix/i386/sigreturn.S: Likewise.
19189         * sysdeps/unix/i386/syscall.S: Likewise.
19190         * sysdeps/unix/i386/vfork.S: Likewise.
19191         * sysdeps/unix/i386/wait.S: Likewise.
19193         * sysdeps/unix/common/tcsendbrk.c: Move to ...
19194         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19196         * configure.in (arm*-none*): Do not allow without
19197         --enable-hacker-mode.
19198         (netbsd*): Remove case setting base_os.
19199         (386bsd*): Likewise.
19200         (freebsd*): Likewise.
19201         (bsdi*): Likewise.
19202         (osf*): Likewise.
19203         (sunos*): Likewise.
19204         (ultrix*): Likewise.
19205         (newsos*): Likewise.
19206         (dynix*): Likewise.
19207         (*bsd*): Likewise.
19208         (sysv*): Likewise.
19209         (isc*): Likewise.
19210         (esix*): Likewise.
19211         (sco*): Likewise.
19212         (minix*): Likewise.
19213         (irix4*): Likewise.
19214         (irix6*): Likewise.
19215         (solaris[2-9]*): Likewise.
19216         (none): Likewise.
19217         * configure: Regenerated.
19219 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19221         [BZ #11521]
19222         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19223         overflow or cancellation in calculating denominator.
19224         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19225         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19226         down expression to avoid unexpected rounding in newer GCCs.
19227         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19229 2012-04-26  David S. Miller  <davem@davemloft.net>
19231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19232         long-double compat symbols.
19233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19247 2012-04-25  David S. Miller  <davem@davemloft.net>
19249         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19250         HWCAP_* values only after the memory barriers have been defined.
19251         (atomic_full_barrier): Define.
19252         (atomic_read_barrier): Define.
19253         (atomic_write_barrier): Define.
19255 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19257         * shlib-versions: Add libgcc_s version information.
19258         * sysdeps/generic/libgcc_s.h: Remove.
19259         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19260         libgcc_s.h.
19261         * sysdeps/gnu/unwind-resume.c: Likewise.
19262         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19264 2012-04-25  David S. Miller  <davem@davemloft.net>
19266         * sysdeps/unix/sparc/brk.S: Delete.
19267         * sysdeps/unix/sparc/dl-brk.S: Delete.
19268         * sysdeps/unix/sparc/pipe.S: Delete.
19269         * sysdeps/unix/sparc/sysdep.S: Delete.
19270         * sysdeps/unix/sparc/sysdep.h: Delete.
19271         * sysdeps/unix/sparc/vfork.S: Delete.
19272         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19273         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19274         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19275         ret_ERRVAL, r0, r1, MOVE): Define.
19276         (JUMPTARGET): Remove.
19277         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19278         sysdeps/unix/sparc/sysdep.h
19279         (ENTRY, END): Remove.
19280         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19282 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
19284         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19285         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19286         -DIS_IN_build.
19288         * timezone/README: Update upstream location and email address for
19289         tzcode and tzdata.
19290         * timezone/zdump.c: Update from tzcode 2012b.
19291         * timezone/zic.c: Likewise.
19293         * configure.in (libc_cv_as_needed): Remove test.
19294         * configure: Regenerated.
19295         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19296         conditional definition.
19297         [$(have-as-needed) != yes] (no-as-needed): Likewise.
19298         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19299         * config.make.in (have-as-needed): Remove variable.
19301 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19302             Paul Pluzhnikov  <ppluzhnikov@google.com>
19304         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19305         strings correctly.
19307 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19309         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19310         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19311         * sysdeps/sh/strlen.S: Likewise.
19313 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19315         * sysdeps/unix/fork.S: Remove file.
19316         * sysdeps/unix/i386/fork.S: Likewise.
19317         * sysdeps/unix/sparc/fork.S: Likewise.
19319         * sysdeps/unix/system.c: Remove file.
19320         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19322         * sysdeps/unix/getegid.S: Remove file.
19323         * sysdeps/unix/geteuid.S: Likewise.
19325 2012-04-24  Roland McGrath  <roland@hack.frob.com>
19327         * scripts/check-localplt.awk: New file.
19328         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19329         of diff.
19330         * scripts/data/localplt-generic.data: Add a comment.
19332         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19333         NODE when __dir_mkfile failed.
19334         * sysdeps/mach/hurd/symlinkat.c: Likewise.
19335         Reported by Ludovic Courtès <ludo@gnu.org>.
19337 2012-04-24  Andreas Jaeger  <aj@suse.de>
19339         * Makerules (common-clean): Also remove gen-as-const-headers
19340         files.
19342 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19344         * Makerules (native-compile): Do not change working directory for
19345         build.  Use $(OUTPUT_OPTION) in command.
19346         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19348 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19350         [BZ #13886]
19351         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19352         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19353         * math/libm-test.inc (floor_test): Add more tests.
19354         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19356 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19358         * sysdeps/unix/getdents.c: Remove file.
19359         * sysdeps/unix/sysv/getdents.c: Likewise.
19360         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19362         * sysdeps/unix/syscalls.list (madvise): Add syscall from
19363         sysdeps/unix/mman/syscalls.list.
19364         (mmap): Likewise.
19365         (mprotect): Likewise.
19366         (msync): Likewise.
19367         (munmap): Likewise.
19368         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19369         * sysdeps/unix/mman/syscalls.list: Remove.
19370         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19372         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19373         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19374         * configure: Regenerated.
19375         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19376         $(libgcc_s_suffix).
19377         * config.make.in (libgcc_s_suffix): Remove variable.
19379 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
19381         * sysdeps/unix/sysv/gethostname.c: Move to ...
19382         * sysdeps/posix/gethostname.c: ... here.
19384         * sysdeps/unix/execve.S: Remove file.
19386         * sysdeps/unix/_exit.S: Remove file.
19388 2012-04-23  Andreas Jaeger  <aj@suse.de>
19390         [BZ #13739]
19391         * manual/Makefile: Remove make dist support, there's no
19392         need for a stand-alone documentation tar ball.
19393         (TEXI2DVI): Define always, it's not in Makeconfig.
19394         (dist): Removed.
19395         (tar-it): Removed.
19396         (edition): Removed.
19397         (glibc-doc-$(edition).tar): Removed
19398         (%.Z): Removed.
19399         (%.gz): Removed.
19400         (%.uu): Removed.
19401         (ETAGS): Remove, it's in Makeconfig.
19402         (move-if-change): Remove, it's in Makeconfig.
19404 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
19406         [BZ #13970]
19407         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19408         (strtod, strtof, strtold, strtol, strtoul, strtoq)
19409         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19410         (strtod_l, strtof_l, strtold_l): Remove __wur.
19411         It is not necessarily an error to ignore strtol's return value.
19412         One can reliably look at the stored endptr to decide whether
19413         the number had valid syntax.
19415 2012-04-21  Andreas Jaeger  <aj@suse.de>
19417         [BZ #13739]
19418         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19420 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
19422         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19423         * sysdeps/unix/sysv/Versions: Remove file.
19425 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
19427         [BZ #13927]
19428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19430 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
19432         [BZ #7064]
19433         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19434         version from __vm86.
19436 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
19438         * sysdeps/unix/common/lxstat.c: Remove file.
19439         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19441         * sysdeps/unix/sysv/Makefile: Remove file.
19443         * sysdeps/unix/sysv/direct.h: Remove file.
19445         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19446         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19447         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19448         * sysdeps/unix/sysv/bits/signum.h: Likewise.
19449         * sysdeps/unix/sysv/bits/stat.h: Likewise.
19450         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19451         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19453         * sysdeps/unix/sysv/setrlimit.c: Remove file.
19455         * sysdeps/unix/xmknod.c: Remove file.
19456         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19458         * sysdeps/unix/sysv/settimeofday.c: Remove file.
19460         * sysdeps/unix/sysv/i386/time.S: Remove file.
19462         * sysdeps/unix/fxstat.c: Remove file.
19463         * sysdeps/unix/xstat.c: Likewise.
19464         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19466         * sysdeps/unix/sysv/sigaction.c: Remove file.
19468         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19469         (sysdep_headers): Remove variable.
19470         [termio.h not in sysdep_headers] (generated): Likewise.
19471         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19472         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19473         * sysdeps/unix/sysv/tcdrain.c: Likewise.
19474         * sysdeps/unix/sysv/tcflow.c: Likewise.
19475         * sysdeps/unix/sysv/tcflush.c: Likewise.
19476         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19477         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19478         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19479         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19480         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19482         * sysdeps/unix/siglist.c: Remove file.
19484         * sysdeps/unix/getppid.S: Remove file.
19486         * sysdeps/unix/mkdir.c: Remove file.
19487         * sysdeps/unix/rmdir.c: Likewise.
19489 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
19491         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19492         ERR_MAX value.
19493         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19494         errlist-compat value.
19496 2012-04-18  David S. Miller  <davem@davemloft.net>
19498         * sysdeps/generic/memcopy.h (reg_char): Delete.
19499         * debug/strcat_chk.c: Use char, not reg_char.
19500         * debug/strcpy_chk.c: Likewise.
19501         * debug/strncat_chk.c: Likewise.
19502         * debug/strncpy_chk.c: Likewise.
19503         * string/memchr.c: Likewise.
19504         * string/memrchr.c: Likewise.
19505         * string/rawmemchr.c: Likewise.
19506         * string/strcat.c: Likewise.
19507         * string/strchr.c: Likewise.
19508         * string/strchrnul.c: Likewise.
19509         * string/strcmp.c: Likewise.
19510         * string/strcpy.c: Likewise.
19511         * string/strncat.c: Likewise.
19512         * string/strncmp.c: Likewise.
19513         * string/strncpy.c: Likewise.
19515 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19517         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19518         __builtin_memcopy is called when src and dest ranges are known to not
19519         overlap.
19521 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19523         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19524         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19525         fwd_align_merge macro call.
19526         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19527         bwd_align_merge macro call.
19528         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19530 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19532         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19533         bwd_align_merge macros.
19534         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19535         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19536         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19538 2012-04-18  David S. Miller  <davem@davemloft.net>
19540         * sysdeps/sparc/sparc64/memcopy.h: Delete.
19542 2012-04-18  Andreas Jaeger  <aj@suse.de>
19544         [BZ# 6794]
19545         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19546         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19547         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19549         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19550         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19551         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19553         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19554         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19555         Adjust for changed ldbl-128 files.
19557         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19558         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19559         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19561 2012-04-17  David S. Miller  <davem@davemloft.net>
19563         * sysdeps/sparc/sparc32/memcopy.h: Delete.
19565 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
19567         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19568         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19569         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19570         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19571         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19572         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19574 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19576         [BZ #6794]
19577         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19578         * math/libm-test.inc: Add ilogb errno and exception tests.
19579         * math/w_ilogb.c: New file: ilogb wrapper.
19580         * math/w_ilogbf.c: New file: ilogbf wrapper.
19581         * math/w_ilogbl.c: New file: ilogbl wrapper.
19582         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19583         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19584         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19585         exception being thrown with 0.0 as argument.
19586         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19587         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19588         exception being thrown with 0.0 as argument.
19589         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19590         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19591         exception being thrown with 0.0 as argument.
19592         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19593         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19594         exception being thrown with 0.0 as argument.
19595         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19596         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19597         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19598         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19599         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19600         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19601         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19602         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19603         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19605 2012-04-17  Petr Baudis  <pasky@ucw.cz>
19607         * include/sys/uio.h: Change __vector to __iovec to avoid clash
19608         with altivec.
19610 2012-04-16  Marek Polacek  <polacek@redhat.com>
19612         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19614 2012-04-16  Marek Polacek  <polacek@redhat.com>
19616         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19617         operands of fdivp instruction.
19619 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19621         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19622         * elf/tst-auditmod3b.c: Likewise.
19623         * elf/tst-auditmod4b.c: Likewise.
19624         * elf/tst-auditmod5b.c: Likewise.
19625         * elf/tst-auditmod6b.c: Likewise.
19626         * elf/tst-auditmod6c.c: Likewise.
19627         * elf/tst-auditmod7b.c: Likewise.
19628         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19629         * sysdeps/x86_64/preconfigure.in: Likewise.
19630         * sysdeps/x86_64/preconfigure: Regenerated.
19632 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19634         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19635         __ILP32__.
19637 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
19639         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19640         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19642 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
19644         [BZ #13973]
19645         * locale/iso-639.def: Fix gl language name. Spotted by
19646         Yaron Shahrabani.
19648 2012-04-12  Roland McGrath  <roland@hack.frob.com>
19650         [BZ #2074]
19651         * libio/libio.h (__io_write_fn): Update comment.
19653 2012-04-12  Petr Baudis  <pasky@ucw.cz>
19655         [BZ #2074]
19656         * stdio.texi (Hook Functions): The user provided writer function
19657         is not allowed to return -1.
19659 2012-04-11  David S. Miller  <davem@davemloft.net>
19661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19663 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
19665         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19666         Add a leading slash to rtkaio.
19668 2012-04-11  Jim Meyering  <meyering@redhat.com>
19670         [BZ #11959]
19671         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19672         It is not necessarily an error to ignore fwrite's return
19673         value.  One can reliably use ferror to test for errors after
19674         the fact.
19676 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
19678         * bits/types.h (__snseconds_t): New type.
19679         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19681         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19682         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19683         (__SNSECONDS_T_TYPE): Likewise.
19684         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19685         (__SNSECONDS_T_TYPE): Likewise.
19686         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19687         (__SNSECONDS_T_TYPE): Likewise.
19689 2012-04-10  Andreas Jaeger  <aj@suse.de>
19691         [BZ #2636]
19692         * manual/time.texi (Processor Time): Return type of times is
19693         elapsed real time since an arbitrary point in the past.
19694         (CPU Time): Move CLK_TCK from here...
19695         (Processor Time): ...to here.  Correct description.
19696         * manual/conf.texi (Constants for Sysconf): Correct description of
19697         _SC_CLK_TCK.
19699 2012-04-10  David S. Miller  <davem@davemloft.net>
19701         [BZ #13967]
19702         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19703         where the is a gap between DT_REL(A) and DT_JMPREL.
19705 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
19707         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19708         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19709         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19711 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19713         * elf/dl-support.c (_dl_inhibit_cache): New variable.
19714         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19715         (dl_main): Handle --inhibit-cache.
19716         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19717         _dl_inhibit_cache.
19718         * elf/dl-load.c (_dl_map_object): Use it.
19719         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19721 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
19723         [BZ #13872]
19724         * sysdeps/i386/fpu/e_powl.S (p78): New object.
19725         (__ieee754_powl): Saturate large exponents rather than testing for
19726         overflow of y*log2(x).
19727         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19728         * math/libm-test.inc (pow_test): Do not permit spurious overflow
19729         exceptions.
19731         [BZ #11521]
19732         * math/s_ctan.c: Include <float.h>.
19733         (__ctan): Avoid internal overflow or cancellation in calculating
19734         denominator.
19735         * math/s_ctanf.c: Likewise.
19736         * math/s_ctanl.c: Likewise.
19737         * math/s_ctanh.c: Likewise.
19738         * math/s_ctanhf.c: Likewise.
19739         * math/s_ctanhl.c: Likewise.
19740         * math/libm-test.inc (ctan_test): Add more tests.
19741         (ctanh_test): Likewise.
19742         * sysdeps/i386/fpu/libm-test-ulps: Update.
19743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19745 2012-04-09  Andreas Jaeger  <aj@suse.de>
19747         [BZ #6894]
19748         * manual/filesys.texi (Directory Entries): Mention that d_namlen
19749         is an optional BSD extension.
19751         [BZ #10254]
19752         * manual/stdio.texi (Opening Streams): Document additional fopen
19753         parameters.
19755 2012-04-09  Roland McGrath  <roland@hack.frob.com>
19757         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19758         %eax without telling the compiler.
19760 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
19762         [BZ # 13963]
19763         * manual/install.texi: Use sourceware.org.
19765 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
19767         [BZ #13873]
19768         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19769         (__ieee754_pow): Generate overflow and underflow using huge*huge
19770         and tiny*tiny rather than just returning constant infinity or zero
19771         for large exponents.
19772         * math/libm-test.inc (pow_test): Require overflow exceptions for
19773         applicable cases of large exponents.
19775         [BZ #706]
19776         * sysdeps/i386/fpu/e_pow.S (p10): New object.
19777         (__ieee754_pow): Use iterative multiplication algorithm only for
19778         integer exponents with absolute value below 1024.  Check for odd
19779         integer exponents when using algorithm for real exponents.
19780         * math/libm-test.inc (pow_test): Add more tests.
19781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19783 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
19785         [BZ #13705]
19786         * math/libm-test.inc (exp_test): Do not allow overflow exception
19787         on underflow test.
19789 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
19791         [BZ #13705]
19792         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19793         instead of __kernel_standard_f.
19795 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
19797         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19798         * sysdeps/x86_64/memset_chk.S: Likewise.
19800 2012-04-08  Andreas Jaeger  <aj@suse.de>
19802         [BZ #10153]
19803         * manual/startup.texi (Environment Access): Describe return value
19804         for putenv and setenv.
19806         [BZ #6895]
19807         * manual/filesys.texi (Directory Entries): Add description for
19808         DT_LNK.
19810         [BZ #6890]
19811         * manual/filesys.texi (Directory Entries): Clarify that it's file
19812         system not operating system in the description of DT_UNKNOWN.
19814         [BZ #6578]
19815         * manual/syslog.texi (closelog): Fix reference, it's openlog.
19817 2012-04-08  Stephen Compall  <s11@member.fsf.org>
19819         [BZ #6649]
19820         * manual/llio.texi (Opening and Closing Files): Add cross
19821         reference to explain mode argument.
19823 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
19825         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19826         * sysdeps/x86_64/memset_chk.S: Likewise.
19828 2012-04-07  David S. Miller  <davem@davemloft.net>
19830         * elf/elf.h (R_SPARC_WDISP10): Define.
19831         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19832         R_SPARC_SIZE32.
19833         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19834         R_SPARC_SIZE64 and R_SPARC_H34.
19836 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
19838         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19839         conditions and remove no longer applicable assertion.
19841 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
19843         * bits/byteswap.h: Include <features.h>.
19844         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19845         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19847 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
19849         * bits/byteswap.h (__bswap_16): Removed.
19850         Include <bits/byteswap-16.h> to get __bswap_16.
19851         * sysdeps/i386/bits/byteswap.h: Likewise.
19852         * sysdeps/s390/bits/byteswap.h: Likewise.
19853         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19854         * bits/byteswap-16.h: New file.
19855         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19856         * sysdeps/s390/bits/byteswap-16.h: Likewise.
19857         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19858         * string/Makefile (headers): Add bits/byteswap-16.h.
19860 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19862         [BZ #13895]
19863         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19864         extra indirection.
19865         * nss/Makefile (tests-static, tests): Add tst-nss-static.
19866         * nss/tst-nss-static.c: New.
19868 2012-04-06  Robert Millan  <rmh@gnu.org>
19870         [BZ #6486]
19871         * manual/llio.texi (File Position Primitive): lseek
19872         refers to WHENCE when it really means OFFSET.
19874 2012-04-06  Andreas Jaeger  <aj@suse.de>
19876         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19877         strncmp declarations.
19879         * abilist/libc.abilist: Add __poll and __ppoll.
19881 2012-04-05  David S. Miller  <davem@davemloft.net>
19883         * scripts/check-local-headers.sh: Accept a host triplet in the
19884         path matched by the exclude regexp.
19886         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19887         definition.
19888         * sysdeps/powerpc/powerpc32/dl-machine.h
19889         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19890         * sysdeps/s390/s390-32/dl-machine.h
19891         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19892         * sysdeps/sparc/sparc32/dl-machine.h
19893         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19894         * sysdeps/sparc/sparc64/dl-machine.h
19895         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19897         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19898         lazy binding.
19899         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19900         undefined symbol errors.
19902         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19903         DT_NEEDED entries.
19905 2012-04-05  Michael Matz  <matz@suse.de>
19907         [BZ #13592]
19908         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19910 2012-04-05  Andreas Jaeger  <aj@suse.de>
19912         [BZ #13908]
19913         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19914         comment.
19916 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19918         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19919         which ROUND is no valid rounding mode.
19921 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19923         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19924         read again.
19925         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19927 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19929         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19930         an exception using FPU order intentionally.
19932 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19934         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19935         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19936         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19937         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19939 2012-04-05  Simon Josefsson  <simon@josefsson.org>
19941         [BZ #12340]
19942         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19943         EINVAL when BUFLEN is too smal.
19945 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19947         [BZ #13553]
19948         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19949         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19951 2012-04-03  Andreas Jaeger  <aj@suse.de>
19953         [BZ #13938]
19954         * manual/setjmp.texi (System V contexts): Fix sentence.
19956         [BZ #13926]
19957         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19958         New macro for this case.
19959         [!__GNUC__] (__bswap_64): New inline function for this case.
19960         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19961         * bits/byteswap.h: Likewise.
19962         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19963         ull, guard with __GLIBC_HAVE_LONG_LONG.
19965         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19966         __GLIBC_HAVE_LONG_LONG.
19968         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19969         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19971 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19973         [BZ #13691]
19974         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19975         inptr and inend, rather than using last_ch.
19977 2012-04-02  David S. Miller  <davem@davemloft.net>
19979         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19980         * stdio-common/printf-parse.h (read_int): Change return type to
19981         'int', return -1 on INT_MAX overflow.
19982         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19983         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
19984         overflows INT_MAX.  Check for overflow of in-format-string precision
19985         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
19986         SIZE_MAX not INT_MAX for integer overflow test.
19987         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19988         skip the construct in the format string but do not record anything.
19989         * stdio-common/bug22.c: Adjust to test both width/prevision
19990         INT_MAX overflow as well as total length INT_MAX overflow.  Check
19991         explicitly for proper errno values.
19993 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19995         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19996         CHAR_MAX.
19997         * string/test-strcmp.c [! WIDE]: Likewise.
19998         * time/tst-mktime2.c: Likewise for INT_MAX.
19999         * string/test-string.h: #include <sys/param.h> for MIN.
20001         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20002         * sysdeps/i386/init-first.c (init): Likewise.
20003         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20004         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20005         * sysdeps/sh/init-first.c (init): Likewise.
20007 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20009         * po/ru.po: Update from translation team.
20010         * po/vi.po: Likewise.
20012 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20014         * resolv/nss_dns/dns-host.c: Merge copyright years.
20016 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20018         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20019         Optimize memcpy with prefetch if
20020         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20021         src, dst pointers have unequal 16 byte alignments.
20023 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20025         [BZ #13928]
20026         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20027         from a CNAME entry and return the minimum ttl for the query.
20028         (gaih_getanswer_slice): Likewise.
20030 2012-03-30  Jeff Law  <law@redhat.com>
20032         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20033         due to long keys.
20034         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20035         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20037         * resolv/nss_dns/dns-host.c: Update copyright year.
20039 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20041         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20042         requests to save a system call.  Fix check that all bytes are sent.
20044         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20045         comments for sendmmsg.
20047 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20049         [BZ #13691]
20050         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20051         with only 1 character between 0x0041 and 0x01b0.
20052         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20053         * wcsmbs/tst-mbsnrtowcs.c: New file.
20055 2012-03-29  David S. Miller  <davem@davemloft.net>
20057         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20058         small copies by hand.
20060 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20062         [BZ #13761]
20063         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20064         _nss_compat_initgroups_dyn): Fall back to malloc/free
20065         for large group memberships.
20067 2012-03-28  David S. Miller  <davem@davemloft.net>
20069         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20070         that branches into memcpy.
20071         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20072         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20073         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20074         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20075         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20076         bits.
20077         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20078         implementation too.
20079         * sysdeps/sparc/mempcpy.S: New file.
20081         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20082         the IFUNC routine in the libc case.
20083         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20085         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20086         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20087         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20088         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20089         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20090         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20091         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20092         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20094         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20095         loop to 256 bytes instead of 64 bytes and fix test signedness.
20097         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20098         * sysdeps/sparc/sparc32/Makefile: rather than here...
20099         * sysdeps/sparc/sparc64/Makefile: and here.
20101 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
20103         * malloc/mallocbug.c: Avoid warnings about unused variables.
20105 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20107         [BZ #13760]
20108         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20109         in the right place. Discard and retry query if response is
20110         larger than input buffer size.
20112 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
20114         [BZ #369]
20115         [BZ #2678]
20116         [BZ #3866]
20117         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20118         x for large integer exponent.
20119         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20120         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
20121         sign of result as needed afterwards.
20122         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20123         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20124         result for underflowing pow the same as for overflow.
20125         (__kernel_standard_l): Handle powl overflow and underflow here
20126         rather than calling __kernel_standard.
20127         * math/libm-test.inc (pow_test): Add more tests.
20129         [BZ #3868]
20130         [BZ #13879]
20131         [BZ #13910]
20132         [BZ #13911]
20133         [BZ #13912]
20134         [BZ #13913]
20135         [BZ #13915]
20136         [BZ #13916]
20137         [BZ #13917]
20138         [BZ #13918]
20139         [BZ #13919]
20140         [BZ #13920]
20141         [BZ #13921]
20142         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20143         * sysdeps/ieee754/k_standard.c: Include <float.h>.
20144         (__kernel_standard_l): New function.
20145         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20146         __kernel_standard.
20147         * math/w_acosl.c (__acosl): Likewise.
20148         * math/w_asinl.c (__asinl): Likewise.
20149         * math/w_atan2l.c (__atan2l): Likewise.
20150         * math/w_atanhl.c (__atanhl): Likewise.
20151         * math/w_coshl.c (__coshl): Likewise.
20152         * math/w_exp10l.c (__exp10l): Likewise.
20153         * math/w_exp2l.c (__exp2l): Likewise.
20154         * math/w_fmodl.c (__fmodl): Likewise.
20155         * math/w_hypotl.c (__hypotl): Likewise.
20156         * math/w_j0l.c (__j0l, __y0l): Likewise.
20157         * math/w_j1l.c (__j1l, __y1l): Likewise.
20158         * math/w_jnl.c (__jnl, __ynl): Likewise.
20159         * math/w_lgammal.c (__lgammal): Likewise.
20160         * math/w_log10l.c (__log10l): Likewise.
20161         * math/w_log2l.c (__log2l): Likewise.
20162         * math/w_logl.c (__logl): Likewise.
20163         * math/w_powl.c (__powl): Likewise.
20164         * math/w_remainderl.c (__remainderl): Likewise.
20165         * math/w_scalbl.c (sysv_scalbl): Likewise.
20166         * math/w_sinhl.c (__sinhl): Likewise.
20167         * math/w_sqrtl.c (__sqrtl): Likewise.
20168         * math/w_tgammal.c (__tgammal): Likewise.
20169         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20170         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20171         * math/libm-test.inc (acos_test): Add more tests.
20172         (acosh_test): Likewise.
20173         (asin_test): Likewise.
20174         (atanh_test): Likewise.
20175         (exp_test): Likewise.
20176         (exp10_test): Likewise.
20177         (exp2_test): Likewise.
20178         (expm1_test): Likewise.
20179         (lgamma_test): Likewise.
20180         (log_test): Likewise.
20181         (log10_test): Likewise.
20182         (log1p_test): Likewise.
20183         (log2_test): Likewise.
20184         (pow_test): Do not allow some spurious overflow exceptions.
20185         (sqrt_test): Add more tests.
20186         (tgamma_test): Likewise.
20187         (y0_test): Likewise.
20188         (y1_test): Likewise.
20189         (yn_test): Likewise.
20191 2012-03-27  Anton Blanchard  <anton@samba.org>
20193         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20194         MAP_HUGETLB.
20195         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20196         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20197         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20199 2012-03-27  David S. Miller  <davem@davemloft.net>
20201         * conform/Makefile: Run run-conformtest.sh using $(BASH).
20203         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20204         have-as-vis3 check.
20206 2012-03-27  Andreas Jaeger  <aj@suse.de>
20208         * sysdeps/x86_64/elf/configure.in: Moved to ...
20209         * sysdeps/x86_64/configure.in: ... here.
20210         * sysdeps/x86_64/elf/start.S: Moved to ...
20211         * sysdeps/x86_64/start.S: ... here.
20212         * sysdeps/x86_64/elf/configure: Delete.
20214         * sysdeps/x86_64/configure.in: Merge contents from
20215         sysdeps/i386/configure.in (without i686 check).
20217         * sysdeps/i386/elf/Versions: Merge into ...
20218         * sysdeps/i386/Versions: ... this.
20219         * sysdeps/i386/elf/Versions: Delete file.
20220         * sysdeps/i386/elf/start.S: Moved to ...
20221         * sysdeps/i386/start.S: ...here.
20222         * sysdeps/i386/elf/configure.in: Merge into...
20223         * sysdeps/i386/configure.in: ...here.
20224         * sysdeps/i386/elf/configure.in: Delete file.
20225         * sysdeps/i386/elf/configure: Delete file.
20227         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20228         * debug/backtracesyms.c: ... here.
20229         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20230         * debug/backtracesymsfd.c: ... here.
20231         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20232         * sysdeps/generic/ifunc-sel.h: ... here.
20234         * sysdeps/unix/i386/start.c: Delete file.
20235         * sysdeps/unix/sparc/start.c: Delete file.
20236         * sysdeps/unix/start.c: Delete file.
20238         * sysdeps/sh/elf/configure.in: Moved to ...
20239         * sysdeps/sh/configure.in: ... here.
20240         * sysdeps/sh/elf/start.S: Moved to ...
20241         * sysdeps/sh/start.S: ... here.
20242         * sysdeps/sh/elf/configure: Delete file.
20244         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20245         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20246         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20247         * sysdeps/powerpc/powerpc64/entry.h: ... here.
20248         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20249         * sysdeps/powerpc/powerpc64/start.S: here.
20250         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20251         * sysdeps/powerpc/powerpc64/Makefile: ... this.
20252         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20253         * sysdeps/powerpc/powerpc64/configure.in: ... this.
20254         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20256         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20257         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20258         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20259         * sysdeps/powerpc/powerpc32/start.S: ... here.
20260         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20261         * sysdeps/powerpc/powerpc32/configure.in: ... this.
20262         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20264         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20265         * sysdeps/powerpc/ifunc-sel.h: ... here.
20266         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20267         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20269         * sysdeps/sparc/elf/configure.in: Moved to ...
20270         * sysdeps/sparc/configure.in: ... here.
20271         * sysdeps/sparc/elf/configure: Delete file.
20272         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20273         * sysdeps/sparc/sparc32/start.S: ... here.
20274         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20275         * sysdeps/sparc/sparc64/start.S: ... here.
20276         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20277         * sysdeps/sparc/sparc32/Makefile: ... this.
20278         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20279         * sysdeps/sparc/sparc64/Makefile: ... this.
20281         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20282         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20283         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20284         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20285         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20286         * sysdeps/s390/s390-32/setjmp.S: ... here.
20287         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20288         * sysdeps/s390/s390-32/configure.in: ... here.
20289         * sysdeps/s390/s390-32/elf/configure: Delete file.
20290         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20291         * sysdeps/s390/s390-32/start.S: ... here.
20293         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20294         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20295         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20296         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20297         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20298         * sysdeps/s390/s390-64/setjmp.S: ... here.
20299         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20300         * sysdeps/s390/s390-64/configure.in: ... here
20301         * sysdeps/s390/s390-64/elf/configure: Delete file.
20302         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20303         * sysdeps/s390/s390-64/start.S: ... here.
20304         * sysdeps/s390/s390-64/elf/configure: Delete.
20306         * configure.in: Remove support for elf directories in sysdeps.
20308         * configure: Regenerated.
20309         * sysdeps/i386/configure: Regenerated.
20310         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20311         * sysdeps/powerpc/powerpc64/configure: Regenerated.
20312         * sysdeps/s390/s390-32/configure: Regenerated.
20313         * sysdeps/s390/s390-64/configure: Regenerated.
20314         * sysdeps/sh/configure: Regenerated.
20315         * sysdeps/sparc/configure: Regenerated.
20316         * sysdeps/x86_64/configure: Regenerated.
20318 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
20320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20322         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20323         denormal result into account.
20325 2012-03-25  Roland McGrath  <roland@hack.frob.com>
20327         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20328         Reported by Allan McRae <allan@archlinux.org>.
20330 2012-03-23  Jeff Law  <law@redhat.com>
20332         * nss/getnssent.c (__nss_getent): Fix typo.
20334 2012-03-23  David S. Miller  <davem@davemloft.net>
20336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20338 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
20340         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20341         to pad to uint64_t for each field.
20342         (dl_tls_index): Replace unsigned long with uint64_t.
20344 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
20345         Paul Pluzhnikov  <ppluzhnikov@google.com>
20347         [BZ #6528]
20348         * grp/Makefile (otherlibs): Don't set it.
20349         * inet/Makefile (otherlibs): Likewise.
20350         * login/Makefile (otherlibs): Likewise.
20351         * nscd/Makefile (otherlibs): Likewise.
20352         * posix/Makefile (otherlibs): Likewise.
20353         * pwd/Makefile (otherlibs): Likewise.
20354         * rt/Makefile (otherlibs): Likewise.
20355         * sunrpc/Makefile (otherlibs): Likewise.
20356         * nss/Makefile (otherlibs): Likewise.
20357         Add libnss_files to routines and static-only-routines.
20358         ($(objpfx)getent): Remove rule.
20359         * resolv/Makefile: Add libnss_dns and libresolv to routines and
20360         static-only-routines.
20362 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20364         [BZ #13892]
20365         * math/s_cexp.c: Include <float.h>.
20366         (__cexp): Handle exp result overflowing not necessarily
20367         overflowing both real and imaginary parts of result.
20368         * math/s_cexpf.c: Likewise.
20369         * math/s_cexpl.c: Likewise.
20370         * math/libm-test.inc (cexp_test): Add more tests.
20371         * sysdeps/i386/fpu/libm-test-ulps: Update.
20372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20374 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20376         * include/link.h (ELFW): New macro.
20377         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20378         Replace ELF64_R_TYPE with ELFW(R_TYPE).
20380 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20382         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20383         with uint64_t.
20385 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20387         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20388         declaration.
20389         (struct La_x32_retval): Likewise.
20391 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20393         * sysdeps/x86_64/preconfigure.in: New file.
20394         * sysdeps/x86_64/preconfigure: New generated file.
20396 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20398         [BZ #13824]
20399         * math/e_exp2l.c: Include <float.h>.
20400         (__ieee754_exp2l): Handle overflow and underflow cases
20401         separately.  Only pass fractional part of argument to
20402         __ieee754_expl.
20403         * math/libm-test.inc (exp2_test): Add more tests.
20405         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20406         negating x to take absolute value.
20407         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20408         Likewise.
20409         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20410         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20411         Likewise.
20412         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20413         computing low part if x was negated.
20414         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20416 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20418         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20419         la_x32_gnu_pltexit.
20420         (pltexit): Cast int_retval to ptrdiff_t.
20421         * elf/tst-auditmod3b.c: Likewise.
20422         * elf/tst-auditmod4b.c: Likewise.
20423         * elf/tst-auditmod5b.c: Likewise.
20424         * elf/tst-auditmod6b.c: Likewise.
20425         * elf/tst-auditmod6c.c: Likewise.
20426         * elf/tst-auditmod7b.c: Likewise.
20428         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20429         and x32_gnu_pltexit.
20431         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20432         __ELF_NATIVE_CLASS.
20433         (La_x32_regs): New macro.
20434         (La_x32_retval): Likewise.
20435         (la_x32_gnu_pltenter): New function prototype.
20436         (la_x32_gnu_pltexit): Likewise.
20438 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
20440         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20441         exponent.
20443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20445         * configure.in (libc_cv_cc_nofma): Check for option to disable
20446         generation of FMA instructions.
20447         * configure: Regenerate.
20448         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20449         * sysdeps/ieee754/dbl-64/Makefile: New file.
20450         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20451         Remove brandred-fma4.
20452         (CFLAGS-brandred-fma4.c): Remove.
20453         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20454         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20455         define.
20456         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20457         define.
20459 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20461         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20462         LLONG_MAX != LONG_MAX.
20463         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20464         (_fitoa_word): Likewise.
20465         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20466         LLONG_MAX != LONG_MAX.
20467         * stdio-common/_itowa.h: Include <_itoa.h>.
20468         (_itowa_word): Use _ITOA_WORD_TYPE on value.
20469         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
20470         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
20471         only if not defined.
20472         (_ITOA_WORD_TYPE): Likewise.
20473         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20474         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20476 2012-03-21  David S. Miller  <davem@davemloft.net>
20478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20480 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20482         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20483         of x86_64 when setting libc_cv_slibdir, libdir and
20484         libc_cv_localedir.
20485         * sysdeps/unix/sysv/linux/configure: Regenerated.
20487 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20489         * manual/lang.texi (Old Varargs): Remove section.
20490         (How Variadic): Update menu.
20491         (va_start): Do not mention varargs.h.
20493 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20494             Joseph Myers  <joseph@codesourcery.com>
20496         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20497         link test.
20498         * configure: Regenerated.
20500 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20502         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20503         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20504         conformtest.pl
20506 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20508         * NOTES: Remove.
20509         * Makefile (files-for-dist): Remove NOTES.
20510         (NOTES): Remove rule.
20511         * README: Don't refer to NOTES.
20512         * manual/creature.texi: Don't include macros.texi.
20513         * manual/intro.texi (creature.texi): Remove comment referring to
20514         NOTES.
20516         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20517         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20518         * configure: Regenerated.
20519         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20520         LIBC_TRY_CC_OPTION.
20521         (libc_cv_as_i686): Likewise.
20522         (libc_cv_cc_avx): Likewise.
20523         (libc_cv_cc_sse2avx): Likewise.
20524         (libc_cv_cc_fma4): Likewise.
20525         (libc_cv_cc_novzeroupper): Likewise.
20526         * sysdeps/i386/configure: Regenerated.
20528         [BZ #13883]
20529         * sysdeps/i386/fpu/s_cexp.S: Remove.
20530         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20531         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20532         * math/libm-test.inc (cexp_test): Add more tests.
20533         * sysdeps/i386/fpu/libm-test-ulps: Update.
20534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20536 2012-03-21  Allan McRae  <allan@archlinux.org>
20538         * timezone/Makefile: Do not install iso3166.tab and zone.tab
20540 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20542         [BZ #13871]
20543         * math/w_exp2.c: Do not include <float.h>.
20544         (o_threshold, u_threshold): Remove.
20545         (__exp2): Calculate result before checking finiteness and calling
20546         __kernel_standard.
20547         * math/w_exp2f.c: Likewise.
20548         * math/w_exp2l.c: Likewise.
20549         * math/libm-test.inc (exp2_test): Require overflow exception for
20550         1e6 input.
20552         [BZ #3866]
20553         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20554         range of signed 64-bit integers before using fistpll.  Remove
20555         checks for whether integers fit in mantissa bits.
20556         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20557         the range of signed 32-bit integers before using fistpl.  Remove
20558         checks for whether integers fit in mantissa bits.
20559         * sysdeps/i386/fpu/e_powl.S (p64): New object.
20560         (__ieee754_powl): Test for y outside the range of signed 64-bit
20561         integers before using fistpll.  Reduce 64-bit values to 63-bit
20562         ones as needed.
20563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20564         divide-by-zero is raised for zero to large negative powers.
20565         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20566         (__ieee754_powl): Test for y outside the range of signed 64-bit
20567         integers before using fistpll.  Reduce 64-bit values to 63-bit
20568         ones as needed.
20569         * math/libm-test.inc (pow_test): Add more tests.
20571 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20573         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20574         <stdio-common/_itoa.h>.
20575         * debug/segfault.c: Likewise.
20576         * elf/dl-cache.c: Likewise.
20577         * elf/dl-minimal.c: Likewise.
20578         * elf/dl-misc.c: Likewise.
20579         * elf/dl-sysdep.c: Likewise.
20580         * elf/dl-version.c: Likewise.
20581         * elf/rtld.c: Likewise.
20582         * hurd/hurdsock.c: Likewise.
20583         * hurd/lookup-retry.c: Likewise.
20584         * malloc/malloc.c: Likewise.
20585         * malloc/mtrace.c: Likewise.
20586         * nscd/nscd_getgr_r.c: Likewise.
20587         * nscd/nscd_getpw_r.c: Likewise.
20588         * nscd/nscd_getserv_r.c: Likewise.
20589         * posix/getopt_init.c: Likewise.
20590         * posix/wordexp.c: Likewise.
20591         * stdio-common/_itoa.c: Likewise.
20592         * stdio-common/printf_fphex.c: Likewise.
20593         * stdio-common/vfprintf.c: Likewise.
20594         * string/_strerror.c: Likewise.
20595         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20596         * sysdeps/i386/i686/hp-timing.h: Likewise.
20597         * sysdeps/mach/_strerror.c: Likewise.
20598         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20599         * sysdeps/mach/hurd/sethostid.c: Likewise.
20600         * sysdeps/mach/hurd/xmknodat.c: Likewise.
20601         * sysdeps/mach/xpg-strerror.c: Likewise.
20602         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20603         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20604         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20605         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20606         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20607         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20608         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20609         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20610         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20611         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20612         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20613         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20614         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20615         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20616         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20617         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20618         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20619         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20620         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20621         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20622         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20624         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20626         * stdio-common/_itoa.h: Moved to ...
20627         * sysdeps/generic/_itoa.h: Here.
20629         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20631         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20632         instead of "_itoa.h" and "_itowa.h".
20633         * stdio-common/vfprintf.: Likewise.
20635 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20637         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20638         <bits/wordsize.h>.
20639         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20640         (__signbit): Likwise.
20641         (llrintf): Likwise.
20642         (llrint): Likwise.
20644 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20646         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20647         __WORDSIZE != 64.
20649 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
20651         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20652         OVERFLOW_EXCEPTION_OK.
20653         * math/libm-test.inc ("Philosophy"): Update comment about
20654         exception testing.
20655         (OVERFLOW_EXCEPTION): Define.
20656         (OVERFLOW_EXCEPTION_OK): Likewise.
20657         (INVALID_EXCEPTION_OK): Renumber.
20658         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20659         (IGNORE_ZERO_INF_SIGN): Likewise.
20660         (test_exceptions): Handle FE_OVERFLOW.
20661         (exp10_test): Expect overflow exceptions.
20662         (exp2_test): Likewise.
20663         (expm1_test): Likewise.
20664         (nextafter_test): Likewise.
20665         (pow_test): Likewise.
20666         (scalbn_test): Likewise.
20667         (scalbln_test): Likewise.
20669 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20671         * sysdeps/x86_64/bits/atomic.h
20672         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20673         64bit integer.
20674         (atomic_exchange_acq): Likewise.
20675         (__arch_exchange_and_add_body): Likewise.
20676         (__arch_add_body): Likewise.
20677         (atomic_add_negative): Likewise.
20678         (atomic_add_zero): Likewise.
20680 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20682         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20683         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20685 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20687         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20688         Check __x86_64__ instead of __WORDSIZE.
20690 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20692         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20694 2012-03-19  David S. Miller  <davem@davemloft.net>
20696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20698         * sysdeps/sparc/fpu/fenv_private.h: New file.
20699         * sysdeps/sparc/fpu/math_private.h: Use it.
20700         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20701         Remove.
20702         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20703         (libc_feholdexcept_setroundl): Remove.
20704         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20705         Remove.
20706         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20707         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20709 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20711         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20712         int64_t instead of long int.
20713         (INSERT_WORDS64): Likwise.
20715 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20717         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20718         _Unwind_GetCFA return to _Unwind_Ptr first.
20720 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
20722         [BZ #13629]
20723         * math/s_clog.c: Include <float.h>.
20724         (__clog): Scale large or subnormal inputs.
20725         * math/s_clogf.c: Likewise.
20726         * math/s_clogl.c: Likewise.
20727         * math/s_clog10.c: Include <float.h>.
20728         (M_LOG10_2): Define.
20729         (__clog10): Scale large or subnormal inputs.
20730         * math/s_clog10f.c: Likewise.
20731         * math/s_clog10l.c: Likewise.
20732         * math/libm-test.inc (clog_test): Add more tests.
20733         (clog10_test): Likewise.
20734         * sysdeps/i386/fpu/libm-test-ulps: Update.
20735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20737         [BZ #11451]
20738         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20739         x and y.
20740         * math/libm-test.inc (atan2_test): Add another test.
20742         * Makerules (common-objdir-compile): Remove.
20743         * sysdeps/unix/Makefile (config-generated): Do not add
20744         $(unix-generated) to variable.
20745         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20746         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20747         Remove rule.
20748         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20749         Likewise.
20750         [generic bits/local_lim.h] (before-compile): Do not append to
20751         variable.
20752         [generic bits/local_lim.h] (common-generated): Likewise.
20753         [generic sys/param.h] (before-compile): Do not append to variable.
20754         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20755         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20756         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20757         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20758         include.
20759         [generic sys/param.h] (sys/param.h-includes): Remove variable.
20760         [generic sys/param.h] (sys/param.h-includes): Remove rule.
20761         [generic sys/param.h] ($(addprefix
20762         $(common-objpfx),$(sys/param.h-includes))): Likewise.
20763         [generic sys/param.h] (common-generated): Do not append to
20764         variable.
20765         [generic sys/param.h] (sysdep_headers): Likewise.
20766         [generic bits/errno.h] (before-compile): Do not append to
20767         variable.
20768         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20769         rule.
20770         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20771         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20772         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20773         [generic bits/errno.h] (common-generated): Do not append to
20774         variable.
20775         [generic bits/ioctls.h] (before-compile): Do not append to
20776         variable.
20777         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20778         rule.
20779         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20780         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20781         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20782         rule.
20783         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20784         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20785         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20786         [generic bits/ioctls.h] (common-generated): Do not append to
20787         variable.
20788         [generic sys/syscall.h] (syscall.h): Remove variable.
20789         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20790         rule.
20791         [generic sys/syscall.h] (before-compile): Do not append to
20792         variable.
20793         [generic sys/syscall.h] (common-generated): Likewise.
20794         * sysdeps/unix/errnos-tmpl.c: Remove file.
20795         * sysdeps/unix/errnos.awk: Likewise.
20796         * sysdeps/unix/ioctls-tmpl.c: Likewise.
20797         * sysdeps/unix/ioctls.awk: Likewise.
20798         * sysdeps/unix/mk-local_lim.c: Likewise.
20799         * sysdeps/unix/snarf-ioctls: Likewise.
20801 2012-03-19  Richard Henderson  <rth@twiddle.net>
20803         * sysdeps/i386/fpu/fenv_private.h: New file.
20804         * sysdeps/i386/fpu/math_private.h: Use it.
20805         (math_opt_barrier, math_force_eval): Remove.
20806         (libc_feholdexcept_setround_53bit): Remove.
20807         (libc_feupdateenv_53bit): Remove.
20808         * sysdeps/x86_64/fpu/math_private.h: Likewise.
20809         (math_opt_barrier, math_force_eval): Remove.
20810         (libc_feholdexcept): Remove.
20811         (libc_feholdexcept_setround): Remove.
20812         (libc_fetestexcept, libc_fesetenv): Remove.
20813         (libc_feupdateenv_test): Remove.
20814         (libc_feupdateenv, libc_feholdsetround): Remove.
20815         (libc_feresetround): Remove.
20817         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20818         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20820         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20821         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20822         (libc_feupdateenv_testl): New.
20823         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20824         (libc_feupdateenv_testf): New.
20825         (libc_feupdateenv): Use libc_feupdateenv_test.
20826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20827         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20829         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20830         (libc_feholdsetroundf, libc_feholdsetroundl): New.
20831         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20832         (libc_feresetround_noex): New.
20833         (libc_feresetround_noexf): New.
20834         (libc_feresetround_noexl): New.
20835         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20836         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20837         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20838         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20839         SET_RESTORE_ROUND.
20840         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20841         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20842         (__cos): Likewise.
20843         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20844         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20845         SET_RESTORE_ROUND_NOEX.
20846         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20847         SET_RESTORE_ROUND_NOEXF.
20848         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20849         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20850         (libc_feholdsetroundf): New.
20851         (libc_feresetround, libc_feresetroundf): New.
20853         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20854         (libc_feholdexcept_setround_53bit): Convert from macro to function.
20855         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
20857         * sysdeps/generic/math_private.h: Include <fenv.h>.
20858         (default_libc_feholdexcept): New.
20859         (default_libc_feholdexcept_setround): New.
20860         (default_libc_fesetenv, default_libc_feupdateenv): New.
20861         (libc_feholdexcept): Only define if undefined.
20862         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20863         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20864         (libc_feholdexcept_setroundl): Likewise.
20865         (libc_feholdexcept_setround_53bit): Likewise.
20866         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20867         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20868         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20869         (libc_feupdateenv_53bit): Likewise.
20870         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20871         (libc_feholdexcept): Convert from macro to inline function.
20872         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20873         (libc_fesetenv, libc_feupdateenv): Likewise.
20875         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20876         not previously defined.
20877         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20878         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20879         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20880         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20881         * sysdeps/ieee754/flt-32/math_private.h: New file.
20882         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20883         math_private.h below SET_FLOAT_WORD.
20884         (__isnan, __isinf_ns, __finite): Remove.
20885         (__isnanf, __isinf_nsf, __finitef): Remove.
20887 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
20889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20891 2012-03-17  David S. Miller  <davem@davemloft.net>
20893         [BZ #6471]
20894         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20895         for 2.16.
20897 2012-03-16  David S. Miller  <davem@davemloft.net>
20899         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20900         warnings.
20902         [BZ #6471]
20903         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20904         properly.
20905         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20906         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20907         sysdep_routines when subdir is sysvipc.
20908         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20909         __getshmlba helper.
20911         * sysdeps/sparc/fpu/libm-test/ulps: Update.
20913 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20915         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20916         [__LP64__].
20918 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20920         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20921         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20922         (__lround): Renamed to ...
20923         (__llround): This.  Replace long int with long long int.
20924         Define lround functions as aliases of llround functions.
20925         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20927 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20929         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20930         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
20931         adresses to uintptr_t.  Replace "long int" and "unsigned long
20932         int" with "greg_t" on va_arg.
20934 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20936         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20937         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20939         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20940         Move e_machine check before EI_CLASS check.  Handle x32
20941         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20942         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20943         SKIP_EM_IA_64 and include
20944         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20946         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20947         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20948         (add_system_dir): New macro.
20950         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20951         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20953 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
20955         [BZ #2551]
20956         [BZ #2552]
20957         [BZ #2553]
20958         [BZ #2554]
20959         [BZ #2562]
20960         [BZ #2563]
20961         [BZ #2565]
20962         [BZ #2566]
20963         [BZ #2576]
20964         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20965         (y0): Likewise.
20966         * math/w_j0f.c (j0f): Likewise.
20967         (y0f): Likewise.
20968         * math/w_j0l.c (__j0l): Likewise.
20969         (__y0l): Likewise.
20970         * math/w_j1.c (j1): Likewise.
20971         (y1): Likewise.
20972         * math/w_j1f.c (j1f): Likewise.
20973         (y1f): Likewise.
20974         * math/w_j1l.c (__j1l): Likewise.
20975         (__y1l): Likewise.
20976         * math/w_jn.c (jn): Likewise.
20977         (yn): Likewise.
20978         * math/w_jnf.c (jnf): Likewise.
20979         (ynf): Likewise.
20980         * math/w_jnl.c (__jnl): Likewise.
20981         (__ynl): Likewise.
20982         * math/libm-test.inc (j0_test): Add more tests.
20983         (j1_test): Likewise.
20984         (jn_test): Likewise.  Add trailing semicolon to existing test.
20985         (y0_test): Likewise.
20986         (y1_test): Likewise.
20987         * sysdeps/i386/fpu/libm-test-ulps: Update.
20988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20990         [BZ #13851]
20991         [BZ #13854]
20992         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20993         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20994         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20995         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20996         (__tanl): Set errno for infinite argument.
20997         * sysdeps/i386/fpu/mptan.c: Remove.
20998         * sysdeps/i386/fpu/s_tan.S: Likewise.
20999         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21000         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21001         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21002         * math/libm-test.inc (tan_test): Add more tests and enable more
21003         tests for double and long double.
21004         * sysdeps/i386/fpu/libm-test-ulps: Update.
21005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21007 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21009         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21010         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21012 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21014         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21015         * configure.in: Use it for both main tree and add-ons.
21016         * configure: Regenerated.
21018 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21020         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21022 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21024         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21025         in comment.
21027         [BZ #13851]
21028         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21029         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21030         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21031         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21032         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21033         infinite argument.
21034         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21035         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21036         != 0 for prec == 2.
21037         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21038         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21039         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21040         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21041         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21042         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21043         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21044         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21045         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21046         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21047         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21048         * math/libm-test.inc (cos_test): Add more tests and enable more
21049         tests for long double.
21050         (sin_test): Likewise.
21051         (sincos_test): Likewise.
21052         * sysdeps/i386/fpu/libm-test-ulps: Update.
21053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21055 2012-03-16  David S. Miller  <davem@davemloft.net>
21057         * sysdeps/sparc/fpu/math_private.h: New file.
21059 2012-03-15  David S. Miller  <davem@davemloft.net>
21061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21062         file.
21063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21065         file.
21066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21068         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21069         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21070         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21071         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21072         sysdep routines.
21073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21075         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21076         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21078         * sysdeps/sparc/sparc-ifunc.h: New file.
21079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21080         sparc-ifunc.h
21081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21083         Likewise.
21084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21085         Likewise.
21086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21090         Likewise.
21091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21096         Likewise.
21097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21098         Likewise.
21099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21105         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21106         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21117         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21118         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21119         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21120         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21121         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21122         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21124 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21126         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21127         scaling.
21128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21130 2012-03-15  Andreas Jaeger  <aj@suse.de>
21132         [BZ #13852]
21133         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21134         ieee754/flt-32 implementation for sin, cos and sincos.
21135         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21136         * sysdeps/i386/fpu/s_cosf.S: Likewise.
21137         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21138         * sysdeps/i386/fpu/s_sinf.S: Likewise.
21139         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21140         ieee754/flt-32 implementation for tan.
21142         * math/libm-test.inc (cos_test): Enable some large input tests for
21143         float as well
21144         (sin_test): Likewise.
21145         (sincos_test): Likewise.
21146         (tan_test): Add tests for large input.
21148         * sysdeps/i386/fpu/libm-test-ulps: Update.
21150 2012-03-15  Andreas Jaeger  <aj@suse.de>
21152         [BZ #13658]
21153         * math/libm-test.inc (cos_test): Add more test cases.
21154         (sin_test): Likewise.
21155         (sincos_test): Likewise.
21157 2012-03-15  Andreas Jaeger  <aj@suse.de>
21159         [BZ #13837]
21160         * math/libm-test.inc (cos_test): Add a test case for large input
21161         value.
21162         (sin_test): Likewise.
21163         (sincos_test): Likewise.
21165 2012-03-15  Andreas Jaeger  <aj@suse.de>,
21166         Joseph Myers  <joseph@codesourcery.com>
21168         [BZ #13658]
21169         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21170         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21171         * sysdeps/i386/fpu/branred.c: Likewise.
21172         * sysdeps/i386/fpu/dosincos.c: Likewise.
21173         * sysdeps/i386/fpu/mpa.c: Likewise.
21174         * sysdeps/i386/fpu/s_cos.S: Likewise.
21175         * sysdeps/i386/fpu/s_sin.S: Likewise.
21176         * sysdeps/i386/fpu/s_sincos.S: Likewise.
21177         * sysdeps/i386/fpu/sincos32.c: Likewise.
21179         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21180         Define.
21181         (libc_feupdateenv_53bit): Define.
21182         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21183         Define.
21184         (libc_feupdateenv_53bit): Define.
21186         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21187         53 bit (without extend i386 double precision).
21189         * math/libm-test.inc (sincos_test): Add tests for large input.
21190         (sin): Likewise.
21191         (cos): Likewise.
21193         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21195 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21199 2012-03-15  David S. Miller  <davem@davemloft.net>
21201         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21202         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21203         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21204         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21209         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21210         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21211         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21215         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21217         file.
21218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21220         file.
21221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21223         file.
21224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21226         file.
21227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21228         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21229         fmin/fmax sysdep routines.
21230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21232 2012-03-14  David S. Miller  <davem@davemloft.net>
21234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21237         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21238         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21239         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21240         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21241         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21251         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21252         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21253         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21254         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21255         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21256         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21257         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21258         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21259         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21260         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21261         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21262         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21263         routines.
21264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21265         file.
21266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21268         file.
21269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21271         file.
21272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21274         file.
21275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21277         file.
21278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21280         file.
21281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21282         file.
21283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21284         file.
21285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21286         file.
21287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21288         New file.
21289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21290         file.
21291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21292         file.
21293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21295         file.
21296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21298         file.
21299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21301         file.
21302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21304         VIS3 routines.
21306         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21307         New file.
21309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21311         * sysdeps/sparc/configure.in: New file.
21312         * sysdeps/sparc/configure: Generate.
21313         * configure.in (libc_cv_sparc_as_vis3): Substitute.
21314         * configure: Regenerate.
21315         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21316         * config.make.in (have-as-vis3): New.
21317         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21318         available use -Av9d instead of -Av9a.
21319         * sysdeps/sparc/sparc64/Makefile: Likewise.
21320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21322         New file.
21323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21324         file.
21325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21326         New file.
21327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21328         file.
21329         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21330         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21331         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21332         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21333         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21335         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21336         fzeros/fnegs to load 0x80000000 into a float register instead of
21337         using the stack.
21338         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21340 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21343         bits/syscall.h.
21344         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21345         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21346         ($(inst_includedir)/bits/syscall.h): Remove rule.
21347         ($(objpfx)bits/syscall.d): Include instead of
21348         $(objpfx)syscall-list.d.
21349         (generated): Change syscall-list.h and syscall-list.d to
21350         bits/syscall.h and bits/syscall.d.
21352 2012-03-14  Roland McGrath  <roland@hack.frob.com>
21354         [BZ #13846]
21355         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21357 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21359         [BZ #13841]
21360         * math/s_csqrt.c: Include <float.h>.
21361         (__csqrt): Scale large or subnormal inputs.
21362         * math/s_csqrtf.c: Likewise.
21363         * math/s_csqrtl.c: Likewise.
21364         * math/libm-test.inc (csqrt_test): Add more tests.
21365         * sysdeps/i386/fpu/libm-test-ulps: Update.
21366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21368         [BZ #13840]
21369         * math/libm-test.inc (hypot_test): Add more tests.
21371 2012-03-13  David S. Miller  <davem@davemloft.net>
21373         [BZ #13840]
21374         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21375         double-precision for the calculation instead of scaling.
21377 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
21379         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21380         manipulate bits before adding and subtracting TWO52[sx].
21381         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21382         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21383         Likewise.
21384         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21386 2012-03-13  David S. Miller  <davem@davemloft.net>
21388         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21389         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21390         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21391         rtld-global-offsets.h
21392         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21394         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21395         large parameters.
21397         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21399         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21400         'err' in the ifdef scope in which it is actually used.
21402         * nss/nss_db/db-init.c: Include string.h
21404 2012-03-12  David S. Miller  <davem@davemloft.net>
21406         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21407         masking out of the most significant byte of random value used.
21408         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21409         Fix coding style in previous change.
21411         * sysdeps/unix/sysv/linux/kernel-features.h
21412         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21413         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21414         expression.
21415         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21416         later.
21418 2012-03-11  David S. Miller  <davem@davemloft.net>
21420         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21421         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21422         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21423         for 'resultvar' otherwise things get truncated on 64-bit.
21425         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21426         Fix masking out of the most significant byte of random value used.
21428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21430 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
21432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21434 2012-03-09  David S. Miller  <davem@davemloft.net>
21436         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21437         variables with appropriate CPP guards.
21438         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21439         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
21440         on resulting framesize and the management of the outregs buffer for pltexit.
21441         Preserve floating point return values across _dl_call_pltexit call.
21442         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21443         framesize and the management of the outregs buffer for pltexit.
21444         Preserve floating point return values across _dl_call_pltexit
21445         call.
21446         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21447         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21448         (print_exit): Fix format string for return register value.
21450 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
21452         * sunrpc/Makefile (others): Add rpcgen.
21453         ($(objpfx)rpcgen): Remove special build rule and dependency on
21454         libc.
21455         * sunrpc/rpcgen.c: New file.
21457 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
21459         [BZ #13673]
21460         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21461         * stdio-common/bug-vfprintf-nargs.c: Likewise.
21462         * sysdeps/i386/crti.S: Likewise.
21463         * sysdeps/i386/crtn.S: Likewise.
21464         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21465         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21466         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21467         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21468         * sysdeps/sh/crti.S: Likewise.
21469         * sysdeps/sh/crtn.S: Likewise.
21470         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21472         [BZ #13673]
21473         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21474         with URL.
21475         * locale/programs/locfile-kw.gperf: Likewise.
21476         * locale/programs/charmap-kw.h: Regenerated.
21477         * locale/programs/locfile-kw.h: Likewise.
21479         [BZ #13673]
21480         * intl/plural.y: Replace FSF snail mail address with URL.
21481         * intl/plural.c: Regenerated.
21483 2012-03-09  Richard Henderson  <rth@twiddle.net>
21485         * include/math_private.h: Remove file.
21486         * math/math_private.h: Move file ...
21487         * sysdeps/generic/math_private.h: ... here.
21489         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21490         * sysdeps/powerpc/fpu/math_private.h: Likewise.
21491         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21493         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21494         and <math_private.h>.
21495         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21496         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21497         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21498         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21499         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21500         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21501         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21503         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21504         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21505         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21506         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21507         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21508         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21509         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21510         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21511         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21512         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21513         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21514         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21515         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21516         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21517         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21518         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21519         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21520         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21521         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21522         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21523         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21524         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21525         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21526         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21527         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21528         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21529         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21530         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21531         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21532         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21533         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21534         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21535         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21536         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21537         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21538         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21539         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21540         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21541         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21542         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21543         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21544         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21545         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21546         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21547         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21548         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21549         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21550         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21551         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21552         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21553         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21554         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21555         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21556         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21557         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21558         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21559         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21560         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21561         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21562         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21563         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21564         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21565         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21566         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21567         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21568         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21569         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21570         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21571         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21572         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21573         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21574         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21575         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21576         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21577         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21578         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21579         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21580         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21581         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21582         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21583         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21584         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21585         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21586         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21587         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21588         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21589         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21590         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21591         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21592         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21593         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21594         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21595         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21596         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21597         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21598         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21599         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21600         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21601         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21602         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21603         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21604         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21605         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21606         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21607         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21608         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21609         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21610         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21611         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21612         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21613         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21614         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21615         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21616         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21617         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21618         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21619         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21620         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21621         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21622         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21623         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21624         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21625         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21626         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21627         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21628         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21629         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21630         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21631         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21632         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21633         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21634         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21635         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21636         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21637         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21638         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21639         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21640         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21641         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21642         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21643         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21644         * sysdeps/ieee754/k_standard.c: Likewise.
21645         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21646         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21647         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21648         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21649         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21650         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21651         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21652         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21653         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21654         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21655         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21656         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21657         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21658         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21659         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21660         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21661         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21662         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21663         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21664         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21665         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21666         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21667         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21668         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21669         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21670         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21671         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21672         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21673         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21674         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21675         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21676         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21677         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21678         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21679         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21680         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21681         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21682         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21683         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21684         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21685         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21686         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21687         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21688         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21689         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21690         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21691         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21692         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21693         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21694         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21695         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21696         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21697         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21698         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21699         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21700         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21701         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21702         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21703         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21704         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21705         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21706         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21707         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21708         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21709         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21711         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21712         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21713         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21714         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21715         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21716         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21717         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21718         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21719         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21720         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21721         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21722         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21723         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21724         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21725         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21726         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21727         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21728         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21729         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21730         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21731         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21732         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21733         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21734         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21735         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21736         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21737         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21738         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21739         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21740         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21741         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21742         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21743         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21744         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21745         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21746         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21747         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21748         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21749         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21750         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21751         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21752         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21753         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21754         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21755         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21756         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21757         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21758         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21759         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21760         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21761         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21762         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21763         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21764         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21765         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21766         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21767         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21768         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21769         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21770         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21771         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21772         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21773         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21774         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21775         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21776         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21777         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21778         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21779         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21780         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21781         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21782         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21783         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21784         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21785         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21786         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21787         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21788         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21789         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21790         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21791         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21792         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21793         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21794         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21795         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21796         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21797         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21798         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21799         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21800         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21801         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21802         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21803         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21804         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21805         * sysdeps/ieee754/s_lib_version.c: Likewise.
21806         * sysdeps/ieee754/s_matherr.c: Likewise.
21807         * sysdeps/ieee754/s_signgam.c: Likewise.
21808         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21809         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21810         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21811         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21812         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21813         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21814         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21815         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21816         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21817         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21818         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21819         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21820         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21821         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21822         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21823         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21824         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21825         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21826         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21828         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21830 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
21832         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21833         * sunrpc/rpc_main.c: Likewise.
21834         * sunrpc/rpc_svcout.c: Likewise.
21836 2012-03-09  David S. Miller  <davem@davemloft.net>
21838         * include/math_private.h: New file.
21840 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
21842         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21843         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21844         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21845         from <bits/socket_type.h>.
21846         (enum __socket_type): Don't define here.
21847         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21848         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21849         bits/socket_type.h.
21851         [BZ #13566]
21852         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21853         checking __USE_GNU.
21855         * Makerules ($(inst_includedir)/%.h): New rule.
21856         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21857         (install-others): Remove variable setting.
21858         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21860 2012-03-08  Richard Henderson  <rth@twiddle.net>
21862         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21863         from macro to inline function; merge with the
21864         !__LIBC_INTERNAL_MATH_INLINES version.
21865         (__ieee754_sqrtf): Likewise.
21867         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21868         to inline function.
21869         (__rintf, __floor, __floorf): Likewise.
21871         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21872         macro to inline function.
21873         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21875         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21876         not <math/math_private.h>.
21878 2012-03-08  David S. Miller  <davem@davemloft.net>
21880         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21881         copyright year.
21882         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21884 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
21886         * resolv/gai_misc.c (handle_requests): Fix struct timespec
21887         normalization.
21888         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21889         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21891 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
21893         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
21894         be defined individually, they must be defined as a block.  Define
21895         S for printing a string instead of hidint the different by using a
21896         macro for adding the 'l'.
21897         * stdio-common/tst-fphex-wide.c: Adjust.
21899 2012-03-07  Marek Polacek  <polacek@redhat.com>
21901         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21903 2012-03-08  Marek Polacek  <polacek@redhat.com>
21905         [BZ #13806]
21906         * stdio-common/Makefile (tests): Add tst-fphex-wide.
21907         * stdio-common/tst-fphex.c: Define a few macros to make the
21908         test reusable.  Use them.
21909         * stdio-common/tst-fphex-wide.c: New file.
21911 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
21913         [BZ #6911]
21914         * manual/macros.texi (gnusystems): New macro.
21915         (nongnusystems): Likewise.
21916         (gnulinuxhurdsystems): Likewise.
21917         (gnuhurdsystems): Likewise..
21918         (gnulinuxsystems): Likewise.
21919         * manual/charset.texi: Use new macros or @theglibc{} to refer to
21920         variants of the GNU system, not "GNU system".
21921         * manual/conf.texi: Likewise.
21922         * manual/errno.texi: Likewise.  Update example of errno macro
21923         expansion.
21924         * manual/filesys.texi: Likewise.
21925         (getumask): Document as specific to GNU/Hurd.
21926         * manual/install.texi: Likewise.  Reword some references to
21927         GNU/Linux.
21928         * manual/intro.texi: Likewise.
21929         * manual/io.texi: Likewise.
21930         (File Name Portability): Detail which constraints are inapplicable
21931         to all GNU systems and which are only inapplicable to GNU/Hurd.
21932         * manual/job.texi: Likewise.
21933         * manual/llio.texi: Likewise.
21934         (O_NOCTTY): Document as present on GNU/Linux.
21935         * manual/maint.texi: Likewise.
21936         * manual/memory.texi: Likewise.
21937         * manual/pattern.texi: Likewise.
21938         * manual/pipe.texi: Likewise.
21939         * manual/process.texi: Likewise.
21940         * manual/resource.texi: Likewise.
21941         (RUSAGE_CHILDREN): Remove statement about specifying a particular
21942         child on GNU/Hurd.
21943         * manual/setjmp.texi: Likewise.
21944         * manual/signal.texi: Likewise.
21945         * manual/startup.texi: Likewise.
21946         * manual/stdio.texi: Likewise.
21947         * manual/terminal.texi: Likewise.
21948         (ONLCR): Document as POSIX.
21949         (OXTABS): Document availability on GNU/Linux as XTABS.
21950         (ONOEOT): Document availability separately from other bits.
21951         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21952         * manual/time.texi: Likewise.
21953         * manual/users.texi: Likewise.
21954         * INSTALL: Regenerated.
21955         * sysdeps/gnu/errlist.c: Regenerated.
21957         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21958         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21959         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
21960         puts.
21961         * configure: Regenerated.
21963 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
21965         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21966         default includes instead of AC_HEADER_CHECK.
21967         * sysdeps/i386/configure: Regenerated.
21969         [BZ #10716]
21970         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21971         * math/s_cacoshf.c (__cacoshf): Likewise.
21972         * math/s_cacoshl.c (__cacoshl): Likewise.
21973         * math/s_casinh.c (__casinh): Set signs of result from argument.
21974         * math/s_casinhf.c (__casinhf): Likewise.
21975         * math/s_casinhl.c (__casinhl): Likewise.
21976         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21977         (casinh_test): Add more tests.
21978         * sysdeps/i386/fpu/libm-test-ulps: Update.
21979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21981 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
21983         * po/zh_TW.po: Update from translation team.
21985         * login/Makefile (distribute): Remove variable.
21986         * catgets/Makefile: Likewise.
21987         * mach/Makefile: Likewise.
21988         * malloc/Makefile: Likewise.
21989         * misc/Makefile: Likewise.
21990         * iconv/Makefile: Likewise.
21991         * nscd/Makefile: Likewise.
21992         * hurd/Makefile: Likewise.
21993         * manual/Makefile: Likewise.
21994         * locale/Makefile: Likewise.
21995         * intl/Makefile: Likewise.
21996         * conform/Makefile: Likewise.
21997         * nss/Makefile: Likewise.
21998         * time/Makefile: Likewise.
21999         * soft-fp/Makefile: Likewise.
22000         * dirent/Makefile: Likewise.
22001         * gmon/Makefile: Likewise.
22002         * po/Makefile: Likewise.
22003         * rt/Makefile: Likewise.
22004         * socket/Makefile: Likewise.
22005         * math/Makefile: Likewise.
22006         * signal/Makefile: Likewise.
22007         * debug/Makefile: Likewise.
22008         * elf/Makefile: Likewise.
22009         * timezone/Makefile: Likewise.
22010         * stdlib/Makefile: Likewise.
22011         * iconvdata/Makefile: Likewise.
22012         * sunrpc/Makefile: Likewise.
22013         * io/Makefile: Likewise.
22014         * argp/Makefile: Likewise.
22015         * inet/Makefile: Likewise.
22016         * hesiod/Makefile: Likewise.
22017         * grp/Makefile: Likewise.
22018         * csu/Makefile: Likewise.
22019         * wctype/Makefile: Likewise.
22020         * crypt/Makefile: Likewise.
22021         * libio/Makefile: Likewise.
22022         * string/Makefile: Likewise.
22023         * nis/Makefile: Likewise.
22024         * resolv/Makefile: Likewise.
22025         * stdio-common/Makefile: Likewise.
22026         * wcsmbs/Makefile: Likewise.
22027         * dlfcn/Makefile: Likewise.
22028         * posix/Makefile: Likewise.
22030         [BZ #6959]
22031         * timezone/Makefile: Don't install timezone files, just the programs
22032         and scripts.
22034 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22036         * nss/databases.def: Add missing gshadow entry.
22038         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22040 2012-03-06  Marek Polacek  <polacek@redhat.com>
22042         [BZ #13726]
22043         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22044         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22045         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22046         * stdio-common/tst-long-dbl-fphex.c: New file.
22048 2012-03-06  David S. Miller  <davem@davemloft.net>
22050         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22051         (set_obp_int): New function.
22052         (get_obp_int): New function.
22053         (__get_clockfreq_via_dev_openprom): Likewise.
22054         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22055         Avoid unused variable warnings on 'val' and use builtin_expect.
22056         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22057         __builtin_expect.
22058         (INLINE_CLONE_SYSCALL): Likewise.
22060 2012-03-05  David S. Miller  <davem@davemloft.net>
22062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22064 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
22066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22068         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22069         only for |x| >= 40.
22070         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22072 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22074         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22075         Replace gettimeofday with __vdso_gettimeofday.
22077         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22078         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22079         __vdso_clock_gettime and __vdso_getcpu.
22081         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22082         time with __vdso_time.
22084 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22086         * manual/lang.texi (size_t): Note types to which size_t may be
22087         equivalent with the GNU C Library, but do not describe when
22088         differences between them are significant.
22090 2012-03-05  Andreas Jaeger  <aj@suse.de>
22092         * sysdeps/i386/fpu/libm-test-ulps: Update.
22094 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22096         [BZ #3976]
22097         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22098         (__ieee754_pow): Save and restore rounding mode and use
22099         round-to-nearest for main computations.
22100         * math/libm-test.inc (pow_test_tonearest): New function.
22101         (pow_test_towardzero): Likewise.
22102         (pow_test_downward): Likewise.
22103         (pow_test_upward): Likewise.
22104         (main): Call the new functions.
22105         * sysdeps/i386/fpu/libm-test-ulps: Update.
22106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22108         [BZ #3976]
22109         * math/libm-test.inc (cosh_test_tonearest): New function.
22110         (cosh_test_towardzero): Likewise.
22111         (cosh_test_downward): Likewise.
22112         (cosh_test_upward): Likewise.
22113         (sinh_test_tonearest): Likewise.
22114         (sinh_test_towardzero): Likewise.
22115         (sinh_test_downward): Likewise.
22116         (sinh_test_upward): Likewise.
22117         (main): Call the new functions.
22118         * sysdeps/i386/fpu/libm-test-ulps: Update.
22119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22121 2012-03-05  Tom de Vries  <tom@codesourcery.com>
22123         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22124         default stack guard is set in last bytes.
22125         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22127 2012-03-05  Kees Cook  <keescook@chromium.org>
22129         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22131         [BZ #13656]
22132         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22133         possibly allocate from heap instead of stack.
22134         * stdio-common/bug-vfprintf-nargs.c: New file.
22135         * stdio-common/Makefile (tests): Add nargs overflow test.
22137 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
22139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22141 2012-03-03  Marek Polacek  <polacek@redhat.com>
22143         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22144         * math/math_private.h: Likewise.
22145         * stdlib/tst-strtod.c: Likewise.
22146         * sysdeps/i386/i486/bits/atomic.h: Likewise.
22147         * sysdeps/x86_64/bits/atomic.h: Likewise.
22149 2012-03-02  David S. Miller  <davem@davemloft.net>
22151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22155         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22156         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22157         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22158         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22160 2012-03-02  Roland McGrath  <roland@hack.frob.com>
22162         [BZ #13792]
22163         * manual/examples/README: New file, says the example source files
22164         can be used under GPL>=2.
22165         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22166         line containing just "*/".
22167         * manual/examples/add.c: Add copyright header (GPL>=2).
22168         * manual/examples/argp-ex1.c: Likewise.
22169         * manual/examples/argp-ex2.c: Likewise.
22170         * manual/examples/argp-ex3.c: Likewise.
22171         * manual/examples/argp-ex4.c: Likewise.
22172         * manual/examples/atexit.c: Likewise.
22173         * manual/examples/db.c: Likewise.
22174         * manual/examples/dir.c: Likewise.
22175         * manual/examples/dir2.c: Likewise.
22176         * manual/examples/execinfo.c: Likewise.
22177         * manual/examples/filecli.c: Likewise.
22178         * manual/examples/filesrv.c: Likewise.
22179         * manual/examples/fmtmsgexpl.c: Likewise.
22180         * manual/examples/genpass.c: Likewise.
22181         * manual/examples/inetcli.c: Likewise.
22182         * manual/examples/inetsrv.c: Likewise.
22183         * manual/examples/isockad.c: Likewise.
22184         * manual/examples/longopt.c: Likewise.
22185         * manual/examples/memopen.c: Likewise.
22186         * manual/examples/memstrm.c: Likewise.
22187         * manual/examples/mkfsock.c: Likewise.
22188         * manual/examples/mkisock.c: Likewise.
22189         * manual/examples/mygetpass.c: Likewise.
22190         * manual/examples/pipe.c: Likewise.
22191         * manual/examples/popen.c: Likewise.
22192         * manual/examples/rprintf.c: Likewise.
22193         * manual/examples/search.c: Likewise.
22194         * manual/examples/select.c: Likewise.
22195         * manual/examples/setjmp.c: Likewise.
22196         * manual/examples/sigh1.c: Likewise.
22197         * manual/examples/sigusr.c: Likewise.
22198         * manual/examples/stpcpy.c: Likewise.
22199         * manual/examples/strdupa.c: Likewise.
22200         * manual/examples/strftim.c: Likewise.
22201         * manual/examples/strncat.c: Likewise.
22202         * manual/examples/subopt.c: Likewise.
22203         * manual/examples/swapcontext.c: Likewise.
22204         * manual/examples/termios.c: Likewise.
22205         * manual/examples/testopt.c: Likewise.
22206         * manual/examples/testpass.c: Likewise.
22207         * manual/examples/timeval_subtract.c: Likewise.
22209         [BZ #13792]
22210         * manual/time.texi (Elapsed Time): Move timeval_subtract example
22211         function to ...
22212         * manual/timeval_subtract.c.texi: ... here, new file.
22214 2012-03-02  David S. Miller  <davem@davemloft.net>
22216         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22218 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
22220         [BZ #3976]
22221         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22222         (__sin): Save and restore rounding mode and use round-to-nearest
22223         for all computations.
22224         (__cos): Save and restore rounding mode and use round-to-nearest
22225         for all computations.
22226         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22227         <fenv.h>.
22228         (tan): Save and restore rounding mode and use round-to-nearest for
22229         all computations.
22230         * math/libm-test.inc (cos_test_tonearest): New function.
22231         (cos_test_towardzero): Likewise.
22232         (cos_test_downward): Likewise.
22233         (cos_test_upward): Likewise.
22234         (sin_test_tonearest): Likewise.
22235         (sin_test_towardzero): Likewise.
22236         (sin_test_downward): Likewise.
22237         (sin_test_upward): Likewise.
22238         (tan_test_tonearest): Likewise.
22239         (tan_test_towardzero): Likewise.
22240         (tan_test_downward): Likewise.
22241         (tan_test_upward): Likewise.
22242         (main): Call the new functions.
22243         * sysdeps/i386/fpu/libm-test-ulps: Update.
22244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22246         [BZ #10135]
22247         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22248         small n, then large n, before computing and testing k+n.
22249         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22250         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22251         Likewise.
22252         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22253         Likewise.
22254         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22255         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22256         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22257         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22258         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22259         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22260         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22261         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22262         * math/libm-test.inc (scalbn_test): Add more tests.
22263         (scalbln_test): Likewise.
22265         * manual/filesys.texi (mode_t): Describe constraints on size and
22266         signedness, not exact equivalence to a particular type.
22267         (ino_t): Likewise.
22268         (ino64_t): Likewise.
22269         (dev_t): Likewise.
22270         (nlink_t): Likewise.
22271         (blkcnt_t): Likewise.
22272         (blkcnt64_t): Likewise.
22273         * manual/llio.texi (off_t): Likewise.
22275         [BZ #3976]
22276         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22277         (__ieee754_exp): Save and restore rounding mode and use
22278         round-to-nearest for all computations.
22279         * math/libm-test.inc (exp_test_tonearest): New function.
22280         (exp_test_towardzero): Likewise.
22281         (exp_test_downward): Likewise.
22282         (exp_test_upward): Likewise.
22283         (main): Call the new functions.
22284         * sysdeps/i386/fpu/libm-test-ulps: Update.
22285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22287 2012-03-01  Chris Demetriou  <cgd@google.com>
22289         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22290         have predictable order.
22292 2012-03-01  David S. Miller  <davem@davemloft.net>
22294         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22296         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22297         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22298         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22299         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22301         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22302         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22303         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22305         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22306         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22307         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22308         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22309         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22313         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22314         * sysdeps/sparc/fpu/libm-test-ulps: to here.
22315         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22317         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22318         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22319         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22320         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22321         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22322         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22323         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22324         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22325         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22326         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22327         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22328         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22329         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22330         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22331         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22332         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22333         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22334         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22335         * sysdeps/sparc/elf/configure: Regenerated.
22337 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
22339         * configure.in (AS, LD): Require binutils 2.20 or later.
22340         * configure: Regenerated.
22341         * manual/install.texi (Tools for Compilation): Give binutils 2.20
22342         as required minimum version.
22343         * INSTALL: Regenerated.
22345         [BZ #2541]
22346         [BZ #4108]
22347         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22348         before squaring exponent.
22349         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22350         bottom long double and 27 bits of top long double before squaring
22351         exponent.
22352         * math/libm-test.inc (erfc_test): Add more tests.
22353         * sysdeps/i386/fpu/libm-test-ulps: Update.
22354         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22357 2012-03-01  Kai Tietz  <ktietz@redhat.com>
22359         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22360         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22361         containing bit-fields.
22362         * soft-fp/extended.h (_FP_UNION_E): Likewise.
22363         * soft-fp/single.h (_FP_UNION_S): Likewise.
22364         * soft-fp/double.h (_FP_UNION_D): Likewise.
22366 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
22368         [BZ #13786]
22369         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22370         not include ../strcmp.S.
22371         [USE_AS_STRNCASECMP_L]: Likewise.
22372         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22373         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22374         * sysdeps/i386/i686/multiarch/strncase_l-c.c
22375         (__strncasecmp_l_ia32): Define as alias to
22376         __strncasecmp_l_nonascii.
22378         [BZ #5794]
22379         * math/libm-test.inc (expm1_test): Add test for bug 5794.
22380         * sysdeps/i386/fpu/libm-test-ulps: Update.
22381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22383         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22386 2012-02-29  Jeff Law  <law@redhat.com>
22388         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22389         out of bounds read.
22391 2012-02-29  Marek Polacek  <polacek@redhat.com>
22393         [BZ #13706]
22394         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22395         * elf/Makefile: Add rules to run tst-unused-dep.out.
22397 2012-02-28  David S. Miller  <davem@davemloft.net>
22399         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22400         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22401         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22402         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22403         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22404         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22406 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
22408         * math/libm-test.inc (llround_test): Move one test from
22409         lround_test.  Use TEST_f_L in moved test.
22410         (lround_test): Move misplaced test to llround_test.  Add testcase
22411         from bug 2561.
22413 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
22415         * sysdeps/x86_64/fpu/e_expf.S: New file.
22416         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22418 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
22420         [BZ #13637]
22421         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22422         of remain_len that may cause incomplete multi-byte character and
22423         false match.
22424         * posix/bug-regex33.c: New file.
22425         * posix/Makefile (tests): Add bug-regex33.
22427 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
22429         * manual/macros.texi: New file.
22430         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22431         * manual/libc.texinfo: Include macros.texi.
22432         * manual/creatute.texi: Likewise.
22433         * manual/install.texi: Likewise.
22434         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22435         @glibcadj{} in references to the GNU C Library.
22436         * manual/charset.texi: Likewise.
22437         * manual/conf.texi: Likewise.
22438         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
22439         when not using those macros.
22440         * manual/creature.texi: Likewise.
22441         * manual/crypt.texi: Likewise.
22442         * manual/errno.texi: Likewise.
22443         * manual/filesys.texi: Likewise.
22444         * manual/header.texi: Likewise.
22445         * manual/install.texi: Likewise.
22446         * manual/intro.texi: Likewise.
22447         * manual/io.texi: Likewise.
22448         * manual/job.texi: Likewise.
22449         * manual/lang.texi: Likewise.
22450         * manual/libc.texiinfo: Likewise.
22451         * manual/llio.texi: Likewise.
22452         * manual/locale.texi: Likewise.
22453         * manual/maint.texi: Likewise.
22454         * manual/math.texi: Likewise.
22455         * manual/memory.texi: Likewise.
22456         * manual/message.texi: Likewise.
22457         * manual/nss.texi: Likewise.
22458         * manual/pattern.texi: Likewise.
22459         * manual/process.texi: Likewise.
22460         * manual/resource.texi: Likewise.
22461         * manual/search.texi: Likewise.
22462         * manual/setjmp.texi: Likewise.
22463         * manual/signal.texi: Likewise.
22464         * manual/socket.texi: Likewise.
22465         * manual/startup.texi: Likewise.
22466         * manual/stdio.texi: Likewise.
22467         * manual/string.texi: Likewise.
22468         * manual/sysinfo.texi: Likewise.
22469         * manual/syslog.texi: Likewise.
22470         * manual/terminal.texi: Likewise.
22471         * manual/time.texi: Likewise.
22472         * manual/users.texi: Likewise.
22473         * INSTALL: Regenerated.
22474         * NOTES: Regenerated.
22475         * sysdeps/gnu/errlist.c: Regenerated.
22477 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
22479         * include/dirent.h: Include <dirstream.h> before
22480         <dirent/dirent.h>.
22482 2012-02-28  David S. Miller  <davem@davemloft.net>
22484         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22485         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22486         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22487         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22489 2012-02-27  David S. Miller  <davem@davemloft.net>
22491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22493         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22494         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22497         frame pointer instead of stack pointer relative arg slot.
22498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22499         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22500         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22502 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
22504         [BZ #3992]
22505         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22507 2012-02-27  David S. Miller  <davem@davemloft.net>
22509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22513         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22514         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22515         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22516         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22518 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22520         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22521         later.  Allow versions 5-9.
22522         * configure: Regenerated.
22523         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22524         required minimum version and 4.6 as recommended version.  Do not
22525         mention bugs in GCC 2.7 and 2.8.
22526         * INSTALL: Regenerated.
22528 2012-02-27  David S. Miller  <davem@davemloft.net>
22530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22534         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22535         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22536         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22537         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22539         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22540         manipulate bits before adding and subtracting TWO112[sx].
22541         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22543 2012-02-27  Roland McGrath  <roland@hack.frob.com>
22545         [BZ #13775]
22546         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22547         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22548         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22549         being in POSIX, because they are in 1003.1-2008.
22551         * rt/tst-aio.c: Include <fcntl.h>.
22552         * rt/tst-aio7.c: Likewise.
22553         * rt/tst-aio64.c: Likewise.
22555         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22557 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22559         * manual/install.texi (--with-headers): Describe headers as
22560         interface headers, not private headers.
22561         (Specific advice for GNU/Linux systems): Describe use of headers
22562         from "make headers_install", not private headers from older
22563         kernels.
22564         * INSTALL: Regenerated.
22565         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22566         Change to 2.6.19.
22567         * sysdeps/unix/sysv/linux/configure: Regenerated.
22569         * manual/llio.texi (fclean): Remove documentation.
22571         * manual/Makefile (libc-texi-generated): New variable.  Include
22572         version.texi.
22573         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22574         $(libc-texi-generated), not duplicated list of files.
22575         (version.texi, stamp-version): New rules.
22576         (realclean): Remove $(libc-texi-generated), not individual files
22577         from that list.  Do not remove dir-add.texinfo.
22578         * manual/libc.texinfo: Comment out uses of edition numbers and
22579         references to printed manual.  Remove last-updated dates.
22580         (EDITION): Comment out.
22581         (ISBN): Likewise.
22582         (VERSION, UPDATED): Remove.
22583         (version.texi): Include.
22585 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
22587         * sysdeps/posix/spawni.c: Include <signal.h>.
22588         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22589         * sysdeps/pthread/aio_fsync.c: Likewise.
22591 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
22593         * conform/Makefile (tests): Run only when not cross-compiling and
22594         when fast-check is not defined.
22596         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22597         * conform/data/limits.h-data: Fixes for POSIX2008.
22598         * conform/run-conformtest.sh: Run all tests.
22599         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22600         headers.
22601         * include/bits/dlfcn.h: Likewise.
22602         * include/langinfo.h: Likewise.
22603         * include/monetary.h: Likewise.
22604         * include/sys/poll.h: Likewise.
22606         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22607         for __USE_GNU.
22608         * posix/spawn.h: Define __need_sigset_t.
22609         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22610         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22611         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
22612         to get sigevent_t only.
22613         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22614         only for __USE_GNU.
22615         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22616         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22617         process_vm_writev only for __USE_GNU.
22618         * termios/termios.h: Declare tcgetsid also for POSIX2008.
22620         * conform/Makefile: For now ignore errors from run-conformtest.
22621         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
22622         POSIX to avoid namespace pollution.  Don't prepend headers.
22623         * conform/data/aio.h-data: Fixes for POSIX testing.
22624         * conform/data/fcntl.h-data: Likewise.
22625         * conform/data/glob.h-data: Likewise.
22626         * conform/data/grp.h-data: Likewise.
22627         * conform/data/pthread.h-data: Likewise.
22628         * conform/data/pwd.h-data: Likewise.
22629         * conform/data/signal.h-data: Likewise.
22630         * conform/data/spawn.h-data: Likewise.
22631         * conform/data/stdio.h-data: Likewise.
22632         * conform/data/stdlib.h-data: Likewise.
22633         * conform/data/stropts.h-data: Likewise.
22634         * conform/data/sys/mman.h-data: Likewise.
22635         * conform/data/sys/stat.h-data: Likewise.
22636         * conform/data/sys/types.h-data: Likewise.
22637         * conform/data/sys/wait.h-data: Likewise.
22638         * conform/data/time.h-data: Likewise.
22639         * conform/data/unistd.h-data: Likewise.
22640         * conform/data/utime.h-data: Likewise.
22642         * io/sys/stat.h: fchmod was always in POSIX.
22643         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22644         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22645         * rt/aio.h: Define __need_timespec before including <time.h>.
22646         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22647         struct.  Add forward declaration of pthread_attr_t and use it in
22648         sigevent.
22649         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22650         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22651         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22652         always remove CLK_TCK definition.
22654 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
22656         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22658 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
22660         * conform/run-conformtest.sh: New file.
22661         * conform/Makefile: Run run-conformtest for tests.
22662         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
22663         support.
22665         * conform/data/uchar.h-data: New file.
22666         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22667         * conform/data/arpa/inet.h-data: Likewise.
22668         * conform/data/assert.h-data: Likewise.
22669         * conform/data/complex.h-data: Likewise.
22670         * conform/data/cpio.h-data: Likewise.
22671         * conform/data/ctype.h-data: Likewise.
22672         * conform/data/dirent.h-data: Likewise.
22673         * conform/data/dlfcn.h-data: Likewise.
22674         * conform/data/errno.h-data: Likewise.
22675         * conform/data/fcntl.h-data: Likewise.
22676         * conform/data/float.h-data: Likewise.
22677         * conform/data/fmtmsg.h-data: Likewise.
22678         * conform/data/fnmatch.h-data: Likewise.
22679         * conform/data/ftw.h-data: Likewise.
22680         * conform/data/glob.h-data: Likewise.
22681         * conform/data/grp.h-data: Likewise.
22682         * conform/data/iconv.h-data: Likewise.
22683         * conform/data/inttypes.h-data: Likewise.
22684         * conform/data/langinfo.h-data: Likewise.
22685         * conform/data/libgen.h-data: Likewise.
22686         * conform/data/limits.h-data: Likewise.
22687         * conform/data/locale.h-data: Likewise.
22688         * conform/data/math.h-data: Likewise.
22689         * conform/data/monetary.h-data: Likewise.
22690         * conform/data/mqueue.h-data: Likewise.
22691         * conform/data/ndbm.h-data: Likewise.
22692         * conform/data/net/if.h-data: Likewise.
22693         * conform/data/netdb.h-data: Likewise.
22694         * conform/data/netinet/in.h-data: Likewise.
22695         * conform/data/nl_types.h-data: Likewise.
22696         * conform/data/poll.h-data: Likewise.
22697         * conform/data/pthread.h-data: Likewise.
22698         * conform/data/pwd.h-data: Likewise.
22699         * conform/data/regex.h-data: Likewise.
22700         * conform/data/sched.h-data: Likewise.
22701         * conform/data/search.h-data: Likewise.
22702         * conform/data/semaphore.h-data: Likewise.
22703         * conform/data/setjmp.h-data: Likewise.
22704         * conform/data/signal.h-data: Likewise.
22705         * conform/data/spawn.h-data: Likewise.
22706         * conform/data/stdarg.h-data: Likewise.
22707         * conform/data/stdio.h-data: Likewise.
22708         * conform/data/stdlib.h-data: Likewise.
22709         * conform/data/string.h-data: Likewise.
22710         * conform/data/strings.h-data: Likewise.
22711         * conform/data/stropts.h-data: Likewise.
22712         * conform/data/sys/ipc.h-data: Likewise.
22713         * conform/data/sys/mman.h-data: Likewise.
22714         * conform/data/sys/msg.h-data: Likewise.
22715         * conform/data/sys/resource.h-data: Likewise.
22716         * conform/data/sys/select.h-data: Likewise.
22717         * conform/data/sys/sem.h-data: Likewise.
22718         * conform/data/sys/shm.h-data: Likewise.
22719         * conform/data/sys/socket.h-data: Likewise.
22720         * conform/data/sys/stat.h-data: Likewise.
22721         * conform/data/sys/statvfs.h-data: Likewise.
22722         * conform/data/sys/time.h-data: Likewise.
22723         * conform/data/sys/timeb.h-data: Likewise.
22724         * conform/data/sys/times.h-data: Likewise.
22725         * conform/data/sys/types.h-data: Likewise.
22726         * conform/data/sys/uio.h-data: Likewise.
22727         * conform/data/sys/un.h-data: Likewise.
22728         * conform/data/sys/utsname.h-data: Likewise.
22729         * conform/data/sys/wait.h-data: Likewise.
22730         * conform/data/syslog.h-data: Likewise.
22731         * conform/data/tar.h-data: Likewise.
22732         * conform/data/termios.h-data: Likewise.
22733         * conform/data/utime.h-data: Likewise.
22734         * conform/data/utmpx.h-data: Likewise.
22735         * conform/data/varargs.h-data: Likewise.
22736         * conform/data/wchar.h-data: Likewise.
22737         * conform/data/wctype.h-data: Likewise.
22738         * conform/data/wordexp.h-data: Likewise.
22740         * include/stropts.h: New file.
22741         * include/uchar.h: New file.
22742         * include/aio.h: Changes to allow conformtest.pl to use the headers.
22743         * include/assert.h: Likewise.
22744         * include/ctype.h: Likewise.
22745         * include/dirent.h: Likewise.
22746         * include/dlfcn.h: Likewise.
22747         * include/fcntl.h: Likewise.
22748         * include/fnmatch.h: Likewise.
22749         * include/glob.h: Likewise.
22750         * include/grp.h: Likewise.
22751         * include/libio.h: Likewise.
22752         * include/locale.h: Likewise.
22753         * include/math.h: Likewise.
22754         * include/net/if.h: Likewise.
22755         * include/netdb.h: Likewise.
22756         * include/netinet/in.h: Likewise.
22757         * include/pthread.h: Likewise.
22758         * include/pwd.h: Likewise.
22759         * include/regex.h: Likewise.
22760         * include/sched.h: Likewise.
22761         * include/search.h: Likewise.
22762         * include/setjmp.h: Likewise.
22763         * include/signal.h: Likewise.
22764         * include/stdio.h: Likewise.
22765         * include/stdlib.h: Likewise.
22766         * include/string.h: Likewise.
22767         * include/sys/cdefs.h: Likewise.
22768         * include/sys/mman.h: Likewise.
22769         * include/sys/msg.h: Likewise.
22770         * include/sys/resource.h: Likewise.
22771         * include/sys/select.h: Likewise.
22772         * include/sys/socket.h: Likewise.
22773         * include/sys/stat.h: Likewise.
22774         * include/sys/statvfs.h: Likewise.
22775         * include/sys/time.h: Likewise.
22776         * include/sys/times.h: Likewise.
22777         * include/sys/uio.h: Likewise.
22778         * include/sys/utsname.h: Likewise.
22779         * include/sys/wait.h: Likewise.
22780         * include/termios.h: Likewise.
22781         * include/time.h: Likewise.
22782         * include/ulimit.h: Likewise.
22783         * include/unistd.h: Likewise.
22784         * include/utime.h: Likewise.
22785         * include/wchar.h: Likewise.
22786         * include/wctype.h: Likewise.
22787         * include/wordexp.h: Likewise.
22789         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22791         * time/time.h: TIME_UTC must be a macro.
22792         Make timespec_get available for ISO C11 only as well.
22794 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
22796         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22797         Reported by Peng Haitao <penght@cn.fujitsu.com>.
22799 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22801         * configure.in: Use -o not -a in test for unsupported multi-arch.
22803 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22805         * manual/texinfo.tex: Update to version 2012-01-19.16.
22807 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22809         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22811 2012-02-24  Roland McGrath  <roland@hack.frob.com>
22813         [BZ #13738]
22814         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22815         * manual/fdl-1.3.texi: New file.
22816         * manual/fdl-1.1.texi: File removed.
22818         [BZ #13738]
22819         * manual/libc.texinfo (FDL_VERSION): New @set.
22820         Use it for mention of FDL in cover text.
22821         (Documentation License): Use it in @include file name.
22823 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22824             Roland McGrath  <roland@hack.frob.com>
22826         [BZ #5461]
22827         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22828         not LONG_LONG_MAX and LONG_LONG_MIN.
22829         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22830         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
22831         name.
22832         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22834 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22836         [BZ #2547]
22837         [BZ #11365]
22838         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22839         manipulate bits before adding and subtracting TWO23[sx].
22840         * math/libm-test.inc (nearbyint_test): Add more tests.
22842 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22844         [BZ #2548]
22845         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22846         bits before adding and subtracting TWO23[sx].
22847         * math/libm-test.inc (rint_test): Add more tests.
22848         (rint_test_tonearest): Likewise.
22849         (rint_test_towardzero): Likewise.
22850         (rint_test_downward): Likewise.
22851         (rint_test_upward: Likewise.
22853 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22855         [BZ #10110]
22856         * include/stdc-predef.h: New file.  Extracted from features.h.
22857         * include/features.h: Include stdc-predef.h.
22858         * Makefile (headers): Add stdc-predef.h.
22859         * CONFORMANCE (Compiler limitations): Update.
22861 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22863         * manual/libc.texinfo (VERSION, UPDATED): Revert.
22865 2012-02-21  David S. Miller  <davem@davemloft.net>
22867         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22868         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22870 2012-02-20  David S. Miller  <davem@davemloft.net>
22872         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22873         using a normal save/restore sequence, rather than allocating a
22874         dummy stack frame just to store a frame pointer and restore.
22875         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22877 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22879         * manual/install.texi: Fix stray word in line-wrapped comment.
22881 2012-02-20  David S. Miller  <davem@davemloft.net>
22883         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22884         both binutils and gcc support GOTDATA.
22886         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22887         "rd %pc" in the PIC register setup sequences.
22889         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22890         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22891         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22892         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22893         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22894         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22895         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22896         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22897         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22898         (SYSCALL_ERROR_HANDLER): Likewise.
22899         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22900         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22902         (SYSCALL_ERROR_HANDLER): Likewise.
22904         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22905         (HAVE_GCC_GOTDATA): New.
22906         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22907         relocation support in both binutils and gcc.
22908         * sysdeps/sparc/elf/configure: Regenerate.
22910         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22911         * sysdeps/sparc/sparc32/elf/configure: Delete.
22912         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22913         * sysdeps/sparc/sparc64/elf/configure: Delete.
22914         * sysdeps/sparc/elf/configure.in: New file.
22915         * sysdeps/sparc/elf/configure: Generate.
22917         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22918         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22919         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22920         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22921         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22923 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22925         * manual/install.texi: Do not mention specific glibc version
22926         numbers.
22927         * manual/libc.texinfo (VERSION, UPDATED): Update.
22928         (@copying): Use @copyright{} and range of years.
22930 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22932         [BZ #13695]
22933         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22934         [crti.S not in sysdirs] (generated): Do not append.
22935         [crti.S not in sysdirs] (omit-deps): Likewise.
22936         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22937         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22938         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22939         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22940         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22941         Likewise.
22942         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22943         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22944         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22945         * csu/defs.awk: Remove file.
22946         * sysdeps/generic/initfini.c: Likewise.
22947         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22948         variable.
22949         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22950         Likewise.
22952 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22954         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22955         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22956         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22957         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22958         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22959         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22960         <bits/epoll.h>.
22961         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22962         (__EPOLL_PACKED): Define to empty if not defined by
22963         <bits/epoll.h>.
22964         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22965         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22966         bits/epoll.h.
22968 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22970         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22971         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22972         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22973         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22974         <bits/timerfd.h>.
22975         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22977         bits/timerfd.h.
22979 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
22981         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22982         in C locale.
22983         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22984         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22985         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22988 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
22990         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22991         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22993 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
22995         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22996         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22997         defined.
22998         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22999         Likewise.
23000         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23001         entry for 2.16.
23003 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23005         * math/w_acos.c: Use non-signaling floating-point comparisons.
23006         * math/w_acosf.c: Likewise.
23007         * math/w_acosh.c: Likewise.
23008         * math/w_acoshf.c: Likewise.
23009         * math/w_acoshl.c: Likewise.
23010         * math/w_acosl.c: Likewise.
23011         * math/w_asin.c: Likewise.
23012         * math/w_asinf.c: Likewise.
23013         * math/w_asinl.c: Likewise.
23014         * math/w_atanh.c: Likewise.
23015         * math/w_atanhf.c: Likewise.
23016         * math/w_atanhl.c: Likewise.
23017         * math/w_exp2.c: Likewise.
23018         * math/w_exp2f.c: Likewise.
23019         * math/w_exp2l.c: Likewise.
23020         * math/w_j0.c: Likewise.
23021         * math/w_j0f.c: Likewise.
23022         * math/w_j0l.c: Likewise.
23023         * math/w_j1.c: Likewise.
23024         * math/w_j1f.c: Likewise.
23025         * math/w_j1l.c: Likewise.
23026         * math/w_jn.c: Likewise.
23027         * math/w_jnf.c: Likewise.
23028         * math/w_log.c: Likewise.
23029         * math/w_log10.c: Likewise.
23030         * math/w_log10f.c: Likewise.
23031         * math/w_log10l.c: Likewise.
23032         * math/w_log2.c: Likewise.
23033         * math/w_log2f.c: Likewise.
23034         * math/w_log2l.c: Likewise.
23035         * math/w_logf.c: Likewise.
23036         * math/w_logl.c: Likewise.
23037         * math/w_sqrt.c: Likewise.
23038         * math/w_sqrtf.c: Likewise.
23039         * math/w_sqrtl.c: Likewise.
23040         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23041         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23042         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23043         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23044         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23046 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23048         [BZ #9739]
23049         * manual/string.texi (strnlen): Use correct parameter name in
23050         equivalent expression.
23052 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23054         [BZ #11174]
23055         * manual/users.texi (seteuid): Consistently use neweuid for
23056         argument name.
23058 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23060         [BZ #13704]
23061         * manual/nss.texi (Services in the NSS configuration): Correct
23062         list of services in example configuration file.
23064 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
23066         [BZ #11322]
23067         * manual/arith.texi: Remove statements about negative zero
23068         behaving identically to zero.
23070 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23072         [BZ #5993]
23073         * manual/install.texi: Do not document upgrading from libc5.
23075 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23077         [BZ #4596]
23078         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23080 2012-02-18  David S. Miller  <davem@davemloft.net>
23082         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23083         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23084         %o7 across the call.
23085         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23086         instead.
23087         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23088         SETUP_PIC_REG_LEAF.
23089         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23090         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23091         * sysdeps/sparc/crtn.S: Likewise.
23093 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
23095         * aout/Makefile: Remove.
23097 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
23099         [BZ #13058]
23100         * manual/examples/argp-ex1.c (main): Format definition in GNU
23101         style.
23102         * manual/examples/argp-ex2.c (main): Likewise.
23103         * manual/examples/argp-ex3.c (main): Likewise.
23104         * manual/examples/argp-ex4.c (main): Likewise.
23105         * manual/examples/longopt.c (main): Use new-style prototype
23106         definition.
23107         * manual/examples/strncat.c (main): Specify return type and use
23108         (void) for arguments.
23109         * manual/examples/subopt.c (main): Use char **argv argument.
23111 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23113         [BZ #5077]
23114         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23115         rounding modes.
23117 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
23119         [BZ #6907]
23120         * manual/string.texi (strchr): Change when strchrnul is
23121         recommended.
23123 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
23125         [BZ #174]
23126         * manual/locale.texi (setlocale): Document LOCPATH.
23128 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23130         [BZ #10210]
23131         * manual/process.texi (execle): Move @dots{} before last argument.
23133 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
23135         [BZ #12047]
23136         * manual/charset.texi (Generic Charset Conversion): Fix typo
23137         (LC_TYPE -> LC_CTYPE).
23139 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
23141         [BZ #5805]
23142         * manual/arith.texi (scalbn): Use @var{} on parameter names.
23143         (scalbnf): Likewise.
23144         (scalbnl): Likewise.
23145         (scalbln): Likewise.
23146         (scalblnf): Likewise.
23147         (scalblnl): Likewise.
23148         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23149         (vwarnx): Likewise.
23150         (verr): Likewise.
23151         (verrx): Likewise.
23152         * manual/filesys.texi (telldir): Use braces around return type.
23153         * manual/llio.texi (mmap): Add space after comma.
23154         (mmap64): Likewise.
23155         * manual/math.texi (jn): Use @var{} on parameter names.
23156         (jnf): Likewise.
23157         (jnl): Likewise.
23158         (yn): Likewise.
23159         (ynf): Likewise.
23160         (ynl): Likewise.
23161         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23162         line.
23163         * manual/resource.texi (ulimit): Use @dots{} instead of literal
23164         "...".
23165         (sched_get_priority_min): Remove semicolon on @deftypefun line.
23166         (sched_get_priority_max): Likewise.
23167         * manual/signal.texi (sigvec): Add space after comma.
23168         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23169         names.
23170         (if_indextoname): Likewise.
23171         (if_freenameindex): Likewise.
23172         (sendto): Use ',' instead of '.' in prototype.
23173         * manual/startup.texi (syscall): Use @dots{} instead of literal
23174         "...".
23175         * manual/stdio.texi (__fpending): Separate initial words of
23176         paragraph from @deftypefun line.
23177         * manual/syslog.texi (syslog): Use @dots{} instead of literal
23178         "...".
23179         (vsyslog): Use @var{} on parameter names.
23180         * manual/terminal.texi (stty): Use @var{} on parameter names.
23181         * manual/users.texi (getutmp): Use @var{} on parameter names.
23182         (getutmpx): Likewise.
23184 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23186         [BZ #6884]
23187         * manual/stdio.texi (fopen): Fix typos in description of
23188         ",ccs=STRING".
23190 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
23192         [BZ #4026]
23193         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23194         get clock_id definition.
23196 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
23198         [BZ #4822]
23199         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23200         (madvise): Cast every argument to void on its own.
23202 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23204         [BZ #9902]
23205         * manual/startup.texi (Exit Status): Fix typo.
23207 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23209         [BZ #10140]
23210         * manual/examples/argp-ex1.c: Include <stdlib.h>.
23211         * manual/examples/argp-ex2.c: Likewise.
23212         * manual/examples/argp-ex3.c: Likewise.
23214 2012-02-16  Richard Henderson  <rth@redhat.com>
23216         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23217         * sysdeps/s390/s390-32/initfini.c: Remove.
23218         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23219         * sysdeps/s390/s390-64/initfini.c: Remove.
23221 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23223         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23224         compiler output for sysdeps/generic/initfini.c.
23225         * sysdeps/sh/elf/initfini.c: Remove file.
23227 2012-02-16  David S. Miller  <davem@davemloft.net>
23229         [BZ #11494]
23230         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23232         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23233         * sysdeps/sparc/crti.S: New file.
23234         * sysdeps/sparc/crtn.S: New file.
23235         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23236         * sysdeps/sparc/sparc64/Makefile: Likewise.
23238 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
23240         [BZ #3335]
23241         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23243 2012-02-15  Roland McGrath  <roland@hack.frob.com>
23245         [BZ #4822]
23246         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23248         * mach/devstream.c (cookie_io_functions_t): Macro removed.
23249         (write, read, close): Likewise.
23250         Patch by Aurelien Jarno <aurelien@aurel32.net>.
23252 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
23254         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23255         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23256         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23257         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23258         <bits/signalfd.h>.
23259         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23261         bits/signalfd.h.
23263 2012-02-14  Marek Polacek  <polacek@redhat.com>
23265         * sysdeps/x86_64/crti.S: New file.
23266         * sysdeps/x86_64/crtn.S: New file.
23267         * sysdeps/x86_64/elf/initfini.c: Remove file.
23269 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23271         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23272         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23273         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23274         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23275         <bits/inotify.h>.
23276         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23278         bits/inotify.h.
23280 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23282         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23283         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23284         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23285         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23286         <bits/eventfd.h>.
23287         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23288         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23289         bits/eventfd.h.
23291 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
23293         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23294         __feraiseexcept instead of feraiseexcept.
23296         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23297         nanosleep invocations.
23298         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23299         strings, and add error checking for a nanosleep invocations.
23301 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
23303         Replace FSF snail mail address with URLs, as per GNU coding standards.
23304         Most of the snail mail addresses were wrong anyway, and omitting
23305         them makes the source code easier to maintain.  Almost all of the
23306         changes are to license notices and to locale LC_IDENTIFICATION
23307         addresses, except for this one:
23308         * manual/libc.texinfo: In "Published by", give the FSF's URL,
23309         not its snail mail address.
23311 2012-02-09  Richard Henderson  <rth@twiddle.net>
23313         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23314         of kernel-features.h.
23316         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23318 2012-02-08  Marek Polacek  <polacek@redhat.com>
23320         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23321         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23322         * sysdeps/gnu/_G_config.h: Likewise.
23323         * sysdeps/generic/_G_config.h: Likewise.
23325 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
23327         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23328         tests.
23329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23331         * sysdeps/powerpc/powerpc32/crti.S: New file.
23332         * sysdeps/powerpc/powerpc32/crtn.S: New file.
23333         * sysdeps/powerpc/powerpc64/crti.S: New file.
23334         * sysdeps/powerpc/powerpc64/crtn.S: New file.
23336         * Makeconfig (have-initfini): Don't set.
23337         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23338         * configure.in (nopic_initfini): Don't substitute.
23339         * config.h.in (HAVE_INITFINI): Don't #undef.
23340         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23341         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23343 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
23345         Support crti.S and crtn.S provided directly by architectures.
23346         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23347         [crti.S in sysdirs] (omit-deps): Likewise.
23348         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23349         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23350         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23351         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23352         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23353         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23354         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23355         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23356         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23357         compiler output for sysdeps/generic/initfini.c.
23358         * sysdeps/i386/elf/Makefile: Remove file.
23359         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23361 2012-02-07  Marek Polacek  <polacek@redhat.com>
23363         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23364         * sysdeps/gnu/_G_config.h: Likewise.
23365         * sysdeps/mach/hurd/_G_config.h: Likewise.
23367 2012-02-07  Marek Polacek  <polacek@redhat.com>
23369         * math/Makefile (tests): Add tst-CMPLX2.
23370         * math/tst-CMPLX2.c: New file.
23372 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
23374         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23376         * math/libm-test.inc (jn_test): Add missing L suffix.
23378 2012-02-06  Marek Polacek  <polacek@redhat.com>
23380         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23381         * sysdeps/i386/fpu/e_powf.S: Likewise.
23382         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23383         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23384         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23385         * sysdeps/i386/fpu/e_pow.S: Likewise.
23386         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23387         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23388         * sysdeps/i386/fpu/s_expm1.S: Likewise.
23389         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23390         * sysdeps/i386/fpu/e_log2.S: Likewise.
23391         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23392         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23393         * sysdeps/i386/fpu/e_powl.S: Likewise.
23394         * sysdeps/i386/fpu/s_log1p.S: Likewise.
23395         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23396         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23397         * sysdeps/i386/fpu/e_logl.S: Likewise.
23398         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23399         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23400         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23401         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23402         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23403         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23404         * sysdeps/i386/fpu/e_log.S: Likewise.
23405         * sysdeps/i386/fpu/s_cexp.S: Likewise.
23406         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23407         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23408         * sysdeps/i386/fpu/e_logf.S: Likewise.
23409         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23410         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23411         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23412         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23413         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23414         * sysdeps/i386/fpu/e_log10.S: Likewise.
23415         * sysdeps/i386/fpu/s_frexp.S: Likewise.
23416         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23417         * sysdeps/i386/fpu/s_asinh.S: Likewise.
23418         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23419         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23420         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23421         * sysdeps/i386/asm-syntax.h: Likewise.
23422         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23423         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23424         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23425         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23426         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23427         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23428         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23429         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23430         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23431         * sysdeps/powerpc/sysdep.h: Likewise.
23432         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23433         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23435 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
23437         [BZ #411]
23438         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23440 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
23442         * sysdeps/i386/sysdep.h: Include <features.h>.
23443         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23444         version.
23446 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
23448         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23449         Define.
23450         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23451         LOAD_PIC_REG_STR.
23453 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23455         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23456         (SETUP_PIC_REG): Use GET_PC_THUNK.
23457         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23458         macro.
23460 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23462         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23463         for non-PIC compilation.
23464         (SETUP_PIC_REG): Add .p2align directive.
23465         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23466         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23467         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23468         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23469         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23470         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23471         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23472         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23473         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23474         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23475         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23476         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23477         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23478         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23479         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23480         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23481         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23482         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23483         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23484         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23485         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23486         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23487         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23488         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23489         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23490         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23491         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23492         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23493         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23494         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23495         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23496         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23497         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23498         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23499         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23500         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23501         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23502         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23503         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23504         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23505         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23507 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23509         * math/tst-CMPLX.c: Include <stdio.h>.
23511 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
23513         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23514         float.
23515         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23516         * sysdeps/sparc/bits/mathdef.h: Likewise.
23518 2012-01-31  Marek Polacek  <polacek@redhat.com>
23520         * libio/libio.h: Don't define _PARAMS.
23521         * locale/programs/config.h: Don't define PARAMS.
23522         * stdlib/strtol_l.c: Likewise.
23523         (__strtol_l): Remove PARAMS from the prototype.
23525 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
23527         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
23528         names.  Just use the correct names.  Remove unnecessary wrapper
23529         functions.
23530         * malloc/arena.c: Likewise.
23531         * malloc/hooks.c: Likewise.
23533         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23534         ARENA_TEST says not to.  Simplify test for creation of a new arena.
23535         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23537 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
23539         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23540         into tail calls.
23541         (update_get_addr): New function.
23542         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23543         GET_ADDR_MODULE parameter.
23545 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23547         * crypt/cert.c: Remove __STDC__ conditionals.
23548         * crypt/crypt-entry.c: Likewise.
23549         * crypt/crypt_util.c: Likewise.
23550         * libio/filedoalloc.c: Likewise.
23551         * libio/fileops.c: Likewise.
23552         * libio/genops.c: Likewise.
23553         * libio/iofclose.c: Likewise.
23554         * libio/iofdopen.c: Likewise.
23555         * libio/iofopen.c: Likewise.
23556         * libio/iofopen64.c: Likewise.
23557         * libio/iogetdelim.c: Likewise.
23558         * libio/iopopen.c: Likewise.
23559         * libio/obprintf.c: Likewise.
23560         * libio/oldfileops.c: Likewise.
23561         * libio/oldiofclose.c: Likewise.
23562         * libio/oldiofdopen.c: Likewise.
23563         * libio/oldiofopen.c: Likewise.
23564         * libio/oldiopopen.c: Likewise.
23565         * libio/wfiledoalloc.c: Likewise.
23566         * libio/wgenops.c: Likewise.
23567         * locale/programs/xmalloc.c: Likewise.
23568         * misc/syslog.c: Likewise.
23569         * stdio-common/xbug.c: Likewise.
23570         * string/memchr.c: Likewise.
23571         * string/memcmp.c: Likewise.
23572         * string/memrchr.c: Likewise.
23573         * string/rawmemchr.c: Likewise.
23574         * sysdeps/posix/getcwd.c: Likewise.
23575         * time/strftime_l.c: Likewise.
23577 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23579         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23580         * config.make.in (config-cflags-sse2avx): Define.
23581         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23582         Fix typo.
23584 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
23586         * scripts/config.guess: Update from upstream config git repository.
23587         * scripts/config.sub: Likewise.
23589 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
23591         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23592         (EM_NUM): Update.
23593         (R_TILEPRO_*, R_TILEGX_*): New macros.
23595         * scripts/firstversions.awk: Fix bug in version range handling.
23597         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23599         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23601         * include/sys/epoll.h: New file.
23602         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23603         libc_hidden_def.
23605 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
23607         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23608         Avoid unnecessary __WORDSIZE == 64 test.
23609         (fmaxf): Use VEX format if possible.
23610         (fmax): Likewise.
23611         (fminf): Likewise.
23612         (fmin): Likewise.
23614         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23615         * math/math_private.h: Remove libc_fegetround* and
23616         libc_fesetround*.
23617         * sysdeps/i386/configure.in: Check for -msse2avx.
23618         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23619         also if SSE2AVX is defined.
23620         Remove libc_fegetround* and libc_fesetround*.
23621         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23622         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
23623         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23624         of HAS_YMM_USABLE.
23625         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23626         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23627         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23628         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23629         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23631         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23633 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23635         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23636         size is not set.
23637         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23639 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
23641         [BZ #13618]
23642         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23643         relocation.
23644         * Makeconfig (libm): Define.
23645         * elf/Makefile: Add rules to build and run tst-relsort1.
23646         * elf/tst-relsort1.c: New file.
23647         * elf/tst-relsort1mod1.c: New file.
23648         * elf/tst-relsort1mod2.c: New file.
23650 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
23652         * math/s_ldexp.c: Remove __STDC__ conditionals.
23653         * math/s_ldexpf.c: Likewise.
23654         * math/s_ldexpl.c: Likewise.
23655         * math/s_nextafter.c: Likewise.
23656         * math/s_nexttowardf.c: Likewise.
23657         * math/s_significand.c: Likewise.
23658         * math/s_significandf.c: Likewise.
23659         * math/s_significandl.c: Likewise.
23660         * math/w_jnl.c: Likewise.
23661         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23662         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23663         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23664         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23665         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23666         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23667         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23668         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23669         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23670         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23671         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23672         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23673         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23674         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23675         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23676         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23677         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23678         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23679         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23680         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23681         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23682         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23683         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23684         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23685         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23686         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23687         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23688         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23689         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23690         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23691         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23692         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23693         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23694         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23695         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23696         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23697         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23698         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23699         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23700         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23701         * sysdeps/ieee754/k_standard.c: Likewise.
23702         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23703         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23704         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23705         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23706         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23707         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23708         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23709         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23710         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23711         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23712         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23713         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23714         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23715         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23716         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23717         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23718         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23719         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23720         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23721         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23722         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23723         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23724         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23725         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23726         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23727         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23728         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23729         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23730         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23731         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23732         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23733         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23734         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23735         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23736         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23737         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23738         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23739         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23740         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23741         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23742         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23743         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23744         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23745         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23746         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23747         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23748         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23749         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23750         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23751         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23752         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23753         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23754         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23755         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23756         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23757         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23758         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23759         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23760         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23761         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23762         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23763         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23764         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23765         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23766         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23767         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23768         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23769         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23770         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23771         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23772         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23773         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23774         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23775         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23776         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23777         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23778         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23779         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23780         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23781         * sysdeps/ieee754/s_matherr.c: Likewise.
23782         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23783         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23784         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23785         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23787 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
23789         * crypt/md5.h: Remove __STDC__ conditionals.
23790         * libio/libioP.h: Likewise.
23791         * locale/programs/config.h: Likewise.
23792         * sysdeps/generic/sysdep.h: Likewise.
23793         * sysdeps/i386/asm-syntax.h: Likewise.
23794         * sysdeps/s390/asm-syntax.h: Likewise.
23795         * sysdeps/unix/sysdep.h: Likewise.
23796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23799 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
23801         * libio/libio.h: Remove __STDC__ conditionals.
23802         * malloc/obstack.h: Likewise.
23803         * math/complex.h: Likewise.
23804         * math/math.h: Likewise.
23805         * sysdeps/generic/_G_config.h: Likewise.
23806         * sysdeps/gnu/_G_config.h: Likewise.
23807         * sysdeps/mach/hurd/_G_config.h: Likewise.
23808         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23809         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23810         * sysdeps/sparc/bits/mathdef.h: Likewise.
23812 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
23814         [BZ #13583]
23815         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23816         Clean up HAS_* macros.
23817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23818         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23819         possible.
23820         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23821         HAS_AVX.
23822         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23823         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23824         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23825         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23826         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23828 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
23830         * elf/tst-unique3.cc (gets): Remove declaration.
23831         * elf/tst-unique3lib.cc (gets): Likewise.
23832         * elf/tst-unique3lib2.cc (gets): Likewise.
23833         * elf/tst-unique4.cc (gets): Likewise.
23835 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
23837         * include/stdio.h: Add C++ protection.  Add gets declarations and
23838         definitions.
23839         * debug/tst-chk1.c: Don't declare gets here.
23840         * stdio-common/tst-gets.c: Likewise.
23842 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
23844         * posix/glob: Remove directory.
23846 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
23848         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23850 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
23852         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23853         of the non-standard EPFNOSUPPORT.
23855 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23857         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23858         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23859         ANYWHERE set to 1 only on KERN_NO_SPACE error.
23861 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
23863         * wcsmbs/uchar.h: Test __STDC_VERSION__.
23865 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
23867         * nscd/aicache.c (addhstaiX): Do not cache negative results of
23868         transient errors.
23869         * nscd/grpcache.c (cache_addgr): Likewise.
23870         * nscd/hstcache.c (cache_addhst): Likewise.
23871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23872         * nscd/pwdcache.c (cache_addpw): Likewise.
23873         * nscd/servicescache.c (cache_addserv): Likewise.
23875 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
23877         * malloc/malloc.c: Various cleanups.
23878         * malloc/hooks.c: Likewise.
23880         * stdlib/Makefile (tests): Add bug-fmtmsg1.
23881         * stdlib/bug-fmtmsg1.c: New file.
23883         * stdlib/fmtmsg.c (init): Add missing unlock.
23884         Patch by Peng Haitao <penght@cn.fujitsu.com>.
23886 2012-01-12  Marek Polacek  <polacek@redhat.com>
23888         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23889         and _GNU_SOURCE.
23891 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23893         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23894         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23895         macro to ensure uniqueness of label name.
23896         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23897         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23899 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
23901         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23903         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23904         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23905         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23906         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23908 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
23910         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23912         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23913         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23914         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23916         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23918         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23919         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23920         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23923         * math/bits/math-finite.h: Add ldexp support.
23925 2012-01-10  Marek Polacek  <polacek@redhat.com>
23927         * locale/programs/localedef.h (show_archive_content): Add noreturn
23928         attribute.
23930 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
23932         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23934 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23936         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23938         * io/Makefile (headers): Add bits/poll2.h.
23940 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
23942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23943         typo #include statement.
23945 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23947         * include/sys/cdefs.h: Define __attribute_alloc_size.
23948         * catgets/gencat.c: Add alloc_size attribute and apply consistently
23949         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23950         * elf/pldd.c: Likewise.
23951         * iconv/iconv_charmap.c: Likewise.
23952         * iconv/iconvconfig.c: Likewise.
23953         * iconv/strtab.c: Likewise.
23954         * locale/programs/locale.c: Likewise.
23955         * locale/programs/localedef.h: Likewise.
23956         * locale/programs/simple-hash.c: Likewise.
23957         * nscd/nscd.h: Likewise.
23958         * nss/makedb.c: Likewise.
23959         * sysdeps/generic/ldconfig.h: Likewise.
23960         * locale/programs/localedef.c: Remove xmalloc prototype.
23961         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23963 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23965         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23966         appropriate.
23968 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23970         * math/Makefile (tests): Add tst-CMPLX.
23971         * math/tst-CMPLX.c: New file.
23973         * math/complex.h (CMPLXL): Fix typo.
23975         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23976         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23977         GLIBC_2.16.
23978         * debug/tst-chk1.c: Add poll and ppoll tests.
23979         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23980         * include/sys/poll.h: Add hidden proto for ppoll.
23981         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23982         * sysdeps/mach/hurd/ppoll.c: Likewise.
23983         * io/ppoll.c: Likewise.
23984         * debug/poll_chk.c: New file.
23985         * debug/ppoll_chk.c: New file.
23986         * include/bits/poll2.h: New file.
23987         * io/bits/poll2.h: New file.
23989         [BZ #1350]
23990         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23992         * configure.in: static is always set to yes.  Remove.
23993         * config.make.in: Don't set build-static.
23994         * Makeconfig: Remove use of build-static.
23995         * dlfcn/Makefile: Likewise.
23996         * elf/Makefile: Likewise.
23997         * math/Makefile: Likewise.
23998         * misc/Makefile: Likewise.
23999         * nptl/Makefile: Likewise.
24000         * sysdeps/mach/hurd/Makefile: Likewise.
24002         * configure.in: PWD_P is not used anymore.
24003         * config.make.in: Remove PWD_P entry.
24005         * configure.in: Remove last remnants of RANLIB.
24006         No need to check for signed size_t anymore.
24007         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24008         and IA-64.
24009         Remove __builtin_expect test because we require at least gcc 3.4.
24010         * aclocal.m4: Likewise.
24012         * wcsmbs/mbrtoc16.c: Implement using towc function.
24013         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24014         * wcsmbs/wcsmbsload.c: Likewise.
24015         * iconv/gconv_simple.c: Likewise.
24016         * iconv/gconv_int.h: Likewise.
24017         * iconv/gconv_builtin.h: Likewise.
24018         * iconv/iconv_prog.c: Remove CHAR16 handling.
24020         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24022         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24024         * configure.in: Remove --with-elf and --enable-bounded options.
24025         Dont set base_machine for ia64.  More non-ELF conditions removed.
24026         Remove testing and setting of leading underscore information.
24027         * config.make.in (build-bounded): Set to no.
24028         * config.h.in: Remove NO_UNDERSCORES entry.
24029         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24030         them.
24031         * csu/start.c: Remove !NO_UNDERSCORE code.
24032         * locale/localeinfo.h: Likewise.
24033         * sysdeps/generic/machine-gmon.h: Likewise.
24034         * sysdeps/generic/sysdep.h: Likewise.
24035         * sysdeps/i386/sysdep.h: Likewise.
24036         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24037         * sysdeps/mach/sysdep.h: Likewise.
24038         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24039         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24040         * sysdeps/sh/sysdep.h: Likewise.
24041         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24042         * sysdeps/unix/i386/sysdep.S: Likewise.
24043         * sysdeps/unix/sparc/start.c: Likewise.
24044         * sysdeps/unix/sparc/sysdep.S: Likewise.
24045         * sysdeps/unix/sparc/sysdep.h: Likewise.
24046         * sysdeps/unix/start.c: Likewise.
24047         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24048         * sysdeps/x86_64/sysdep.h: Likewise.
24050 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24052         [BZ #13553]
24053         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24054         for non-gcc.
24055         * argp/argp-fmtstream.h: Use const instead __const.
24056         * argp/argp.h: Likewise.
24057         * assert/assert.h: Likewise.
24058         * bits/fenv.h: Likewise.
24059         * bits/sched.h: Likewise.
24060         * bits/sigset.h: Likewise.
24061         * bits/sigthread.h: Likewise.
24062         * catgets/nl_types.h: Likewise.
24063         * conform/data/pthread.h-data: Likewise.
24064         * crypt/crypt-private.h: Likewise.
24065         * crypt/crypt.h: Likewise.
24066         * crypt/crypt_util.c: Likewise.
24067         * ctype/ctype.h: Likewise.
24068         * debug/execinfo.h: Likewise.
24069         * debug/mbsnrtowcs_chk.c: Likewise.
24070         * debug/mbsrtowcs_chk.c: Likewise.
24071         * debug/wcsnrtombs_chk.c: Likewise.
24072         * debug/wcsrtombs_chk.c: Likewise.
24073         * debug/wcstombs_chk.c: Likewise.
24074         * dirent/dirent.h: Likewise.
24075         * dlfcn/dlfcn.h: Likewise.
24076         * elf/neededtest4.c: Likewise.
24077         * grp/grp.h: Likewise.
24078         * gshadow/gshadow.h: Likewise.
24079         * iconv/gconv.h: Likewise.
24080         * iconv/gconv_int.h: Likewise.
24081         * iconv/gconv_simple.c: Likewise.
24082         * iconv/iconv.h: Likewise.
24083         * iconv/loop.c: Likewise.
24084         * iconv/skeleton.c: Likewise.
24085         * include/aio.h: Likewise.
24086         * include/aliases.h: Likewise.
24087         * include/argz.h: Likewise.
24088         * include/arpa/inet.h: Likewise.
24089         * include/assert.h: Likewise.
24090         * include/dirent.h: Likewise.
24091         * include/dlfcn.h: Likewise.
24092         * include/execinfo.h: Likewise.
24093         * include/fcntl.h: Likewise.
24094         * include/fenv.h: Likewise.
24095         * include/glob.h: Likewise.
24096         * include/grp.h: Likewise.
24097         * include/libintl.h: Likewise.
24098         * include/mntent.h: Likewise.
24099         * include/netdb.h: Likewise.
24100         * include/pwd.h: Likewise.
24101         * include/rpc/netdb.h: Likewise.
24102         * include/sched.h: Likewise.
24103         * include/search.h: Likewise.
24104         * include/shadow.h: Likewise.
24105         * include/signal.h: Likewise.
24106         * include/stdio.h: Likewise.
24107         * include/stdlib.h: Likewise.
24108         * include/string.h: Likewise.
24109         * include/sys/socket.h: Likewise.
24110         * include/sys/stat.h: Likewise.
24111         * include/sys/statfs.h: Likewise.
24112         * include/sys/statvfs.h: Likewise.
24113         * include/sys/syslog.h: Likewise.
24114         * include/sys/time.h: Likewise.
24115         * include/sys/uio.h: Likewise.
24116         * include/time.h: Likewise.
24117         * include/unistd.h: Likewise.
24118         * include/utmp.h: Likewise.
24119         * include/wchar.h: Likewise.
24120         * include/wctype.h: Likewise.
24121         * inet/aliases.h: Likewise.
24122         * inet/arpa/inet.h: Likewise.
24123         * inet/netinet/ether.h: Likewise.
24124         * inet/netinet/in.h: Likewise.
24125         * intl/libintl.h: Likewise.
24126         * io/bits/fcntl2.h: Likewise.
24127         * io/fcntl.h: Likewise.
24128         * io/ftw.h: Likewise.
24129         * io/sys/poll.h: Likewise.
24130         * io/sys/stat.h: Likewise.
24131         * io/sys/statfs.h: Likewise.
24132         * io/sys/statvfs.h: Likewise.
24133         * io/utime.h: Likewise.
24134         * libio/bits/stdio.h: Likewise.
24135         * libio/bits/stdio2.h: Likewise.
24136         * libio/libio.h: Likewise.
24137         * libio/libioP.h: Likewise.
24138         * libio/stdio.h: Likewise.
24139         * locale/lc-ctype.c: Likewise.
24140         * locale/locale.h: Likewise.
24141         * login/utmp.h: Likewise.
24142         * malloc/arena.c: Likewise.
24143         * malloc/malloc.c: Likewise.
24144         * malloc/malloc.h: Likewise.
24145         * malloc/mcheck.c: Likewise.
24146         * malloc/mtrace.c: Likewise.
24147         * math/bits/mathcalls.h: Likewise.
24148         * math/fenv.h: Likewise.
24149         * math/math_private.h: Likewise.
24150         * misc/bits/error.h: Likewise.
24151         * misc/bits/syslog.h: Likewise.
24152         * misc/err.h: Likewise.
24153         * misc/error.h: Likewise.
24154         * misc/fstab.h: Likewise.
24155         * misc/mntent.h: Likewise.
24156         * misc/regexp.h: Likewise.
24157         * misc/search.h: Likewise.
24158         * misc/sgtty.h: Likewise.
24159         * misc/sys/mman.h: Likewise.
24160         * misc/sys/syslog.h: Likewise.
24161         * misc/sys/uio.h: Likewise.
24162         * misc/sys/xattr.h: Likewise.
24163         * misc/ttyent.h: Likewise.
24164         * nis/rpcsvc/ypclnt.h: Likewise.
24165         * nss/nss.h: Likewise.
24166         * posix/bits/unistd.h: Likewise.
24167         * posix/fnmatch.h: Likewise.
24168         * posix/glob.h: Likewise.
24169         * posix/sched.h: Likewise.
24170         * posix/spawn.h: Likewise.
24171         * posix/sys/wait.h: Likewise.
24172         * posix/unistd.h: Likewise.
24173         * posix/wordexp.h: Likewise.
24174         * pwd/pwd.h: Likewise.
24175         * resolv/netdb.h: Likewise.
24176         * resource/sys/resource.h: Likewise.
24177         * rt/aio.h: Likewise.
24178         * rt/bits/mqueue2.h: Likewise.
24179         * rt/mqueue.h: Likewise.
24180         * shadow/shadow.h: Likewise.
24181         * signal/signal.h: Likewise.
24182         * socket/send.c: Likewise.
24183         * socket/sendto.c: Likewise.
24184         * socket/sys/socket.h: Likewise.
24185         * stdio-common/printf.h: Likewise.
24186         * stdlib/bits/stdlib.h: Likewise.
24187         * stdlib/fmtmsg.h: Likewise.
24188         * stdlib/monetary.h: Likewise.
24189         * stdlib/stdlib.h: Likewise.
24190         * stdlib/ucontext.h: Likewise.
24191         * streams/stropts.h: Likewise.
24192         * string/argz.h: Likewise.
24193         * string/bits/string2.h: Likewise.
24194         * string/string.h: Likewise.
24195         * string/strings.h: Likewise.
24196         * sunrpc/rpc/auth.h: Likewise.
24197         * sunrpc/rpc/auth_des.h: Likewise.
24198         * sunrpc/rpc/clnt.h: Likewise.
24199         * sunrpc/rpc/netdb.h: Likewise.
24200         * sunrpc/rpc/pmap_clnt.h: Likewise.
24201         * sunrpc/rpc/xdr.h: Likewise.
24202         * sysdeps/generic/inttypes.h: Likewise.
24203         * sysdeps/generic/net/if.h: Likewise.
24204         * sysdeps/generic/sys/swap.h: Likewise.
24205         * sysdeps/gnu/net/if.h: Likewise.
24206         * sysdeps/gnu/utmpx.h: Likewise.
24207         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24208         * sysdeps/i386/i486/bits/string.h: Likewise.
24209         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24210         * sysdeps/s390/bits/string.h: Likewise.
24211         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24212         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24213         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24214         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24215         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24216         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24217         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24218         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24219         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24220         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24221         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24222         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24223         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24224         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24225         * sysdeps/unix/sysv/linux/readv.c: Likewise.
24226         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24227         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24228         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24229         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24230         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24231         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24232         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24233         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24234         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24235         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24236         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24237         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24238         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24239         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24240         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24241         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24242         * sysvipc/sys/ipc.h: Likewise.
24243         * sysvipc/sys/msg.h: Likewise.
24244         * sysvipc/sys/sem.h: Likewise.
24245         * sysvipc/sys/shm.h: Likewise.
24246         * termios/termios.h: Likewise.
24247         * time/sys/time.h: Likewise.
24248         * time/time.h: Likewise.
24249         * wcsmbs/bits/wchar2.h: Likewise.
24250         * wcsmbs/uchar.h: Likewise.
24251         * wcsmbs/wchar.h: Likewise.
24252         * wctype/wctype.h: Likewise.
24254         [BZ #13551]
24255         * Makeconfig: Remove all but ELF support including AIX support.
24256         * Makerules: Likewise.
24257         * config.h.in: Likewise.
24258         * config.make.in: Likewise.
24259         * configure: Likewise.
24260         * configure.in: Likewise.
24261         * csu/Makefile: Likewise.
24262         * csu/version.c: Likewise.
24263         * debug/Makefile: Likewise.
24264         * dlfcn/Makefile: Likewise.
24265         * elf/Makefile: Likewise.
24266         * extra-lib.mk: Likewise.
24267         * iconv/Makefile: Likewise.
24268         * include/libc-symbols.h: Likewise.
24269         * include/shlib-compat.h: Likewise.
24270         * resolv/Makefile: Likewise.
24271         * resolv/res_libc.c: Likewise.
24272         * rt/Makefile: Likewise.
24273         * sysdeps/i386/asm-syntax.h: Likewise.
24274         * sysdeps/i386/sysdep.h: Likewise.
24275         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24276         * sysdeps/mach/sysdep.h: Likewise.
24277         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24278         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24279         * sysdeps/s390/asm-syntax.h: Likewise.
24280         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24281         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24282         * sysdeps/sh/sysdep.h: Likewise.
24283         * sysdeps/unix/sparc/sysdep.h: Likewise.
24284         * sysdeps/wordsize-32/divdi3.c: Likewise.
24285         * sysdeps/x86_64/sysdep.h: Likewise.
24287         * argp/Versions: Remove _argp_unlock_xxx.
24289         [BZ #13559]
24290         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
24291         * abilist/libBrokenLocale.abilist: Likewise.
24292         * abilist/libanl.abilist: Likewise.
24293         * abilist/libc.abilist: Likewise.
24294         * abilist/libcrypt.abilist: Likewise.
24295         * abilist/libdl.abilist: Likewise.
24296         * abilist/libm.abilist: Likewise.
24297         * abilist/libnsl.abilist: Likewise.
24298         * abilist/libpthread.abilist: Likewise.
24299         * abilist/libresolv.abilist: Likewise.
24300         * abilist/librt.abilist: Likewise.
24301         * abilist/libthread_db.abilist: Likewise.
24302         * abilist/libutil.abilist: Likewise.
24303         * abilist/libnss_db.abilist: New file.
24305         * scripts/abilist.awk: Add support for indirect functions.
24307         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24309         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24311         * shlib-versions: Remove entries for ports architectures.
24313         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
24314         files in ports.
24315         * elf/stackguard-macros.h: Remove support for IA-64.
24316         * elf/tst-auditmod1.c: Likewise.
24317         * sysdeps/generic/ldsodefs.h: Likewise.
24319         * sysdeps/unix/sysv/linux/configure.in: Ports should define
24320         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24321         configure files.
24323         [BZ #13552]
24324         * configure.in: Remove --enable-omitfp support.
24325         * FAQ.in: Adjust.
24326         * config.make.in: Likewise.
24327         * Makeconfig: Likewise.
24328         * manual/install.texi: Likewise.
24330         In case anyone cares, the IA-64 architecture could move to ports.
24331         * sysdeps/ia64/*: Removed.
24332         * sysdeps/unix/sysv/linux/ia64/*: Removed.
24333         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24335         [BZ #13555]
24336         * configure.in: Remove entries for unsupported architectures.
24338         [BZ #13533]
24339         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24340         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
24341         routines.
24342         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24343         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24344         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
24345         fall back to using wcrtomb.
24346         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24347         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
24348         renaming.
24349         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24350         * wcsmbs/tst-c16c32-1.c: New file.
24352         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24353         local variable.
24355         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24357         * elf/tst-unique3.cc: Add explicit declaration of gets.
24358         * elf/tst-unique3lib.cc: Likewise.
24359         * elf/tst-unique3lib2.cc: Likewise.
24360         * elf/tst-unique4.cc: Likewise.
24362         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24364 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
24366         [BZ #13566]
24367         * assert/assert.h (static_assert): Don't define for C++.
24368         * libio/stdio.h (gets): Do declare for C++ <= C++11.
24369         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24371 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
24373         * iconv/loop.c (single loop): Fix assertion in storing of
24374         remaining bytes.
24376         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24378 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
24380         * posix/getconf.c: Update copyright year.
24381         * nss/getent.c: Likewise.
24382         * nss/makedb.c: Likewise.
24383         * iconv/iconvconfig.c: Likewise.
24384         * iconv/iconv_prog.c: Likewise.
24385         * elf/ldconfig.c: Likewise.
24386         * elf/pldd.c: Likewise.
24387         * elf/sotruss.ksh: Likewise.
24388         * catgets/gencat.c: Likewise.
24389         * csu/version.c: Likewise.
24390         * elf/ldd.bash.in: Likewise.
24391         * elf/sprof.c (print_version): Likewise.
24392         * locale/programs/locale.c: Likewise.
24393         * locale/programs/localedef.c: Likewise.
24394         * login/programs/pt_chown.c: Likewise.
24395         * nscd/nscd.c (print_version): Likewise.
24396         * debug/xtrace.sh: Likewise.
24397         * malloc/memusage.sh: Likewise.
24398         * malloc/mtrace.pl: Likewise.
24399         * debug/catchsegv.sh: Likewise.
24401 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
24403         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24404         pure attribute.
24406 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
24408         [BZ #13533]
24409         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24410         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24411         transformations.
24412         * iconv/gconv_int.h: Likewise.
24413         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24414         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24415         from libc for GLIBC_2.16.
24416         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24417         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24418         * wcsmbs/uchar.h: Really define mbstate_t.
24419         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24420         * wcsmbs/c16rtomb.c: New file.
24421         * wcsmbs/mbrtoc16.c: New file.
24422         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24423         for C/POSIX locale.
24424         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24425         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24427         * wcsmbs/wchar.h: Add missing __restrict.
24429 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
24431         [BZ #13532]
24432         * time/Makefile (routines): Add timespec_get.
24433         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24434         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
24435         timespec for ISO C11.
24436         * time/timespec_get.c: New file.
24437         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24438         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24440         [BZ #13531]
24441         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24442         * stdlib/stdlib.h: Declare aligned_alloc.
24443         * Versions.def: Add GLIBC_2.16 for libc.
24444         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24446         [BZ 13527]
24447         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24448         ISO C11.
24450         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24451         code.
24453         [BZ #13528]
24454         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24456         [BZ #13529]
24457         * assert/assert.h (static_assert): Define.
24459         * version.h: Update for 2.16 development version.
24461         [BZ #13526]
24462         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24463         _ISOC11_SOURCE.
24465         * version.h (RELEASE): Bump for 2.15 release.
24466         * include/features.h (__GLIBC_MINOR__): Bump to 15.
24468         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24469         Patch by Marek Polacek <mpolacek@redhat.com>.
24471         * bits/byteswap.h: Protect long long constants with __extension__.
24472         * sysdeps/i386/bits/byteswap.h: Likewise.
24473         * sysdeps/ia64/bits/byteswap.h: Likewise.
24474         * sysdeps/s390/bits/byteswap.h: Likewise.
24475         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24477 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24479         [BZ #13540]
24480         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24481         destination buffer.
24482         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24484 2011-12-23  Marek Polacek  <polacek@redhat.com>
24486         * elf/dl-addr.c (determine_info): Add inline keyword.
24487         * elf/tst-auditmod4b.c (check_avx): Likewise.
24488         * elf/tst-auditmod6b.c (check_avx): Likewise.
24489         * elf/tst-auditmod6c.c (check_avx): Likewise.
24490         * elf/tst-auditmod7b.c (check_avx): Likewise.
24492 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
24494         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24495         !__SSE_MATH__.
24497 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24499         [BZ #13540]
24500         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24501         processing for last bytes.
24503 2011-08-06  Bruno Haible  <bruno@clisp.org>
24505         [BZ #13061]
24506         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24507         U+0385, not to U+1FEE.
24509         [BZ #13062]
24510         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24511         entry for U+00A5 U+0301.
24513 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24515         [BZ #13166]
24516         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24517         buffer for the output is too small.
24519         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24520         optimization.
24522         [BZ #13185]
24523         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24524         SSE flags if possible.
24526 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24528         [BZ #13540]
24529         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24530         processing for last bytes.
24532 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
24534         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24535         (syscall-list-default-options, syscall-list-default-condition)
24536         (syscall-list-includes): Define.
24537         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24538         list of ABIs and options and #if conditions for each ABI.  Do not
24539         handle common syscalls between ABIs specially.
24540         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24541         Remove.
24542         (syscall-list-variants, syscall-list-32bit-options)
24543         (syscall-list-32bit-condition, syscall-list-64bit-options)
24544         (syscall-list-64bit-condition): Define.
24545         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24546         (syscall-list-variants, syscall-list-32bit-options)
24547         (syscall-list-32bit-condition, syscall-list-64bit-options)
24548         (syscall-list-64bit-condition): Define.
24549         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24550         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/x86_64/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.
24560 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24562         * locale/iso-639.def: Add brx entry.
24564         [BZ #13328]
24565         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24566         Proposed by Mariusz_Cukr <marcukr@op.pl>.
24568         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24569         __feraiseexcept_renamed.
24571 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24573         [BZ #13538]
24574         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24575         EPOLLET with unsigned values.
24576         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24577         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24579         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24580         to large cancellation.
24581         * math/s_cacoshf.c: Likewise.
24582         * math/s_cacoshl.c: Likewise.
24584 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
24586         [BZ #13305]
24587         [BZ #12786]
24588         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24589         * math/s_cacoshf.c: Likewise.
24590         * math/s_cacoshl.c: Likewise.
24592 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24594         [BZ #13439]
24595         * iconv/gconv.h: Define __GCONV_SWAP.
24596         * iconvdata/unicode.c: The swap bit must be stored in __flags.
24597         * iconvdata/utf-16.c: Likewise.
24598         * iconvdata/utf-32.c: Likewise.
24600 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24602         [BZ #13524]
24603         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24604         numerator after shifting it by one limb.
24606 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
24608         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24609         under [__USE_EXTERN_INLINES].
24611 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24613         [BZ #13446]
24614         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24616 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24618         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24619         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24620         optimized code.
24621         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24622         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24623         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24624         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24625         for strncasecmp/strncasecmp_l compilation.
24626         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24627         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24629 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
24631         [BZ #13484]
24632         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24633         of __asm__.
24635 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24637         [BZ #13506]
24638         * time/tzfile.c (__tzfile_read): Check values from file header.
24640 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24642         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24643         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24644         * powerpc/powerpc32/dl-start.S: Likewise.
24645         * powerpc/powerpc32/elf/start.S: Likewise.
24646         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24647         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24648         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24649         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24650         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24651         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24652         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24653         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24654         * powerpc/powerpc32/fpu/s_round.S: Likewise.
24655         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24656         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24657         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24658         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24659         * powerpc/powerpc32/memset.S: Likewise.
24660         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24661         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24662         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24663         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24664         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24665         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24666         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24667         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24668         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24669         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24670         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24671         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24672         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24674 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24676         * math/libm-test.inc: Added more nearbyint tests.
24677         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24678         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24679         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24680         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24682 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
24684         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24685         FD_CLOEXEC.
24687 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24689         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24690         Add wcscpy-ssse3 wcscpy-c.
24691         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24692         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24693         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24694         * sysdeps/x86_64/wcschr.S: New file.
24695         * sysdeps/x86_64/wcsrchr.S: New file.
24696         * string/test-strcmp.c: Remove checking of wcscmp function for
24697         wrong alignments.
24698         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24699         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24700         wcsrchr-sse2 wcsrchr-c.
24701         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24702         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24703         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24704         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24705         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24706         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24707         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24708         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24709         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24710         * wcsmbc/wcschr.c (WCSCHR): New macro.
24712 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24714         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24715         * wcsmbs/test-wcsrchr.c: New file.
24716         * string/test-strrchr.c: Add wcsrchr support.
24717         (WIDE): New macro.
24718         * wcsmbs/test-wcscpy.c: New file.
24719         * string/test-strcpy.c: Add wcscpy support.
24720         (WIDE): New macro.
24722 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
24724         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24725         the inner loop.
24727 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
24729         [BZ #13472]
24730         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24732 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
24734         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24735         Minor optimizations.
24737         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24738         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24739         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24741 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
24743         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24744         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24745         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24746         for gcc to avoid warnings.
24747         * inet/Makefile (tests): Add tst-checks.
24748         * inet/tst-checks.c: New file.
24750         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24751         warning.
24753         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24754         __wmemcmp_sse2.
24756         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24757         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24759         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24761 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
24763         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24764         problem.
24766         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24768 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
24770         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24771         conditional on GCC version.
24772         (__arch_compare_and_exchange_val_8_acq)
24773         (__arch_compare_and_exchange_val_16_acq)
24774         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24775         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24776         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24778 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
24780         * sysdeps/sh/backtrace.c: New file.
24782 2011-12-02  Andreas Schwab  <schwab@redhat.com>
24784         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
24785         parenthesis.
24787 2011-12-01  Andreas Schwab  <schwab@redhat.com>
24789         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24790         falling back to utime.
24792 2011-11-30  Andreas Schwab  <schwab@redhat.com>
24794         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24795         expectations for float.
24797 2011-11-29  Andreas Schwab  <schwab@redhat.com>
24799         * locale/weight.h (findidx): Add parameter len.
24800         * locale/weightwc.h (findidx): Likewise.
24801         * posix/fnmatch_loop.c (FCT): Adjust caller.
24802         * posix/regcomp.c (build_equiv_class): Likewise.
24803         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24804         * posix/regexec.c (check_node_accept_bytes): Likewise.
24805         * string/strcoll_l.c (STRCOLL): Likewise.
24806         * string/strxfrm_l.c (STRXFRM): Likewise.
24808 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
24810         * Makefile.in: Remove CVSOPT handling.
24811         * configure.in: Remove use of AC_REVISION.
24812         * iconvdata/Makefile (distribute): No need to filter out CVS.
24813         * scripts/list-sources.sh: Remove CVS, subversion and monotone
24814         handling.
24816 2011-11-16  Andreas Schwab  <schwab@redhat.com>
24818         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24819         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24820         [USE_AS_STRNCASECMP_L]: Likewise.
24821         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24822         NO_TLS_DIRECT_SEG_REFS.
24823         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24824         Fix argument offsets for non-PIC.
24825         [USE_AS_STRNCASECMP_L]: Likewise.
24826         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24827         NO_TLS_DIRECT_SEG_REFS.
24829 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
24831         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24832         O_CLOEXEC.
24833         * locale/loadlocale.c (_nl_load_locale): Likewise.
24835 2011-11-15  Andreas Schwab  <schwab@redhat.com>
24837         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24838         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24839         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24840         (SYSCALL_GETTIME): Set errno on error.
24842         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24843         count references to noai6ai_cached.
24845 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
24847         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24849         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24850         FD_CLOEXEC for /proc/self/maps.
24852         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24853         FD_CLOEXEC for /proc/meminfo.
24855         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24856         gai.conf.
24858         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
24859         FD_CLOEXEC for given file.
24861         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24863         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24864         FD_CLOEXEC for /etc/hosts.
24865         (_gethtent): Likewise.
24867         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24869         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24870         cancellation and set FD_CLOEXEC for /etc/netgroup.
24872         * nss/nss_files/files-key.c (search): Don't allow cancellation when
24873         reading /etc/publickey.
24875         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24876         allow cancellation when reading /etc/group.
24878         * nss/nss_files/files-alias.c (internal_setent): Don't allow
24879         cancellation.
24880         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
24882         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24883         when using data file.
24885         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24887         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24888         (write_nis_obj): Use "c" and "e" in fopen.
24890         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24892         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24894         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24896         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24898         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24899         locale.alias.
24901         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24903         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24905         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24907         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24908         file parsing and set FD_CLOEXEC.
24910 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
24912         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24914 2011-11-14  Andreas Schwab  <schwab@redhat.com>
24916         * malloc/arena.c (arena_get2): Don't call reused_arena when
24917         _int_new_arena failed.
24919 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
24921         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24922         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24923         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24924         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24925         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24926         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24927         to compile strcasecmp and strncasecmp.
24928         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24929         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24931         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24933 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
24935         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24936         locale-defines.sym to gen-as-const-headers.
24937         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24938         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24939         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24940         to compile strcasecmp and strncasecmp.
24941         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24942         strcasecmp_l and strncasecmp_l.
24943         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24944         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24945         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24946         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24947         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24948         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24949         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24950         * sysdeps/i386/i686/multiarch/strncase.S: New file.
24951         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24952         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24953         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24955 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
24957         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24958         result of SYSDEP_GETTIME_CPU to retval.
24959         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24960         parameter list to macro.  Remove trailing semicolon.  Adjust users.
24962         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24963         variable.
24965         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24966         mantissa words.
24967         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24969         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24970         from unused variable.
24972         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24973         DWARF definitions.
24974         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24975         for assembling.
24977         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24978         over namespaces.
24980         * sunrpc/rpc_prot.c (rejected): Fix case value.
24982         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24983         unsigned long long int to avoid warnings in shift.
24985         * posix/regex_internal.c (re_string_reconstruct): Actually use result
24986         of use of trans.
24987         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24988         variable tmp.
24990         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24991         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24992         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24994         * nis/nis_table.c (nis_list): Use variable of correct type for
24995         result of __follow_path call.
24997 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24999         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25000         of math functions ceil, trunc, floor, round, and sqrt, when
25001         avaliable on the platform.
25002         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25003         name clash.
25004         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25005         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25006         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25008 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25010         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25011         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25013 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25015         * include/unistd.h: Fix __readlink return type.
25016         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25018 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25020         * stdlib/ucontext.h: Undo last change for makecontext.
25022 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25024         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25026         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25027         * setjmp/setjmp.h: Mark functions as non-leaf.
25028         * setjmp/bits/setjmp2.h: Likewise.
25029         * stdlib/ucontext.h: Likewise.
25031 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25033         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25034         (reused_arena): Don't check arena limit.
25035         (arena_get2): Atomically check arena limit.
25037 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25039         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25040         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25043         instructions.
25045 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25047         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25048         handler when locking.
25050         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25051         Fix size of allocated buffer.
25053 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25055         [BZ #10103]
25056         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25057         declarations for long double functions.
25058         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25060         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25062 2011-11-03  Andreas Schwab  <schwab@redhat.com>
25064         * nscd/nscd.c (main): Don't start AVC thread until credentials are
25065         installed.
25067         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25068         is disabled.
25070 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25072         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25074 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25076         * include/alloca.h (stackinfo_alloca_round): Define.
25077         (extend_alloca): Use it.
25078         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25079         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25080         here.
25082         * scripts/check-local-headers.sh: Ignore libaudit.h.
25084         * nscd/Makefile (extra-objs): Make recursively expanded.
25086 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
25088         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25089         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25091         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25092         * posix/tst-rfc3484-2.c: Likewise.
25093         * posix/tst-rfc3484-3.c: Likewise.
25095         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25096         process_vm_writev.
25097         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25098         process_vm_writev.
25099         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25100         process_vm_writev from libc using GLIBC_2.15 version.
25102         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25104 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
25106         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25107         stack usage.
25109 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
25111         [BZ #13367]
25112         * nss/getent.c (initgroups_keys): Show error message in case no group
25113         names are given.
25115         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25116         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25117         __bump_nl_timestamp.
25118         * nscd/connections (nscd_init): When host database is served open
25119         netlink socket and request notification about configuration changes.
25120         (main_loop_poll): Track netlink file descriptor and bump timestamp
25121         in case data becomes available.
25122         (main_loop_epoll): Likewise.
25123         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25124         (database_pers_head): Add extra_data fileds.
25125         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25126         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25127         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25128         Adjust caller.
25129         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25130         in6ai data, call __free_in6ai.
25131         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25132         Add -DHAVE_NETLINK.
25133         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
25134         interface information.  Reuse previous data if netlink timestamp
25135         is not changed.
25136         (__bump_nl_timestamp): New function.
25137         (__free_in6ai): New function.
25139 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
25141         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25142         close_not_cancel_no_status here.
25143         (__check_pf): Reorganize code a bit to not call close twice if OOM.
25145 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25147         [BZ #13276]
25148         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25149         return value.
25151         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25152         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25153         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25155 2011-07-03  Andreas Jaeger  <aj@suse.de>
25157         [BZ #10709]
25158         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25159         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25160         * math/libm-test.inc (sin_test): Add test case.
25162 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25164         [BZ #13337]
25165         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25166         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25168         * elf/chroot_canon.c (chroot_canon): Cleanups.
25170         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25172         [BZ #13335]
25173         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25174         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25176         * string/test-strchr.c: Make usable for strchrnul testing.
25177         * string/test-strchrnul.c: New file.
25178         * string/Makefile (strop-tests): Add strchrnul.
25180         * po/it.po: Update from translation team.
25181         * po/es.po: Likewise.
25183 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
25185         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25186         the three constants needed as parameters.  Drop the others.
25187         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25188         __m128i_strloadu_tolower.
25189         Create and initialize variable zero and use it in all the places
25190         where _mm_setzero_si128 was used.
25192         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25193         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25194         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25195         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25196         anymore.
25197         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25198         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25199         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25200         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25201         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25202         __mpranred, __mptan.
25203         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25204         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25205         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25206         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25207         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25208         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25209         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25210         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25211         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25213 2011-10-28  Andreas Schwab  <schwab@redhat.com>
25215         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25216         redefine if SHARED.
25217         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25219         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25220         wide char related routines to wcsmbs subdir.
25222 2011-10-27  Andreas Schwab  <schwab@redhat.com>
25224         [BZ #13344]
25225         * misc/sys/cdefs.h (__THROWNL): Define.
25226         * posix/unistd.h: Use __THREADNL instead of __THREAD
25227         for memory synchronization functions.
25229 2011-10-26  Roland McGrath  <roland@hack.frob.com>
25231         [BZ #13349]
25232         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25233         doesn't exist.
25234         * manual/stdio.texi (Obstack Streams): Node removed.
25236 2011-10-26  Andreas Schwab  <schwab@redhat.com>
25238         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25239         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25240         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25242         * math/math_private.h (math_force_eval): Allow non-addressable
25243         arguments.
25244         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25246 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25248         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25249         file is not needed.
25251         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25252         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25253         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25254         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25255         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25256         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25257         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25258         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25259         Add AVX variants.
25260         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25261         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25262         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25263         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25264         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25265         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25266         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25267         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25268         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25269         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25270         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25271         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25272         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25273         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25274         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25275         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25276         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25277         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25278         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25280         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25281         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
25283         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25284         place.  Use VEX encoding when compiling for AVX.
25286 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25288         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25289         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25291         * string/test-strchr.c (do_test): Don't generate NUL bytes.
25293 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25295         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25296         useless if() expression.
25297         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25298         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25299         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25300         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25301         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25302         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25303         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25304         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25305         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25306         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25307         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25308         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25309         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25310         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25311         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25312         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25313         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25314         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25315         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25317         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25319 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25321         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25322         condition.
25323         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25325 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25327         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25328         .text section.  Avoid duplicate constants.
25329         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25330         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25331         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25332         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25333         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25334         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25335         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25336         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25337         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25338         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25339         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25340         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25341         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25342         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25343         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25344         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25345         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25346         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25347         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25348         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25349         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25350         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25351         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25352         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25353         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25354         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25355         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25356         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25357         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25358         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25359         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25360         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25361         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25362         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25363         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25364         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25365         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25366         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25367         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25368         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25369         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25370         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25371         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25372         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25373         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25375 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
25377         * sysdeps/x86_64/dla.h: Move to ...
25378         * sysdeps/x86_64/fpu/dla.h: ...here.
25379         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25380         situations.  Use __builtin_fma only for gcc 4.6 and up.
25382         * config.make.in: Add have-mfma4 entry.
25383         * configure.in: Substitute libc_cv_cc_fma4.
25384         * math/Makefile (dbl-only-routines): Add sincostab.
25385         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25386         Use __sincostab not sincos.
25387         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25388         name is a macro.
25389         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25390         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25391         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
25393         using __copysign.
25394         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
25395         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
25396         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25397         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25398         and __inv.
25399         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25400         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25401         __copysign.
25402         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
25403         define aliases when function name is a macro.
25404         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25405         sysdeps/ieee754/dbl-64/sincos.tbl.
25406         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25407         fma4-enabled routines.
25408         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25409         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25410         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25411         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25412         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25413         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25414         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25415         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25416         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25417         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25418         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25419         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25420         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25421         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25422         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25423         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25424         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25425         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25426         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25427         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25428         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25429         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25430         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25431         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25432         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25433         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25434         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25435         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25436         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25437         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25439         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25440         rename.
25441         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25442         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25443         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25444         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25445         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25446         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25447         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25448         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25450 2011-10-24  Andreas Schwab  <schwab@redhat.com>
25452         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25454 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25456         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25458         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25459         prediction.
25460         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25462         * string/strnlen.c: Don't define STRNLEN, reverse logic.
25463         Remove unused variable magic_bits.
25464         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25466         * string/strnlen.c: Define and use STRNLEN macro.
25467         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25468         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25469         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25470         * wcsmbs/wcslen.c: Define and use WCSLEN.
25471         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25472         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25473         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25474         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25475         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25476         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25477         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25479 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25481         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25482         strnlen-sse2-no-bsf.
25483         Rename strlen-no-bsf to strlen-sse2-no-bsf.
25484         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25485         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25486         Add strnlen support.
25487         (USE_AS_STRNLEN): New macro.
25488         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25489         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25490         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25491         * sysdeps/x86_64/wcslen.S: New file.
25493 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
25495         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25496         XMM-moves are used for copying on small sizes.
25498 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25500         * wcsmbs/Makefile (strop-tests): Add wcschr.
25501         * wcsmbs/test-wcschr.c: New file.
25502         * string/test-strchr.c: Update.
25503         Add wcschr support.
25504         (WIDE): New macro.
25506 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25508         * wcsmbs/Makefile (strop-tests): Add wcslen.
25509         * wcsmbs/test-wcslen.c: New file.
25510         * string/test-strlen.c: Update.
25511         Add wcslen support.
25512         (WIDE): New macro.
25514 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25516         * po/it.po: Update from translation team.
25518 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25520         * sysdeps/x86_64/wcscmp.S: Update.
25521         Fix wrong comparison semantics.
25522         wcscmp shall use signed comparison not unsigned.
25523         Don't use substraction to avoid overflow bug.
25524         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25525         * wcsmbc/wcscmp.c: Likewise.
25526         * string/test-strcmp.c: Likewise.
25527         Add new tests to check cases with negative values.
25529 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25531         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25532         * sysdeps/x86_64/dla.h: ...here.  New file.
25533         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25534         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25535         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25536         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25537         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25538         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25539         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25540         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25541         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25543 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
25545         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25546         __ynl_finite aliases.
25548 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25552         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25553         define DLA_FMA.
25554         [DLA_FMA] (EMULV): Use DLA_FMA.
25555         [DLA_FMA] (MUL12): Use EMULV.
25556         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25557         that are not needed.
25558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25559         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25560         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25561         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25562         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25563         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25564         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25566 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
25568         * math/s_nan.c: Undef __nan.
25569         * math/s_nanf.c: Undef __nanf.
25570         * math/s_nanl.c: Undef __nanl.
25571         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25572         "math_private.h".
25574 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25576         * math/s_catan.c: Add branch predictions.
25577         * math/s_catanf.c: Likewise.
25578         * math/s_catanh.c: Likewise.
25579         * math/s_catanhf.c: Likewise.
25580         * math/s_catanhl.c: Likewise.
25581         * math/s_catanl.c: Likewise.
25582         * math/s_cexp.c: Likewise.
25583         * math/s_cexpf.c: Likewise.
25584         * math/s_cexpl.c: Likewise.
25585         * math/s_clog.c: Likewise.
25586         * math/s_clog10.c: Likewise.
25587         * math/s_clog10f.c: Likewise.
25588         * math/s_clog10l.c: Likewise.
25589         * math/s_clogf.c: Likewise.
25590         * math/s_clogl.c: Likewise.
25591         * math/s_csqrt.c: Likewise.
25592         * math/s_csqrtf.c: Likewise.
25593         * math/s_csqrtl.c: Likewise.
25594         * math/s_ctanf.c: Likewise.
25595         * math/s_ctanh.c: Likewise.
25596         * math/s_ctanhf.c: Likewise.
25597         * math/s_ctanhl.c: Likewise.
25598         * math/s_ctanl.c: Likewise.
25600         * math/math_private.h: Define __nan, __nanf, __nanl.
25601         * math/s_cacosh.c: Include <math_private.h>.
25602         * math/s_cacoshl.c: Likewise.
25603         * math/s_casinh.c: Likewise.
25604         * math/s_casinhf.c: Likewise.
25605         * math/s_casinhl.c: Likewise.
25606         * math/s_ccos.c: Rely entire on ccosh.
25607         * math/s_ccosf.c: Rely entire on ccoshf.
25608         * math/s_ccosl.c: Rely entirely on ccoshl.
25609         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
25610         Remove tests for FE_INVALID.
25611         * math/s_ccoshf.c: Likewise.
25612         * math/s_ccoshl.c: Likewise.
25613         * math/s_csin.c: Likewise.
25614         * math/s_csinf.c: Likewise.
25615         * math/s_csinh.c Likewise.
25616         * math/s_csinhf.c: Likewise.
25617         * math/s_csinhl.c: Likewise.
25618         * math/s_csinl.c: Likewise.
25619         * math/s_ctan.c: Likewise.
25620         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25621         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25622         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25624 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
25626         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25627         compilation problems.
25629         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25630         __builtin_expect.
25632 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
25634         * sysdeps/i386/configure.in: Test for -mfma4 option.
25635         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25636         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25637         COMMON_CPUID_INDEX_80000001.
25638         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25639         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25640         use it if FMA3 is not supported.
25641         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25643         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25644         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25646 2011-10-20  Andreas Schwab  <schwab@redhat.com>
25648         [BZ #12892]
25649         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25650         it would create a cycle with a link time dependency.
25652 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
25654         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25655         instruction.
25656         * string/Makefile (strop-tests): Add rawmemchr.
25657         * string/test-rawmemchr.c: New file.
25659         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25660         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
25661         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
25662         when compiling str{,n}casecmp and when AVX is available.  Hook up
25663         new optimized code in initializers.
25665 2011-10-19  Andreas Schwab  <schwab@redhat.com>
25667         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25668         __feraiseexcept instead of feraiseexcept.
25670 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
25672         * math/math_private.h: Define defaults for libc_fetestexcept and
25673         libc_feupdateenv.
25674         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25675         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25676         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25677         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25678         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25679         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25680         libc_fetestexcept and libc_feupdateenv.
25682         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25683         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25684         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25685         * sysdeps/x86_64/fpu/math_private.h: Define special version of
25686         libc_feholdexcept_setround.
25688         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25689         Add s_nearbyint-c and s_nearbyintf-c.
25690         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25691         nearbyintf inlines.
25692         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25693         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25694         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25695         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25697         * math/math_private.h: Define defaults for libc_fegetround,
25698         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25699         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25700         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25701         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25702         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25703         standard functions.
25704         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25705         Remove comments and hacks for old compiler versions.
25706         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25707         libc_fegetround, libc_fesetround, libc_feholdexcept, and
25708         libc_feholdexceptl.
25710 2011-10-18  Andreas Schwab  <schwab@redhat.com>
25712         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25713         (__feraiseexcept_renamed): Add __NTH.
25714         (feraiseexcept): Add __NTH.  Rename local variables to fix
25715         namespace violations.
25717 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
25719         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25721         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25723         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25724         recently added interfaces.
25725         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25727         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25728         about macro parameter expansion.
25730         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25731         __NO_MATH_INLINES is defined.  Cleanups.
25733         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25734         and __floorf is target has SSE4.1.
25735         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25736         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25737         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25738         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25740         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25741         name.
25742         (floorf): Likewise.
25744         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25746 2011-10-17  Andreas Schwab  <schwab@redhat.com>
25748         * misc/sys/cdefs.h: Fix last change.
25750         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25751         database lookup.
25753 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
25755         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25757         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25758         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25759         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25760         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25761         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25762         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25763         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25764         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25765         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25766         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25767         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25768         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25769         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25770         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25771         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25772         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25773         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25774         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25775         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25776         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25777         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25778         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25780         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25781         ceil, ceilf, floor, floorf.
25783         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25784         Perform IRELATIVE relocations last.
25786         * elf/do-rel.h: Add another parameter nrelative, replacing the
25787         local variable with the same name.  Change name of the function
25788         to end in Rel or Rela (uppercase).
25789         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25790         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
25791         elf_dynamic_do_##reloc function.
25793 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
25795         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25796         is sufficient, at least on modern CPUs.
25798         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25800         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25801         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25803         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25804         __expl_finite.
25805         * math/bits/math-finite.h: Add entries for exp.
25806         * math/e_expl.c: Add __*_finite alias.
25807         * sysdeps/i386/fpu/e_exp.S: Likewise.
25808         * sysdeps/i386/fpu/e_expf.S: Likewise.
25809         * sysdeps/i386/fpu/e_expl.c: Likewise.
25810         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25811         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25812         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25813         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25814         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25815         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25816         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25818         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25819         is sufficient, at least on modern CPUs.
25821         * ctype/ctype-info.c (__ctype_init): Define.
25822         * include/ctype.h (__ctype_init): Declare.
25823         (__ctype_b_loc): The variable is always initialized.
25824         (__ctype_toupper_loc): Likewise.
25825         (__ctype_tolower_loc): Likewise.
25826         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25827         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25829 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
25831         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25833         * configure.in: Also look in $cxxmachine/include for C++ system
25834         headers.
25836 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25838         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25839         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25840         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25841         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
25842         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25843         (USE_AS_WMEMCMP): New macro.
25844         Fixing indents.
25845         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25846         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25847         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25848         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25850         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25851         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25852         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25853         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25854         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25855         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25856         (USE_AS_WMEMCMP): New macro.
25857         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25858         * sysdeps/string/test-memcmp.c: Update.
25859         Fix simple_wmemcmp.
25860         Add new tests.
25861         * wcsmbs/wmemcmp.c: Update.
25862         (WMEMCMP): New macro.
25863         Fix overflow bug.
25865 2011-10-12  Andreas Jaeger  <aj@suse.de>
25867         [BZ #13268]
25868         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25870 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
25872         * libio/iofwide.c (do_length): Avoid warning.
25874         * ctype/ctype.h (__isctype_f): Add missing __THROW.
25876 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
25878         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25880         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25881         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25882         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25883         * sysdeps/i386/i686/fpu/e_log.S: New file.
25884         * sysdeps/i386/i686/fpu/e_logf.S: New file.
25885         * sysdeps/i386/i686/fpu/e_logl.S: New file.
25887         * ctype/ctype.h: Add support for inlined isXXX functions when
25888         compiling C++ code.
25890 2011-10-14  Andreas Schwab  <schwab@redhat.com>
25892         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25894         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25896 2011-10-13  Roland McGrath  <roland@hack.frob.com>
25898         [BZ #13291]
25899         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25901 2011-10-13  Andreas Schwab  <schwab@redhat.com>
25903         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25904         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25905         feraiseexcept.
25907         * sysdeps/x86_64/memrchr.S: Check for zero size.
25909         * string/stratcliff.c: Add memrchr tests.
25911 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25913         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25914         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25915         rawmemchr-sse2 rawmemchr-sse2-bsf.
25916         * sysdeps/i386/i686/multiarch/memchr.S: New file.
25917         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25918         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25919         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25920         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25921         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25922         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25923         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25924         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25925         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25926         * string/memrchr.c (MEMRCHR): New macro.
25928 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
25930         Add integration with gcc's -ffinite-math-only and optimize wrapper
25931         functions in libm.
25932         * Versions.def: Define GLIBC_2.15 version for libm.
25933         * math/Makefile (headers): Add bits/math-finite.h.
25934         * math/bits/math-finite.h: New file.
25935         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25936         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25937         * math/e_acoshl.c: Add __*_finite alias.
25938         * math/e_acosl.c: Likewise.
25939         * math/e_asinl.c: Likewise.
25940         * math/e_atan2l.c: Likewise.
25941         * math/e_atanhl.c: Likewise.
25942         * math/e_coshl.c: Likewise.
25943         * math/e_exp10.c: Likewise.
25944         * math/e_exp10f.c: Likewise.
25945         * math/e_exp10l.c: Likewise.
25946         * math/e_exp2l.c: Likewise.
25947         * math/e_fmodl.c: Likewise.
25948         * math/e_gammal_r.c: Likewise.
25949         * math/e_hypotl.c: Likewise.
25950         * math/e_j0l.c: Likewise.
25951         * math/e_j1l.c: Likewise.
25952         * math/e_jnl.c: Likewise.
25953         * math/e_lgammal_r.c: Likewise.
25954         * math/e_log10l.c: Likewise.
25955         * math/e_log2l.c: Likewise.
25956         * math/e_logl.c: Likewise.
25957         * math/e_powl.c: Likewise.
25958         * math/e_sinhl.c: Likewise.
25959         * math/e_sqrtl.c: Likewise.
25960         * math/e_scalb.c: Completely rewritten and optimized.
25961         * math/e_scalbf.c: Likewise.
25962         * math/e_scalbl.c: Likewise.
25963         * math/w_acos.c: Likewise.
25964         * math/w_acosf.c: Likewise.
25965         * math/w_acosl.c: Likewise.
25966         * math/w_acosh.c: Likewise.
25967         * math/w_acoshf.c: Likewise.
25968         * math/w_acoshl.c: Likewise.
25969         * math/w_asin.c: Likewise.
25970         * math/w_asinf.c: Likewise.
25971         * math/w_asinl.c: Likewise.
25972         * math/w_atan2.c: Likewise.
25973         * math/w_atan2f.c: Likewise.
25974         * math/w_atan2l.c: Likewise.
25975         * math/w_atanh.c: Likewise.
25976         * math/w_atanhf.c: Likewise.
25977         * math/w_atanhl.c: Likewise.
25978         * math/w_exp10.c: Likewise.
25979         * math/w_exp10f.c: Likewise.
25980         * math/w_exp10l.c: Likewise.
25981         * math/w_fmod.c: Likewise.
25982         * math/w_fmodf.c: Likewise.
25983         * math/w_fmodl.c: Likewise.
25984         * math/w_j0.c: Likewise.
25985         * math/w_j0f.c: Likewise.
25986         * math/w_j0l.c: Likewise.
25987         * math/w_j1.c: Likewise.
25988         * math/w_j1f.c: Likewise.
25989         * math/w_j1l.c: Likewise.
25990         * math/w_jn.c: Likewise.
25991         * math/w_jnf.c: Likewise.
25992         * math/w_log.c: Likewise.
25993         * math/w_logf.c: Likewise.
25994         * math/w_logl.c: Likewise.
25995         * math/w_log10.c: Likewise.
25996         * math/w_log10f.c: Likewise.
25997         * math/w_log10l.c: Likewise.
25998         * math/w_log2.c: Likewise.
25999         * math/w_log2f.c: Likewise.
26000         * math/w_log2l.c: Likewise.
26001         * math/w_pow.c: Likewise.
26002         * math/w_powf.c: Likewise.
26003         * math/w_powl.c: Likewise.
26004         * math/w_remainder.c: Likewise.
26005         * math/w_remainderf.c: Likewise.
26006         * math/w_remainderl.c: Likewise.
26007         * math/w_scalb.c: Likewise.
26008         * math/w_scalbf.c: Likewise.
26009         * math/w_scalbl.c: Likewise.
26010         * math/w_sqrt.c: Likewise.
26011         * math/w_sqrtf.c: Likewise.
26012         * math/w_sqrtl.c: Likewise.
26013         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26014         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26015         used.
26016         * math/math_private.h: Declare __kernel_standard_f.
26017         * math/w_cosh.c: Remove cruft and optimize a bit.
26018         * math/w_coshf.c: Likewise.
26019         * math/w_coshl.c: Likewise.
26020         * math/w_exp2.c: Likewise.
26021         * math/w_exp2f.c: Likewise.
26022         * math/w_exp2l.c: Likewise.
26023         * math/w_hypot.c: Likewise.
26024         * math/w_hypotf.c: Likewise.
26025         * math/w_hypotl.c: Likewise.
26026         * math/w_lgamma.c: Likewise.
26027         * math/w_lgamma_r.c: Likewise.
26028         * math/w_lgammaf.c: Likewise.
26029         * math/w_lgammaf_r.c: Likewise.
26030         * math/w_lgammal.c: Likewise.
26031         * math/w_lgammal_r.c: Likewise.
26032         * math/w_sinh.c: Likewise.
26033         * math/w_sinhf.c: Likewise.
26034         * math/w_sinhl.c: Likewise.
26035         * math/w_tgamma.c: Likewise.
26036         * math/w_tgammaf.c: Likewise.
26037         * math/w_tgammal.c: Likewise.
26038         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26039         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26040         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26041         Minor optimizations.  Pretty printing.  Remove cruft.
26042         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26043         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26044         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26045         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26046         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26047         * sysdeps/i386/fpu/e_asin.S: Likewise.
26048         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26049         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26050         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26051         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26052         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26053         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26054         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26055         * sysdeps/i386/fpu/e_exp10.S: Likewise.
26056         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26057         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26058         * sysdeps/i386/fpu/e_exp2.S: Likewise.
26059         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26060         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26061         * sysdeps/i386/fpu/e_fmod.S: Likewise.
26062         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26063         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26064         * sysdeps/i386/fpu/e_hypot.S: Likewise.
26065         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26066         * sysdeps/i386/fpu/e_log.S: Likewise.
26067         * sysdeps/i386/fpu/e_log10.S: Likewise.
26068         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26069         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26070         * sysdeps/i386/fpu/e_log2.S: Likewise.
26071         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26072         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26073         * sysdeps/i386/fpu/e_logf.S: Likewise.
26074         * sysdeps/i386/fpu/e_logl.S: Likewise.
26075         * sysdeps/i386/fpu/e_pow.S: Likewise.
26076         * sysdeps/i386/fpu/e_powf.S: Likewise.
26077         * sysdeps/i386/fpu/e_powl.S: Likewise.
26078         * sysdeps/i386/fpu/e_remainder.S: Likewise.
26079         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26080         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26081         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26082         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26083         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26084         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26085         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26086         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26087         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26088         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26089         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26090         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26091         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26092         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26093         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26094         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26095         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26096         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26097         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26098         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26099         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26100         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26101         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26102         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26103         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26104         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26105         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26106         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26107         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26108         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26109         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26110         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26111         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26112         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26113         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26114         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26115         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26116         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26117         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26118         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26119         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26120         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26121         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26122         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26123         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26124         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26125         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26126         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26127         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26128         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26129         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26130         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26131         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26132         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26133         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26134         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26135         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26136         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26137         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26138         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26139         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26140         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26141         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26142         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26143         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26144         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26145         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26146         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26147         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26148         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26149         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26150         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26151         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26152         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26153         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26154         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26155         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26156         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26157         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26158         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26159         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26160         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26161         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26162         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26163         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26164         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26165         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26166         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26167         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26168         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26169         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26170         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26171         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26172         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26173         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26174         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26175         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26176         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26177         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26178         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26179         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26180         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26181         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26182         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26183         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26184         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26185         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26186         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26187         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26188         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26189         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26190         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26191         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26192         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26193         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26194         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26195         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26196         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26197         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
26198         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26199         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26200         (__isnanf): Likewise.
26201         (__isinf_ns): Likewise.
26202         (__isinf_nsf): Likewise.
26203         (__finite): Likewise.
26204         (__finitef): Likewise.
26205         (__ieee754_sqrt): Define as macro.
26206         (__ieee754_sqrtf): Define as macro.
26207         (__ieee754_sqrtl): Define as macro.
26208         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26209         inlined copy.
26210         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26211         __FINITE_MATH_ONLY__ consistent.
26212         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26214 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
26216         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26217         of rawmemchr.
26219         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26221 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
26223         * po/ja.po: Update from translation team.
26225 2011-10-08  Roland McGrath  <roland@hack.frob.com>
26227         * locale/programs/locarchive.c (prepare_address_space): New function.
26228         (create_archive, enlarge_archive, open_archive): Use it.
26230         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26231         inside [SHARED], where it is used.
26233         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26235         * nss/getent.c (netgroup_keys): Remove unused variable.
26236         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26238 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
26240         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26241         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26242         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26243         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26244         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26245         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26246         * math/Makefile (libm-calls): Add s_isinf_ns.
26247         * math/divtc3.c: Use __isinf_nsl instead of isinf.
26248         * math/multc3.c: Likewise.
26249         * math/s_casin.c: Likewise.
26250         * math/s_casinf.c: Likewise.
26251         * math/s_casinl.c: Likewise.
26252         * math/s_ccos.c: Likewise.
26253         * math/s_ccosf.c: Likewise.
26254         * math/s_ccosl.c: Likewise.
26255         * math/s_ctan.c: Likewise.
26256         * math/s_ctanf.c: Likewise.
26257         * math/s_ctanh.c: Likewise.
26258         * math/s_ctanhf.c: Likewise.
26259         * math/s_ctanhl.c: Likewise.
26260         * math/s_ctanl.c: Likewise.
26261         * math/w_fmod.c: Likewise.
26262         * math/w_fmodf.c: Likewise.
26263         * math/w_fmodl.c: Likewise.
26264         * math/w_remainder.c: Likewise.
26265         * math/w_remainderf.c: Likewise.
26266         * math/w_remainderl.c: Likewise.
26267         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26268         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26269         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26270         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26271         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26272         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26273         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26274         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26276         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26277         of the number.
26278         * stdio-common/printf_fphex.c: Likewise.
26279         * stdio-common/printf_size.c: Likewise.
26281         * math/e_exp10.c: Include math_private.h using <...> not "...".
26282         * math/e_exp10f.c: Likewise.
26283         * math/e_exp10l.c: Likewise.
26284         * math/e_exp2l.c: Likewise.
26285         * math/e_j0l.c: Likewise.
26286         * math/e_j1l.c: Likewise.
26287         * math/e_jnl.c: Likewise.
26288         * math/e_lgammal_r.c: Likewise.
26289         * math/e_rem_pio2l.c: Likewise.
26290         * math/e_scalb.c: Likewise.
26291         * math/e_scalbf.c: Likewise.
26292         * math/e_scalbl.c: Likewise.
26293         * math/k_cosl.c: Likewise.
26294         * math/k_sinl.c: Likewise.
26295         * math/k_tanl.c: Likewise.
26296         * math/s_cacoshf.c: Likewise.
26297         * math/s_catan.c: Likewise.
26298         * math/s_catanf.c: Likewise.
26299         * math/s_catanh.c: Likewise.
26300         * math/s_catanhf.c: Likewise.
26301         * math/s_catanhl.c: Likewise.
26302         * math/s_catanl.c: Likewise.
26303         * math/s_ccosh.c: Likewise.
26304         * math/s_ccoshf.c: Likewise.
26305         * math/s_ccoshl.c: Likewise.
26306         * math/s_cexp.c: Likewise.
26307         * math/s_cexpf.c: Likewise.
26308         * math/s_cexpl.c: Likewise.
26309         * math/s_clog.c: Likewise.
26310         * math/s_clog10.c: Likewise.
26311         * math/s_clog10f.c: Likewise.
26312         * math/s_clog10l.c: Likewise.
26313         * math/s_clogf.c: Likewise.
26314         * math/s_clogl.c: Likewise.
26315         * math/s_csin.c: Likewise.
26316         * math/s_csinf.c: Likewise.
26317         * math/s_csinh.c: Likewise.
26318         * math/s_csinhf.c: Likewise.
26319         * math/s_csinhl.c: Likewise.
26320         * math/s_csinl.c: Likewise.
26321         * math/s_csqrt.c: Likewise.
26322         * math/s_csqrtf.c: Likewise.
26323         * math/s_csqrtl.c: Likewise.
26324         * math/s_ctan.c: Likewise.
26325         * math/s_ctanf.c: Likewise.
26326         * math/s_ctanh.c: Likewise.
26327         * math/s_ctanhf.c: Likewise.
26328         * math/s_ctanhl.c: Likewise.
26329         * math/s_ctanl.c: Likewise.
26330         * math/s_ldexp.c: Likewise.
26331         * math/s_ldexpf.c: Likewise.
26332         * math/s_ldexpl.c: Likewise.
26333         * math/s_significand.c: Likewise.
26334         * math/s_significandf.c: Likewise.
26335         * math/s_significandl.c: Likewise.
26336         * math/w_acos.c: Likewise.
26337         * math/w_acosf.c: Likewise.
26338         * math/w_acosh.c: Likewise.
26339         * math/w_acoshf.c: Likewise.
26340         * math/w_acoshl.c: Likewise.
26341         * math/w_acosl.c: Likewise.
26342         * math/w_asin.c: Likewise.
26343         * math/w_asinf.c: Likewise.
26344         * math/w_asinl.c: Likewise.
26345         * math/w_atan2.c: Likewise.
26346         * math/w_atan2f.c: Likewise.
26347         * math/w_atan2l.c: Likewise.
26348         * math/w_atanh.c: Likewise.
26349         * math/w_atanhf.c: Likewise.
26350         * math/w_atanhl.c: Likewise.
26351         * math/w_cosh.c: Likewise.
26352         * math/w_coshf.c: Likewise.
26353         * math/w_coshl.c: Likewise.
26354         * math/w_dremf.c: Likewise.
26355         * math/w_exp10.c: Likewise.
26356         * math/w_exp10f.c: Likewise.
26357         * math/w_exp10l.c: Likewise.
26358         * math/w_exp2.c: Likewise.
26359         * math/w_exp2f.c: Likewise.
26360         * math/w_fmod.c: Likewise.
26361         * math/w_fmodf.c: Likewise.
26362         * math/w_fmodl.c: Likewise.
26363         * math/w_hypot.c: Likewise.
26364         * math/w_hypotf.c: Likewise.
26365         * math/w_hypotl.c: Likewise.
26366         * math/w_j0.c: Likewise.
26367         * math/w_j0f.c: Likewise.
26368         * math/w_j0l.c: Likewise.
26369         * math/w_j1.c: Likewise.
26370         * math/w_j1f.c: Likewise.
26371         * math/w_j1l.c: Likewise.
26372         * math/w_jn.c: Likewise.
26373         * math/w_jnf.c: Likewise.
26374         * math/w_jnl.c: Likewise.
26375         * math/w_lgamma.c: Likewise.
26376         * math/w_lgamma_r.c: Likewise.
26377         * math/w_lgammaf.c: Likewise.
26378         * math/w_lgammaf_r.c: Likewise.
26379         * math/w_lgammal.c: Likewise.
26380         * math/w_lgammal_r.c: Likewise.
26381         * math/w_log.c: Likewise.
26382         * math/w_log10.c: Likewise.
26383         * math/w_log10f.c: Likewise.
26384         * math/w_log10l.c: Likewise.
26385         * math/w_log2.c: Likewise.
26386         * math/w_log2f.c: Likewise.
26387         * math/w_log2l.c: Likewise.
26388         * math/w_logf.c: Likewise.
26389         * math/w_logl.c: Likewise.
26390         * math/w_pow.c: Likewise.
26391         * math/w_powf.c: Likewise.
26392         * math/w_powl.c: Likewise.
26393         * math/w_remainder.c: Likewise.
26394         * math/w_remainderf.c: Likewise.
26395         * math/w_remainderl.c: Likewise.
26396         * math/w_scalb.c: Likewise.
26397         * math/w_scalbf.c: Likewise.
26398         * math/w_scalbl.c: Likewise.
26399         * math/w_sinh.c: Likewise.
26400         * math/w_sinhf.c: Likewise.
26401         * math/w_sinhl.c: Likewise.
26402         * math/w_sqrt.c: Likewise.
26403         * math/w_sqrtf.c: Likewise.
26404         * math/w_sqrtl.c: Likewise.
26405         * math/w_tgamma.c: Likewise.
26406         * math/w_tgammaf.c: Likewise.
26407         * math/w_tgammal.c: Likewise.
26409         * po/ja.po: Update from translation team.
26411 2011-09-29  Andreas Jaeger  <aj@suse.de>
26413         [BZ #13179]
26414         * sunrpc/netname.c (netname2host): Fix logic.
26416         [BZ #6779]
26417         [BZ #6783]
26418         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26419         correctly.
26420         * math/w_remainder.c (__remainder): Likewise.
26421         * math/w_remainderf.c (__remainderf): Likewise.
26422         * math/libm-test.inc (remainder_test): Add test cases.
26424 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26426         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
26427         sdiv_qrnnd.
26429 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
26431         * string/test-memcmp.c: Avoid unncessary #defines.
26432         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26434 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26436         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26437         Use new sse2 version for core i3 - i7 as it's faster
26438         than sse42 version.
26439         (bit_Prefer_PMINUB_for_stringop): New.
26440         * sysdeps/x86_64/rawmemchr.S: Update.
26441         Replace with faster SSE2 version.
26442         * sysdeps/x86_64/memrchr.S: New file.
26443         * sysdeps/x86_64/memchr.S: Update.
26444         Replace with faster SSE2 version.
26446 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
26448         * elf/dl-load.c (lose): Add cast to avoid warning.
26450 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
26452         * po/ca.po: Update from translation team.
26454         * inet/getnetgrent_r.c: Hook up nscd.
26455         * nscd/Makefile (routines): Add nscd_netgroup.
26456         (nscd-modules): Add netgroupcache.
26457         (CFLAGS-netgroupcache.c): Define.
26458         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26459         (cache_search): Add const to second parameter.
26460         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26461         INNETGR.
26462         (dbs): Add netgrdb entry.
26463         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26464         (verify_persistent_db): Handle netgrdb.
26465         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26466         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26467         GETFDNETGR.
26468         (netgroup_response_header): Define.
26469         (innetgroup_response_header): Define.
26470         (datahead): Add netgroup_response_header and innetgroup_response_header
26471         elements.
26472         * nscd/nscd.conf: Add entries for netgroup cache.
26473         * nscd/nscd.h (dbtype): Add netgrdb.
26474         (_PATH_NSCD_NETGROUP_DB): Define.
26475         (netgroup_iov_disabled): Declare.
26476         (xmalloc, xcalloc, xrealloc): Move declarations here.
26477         (cache_search): Adjust prototype.
26478         Add netgroup-related prototypes.
26479         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26480         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26481         (__nscd_innetgr): Declare.
26482         * nscd/selinux.c (perms): Use access_vector_t as element type and
26483         add netgroup-related initializers.
26484         * nscd/netgroupcache.c: New file.
26485         * nscd/nscd_netgroup.c: New file.
26486         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26487         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26488         For four parameters use innetgr.
26489         * nss/nss_files/files-init.c: Add definition and callback for netgr.
26490         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26491         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26492         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26494         * nscd/connections.c (register_traced_file): Don't register file
26495         for disabled databases.
26497 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
26499         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26501         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26502         from tree and freeing node.
26504 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
26506         * nss/nsswitch.c (__nss_database_lookup): Handle
26507         nss_parse_service_list out of memory case.
26509 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
26511         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26512         out of memory case.
26514 2011-10-04  Andreas Schwab  <schwab@redhat.com>
26516         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26517         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26518         pass it down.
26519         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26520         elf_machine_rela, elf_machine_lazy_rel.
26521         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26522         (ELF_DYNAMIC_DO_REL): Likewise.
26523         (ELF_DYNAMIC_DO_RELA): Likewise.
26524         (ELF_DYNAMIC_RELOCATE): Likewise.
26525         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26526         to ELF_DYNAMIC_DO_REL.
26527         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26528         (dl_main): In trace mode always set __RTLD_NOIFUNC.
26529         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26530         elf_machine_rela.
26531         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26532         skip_ifunc, don't call ifunc function if non-zero.
26533         (elf_machine_rela): Likewise.
26534         (elf_machine_lazy_rel): Likewise.
26535         (elf_machine_lazy_rela): Likewise.
26536         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26537         (elf_machine_lazy_rel): Likewise.
26538         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26539         Likewise.
26540         (elf_machine_lazy_rel): Likewise.
26541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26542         Likewise.
26543         (elf_machine_lazy_rel): Likewise.
26544         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26545         (elf_machine_lazy_rel): Likewise.
26546         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26547         (elf_machine_lazy_rel): Likewise.
26548         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26549         (elf_machine_lazy_rel): Likewise.
26550         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26551         (elf_machine_lazy_rel): Likewise.
26552         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26553         (elf_machine_lazy_rel): Likewise.
26554         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26555         (elf_machine_lazy_rel): Likewise.
26557 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
26559         * nss/nss_files/files-init.c (_nss_files_init): Use static
26560         initialization for all the *_traced_file variables.
26562 2011-09-28  Andreas Schwab  <schwab@redhat.com>
26564         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26566 2011-09-27  Roland McGrath  <roland@hack.frob.com>
26568         [BZ #13226]
26569         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26571 2011-09-27  Andreas Schwab  <schwab@redhat.com>
26573         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26574         Reread the line before reparsing it.
26576 2011-09-26  Andreas Schwab  <schwab@redhat.com>
26578         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26580 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
26581             Maxim Kuvyrkov  <maxim@codesourcery.com>
26582             Joseph Myers  <joseph@codesourcery.com>
26584         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26585         if needed for __stack_chk_guard.
26587 2011-09-19  Roland McGrath  <roland@hack.frob.com>
26589         * sysdeps/posix/spawni.c (script_execute): Always define it.
26590         It will be optimized away if unused.
26591         (maybe_script_execute): New function.
26592         (__spawni): Call it.
26594         * Makerules: Don't include tls.make.
26595         (config-tls): Always set to thread.
26596         * tls.make.c: File removed.
26598 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
26600         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26601         * config.make.in (CPPFLAGS-config): New substituted variable.
26603 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26605         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26607         [BZ #13192]
26608         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26609         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26611 2011-09-15  Roland McGrath  <roland@hack.frob.com>
26613         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26614         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26615         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26616         (CALL_FAIL): Likewise.
26617         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26618         (CALL_FAIL): Macro removed.
26619         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26621 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26623         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26624         for __FINITE_MATH_ONLY__ == 1.
26626 2011-09-15  Andreas Schwab  <schwab@redhat.com>
26628         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26629         __ieee754_sqrt instead of sqrt.
26630         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26631         __ieee754_sqrtf instead of sqrtf.
26632         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26633         __floorf instead of floorf.
26634         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26635         __floorf, __truncf instead of floorf, truncf.
26637 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
26639         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26641         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26642         __extern_always_inline.
26643         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26644         32-bit.
26646 2011-09-14  Andreas Schwab  <schwab@redhat.com>
26648         * elf/rtld.c (dl_main): Also relocate in dependency order when
26649         doing symbol dependency testing.
26651 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
26653         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26654         Always define `refsym'.
26656 2011-09-13  Andreas Schwab  <schwab@redhat.com>
26658         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26659         (__FD_ELT): Renamed from __FDELT.
26660         * misc/bits/select2.h (__FD_ELT): Likewise.
26661         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26662         __FD_MASK instead of __FDELT, __FDMASK.
26663         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26664         Likewise.
26665         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26666         Likewise.
26668         * elf/Makefile (gen-ldd): Fix pattern.
26670         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26671         (init_tls): Likewise.
26673 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
26675         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26677 2011-09-12  Andreas Schwab  <schwab@redhat.com>
26679         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26680         `struct cmsghdr *' instead of `void *'.
26681         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26682         Likewise.
26684 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
26686         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26687         if non-absolute.
26688         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26689         ldd_rewrite_script.
26691 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
26693         * configure.in: Remove --with-tls option.
26694         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26695         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26696         out in case it is missing.
26697         * sysdeps/ia64/elf/configure.in: Likewise.
26698         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26699         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26700         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26701         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26702         * sysdeps/sh/elf/configure.in: Likewise.
26703         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26704         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26705         * sysdeps/x86_64/elf/configure.in: Likewise.
26706         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26707         * sysdeps/mach/hurd/tls.h: Likewise.
26709         [BZ #13067]
26710         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26712         [BZ #13090]
26713         * configure.in: Fix use of AC_INIT.
26715         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26717 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
26719         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26720         __set_errno.
26721         * malloc/hooks.c: Likewise.
26723         [BZ #11929]
26724         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
26725         variables statically.
26726         (narenas): Initialize.
26727         (list_lock): Initialize.
26728         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
26729         initializtion of main_arena and list_lock.  Small cleanups.
26730         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26731         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
26732         Add initializers to main_arena and mp_.
26733         (malloc_state): Remove pagesize member.  Change all users to use
26734         GLRO(dl_pagesize).
26736         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26737         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
26738         is always initialized.
26740         * malloc/malloc.c: Removed unused configurations and dead code.
26741         * malloc/arena.c: Likewise.
26742         * malloc/hooks.c: Likewise.
26743         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26745         * include/tls.h: Removed.  USE___THREAD must always be defined.
26746         * bits/libc-tsd.h: Don't handle !USE___THREAD.
26747         * elf/dl-libc.c: Likewise.
26748         * elf/dl-tsd.c: Likewise.
26749         * include/errno.h: Likewise.
26750         * include/netdb.h: Likewise.
26751         * include/resolv.h: Likewise.
26752         * inet/herrno-loc.c: Likewise.
26753         * inet/herrno.c: Likewise.
26754         * malloc/arena.c: Likewise.
26755         * malloc/hooks.c: Likewise.
26756         * malloc/malloc.c: Likewise.
26757         * resolv/res-state.c: Likewise.
26758         * resolv/res_libc.c: Likewise.
26759         * sysdeps/i386/dl-machine.h: Likewise.
26760         * sysdeps/ia64/dl-machine.h: Likewise.
26761         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26762         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26763         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26764         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26765         * sysdeps/sh/dl-machine.h: Likewise.
26766         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26767         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26768         * sysdeps/unix/i386/sysdep.S: Likewise.
26769         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26770         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26772         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26775         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26777         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26778         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26779         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26780         * sysdeps/x86_64/dl-machine.h: Likewise.
26781         * tls.make.c: Likewise.
26783         * configure.in: Remove --with-__thread option.  Make tests for
26784         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26785         tls_model attribute fail if no support is available.  Remove
26786         USE_IN_LIBIO.
26787         * Makeconfig: Adjust for dropped configure option.  All features are
26788         now mandatory.
26789         * Makerules: Likewise.
26790         * Versions.def: Likewise.
26791         * argp/argp-fmtstream.c: Likewise.
26792         * argp/argp-fmtstream.h: Likewise.
26793         * argp/argp-help.c: Likewise.
26794         * assert/assert.c: Likewise.
26795         * config.h.in: Likewise.
26796         * config.make.in: Likewise.
26797         * configure: Likewise.
26798         * configure.in: Likewise.
26799         * csu/Versions: Likewise.
26800         * csu/init.c: Likewise.
26801         * elf/tst-audit2.c: Likewise.
26802         * elf/tst-tls10.c: Likewise.
26803         * elf/tst-tls10.h: Likewise.
26804         * elf/tst-tls11.c: Likewise.
26805         * elf/tst-tls12.c: Likewise.
26806         * elf/tst-tls14.c: Likewise.
26807         * elf/tst-tlsmod11.c: Likewise.
26808         * elf/tst-tlsmod12.c: Likewise.
26809         * elf/tst-tlsmod13.c: Likewise.
26810         * elf/tst-tlsmod13a.c: Likewise.
26811         * elf/tst-tlsmod14a.c: Likewise.
26812         * elf/tst-tlsmod15b.c: Likewise.
26813         * elf/tst-tlsmod16a.c: Likewise.
26814         * elf/tst-tlsmod16b.c: Likewise.
26815         * elf/tst-tlsmod7.c: Likewise.
26816         * elf/tst-tlsmod8.c: Likewise.
26817         * elf/tst-tlsmod9.c: Likewise.
26818         * gmon/gmon.c: Likewise.
26819         * grp/fgetgrent_r.c: Likewise.
26820         * grp/putgrent.c: Likewise.
26821         * hurd/fopenport.c: Likewise.
26822         * include/libc-symbols.h: Likewise.
26823         * include/tls.h: Likewise.
26824         * intl/gettextP.h: Likewise.
26825         * intl/loadinfo.h: Likewise.
26826         * locale/global-locale.c: Likewise.
26827         * locale/localeinfo.h: Likewise.
26828         * mach/devstream.c: Likewise.
26829         * malloc/arena.c: Likewise.
26830         * malloc/set-freeres.c: Likewise.
26831         * misc/err.c: Likewise.
26832         * misc/getttyent.c: Likewise.
26833         * misc/mntent_r.c: Likewise.
26834         * posix/getopt.c: Likewise.
26835         * posix/wordexp.c: Likewise.
26836         * pwd/fgetpwent_r.c: Likewise.
26837         * resolv/Versions: Likewise.
26838         * resolv/res_hconf.c: Likewise.
26839         * shadow/fgetspent_r.c: Likewise.
26840         * shadow/putspent.c: Likewise.
26841         * stdio-common/printf_fphex.c: Likewise.
26842         * stdio-common/tmpfile.c: Likewise.
26843         * stdlib/abort.c: Likewise.
26844         * stdlib/fmtmsg.c: Likewise.
26845         * sunrpc/auth_unix.c: Likewise.
26846         * sunrpc/clnt_perr.c: Likewise.
26847         * sunrpc/clnt_tcp.c: Likewise.
26848         * sunrpc/clnt_udp.c: Likewise.
26849         * sunrpc/clnt_unix.c: Likewise.
26850         * sunrpc/openchild.c: Likewise.
26851         * sunrpc/svc_simple.c: Likewise.
26852         * sunrpc/svc_tcp.c: Likewise.
26853         * sunrpc/svc_udp.c: Likewise.
26854         * sunrpc/svc_unix.c: Likewise.
26855         * sunrpc/xdr.c: Likewise.
26856         * sunrpc/xdr_array.c: Likewise.
26857         * sunrpc/xdr_rec.c: Likewise.
26858         * sunrpc/xdr_ref.c: Likewise.
26859         * sunrpc/xdr_stdio.c: Likewise.
26861 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26863         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26865 2011-07-03  Andreas Jaeger  <aj@suse.de>
26867         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26868         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26869         regenerate with gen-libm-tests.pl.
26871 2010-05-12  Petr Baudis  <pasky@suse.cz>
26873         [BZ #11589]
26874         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26875         around j0() zero points by switching to j1().
26876         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26877         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26878         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26879         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26881 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26883         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26884         instead of 0.
26885         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26886         instead of 0.
26887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26888         Patch in part by Pavel Roskin <proski@gnu.org>.
26890         [BZ #13138]
26891         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26892         realloc.
26893         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
26894         Free memory block if necessary.
26896         [BZ #12847]
26897         * libio/genops.c (INTDEF): For string streams the _lock pointer can
26898         be NULL.  Don't lock in this case.
26900 2011-09-09  Roland McGrath  <roland@hack.frob.com>
26902         * elf/elf.h (ELFOSABI_GNU): New macro.
26903         (ELFOSABI_LINUX): Define to that.
26905 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
26907         * string/strncat.c (strncat): Undef the symbol in case it has been
26908         defined in bits/string.h.
26910 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26912         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26914         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26915         link map.
26917 2011-08-17  Andreas Jaeger  <aj@suse.de>
26919         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26921 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26922             Ian Lance Taylor  <iant@google.com>
26924         * math/libm-test.inc (lround_test): New testcase.
26925         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26927 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
26929         * Makefile: Remove support for automatic cvs check-ins.
26930         * Makerules: Likewise.
26931         * config.make.in: Likewise.
26932         * configure.in: Likewise.
26933         * intl/Makefile: Likewise.
26934         * locale/Makefile: Likewise.
26935         * po/Makefile: Likewise.
26936         * posix/Makefile: Likewise.
26937         * sysdeps/gnu/Makefile: Likewise.
26938         * sysdeps/mach/hurd/Makefile: Likewise.
26939         * sysdeps/sparc/sparc32/Makefile: Likewise.
26941         [BZ #13118]
26942         * posix/Makefile (bug-regex32-ENV): Define.
26943         Patch by John Stanley <jpsinthemix@verizon.net>.
26945         * misc/Makefile (headers): Add bits/select2.h.
26946         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26947         * misc/bits/select2.h: New file.
26948         * include/bits/select2.h: New file.
26949         * debug/Makefile (routines): Add fdelt_chk.
26950         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26951         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26952         FD_ISSET.
26953         * debug/fdelt_chk.c: New file.
26955         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
26956         * wcsmbs/test-wmemcmp.c: Likewise.
26957         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26958         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26960 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26962         * string/Makefile (strop-tests): Add memcmp.
26963         * string/test-wmemcmp.c: New file.
26964         * string/test-memcmp.c: Add wmemcmp support.
26966 2011-09-08  Roland McGrath  <roland@hack.frob.com>
26968         [BZ #13153]
26969         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26970         2011-07-19 change.
26972         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26973         garbage value in a __mach_port_mod_refs call in the cases of the
26974         task-self and thread-self ports.
26976 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26978         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26980 2011-09-08  Andreas Schwab  <schwab@redhat.com>
26982         * elf/dl-load.c (lose): Check for non-null L.
26984 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
26986         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26988         * elf/dl-libc.c (dlerror_run): Pass back error code from
26989         dl_catch_error.
26991         [BZ #13123]
26992         * elf/dl-load.c (lose): Free l_origin if it is valid.
26994         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26995         names.
26996         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26997         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26998         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26999         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27000         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27001         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27003 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27005         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27006         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27007         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27008         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27009         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27010         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27011         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27012         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27013         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27014         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27016 2011-08-15  Alan Modra  <amodra@gmail.com>
27018         [BZ #13092]
27019         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27020         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27021         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27022         ppc_mcount to static-only-routines.
27023         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27024         __mcount_internal.
27025         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27026         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27028 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27030         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27031         for finite and infinity parameters.
27033 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27035         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27036         and add nop instructions for throughput optimization.
27037         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27039 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27041         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27042         aligned copy for power7 with vector-scalar instructions.
27043         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27045 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27047         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27048         AVX check.
27050 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27052         [BZ #13144]
27053         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27054         last change.
27056 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27058         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27059         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27060         syscall wrapper around clock_gettime in __vdso_clock_gettime.
27061         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27062         clock_gettime.
27064 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27066         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27067         Forgot to demangle the pointer.
27069         * sysdeps/i386/sysdep.h: Define atom_text_section.
27070         * sysdeps/x86_64/sysdep.h: Likewise.
27071         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27072         section with atom_text_section.
27073         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27074         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27075         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27076         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27077         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27079         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27080         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27081         already be defined.  Change to take two parameters and don't assign
27082         result to variable.  Adjust all users.
27083         Define INTERNAL_GETTIME if not already defined.
27084         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27085         call.
27086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27087         HAVE_CLOCK_GETTIME_VSYSCALL.
27088         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27090         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27091         gettimeofday vsyscall, just use time.
27093 2011-09-06  Andreas Schwab  <schwab@redhat.com>
27095         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27096         <errno.h>.
27098 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27100         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27101         syscall on x86-64.
27102         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27103         syscall.
27104         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27105         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27106         syscall if possible.
27108 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27110         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27111         e_ident.  Don't pass to find_mapsXX.
27112         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27114 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27117         strchr-sse2-no-bsf strrchr-sse2-no-bsf
27118         * sysdeps/x86_64/multiarch/strchr.S: Update.
27119         Check bit_slow_BSF bit.
27120         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27121         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27122         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27124 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27126         [BZ #13134]
27127         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27128         before glibc 2.15.
27129         (tryshell): Define.
27130         (__spawni): Change last parameter to be flag.  Test
27131         SPAWN_XFLAGS_USE_PATH flag to use path or not.
27132         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27133         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27134         * posix/spawni.c: Likewise.
27135         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27136         * posix/spawnp.c: Likewise.  Change normal version to use
27137         SPAWN_XFLAGS_USE_PATH.
27138         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27139         SPAWN_XFLAGS_TRY_SHELL.
27141         [BZ #13150]
27142         * posix/glob.h: Remove gcc 1.x support.
27144         [BZ #13068]
27145         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27147 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27150         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27151         strrchr-sse2-bsf
27152         * sysdeps/i386/i686/multiarch/strchr.S: New file.
27153         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27154         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27155         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27156         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27157         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27159 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27161         * sysdeps/x86_64/wcscmp.S: New file.
27163         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27164         wcscmp-c wcscmp-sse2
27165         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27166         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27167         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27168         * wcsmbs/wcscmp.c: Allow renaming.
27170 2011-09-05  David S. Miller  <davem@davemloft.net>
27172         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27173         stack slot, rather than the struct return pointer slot.
27174         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27175         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27177         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27179 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27181         * po/ja.po: Update from translation team.
27183         [BZ #13144]
27184         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27185         kernel in 64-bit binaries.
27187 2011-09-01  David S. Miller  <davem@davemloft.net>
27189         * elf/elf.h (HWCAP_SPARC_*): Move to..
27190         * sysdeps/sparc/sysdep.h: this new file and add new values.
27191         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27192         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27193         _DL_HWCAP_COUNT to 24.
27194         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27195         entries.
27196         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27197         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27198         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27199         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27200         instead of magic constants.
27201         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27203 2011-08-31  David S. Miller  <davem@davemloft.net>
27205         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27207         Reimplement to do errno handling inline.
27208         (SYSCALL_ERROR_HANDLER): New macro.
27209         (__SYSCALL_STRING): Do not do errno handling in asm.
27210         (__CLONE_SYSCALL_STRING): Delete.
27211         (__INTERNAL_SYSCALL_STRING): Delete.
27212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27213         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27214         (PSEUDO): Reimplement to do errno handling inline.
27215         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27216         (SYSCALL_ERROR_HANDLER): New macro.
27217         (__SYSCALL_STRING): Do not do errno handling in asm.
27218         (__CLONE_SYSCALL_STRING): Delete.
27219         (__INTERNAL_SYSCALL_STRING): Delete.
27220         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27221         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27222         i386.
27223         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27224         (inline_syscall*): Add 'err' argument.
27225         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27226         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27227         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27228         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27230         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27231         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27233 2011-08-30  Andreas Schwab  <schwab@redhat.com>
27235         * elf/rtld.c (dl_main): Relocate objects in dependency order.
27237 2011-08-29  Jiri Olsa <jolsa@redhat.com>
27239         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27240         directive.
27242 2011-08-24  David S. Miller  <davem@davemloft.net>
27244         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27246 2011-08-24  Andreas Schwab  <schwab@redhat.com>
27248         * elf/Makefile: Add rules to build and run unload8 test.
27249         * elf/unload8.c: New file.
27250         * elf/unload8mod1.c: New file.
27251         * elf/unload8mod1x.c: New file.
27252         * elf/unload8mod2.c: New file.
27253         * elf/unload8mod3.c: New file.
27255         * elf/dl-close.c (_dl_close_worker): Reset private search list if
27256         it wasn't used.
27258 2011-08-23  David S. Miller  <davem@davemloft.net>
27260         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27261         subtract stack bias.
27262         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27263         %sp not %fp in calculations.
27264         (_JMPBUF_UNWINDS_ADJ): Likewise.
27266         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27267         (aio_suspend): Call it to force an exception region around the
27268         AIO_MISC_WAIT() invocation.
27270 2011-08-23  Andreas Schwab  <schwab@redhat.com>
27272         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27273         backslash.
27275 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
27277         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27278         protection macro.
27279         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27280         and <dl-machine.h>.
27281         (Elf64_FuncDesc): Remove.
27283 2011-08-22  David S. Miller  <davem@davemloft.net>
27285         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27286         sigaltstack check, add missing cfi directives.
27287         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27288         missing cfi directives, and sigaltstack handling.
27290 2011-08-16  Andreas Schwab  <schwab@redhat.com>
27292         [BZ #11724]
27293         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27294         object is seen twice.
27295         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27297         * elf/Makefile (distribute): Add tst-initorder2.c.
27298         (tests): Add tst-initorder2.
27299         (modules-names): Add tst-initorder2a tst-initorder2b
27300         tst-initorder2c tst-initorder2d.  Add rules to build them.
27301         ($(objpfx)tst-initorder2.out): New rule.
27302         * elf/tst-initorder2.c: New file.
27303         * elf/tst-initorder2.exp: New file.
27305 2011-08-22  Andreas Schwab  <schwab@redhat.com>
27307         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27309         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27310         dependencies back to end of function.
27312         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27313         $(elfobjdir)/ld.so.
27315 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
27317         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27318         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27319         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27320         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27321         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27322         of __vdso_gettimeofday.
27323         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27324         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
27325         attribute_hidden.
27326         (_libc_vdso_platform_setup): Remove initialization of
27327         __vdso_gettimeofday and __vdso_time.
27329 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27331         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27332         and fgetc_unlocked.
27333         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27334         getc_unlocked.
27336         * elf/dl-open.c (add_to_global): Report additions to the global scope
27337         for LD_DEBUG=scopes.
27338         (dl_open_worker): Also print scope of newly loaded dependencies.
27339         (_dl_show_scope): Indicate if there is no scope.
27341         [BZ #13114]
27342         * stdio-common/Makefile (tests): Add bug24.
27343         * stdio-common/bug24.c: New file.
27345 2011-08-19  Andreas Jaeger  <aj@suse.de>
27347         [BZ #13114]
27348         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27349         non-existant file when using close-on-exec mode.
27351 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27353         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27354         the very first instruction.
27356         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27357         the CFI state in the end.
27358         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27359         inclusion of dl-trampoline.h.
27360         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27362 2011-08-19  Andreas Schwab  <schwab@redhat.com>
27364         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27365         expectations for long double.
27367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27368         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27370 2011-08-14  David S. Miller  <davem@davemloft.net>
27372         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27373         artificual limit depends upon the system page size.
27375 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
27377         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27378         * resolv/Makefile: Define CFLAGS-libresolv.
27380 2011-08-17  Andreas Schwab  <schwab@redhat.com>
27382         * nss/makedb.c (compute_tables): Make variables used in nested
27383         function static.
27385 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
27387         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27388         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27389         if buffer was too small.
27391         * elf/pldd.c (main): Attach to all threads in the process.
27392         Rewrite /proc handling to use *at functions.
27394 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
27396         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27397         specifies first scope to show.
27398         (dl_open_worker): Update callers.  Move printing scope of new
27399         object to before the relocation.
27400         * elf/rtld.c (dl_main): Update _dl_show_scope call.
27401         * sysdeps/generic/ldsodefs.h: Update declaration.
27403         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27404         string for the scope number.
27406 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
27408         * nscd/servicescache.c (cache_addserv): Make sure written is always
27409         initialized.
27411 2011-08-14  Roland McGrath  <roland@hack.frob.com>
27413         * sysdeps/i386/i486/bits/atomic.h
27414         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27415         statement expression, so as to suppress "set but not used" warning.
27416         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27418         * string/strncat.c (STRNCAT): Use prototype definition.
27420         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27421         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27422         -Iprograms here.
27423         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27424         (localedef-modules): Add localedef.
27425         (locale-modules): Add locale.
27427         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27428         * elf/rtld.c (dl_main): Invert order of assignment in last change,
27429         to avoid a warning.
27431 2011-08-14  David S. Miller  <davem@davemloft.net>
27433         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27434         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27436 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
27438         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27439         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27440         * elf/rtld.c (dl_main): Set l_name of vDSO.
27441         Call _dl_show_scope when DL_DEBUG_SCOPES.
27442         (process_dl_debug): Recognize scopes flag and also set it for all.
27443         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27444         Declare _dl_show_scope.
27446         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27447         (do_dlopen): Pass caller_dlopen to dl_open.
27448         (__libc_dlopen_mode): Initialize caller_dlopen.
27450         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27451         of libc.  Make tolower call locale-independent.  Optimize a bit by
27452         using isdigit instead of isalnum.
27453         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27455 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
27457         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27458         was a dependency or dynamically loaded.
27460 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
27462         * intl/l10nflist.c: Allow architecture-specific pop function.
27463         * sysdeps/x86_64/l10nflist.c: New file.
27465         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27466         classification.
27468 2011-08-10  Andreas Schwab  <schwab@redhat.com>
27470         * include/dirent.h: Add libc_hidden_proto for scandirat and
27471         scandirat64.  Don't declare __scandirat64.
27472         * dirent/scandirat.c: Add libc_hidden_def.
27473         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27474         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27476 2011-08-10  David S. Miller  <davem@davemloft.net>
27478         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27479         enum.
27480         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27481         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27482         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27484 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
27486         * Versions.def [libc]: Add GLIBC_2.15.
27487         * dirent/Makefile (routines): Add scandirat and scandirat64.
27488         * dirent/Versions [libc]: Export scandirat and scandirat64 for
27489         GLIBC_2.15.
27490         * dirent/dirent.h: Declare scandirat and scandirat64.
27491         * dirent/scandirat.c: New file.
27492         * dirent/scandirat64.c: New file.
27493         * sysdeps/wordsize-64/scandirat.c: New file.
27494         * sysdeps/wordsize-64/scandirat64.c: New file.
27495         * dirent/opendir.c: Define opendirat.
27496         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
27497         using scandirat.
27498         * dirent/scandir64.c: Adjust for scandir.c change.
27499         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
27500         __scandirat64, and __scandir_cancel_handler.
27501         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
27502         additional parameter and use openat instead of open (outside of ld.so).
27503         Add new __opendir as wrapper around __opendirat.
27504         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27505         here without requiring old scandirat implementation.
27507 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
27509         * dirent/scandir.c (cancel_handler): Renamed to
27510         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
27511         defined.  Adjust users.
27512         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27513         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27515 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
27517         * string/test-string.h (IMPL): Use __STRING to expand name and then
27518         stringify it.
27520         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
27521         of cleanups.
27523 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27525         * string/Makefile: Update.
27526         (strop-tests): Append strncat.
27527         * string/test-wcscmp.c: New file.
27528         New comprehensive test for wcscmp.
27529         * string/test-strcmp.c: Update.
27530         (WIDE): New define.
27532 2011-07-22  Andreas Schwab  <schwab@redhat.com>
27534         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27535         line.
27537 2011-07-26  Andreas Schwab  <schwab@redhat.com>
27539         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27540         encoding to ACE if AI_IDN.
27542 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
27544         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27545         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27547 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27549         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27550         Fix overflow bug in strncat.
27551         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27553         * string/test-strncat.c: Update.
27554         Add new tests for checking overflow bugs.
27556 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27558         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27559         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27560         * sysdeps/i386/i686/multiarch/strcat.S: New file.
27561         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27562         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27563         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27564         * sysdeps/i386/i686/multiarch/strncat.S: New file.
27565         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27566         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27568         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27569         (USE_AS_STRCAT): Define.
27570         Add strcat and strncat support.
27571         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27573 2011-07-25  Andreas Schwab  <schwab@redhat.com>
27575         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27576         __n bigger than INT_MAX+1.
27577         (__strncmp_g): Likewise.
27579 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
27581         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27582         * libio/stido.h: Likewise.
27584         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27585         (AF_NFC): Define.
27586         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27587         (AF_NFC): Define.
27589         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27590         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27591         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27592         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27593         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27595         [BZ #13021]
27596         * scripts/test-installation.pl: Don't expect libnss_test1 to be
27597         installed.
27599         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27600         typo.
27601         (_dl_x86_64_save_sse): Likewise.
27603 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
27605         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27606         OSXSAVE.
27607         (_dl_x86_64_save_sse): Likewise.
27609         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27611         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27613 2011-07-21  Andreas Schwab  <schwab@redhat.com>
27615         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27616         change.
27617         (_dl_x86_64_save_sse): Use correct AVX check.
27619 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27621         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27622         bug in strncpy/strncat.
27623         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27625 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
27627         * string/tester.c (test_strcat): Add tests for different alignments
27628         of source and destination.
27629         (test_strncat): Likewise.
27631 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27633         [BZ #12852]
27634         * posix/glob.c (glob): Check passed in values before using them in
27635         expressions to avoid some overflows.
27636         (glob_in_dir): Likewise.
27638         [BZ #13007]
27639         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27640         check for AVX enablement so that we don't crash with old kernels and
27641         new hardware.
27642         * elf/tst-audit4.c: Add same checks here.
27643         * elf/tst-audit6.c: Likewise.
27645         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27647 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
27649         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27651 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27653         * po/cs.po: Update from translation team.
27654         * po/bg.po: Likewise.
27656 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
27658         * misc/sys/cdefs.h: Add support for const attribute.
27659         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27660         to gnu_dev_{major,minor,makedev} functions.
27662 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
27664         * intl/dcigettext.c (get_output_charset): Add missing bracket.
27666 2011-07-20  Andreas Schwab  <schwab@redhat.com>
27668         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27669         strlen results.
27671 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27674         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27675         register in order to avoid conflicts with the soft frame pointer
27676         being held in r11 when necessary.
27677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27678         (INTERNAL_VSYSCALL_NCS): Likewise.
27680 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
27682         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27683         * elf/dl-fini.c (_dl_fini): Adjust caller.
27684         * elf/dl-close.c (_dl_close_worker): Likewise.
27685         * sysdeps/generic/ldsodefs.h: Adjust declaration.
27687 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
27689         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27690         "aux_cache->nlibs < 0".
27692         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27693         in the reload-count case.
27695 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27698         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27699         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27700         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27701         * sysdeps/x86_64/multiarch/strcat.S: New file.
27702         * sysdeps/x86_64/multiarch/strncat.S: New file.
27703         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27704         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27705         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27706         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27707         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27708         (USE_AS_STRCAT): Define.
27709         Add strcat and strncat support.
27710         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27711         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27712         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27713         * string/strncat.c: Update.
27714         (USE_AS_STRNCAT): Define.
27715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27716         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27717         and i7.
27718         * sysdeps/x86_64/multiarch/init-arch.h
27719         (bit_Prefer_PMINUB_for_stringop): New.
27720         (index_Prefer_PMINUB_for_stringop): Likewise.
27721         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27722         bit_Prefer_PMINUB_for_stringop.
27724 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
27726         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27727         buffer64.
27728         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27729         of casting of buffer.
27730         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27731         buffer32 and buffer64.
27732         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27733         writes instead of casting of buffer.
27734         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27735         buffer32.
27736         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27737         casting of buffer.
27739 2011-07-19  Andreas Schwab  <schwab@redhat.com>
27741         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27743 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
27745         * nscd/nscd.c (termination_handler): Don't do anything for a database
27746         if it has not yet been initialized.
27748 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
27750         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27752 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
27754         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27756 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
27758         * po/nl.po: Update from translation team.
27759         * po/sv.po: Likewise.
27761 2011-07-16  Roland McGrath  <roland@hack.frob.com>
27763         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27764         now disallowed by GCC.
27766         * configure.in (use-default-link): Default to yes if a test -shared
27767         link meets our qualifications.
27768         * configure: Regenerated.
27770         * config.make.in (output-format): New variable.
27771         * configure.in: Check for ld --print-output-format support.
27772         * configure: Regenerated.
27773         * Makerules ($(common-objpfx)format.lds)
27774         [$(output-format) != unknown]: Just use $(output-format),
27775         instead of the linker-script munging.
27777 2011-07-14  Roland McGrath  <roland@hack.frob.com>
27779         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27780         of $(common-objpfx)shlib.lds.
27781         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27783         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27784         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27786         * configure.in (-z relro check): Adjust test code to add a large
27787         writable data section after it.
27788         * configure: Regenerated.
27790 2011-07-11  Roland McGrath  <roland@hack.frob.com>
27792         * configure.in (-z relro check): Fix test code to make the variable
27793         truly const.
27794         * configure: Regenerated.
27796 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
27798         * nscd/nscd.h (struct traced_file): Define.
27799         (struct database_dyn): Remove inotify_descr, reset_res, and filename
27800         elements.  Add traced_files.
27801         (inotify_fd): Declare.
27802         (register_traced_file): Declare.
27803         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27804         (inotify_fd): Export.
27805         (resolv_conf_descr): Remove.
27806         (nscd_init): Move inotify descriptor creation to main.
27807         Don't register files for notification here.
27808         (register_traced_file): New function.
27809         (invalidate_cache): Don't use reset_res to determine whether to call
27810         res_init, go through the list of registered files.
27811         (main_loop_poll): The inotify descriptors are now stored in the
27812         structures for the traced files.
27813         (main_loop_epoll): Likewise
27814         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
27815         to __nss_disable_nscd.
27816         * nscd/cache.c (prune_cache): There is no single inotify descriptor
27817         for a database anymore.  Check the records for all the registered
27818         files instead.
27819         * nss/Makefile (libnss_files-routines): Add files-init.
27820         (libnss_db-routines): Add db-init.
27821         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27822         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27823         * nss/nss_db/db-init.c: New file.
27824         * nss/nss_files/files-init.c: New file.
27825         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
27826         __nss_lookup_function.
27827         (__nss_lookup_function): Call nss_load_library.
27828         (nss_load_all_libraries): New function.
27829         (__nss_disable_nscd): Take parameter with callback function for files
27830         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
27831         used for the cached services.
27832         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27833         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27834         options for features to all the files in nscd.
27836         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27838 2011-07-10  Roland McGrath  <roland@hack.frob.com>
27840         * csu/elf-init.c (__libc_csu_init): Comment typo.
27842 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
27844         * po/pl.po: Update from translation team.
27845         * po/ja.po: Likewise.
27846         * po/ru.po: Likewise.
27847         * po/ko.po: Likewise.
27848         * po/fr.po: Likewise.
27850 2011-07-09  Roland McGrath  <roland@hack.frob.com>
27852         * configure.in (.ctors/.dtors header and trailer check):
27853         Use an empirical test on a built program.
27854         * configure: Regenerated.
27856         * configure.in (-z relro check): Use an empirical test on a built DSO.
27857         Detect, but do not require, on ia64.
27858         * configure: Regenerated.
27860         * configure.in (READELF): Find it with AC_CHECK_TOOL.
27861         Update tests that use readelf to use $READELF instead.
27862         * configure: Regenerated.
27864 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
27866         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27867         if the result is not used.
27869 2011-07-05  Andreas Jaeger  <aj@suse.de>
27871         [BZ#9696]
27872         * stdlib/tst-strtod.c: Add testcase.
27874 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
27876         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27877         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27878         The latter has a higher limit.  Take additional parameter to pass to
27879         the new function.
27880         (__pathconf): Pass file to __statfs_link_max.
27881         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27882         __statfs_link_max.
27883         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27884         __statfs_link_max.
27886         [BZ #12868]
27887         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27888         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27889         Handle Lustre.
27890         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27891         (__statfs_filesize_max): Likewise.
27892         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27894 2011-07-05  Andreas Jaeger  <aj@suse.de>
27896         * resolv/res_comp.c (dn_skipname): Remove unused variable.
27898 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
27900         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27901         `status' variable.
27902         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27903         Likewise.
27905 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
27907         * Makefile (strop-tests): Add strncat.
27908         * string/test-strncat.c: New file.
27910 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
27912         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27914 2011-06-21  Andreas Jaeger  <aj@suse.de>
27916         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27917         Copy rule from iconvdata/Makefile.
27919 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
27921         [BZ #12922]
27922         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27923         but no long options are defined, just return 'W'.
27925 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
27927         [BZ #9696]
27928         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27930 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
27932         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27933         netgroups to read.
27934         (innetgr): Likewise.
27936 2011-07-05  Roland McGrath  <roland@hack.frob.com>
27938         * config.make.in (install_root): Default to $(DESTDIR).
27940 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
27942         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27944 2011-07-02  Roland McGrath  <roland@hack.frob.com>
27946         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27948         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27949         containing directory rather than embedding absolute directory names.
27951         * scripts/check-local-headers.sh: Rewritten using awk.
27952         Match by word, not by line.  Print error messages for matches.
27953         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27955         * Makerules [shlib-lds-flags empty]:
27956         ($(common-objpfx)libc_pic.opts): New target.
27957         ($(common-objpfx)libc_pic.os.clean): New target.
27958         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27960         * config.make.in (OBJCOPY): New variable.
27961         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27962         * configure: Regenerated.
27964         * config.make.in (use-default-link): New variable.
27965         * configure.in (use_default_link): Grok --with-default-link to set it.
27966         * configure: Regenerated.
27967         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27968         (shlib-lds, shlib-lds-flags): Define to empty.
27970         * Makerules (shlib-lds): New variable.
27971         (shlib-lds-flags): New variable.
27972         (build-shlib, build-moduile, build-module-asneeded): Use it.
27973         ($(common-objpfx)libc.so): Use $(shlib-lds).
27974         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27975         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27977         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27978         DT_FLAGS/DT_FLAGS_1 with zero flags.
27980         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27981         linker script munging.
27983 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
27985         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27986         as 128-bit value.
27987         * crypt/sha512.c (sha512_process_block): Perform total addition using
27988         128-bit if possible.
27989         (__sha512_finish_ctx): Likewise.
27990         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27991         as 64-bit value.
27992         * crypt/sha256.c (SWAP64): Define.
27993         (sha256_process_block): Perform total addition using 64-bit if
27994         possible.
27995         (__sha256_finish_ctx): Likewise.
27997 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
27999         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28000         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28001         * nscd/hstcache.c (cache_addhst): Likewise.
28002         * nscd/grpcache.c (cache_addgr): Likewise.
28003         * nscd/aicache.c (addhstaiX): Likewise
28004         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28006 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28008         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28009         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28010         * nscd/hstcache.c (cache_addhst): Likewise.
28011         * nscd/grpcache.c (cache_addgr): Likewise.
28012         * nscd/aicache.c (addhstaiX): Likewise
28014 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28016         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28017         domain only when needed.
28019 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28022         is always restored.
28024 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28026         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28027         are re-adding the entry.
28028         * nscd/servicescache.c (cache_addserv): Likewise.
28030 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28032         * sysdeps/generic/dl-irel.h: fix protection against multiple
28033         inclusions.
28034         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28036 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28038         [BZ #12935]
28039         * malloc/memusage.sh: Fix quoting in message.
28040         * debug/xtrace.sh: Likewise.
28042         * configure.in: Remove support for --experimental-malloc option, make
28043         it the default.
28044         * config.make.in: Likewise.
28045         * malloc/Makefile: Likewise.
28047 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28049         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28050         two-byte characters.
28052 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28054         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28055         AC_CACHE_CHECK invocation.
28056         * configure: Regenerated.
28058         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28060 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
28062         [BZ #12350]
28063         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
28064         bit from old_res_options.
28066         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28068         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28069         value type for setfct.
28071 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
28073         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28074         __gettimeofday instead of gettimeofday.
28076 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
28078         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28080 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28082         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28084         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28085         info.
28087 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28089         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28090         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28091         strcpy-sse2-unaligned strncpy-sse2-unaligned
28092         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28093         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28094         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28095         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28096         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28097         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28098         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28099         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28100         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28101         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28102         (STRCPY): Support SSE2 and SSSE3 versions.
28104 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
28106         [BZ #12874]
28107         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28108         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28109         kernels which artificially limit size of requests.
28111 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28113         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28114         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28115         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28116         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28117         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28118         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28119         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28120         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28121         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28122         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28123         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28124         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28125         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28126         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28127         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28129         Enable unaligned load optimization for Intel Core i3, i5 and i7
28130         processors.
28131         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28132         Define.
28133         (index_Fast_Unaligned_Load): Define.
28134         (HAS_FAST_UNALIGNED_LOAD): Define.
28136 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
28138         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28140 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28142         [BZ #12907]
28143         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28144         until it is clear that the information is realy needed.
28145         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28147 2011-06-22  Andreas Schwab  <schwab@redhat.com>
28149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28151 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28153         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28154         /sys/devices/system/cpu/online if it is usable.
28156         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28157         reading the information from the /proc filesystem to once a second.
28159 2011-06-21  Andreas Jaeger  <aj@suse.de>
28161         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28162         NULL after inclusion of kernel headers.
28164 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
28166         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28167         calls to internal_setent.
28169         [BZ #12885]
28170         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28171         addresses using gethostbyname4_r ignore IPv4 addresses.
28173         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28174         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
28176         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28178 2011-06-20  David S. Miller  <davem@davemloft.net>
28180         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28181         inclusions.
28182         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28184         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28185         (elf_irel): Use it.
28186         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28187         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28188         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28189         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28190         * sysdeps/x86_64/dl-irel.h: Likewise.
28192         * elf/dl-runtime.c: Use elf_ifunc_invoke.
28193         * elf/dl-sym.c: Likewise.
28195 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28197         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
28198         need to dereference resplen2.
28200 2011-06-14  Andreas Schwab  <schwab@redhat.com>
28202         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28204 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28206         * Makeconfig: Define vardbdir and inst_vardbdir.
28207         * nss/Makefile: Add rules to install db-Makefile.
28209         * nss/nss_db/db-XXX.c: Cleanup.
28211         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28212         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28213         GLIBC_PRIVATE.
28214         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28215         * nss/makedb.c: Implement -g option to specify that value strings
28216         are generated and should not be added to table iterated over for
28217         get*ent calls.
28218         * nss/nss_db/db-initgroups.c: New file.
28220         * nss/getent.c: Add support for initgroups lookups through getgrouplist
28221         interface.
28223         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28224         (internal_getgrouplist): Adjust to name change.
28225         Update use_initgroups_entry if this is not the first call.
28226         * nss/databases.def: Add initgroups entry.
28228         * nss/makedb.c (compute_tables): Check result of multiple hash table
28229         sizes to minimize maximum chain length.
28231 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
28233         * Versions.def: Add entry for libnss_db.
28234         * shlib-versions: Likewise.
28235         * nss/Makefile: Add rules to build libnss_db.
28236         * nss/Versions: Add libnss_db information.  Organize libnss_files
28237         entries better.
28238         * nss/db-Makefile: Add gshadow support.  Change rules for the new
28239         makedb progra.  Some minor improvements to generate smaller files.
28240         * nss/nss_db/nss_db.h: Move NSS database header data structures to
28241         here from...
28242         * nss/makedb.c: ...here.
28243         Improve database format to be smaller and require less memory at
28244         runtime.
28245         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
28246         db anymore.
28247         * nss/nss_db/db-netgrp.c: Likewise.
28248         * nss/nss_db/db-open.c: Likewise.
28249         * nss/nss_files/flies-XXX.x: Adjust comments.
28250         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28251         * nss/nss_files/files-grp.c: Likewise.
28252         * nss/nss_files/files-hosts.c: Likewise.
28253         * nss/nss_files/files-network.c: Likewise.
28254         * nss/nss_files/files-proto.c: Likewise.
28255         * nss/nss_files/files-pwd.c: Likewise.
28256         * nss/nss_files/files-rpc.c: Likewise.
28257         * nss/nss_files/files-service.c: Likewise.
28258         * nss/nss_files/files-sgrp.c: Likewise.
28259         * nss/nss_files/files-spwd.c: Likewise.
28260         * nss/nss_db/db-alias.c: Removed.
28261         * nss/nss_db/dummy-db.h: Removed.
28263 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
28265         * nss/makedb.c: Rewritten to not use database library.
28266         * nss/Makefile: Update to build new makedb program.
28268 2011-06-14  Andreas Jaeger  <aj@suse.de>
28270         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28271         memset declaration.
28273 2011-06-10  Andreas Schwab  <schwab@redhat.com>
28275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28276         tmpbuf.
28278 2011-06-10  Roland McGrath  <roland@hack.frob.com>
28280         * Makerules (shlib.lds): Fail if the linker script comes out empty.
28281         * elf/Makefile ($(objpfx)ld.so): Likewise.
28283         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28284         Don't list ld.so twice in dependencies.
28286         * posix/bug-regex31.c: Include <stdlib.h>.
28288         * nscd/hstcache.c (cache_addhst): Remove unused variable.
28290         * nis/nss_compat/compat-spwd.c
28291         (getspent_next_nss_netgr): Remove unused variable.
28292         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28294         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28295         nonmembers" output to use the right array.
28297         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28299         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28301         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28302         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28303         * catgets/gencat.c (read_input_file): Likewise.
28304         * locale/programs/locarchive.c (enlarge_archive): Likewise.
28306         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28307         variable definition inside #if's controlling its use.
28309         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28311         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28313         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28315         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28316         unreachable code.
28318         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28320         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28321         * configure: Regenerated.
28323         * Makerules: Revert last change.
28324         * elf/Makefile: Likewise.
28326 2011-06-09  Roland McGrath  <roland@hack.frob.com>
28328         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28329         * elf/Makefile ($(objpfx)librtld.os): Likewise.
28330         (reloc-link): Likewise.
28332 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
28334         * elf/Makefile: Add rules to build pldd.
28335         * elf/pldd.c: New file.
28336         * elf/pldd-xx.c: New file.
28338 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
28340         * version.h: Update for 2.15 development version.
28342 2011-06-07  David S. Miller  <davem@davemloft.net>
28344         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28345         ifuncs.
28346         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28347         elf_machine_lazy_rel): Likewise.
28348         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28349         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28350         elf_machine_lazy_rel): Likewise.
28351         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28352         dl_hwcap via passed in argument.
28353         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28354         Likewise.
28356 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28358         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
28360 2011-06-06  Roland McGrath  <roland@hack.frob.com>
28362         [BZ #12849]
28363         * manual/fdl-1.1.texi: New file, verbatim from:
28364         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28365         * manual/lgpl-2.1.texi: New file, verbatim from:
28366         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28367         * manual/Makefile (licenses): New variable, list those new file names.
28368         (texis): Use it.
28369         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28371         * manual/fdl.texi: File removed.
28372         * manual/lesser.texi: File removed.
28373         * manual/libc.texinfo (Copying, Documentation License):
28374         Use new @include file names, put @appendix directive before @include.
28376 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
28378         [BZ #12841]
28379         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28380         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28381         (mq_open): Add __NTH.
28383 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
28385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28386         Assume Intel Core i3/i5/i7 processor if AVX is available.
28388 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
28390         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28391         typo.
28393 2011-05-31  Andreas Schwab  <schwab@redhat.com>
28395         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28396         memory.  Use alloca_account.  Fix memory leak when retrying.
28398 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
28400         * version.h (RELEASE): Bump for 2.14 release.
28401         * include/features.h (__GLIBC_MINOR__): Bump to 14.
28403         * config.make.in (RANLIB): Remove entry.
28405 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
28407         * po/Makefile (po-sed-cmd): Add ksh to extensions.
28408         (libc.pot): Work around missing support for .ksh extension in xgettext.
28410         [BZ #12684]
28411         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28412         if both request failed.
28413         (send_dg): In case of server errors clear resplen or *resplen2.
28415         [BZ #12454]
28416         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28417         when there are multiple maps.
28418         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28419         (_dl_fini): Remove test here.
28421         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28423 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
28425         [BZ #12350]
28426         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28427         bit from old_res_options.
28428         (gaih_inet): Likewise.
28430         [BZ #11099]
28431         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28432         as signed.
28434         * resolv/res_init.c (res_setoptions): Make the code more compact.
28436         [BZ #11558]
28437         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28438         set RES_USEVC.
28440         [BZ #11634]
28441         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28443         * malloc/malloc.h: Mark malloc hook variables as deprecated.
28445         [BZ #11781]
28446         * malloc/malloc.h: Declare malloc hook variables as volatile.
28448         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28449         in last patch.
28451         [BZ #11799]
28452         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28453         raise in the comment.
28454         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28455         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28456         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28458 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
28460         [BZ #12811]
28461         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28462         grow the buffers more if it already has to be sufficient.
28463         (build_wcs_upper_buffer): Likewise.
28464         * posix/regexec.c (check_matching): Likewise.
28465         (clean_state_log_if_needed): Likewise.
28466         (extend_buffers): Don't enlarge buffers beyond size of the input
28467         buffer.
28468         Patches mostly by Emil Wojak <emil@wojak.eu>.
28469         * posix/bug-regex32.c: New file.
28470         * posix/Makefile (tests): Add bug-regex32.
28472         * locale/findlocale.c (_nl_find_locale): Return right away if
28473         _nl_explode_name failed.
28474         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28476         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28478         * debug/xtrace.sh: Unify messages.
28479         * malloc/memusage.sh: Likewise.
28481         [BZ #12813]
28482         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28483         time symbol from vDSO.  Substitute with vsyscall if not available.
28484         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28485         __vdso_time.
28487         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28488         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28489         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28490         Add sendmmsg and internal_sendmmsg.
28491         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28492         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28493         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28495         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28496         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28497         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28499 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
28501         [BZ #12813]
28502         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28503         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
28504         available.
28505         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28506         __vdso_getcpu.
28508         [BZ #12814]
28509         * iconvdata/Makefile (tests): Add bug-iconv9.
28510         * iconvdata/bug-iconv9.c: New file.
28512 2011-05-27  Andreas Schwab  <schwab@redhat.com>
28514         [BZ #12814]
28515         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28517 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
28519         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28520         (struct user_regs_struct): Change intcs field back to cs.
28522 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
28524         * po/ja.po: Update from translation team.
28526 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
28528         [BZ #12795]
28529         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28530         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28532 2011-05-20  Andreas Schwab  <schwab@redhat.com>
28534         * stdlib/longlong.h: Update from GCC.
28536 2011-05-23  Andreas Schwab  <schwab@redhat.com>
28538         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28539         parameter name.
28540         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28541         Add parameter name.
28542         (__sysconf): Pass it down.
28544 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
28546         [BZ #12671]
28547         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28548         some situations.
28549         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28550         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28551         add in in __libc_use_alloca calls.  Adjust callers.
28552         (glob): Use malloc in some situations.
28554         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28555         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28556         pltexit.
28558 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
28560         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28561         and CLOCK_BOOTTIME_ALARM.
28563         [BZ #12782]
28564         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28565         is returned.
28567         * string/_strerror.c (__strerror_r): Print negative errors as signed
28568         numbers.
28570         [BZ #12777]
28571         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28572         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28573         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28575         * configure.in: Fix typo in redirection and correct removal of test
28576         files in two cases.
28578         [BZ #12788]
28579         * locale/setlocale.c (new_composite_name): Fix test to check for
28580         identical name of all categories.
28582         [BZ #12792]
28583         * libio/filedoalloc.c (local_isatty): New function.
28584         (_IO_file_doallocate): Use local_isatty.
28585         * stdio-common/perror.c (perror): In case a new stream is used
28586         forward the stream error.
28587         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28588         error flag.
28590 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
28592         [BZ #11869]
28593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28594         alloca.
28595         * include/alloca.h (extend_alloca_account): Define.
28597         [BZ #11857]
28598         * posix/regex.h: Fix comments with documentation of user-accessible
28599         fields after compilation and describe correct free'ing of pattern
28600         after re_compile_pattern.
28601         Patch by Reuben Thomas <rrt@sc3d.org>.
28603 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
28605         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28606         and -mno-altivec to prevent the compiler from using Altivec and/or
28607         VSX instructions when the corresponding registers are not available.
28609 2011-05-19  Andreas Schwab  <schwab@redhat.com>
28611         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28613 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
28615         * libio/freopen.c (freopen): Use __dup2, not dup2.
28616         * libio/freopen64.c (freopen64): Likewise.
28618 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28620         [BZ #12775]
28621         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28622         * math/Makefile (tests): Add test-powl.
28623         (CFLAGS-test-powl.c): Define.
28624         * math/test-powl.c: New file.
28626 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28628         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28630 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
28632         [BZ #11837]
28633         * iconvdata/gb18030.c: Update to GB18020-2005.
28635 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
28637         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28638         RE_SYNTAX_POSIX_AWK): Update to match recent development.
28639         Patch by Aharon Robbins <arnold@skeeve.com>.
28641         [BZ #11892]
28642         * stdlib/putenv.c (putenv): Don't always create copy of the variable
28643         on the stack.
28645         [BZ #11895]
28646         * misc/pselect.c (__pselect): Handle timeout value errors hidden
28647         through underflows.
28649         [BZ #12766]
28650         * misc/error.c (error_at_line): Ensure file_name and old_file_name
28651         point to strings before performing equality test for error_one_per_line
28652         mode.
28654         [BZ #11697]
28655         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28657         [BZ #11820]
28658         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28659         (struct user_fpregs_struct): Avoid __uint*_t types.
28661         [BZ #6420]
28662         * malloc/mtrace.c (tr_where): Add additional parameter to point to
28663         symbol info.  Use it instead of calling _dl_addr locally.
28664         (lock_and_info): New function.
28665         (tr_freehook): Call lock_and_info and pass symbol info as additional
28666         parameter to tr_where.
28667         (tr_mallochook): Likewise.
28668         (tr_reallochook): Likewise.
28669         (tr_memalignhook): Likewise.
28671         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
28672         used and couldn't be at all thread-safe.
28674 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
28676         * libio/freopen.c (freopen): Don't close old file descriptor
28677         before the new one is opened.  Instead dup the new file descriptor
28678         to the old one after the new stream is created.
28679         * libio/freopen64.c (freopen64): Likewise.
28680         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28681         * libio/fileops.c (_IO_new_file_close_it): Handle new
28682         _IO_FLAGS2_NOCLOSE flag.
28683         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28684         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28685         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28686         _IO_FLAGS2_NOCLOSE flag.
28687         * include/unistd.h: Add hidden_proto for dup3.
28688         Define __have_dup3.
28689         * io/dup3.c: Define hidden symbol.
28690         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28692         [BZ #7101]
28693         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28694         when an incomplete long option is used.
28695         * posix/tst-getopt_long1.c: New file.
28696         * posix/Makefile (tests): Add tst-getopt_long1.
28698         [BZ #10138]
28699         * scripts/config.guess: Update from autoconf-2.68.
28700         * scripts/config.sub: Likewise.
28702         [BZ #10157]
28703         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28704         tests into ...
28705         (has_cpuclock): ...this.  New function.
28706         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28707         macro here based on has_cpuclock code.
28709         [BZ #10149]
28710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28711         First byte (not low byte) is now always NUL.
28712         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28714         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28715         Use non-cancelable interfaces.
28717         [BZ #9809]
28718         * locale/iso-639.def: Add entry for Sorani.
28720         [BZ #11901]
28721         * include/stdlib.h: Move include protection to the right place.
28722         Define abort_msg_s.  Declare __abort_msg with it.
28723         * stdlib/abort.c (__abort_msg): Adjust type.
28724         * assert/assert.c (__assert_fail_base): New function.  Majority
28725         of code from __assert_fail.  Allocate memory for __abort_msg with
28726         mmap.
28727         (__assert_fail): Now call __assert_fail_base.
28728         * assert/assert-perr.c: Remove bulk of implementation.  Use
28729         __assert_fail_base.
28730         * include/assert.hL Declare __assert_fail_base.
28731         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28732         mmap.
28733         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28735 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
28737         [BZ #11952]
28738         [BZ #12453]
28739         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28740         until all modules are registered in the DTV.
28741         * elf/Makefile: Add rules to build and run tst-tls19.
28742         * elf/tst-tls19.c: New file.
28743         * elf/tst-tls19mod1.c: New file.
28744         * elf/tst-tls19mod2.c: New file.
28745         * elf/tst-tls19mod3.c: New file.
28746         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28748         [BZ #12083]
28749         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28750         correctly.
28752         [BZ #12601]
28753         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28754         two-byte sequence errors.
28755         * iconvdata/Makefile (tests): Add bug-iconv8.
28756         * iconvdata/bug-iconv8.c: New file.
28758         [BZ #12626]
28759         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28760         buf2 definition.
28762         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28764         [BZ #12432]
28765         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28766         (dummy_getcfa): New function.
28767         (init): Get _Unwind_GetCFA address, use dummy if not found.
28768         (backtrace_helper): In recursion check, also check whether CFA changes.
28769         (__backtrace): Completely initialize arg.
28771         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28772         storing incomplete byte sequence in state object.  Avoid testing for
28773         guaranteed too small input if we know there is enough data available.
28775 2011-05-11  Andreas Schwab  <schwab@redhat.com>
28777         * Makeconfig (+link-pie): Indent.
28778         * Rules (binaries-pie): Define if $(have-fpie) and
28779         $(build-shared).
28780         (binaries-shared): Also filter out $(binaries-pie).
28781         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28782         * nscd/Makefile (others-pie): Add nscd.
28783         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28784         ($(objpfx)nscd): Remove command override.
28785         * login/Makefile (others-pie): Add pt_chown.
28786         ($(objpfx)pt_chown): Remove command override.
28787         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28788         remove command overrides.
28790 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
28792         * libio/tst_putwc.c: Fix error messages.
28794         [BZ #12724]
28795         * libio/fileops.c (_IO_new_file_close_it): Always flush when
28796         currently writing and seek to current position when not.
28797         * libio/Makefile (tests): Add bug-fclose1.
28798         * libio/bug-fclose1.c: New file.
28800 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
28802         [BZ #12511]
28803         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28804         don't set DF_1_NODELETE here.
28805         (do_lookup_x): When entering new entry test for copy relocation
28806         and if necessary set DF_1_NODELETE flag.
28807         * elf/tst-unique4.cc: New file.
28808         * elf/tst-unique4.h: New file.
28809         * elf/tst-unique4lib.cc: New file.
28810         * elf/Makefile: Add rules to build and run tst-unique4.
28811         Patch by Piotr Bury <pbury@goahead.com>.
28813 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
28815         [BZ #12052]
28816         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28818         [BZ #12625]
28819         * misc/mntent_r.c (addmntent): Flush the stream after the output
28821         [BZ #12393]
28822         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28823         (is_trusted_path_normalize): Skip initial colon.  Append slash
28824         to empty buffer.  Duplicate is_trusted_path code but allow
28825         constructed patch to be prefix.
28826         (is_dst): Allow $ORIGIN followed by /.
28827         (_dl_dst_substitute): Correct clearing of check_for_trusted.
28828         Correct testing of result of is_trusted_path_normalize
28829         (decompose_rpath): Fix warning.
28831 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
28833         [BZ #11257]
28834         * grp/initgroups.c (internal_getgrouplist): When we found the service
28835         list through the initgroups entry in nsswitch.conf do not always
28836         continue on a successful lookup.  Don't always use the
28837         __nss_group_database value if it is set.
28838         * nss/nsswitch.conf (initgroups): Change action for successful db
28839         lookup to continue for compatibility.
28841 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
28843         [BZ #11532]
28844         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28845         and CP774 modules.
28846         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28847         and CP774 modules.
28848         * iconvdata/tst-tables.sh: Likewise.
28849         * iconvdata/cp770.c: New file.
28850         * iconvdata/cp771.c: New file.
28851         * iconvdata/cp772.c: New file.
28852         * iconvdata/cp773.c: New file.
28853         * iconvdata/cp774.c: New file.
28854         * iconvdata/testdata/CP770: New file.
28855         * iconvdata/testdata/CP770..UTF8: New file.
28856         * iconvdata/testdata/CP771: New file.
28857         * iconvdata/testdata/CP771..UTF8: New file.
28858         * iconvdata/testdata/CP772: New file.
28859         * iconvdata/testdata/CP772..UTF8: New file.
28860         * iconvdata/testdata/CP773: New file.
28861         * iconvdata/testdata/CP773..UTF8: New file.
28862         * iconvdata/testdata/CP774: New file.
28863         * iconvdata/testdata/CP774..UTF8: New file.
28865         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28866         END CHARMAP line.
28867         * iconvdata/gen-8bit-gap.sh: Likewise.
28868         * iconvdata/gen-8bit.sh: Likewise.
28870         * locale/iso-639.def: Add ary entry.
28872         [BZ #11258]
28873         * locale/C-translit.h.in: Add U20A1 transliteration.
28875         [BZ #12178]
28876         * locale/iso-639.def: Add wae entry.
28877         Patch by Kevin Bortis <bortis@translate-wae.ch>.
28879         [BZ #12545]
28880         * locale/programs/localedef.c (construct_output_path): Use ssize_t
28881         for n.
28883         [BZ #12711]
28884         * locale/C-translit.h.in: Add entry for U20B9.
28885         Patch by pravin.d.s@gmail.com.
28887 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
28889         [BZ #12713]
28890         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28891         ENAMETOOLONG use generic getcwd.
28892         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
28893         in rtld.  Use *stat64.
28894         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28895         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28896         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28897         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28898         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28899         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28900         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28901         __fstatat64 macros.
28902         * include/dirent.h: Add libc_hidden_proto for rewinddir.
28903         * dirent/rewinddir.c: Add libc_hidden_def.
28904         * sysdeps/mach/hurd/rewinddir.c: Likewise.
28905         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
28907         * include/dirent.h (__alloc_dir): Add flags parameter.
28908         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28909         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28910         __alloc_dir.
28911         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
28912         from fdopendir if O_CLOEXEC is already set.
28914 2011-03-15  Alan Modra  <amodra@gmail.com>
28916         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28917         l_tls_firstbyte_offset non-zero.  Save padding offset in
28918         l_tls_firstbyte_offset for later use.
28919         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28920         freeing static tls block.
28922 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
28924         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28925         where #ifdef was intended.  The intent is to prevent ARG_MAX from
28926         being defined by the kernel headers.
28928 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
28930         [BZ #12734]
28931         * resolv/resolv.h: Define RES_NOTLDQUERY.
28932         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28933         no-tld-query and set RES_NOTLDQUERY.
28934         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28935         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28936         modern BIND to search name as TLD unless forbidden.
28938 2011-05-07  Petr Baudis  <pasky@suse.cz>
28939             Ulrich Drepper  <drepper@gmail.com>
28941         [BZ #12393]
28942         * elf/dl-load.c (fillin_rpath): Move trusted path check...
28943         (is_trusted_path): ...to here.
28944         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28945         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28946         using is_trusted_path_normalize() in setuid scripts.
28948 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28950         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28951         __BEGIN/__END_DECLS.
28953 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
28955         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28956         NSS_STATUS_NOTFOUND if no record was found.
28958 2011-05-05  Andreas Schwab  <schwab@redhat.com>
28960         * sunrpc/Makefile (headers): Add rpc/netdb.h.
28961         (headers-not-in-tirpc): Remove rpc/netdb.h
28962         * resolv/netdb.h: Revert last change.
28964 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28966         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28967         circular dependency between libgcc.a and libc.a.
28969 2011-05-05  Andreas Schwab  <schwab@redhat.com>
28971         * resolv/netdb.h: Don't include <rpc/netdb.h>.
28972         * nis/Makefile: Don't install rpcsvc/*.
28973         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28974         instead of <rpc/types.h>.
28975         (MAXHOSTNAMELEN): Define.
28977 2011-05-03  Andreas Schwab  <schwab@redhat.com>
28979         * elf/ldconfig.c (add_dir): Don't crash on empty path.
28981 2011-04-28  Maciej Babinski  <mbabinski@google.com>
28983         [BZ #12714]
28984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28985         gethostbyname4_r when IPv6 results are possible.
28987 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
28989         [BZ #12723]
28990         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28991         _PC_PIPE_BUF handling.
28993 2011-04-30  Bruno Haible  <bruno@clisp.org>
28995         [BZ #12717]
28996         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28997         * resolv/netdb.h (getnameinfo): Change type of flags parameter
28998         to 'int'.
28999         * inet/getnameinfo.c (getnameinfo): Likewise.
29001 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29003         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29004         to groups setting in database lookup.
29005         * nss/nsswitch.conf: Add initgroups entry.
29007 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29009         [BZ #12685]
29010         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29011         mode string.
29012         Patch by Eric Blake <eblake@redhat.com>.
29014 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29016         * sunrpc/Makefile (need-export-routines): Add svc_run.
29017         (routines): Remove svc_run.
29018         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29019         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29020         * sunrpc/svc_run.c (svc_run): Likewise.
29021         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29023 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29025         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29026         problem in reallocation in last patch.
29028 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29030         * sunrpc/Makefile: Move inclusion of Rules.
29032 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29034         * nss/nss_files/files-initgroups.c: New file.
29035         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29036         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29037         _nss_files_initgroups_dyn.
29039 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29041         * elf/elf.h (R_ARM_IRELATIVE): Define.
29043 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29045         * po/ru.po: Update from translation team.
29047 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29049         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29050         dependencies.
29052 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29054         [BZ #12653]
29055         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29056         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29057         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29058         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29059         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29061 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
29063         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29064         differing bytes.
29065         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29066         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29067         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29069 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29071         [BZ #12420]
29072         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29073         storing it.
29074         * stdlib/bug-getcontext.c: New file.
29075         * stdlib/Makefile: Add rules to build and run bug-getcontext.
29077 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29079         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29080         instructions into .machine "z9-109".
29081         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29082         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29084 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29086         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29087         between environment variables and auxiliary vector.
29089 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
29091         * Makefile: Add rules to build linkobj/libc.so.
29092         * include/libc-symbols.h: Define libc_hidden_nolink.
29093         * include/rpc/auth.h: Mark functions which are to be hidden.
29094         * include/rpc/auth_des.h: Likewise.
29095         * include/rpc/auth_unix.h: Likewise.
29096         * include/rpc/clnt.h: Likewise.
29097         * include/rpc/des_crypt.h: Likewise.
29098         * include/rpc/key_prot.h: Likewise.
29099         * include/rpc/pmap_clnt.h: Likewise.
29100         * include/rpc/pmap_prot.h: Likewise.
29101         * include/rpc/pmap_rmt.h: Likewise.
29102         * include/rpc/rpc_msg.h: Likewise.
29103         * include/rpc/svc.h: Likewise.
29104         * include/rpc/svc_auth.h: Likewise.
29105         * include/rpc/xdr.h: Likewise.
29106         * nis/Makefile: Link all DSOs against linkobj/libc.so.
29107         * nss/Makefile: Likewise.
29108         * sunrpc/Makefile: Don't install headers.  Build library with normal
29109         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
29110         * sunrpc/auth_des.c: Hide exported symbols by default, export some
29111         for the compat linking library.  Remove use of INTDEF/INTUSE.
29112         * sunrpc/auth_none.c: Likewise.
29113         * sunrpc/auth_unix.c: Likewise.
29114         * sunrpc/authdes_prot.c: Likewise.
29115         * sunrpc/authuxprot.c: Likewise.
29116         * sunrpc/clnt_gen.c: Likewise.
29117         * sunrpc/clnt_perr.c: Likewise.
29118         * sunrpc/clnt_raw.c: Likewise.
29119         * sunrpc/clnt_simp.c: Likewise.
29120         * sunrpc/clnt_tcp.c: Likewise.
29121         * sunrpc/clnt_udp.c: Likewise.
29122         * sunrpc/clnt_unix.c: Likewise.
29123         * sunrpc/des_crypt.c: Likewise.
29124         * sunrpc/des_soft.c: Likewise.
29125         * sunrpc/get_myaddr.c: Likewise.
29126         * sunrpc/key_call.c: Likewise.
29127         * sunrpc/key_prot.c: Likewise.
29128         * sunrpc/netname.c: Likewise.
29129         * sunrpc/pm_getmaps.c: Likewise.
29130         * sunrpc/pm_getport.c: Likewise.
29131         * sunrpc/pmap_clnt.c: Likewise.
29132         * sunrpc/pmap_prot.c: Likewise.
29133         * sunrpc/pmap_prot2.c: Likewise.
29134         * sunrpc/pmap_rmt.c: Likewise.
29135         * sunrpc/publickey.c: Likewise.
29136         * sunrpc/rpc_cmsg.c: Likewise.
29137         * sunrpc/rpc_common.c: Likewise.
29138         * sunrpc/rpc_dtable.c: Likewise.
29139         * sunrpc/rpc_prot.c: Likewise.
29140         * sunrpc/rpc_thread.c: Likewise.
29141         * sunrpc/rtime.c: Likewise.
29142         * sunrpc/svc.c: Likewise.
29143         * sunrpc/svc_auth.c: Likewise.
29144         * sunrpc/svc_authux.c: Likewise.
29145         * sunrpc/svc_raw.c: Likewise.
29146         * sunrpc/svc_run.c: Likewise.
29147         * sunrpc/svc_simple.c: Likewise.
29148         * sunrpc/svc_tcp.c: Likewise.
29149         * sunrpc/svc_udp.c: Likewise.
29150         * sunrpc/svc_unix.c: Likewise.
29151         * sunrpc/svcauth_des.c: Likewise.
29152         * sunrpc/xcrypt.c: Likewise.
29153         * sunrpc/xdr.c: Likewise.
29154         * sunrpc/xdr_array.c: Likewise.
29155         * sunrpc/xdr_float.c: Likewise.
29156         * sunrpc/xdr_intXX_t.c: Likewise.
29157         * sunrpc/xdr_mem.c: Likewise.
29158         * sunrpc/xdr_rec.c: Likewise.
29159         * sunrpc/xdr_ref.c: Likewise.
29160         * sunrpc/xdr_sizeof.c: Likewise.
29161         * sunrpc/xdr_stdio.c: Likewise.
29163 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
29165         [BZ #12650]
29166         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29167         * sysdeps/ia64/dl-tls.h: Likewise.
29168         * sysdeps/powerpc/dl-tls.h: Likewise.
29169         * sysdeps/s390/dl-tls.h: Likewise.
29170         * sysdeps/sh/dl-tls.h: Likewise.
29171         * sysdeps/sparc/dl-tls.h: Likewise.
29172         * sysdeps/x86_64/dl-tls.h: Likewise.
29173         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29175 2011-03-14  Andreas Schwab  <schwab@redhat.com>
29177         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29178         rpath element also skip the following colon.
29179         (expand_dynamic_string_token): Add is_path parameter and pass
29180         down to DL_DST_REQUIRED and _dl_dst_substitute.
29181         (decompose_rpath): Call expand_dynamic_string_token with
29182         non-zero is_path.  Ignore empty rpaths.
29183         (_dl_map_object_from_fd): Call expand_dynamic_string_token
29184         with zero is_path.
29186 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
29188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29189         Make cancelable.
29191 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
29193         [BZ #12655]
29194         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29195         Patch by Filipe David Manana <fdmanana@apache.org>.
29197 2011-04-07  Andreas Schwab  <schwab@redhat.com>
29199         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29200         Maintain aligned stack.
29201         (CHECK_RSP): Remove unused macro.
29203 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
29205         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29206         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29208 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
29210         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29212         * include/features.h: Mention __USE_XOPEN2K8 in comment.
29214 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
29216         [BZ #12518]
29217         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29218         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29219         * sysdeps/x86_64/memmove.c: New file.
29220         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29221         (memcpy): Renamed to ...
29222         (__new_memcpy): This.
29223         (memcpy): Provide GLIBC_2_14 memcpy.
29224         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29225         (memcpy): Provide GLIBC_2_2_5 memcpy.
29227 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29229         [BZ #12631]
29230         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29232 2011-03-30  Andreas Schwab  <schwab@redhat.com>
29234         * misc/syncfs.c: New file.
29235         * misc/Makefile (routines): Add syncfs.
29236         * posix/unistd.h: Declare syncfs.
29237         * sysdeps/unix/syscalls.list: Add syncfs.
29239 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29241         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29242         open_by_handle_at.
29243         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29244         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29245         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29246         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29247         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29248         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29249         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29251 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29253         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29254         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29255         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29256         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29257         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29258         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29259         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29261         * io/Makefile: Compile fallocate.c, fallocate64.c, and
29262         sync_file_range.c with -fexceptions.
29263         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29264         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29265         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29266         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29267         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29268         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29269         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29270         sync_file_range as cancellation point
29271         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
29272         now a wrapper around __call_sync_file_range with cancellation handling.
29273         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29274         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
29275         function name to __call_sync_file_range.
29276         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29277         Add call_sync_file_range.
29279 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29281         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29282         bits/timex.h.
29284 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29286         * iconv/iconv.h: Fix typo in comment.
29287         * io/fcntl.h: Likewise.
29288         * libio/stdio.h: Likewise.
29289         * posix/spawn.h: Likewise.
29290         * posix/unistd.h: Likewise.
29291         * stdlib/stdlib.h: Likewise.
29292         * time/time.h: Likewise.
29293         * wcsmbs/wchar.h: Likewise.
29295         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29296         open_by_handle): Add.
29297         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29298         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
29299         Augment a few comments.
29300         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29301         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29302         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29303         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29304         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29305         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29306         open_by_handle.
29308         * io/fcntl.h (AT_EMPTY_PATH): Define.
29310 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
29312         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29313         * sysdeps/unix/sysv/linux/bits/time.h: New file.
29314         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29315         to...
29316         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
29317         * Versions.def: Add GLIBC_2.14.
29318         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29319         Export.
29321 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
29323         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29324         round counter.
29325         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29327 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29329         [BZ #12597]
29330         * string/test-strncmp.c (do_page_test): New function.
29331         (check2): Likewise.
29332         (test_main): Call check2.
29333         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29335 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
29337         [BZ #12587]
29338         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29339         Handle cache information in CPU leaf 4.
29340         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29342 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
29344         [BZ #12583]
29345         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29346         character representation.
29347         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29349 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
29351         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29352         END(__isnan) to END(__isnanf) to match function entry point/label
29353         EALIGN(__isnanf,...).
29355 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
29357         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29359 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
29361         [BZ #12510]
29362         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29363         copy from the symbol referenced in the relocation to initialize the
29364         used variable.
29365         Patch by Piotr Bury <pbury@goahead.com>.
29366         * elf/Makefile: Add rules to build and tst-unique3.
29367         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29368         * elf/tst-unique3.cc: New file.
29369         * elf/tst-unique3.h: New file.
29370         * elf/tst-unique3lib.cc: New file.
29371         * elf/tst-unique3lib2.cc: New file.
29373         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29375 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
29377         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29378         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
29379         to _start.
29381 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
29383         * elf/dl-load.c (_dl_map_object): If we are looking for the first
29384         to-be-loaded object along a path to loader is ld.so.
29386 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
29387             Ulrich Drepper  <drepper@gmail.com>
29389         * sysdeps/x86_64/memset.S: After aligning destination, code
29390         branches to different locations depending on the value of
29391         misalignment, when multiarch is enabled. Fix this.
29393 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
29395         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29396         Set _x86_64_preferred_memory_instruction for AMD processsors.
29397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29398         Set bit_Prefer_SSE_for_memop for AMD processors.
29400 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
29402         * libio/fmemopen.c (fmemopen): Optimize a bit.
29404 2011-03-03  Andreas Schwab  <schwab@redhat.com>
29406         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29408 2011-03-03  Roland McGrath  <roland@redhat.com>
29410         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29412 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
29414         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29415         __bzero_ultra1 instead of __memset_ultra1.
29417 2011-02-23  Andreas Schwab  <schwab@redhat.com>
29418             Ulrich Drepper  <drepper@gmail.com>
29420         [BZ #12509]
29421         * include/link.h (struct link_map): Add l_orig_initfini.
29422         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29423         returning unsuccessfully.
29424         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29425         close of a file loaded at startup, restore the original l_initfini
29426         list.
29427         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29428         list, store the pointer.
29429         * elf/Makefile ($(objpfx)noload-mem): New rule.
29430         (noload-ENV): Define.
29431         (tests): Add $(objpfx)noload-mem.
29432         * elf/noload.c: Include <memcheck.h>.
29433         (main): Call mtrace.  Close all opened handles.
29435 2011-02-17  Andreas Schwab  <schwab@redhat.com>
29437         [BZ #12454]
29438         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29439         dependencies are missing.
29441 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29443         Fix __if_freereq crash: Unlike the generic version which uses free,
29444         Hurd needs munmap.
29445         * sysdeps/mach/hurd/ifreq.h: New file.
29447 2011-01-27  Petr Baudis  <pasky@suse.cz>
29448             Ulrich Drepper  <drepper@gmail.com>
29450         [BZ 12445]#
29451         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29452         to extend_alloca().
29453         * stdio-common/bug23.c: New file.
29454         * stdio-common/Makefile (tests): Add bug23.
29456 2010-09-28  Andreas Schwab  <schwab@redhat.com>
29457             Ulrich Drepper  <drepper@gmail.com>
29459         [BZ #12489]
29460         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29461         before performing relro protection.  At old place add assertion
29462         to make sure nothing changed.
29464 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
29465             Glauber de Oliveira Costa  <glommer@gmail.com>
29467         * elf/elf.h: Add new ARM TLS relocs.
29469 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
29471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29472         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29473         cast from r3.
29474         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
29475         'tests' variable.
29476         * sysdeps/wordsize-64/tst-writev.c: New file.
29478 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
29480         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29481         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29482         insns in _dl_start to prevent a TOC reference before relocs are
29483         resolved.
29485 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
29487         [BZ #12469]
29488         * Makeconfig: Remove RANLIB definition.
29489         * Makerules: Don't use RANLIB.
29490         * aclocal.m4: Remove ranlib test.
29491         * configure.in: No need to check for ranlib.
29492         * elf/rtld-Rules: Don't use RANLIB.
29494 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29496         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29497         protection macro.
29498         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29499         inclusion protection macro.
29501         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29502         SIGRTMIN and SIGRTMAX and print information in that case only when
29503         SIGRTMIN is defined.
29505 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
29507         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29508         arginfo fn returning -1.
29510         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29511         and thousands string is zero terminated.
29513 2011-02-03  Andreas Schwab  <schwab@redhat.com>
29515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29516         sysdeps/unix/sysv/linux/bits/socket.h.
29518 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29520         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29521         (__CPU_COUNT): Remove old macros.
29522         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29523         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29524         (__CPU_ALLOC, __CPU_FREE): Add macros.
29525         (__sched_cpualloc, __sched_cpufree): Add declarations.
29527 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
29529         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29530         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29531         * nscd/aicache.c (addhstaiX): Return timeout of added value.
29532         (readdhstai): Return value of addhstaiX call.
29533         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29534         (addgrbyX): Return value returned by cache_addgr.
29535         (readdgrbyname): Return value returned by addgrbyX.
29536         (readdgrbygid): Likewise.
29537         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29538         (addpwbyX): Return value returned by cache_addpw.
29539         (readdpwbyname): Return value returned by addhstbyX.
29540         (readdpwbyuid): Likewise.
29541         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29542         (addservbyX): Return value returned by cache_addserv.
29543         (readdservbyname): Return value returned by addservbyX:
29544         (readdservbyport): Likewise.
29545         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29546         (addhstbyX): Return value returned by cache_addhst.
29547         (readdhstbyname): Return value returned by addhstbyX.
29548         (readdhstbyaddr): Likewise.
29549         (readdhstbynamev6): Likewise.
29550         (readdhstbyaddrv6): Likewise.
29551         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29552         (readdinitgroups): Return value returned by addinitgroupsX.
29553         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29554         (prune_cache): Keep track of timeout value of re-added entries.
29555         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29556         * nscd/nscd.h: Adjust prototypes of readd* functions.
29558 2011-02-04  Roland McGrath  <roland@redhat.com>
29560         * nis/nis_server.c (nis_servstate): Use the right name for 0.
29561         (nis_stats): Likewise.
29562         * nis/nis_modify.c (nis_modify): Likewise.
29563         * nis/nis_remove.c (nis_remove): Likewise.
29564         * nis/nis_add.c (nis_add): Likewise.
29566         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29568         * posix/fnmatch_loop.c: Add some consts.
29570         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29572 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
29574         [BZ #12460]
29575         * config.make.in (config-cflags-novzeroupper): Define.
29576         * configure.in: Substitute libc_cv_cc_novzeroupper.
29577         * elf/Makefile (AVX-CFLAGS): Define.
29578         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29579         (CFLAGS-tst-auditmod4a.c): Likewise.
29580         (CFLAGS-tst-auditmod4b.c): Likewise.
29581         (CFLAGS-tst-auditmod6b.c): Likewise.
29582         (CFLAGS-tst-auditmod6c.c): Likewise.
29583         (CFLAGS-tst-auditmod7b.c): Likewise.
29584         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29586 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
29588         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29589         function to the callback.
29590         Patch partly by Jiri Olsa <jolsa@redhat.com>.
29592 2011-02-02  Andreas Schwab  <schwab@redhat.com>
29594         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29595         of errno.
29597 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
29599         [BZ #11724]
29600         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29601         of constructors.
29602         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29603         of destructors.
29604         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29606         [BZ #11724]
29607         * elf/Makefile: Add rules to build and run new test.
29608         * elf/tst-initorder.c: New file.
29609         * elf/tst-initorder.exp: New file.
29610         * elf/tst-initordera1.c: New file.
29611         * elf/tst-initordera2.c: New file.
29612         * elf/tst-initordera3.c: New file.
29613         * elf/tst-initordera4.c: New file.
29614         * elf/tst-initorderb1.c: New file.
29615         * elf/tst-initorderb2.c: New file.
29616         * elf/tst-order-a1.c: New file.
29617         * elf/tst-order-a2.c: New file.
29618         * elf/tst-order-a3.c: New file.
29619         * elf/tst-order-a4.c: New file.
29620         * elf/tst-order-b1.c: New file.
29621         * elf/tst-order-b2.c: New file.
29622         * elf/tst-order-main.c: New file.
29623         New test case by George Gensure <werkt0@gmail.com>.
29625 2010-10-01  Andreas Schwab  <schwab@redhat.com>
29627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29628         decoding ACE if AI_CANONIDN.
29630 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
29632         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29634 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
29636         * version.h (RELEASE): Bump for 2.13 release.
29637         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29639         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29641         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29642         MADV_NOHUGEPAGE.
29643         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29644         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29645         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29646         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29647         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29648         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29650         * posix/getconf.c: Update copyright year.
29651         * catgets/gencat.c: Likewise.
29652         * csu/version.c: Likewise.
29653         * debug/catchsegv.sh: Likewise.
29654         * debug/xtrace.sh: Likewise.
29655         * elf/ldconfig.c: Likewise.
29656         * elf/ldd.bash.in: Likewise.
29657         * elf/sprof.c (print_version): Likewise.
29658         * iconv/iconv_prog.c: Likewise.
29659         * iconv/iconvconfig.c: Likewise.
29660         * locale/programs/locale.c: Likewise.
29661         * locale/programs/localedef.c: Likewise.
29662         * malloc/memusage.sh: Likewise.
29663         * malloc/mtrace.pl: Likewise.
29664         * nscd/nscd.c (print_version): Likewise.
29665         * nss/getent.c: Likewise.
29667         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29668         PF_CAIF, and PF_ALG.
29669         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29671 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
29673         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29674         (modules-names): Use them.
29675         (ifunc-test-modules, ifunc-pie-tests): Define.
29676         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29677         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29678         (test-extras): Likewise.
29679         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29680         $(compile-command.c).
29681         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29682         (all-built-dso): Define.
29683         (check-textrel.out, check-execstack.out): Depend on it.
29685         * configure.in: Don't override --enable-multi-arch.
29687 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
29689         [BZ #6812]
29690         * nscd/hstcache.c (tryagain): Define.
29691         (cache_addhst): Return tryagain not notfound for temporary errors.
29692         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29693         failed.
29695 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
29697         [BZ #10563]
29698         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29699         to make the syscall.
29700         * sysdeps/unix/sysv/linux/setgroups.c: New file.
29702         [BZ #12378]
29703         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29704         and fall back to matching as normal character if the string ends before
29705         the matching ']' is found.  This is what POSIX requires.
29706         * posix/testfnm.c: Adjust test result.
29707         * posix/globtest.sh: Adjust test result.  Add new test.
29708         * posix/tst-fnmatch.input: Likewise.
29709         * posix/tst-fnmatch2.c: Add new test.
29711 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
29713         * elf/Makefile (check-execstack): Revert last change.  Depend on
29714         check-execstack.h.
29715         (check-execstack.h): New target.
29716         (generated): Add check-execstack.h.
29717         * elf/check-execstack.c: Include "check-execstack.h".
29718         (main): Revert last change.
29719         (handle_file): Return zero if GNU_STACK is absent and
29720         DEFAULT_STACK_PERMS doesn't include PF_X.
29722 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
29724         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29725         in child fails because the descriptor is already closed.
29726         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29727         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29728         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29730         [BZ #12397]
29731         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29732         syscall.
29734         [BZ #10484]
29735         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29736         temporary buffer used to handle multi lookups locally.
29737         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29739 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
29741         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29742         loader is ld.so.
29744 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
29746         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29747         alignment for SSE2.
29749 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
29751         [BZ #12394]
29752         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29753         characters.  When rounding increased number of integer digits recompute
29754         number of groups.
29755         * stdio-common/tst-grouping.c: New file.
29756         * stdio-common/Makefile: Add rules to build and run tst-grouping.
29758 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
29760         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29761         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
29763         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29764         void.
29765         * bits/select.h: Likewise.
29767 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
29769         * po/ja.po: Update from translation team.
29771 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
29773         [BZ #11155]
29774         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29775         implementation just like for lxstat, fxstatat, et al.
29777 2010-12-27  Jim Meyering  <meyering@redhat.com>
29779         [BZ #12348]
29780         * posix/regexec.c (build_trtable): Return failure indication upon
29781         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
29783 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
29785         [BZ #12201]
29786         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29787         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29788         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29789         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29791         [BZ #12207]
29792         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29794         [BZ #12204]
29795         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29796         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29798 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
29800         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29801         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29802         script has SORT_BY_INIT_PRIORITY.
29803         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29804         NO_CTORS_DTORS_SECTIONS is defined.
29805         * elf/soinit.c: Likewise.
29806         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29807         NO_CTORS_DTORS_SECTIONS is defined.
29808         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29809         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29810         * sysdeps/sh/init-first.c: Likewise.
29811         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29813 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
29815         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29816         always use the slow path.
29818 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
29820         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29821         similar rule which adds the sysdep directories to the header search in
29822         order to pick up the correct platform stackinfo.h.
29823         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29824         perform test if it is, otherwise return successfully without testing.
29825         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29826         DEFAULT_STACK_PERMS define in stackinfo.h.
29827         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29828         defined in stackinfo.h.
29829         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29830         DEFAULT_STACK_PERMS defined in stackinfo.h.
29831         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29832         * sysdeps/ia64/stackinfo.h: Likewise.
29833         * sysdeps/s390/stackinfo.h: Likewise.
29834         * sysdeps/sh/stackinfo.h: Likewise.
29835         * sysdeps/sparc/stackinfo.h: Likewise.
29836         * sysdeps/x86_64/stackinfo.h: Likewise.
29837         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29838         PF_X for powerpc64.  Retain PF_X for powerpc32.
29840 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
29842         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29843         accurately.
29844         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29845         GETDENTS_64BIT_ALIGNED.
29847 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
29849         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29851 2010-12-10  Andreas Schwab  <schwab@redhat.com>
29853         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29854         _GNU_SOURCE.
29856         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29857         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29858         Remove __restrict.
29859         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29860         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29862 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
29864         [BZ #11655]
29865         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29866         are initialized.
29868 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
29870         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29872 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
29874         * po/it.po: Update from translation team.
29876 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
29878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29879         unused codes.
29881 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
29883         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29885 2010-11-24  Andreas Schwab  <schwab@redhat.com>
29887         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29888         specially.
29889         (gaih_getanswer_slice): Likewise.
29891 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
29893         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29895 2010-05-31  Petr Baudis  <pasky@suse.cz>
29897         [BZ #11149]
29898         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29899         silently even in the chroot mode.
29901 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
29903         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29904         last patch a bit.  Pretty printing
29906 2010-05-31  Petr Baudis <pasky@suse.cz>
29908         [BZ #10085]
29909         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29910         initialization of skip_initgroups_dyn.
29912 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
29914         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29915         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29917 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
29919         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29921 2010-11-11  Andreas Schwab  <schwab@redhat.com>
29923         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29924         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29925         (tst-fnmatch-ENV): Set MALLOC_TRACE.
29926         ($(objpfx)tst-fnmatch-mem): New rule.
29927         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29928         * posix/tst-fnmatch.c (main): Call mtrace.
29930 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
29932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29933         Support Intel processor model 6 and model 0x2c.
29935 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
29937         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29938           signed comparison.
29940 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
29942         [BZ #12205]
29943         * string/test-strncasecmp.c (check_result): New function.
29944         (do_one_test): Use it.
29945         (check1): New function.
29946         (test_main): Use it.
29947         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29948         Support strcasecmp and strncasecmp.
29950 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
29952         [BZ #12194]
29953         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29954         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29956 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29958         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29959         IFUNC support.
29960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29961         memset-x86-64.
29962         * sysdeps/x86_64/multiarch/bzero.S: New file.
29963         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29964         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29965         * sysdeps/x86_64/multiarch/memset.S: New file.
29966         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29968         Set bit_Prefer_SSE_for_memop for Intel processors.
29969         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29970         Define.
29971         (index_Prefer_SSE_for_memop): Define.
29972         (HAS_PREFER_SSE_FOR_MEMOP): Define.
29974 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
29976         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29977         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29979 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
29981         [BZ #12191]
29982         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29983         (__x86_64_raw_data_cache_size_half): Likewise.
29984         (__x86_64_raw_shared_cache_size): Likewise.
29985         (__x86_64_raw_shared_cache_size_half): Likewise.
29987         * sysdeps/x86_64/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.
29991         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29992         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29993         and __x86_64_raw_shared_cache_size_half.  Round
29994         __x86_64_data_cache_size_half, __x86_64_data_cache_size
29995         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29996         to multiple of 256 bytes.
29998 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30000         [BZ #12167]
30001         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30002         of inacessible symlinks.  Verify result of symlink before returning it.
30003         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30004         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30006 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30008         * math/math.h (isinf): Fix typo in comment.
30010 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30012         * po/da.po: Update from translation team.
30014 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30016         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30017         is added to the list.
30019 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30020             Ulrich Drepper  <drepper@gmail.com>
30022         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30023         the global list here.  Move code to...
30024         (_dl_add_to_namespace_list): ...here.  New function.
30025         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30026         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30027         * elf/dl-load.c (lose): Don't remove the element from the list.
30028         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30029         (_dl_map_object): Likewise.
30031 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30033         [BZ #12159]
30034         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30035         into all bytes of SSE register.
30036         Patch by Richard Li <richardpku@gmail.com>.
30038 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30040         [BZ #12140]
30041         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30042         perturbing.
30044 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30046         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30047         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30048         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30049         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30051         submachine.
30052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30054 2010-10-22  Andreas Schwab  <schwab@redhat.com>
30056         * include/dlfcn.h (__RTLD_SECURE): Define.
30057         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
30058         mode & __RTLD_SECURE instead.
30059         (open_path): Rename preloaded parameter to secure.
30060         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30061         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30062         * elf/dl-deps.c (openaux): Likewise.
30063         * elf/rtld.c (struct map_args): Remove is_preloaded.
30064         (map_doit): Don't use it.
30065         (dl_main): Likewise.
30066         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30067         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30069 2010-09-09  Andreas Schwab  <schwab@redhat.com>
30071         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30072         (sysd-rules-targets): Remove duplicates.
30073         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30074         rtld-%.$o dependency.
30076 2010-10-18  Andreas Schwab  <schwab@redhat.com>
30078         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30079         _dl_map_object do it.
30081 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
30083         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30084         fast fma builtins, define the macros in the C99 standard.
30085         (FP_FAST_FMAF): Likewise.
30086         (FP_FAST_FMAL): Likewise.
30087         * sysdeps/x86_64/bits/mathdef.h: Likewise.
30089         * bits/mathdef.h: Update copyright year.
30090         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30092 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
30094         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30095         builtins, define the macros in the C99 standard.
30096         (FP_FAST_FMAF): Likewise.
30097         (FP_FAST_FMAL): Likewise.
30098         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30099         multiply/add.
30100         (FP_FAST_FMAF): Likewise.
30102 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
30104         [BZ #3268]
30105         * math/libm-test.inc (fma_test): Some new testcases.
30106         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30107         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30108         y and infinite z.  Do multiplication by C already in long double.
30109         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30110         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30111         y and infinite z.  Do bitwise or of inexact bit into u.d.
30112         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30113         * sysdeps/i386/fpu/s_fmaf.S: Removed.
30114         * sysdeps/i386/fpu/s_fma.S: Removed.
30115         * sysdeps/i386/fpu/s_fmal.S: Removed.
30117 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
30119         [BZ #3268]
30120         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30121         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30122         computation is not scheduled after fetestexcept.  Fix value
30123         of minimum denormal long double.
30125 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
30127         [BZ #3268]
30128         * math/libm-test.inc (fma_test): Add some more tests.
30129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30130         correctly.
30132 2010-10-15  Andreas Schwab  <schwab@redhat.com>
30134         * scripts/data/localplt-s390-linux-gnu.data: New file.
30135         * scripts/data/localplt-s390x-linux-gnu.data: New file.
30137 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
30139         [BZ #3268]
30140         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30141         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30142         instead of dbl-64.
30143         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30144         inlines.
30145         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30147         if one of x and y is very large and the other is subnormal.
30148         * sysdeps/s390/fpu/s_fmaf.c: New file.
30149         * sysdeps/s390/fpu/s_fma.c: New file.
30150         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30151         * sysdeps/powerpc/fpu/s_fma.S: New file.
30152         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30153         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30154         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30156 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
30158         [BZ #3268]
30159         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30160         fma tests.
30161         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30162         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30163         * sysdeps/i386/i686/multiarch/s_fma.c: Include
30164         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30165         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30166         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30167         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30169 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
30171         [BZ #12078]
30172         * posix/regcomp.c (parse_branch): One more memory leak plugged.
30173         * posix/bug-regex31.input: Add test case.
30175 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30177         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30178         * posix/bug-regex31.input: New file.
30180         [BZ #12078]
30181         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30182         (parse_sub_exp): Fix last change, use postorder.
30184         * posix/bug-regex31.c: New file.
30185         * posix/Makefile: Add rules to build and run bug-regex31.
30187         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30189         [BZ #12078]
30190         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30192         [BZ #12108]
30193         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30194         to have entries in sys_siglist.
30196         [BZ #12093]
30197         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30198         be NULL.
30200 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
30202         [BZ #3268]
30203         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30204         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30205         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30206         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30207         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30208         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30209         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30210         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30211         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30212         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30213         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30214         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30215         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30216         * math/ftestexcept.c (fetestexcept): Likewise.
30217         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30218         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30219         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30220         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30221         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30222         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30223         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30225 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30227         [BZ #12107]
30228         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30229         newline.
30231 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
30233         * string/bug-strstr1.c: New file.
30234         * string/Makefile: Add rules to build and run bug-strstr1.
30236 2010-10-05  Eric Blake  <eblake@redhat.com>
30238         [BZ #12092]
30239         * string/str-two-way.h (two_way_long_needle): Always clear memory
30240         when skipping input due to the shift table.
30242 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
30244         [BZ #12005]
30245         * malloc/mcheck.c: Handle large requests.
30247         [BZ #12077]
30248         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30249         for strncmp and strncasecmp.
30250         * string/stratcliff.c: Add tests for strcmp and strncmp.
30251         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30253 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30255         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30256         __set_fpscr.
30258 2010-09-30  Andreas Jaeger  <aj@suse.de>
30260         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30261         (CGROUP_SUPER_MAGIC): Define.
30262         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30263         Handle btrfs and cgroup file systems.
30264         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30265         Likewise.
30267 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
30269         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30270         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30272 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30274         [BZ #12067]
30275         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30276         trying to locate the ELF header.
30278 2010-09-27  Andreas Schwab  <schwab@redhat.com>
30280         [BZ #11611]
30281         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30282         Mask out sign-bit copies when constructing f_fsid.
30284 2010-09-24  Petr Baudis <pasky@suse.cz>
30286         * debug/stack_chk_fail_local.c: Add missing licence exception.
30287         * debug/warning-nop.c: Likewise.
30289 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
30291         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30292         implementing getdents64 using getdents syscall, set d_type if
30293         __ASSUME_GETDENTS32_D_TYPE.
30295 2010-09-16  Andreas Schwab  <schwab@redhat.com>
30297         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30298         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30300 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
30302         [BZ #12037]
30303         * posix/unistd.h: Undo change of feature selection for ftruncate from
30304         2010-01-11.
30306 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
30308         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30309         detection.
30311 2010-09-20  Andreas Schwab  <schwab@redhat.com>
30313         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30314         fanotify_mark.
30315         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30317 2010-09-14  Andreas Schwab  <schwab@redhat.com>
30319         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30320         variables after CHECK_SP call.
30321         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30323 2010-09-13  Andreas Schwab  <schwab@redhat.com>
30324             Ulrich Drepper  <drepper@redhat.com>
30326         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30327         re-relocationg ld.so.
30328         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30329         _dl_init_paths call.
30330         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
30331         here anymore.
30333 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
30335         * resolv/res_init.c (__res_vinit): Count the default server we added.
30337 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
30338             Ulrich Drepper  <drepper@redhat.com>
30340         [BZ #11968]
30341         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30342         (____longjmp_chk): Use %ebx for saving value across system call.
30343         Add unwind info.
30345 2010-09-06  Andreas Schwab  <schwab@redhat.com>
30347         * manual/Makefile: Don't mix pattern rules with normal rules.
30349 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30351         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30352         operation.
30353         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30354         * libio/iofopncook.c (_IO_cookie_init): Likewise.
30355         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30356         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30357         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30358         Likewise.
30360 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
30362         [BZ #11979]
30363         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30364         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30366 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
30368         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30369         * sysdeps/x86_64/addmul_1.S: Likewise.
30370         * sysdeps/x86_64/lshift.S: Likewise.
30371         * sysdeps/x86_64/mul_1.S: Likewise.
30372         * sysdeps/x86_64/rshift.S: Likewise.
30373         * sysdeps/x86_64/sub_n.S: Likewise.
30374         * sysdeps/x86_64/submul_1.S: Likewise.
30376 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30378         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30379         Define __sched_param instead of SCHED_* and sched_param when
30380         <bits/sched.h> is included with __need_schedparam defined.
30381         * bits/sched.h [__need_schedparam]
30382         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30383         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30384         (__defined_schedparam): Define to 1.
30385         (__sched_param): New structure, identical to sched_param.
30386         (__need_schedparam): Undefine.
30388 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
30390         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30391         (epoll_create1): Declare.
30393         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30395 2010-08-31  Andreas Schwab  <schwab@redhat.com>
30397         [BZ #7066]
30398         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30399         shifting retval into place.
30401 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
30403         * nis/rpcsvc/nis.h: Update copyright notice.
30404         * nis/rpcsvc/nis.x: Likewise.
30405         * nis/rpcsvc/nis_callback.h: Likewise.
30406         * nis/rpcsvc/nis_callback.x: Likewise.
30407         * nis/rpcsvc/nis_object.x: Likewise.
30408         * nis/rpcsvc/nis_tags.h: Likewise.
30409         * nis/rpcsvc/yp.h: Likewise.
30410         * nis/rpcsvc/yp.x: Likewise.
30411         * nis/rpcsvc/ypupd.h: Likewise.
30412         * nis/yp_xdr.c: Likewise.
30413         * nis/ypupdate_xdr.c: Likewise.
30415         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
30416         mainly the body of pmap_getport.  Add parameters to specify timeouts.
30417         (pmap_getport): Use __libc_rpc_getport.
30418         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30419         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30420         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30422 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
30424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30425         fanotify_mark.
30427 2010-08-27  Roland McGrath  <roland@redhat.com>
30429         * sysdeps/i386/i686/multiarch/Makefile
30430         (CFLAGS-varshift.c): New variable.
30432 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
30434         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30435         * sysdeps/i386/i686/multiarch/varshift.c: New file.
30437         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30439         * sysdeps/x86_64/strlen.S: Minimal code improvement.
30441 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30443         * sysdeps/x86_64/strlen.S: Unroll the loop.
30444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30445         strlen-sse2 strlen-sse2-bsf.
30446         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30447         __strlen_no_bsf if bit_Slow_BSF is set.
30448         (__strlen_sse42): Removed.
30449         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30450         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30452 2010-08-25  Roland McGrath  <roland@redhat.com>
30454         * sysdeps/x86_64/multiarch/varshift.S: File removed.
30455         * sysdeps/x86_64/multiarch/varshift.c: New file.
30456         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30457         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30458         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30459         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30461 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30463         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30464         strlen-sse2 strlen-sse2-bsf.
30465         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30466         __strlen_sse2_bsf if bit_Slow_BSF is unset.
30467         (__strlen_sse2): Removed.
30468         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30469         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30471         bit_Slow_BSF for Atom.
30472         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30473         (index_Slow_BSF): Define.
30474         (HAS_SLOW_BSF): Define.
30476 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
30478         [BZ #10851]
30479         * resolv/res_init.c (__res_vinit): When no server address at all
30480         is given default to loopback.
30482 2010-08-24  Roland McGrath  <roland@redhat.com>
30484         * configure.in: Remove config-name.h generation.
30485         * configure: Regenerated.
30486         * config-name.in: File removed.
30487         * scripts/config-uname.sh: New file.
30488         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30489         ($(objdir)config-name.h): New target.
30491         * sunrpc/rpc_parse.h: Avoid nested comment.
30493 2010-08-24  Richard Henderson  <rth@redhat.com>
30494             Ulrich Drepper  <drepper@redhat.com>
30495             H.J. Lu  <hongjiu.lu@intel.com>
30497         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30499         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30500         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
30501         _mm_alignr_epi8 with _mm_loadu_si128.
30502         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30503         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30504         (__m128i_shift_right): Removed.
30505         * sysdeps/i386/i686/multiarch/varshift.h: New file.
30506         * sysdeps/i386/i686/multiarch/varshift.S: New file.
30507         * sysdeps/x86_64/multiarch/varshift.h: New file.
30508         * sysdeps/x86_64/multiarch/varshift.S: New file.
30510 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
30512         * configure.in: Move assembler checks to before sysdep dir checking.
30514 2010-08-20  Petr Baudis  <pasky@suse.cz>
30516         * LICENSES: Sync the sunrpc license.
30518 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
30520         * sunrpc/auth_des.c: Update copyright notice once again.
30521         * sunrpc/auth_none.c: Likewise.
30522         * sunrpc/auth_unix.c: Likewise.
30523         * sunrpc/authdes_prot.c: Likewise.
30524         * sunrpc/authuxprot.c: Likewise.
30525         * sunrpc/bindrsvprt.c: Likewise.
30526         * sunrpc/clnt_gen.c: Likewise.
30527         * sunrpc/clnt_perr.c: Likewise.
30528         * sunrpc/clnt_raw.c: Likewise.
30529         * sunrpc/clnt_simp.c: Likewise.
30530         * sunrpc/clnt_tcp.c: Likewise.
30531         * sunrpc/clnt_udp.c: Likewise.
30532         * sunrpc/clnt_unix.c: Likewise.
30533         * sunrpc/des_crypt.c: Likewise.
30534         * sunrpc/des_soft.c: Likewise.
30535         * sunrpc/get_myaddr.c: Likewise.
30536         * sunrpc/getrpcport.c: Likewise.
30537         * sunrpc/key_call.c: Likewise.
30538         * sunrpc/key_prot.c: Likewise.
30539         * sunrpc/openchild.c: Likewise.
30540         * sunrpc/pm_getmaps.c: Likewise.
30541         * sunrpc/pm_getport.c: Likewise.
30542         * sunrpc/pmap_clnt.c: Likewise.
30543         * sunrpc/pmap_prot.c: Likewise.
30544         * sunrpc/pmap_prot2.c: Likewise.
30545         * sunrpc/pmap_rmt.c: Likewise.
30546         * sunrpc/rpc/auth.h: Likewise.
30547         * sunrpc/rpc/auth_unix.h: Likewise.
30548         * sunrpc/rpc/clnt.h: Likewise.
30549         * sunrpc/rpc/des_crypt.h: Likewise.
30550         * sunrpc/rpc/key_prot.h: Likewise.
30551         * sunrpc/rpc/netdb.h: Likewise.
30552         * sunrpc/rpc/pmap_clnt.h: Likewise.
30553         * sunrpc/rpc/pmap_prot.h: Likewise.
30554         * sunrpc/rpc/pmap_rmt.h: Likewise.
30555         * sunrpc/rpc/rpc.h: Likewise.
30556         * sunrpc/rpc/rpc_des.h: Likewise.
30557         * sunrpc/rpc/rpc_msg.h: Likewise.
30558         * sunrpc/rpc/svc.h: Likewise.
30559         * sunrpc/rpc/svc_auth.h: Likewise.
30560         * sunrpc/rpc/types.h: Likewise.
30561         * sunrpc/rpc/xdr.h: Likewise.
30562         * sunrpc/rpc_clntout.c: Likewise.
30563         * sunrpc/rpc_cmsg.c: Likewise.
30564         * sunrpc/rpc_common.c: Likewise.
30565         * sunrpc/rpc_cout.c: Likewise.
30566         * sunrpc/rpc_dtable.c: Likewise.
30567         * sunrpc/rpc_hout.c: Likewise.
30568         * sunrpc/rpc_main.c: Likewise.
30569         * sunrpc/rpc_parse.c: Likewise.
30570         * sunrpc/rpc_parse.h: Likewise.
30571         * sunrpc/rpc_prot.c: Likewise.
30572         * sunrpc/rpc_sample.c: Likewise.
30573         * sunrpc/rpc_scan.c: Likewise.
30574         * sunrpc/rpc_scan.h: Likewise.
30575         * sunrpc/rpc_svcout.c: Likewise.
30576         * sunrpc/rpc_tblout.c: Likewise.
30577         * sunrpc/rpc_util.c: Likewise.
30578         * sunrpc/rpc_util.h: Likewise.
30579         * sunrpc/rpcinfo.c: Likewise.
30580         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30581         * sunrpc/rpcsvc/key_prot.x: Likewise.
30582         * sunrpc/rpcsvc/klm_prot.x: Likewise.
30583         * sunrpc/rpcsvc/mount.x: Likewise.
30584         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30585         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30586         * sunrpc/rpcsvc/rex.x: Likewise.
30587         * sunrpc/rpcsvc/rstat.x: Likewise.
30588         * sunrpc/rpcsvc/rusers.x: Likewise.
30589         * sunrpc/rpcsvc/sm_inter.x: Likewise.
30590         * sunrpc/rpcsvc/spray.x: Likewise.
30591         * sunrpc/rpcsvc/yppasswd.x: Likewise.
30592         * sunrpc/rtime.c: Likewise.
30593         * sunrpc/svc.c: Likewise.
30594         * sunrpc/svc_auth.c: Likewise.
30595         * sunrpc/svc_authux.c: Likewise.
30596         * sunrpc/svc_raw.c: Likewise.
30597         * sunrpc/svc_run.c: Likewise.
30598         * sunrpc/svc_simple.c: Likewise.
30599         * sunrpc/svc_tcp.c: Likewise.
30600         * sunrpc/svc_udp.c: Likewise.
30601         * sunrpc/svc_unix.c: Likewise.
30602         * sunrpc/svcauth_des.c: Likewise.
30603         * sunrpc/xcrypt.c: Likewise.
30604         * sunrpc/xdr.c: Likewise.
30605         * sunrpc/xdr_array.c: Likewise.
30606         * sunrpc/xdr_float.c: Likewise.
30607         * sunrpc/xdr_mem.c: Likewise.
30608         * sunrpc/xdr_rec.c: Likewise.
30609         * sunrpc/xdr_ref.c: Likewise.
30610         * sunrpc/xdr_sizeof.c: Likewise.
30611         * sunrpc/xdr_stdio.c: Likewise.
30613         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30614         handling.
30616 2010-08-19  Andreas Schwab  <schwab@redhat.com>
30618         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30620 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
30622         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30623         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30624         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30625         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30626         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30627         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30628         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30629         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30630         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30631         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30632         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30633         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30634         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30635         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30637 2010-07-26  Anton Blanchard  <anton@samba.org>
30639         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30640         * malloc/arena.c (heap_trim): Likewise.
30642 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
30644         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30645         here.  Not...
30646         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30647         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30649 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30651         * sysdeps/i386/elf/Makefile: New file.
30653 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
30655         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30656         from fanotify_init.
30657         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30658         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30660 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
30662         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30663         of strncasecmp_l.
30664         * sysdeps/multiarch/strcmp.S: Likewise.
30666 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
30668         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30669         strncase_l-nonascii.
30670         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30671         Add strncase_l-ssse3.
30672         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30673         * sysdeps/x86_64/strcmp.S: Likewise.
30674         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30675         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30676         * sysdeps/x86_64/strncase.S: New file.
30677         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30678         * sysdeps/x86_64/strncase_l.S: New file.
30679         * string/Makefile (strop-tests): Add strncasecmp.
30680         * string/test-strncasecmp.c: New file.
30682         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30683         warning.
30685         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30686         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30688 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
30690         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30692 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
30694         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30695         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30696         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30698 2010-05-01  Alan Modra  <amodra@gmail.com>
30700         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30701         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30702         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30703         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30704         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30705         tidying.  Don't tail-call __sigjmp_save for static lib.
30706         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30707         save location.
30708         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30709         (CALL_MCOUNT): Add eh info, and nop after bl.
30710         (TAIL_CALL_SYSCALL_ERROR): New macro.
30711         (PSEUDO_RET): Use it.
30712         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30713         Correct save location of integer regs and cr.
30714         (_dl_profile_resolve): Correct cr save location.  Delete nops
30715         after bl when SHARED.  Reduce cfi size a little by better
30716         placement of cfi directives.
30717         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30718         make a stack frame.  Instead use parm save area as a temp.
30719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30720         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
30721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30722         Don't make a stack frame for parent, use parm save area.
30723         Increase child stack frame to 112 bytes.  Don't save unused reg,
30724         and adjust reg usage.  Set up cfi on error recovery and
30725         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30727         (__makecontext): Add dummy nop after jump to exit.
30728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30729         Use correct parm save area and cr save, reduce stack frame.
30730         Correct cfi for possible PSEUDO_RET frame setup.
30731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30732         Branch to local label emitted by PSEUDO_RET rather than
30733         __syscall_error.
30735 2010-08-12  Andreas Schwab  <schwab@redhat.com>
30737         [BZ #11904]
30738         * locale/programs/locale.c (print_assignment): New function.
30739         (show_locale_vars): Use it.
30741 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
30743         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30744         field.
30745         (struct statfs64): Likewise.
30746         (_STATFS_F_FLAGS): Define.
30747         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30748         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30749         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30750         (ST_VALID): Define locally.
30751         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30752         __statvfs_getflags, use the provided value.
30753         * sysdeps/unix/sysv/linux/kernel-features.h: Define
30754         __ASSUME_STATFS_F_FLAGS.
30756         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30758         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30759         Add sys/fanotify.h.
30760         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30761         fanotify_mask for GLIBC_2.13.
30762         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30763         fanotify_init and fanotify_mark.
30764         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30765         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30767         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30768         Add prlimit.
30769         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30770         prlimit64 for GLIBC_2.13.
30771         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30772         prlimit64.
30773         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30774         syscall.
30775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30776         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30777         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30778         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30779         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
30780         add prlimit alias.
30781         * sysdeps/unix/sysv/linux/prlimit.c: New file.
30783         [BZ #11903]
30784         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30785         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30787         * nss/Makefile: Add rules to build and run tst-nss-test1.
30788         * shlib-versions: Add entry for libnss_test1.
30789         * nss/nss_test1.c: New file.
30790         * nss/tst-nss-test1.c: New file.
30792         * nss/nsswitch.c (__nss_database_custom): Define new variable.
30793         (__nss_configure_lookup): Set appropriate entry in
30794         __nss_configure_lookup to true.
30795         * nss/nsswitch.h: Define enum with indeces of databases in
30796         databases and __nss_database_custom arrays.  Declare
30797         __nss_database_custom.
30798         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30799         to avoid using nscd when custom rules are installed.
30800         * nss/getXXbyYY_r.c: Likewise.
30801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30803         * nss/nss_files/files-parse.c: Whitespace fixes.
30805 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
30807         [BZ #11883]
30808         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30809         * posix/fnmatch_loop.c: Likewise.
30811 2010-07-17  Andi Kleen  <ak@linux.intel.com>
30813         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30814         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30815         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30816         * Versions.def [GLIBC_2.13]: Add.
30818 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
30820         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30821         Also fail if tpwd after pwuid call is NULL.
30823 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30825         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30826         when converting to ms.
30828 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30830         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30831         EOPNOTSUPP errors with ENOTTY.
30832         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30833         EOPNOTSUPP errors with ENOTTY.
30835 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
30837         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30838         Add strcasecmp_l-ssse3.
30839         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30840         strcasecmp.
30841         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30842         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30843         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30845 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
30847         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30849         * string/Makefile (strop-tests): Add strcasecmp.
30850         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30851         strcasecmp_l-nonascii.
30852         (gen-as-const-headers): Add locale-defines.sym.
30853         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30854         * sysdeps/x86_64/strcasecmp.S: New file.
30855         * sysdeps/x86_64/strcasecmp_l.S: New file.
30856         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30857         * sysdeps/x86_64/locale-defines.sym: New file.
30858         * string/test-strcasecmp.c: New file.
30860         * string/test-strcasestr.c: Test both ends of the range of characters.
30861         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30863 2010-07-29  Roland McGrath  <roland@redhat.com>
30865         [BZ #11856]
30866         * manual/locale.texi (Yes-or-No Questions): Fix example code.
30868 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
30870         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30871         for ld.so.
30873 2010-07-27  Andreas Schwab  <schwab@redhat.com>
30875         * manual/memory.texi (Malloc Tunable Parameters): Document
30876         M_PERTURB.
30878 2010-07-26  Roland McGrath  <roland@redhat.com>
30880         [BZ #11840]
30881         * configure.in (-fgnu89-inline check): Set and substitute
30882         gnu89_inline, not libc_cv_gnu89_inline.
30883         * configure: Regenerated.
30884         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30886 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
30888         * string/test-strnlen.c: New file.
30889         * string/Makefile (strop-tests): Add strnlen.
30890         * string/tester.c (test_strnlen): Add a few more test cases.
30891         * string/tst-strlen.c: Better error reporting.
30893         * sysdeps/x86_64/strnlen.S: New file.
30895 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
30897         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30898         lower-latency instructions.
30900 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
30902         * string/test-strcasestr.c: New file.
30903         * string/test-strstr.c: New file.
30904         * string/Makefile (strop-tests): Add strstr and strcasestr.
30905         * string/str-two-way.h: Don't undefine MAX.
30906         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30908 2010-07-21  Andreas Schwab  <schwab@redhat.com>
30910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30911         strcasestr-nonascii.
30912         (CFLAGS-strcasestr-nonascii.c): Define.
30913         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30914         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30915         Remove unused attribute.
30917 2010-07-20  Roland McGrath  <roland@redhat.com>
30919         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30920         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
30921         ld.so.cache was broken.  With it, there is no way to disable dsocaps
30922         like LD_HWCAP_MASK can disable hwcaps.
30924 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
30926         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30928 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
30930         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30931         call in strcasestr.
30932         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30933         __strcasestr_sse42_nonascii.
30934         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30935         strcasestr-nonascii.c.
30936         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30938 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
30940         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30941         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30942         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30943         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30945 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
30947         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30948         fcntl.
30950 2010-07-06  Andreas Schwab  <schwab@redhat.com>
30952         [BZ #11577]
30953         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30954         dl_signal_cerror.
30956 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
30958         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30959         _PC_PIPE_BUF using F_GETPIPE_SZ.
30961 2010-07-05  Roland McGrath  <roland@redhat.com>
30963         * manual/arith.texi (Rounding Functions): Fix rint description
30964         implicit in round description.
30966 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
30968         * elf/Makefile: Fix linking for a few tests to make recent linker
30969         happy.
30971 2010-06-30  Andreas Schwab  <schwab@redhat.com>
30973         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30974         $(common-objpfx)libc_nonshared.a.
30976 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
30978         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30979         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30980         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30981         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30982         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30983         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30984         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30985         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31000         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31001         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31002         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31003         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31004         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31005         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31006         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31007         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31008         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31009         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31010         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31011         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31027 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31029         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31030         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31031         * string/memmove.c (memmove): Renamed to ...
31032         (MEMMOVE): ...this.  Default to memmove.
31033         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31034         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31035         (END_CHK): Define.
31036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31037         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31038         mempcpy-ssse3-back memmove-ssse3-back.
31039         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31040         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31041         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31042         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31043         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31044         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31045         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31046         * sysdeps/x86_64/multiarch/memmove.c: New file.
31047         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31048         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31049         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31050         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31051         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31052         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31053         Define.
31054         (index_Fast_Copy_Backward): Define.
31055         (HAS_ARCH_FEATURE): Define.
31056         (HAS_FAST_REP_STRING): Define.
31057         (HAS_FAST_COPY_BACKWARD): Define.
31059 2010-06-21  Andreas Schwab  <schwab@redhat.com>
31061         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31062         Restore proper fallback handling.
31064 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
31066         [BZ #11701]
31067         * posix/group_member.c (__group_member): Correct checking loop.
31069         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31070         OOM in getpwuid_r correctly.  Return error number when the caller
31071         should return, otherwise -1.
31072         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31073         call returning > 0 value.
31074         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31076 2010-06-07  Andreas Schwab  <schwab@redhat.com>
31078         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31079         libc_nonshared.a from targets in modules-names.
31081 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
31083         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31084         requires it.
31086 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
31088         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31089         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31090         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31091         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31093 2010-06-02  Andreas Schwab  <schwab@redhat.com>
31095         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31097 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
31099         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31100         and F_GETPIPE_SZ.
31101         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31102         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31103         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31105         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31106         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31108 2010-06-14  Roland McGrath  <roland@redhat.com>
31110         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31112 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
31114         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31115         __REDIRECT followed by __THROW.
31116         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31117         * posix/getopt.h (getopt): Likewise.
31119 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31121         * hurd/lookup-at.c (__file_name_lookup_at): Accept
31122         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
31123         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31124         in AT_FLAGS.
31125         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31126         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31128 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
31130         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31132 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
31134         [BZ #11640]
31135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31136         Properly check family and model.
31138 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
31140         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31142 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
31144         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31146 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
31148         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31149         symbol reference.
31151 2010-05-19  Andreas Schwab  <schwab@redhat.com>
31153         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31154         symbol reference.
31156 2010-05-21  Andreas Schwab  <schwab@redhat.com>
31158         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31159         and internal_recvmmsg.
31160         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31161         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31162         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31163         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31165         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31166         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31167         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31169 2010-05-20  Andreas Schwab  <schwab@redhat.com>
31171         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31173 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
31175         POWER7 optimizations.
31176         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31177         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31179 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
31181         * version.h: Update for 2.13 development version.
31183 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
31185         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31186         exceptions.  Return 0.
31188 2010-05-07  Roland McGrath  <roland@redhat.com>
31190         * elf/ldconfig.c (main): Add a const.
31192 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
31194         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31195         (args_options): Add no-idn option.
31196         (ahosts_keys_int): Add idn_flags to ai_flags.
31197         (parse_option): Handle 'i' option to clear idn_flags.
31199         * malloc/malloc.c (_int_free): Possible race in the most recently
31200         added check.  Only act on the data if no current modification
31201         happened.
31203 See ChangeLog.17 for earlier changes.